1784. [cleanup] "libtool -allow-undefined" is the default.

Leave hooks in configure to allow it to be set
                        if needed in the future.
: ----------------------------------------------------------------------
This commit is contained in:
Mark Andrews
2004-12-05 22:57:01 +00:00
parent 3a023b3f6f
commit 851b7a68e9
3 changed files with 12 additions and 3 deletions

View File

@@ -1,3 +1,7 @@
1784. [cleanup] "libtool -allow-undefined" is the default.
Leave hooks in configure to allow it to be set
if needed in the future.
1783. [cleanup] We only need one copy of libtool.m4, ltmain.sh in the
source tree.

View File

@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
AC_REVISION($Revision: 1.294.2.38 $)
AC_REVISION($Revision: 1.294.2.39 $)
AC_INIT(lib/dns/name.c)
AC_PREREQ(2.13)
@@ -984,6 +984,9 @@ case $use_libtool in
LIBTOOL_MODE_COMPILE='--mode=compile'
LIBTOOL_MODE_INSTALL='--mode=install'
LIBTOOL_MODE_LINK='--mode=link'
case "$host" in
*) LIBTOOL_ALLOW_UNDEFINED= ;;
esac
;;
*)
O=o
@@ -994,6 +997,7 @@ case $use_libtool in
LIBTOOL_MODE_COMPILE=
LIBTOOL_MODE_INSTALL=
LIBTOOL_MODE_LINK=
LIBTOOL_ALLOW_UNDEFINED=
;;
esac
@@ -1010,6 +1014,7 @@ AC_SUBST(LIBTOOL_MKDEP_SED)
AC_SUBST(LIBTOOL_MODE_COMPILE)
AC_SUBST(LIBTOOL_MODE_INSTALL)
AC_SUBST(LIBTOOL_MODE_LINK)
AC_SUBST(LIBTOOL_ALLOW_UNDEFINED)
#
# build libbind?

View File

@@ -13,7 +13,7 @@
# OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
# PERFORMANCE OF THIS SOFTWARE.
# $Id: Makefile.in,v 1.14.2.5 2004/07/20 07:00:21 marka Exp $
# $Id: Makefile.in,v 1.14.2.6 2004/12/05 22:57:01 marka Exp $
srcdir = @srcdir@
VPATH = @srcdir@
@@ -47,7 +47,7 @@ libt_api.@SA@: ${OBJS}
libt_api.la: ${OBJS}
${LIBTOOL_MODE_LINK} \
${CC} ${ALL_CFLAGS} ${LDFLAGS} -o libt_api.la -rpath ${libdir} \
${OBJS} ${ISCLIBS} ${LIBS} -allow-undefined
${OBJS} ${ISCLIBS} ${LIBS} @LIBTOOL_ALLOW_UNDEFINED@
timestamp: libt_api.@A@
touch timestamp