Changeset 598
- Timestamp:
- 07/22/05 09:17:43 (3 years ago)
- Files:
-
- trunk/libgadu (modified) (1 prop)
- trunk/libgadu/Makefile.in (modified) (14 diffs)
- trunk/libgadu/aclocal.m4 (modified) (109 diffs)
- trunk/libgadu/configure (modified) (243 diffs)
- trunk/libgadu/configure.ac (modified) (3 diffs)
- trunk/libgadu/m4/acx_pthread.m4 (modified) (3 diffs)
- trunk/libgadu/m4/curses.m4 (deleted)
- trunk/libgadu/m4/openssl.m4 (modified) (1 diff)
- trunk/libgadu/m4/python.m4 (deleted)
- trunk/libgadu/m4/readline.m4 (deleted)
- trunk/libgadu/make.inc.in (deleted)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/libgadu
- Property svn:ignore set to
config.log
depcomp
config.status
compile
config.guess
stamp-h1
config.h
config.sub
ltmain.sh
autom4te.cache
libtool
missing
Makefile
install-sh
- Property svn:ignore set to
trunk/libgadu/Makefile.in
r592 r598 1 # Makefile.in generated by automake 1. 8.2from Makefile.am.1 # Makefile.in generated by automake 1.9.4 from Makefile.am. 2 2 # @configure_input@ 3 3 … … 34 34 PRE_UNINSTALL = : 35 35 POST_UNINSTALL = : 36 build_triplet = @build@ 36 37 host_triplet = @host@ 37 DIST_COMMON = README $(am__configure_deps) $(srcdir)/../config.guess \ 38 $(srcdir)/../config.sub $(srcdir)/../install-sh \ 39 $(srcdir)/../ltmain.sh $(srcdir)/../missing \ 40 $(srcdir)/../mkinstalldirs $(srcdir)/Makefile.am \ 38 DIST_COMMON = README $(am__configure_deps) $(srcdir)/Makefile.am \ 41 39 $(srcdir)/Makefile.in $(srcdir)/config.h.in \ 42 $(srcdir)/make.inc.in $(top_srcdir)/configure COPYING INSTALL 40 $(top_srcdir)/configure COPYING INSTALL compile config.guess \ 41 config.sub depcomp install-sh ltmain.sh missing 43 42 subdir = . 44 43 ACLOCAL_M4 = $(top_srcdir)/aclocal.m4 … … 50 49 am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ 51 50 configure.lineno configure.status.lineno 52 mkinstalldirs = $( SHELL) $(top_srcdir)/../mkinstalldirs51 mkinstalldirs = $(install_sh) -d 53 52 CONFIG_HEADER = config.h 54 CONFIG_CLEAN_FILES = make.inc53 CONFIG_CLEAN_FILES = 55 54 SOURCES = 56 55 DIST_SOURCES = … … 154 153 am__leading_dot = @am__leading_dot@ 155 154 am__quote = @am__quote@ 155 am__tar = @am__tar@ 156 am__untar = @am__untar@ 156 157 bindir = @bindir@ 157 158 build = @build@ … … 259 260 distclean-hdr: 260 261 -rm -f config.h stamp-h1 261 make.inc: $(top_builddir)/config.status $(srcdir)/make.inc.in262 cd $(top_builddir) && $(SHELL) ./config.status $@263 262 264 263 mostlyclean-libtool: … … 345 344 tags=; \ 346 345 here=`pwd`; \ 347 if ( etags--etags-include --version) >/dev/null 2>&1; then \346 if ($(ETAGS) --etags-include --version) >/dev/null 2>&1; then \ 348 347 include_option=--etags-include; \ 348 empty_fix=.; \ 349 349 else \ 350 350 include_option=--include; \ 351 empty_fix=; \ 351 352 fi; \ 352 353 list='$(SUBDIRS)'; for subdir in $$list; do \ 353 354 if test "$$subdir" = .; then :; else \ 354 test -f $$subdir/TAGS &&\355 test ! -f $$subdir/TAGS || \ 355 356 tags="$$tags $$include_option=$$here/$$subdir/TAGS"; \ 356 357 fi; \ … … 362 363 $(AWK) ' { files[$$0] = 1; } \ 363 364 END { for (i in files) print i; }'`; \ 364 test -z "$(ETAGS_ARGS)$$tags$$unique" \ 365 || $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 366 $$tags $$unique 365 if test -z "$(ETAGS_ARGS)$$tags$$unique"; then :; else \ 366 test -n "$$unique" || unique=$$empty_fix; \ 367 $(ETAGS) $(ETAGSFLAGS) $(AM_ETAGSFLAGS) $(ETAGS_ARGS) \ 368 $$tags $$unique; \ 369 fi 367 370 ctags: CTAGS 368 371 CTAGS: ctags-recursive $(HEADERS) $(SOURCES) config.h.in $(TAGS_DEPENDENCIES) \ … … 391 394 $(am__remove_distdir) 392 395 mkdir $(distdir) 393 $(mkdir_p) $(distdir)/ . $(distdir)/.. $(distdir)/docs $(distdir)/lib $(distdir)/m4396 $(mkdir_p) $(distdir)/docs $(distdir)/lib $(distdir)/m4 394 397 @srcdirstrip=`echo "$(srcdir)" | sed 's|.|.|g'`; \ 395 398 topsrcdirstrip=`echo "$(top_srcdir)" | sed 's|.|.|g'`; \ … … 418 421 fi; \ 419 422 done 420 list='$( SUBDIRS)'; for subdir in $$list; do \423 list='$(DIST_SUBDIRS)'; for subdir in $$list; do \ 421 424 if test "$$subdir" = .; then :; else \ 422 425 test -d "$(distdir)/$$subdir" \ 423 || mkdir"$(distdir)/$$subdir" \426 || $(mkdir_p) "$(distdir)/$$subdir" \ 424 427 || exit 1; \ 428 distdir=`$(am__cd) $(distdir) && pwd`; \ 429 top_distdir=`$(am__cd) $(top_distdir) && pwd`; \ 425 430 (cd $$subdir && \ 426 431 $(MAKE) $(AM_MAKEFLAGS) \ 427 top_distdir=" ../$(top_distdir)" \428 distdir=" ../$(distdir)/$$subdir" \432 top_distdir="$$top_distdir" \ 433 distdir="$$distdir/$$subdir" \ 429 434 distdir) \ 430 435 || exit 1; \ … … 437 442 || chmod -R a+r $(distdir) 438 443 dist-gzip: distdir 439 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz444 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 440 445 $(am__remove_distdir) 441 446 442 447 dist-bzip2: distdir 443 $(AMTAR) chof - $(distdir) | bzip2 -9 -c >$(distdir).tar.bz2448 tardir=$(distdir) && $(am__tar) | bzip2 -9 -c >$(distdir).tar.bz2 444 449 $(am__remove_distdir) 445 450 446 451 dist-tarZ: distdir 447 $(AMTAR) chof - $(distdir) | compress -c >$(distdir).tar.Z452 tardir=$(distdir) && $(am__tar) | compress -c >$(distdir).tar.Z 448 453 $(am__remove_distdir) 449 454 … … 458 463 459 464 dist dist-all: distdir 460 $(AMTAR) chof - $(distdir) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz465 tardir=$(distdir) && $(am__tar) | GZIP=$(GZIP_ENV) gzip -c >$(distdir).tar.gz 461 466 $(am__remove_distdir) 462 467 … … 467 472 case '$(DIST_ARCHIVES)' in \ 468 473 *.tar.gz*) \ 469 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $( AMTAR) xf -;;\474 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\ 470 475 *.tar.bz2*) \ 471 bunzip2 -c $(distdir).tar.bz2 | $( AMTAR) xf -;;\476 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\ 472 477 *.tar.Z*) \ 473 uncompress -c $(distdir).tar.Z | $( AMTAR) xf -;;\478 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\ 474 479 *.shar.gz*) \ 475 GZIP=$(GZIP_ENV) gunzip -c $(distdir). tar.gz | unshar ;;\480 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\ 476 481 *.zip*) \ 477 482 unzip $(distdir).zip ;;\ … … 496 501 && chmod -R a-w "$$dc_install_base" \ 497 502 && ({ \ 498 (cd ../.. && $(mkdir_p)"$$dc_destdir") \503 (cd ../.. && umask 077 && mkdir "$$dc_destdir") \ 499 504 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" install \ 500 505 && $(MAKE) $(AM_MAKEFLAGS) DESTDIR="$$dc_destdir" uninstall \ … … 552 557 553 558 distclean-generic: 554 - rm -f $(CONFIG_CLEAN_FILES)559 -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES) 555 560 556 561 maintainer-clean-generic: trunk/libgadu/aclocal.m4
r592 r598 1 # generated automatically by aclocal 1. 8.2-*- Autoconf -*-1 # generated automatically by aclocal 1.9.4 -*- Autoconf -*- 2 2 3 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 … … 34 34 # Automake X.Y traces this macro to ensure aclocal.m4 has been 35 35 # generated from the m4 files accompanying Automake X.Y. 36 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1. 8"])36 AC_DEFUN([AM_AUTOMAKE_VERSION], [am__api_version="1.9"]) 37 37 38 38 # AM_SET_CURRENT_AUTOMAKE_VERSION … … 41 41 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 42 42 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], 43 [AM_AUTOMAKE_VERSION([1. 8.2])])43 [AM_AUTOMAKE_VERSION([1.9.4])]) 44 44 45 45 # AM_AUX_DIR_EXPAND … … 109 109 # AM_CONDITIONAL -*- Autoconf -*- 110 110 111 # Copyright (C) 1997, 2000, 2001, 2003 Free Software Foundation, Inc.111 # Copyright (C) 1997, 2000, 2001, 2003, 2004 Free Software Foundation, Inc. 112 112 113 113 # This program is free software; you can redistribute it and/or modify … … 146 146 AC_CONFIG_COMMANDS_PRE( 147 147 [if test -z "${$1_TRUE}" && test -z "${$1_FALSE}"; then 148 AC_MSG_ERROR([ conditional "$1" was never defined.149 Usually this means the macro was only invoked conditionally.] )148 AC_MSG_ERROR([[conditional "$1" was never defined. 149 Usually this means the macro was only invoked conditionally.]]) 150 150 fi])]) 151 151 152 # serial 6-*- Autoconf -*-152 # serial 7 -*- Autoconf -*- 153 153 154 154 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 … … 237 237 for i in 1 2 3 4 5 6; do 238 238 echo '#include "conftst'$i'.h"' >> sub/conftest.c 239 : > sub/conftst$i.h 239 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with 240 # Solaris 8's {/usr,}/bin/sh. 241 touch sub/conftst$i.h 240 242 done 241 243 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf … … 265 267 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then 266 268 # icc doesn't choke on unknown options, it will just issue warnings 267 # (even with -Werror). So we grep stderr for any message 268 # that says an option was ignored. 269 if grep 'ignoring option' conftest.err >/dev/null 2>&1; then :; else 269 # or remarks (even with -Werror). So we grep stderr for any message 270 # that says an option was ignored or not supported. 271 # When given -MP, icc 7.0 and 7.1 complain thusly: 272 # icc: Command line warning: ignoring option '-M'; no argument required 273 # The diagnosis changed in icc 8.0: 274 # icc: Command line remark: option '-MP' not supported 275 if (grep 'ignoring option' conftest.err || 276 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else 270 277 am_cv_$1_dependencies_compiler_type=$depmode 271 278 break … … 313 320 # Generate code to set up dependency tracking. -*- Autoconf -*- 314 321 315 # Copyright (C) 1999, 2000, 2001, 2002, 2003 Free Software Foundation, Inc. 322 # Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004 323 # Free Software Foundation, Inc. 316 324 317 325 # This program is free software; you can redistribute it and/or modify … … 349 357 continue 350 358 fi 351 grep '^DEP_FILES *= *[[^ @%:@]]' < "$mf" > /dev/null || continue 352 # Extract the definition of DEP_FILES from the Makefile without 353 # running `make'. 354 DEPDIR=`sed -n -e '/^DEPDIR = / s///p' < "$mf"` 359 # Extract the definition of DEPDIR, am__include, and am__quote 360 # from the Makefile without running `make'. 361 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 355 362 test -z "$DEPDIR" && continue 363 am__include=`sed -n 's/^am__include = //p' < "$mf"` 364 test -z "am__include" && continue 365 am__quote=`sed -n 's/^am__quote = //p' < "$mf"` 356 366 # When using ansi2knr, U may be empty or an underscore; expand it 357 U=`sed -n -e '/^U = / s///p' < "$mf"` 358 test -d "$dirpart/$DEPDIR" || mkdir "$dirpart/$DEPDIR" 359 # We invoke sed twice because it is the simplest approach to 360 # changing $(DEPDIR) to its actual value in the expansion. 361 for file in `sed -n -e ' 362 /^DEP_FILES = .*\\\\$/ { 363 s/^DEP_FILES = // 364 :loop 365 s/\\\\$// 366 p 367 n 368 /\\\\$/ b loop 369 p 370 } 371 /^DEP_FILES = / s/^DEP_FILES = //p' < "$mf" | \ 367 U=`sed -n 's/^U = //p' < "$mf"` 368 # Find all dependency output files, they are included files with 369 # $(DEPDIR) in their names. We invoke sed twice because it is the 370 # simplest approach to changing $(DEPDIR) to its actual value in the 371 # expansion. 372 for file in `sed -n " 373 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \ 372 374 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do 373 375 # Make sure the directory exists. … … 400 402 # your package does certain things. But this isn't really a big deal. 401 403 402 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003 404 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004 403 405 # Free Software Foundation, Inc. 404 406 … … 476 478 AM_MISSING_PROG(AUTOHEADER, autoheader) 477 479 AM_MISSING_PROG(MAKEINFO, makeinfo) 478 AM_MISSING_PROG(AMTAR, tar)479 480 AM_PROG_INSTALL_SH 480 481 AM_PROG_INSTALL_STRIP … … 485 486 AC_REQUIRE([AC_PROG_MAKE_SET])dnl 486 487 AC_REQUIRE([AM_SET_LEADING_DOT])dnl 487 488 _AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])], 489 [_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])], 490 [_AM_PROG_TAR([v7])])]) 488 491 _AM_IF_OPTION([no-dependencies],, 489 492 [AC_PROVIDE_IFELSE([AC_PROG_CC], … … 758 761 fi 759 762 763 cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'` 764 760 765 # Only perform the check for file, if the check method requires it 761 766 case $deplibs_check_method in … … 875 880 # The HP-UX ksh and POSIX shell print the target directory to stdout 876 881 # if CDPATH is set. 877 if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi 882 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH 878 883 879 884 if test -z "$ECHO"; then … … 1058 1063 LD="${LD-ld} -m elf_i386" 1059 1064 ;; 1060 ppc64-*linux* )1065 ppc64-*linux*|powerpc64-*linux*) 1061 1066 LD="${LD-ld} -m elf32ppclinux" 1062 1067 ;; … … 1122 1127 # Check whether the given compiler option works 1123 1128 AC_DEFUN([AC_LIBTOOL_COMPILER_OPTION], 1124 [AC_CACHE_CHECK([$1], [$2], 1129 [AC_REQUIRE([LT_AC_PROG_SED]) 1130 AC_CACHE_CHECK([$1], [$2], 1125 1131 [$2=no 1126 1132 ifelse([$4], , [ac_outfile=conftest.$ac_objext], [ac_outfile=$4]) … … 1198 1204 AC_CACHE_VAL([lt_cv_sys_max_cmd_len], [dnl 1199 1205 i=0 1200 test ring="ABCD"1206 teststring="ABCD" 1201 1207 1202 1208 case $build_os in … … 1227 1233 ;; 1228 1234 1229 *) 1235 amigaos*) 1236 # On AmigaOS with pdksh, this test takes hours, literally. 1237 # So we just punt and use a minimum line length of 8192. 1238 lt_cv_sys_max_cmd_len=8192; 1239 ;; 1240 1241 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*) 1242 # This has been around since 386BSD, at least. Likely further. 1243 if test -x /sbin/sysctl; then 1244 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax` 1245 elif test -x /usr/sbin/sysctl; then 1246 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax` 1247 else 1248 lt_cv_sys_max_cmd_len=65536 # usable default for *BSD 1249 fi 1250 # And add a safety zone 1251 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4` 1252 ;; 1253 osf*) 1254 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure 1255 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not 1256 # nice to cause kernel panics so lets avoid the loop below. 1257 # First set a reasonable default. 1258 lt_cv_sys_max_cmd_len=16384 1259 # 1260 if test -x /sbin/sysconfig; then 1261 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in 1262 *1*) lt_cv_sys_max_cmd_len=-1 ;; 1263 esac 1264 fi 1265 ;; 1266 *) 1230 1267 # If test is not a shell built-in, we'll probably end up computing a 1231 1268 # maximum length that is only half of the actual maximum length, but 1232 1269 # we can't tell. 1233 while (test "X"`$CONFIG_SHELL [$]0 --fallback-echo "X$testring" 2>/dev/null` \ 1234 = "XX$testring") >/dev/null 2>&1 && 1235 new_result=`expr "X$testring" : ".*" 2>&1` && 1270 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}} 1271 while (test "X"`$SHELL [$]0 --fallback-echo "X$teststring" 2>/dev/null` \ 1272 = "XX$teststring") >/dev/null 2>&1 && 1273 new_result=`expr "X$teststring" : ".*" 2>&1` && 1236 1274 lt_cv_sys_max_cmd_len=$new_result && 1237 1275 test $i != 17 # 1/2 MB should be enough 1238 1276 do 1239 1277 i=`expr $i + 1` 1240 test ring=$testring$testring1278 teststring=$teststring$teststring 1241 1279 done 1242 test ring=1280 teststring= 1243 1281 # Add a significant safety factor because C++ compilers can tack on massive 1244 1282 # amounts of additional arguments before passing them to the linker. … … 1390 1428 ]) 1391 1429 ;; 1392 1430 1393 1431 *) 1394 1432 AC_CHECK_FUNC([shl_load], … … 1478 1516 mkdir out 1479 1517 printf "$lt_simple_compile_test_code" > conftest.$ac_ext 1480 1481 # According to Tom Tromey, Ian Lance Taylor reported there are C compilers1482 # that will create temporary files in the current directory regardless of1483 # the output directory. Thus, making CWD read-only will cause this test1484 # to fail, enabling locking or at least warning the user not to do parallel1485 # builds.1486 chmod -w .1487 1518 1488 1519 lt_compiler_flag="-o out/conftest2.$ac_objext" … … 1509 1540 fi 1510 1541 chmod u+w . 1511 $rm conftest* out/* 1512 rmdir out 1542 $rm conftest* 1543 # SGI C++ compiler will create directory out/ii_files/ for 1544 # template instantiation 1545 test -d out/ii_files && $rm out/ii_files/* && rmdir out/ii_files 1546 $rm out/* && rmdir out 1513 1547 cd .. 1514 1548 rmdir conftest … … 1569 1603 _LT_AC_TAGVAR(hardcode_action, $1)= 1570 1604 if test -n "$_LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)" || \ 1571 test -n "$_LT_AC_TAGVAR(runpath_var $1)" || \1572 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" ="Xyes" ; then1605 test -n "$_LT_AC_TAGVAR(runpath_var, $1)" || \ 1606 test "X$_LT_AC_TAGVAR(hardcode_automatic, $1)" = "Xyes" ; then 1573 1607 1574 1608 # We can hardcode non-existant directories. … … 1627 1661 AC_MSG_RESULT([no]) 1628 1662 ;; 1629 esac 1663 esac 1630 1664 fi 1631 1665 ])# AC_LIBTOOL_SYS_LIB_STRIP … … 1640 1674 libname_spec='lib$name' 1641 1675 soname_spec= 1642 shrext =".so"1676 shrext_cmds=".so" 1643 1677 postinstall_cmds= 1644 1678 postuninstall_cmds= … … 1743 1777 library_names_spec='$libname.ixlibrary $libname.a' 1744 1778 # Create ${libname}_ixlibrary.a entries in /sys/libs. 1745 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show " (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)"; (cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a)|| exit 1; done'1779 finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$echo "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $rm /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done' 1746 1780 ;; 1747 1781 … … 1752 1786 ;; 1753 1787 1754 bsdi 4*)1788 bsdi[[45]]*) 1755 1789 version_type=linux 1756 1790 need_version=no … … 1768 1802 cygwin* | mingw* | pw32*) 1769 1803 version_type=windows 1770 shrext =".dll"1804 shrext_cmds=".dll" 1771 1805 need_version=no 1772 1806 need_lib_prefix=no … … 1790 1824 # Cygwin DLLs use 'cyg' prefix rather than 'lib' 1791 1825 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 1792 sys_lib_search_path_spec="/ lib /lib/w32api /usr/lib /usr/local/lib"1826 sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib" 1793 1827 ;; 1794 1828 mingw*) … … 1810 1844 pw32*) 1811 1845 # pw32 DLLs use 'pw' prefix rather than 'lib' 1812 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[ .]/-/g'`${versuffix}${shared_ext}'1846 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}' 1813 1847 ;; 1814 1848 esac … … 1829 1863 need_lib_prefix=no 1830 1864 need_version=no 1831 # FIXME: Relying on posixy $() will cause problems for1832 # cross-compilation, but unfortunately the echo tests do not1833 # yet detect zsh echo's removal of \ escapes.1834 1865 library_names_spec='${libname}${release}${versuffix}$shared_ext ${libname}${release}${major}$shared_ext ${libname}$shared_ext' 1835 1866 soname_spec='${libname}${release}${major}$shared_ext' 1836 1867 shlibpath_overrides_runpath=yes 1837 1868 shlibpath_var=DYLD_LIBRARY_PATH 1838 shrext ='$(test .$module = .yes && echo .so || echo .dylib)'1869 shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)' 1839 1870 # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same. 1840 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 1841 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 1871 if test "$GCC" = yes; then 1872 sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"` 1873 else 1874 sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib' 1842 1875 fi 1843 1876 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib' … … 1857 1890 ;; 1858 1891 1859 freebsd*) 1892 kfreebsd*-gnu) 1893 version_type=linux 1894 need_lib_prefix=no 1895 need_version=no 1896 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 1897 soname_spec='${libname}${release}${shared_ext}$major' 1898 shlibpath_var=LD_LIBRARY_PATH 1899 shlibpath_overrides_runpath=no 1900 hardcode_into_libs=yes 1901 dynamic_linker='GNU ld.so' 1902 ;; 1903 1904 freebsd* | dragonfly*) 1905 # DragonFly does not have aout. When/if they implement a new 1906 # versioning mechanism, adjust this. 1860 1907 objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout` 1861 1908 version_type=freebsd-$objformat … … 1876 1923 shlibpath_overrides_runpath=yes 1877 1924 ;; 1878 freebsd3.[ 01]* | freebsdelf3.[01]*)1925 freebsd3.[[01]]* | freebsdelf3.[[01]]*) 1879 1926 shlibpath_overrides_runpath=yes 1880 1927 hardcode_into_libs=yes … … 1905 1952 case "$host_cpu" in 1906 1953 ia64*) 1907 shrext ='.so'1954 shrext_cmds='.so' 1908 1955 hardcode_into_libs=yes 1909 1956 dynamic_linker="$host_os dld.so" … … 1920 1967 ;; 1921 1968 hppa*64*) 1922 shrext ='.sl'1969 shrext_cmds='.sl' 1923 1970 hardcode_into_libs=yes 1924 1971 dynamic_linker="$host_os dld.sl" … … 1931 1978 ;; 1932 1979 *) 1933 shrext ='.sl'1980 shrext_cmds='.sl' 1934 1981 dynamic_linker="$host_os dld.sl" 1935 1982 shlibpath_var=SHLIB_PATH … … 2000 2047 hardcode_into_libs=yes 2001 2048 2049 # Append ld.so.conf contents to the search path 2050 if test -f /etc/ld.so.conf; then 2051 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,\t]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '` 2052 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra" 2053 fi 2054 2002 2055 # We used to test for /lib/ld.so.1 and disable shared libraries on 2003 2056 # powerpc, because MkLinux only supported shared libraries with the … … 2029 2082 ;; 2030 2083 2084 knetbsd*-gnu) 2085 version_type=linux 2086 need_lib_prefix=no 2087 need_version=no 2088 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 2089 soname_spec='${libname}${release}${shared_ext}$major' 2090 shlibpath_var=LD_LIBRARY_PATH 2091 shlibpath_overrides_runpath=no 2092 hardcode_into_libs=yes 2093 dynamic_linker='GNU ld.so' 2094 ;; 2095 2031 2096 netbsd*) 2032 2097 version_type=sunos … … 2038 2103 dynamic_linker='NetBSD (a.out) ld.so' 2039 2104 else 2040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${ release}${shared_ext} ${libname}${shared_ext}'2105 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}' 2041 2106 soname_spec='${libname}${release}${shared_ext}$major' 2042 2107 dynamic_linker='NetBSD ld.elf_so' … … 2054 2119 ;; 2055 2120 2056 nto-qnx )2121 nto-qnx*) 2057 2122 version_type=linux 2058 2123 need_lib_prefix=no … … 2087 2152 os2*) 2088 2153 libname_spec='$name' 2089 shrext =".dll"2154 shrext_cmds=".dll" 2090 2155 need_lib_prefix=no 2091 2156 library_names_spec='$libname${shared_ext} $libname.a' … … 2233 2298 case $tagname in 2234 2299 CXX) 2235 if test -n "$CXX" && test "X$CXX" != "Xno"; then 2300 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 2301 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 2302 (test "X$CXX" != "Xg++"))) ; then 2236 2303 AC_LIBTOOL_LANG_CXX_CONFIG 2237 2304 else … … 2523 2590 # AC_PROG_LD 2524 2591 # ---------- 2525 # find the path to the GNU or non-GNU linker2592 # find the pathname to the GNU or non-GNU linker 2526 2593 AC_DEFUN([AC_PROG_LD], 2527 2594 [AC_ARG_WITH([gnu-ld], … … 2549 2616 [[\\/]]* | ?:[[\\/]]*) 2550 2617 re_direlt='/[[^/]][[^/]]*/\.\./' 2551 # Canonicalize the path of ld2618 # Canonicalize the pathname of ld 2552 2619 ac_prog=`echo $ac_prog| $SED 's%\\\\%/%g'` 2553 2620 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do … … 2638 2705 esac 2639 2706 reload_cmds='$LD$reload_flag -o $output$reload_objs' 2707 case $host_os in 2708 darwin*) 2709 if test "$GCC" = yes; then 2710 reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs' 2711 else 2712 reload_cmds='$LD$reload_flag -o $output$reload_objs' 2713 fi 2714 ;; 2715 esac 2640 2716 ])# AC_PROG_LD_RELOAD_FLAG 2641 2717 … … 2671 2747 ;; 2672 2748 2673 bsdi 4*)2749 bsdi[[45]]*) 2674 2750 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (shared object|dynamic lib)' 2675 2751 lt_cv_file_magic_cmd='/usr/bin/file -L' … … 2677 2753 ;; 2678 2754 2679 cygwin* | mingw* | pw32*)2680 # win32_libid is a shell function defined in ltmain.sh2755 cygwin*) 2756 # func_win32_libid is a shell function defined in ltmain.sh 2681 2757 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL' 2682 lt_cv_file_magic_cmd='win32_libid' 2758 lt_cv_file_magic_cmd='func_win32_libid' 2759 ;; 2760 2761 mingw* | pw32*) 2762 # Base MSYS/MinGW do not provide the 'file' command needed by 2763 # func_win32_libid shell function, so use a weaker test based on 'objdump'. 2764 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?' 2765 lt_cv_file_magic_cmd='$OBJDUMP -f' 2683 2766 ;; 2684 2767 2685 2768 darwin* | rhapsody*) 2686 # this will be overwritten by pass_all, but leave it in just in case2687 lt_cv_deplibs_check_method='file_magic Mach-O dynamically linked shared library'2688 lt_cv_file_magic_cmd='/usr/bin/file -L'2689 case "$host_os" in2690 rhapsody* | darwin1.[[012]])2691 lt_cv_file_magic_test_file=`/System/Library/Frameworks/System.framework/System`2692 ;;2693 *) # Darwin 1.3 on2694 lt_cv_file_magic_test_file='/usr/lib/libSystem.dylib'2695 ;;2696 esac2697 2769 lt_cv_deplibs_check_method=pass_all 2698 2770 ;; 2699 2771 2700 freebsd* )2772 freebsd* | kfreebsd*-gnu | dragonfly*) 2701 2773 if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then 2702 2774 case $host_cpu in … … 2704 2776 # Not sure whether the presence of OpenBSD here was a mistake. 2705 2777 # Let's accept both of them until this is cleared up. 2706 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD )/i[[3-9]]86 (compact )?demand paged shared library'2778 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[[3-9]]86 (compact )?demand paged shared library' 2707 2779 lt_cv_file_magic_cmd=/usr/bin/file 2708 2780 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*` … … 2737 2809 2738 2810 irix5* | irix6* | nonstopux*) 2739 case $host_os in 2740 irix5* | nonstopux*) 2741 # this will be overridden with pass_all, but let us keep it just in case 2742 lt_cv_deplibs_check_method="file_magic ELF 32-bit MSB dynamic lib MIPS - version 1" 2743 ;; 2744 *) 2745 case $LD in 2746 *-32|*"-32 ") libmagic=32-bit;; 2747 *-n32|*"-n32 ") libmagic=N32;; 2748 *-64|*"-64 ") libmagic=64-bit;; 2749 *) libmagic=never-match;; 2750 esac 2751 # this will be overridden with pass_all, but let us keep it just in case 2752 lt_cv_deplibs_check_method="file_magic ELF ${libmagic} MSB mips-[[1234]] dynamic lib MIPS - version 1" 2753 ;; 2811 case $LD in 2812 *-32|*"-32 ") libmagic=32-bit;; 2813 *-n32|*"-n32 ") libmagic=N32;; 2814 *-64|*"-64 ") libmagic=64-bit;; 2815 *) libmagic=never-match;; 2754 2816 esac 2755 lt_cv_file_magic_test_file=`echo /lib${libsuff}/libc.so*`2756 2817 lt_cv_deplibs_check_method=pass_all 2757 2818 ;; … … 2759 2820 # This must be Linux ELF. 2760 2821 linux*) 2761 case $host_cpu in 2762 alpha* | hppa* | i*86 | ia64* | m68* | mips | mipsel | powerpc* | sparc* | s390* | sh* | x86_64*) 2763 lt_cv_deplibs_check_method=pass_all ;; 2764 *) 2765 # glibc up to 2.1.1 does not perform some relocations on ARM 2766 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB (shared object|dynamic lib )' ;; 2767 esac 2768 lt_cv_file_magic_test_file=`echo /lib/libc.so* /lib/libc-*.so` 2822 lt_cv_deplibs_check_method=pass_all 2769 2823 ;; 2770 2824 … … 2783 2837 ;; 2784 2838 2785 nto-qnx )2839 nto-qnx*) 2786 2840 lt_cv_deplibs_check_method=unknown 2787 2841 ;; 2788 2842 2789 2843 openbsd*) 2790 lt_cv_file_magic_cmd=/usr/bin/file2791 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`2792 2844 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then 2793 lt_cv_deplibs_check_method=' file_magic ELF [[0-9]][[0-9]]*-bit [[LM]]SB shared object'2845 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|\.so|_pic\.a)$' 2794 2846 else 2795 lt_cv_deplibs_check_method=' file_magic OpenBSD.* shared library'2847 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$' 2796 2848 fi 2797 2849 ;; 2798 2850 2799 2851 osf3* | osf4* | osf5*) 2800 # this will be overridden with pass_all, but let us keep it just in case2801 lt_cv_deplibs_check_method='file_magic COFF format alpha shared library'2802 lt_cv_file_magic_test_file=/shlib/libc.so2803 2852 lt_cv_deplibs_check_method=pass_all 2804 2853 ;; … … 2810 2859 solaris*) 2811 2860 lt_cv_deplibs_check_method=pass_all 2812 lt_cv_file_magic_test_file=/lib/libc.so2813 2861 ;; 2814 2862 … … 2850 2898 # AC_PROG_NM 2851 2899 # ---------- 2852 # find the path to a BSD-compatible name lister2900 # find the pathname to a BSD-compatible name lister 2853 2901 AC_DEFUN([AC_PROG_NM], 2854 2902 [AC_CACHE_CHECK([for BSD-compatible nm], lt_cv_path_NM, … … 2987 3035 AC_DEFUN([_LT_AC_LANG_CXX], 2988 3036 [AC_REQUIRE([AC_PROG_CXX]) 2989 AC_REQUIRE([ AC_PROG_CXXCPP])2990 _LT_AC_SHELL_INIT([tagnames= `echo "$tagnames,CXX" | sed 's/^,//'`])3037 AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 3038 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}CXX]) 2991 3039 ])# _LT_AC_LANG_CXX 2992 3040 3041 # _LT_AC_PROG_CXXCPP 3042 # --------------- 3043 AC_DEFUN([_LT_AC_PROG_CXXCPP], 3044 [ 3045 AC_REQUIRE([AC_PROG_CXX]) 3046 if test -n "$CXX" && ( test "X$CXX" != "Xno" && 3047 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) || 3048 (test "X$CXX" != "Xg++"))) ; then 3049 AC_PROG_CXXCPP 3050 fi 3051 ])# _LT_AC_PROG_CXXCPP 2993 3052 2994 3053 # AC_LIBTOOL_F77 … … 3004 3063 AC_DEFUN([_LT_AC_LANG_F77], 3005 3064 [AC_REQUIRE([AC_PROG_F77]) 3006 _LT_AC_SHELL_INIT([tagnames= `echo "$tagnames,F77" | sed 's/^,//'`])3065 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}F77]) 3007 3066 ])# _LT_AC_LANG_F77 3008 3067 … … 3025 3084 [ifdef([A][M_PROG_GCJ],[AC_REQUIRE([A][M_PROG_GCJ])], 3026 3085 [AC_REQUIRE([A][C_PROG_GCJ_OR_A][M_PROG_GCJ])])])])])]) 3027 _LT_AC_SHELL_INIT([tagnames= `echo "$tagnames,GCJ" | sed 's/^,//'`])3086 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}GCJ]) 3028 3087 ])# _LT_AC_LANG_GCJ 3029 3088 … … 3034 3093 AC_DEFUN([AC_LIBTOOL_RC], 3035 3094 [AC_REQUIRE([LT_AC_PROG_RC]) 3036 _LT_AC_SHELL_INIT([tagnames= `echo "$tagnames,RC" | sed 's/^,//'`])3095 _LT_AC_SHELL_INIT([tagnames=${tagnames+${tagnames},}RC]) 3037 3096 ])# AC_LIBTOOL_RC 3038 3097 … … 3099 3158 AC_LIBTOOL_SYS_HARD_LINK_LOCKS($1) 3100 3159 AC_LIBTOOL_PROG_LD_SHLIBS($1) 3160 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1) 3101 3161 AC_LIBTOOL_PROG_LD_HARDCODE_LIBPATH($1) 3102 3162 AC_LIBTOOL_SYS_LIB_STRIP 3103 AC_LIBTOOL_SYS_DYNAMIC_LINKER($1)3104 3163 AC_LIBTOOL_DLOPEN_SELF($1) 3105 3164 … … 3122 3181 ;; 3123 3182 3124 aix4* )3183 aix4* | aix5*) 3125 3184 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 3126 3185 test "$enable_shared" = yes && enable_static=no 3127 3186 fi 3128 ;; 3129 darwin* | rhapsody*) 3130 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 3131 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3132 case "$host_os" in 3133 rhapsody* | darwin1.[[012]]) 3134 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 3135 ;; 3136 *) # Darwin 1.3 on 3137 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3138 ;; 3139 esac 3140 # FIXME: Relying on posixy $() will cause problems for 3141 # cross-compilation, but unfortunately the echo tests do not 3142 # yet detect zsh echo's removal of \ escapes. Also zsh mangles 3143 # `"' quotes if we put them in here... so don't! 3144 output_verbose_link_cmd='echo' 3145 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring' 3146 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags' 3147 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 3148 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 3149 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -bundle $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 3150 _LT_AC_TAGVAR(hardcode_direct, $1)=no 3151 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 3152 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 3153 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='-all_load $convenience' 3154 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 3155 fi 3156 ;; 3187 ;; 3157 3188 esac 3158 3189 AC_MSG_RESULT([$enable_shared]) … … 3179 3210 [AC_LANG_PUSH(C++) 3180 3211 AC_REQUIRE([AC_PROG_CXX]) 3181 AC_REQUIRE([ AC_PROG_CXXCPP])3212 AC_REQUIRE([_LT_AC_PROG_CXXCPP]) 3182 3213 3183 3214 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no … … 3351 3382 3352 3383 if test "$GXX" = yes; then 3353 case $host_os in aix4.[ 012]|aix4.[012].*)3384 case $host_os in aix4.[[012]]|aix4.[[012]].*) 3354 3385 # We only want to do this on AIX 4.2 and lower, the check 3355 3386 # below for broken collect2 doesn't work under 4.3+ … … 3372 3403 esac 3373 3404 shared_flag='-shared' 3405 if test "$aix_use_runtimelinking" = yes; then 3406 shared_flag="$shared_flag "'${wl}-G' 3407 fi 3374 3408 else 3375 3409 # not using gcc … … 3431 3465 ;; 3432 3466 3467 3433 3468 cygwin* | mingw* | pw32*) 3434 3469 # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless, … … 3454 3489 fi 3455 3490 ;; 3456 3457 darwin* | rhapsody*) 3458 if $CC -v 2>&1 | grep 'Apple' >/dev/null ; then 3459 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3460 case "$host_os" in 3461 rhapsody* | darwin1.[[012]]) 3462 _LT_AC_TAGVAR(allow_undefined_flag, $1)='-undefined suppress' 3463 ;; 3464 *) # Darwin 1.3 on 3465 test -z ${LD_TWOLEVEL_NAMESPACE} && _LT_AC_TAGVAR(allow_undefined_flag, $1)='-flat_namespace -undefined suppress' 3466 ;; 3467 esac 3468 lt_int_apple_cc_single_mod=no 3469 output_verbose_link_cmd='echo' 3470 if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then 3471 lt_int_apple_cc_single_mod=yes 3472 fi 3473 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 3474 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 3475 else 3476 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 3491 darwin* | rhapsody*) 3492 case "$host_os" in 3493 rhapsody* | darwin1.[[012]]) 3494 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' 3495 ;; 3496 *) # Darwin 1.3 on 3497 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then 3498 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 3499 else 3500 case ${MACOSX_DEPLOYMENT_TARGET} in 3501 10.[[012]]) 3502 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 3503 ;; 3504 10.*) 3505 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' 3506 ;; 3507 esac 3508 fi 3509 ;; 3510 esac 3511 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3512 _LT_AC_TAGVAR(hardcode_direct, $1)=no 3513 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 3514 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 3515 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 3516 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 3517 3518 if test "$GXX" = yes ; then 3519 lt_int_apple_cc_single_mod=no 3520 output_verbose_link_cmd='echo' 3521 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 3522 lt_int_apple_cc_single_mod=yes 3477 3523 fi 3478 _LT_AC_TAGVAR(module_cmds, $1)='$CC -bundle ${wl}-bind_at_load $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags'3479 3480 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's3481 3524 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then 3482 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'3525 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 3483 3526 else 3484 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 3527 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 3528 fi 3529 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 3530 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's 3531
