OLD | NEW |
1 # generated automatically by aclocal 1.10 -*- Autoconf -*- | 1 # generated automatically by aclocal 1.10.1 -*- Autoconf -*- |
2 | 2 |
3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 3 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
4 # 2005, 2006 Free Software Foundation, Inc. | 4 # 2005, 2006, 2007, 2008 Free Software Foundation, Inc. |
5 # This file is free software; the Free Software Foundation | 5 # This file is free software; the Free Software Foundation |
6 # gives unlimited permission to copy and/or distribute it, | 6 # gives unlimited permission to copy and/or distribute it, |
7 # with or without modifications, as long as this notice is preserved. | 7 # with or without modifications, as long as this notice is preserved. |
8 | 8 |
9 # This program is distributed in the hope that it will be useful, | 9 # This program is distributed in the hope that it will be useful, |
10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without | 10 # but WITHOUT ANY WARRANTY, to the extent permitted by law; without |
11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A | 11 # even the implied warranty of MERCHANTABILITY or FITNESS FOR A |
12 # PARTICULAR PURPOSE. | 12 # PARTICULAR PURPOSE. |
13 | 13 |
14 m4_if(m4_PACKAGE_VERSION, [2.61],, | 14 m4_ifndef([AC_AUTOCONF_VERSION], |
15 [m4_fatal([this file was generated for autoconf 2.61. | 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
16 You have another version of autoconf. If you want to use that, | 16 m4_if(AC_AUTOCONF_VERSION, [2.63],, |
17 you should regenerate the build system entirely.], [63])]) | 17 [m4_warning([this file was generated for autoconf 2.63. |
| 18 You have another version of autoconf. It may work, but is not guaranteed to. |
| 19 If you have problems, you may need to regenerate the build system entirely. |
| 20 To do so, use the procedure documented by the package, typically `autoreconf'.])
]) |
18 | 21 |
19 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- | 22 # libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- |
20 | 23 |
21 # serial 51 AC_PROG_LIBTOOL | 24 # serial 52 AC_PROG_LIBTOOL |
22 | 25 |
23 | 26 |
24 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) | 27 # AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) |
25 # ----------------------------------------------------------- | 28 # ----------------------------------------------------------- |
26 # If this macro is not defined by Autoconf, define it here. | 29 # If this macro is not defined by Autoconf, define it here. |
27 m4_ifdef([AC_PROVIDE_IFELSE], | 30 m4_ifdef([AC_PROVIDE_IFELSE], |
28 [], | 31 [], |
29 [m4_define([AC_PROVIDE_IFELSE], | 32 [m4_define([AC_PROVIDE_IFELSE], |
30 [m4_ifdef([AC_PROVIDE_$1], | 33 [m4_ifdef([AC_PROVIDE_$1], |
31 [$2], [$3])])]) | 34 [$2], [$3])])]) |
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 AC_REQUIRE([AC_PROG_LD])dnl | 102 AC_REQUIRE([AC_PROG_LD])dnl |
100 AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl | 103 AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl |
101 AC_REQUIRE([AC_PROG_NM])dnl | 104 AC_REQUIRE([AC_PROG_NM])dnl |
102 | 105 |
103 AC_REQUIRE([AC_PROG_LN_S])dnl | 106 AC_REQUIRE([AC_PROG_LN_S])dnl |
104 AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl | 107 AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl |
105 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! | 108 # Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! |
106 AC_REQUIRE([AC_OBJEXT])dnl | 109 AC_REQUIRE([AC_OBJEXT])dnl |
107 AC_REQUIRE([AC_EXEEXT])dnl | 110 AC_REQUIRE([AC_EXEEXT])dnl |
108 dnl | 111 dnl |
109 | |
110 AC_LIBTOOL_SYS_MAX_CMD_LEN | 112 AC_LIBTOOL_SYS_MAX_CMD_LEN |
111 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE | 113 AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE |
112 AC_LIBTOOL_OBJDIR | 114 AC_LIBTOOL_OBJDIR |
113 | 115 |
114 AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl | 116 AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl |
115 _LT_AC_PROG_ECHO_BACKSLASH | 117 _LT_AC_PROG_ECHO_BACKSLASH |
116 | 118 |
117 case $host_os in | 119 case $host_os in |
118 aix3*) | 120 aix3*) |
119 # AIX sometimes has problems with the GCC collect2 program. For some | 121 # AIX sometimes has problems with the GCC collect2 program. For some |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 | 203 |
202 # Only perform the check for file, if the check method requires it | 204 # Only perform the check for file, if the check method requires it |
203 case $deplibs_check_method in | 205 case $deplibs_check_method in |
204 file_magic*) | 206 file_magic*) |
205 if test "$file_magic_cmd" = '$MAGIC_CMD'; then | 207 if test "$file_magic_cmd" = '$MAGIC_CMD'; then |
206 AC_PATH_MAGIC | 208 AC_PATH_MAGIC |
207 fi | 209 fi |
208 ;; | 210 ;; |
209 esac | 211 esac |
210 | 212 |
| 213 _LT_REQUIRED_DARWIN_CHECKS |
| 214 |
211 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) | 215 AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) |
212 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], | 216 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], |
213 enable_win32_dll=yes, enable_win32_dll=no) | 217 enable_win32_dll=yes, enable_win32_dll=no) |
214 | 218 |
215 AC_ARG_ENABLE([libtool-lock], | 219 AC_ARG_ENABLE([libtool-lock], |
216 [AC_HELP_STRING([--disable-libtool-lock], | 220 [AC_HELP_STRING([--disable-libtool-lock], |
217 [avoid locking (might break parallel builds)])]) | 221 [avoid locking (might break parallel builds)])]) |
218 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes | 222 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes |
219 | 223 |
220 AC_ARG_WITH([pic], | 224 AC_ARG_WITH([pic], |
(...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
280 # _LT_LINKER_BOILERPLATE | 284 # _LT_LINKER_BOILERPLATE |
281 # ---------------------- | 285 # ---------------------- |
282 # Check for linker boilerplate output or warnings with | 286 # Check for linker boilerplate output or warnings with |
283 # the simple link test code. | 287 # the simple link test code. |
284 AC_DEFUN([_LT_LINKER_BOILERPLATE], | 288 AC_DEFUN([_LT_LINKER_BOILERPLATE], |
285 [AC_REQUIRE([LT_AC_PROG_SED])dnl | 289 [AC_REQUIRE([LT_AC_PROG_SED])dnl |
286 ac_outfile=conftest.$ac_objext | 290 ac_outfile=conftest.$ac_objext |
287 echo "$lt_simple_link_test_code" >conftest.$ac_ext | 291 echo "$lt_simple_link_test_code" >conftest.$ac_ext |
288 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err | 292 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err |
289 _lt_linker_boilerplate=`cat conftest.err` | 293 _lt_linker_boilerplate=`cat conftest.err` |
290 $rm conftest* | 294 $rm -r conftest* |
291 ])# _LT_LINKER_BOILERPLATE | 295 ])# _LT_LINKER_BOILERPLATE |
292 | 296 |
| 297 # _LT_REQUIRED_DARWIN_CHECKS |
| 298 # -------------------------- |
| 299 # Check for some things on darwin |
| 300 AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS],[ |
| 301 case $host_os in |
| 302 rhapsody* | darwin*) |
| 303 AC_CHECK_TOOL([DSYMUTIL], [dsymutil], [:]) |
| 304 AC_CHECK_TOOL([NMEDIT], [nmedit], [:]) |
| 305 |
| 306 AC_CACHE_CHECK([for -single_module linker flag],[lt_cv_apple_cc_single_mod], |
| 307 [lt_cv_apple_cc_single_mod=no |
| 308 if test -z "${LT_MULTI_MODULE}"; then |
| 309 # By default we will add the -single_module flag. You can override |
| 310 # by either setting the environment variable LT_MULTI_MODULE |
| 311 # non-empty at configure time, or by adding -multi_module to the |
| 312 # link flags. |
| 313 echo "int foo(void){return 1;}" > conftest.c |
| 314 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \ |
| 315 -dynamiclib ${wl}-single_module conftest.c |
| 316 if test -f libconftest.dylib; then |
| 317 lt_cv_apple_cc_single_mod=yes |
| 318 rm -rf libconftest.dylib* |
| 319 fi |
| 320 rm conftest.c |
| 321 fi]) |
| 322 AC_CACHE_CHECK([for -exported_symbols_list linker flag], |
| 323 [lt_cv_ld_exported_symbols_list], |
| 324 [lt_cv_ld_exported_symbols_list=no |
| 325 save_LDFLAGS=$LDFLAGS |
| 326 echo "_main" > conftest.sym |
| 327 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym" |
| 328 AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])], |
| 329 [lt_cv_ld_exported_symbols_list=yes], |
| 330 [lt_cv_ld_exported_symbols_list=no]) |
| 331 LDFLAGS="$save_LDFLAGS" |
| 332 ]) |
| 333 case $host_os in |
| 334 rhapsody* | darwin1.[[0123]]) |
| 335 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;; |
| 336 darwin1.*) |
| 337 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress
' ;; |
| 338 darwin*) |
| 339 # if running on 10.5 or later, the deployment target defaults |
| 340 # to the OS version, if on x86, and 10.4, the deployment |
| 341 # target defaults to 10.4. Don't you love it? |
| 342 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in |
| 343 10.0,*86*-darwin8*|10.0,*-darwin[[91]]*) |
| 344 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 345 10.[[012]]*) |
| 346 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress
' ;; |
| 347 10.*) |
| 348 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;; |
| 349 esac |
| 350 ;; |
| 351 esac |
| 352 if test "$lt_cv_apple_cc_single_mod" = "yes"; then |
| 353 _lt_dar_single_mod='$single_module' |
| 354 fi |
| 355 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then |
| 356 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname
}-symbols.expsym' |
| 357 else |
| 358 _lt_dar_export_syms="~$NMEDIT -s \$output_objdir/\${libname}-symbols.expsy
m \${lib}" |
| 359 fi |
| 360 if test "$DSYMUTIL" != ":"; then |
| 361 _lt_dsymutil="~$DSYMUTIL \$lib || :" |
| 362 else |
| 363 _lt_dsymutil= |
| 364 fi |
| 365 ;; |
| 366 esac |
| 367 ]) |
293 | 368 |
294 # _LT_AC_SYS_LIBPATH_AIX | 369 # _LT_AC_SYS_LIBPATH_AIX |
295 # ---------------------- | 370 # ---------------------- |
296 # Links a minimal program and checks the executable | 371 # Links a minimal program and checks the executable |
297 # for the system default hardcoded library path. In most cases, | 372 # for the system default hardcoded library path. In most cases, |
298 # this is /usr/lib:/lib, but when the MPI compilers are used | 373 # this is /usr/lib:/lib, but when the MPI compilers are used |
299 # the location of the communication and MPI libs are included too. | 374 # the location of the communication and MPI libs are included too. |
300 # If we don't find anything, use the default library path according | 375 # If we don't find anything, use the default library path according |
301 # to the aix ld manual. | 376 # to the aix ld manual. |
302 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], | 377 AC_DEFUN([_LT_AC_SYS_LIBPATH_AIX], |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
607 fi | 682 fi |
608 ;; | 683 ;; |
609 sparc*-*solaris*) | 684 sparc*-*solaris*) |
610 # Find out which ABI we are using. | 685 # Find out which ABI we are using. |
611 echo 'int i;' > conftest.$ac_ext | 686 echo 'int i;' > conftest.$ac_ext |
612 if AC_TRY_EVAL(ac_compile); then | 687 if AC_TRY_EVAL(ac_compile); then |
613 case `/usr/bin/file conftest.o` in | 688 case `/usr/bin/file conftest.o` in |
614 *64-bit*) | 689 *64-bit*) |
615 case $lt_cv_prog_gnu_ld in | 690 case $lt_cv_prog_gnu_ld in |
616 yes*) LD="${LD-ld} -m elf64_sparc" ;; | 691 yes*) LD="${LD-ld} -m elf64_sparc" ;; |
617 *) LD="${LD-ld} -64" ;; | 692 *) |
| 693 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then |
| 694 » LD="${LD-ld} -64" |
| 695 » fi |
| 696 » ;; |
618 esac | 697 esac |
619 ;; | 698 ;; |
620 esac | 699 esac |
621 fi | 700 fi |
622 rm -rf conftest* | 701 rm -rf conftest* |
623 ;; | 702 ;; |
624 | 703 |
625 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], | 704 AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], |
626 [*-*-cygwin* | *-*-mingw* | *-*-pw32*) | 705 [*-*-cygwin* | *-*-mingw* | *-*-pw32*) |
627 AC_CHECK_TOOL(DLLTOOL, dlltool, false) | 706 AC_CHECK_TOOL(DLLTOOL, dlltool, false) |
(...skipping 72 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
700 cat conftest.err 1>&AS_MESSAGE_LOG_FD | 779 cat conftest.err 1>&AS_MESSAGE_LOG_FD |
701 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp | 780 $echo "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp |
702 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 | 781 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 |
703 if diff conftest.exp conftest.er2 >/dev/null; then | 782 if diff conftest.exp conftest.er2 >/dev/null; then |
704 $2=yes | 783 $2=yes |
705 fi | 784 fi |
706 else | 785 else |
707 $2=yes | 786 $2=yes |
708 fi | 787 fi |
709 fi | 788 fi |
710 $rm conftest* | 789 $rm -r conftest* |
711 LDFLAGS="$save_LDFLAGS" | 790 LDFLAGS="$save_LDFLAGS" |
712 ]) | 791 ]) |
713 | 792 |
714 if test x"[$]$2" = xyes; then | 793 if test x"[$]$2" = xyes; then |
715 ifelse([$4], , :, [$4]) | 794 ifelse([$4], , :, [$4]) |
716 else | 795 else |
717 ifelse([$5], , :, [$5]) | 796 ifelse([$5], , :, [$5]) |
718 fi | 797 fi |
719 ])# AC_LIBTOOL_LINKER_OPTION | 798 ])# AC_LIBTOOL_LINKER_OPTION |
720 | 799 |
(...skipping 250 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
971 lt_cv_dlopen="dyld" | 1050 lt_cv_dlopen="dyld" |
972 lt_cv_dlopen_libs= | 1051 lt_cv_dlopen_libs= |
973 lt_cv_dlopen_self=yes | 1052 lt_cv_dlopen_self=yes |
974 ]) | 1053 ]) |
975 ;; | 1054 ;; |
976 | 1055 |
977 *) | 1056 *) |
978 AC_CHECK_FUNC([shl_load], | 1057 AC_CHECK_FUNC([shl_load], |
979 [lt_cv_dlopen="shl_load"], | 1058 [lt_cv_dlopen="shl_load"], |
980 [AC_CHECK_LIB([dld], [shl_load], | 1059 [AC_CHECK_LIB([dld], [shl_load], |
981 » [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-dld"], | 1060 » [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"], |
982 [AC_CHECK_FUNC([dlopen], | 1061 [AC_CHECK_FUNC([dlopen], |
983 [lt_cv_dlopen="dlopen"], | 1062 [lt_cv_dlopen="dlopen"], |
984 [AC_CHECK_LIB([dl], [dlopen], | 1063 [AC_CHECK_LIB([dl], [dlopen], |
985 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], | 1064 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], |
986 [AC_CHECK_LIB([svld], [dlopen], | 1065 [AC_CHECK_LIB([svld], [dlopen], |
987 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], | 1066 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], |
988 [AC_CHECK_LIB([dld], [dld_link], | 1067 [AC_CHECK_LIB([dld], [dld_link], |
989 » » [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-dld"]) | 1068 » » [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"]) |
990 ]) | 1069 ]) |
991 ]) | 1070 ]) |
992 ]) | 1071 ]) |
993 ]) | 1072 ]) |
994 ]) | 1073 ]) |
995 ;; | 1074 ;; |
996 esac | 1075 esac |
997 | 1076 |
998 if test "x$lt_cv_dlopen" != xno; then | 1077 if test "x$lt_cv_dlopen" != xno; then |
999 enable_dlopen=yes | 1078 enable_dlopen=yes |
(...skipping 296 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1296 case $host_os in | 1375 case $host_os in |
1297 aix3*) | 1376 aix3*) |
1298 version_type=linux | 1377 version_type=linux |
1299 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' | 1378 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' |
1300 shlibpath_var=LIBPATH | 1379 shlibpath_var=LIBPATH |
1301 | 1380 |
1302 # AIX 3 has no versioning support, so we append a major version to the name. | 1381 # AIX 3 has no versioning support, so we append a major version to the name. |
1303 soname_spec='${libname}${release}${shared_ext}$major' | 1382 soname_spec='${libname}${release}${shared_ext}$major' |
1304 ;; | 1383 ;; |
1305 | 1384 |
1306 aix4* | aix5*) | 1385 aix[[4-9]]*) |
1307 version_type=linux | 1386 version_type=linux |
1308 need_lib_prefix=no | 1387 need_lib_prefix=no |
1309 need_version=no | 1388 need_version=no |
1310 hardcode_into_libs=yes | 1389 hardcode_into_libs=yes |
1311 if test "$host_cpu" = ia64; then | 1390 if test "$host_cpu" = ia64; then |
1312 # AIX 5 supports IA64 | 1391 # AIX 5 supports IA64 |
1313 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${rele
ase}${shared_ext}$versuffix $libname${shared_ext}' | 1392 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${rele
ase}${shared_ext}$versuffix $libname${shared_ext}' |
1314 shlibpath_var=LD_LIBRARY_PATH | 1393 shlibpath_var=LD_LIBRARY_PATH |
1315 else | 1394 else |
1316 # With GCC up to 2.95.x, collect2 would create an import file | 1395 # With GCC up to 2.95.x, collect2 would create an import file |
(...skipping 500 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1817 shlibpath_var=LD_LIBRARY_PATH | 1896 shlibpath_var=LD_LIBRARY_PATH |
1818 ;; | 1897 ;; |
1819 | 1898 |
1820 *) | 1899 *) |
1821 dynamic_linker=no | 1900 dynamic_linker=no |
1822 ;; | 1901 ;; |
1823 esac | 1902 esac |
1824 AC_MSG_RESULT([$dynamic_linker]) | 1903 AC_MSG_RESULT([$dynamic_linker]) |
1825 test "$dynamic_linker" = no && can_build_shared=no | 1904 test "$dynamic_linker" = no && can_build_shared=no |
1826 | 1905 |
| 1906 AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], |
| 1907 [lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) |
| 1908 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" |
| 1909 AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], |
| 1910 [lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) |
| 1911 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" |
| 1912 |
1827 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" | 1913 variables_saved_for_relink="PATH $shlibpath_var $runpath_var" |
1828 if test "$GCC" = yes; then | 1914 if test "$GCC" = yes; then |
1829 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" | 1915 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPIL
ER_PATH LIBRARY_PATH" |
1830 fi | 1916 fi |
1831 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER | 1917 ])# AC_LIBTOOL_SYS_DYNAMIC_LINKER |
1832 | 1918 |
1833 | 1919 |
1834 # _LT_AC_TAGCONFIG | 1920 # _LT_AC_TAGCONFIG |
1835 # ---------------- | 1921 # ---------------- |
1836 AC_DEFUN([_LT_AC_TAGCONFIG], | 1922 AC_DEFUN([_LT_AC_TAGCONFIG], |
(...skipping 479 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2316 # 'none' -- dependencies not supported. | 2402 # 'none' -- dependencies not supported. |
2317 # `unknown' -- same as none, but documents that we really don't know. | 2403 # `unknown' -- same as none, but documents that we really don't know. |
2318 # 'pass_all' -- all dependencies passed with no checks. | 2404 # 'pass_all' -- all dependencies passed with no checks. |
2319 # 'test_compile' -- check by making test program. | 2405 # 'test_compile' -- check by making test program. |
2320 # 'file_magic [[regex]]' -- check by looking for files in library path | 2406 # 'file_magic [[regex]]' -- check by looking for files in library path |
2321 # which responds to the $file_magic_cmd with a given extended regex. | 2407 # which responds to the $file_magic_cmd with a given extended regex. |
2322 # If you have `file' or equivalent on your system and you're not sure | 2408 # If you have `file' or equivalent on your system and you're not sure |
2323 # whether `pass_all' will *always* work, you probably want this one. | 2409 # whether `pass_all' will *always* work, you probably want this one. |
2324 | 2410 |
2325 case $host_os in | 2411 case $host_os in |
2326 aix4* | aix5*) | 2412 aix[[4-9]]*) |
2327 lt_cv_deplibs_check_method=pass_all | 2413 lt_cv_deplibs_check_method=pass_all |
2328 ;; | 2414 ;; |
2329 | 2415 |
2330 beos*) | 2416 beos*) |
2331 lt_cv_deplibs_check_method=pass_all | 2417 lt_cv_deplibs_check_method=pass_all |
2332 ;; | 2418 ;; |
2333 | 2419 |
2334 bsdi[[45]]*) | 2420 bsdi[[45]]*) |
2335 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (share
d object|dynamic lib)' | 2421 lt_cv_deplibs_check_method='file_magic ELF [[0-9]][[0-9]]*-bit [[ML]]SB (share
d object|dynamic lib)' |
2336 lt_cv_file_magic_cmd='/usr/bin/file -L' | 2422 lt_cv_file_magic_cmd='/usr/bin/file -L' |
(...skipping 415 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2752 # are all built from PIC. | 2838 # are all built from PIC. |
2753 case $host_os in | 2839 case $host_os in |
2754 aix3*) | 2840 aix3*) |
2755 test "$enable_shared" = yes && enable_static=no | 2841 test "$enable_shared" = yes && enable_static=no |
2756 if test -n "$RANLIB"; then | 2842 if test -n "$RANLIB"; then |
2757 archive_cmds="$archive_cmds~\$RANLIB \$lib" | 2843 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
2758 postinstall_cmds='$RANLIB $lib' | 2844 postinstall_cmds='$RANLIB $lib' |
2759 fi | 2845 fi |
2760 ;; | 2846 ;; |
2761 | 2847 |
2762 aix4* | aix5*) | 2848 aix[[4-9]]*) |
2763 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 2849 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
2764 test "$enable_shared" = yes && enable_static=no | 2850 test "$enable_shared" = yes && enable_static=no |
2765 fi | 2851 fi |
2766 ;; | 2852 ;; |
2767 esac | 2853 esac |
2768 AC_MSG_RESULT([$enable_shared]) | 2854 AC_MSG_RESULT([$enable_shared]) |
2769 | 2855 |
2770 AC_MSG_CHECKING([whether to build static libraries]) | 2856 AC_MSG_CHECKING([whether to build static libraries]) |
2771 # Make sure either enable_shared or enable_static is yes. | 2857 # Make sure either enable_shared or enable_static is yes. |
2772 test "$enable_shared" = yes || enable_static=yes | 2858 test "$enable_shared" = yes || enable_static=yes |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2809 _LT_AC_TAGVAR(no_undefined_flag, $1)= | 2895 _LT_AC_TAGVAR(no_undefined_flag, $1)= |
2810 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= | 2896 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= |
2811 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no | 2897 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
2812 | 2898 |
2813 # Dependencies to place before and after the object being linked: | 2899 # Dependencies to place before and after the object being linked: |
2814 _LT_AC_TAGVAR(predep_objects, $1)= | 2900 _LT_AC_TAGVAR(predep_objects, $1)= |
2815 _LT_AC_TAGVAR(postdep_objects, $1)= | 2901 _LT_AC_TAGVAR(postdep_objects, $1)= |
2816 _LT_AC_TAGVAR(predeps, $1)= | 2902 _LT_AC_TAGVAR(predeps, $1)= |
2817 _LT_AC_TAGVAR(postdeps, $1)= | 2903 _LT_AC_TAGVAR(postdeps, $1)= |
2818 _LT_AC_TAGVAR(compiler_lib_search_path, $1)= | 2904 _LT_AC_TAGVAR(compiler_lib_search_path, $1)= |
| 2905 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= |
2819 | 2906 |
2820 # Source file extension for C++ test sources. | 2907 # Source file extension for C++ test sources. |
2821 ac_ext=cpp | 2908 ac_ext=cpp |
2822 | 2909 |
2823 # Object file extension for compiled C++ test sources. | 2910 # Object file extension for compiled C++ test sources. |
2824 objext=o | 2911 objext=o |
2825 _LT_AC_TAGVAR(objext, $1)=$objext | 2912 _LT_AC_TAGVAR(objext, $1)=$objext |
2826 | 2913 |
2827 # Code to be used in simple compile tests | 2914 # Code to be used in simple compile tests |
2828 lt_simple_compile_test_code="int some_variable = 0;" | 2915 lt_simple_compile_test_code="int some_variable = 0;" |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2918 fi | 3005 fi |
2919 | 3006 |
2920 # PORTME: fill in a description of your system's C++ link characteristics | 3007 # PORTME: fill in a description of your system's C++ link characteristics |
2921 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) | 3008 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) |
2922 _LT_AC_TAGVAR(ld_shlibs, $1)=yes | 3009 _LT_AC_TAGVAR(ld_shlibs, $1)=yes |
2923 case $host_os in | 3010 case $host_os in |
2924 aix3*) | 3011 aix3*) |
2925 # FIXME: insert proper C++ library support | 3012 # FIXME: insert proper C++ library support |
2926 _LT_AC_TAGVAR(ld_shlibs, $1)=no | 3013 _LT_AC_TAGVAR(ld_shlibs, $1)=no |
2927 ;; | 3014 ;; |
2928 aix4* | aix5*) | 3015 aix[[4-9]]*) |
2929 if test "$host_cpu" = ia64; then | 3016 if test "$host_cpu" = ia64; then |
2930 # On IA64, the linker does run time linking by default, so we don't | 3017 # On IA64, the linker does run time linking by default, so we don't |
2931 # have to do anything special. | 3018 # have to do anything special. |
2932 aix_use_runtimelinking=no | 3019 aix_use_runtimelinking=no |
2933 exp_sym_flag='-Bexport' | 3020 exp_sym_flag='-Bexport' |
2934 no_entry_flag="" | 3021 no_entry_flag="" |
2935 else | 3022 else |
2936 aix_use_runtimelinking=no | 3023 aix_use_runtimelinking=no |
2937 | 3024 |
2938 # Test if we are trying to use run time linking or normal | 3025 # Test if we are trying to use run time linking or normal |
2939 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 3026 # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
2940 # need to do runtime linking. | 3027 # need to do runtime linking. |
2941 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) | 3028 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) |
2942 for ld_flag in $LDFLAGS; do | 3029 for ld_flag in $LDFLAGS; do |
2943 case $ld_flag in | 3030 case $ld_flag in |
2944 *-brtl*) | 3031 *-brtl*) |
2945 aix_use_runtimelinking=yes | 3032 aix_use_runtimelinking=yes |
2946 break | 3033 break |
2947 ;; | 3034 ;; |
2948 esac | 3035 esac |
2949 done | 3036 done |
2950 ;; | 3037 ;; |
2951 esac | 3038 esac |
(...skipping 125 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3077 else | 3164 else |
3078 echo EXPORTS > $output_objdir/$soname.def; | 3165 echo EXPORTS > $output_objdir/$soname.def; |
3079 cat $export_symbols >> $output_objdir/$soname.def; | 3166 cat $export_symbols >> $output_objdir/$soname.def; |
3080 fi~ | 3167 fi~ |
3081 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs
$deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enabl
e-auto-image-base -Xlinker --out-implib -Xlinker $lib' | 3168 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs
$deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enabl
e-auto-image-base -Xlinker --out-implib -Xlinker $lib' |
3082 else | 3169 else |
3083 _LT_AC_TAGVAR(ld_shlibs, $1)=no | 3170 _LT_AC_TAGVAR(ld_shlibs, $1)=no |
3084 fi | 3171 fi |
3085 ;; | 3172 ;; |
3086 darwin* | rhapsody*) | 3173 darwin* | rhapsody*) |
3087 case $host_os in | |
3088 rhapsody* | darwin1.[[012]]) | |
3089 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' | |
3090 ;; | |
3091 *) # Darwin 1.3 on | |
3092 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | |
3093 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-u
ndefined ${wl}suppress' | |
3094 else | |
3095 case ${MACOSX_DEPLOYMENT_TARGET} in | |
3096 10.[[012]]) | |
3097 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${w
l}-undefined ${wl}suppress' | |
3098 ;; | |
3099 10.*) | |
3100 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dyn
amic_lookup' | |
3101 ;; | |
3102 esac | |
3103 fi | |
3104 ;; | |
3105 esac | |
3106 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no | 3174 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
3107 _LT_AC_TAGVAR(hardcode_direct, $1)=no | 3175 _LT_AC_TAGVAR(hardcode_direct, $1)=no |
3108 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes | 3176 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes |
3109 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported | 3177 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
3110 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' | 3178 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' |
3111 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes | 3179 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
3112 | 3180 _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
3113 if test "$GXX" = yes ; then | 3181 if test "$GXX" = yes ; then |
3114 lt_int_apple_cc_single_mod=no | |
3115 output_verbose_link_cmd='echo' | 3182 output_verbose_link_cmd='echo' |
3116 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then | 3183 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag -
o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$ve
rstring $_lt_dar_single_mod${_lt_dsymutil}" |
3117 lt_int_apple_cc_single_mod=yes | 3184 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bund
le \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
| 3185 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols >
\$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_fl
ag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname
\$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
| 3186 _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols
> \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$li
b -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymut
il}" |
| 3187 if test "$lt_cv_apple_cc_single_mod" != "yes"; then |
| 3188 _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 \$ver
string${_lt_dsymutil}" |
| 3189 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols
> \$output_objdir/\${libname}-symbols.expsym~\$CC -r -keep_private_externs -nost
dlib -o \${lib}-master.o \$libobjs~\$CC -dynamiclib \$allow_undefined_flag -o \$
lib \${lib}-master.o \$deplibs \$compiler_flags -install_name \$rpath/\$soname \
$verstring${_lt_dar_export_syms}${_lt_dsymutil}" |
3118 fi | 3190 fi |
3119 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | |
3120 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib -single_module $allow_un
defined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$son
ame $verstring' | |
3121 else | |
3122 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdli
b -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${li
b}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
3123 fi | |
3124 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundl
e $libobjs $deplibs$compiler_flags' | |
3125 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't
exist in older darwin lds | |
3126 if test "X$lt_int_apple_cc_single_mod" = Xyes ; then | |
3127 _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 $d
eplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output
_objdir/${libname}-symbols.expsym ${lib}' | |
3128 else | |
3129 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[
]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols
.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -
dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flag
s -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-sy
mbols.expsym ${lib}' | |
3130 fi | |
3131 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[
]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.
expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_fla
gs~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
3132 else | 3191 else |
3133 case $cc_basename in | 3192 case $cc_basename in |
3134 xlc*) | 3193 xlc*) |
3135 output_verbose_link_cmd='echo' | 3194 output_verbose_link_cmd='echo' |
3136 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $a
llow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name
${wl}`echo $rpath/$soname` $xlcverstring' | 3195 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $a
llow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name
${wl}`echo $rpath/$soname` $xlcverstring' |
3137 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bun
dle $libobjs $deplibs$compiler_flags' | 3196 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bun
dle $libobjs $deplibs$compiler_flags' |
3138 # Don't fix this by using the ld -exported_symbols_list flag, it doesn
't exist in older darwin lds | 3197 # Don't fix this by using the ld -exported_symbols_list flag, it doesn
't exist in older darwin lds |
3139 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]
*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.e
xpsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs
$deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nm
edit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 3198 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]
*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.e
xpsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs
$deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nm
edit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
3140 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*
,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.ex
psym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags
~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 3199 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*
,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.ex
psym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags
~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
3141 ;; | 3200 ;; |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3372 esac | 3431 esac |
3373 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $de
plibs $compiler_flags ${wl}-soname $wl$soname -o $lib' | 3432 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $de
plibs $compiler_flags ${wl}-soname $wl$soname -o $lib' |
3374 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libo
bjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $
wl$export_symbols -o $lib' | 3433 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libo
bjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $
wl$export_symbols -o $lib' |
3375 ;; | 3434 ;; |
3376 esac | 3435 esac |
3377 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no | 3436 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
3378 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' | 3437 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' |
3379 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | 3438 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
3380 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$conveni
ence ${wl}--no-whole-archive' | 3439 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$conveni
ence ${wl}--no-whole-archive' |
3381 ;; | 3440 ;; |
3382 pgCC*) | 3441 pgCC* | pgcpp*) |
3383 # Portland Group C++ compiler | 3442 # Portland Group C++ compiler |
3384 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $
libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $
lib' | 3443 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $
libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $
lib' |
3385 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_ob
jects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$sona
me ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' | 3444 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_ob
jects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$sona
me ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' |
3386 | 3445 |
3387 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' | 3446 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' |
3388 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' | 3447 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' |
3389 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for con
v in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenien
ce,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' | 3448 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for con
v in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenien
ce,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' |
3390 ;; | 3449 ;; |
3391 cxx*) | 3450 cxx*) |
3392 # Compaq C++ | 3451 # Compaq C++ |
(...skipping 414 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3807 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld | 3866 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld |
3808 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld | 3867 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld |
3809 ])# AC_LIBTOOL_LANG_CXX_CONFIG | 3868 ])# AC_LIBTOOL_LANG_CXX_CONFIG |
3810 | 3869 |
3811 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) | 3870 # AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) |
3812 # ------------------------------------ | 3871 # ------------------------------------ |
3813 # Figure out "hidden" library dependencies from verbose | 3872 # Figure out "hidden" library dependencies from verbose |
3814 # compiler output when linking a shared library. | 3873 # compiler output when linking a shared library. |
3815 # Parse the compiler output and extract the necessary | 3874 # Parse the compiler output and extract the necessary |
3816 # objects, libraries and library flags. | 3875 # objects, libraries and library flags. |
3817 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ | 3876 AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], |
| 3877 [AC_REQUIRE([LT_AC_PROG_SED])dnl |
3818 dnl we can't use the lt_simple_compile_test_code here, | 3878 dnl we can't use the lt_simple_compile_test_code here, |
3819 dnl because it contains code intended for an executable, | 3879 dnl because it contains code intended for an executable, |
3820 dnl not a library. It's possible we should let each | 3880 dnl not a library. It's possible we should let each |
3821 dnl tag define a new lt_????_link_test_code variable, | 3881 dnl tag define a new lt_????_link_test_code variable, |
3822 dnl but it's only used here... | 3882 dnl but it's only used here... |
3823 ifelse([$1],[],[cat > conftest.$ac_ext <<EOF | 3883 ifelse([$1],[],[cat > conftest.$ac_ext <<EOF |
3824 int a; | 3884 int a; |
3825 void foo (void) { a = 0; } | 3885 void foo (void) { a = 0; } |
3826 EOF | 3886 EOF |
3827 ],[$1],[CXX],[cat > conftest.$ac_ext <<EOF | 3887 ],[$1],[CXX],[cat > conftest.$ac_ext <<EOF |
(...skipping 104 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3932 done | 3992 done |
3933 | 3993 |
3934 # Clean up. | 3994 # Clean up. |
3935 rm -f a.out a.exe | 3995 rm -f a.out a.exe |
3936 else | 3996 else |
3937 echo "libtool.m4: error: problem compiling $1 test program" | 3997 echo "libtool.m4: error: problem compiling $1 test program" |
3938 fi | 3998 fi |
3939 | 3999 |
3940 $rm -f confest.$objext | 4000 $rm -f confest.$objext |
3941 | 4001 |
| 4002 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= |
| 4003 if test -n "$_LT_AC_TAGVAR(compiler_lib_search_path, $1)"; then |
| 4004 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1)=`echo " ${_LT_AC_TAGVAR(compiler_l
ib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` |
| 4005 fi |
| 4006 |
3942 # PORTME: override above test on systems where it is broken | 4007 # PORTME: override above test on systems where it is broken |
3943 ifelse([$1],[CXX], | 4008 ifelse([$1],[CXX], |
3944 [case $host_os in | 4009 [case $host_os in |
3945 interix[[3-9]]*) | 4010 interix[[3-9]]*) |
3946 # Interix 3.5 installs completely hosed .la files for C++, so rather than | 4011 # Interix 3.5 installs completely hosed .la files for C++, so rather than |
3947 # hack all around it, let's just trust "g++" to DTRT. | 4012 # hack all around it, let's just trust "g++" to DTRT. |
3948 _LT_AC_TAGVAR(predep_objects,$1)= | 4013 _LT_AC_TAGVAR(predep_objects,$1)= |
3949 _LT_AC_TAGVAR(postdep_objects,$1)= | 4014 _LT_AC_TAGVAR(postdep_objects,$1)= |
3950 _LT_AC_TAGVAR(postdeps,$1)= | 4015 _LT_AC_TAGVAR(postdeps,$1)= |
3951 ;; | 4016 ;; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3988 # Sun compiler versions before 5.6, else PIC objects from an old | 4053 # Sun compiler versions before 5.6, else PIC objects from an old |
3989 # archive will be linked into the output, leading to subtle bugs. | 4054 # archive will be linked into the output, leading to subtle bugs. |
3990 if test "$solaris_use_stlport4" != yes; then | 4055 if test "$solaris_use_stlport4" != yes; then |
3991 _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' | 4056 _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' |
3992 fi | 4057 fi |
3993 ;; | 4058 ;; |
3994 esac | 4059 esac |
3995 ;; | 4060 ;; |
3996 esac | 4061 esac |
3997 ]) | 4062 ]) |
3998 | |
3999 case " $_LT_AC_TAGVAR(postdeps, $1) " in | 4063 case " $_LT_AC_TAGVAR(postdeps, $1) " in |
4000 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; | 4064 *" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; |
4001 esac | 4065 esac |
4002 ])# AC_LIBTOOL_POSTDEP_PREDEP | 4066 ])# AC_LIBTOOL_POSTDEP_PREDEP |
4003 | 4067 |
4004 # AC_LIBTOOL_LANG_F77_CONFIG | 4068 # AC_LIBTOOL_LANG_F77_CONFIG |
4005 # -------------------------- | 4069 # -------------------------- |
4006 # Ensure that the configuration vars for the C compiler are | 4070 # Ensure that the configuration vars for the C compiler are |
4007 # suitably defined. Those variables are subsequently used by | 4071 # suitably defined. Those variables are subsequently used by |
4008 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. | 4072 # AC_LIBTOOL_CONFIG to write the compiler configuration to `libtool'. |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4073 # On AIX, shared libraries and static libraries use the same namespace, and | 4137 # On AIX, shared libraries and static libraries use the same namespace, and |
4074 # are all built from PIC. | 4138 # are all built from PIC. |
4075 case $host_os in | 4139 case $host_os in |
4076 aix3*) | 4140 aix3*) |
4077 test "$enable_shared" = yes && enable_static=no | 4141 test "$enable_shared" = yes && enable_static=no |
4078 if test -n "$RANLIB"; then | 4142 if test -n "$RANLIB"; then |
4079 archive_cmds="$archive_cmds~\$RANLIB \$lib" | 4143 archive_cmds="$archive_cmds~\$RANLIB \$lib" |
4080 postinstall_cmds='$RANLIB $lib' | 4144 postinstall_cmds='$RANLIB $lib' |
4081 fi | 4145 fi |
4082 ;; | 4146 ;; |
4083 aix4* | aix5*) | 4147 aix[[4-9]]*) |
4084 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then | 4148 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then |
4085 test "$enable_shared" = yes && enable_static=no | 4149 test "$enable_shared" = yes && enable_static=no |
4086 fi | 4150 fi |
4087 ;; | 4151 ;; |
4088 esac | 4152 esac |
4089 AC_MSG_RESULT([$enable_shared]) | 4153 AC_MSG_RESULT([$enable_shared]) |
4090 | 4154 |
4091 AC_MSG_CHECKING([whether to build static libraries]) | 4155 AC_MSG_CHECKING([whether to build static libraries]) |
4092 # Make sure either enable_shared or enable_static is yes. | 4156 # Make sure either enable_shared or enable_static is yes. |
4093 test "$enable_shared" = yes || enable_static=yes | 4157 test "$enable_shared" = yes || enable_static=yes |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4250 _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ | 4314 _LT_AC_TAGVAR(thread_safe_flag_spec, $1) \ |
4251 _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ | 4315 _LT_AC_TAGVAR(whole_archive_flag_spec, $1) \ |
4252 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ | 4316 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ |
4253 _LT_AC_TAGVAR(old_archive_cmds, $1) \ | 4317 _LT_AC_TAGVAR(old_archive_cmds, $1) \ |
4254 _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ | 4318 _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ |
4255 _LT_AC_TAGVAR(predep_objects, $1) \ | 4319 _LT_AC_TAGVAR(predep_objects, $1) \ |
4256 _LT_AC_TAGVAR(postdep_objects, $1) \ | 4320 _LT_AC_TAGVAR(postdep_objects, $1) \ |
4257 _LT_AC_TAGVAR(predeps, $1) \ | 4321 _LT_AC_TAGVAR(predeps, $1) \ |
4258 _LT_AC_TAGVAR(postdeps, $1) \ | 4322 _LT_AC_TAGVAR(postdeps, $1) \ |
4259 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ | 4323 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ |
| 4324 _LT_AC_TAGVAR(compiler_lib_search_dirs, $1) \ |
4260 _LT_AC_TAGVAR(archive_cmds, $1) \ | 4325 _LT_AC_TAGVAR(archive_cmds, $1) \ |
4261 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ | 4326 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ |
4262 _LT_AC_TAGVAR(postinstall_cmds, $1) \ | 4327 _LT_AC_TAGVAR(postinstall_cmds, $1) \ |
4263 _LT_AC_TAGVAR(postuninstall_cmds, $1) \ | 4328 _LT_AC_TAGVAR(postuninstall_cmds, $1) \ |
4264 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ | 4329 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ |
4265 _LT_AC_TAGVAR(allow_undefined_flag, $1) \ | 4330 _LT_AC_TAGVAR(allow_undefined_flag, $1) \ |
4266 _LT_AC_TAGVAR(no_undefined_flag, $1) \ | 4331 _LT_AC_TAGVAR(no_undefined_flag, $1) \ |
4267 _LT_AC_TAGVAR(export_symbols_cmds, $1) \ | 4332 _LT_AC_TAGVAR(export_symbols_cmds, $1) \ |
4268 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ | 4333 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1) \ |
4269 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ | 4334 _LT_AC_TAGVAR(hardcode_libdir_flag_spec_ld, $1) \ |
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4312 [cfgfile="$ofile"]) | 4377 [cfgfile="$ofile"]) |
4313 | 4378 |
4314 cat <<__EOF__ >> "$cfgfile" | 4379 cat <<__EOF__ >> "$cfgfile" |
4315 ifelse([$1], [], | 4380 ifelse([$1], [], |
4316 [#! $SHELL | 4381 [#! $SHELL |
4317 | 4382 |
4318 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building sup
port services. | 4383 # `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building sup
port services. |
4319 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) | 4384 # Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) |
4320 # NOTE: Changes made to this file will be lost: look at ltmain.sh. | 4385 # NOTE: Changes made to this file will be lost: look at ltmain.sh. |
4321 # | 4386 # |
4322 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
, 2007 | 4387 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
, 2007, 2008 |
4323 # Free Software Foundation, Inc. | 4388 # Free Software Foundation, Inc. |
4324 # | 4389 # |
4325 # This file is part of GNU Libtool: | 4390 # This file is part of GNU Libtool: |
4326 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 | 4391 # Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 |
4327 # | 4392 # |
4328 # This program is free software; you can redistribute it and/or modify | 4393 # This program is free software; you can redistribute it and/or modify |
4329 # it under the terms of the GNU General Public License as published by | 4394 # it under the terms of the GNU General Public License as published by |
4330 # the Free Software Foundation; either version 2 of the License, or | 4395 # the Free Software Foundation; either version 2 of the License, or |
4331 # (at your option) any later version. | 4396 # (at your option) any later version. |
4332 # | 4397 # |
(...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4549 postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) | 4614 postdep_objects=$lt_[]_LT_AC_TAGVAR(postdep_objects, $1) |
4550 | 4615 |
4551 # Dependencies to place before the objects being linked to create a | 4616 # Dependencies to place before the objects being linked to create a |
4552 # shared library. | 4617 # shared library. |
4553 predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) | 4618 predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) |
4554 | 4619 |
4555 # Dependencies to place after the objects being linked to create a | 4620 # Dependencies to place after the objects being linked to create a |
4556 # shared library. | 4621 # shared library. |
4557 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) | 4622 postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) |
4558 | 4623 |
| 4624 # The directories searched by this compiler when creating a shared |
| 4625 # library |
| 4626 compiler_lib_search_dirs=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_dirs, $1) |
| 4627 |
4559 # The library search path used internally by the compiler when linking | 4628 # The library search path used internally by the compiler when linking |
4560 # a shared library. | 4629 # a shared library. |
4561 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) | 4630 compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) |
4562 | 4631 |
4563 # Method to check whether dependent libraries are shared objects. | 4632 # Method to check whether dependent libraries are shared objects. |
4564 deplibs_check_method=$lt_deplibs_check_method | 4633 deplibs_check_method=$lt_deplibs_check_method |
4565 | 4634 |
4566 # Command to use when deplibs_check_method == file_magic. | 4635 # Command to use when deplibs_check_method == file_magic. |
4567 file_magic_cmd=$lt_file_magic_cmd | 4636 file_magic_cmd=$lt_file_magic_cmd |
4568 | 4637 |
(...skipping 329 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4898 else | 4967 else |
4899 echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD | 4968 echo "cannot find nm_test_var in $nlist" >&AS_MESSAGE_LOG_FD |
4900 fi | 4969 fi |
4901 else | 4970 else |
4902 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD | 4971 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD |
4903 fi | 4972 fi |
4904 else | 4973 else |
4905 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD | 4974 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD |
4906 cat conftest.$ac_ext >&5 | 4975 cat conftest.$ac_ext >&5 |
4907 fi | 4976 fi |
4908 rm -f conftest* conftst* | 4977 rm -rf conftest* conftst* |
4909 | 4978 |
4910 # Do not use the global_symbol_pipe unless it works. | 4979 # Do not use the global_symbol_pipe unless it works. |
4911 if test "$pipe_works" = yes; then | 4980 if test "$pipe_works" = yes; then |
4912 break | 4981 break |
4913 else | 4982 else |
4914 lt_cv_sys_global_symbol_pipe= | 4983 lt_cv_sys_global_symbol_pipe= |
4915 fi | 4984 fi |
4916 done | 4985 done |
4917 ]) | 4986 ]) |
4918 if test -z "$lt_cv_sys_global_symbol_pipe"; then | 4987 if test -z "$lt_cv_sys_global_symbol_pipe"; then |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
4955 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-rest
ore-a4' | 5024 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-m68020 -resident32 -malways-rest
ore-a4' |
4956 ;; | 5025 ;; |
4957 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 5026 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
4958 # PIC is the default for these OSes. | 5027 # PIC is the default for these OSes. |
4959 ;; | 5028 ;; |
4960 mingw* | cygwin* | os2* | pw32*) | 5029 mingw* | cygwin* | os2* | pw32*) |
4961 # This hack is so that the source file can tell whether it is being | 5030 # This hack is so that the source file can tell whether it is being |
4962 # built for inclusion in a dll (and should export symbols for example). | 5031 # built for inclusion in a dll (and should export symbols for example). |
4963 # Although the cygwin gcc ignores -fPIC, still need this for old-style | 5032 # Although the cygwin gcc ignores -fPIC, still need this for old-style |
4964 # (--disable-auto-import) libraries | 5033 # (--disable-auto-import) libraries |
4965 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' | 5034 m4_if([$1], [GCJ], [], |
| 5035 » [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) |
4966 ;; | 5036 ;; |
4967 darwin* | rhapsody*) | 5037 darwin* | rhapsody*) |
4968 # PIC is the default on this platform | 5038 # PIC is the default on this platform |
4969 # Common symbols not allowed in MH_DYLIB files | 5039 # Common symbols not allowed in MH_DYLIB files |
4970 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' | 5040 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
4971 ;; | 5041 ;; |
4972 *djgpp*) | 5042 *djgpp*) |
4973 # DJGPP does not support shared libraries at all | 5043 # DJGPP does not support shared libraries at all |
4974 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= | 5044 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= |
4975 ;; | 5045 ;; |
(...skipping 16 matching lines...) Expand all Loading... |
4992 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | 5062 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
4993 ;; | 5063 ;; |
4994 esac | 5064 esac |
4995 ;; | 5065 ;; |
4996 *) | 5066 *) |
4997 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | 5067 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
4998 ;; | 5068 ;; |
4999 esac | 5069 esac |
5000 else | 5070 else |
5001 case $host_os in | 5071 case $host_os in |
5002 aix4* | aix5*) | 5072 aix[[4-9]]*) |
5003 # All AIX code is PIC. | 5073 # All AIX code is PIC. |
5004 if test "$host_cpu" = ia64; then | 5074 if test "$host_cpu" = ia64; then |
5005 # AIX 5 now supports IA64 processor | 5075 # AIX 5 now supports IA64 processor |
5006 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 5076 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
5007 else | 5077 else |
5008 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.ex
p' | 5078 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.ex
p' |
5009 fi | 5079 fi |
5010 ;; | 5080 ;; |
5011 chorus*) | 5081 chorus*) |
5012 case $cc_basename in | 5082 case $cc_basename in |
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5088 # KAI C++ Compiler | 5158 # KAI C++ Compiler |
5089 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' | 5159 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='--backend -Wl,' |
5090 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' | 5160 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' |
5091 ;; | 5161 ;; |
5092 icpc* | ecpc*) | 5162 icpc* | ecpc*) |
5093 # Intel C++ | 5163 # Intel C++ |
5094 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 5164 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
5095 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' | 5165 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' |
5096 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' | 5166 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' |
5097 ;; | 5167 ;; |
5098 » pgCC*) | 5168 » pgCC* | pgcpp*) |
5099 # Portland Group C++ compiler. | 5169 # Portland Group C++ compiler. |
5100 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 5170 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
5101 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' | 5171 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' |
5102 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' | 5172 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' |
5103 ;; | 5173 ;; |
5104 cxx*) | 5174 cxx*) |
5105 # Compaq C++ | 5175 # Compaq C++ |
5106 # Make sure the PIC flag is empty. It appears that all Alpha | 5176 # Make sure the PIC flag is empty. It appears that all Alpha |
5107 # Linux and Compaq Tru64 Unix objects are PIC. | 5177 # Linux and Compaq Tru64 Unix objects are PIC. |
5108 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= | 5178 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5239 | 5309 |
5240 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) | 5310 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) |
5241 # PIC is the default for these OSes. | 5311 # PIC is the default for these OSes. |
5242 ;; | 5312 ;; |
5243 | 5313 |
5244 mingw* | cygwin* | pw32* | os2*) | 5314 mingw* | cygwin* | pw32* | os2*) |
5245 # This hack is so that the source file can tell whether it is being | 5315 # This hack is so that the source file can tell whether it is being |
5246 # built for inclusion in a dll (and should export symbols for example). | 5316 # built for inclusion in a dll (and should export symbols for example). |
5247 # Although the cygwin gcc ignores -fPIC, still need this for old-style | 5317 # Although the cygwin gcc ignores -fPIC, still need this for old-style |
5248 # (--disable-auto-import) libraries | 5318 # (--disable-auto-import) libraries |
5249 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' | 5319 m4_if([$1], [GCJ], [], |
| 5320 » [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) |
5250 ;; | 5321 ;; |
5251 | 5322 |
5252 darwin* | rhapsody*) | 5323 darwin* | rhapsody*) |
5253 # PIC is the default on this platform | 5324 # PIC is the default on this platform |
5254 # Common symbols not allowed in MH_DYLIB files | 5325 # Common symbols not allowed in MH_DYLIB files |
5255 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' | 5326 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' |
5256 ;; | 5327 ;; |
5257 | 5328 |
5258 interix[[3-9]]*) | 5329 interix[[3-9]]*) |
5259 # Interix 3.x gcc -fpic/-fPIC options generate broken code. | 5330 # Interix 3.x gcc -fpic/-fPIC options generate broken code. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5309 xlc*) | 5380 xlc*) |
5310 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' | 5381 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-qnocommon' |
5311 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 5382 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
5312 ;; | 5383 ;; |
5313 esac | 5384 esac |
5314 ;; | 5385 ;; |
5315 | 5386 |
5316 mingw* | cygwin* | pw32* | os2*) | 5387 mingw* | cygwin* | pw32* | os2*) |
5317 # This hack is so that the source file can tell whether it is being | 5388 # This hack is so that the source file can tell whether it is being |
5318 # built for inclusion in a dll (and should export symbols for example). | 5389 # built for inclusion in a dll (and should export symbols for example). |
5319 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT' | 5390 m4_if([$1], [GCJ], [], |
| 5391 » [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT']) |
5320 ;; | 5392 ;; |
5321 | 5393 |
5322 hpux9* | hpux10* | hpux11*) | 5394 hpux9* | hpux10* | hpux11*) |
5323 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' | 5395 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' |
5324 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but | 5396 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but |
5325 # not for PA HP-UX. | 5397 # not for PA HP-UX. |
5326 case $host_cpu in | 5398 case $host_cpu in |
5327 hppa*64*|ia64*) | 5399 hppa*64*|ia64*) |
5328 # +Z the default | 5400 # +Z the default |
5329 ;; | 5401 ;; |
(...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5446 esac | 5518 esac |
5447 fi | 5519 fi |
5448 ]) | 5520 ]) |
5449 AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) | 5521 AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) |
5450 | 5522 |
5451 # | 5523 # |
5452 # Check to make sure the PIC flag actually works. | 5524 # Check to make sure the PIC flag actually works. |
5453 # | 5525 # |
5454 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then | 5526 if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then |
5455 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compi
ler_pic, $1) works], | 5527 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compi
ler_pic, $1) works], |
5456 _LT_AC_TAGVAR(lt_prog_compiler_pic_works, $1), | 5528 _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1), |
5457 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1
],[CXX],[ -DPIC],[])])], [], | 5529 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1
],[CXX],[ -DPIC],[])])], [], |
5458 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in | 5530 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in |
5459 "" | " "*) ;; | 5531 "" | " "*) ;; |
5460 *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compile
r_pic, $1)" ;; | 5532 *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compile
r_pic, $1)" ;; |
5461 esac], | 5533 esac], |
5462 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= | 5534 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= |
5463 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) | 5535 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) |
5464 fi | 5536 fi |
5465 case $host_os in | 5537 case $host_os in |
5466 # For platforms which do not support PIC, -DPIC is meaningless: | 5538 # For platforms which do not support PIC, -DPIC is meaningless: |
5467 *djgpp*) | 5539 *djgpp*) |
5468 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= | 5540 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= |
5469 ;; | 5541 ;; |
5470 *) | 5542 *) |
5471 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic
, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" | 5543 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)="$_LT_AC_TAGVAR(lt_prog_compiler_pic
, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])" |
5472 ;; | 5544 ;; |
5473 esac | 5545 esac |
5474 | 5546 |
5475 # | 5547 # |
5476 # Check to make sure the static flag actually works. | 5548 # Check to make sure the static flag actually works. |
5477 # | 5549 # |
5478 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAG
VAR(lt_prog_compiler_static, $1)\" | 5550 wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAG
VAR(lt_prog_compiler_static, $1)\" |
5479 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], | 5551 AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], |
5480 _LT_AC_TAGVAR(lt_prog_compiler_static_works, $1), | 5552 _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1), |
5481 $lt_tmp_static_flag, | 5553 $lt_tmp_static_flag, |
5482 [], | 5554 [], |
5483 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) | 5555 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) |
5484 ]) | 5556 ]) |
5485 | 5557 |
5486 | 5558 |
5487 # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) | 5559 # AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) |
5488 # ------------------------------------ | 5560 # ------------------------------------ |
5489 # See if the linker supports building shared libraries. | 5561 # See if the linker supports building shared libraries. |
5490 AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], | 5562 AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], |
5491 [AC_REQUIRE([LT_AC_PROG_SED])dnl | 5563 [AC_REQUIRE([LT_AC_PROG_SED])dnl |
5492 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) | 5564 AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) |
5493 ifelse([$1],[CXX],[ | 5565 ifelse([$1],[CXX],[ |
5494 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sy
mbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 5566 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sy
mbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
5495 case $host_os in | 5567 case $host_os in |
5496 aix4* | aix5*) | 5568 aix[[4-9]]*) |
5497 # If we're using GNU nm, then we don't want the "-C" option. | 5569 # If we're using GNU nm, then we don't want the "-C" option. |
5498 # -C means demangle to AIX nm, but means don't demangle with GNU nm | 5570 # -C means demangle to AIX nm, but means don't demangle with GNU nm |
5499 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 5571 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
5500 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | a
wk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\
[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' | 5572 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | a
wk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\
[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' |
5501 else | 5573 else |
5502 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience |
awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](
\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' | 5574 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenience |
awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](
\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' |
5503 fi | 5575 fi |
5504 ;; | 5576 ;; |
5505 pw32*) | 5577 pw32*) |
5506 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" | 5578 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" |
5507 ;; | 5579 ;; |
5508 cygwin* | mingw*) | 5580 cygwin* | mingw*) |
5509 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_
symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[
]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]]
[[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' | 5581 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_
symbol_pipe | $SED -e '\''/^[[BCDGRS]][[ ]]/s/.*[[ ]]\([[^ ]]*\)/\1 DATA/;/^.*[[
]]__nm__/s/^.*[[ ]]__nm__\([[^ ]]*\)[[ ]][[^ ]]*/\1 DATA/;/^I[[ ]]/d;/^[[AITW]]
[[ ]]/s/.*[[ ]]//'\'' | sort | uniq > $export_symbols' |
5510 ;; | 5582 ;; |
5511 *) | 5583 *) |
5512 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_
symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 5584 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_
symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
5513 ;; | 5585 ;; |
5514 esac | 5586 esac |
| 5587 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] |
5515 ],[ | 5588 ],[ |
5516 runpath_var= | 5589 runpath_var= |
5517 _LT_AC_TAGVAR(allow_undefined_flag, $1)= | 5590 _LT_AC_TAGVAR(allow_undefined_flag, $1)= |
5518 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no | 5591 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no |
5519 _LT_AC_TAGVAR(archive_cmds, $1)= | 5592 _LT_AC_TAGVAR(archive_cmds, $1)= |
5520 _LT_AC_TAGVAR(archive_expsym_cmds, $1)= | 5593 _LT_AC_TAGVAR(archive_expsym_cmds, $1)= |
5521 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= | 5594 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= |
5522 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= | 5595 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= |
5523 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= | 5596 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)= |
5524 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= | 5597 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)= |
(...skipping 10 matching lines...) Expand all Loading... |
5535 _LT_AC_TAGVAR(module_expsym_cmds, $1)= | 5608 _LT_AC_TAGVAR(module_expsym_cmds, $1)= |
5536 _LT_AC_TAGVAR(always_export_symbols, $1)=no | 5609 _LT_AC_TAGVAR(always_export_symbols, $1)=no |
5537 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sy
mbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' | 5610 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_sy
mbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' |
5538 # include_expsyms should be a list of space-separated symbols to be *always* | 5611 # include_expsyms should be a list of space-separated symbols to be *always* |
5539 # included in the symbol list | 5612 # included in the symbol list |
5540 _LT_AC_TAGVAR(include_expsyms, $1)= | 5613 _LT_AC_TAGVAR(include_expsyms, $1)= |
5541 # exclude_expsyms can be an extended regexp of symbols to exclude | 5614 # exclude_expsyms can be an extended regexp of symbols to exclude |
5542 # it will be wrapped by ` (' and `)$', so one must not match beginning or | 5615 # it will be wrapped by ` (' and `)$', so one must not match beginning or |
5543 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', | 5616 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', |
5544 # as well as any symbol that contains `d'. | 5617 # as well as any symbol that contains `d'. |
5545 _LT_AC_TAGVAR(exclude_expsyms, $1)="_GLOBAL_OFFSET_TABLE_" | 5618 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] |
5546 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out | 5619 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out |
5547 # platforms (ab)use it in PIC code, but their linkers get confused if | 5620 # platforms (ab)use it in PIC code, but their linkers get confused if |
5548 # the symbol is explicitly referenced. Since portable code cannot | 5621 # the symbol is explicitly referenced. Since portable code cannot |
5549 # rely on this symbol name, it's probably fine to never include it in | 5622 # rely on this symbol name, it's probably fine to never include it in |
5550 # preloaded symbol tables. | 5623 # preloaded symbol tables. |
| 5624 # Exclude shared library initialization/finalization symbols. |
| 5625 dnl Note also adjust exclude_expsyms for C++ above. |
5551 extract_expsyms_cmds= | 5626 extract_expsyms_cmds= |
5552 # Just being paranoid about ensuring that cc_basename is set. | 5627 # Just being paranoid about ensuring that cc_basename is set. |
5553 _LT_CC_BASENAME([$compiler]) | 5628 _LT_CC_BASENAME([$compiler]) |
5554 case $host_os in | 5629 case $host_os in |
5555 cygwin* | mingw* | pw32*) | 5630 cygwin* | mingw* | pw32*) |
5556 # FIXME: the MSVC++ port hasn't been tested in a loooong time | 5631 # FIXME: the MSVC++ port hasn't been tested in a loooong time |
5557 # When not using gcc, we currently assume that we are using | 5632 # When not using gcc, we currently assume that we are using |
5558 # Microsoft Visual C++. | 5633 # Microsoft Visual C++. |
5559 if test "$GCC" != yes; then | 5634 if test "$GCC" != yes; then |
5560 with_gnu_ld=no | 5635 with_gnu_ld=no |
(...skipping 29 matching lines...) Expand all Loading... |
5590 case `$LD -v 2>/dev/null` in | 5665 case `$LD -v 2>/dev/null` in |
5591 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 | 5666 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11 |
5592 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... | 5667 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... |
5593 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... | 5668 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... |
5594 *\ 2.11.*) ;; # other 2.11 versions | 5669 *\ 2.11.*) ;; # other 2.11 versions |
5595 *) supports_anon_versioning=yes ;; | 5670 *) supports_anon_versioning=yes ;; |
5596 esac | 5671 esac |
5597 | 5672 |
5598 # See if GNU ld supports shared libraries. | 5673 # See if GNU ld supports shared libraries. |
5599 case $host_os in | 5674 case $host_os in |
5600 aix3* | aix4* | aix5*) | 5675 aix[[3-9]]*) |
5601 # On AIX/PPC, the GNU linker is very broken | 5676 # On AIX/PPC, the GNU linker is very broken |
5602 if test "$host_cpu" != ia64; then | 5677 if test "$host_cpu" != ia64; then |
5603 _LT_AC_TAGVAR(ld_shlibs, $1)=no | 5678 _LT_AC_TAGVAR(ld_shlibs, $1)=no |
5604 cat <<EOF 1>&2 | 5679 cat <<EOF 1>&2 |
5605 | 5680 |
5606 *** Warning: the GNU linker, at least up to release 2.9.1, is reported | 5681 *** Warning: the GNU linker, at least up to release 2.9.1, is reported |
5607 *** to be unable to reliably create shared libraries on AIX. | 5682 *** to be unable to reliably create shared libraries on AIX. |
5608 *** Therefore, libtool is disabling shared libraries support. If you | 5683 *** Therefore, libtool is disabling shared libraries support. If you |
5609 *** really care for shared libraries, you may want to modify your PATH | 5684 *** really care for shared libraries, you may want to modify your PATH |
5610 *** so that a non-GNU linker is found, and then restart. | 5685 *** so that a non-GNU linker is found, and then restart. |
(...skipping 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5809 # Note: this linker hardcodes the directories in LIBPATH if there | 5884 # Note: this linker hardcodes the directories in LIBPATH if there |
5810 # are no directories specified by -L. | 5885 # are no directories specified by -L. |
5811 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes | 5886 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes |
5812 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then | 5887 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then |
5813 # Neither direct hardcoding nor static linking is supported with a | 5888 # Neither direct hardcoding nor static linking is supported with a |
5814 # broken collect2. | 5889 # broken collect2. |
5815 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported | 5890 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported |
5816 fi | 5891 fi |
5817 ;; | 5892 ;; |
5818 | 5893 |
5819 aix4* | aix5*) | 5894 aix[[4-9]]*) |
5820 if test "$host_cpu" = ia64; then | 5895 if test "$host_cpu" = ia64; then |
5821 # On IA64, the linker does run time linking by default, so we don't | 5896 # On IA64, the linker does run time linking by default, so we don't |
5822 # have to do anything special. | 5897 # have to do anything special. |
5823 aix_use_runtimelinking=no | 5898 aix_use_runtimelinking=no |
5824 exp_sym_flag='-Bexport' | 5899 exp_sym_flag='-Bexport' |
5825 no_entry_flag="" | 5900 no_entry_flag="" |
5826 else | 5901 else |
5827 # If we're using GNU nm, then we don't want the "-C" option. | 5902 # If we're using GNU nm, then we don't want the "-C" option. |
5828 # -C means demangle to AIX nm, but means don't demangle with GNU nm | 5903 # -C means demangle to AIX nm, but means don't demangle with GNU nm |
5829 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then | 5904 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then |
5830 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience
| awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([subst
r](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' | 5905 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience
| awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([subst
r](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' |
5831 else | 5906 else |
5832 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenienc
e | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([subs
tr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' | 5907 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -BCpg $libobjs $convenienc
e | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([subs
tr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' |
5833 fi | 5908 fi |
5834 aix_use_runtimelinking=no | 5909 aix_use_runtimelinking=no |
5835 | 5910 |
5836 # Test if we are trying to use run time linking or normal | 5911 # Test if we are trying to use run time linking or normal |
5837 # AIX style linking. If -brtl is somewhere in LDFLAGS, we | 5912 # AIX style linking. If -brtl is somewhere in LDFLAGS, we |
5838 # need to do runtime linking. | 5913 # need to do runtime linking. |
5839 » case $host_os in aix4.[[23]]|aix4.[[23]].*|aix5*) | 5914 » case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*) |
5840 for ld_flag in $LDFLAGS; do | 5915 for ld_flag in $LDFLAGS; do |
5841 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then | 5916 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then |
5842 aix_use_runtimelinking=yes | 5917 aix_use_runtimelinking=yes |
5843 break | 5918 break |
5844 fi | 5919 fi |
5845 done | 5920 done |
5846 ;; | 5921 ;; |
5847 esac | 5922 esac |
5848 | 5923 |
5849 exp_sym_flag='-bexport' | 5924 exp_sym_flag='-bexport' |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
5962 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `ech
o "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' | 6037 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `ech
o "$deplibs" | $SED -e '\''s/ -lc$//'\''` -link -dll~linknames=' |
5963 # The linker will automatically build a .lib file if we build a DLL. | 6038 # The linker will automatically build a .lib file if we build a DLL. |
5964 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' | 6039 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)='true' |
5965 # FIXME: Should let the user specify the lib program. | 6040 # FIXME: Should let the user specify the lib program. |
5966 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' | 6041 _LT_AC_TAGVAR(old_archive_cmds, $1)='lib -OUT:$oldlib$oldobjs$old_deplibs' |
5967 _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' | 6042 _LT_AC_TAGVAR(fix_srcfile_path, $1)='`cygpath -w "$srcfile"`' |
5968 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes | 6043 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=yes |
5969 ;; | 6044 ;; |
5970 | 6045 |
5971 darwin* | rhapsody*) | 6046 darwin* | rhapsody*) |
5972 case $host_os in | 6047 _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" |
5973 rhapsody* | darwin1.[[012]]) | |
5974 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}suppress' | |
5975 ;; | |
5976 *) # Darwin 1.3 on | |
5977 if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then | |
5978 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-u
ndefined ${wl}suppress' | |
5979 else | |
5980 case ${MACOSX_DEPLOYMENT_TARGET} in | |
5981 10.[[012]]) | |
5982 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${w
l}-undefined ${wl}suppress' | |
5983 ;; | |
5984 10.*) | |
5985 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dyn
amic_lookup' | |
5986 ;; | |
5987 esac | |
5988 fi | |
5989 ;; | |
5990 esac | |
5991 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no | 6048 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no |
5992 _LT_AC_TAGVAR(hardcode_direct, $1)=no | 6049 _LT_AC_TAGVAR(hardcode_direct, $1)=no |
5993 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes | 6050 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes |
5994 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported | 6051 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported |
5995 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' | 6052 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' |
5996 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes | 6053 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
5997 if test "$GCC" = yes ; then | 6054 if test "$GCC" = yes ; then |
5998 output_verbose_link_cmd='echo' | 6055 output_verbose_link_cmd='echo' |
5999 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -dynamiclib $allow_undefined_flag -
o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring
' | 6056 _LT_AC_TAGVAR(archive_cmds, $1)="\$CC -dynamiclib \$allow_undefined_flag
-o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$
verstring $_lt_dar_single_mod${_lt_dsymutil}" |
6000 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle
$libobjs $deplibs$compiler_flags' | 6057 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bu
ndle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" |
6001 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't e
xist in older darwin lds | 6058 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed 's,^,_,' < \$export_symbols
> \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_
flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$sonam
e \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" |
6002 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,,"
-e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsy
m~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flag
s -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-sy
mbols.expsym ${lib}' | 6059 _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbol
s > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$
lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsym
util}" |
6003 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,,"
-e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym
~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nme
dit -s $output_objdir/${libname}-symbols.expsym ${lib}' | |
6004 else | 6060 else |
6005 case $cc_basename in | 6061 case $cc_basename in |
6006 xlc*) | 6062 xlc*) |
6007 output_verbose_link_cmd='echo' | 6063 output_verbose_link_cmd='echo' |
6008 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -
o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$s
oname` $xlcverstring' | 6064 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -
o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$s
oname` $xlcverstring' |
6009 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bund
le $libobjs $deplibs$compiler_flags' | 6065 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bund
le $libobjs $deplibs$compiler_flags' |
6010 # Don't fix this by using the ld -exported_symbols_list flag, it doesn
't exist in older darwin lds | 6066 # Don't fix this by using the ld -exported_symbols_list flag, it doesn
't exist in older darwin lds |
6011 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*
,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.ex
psym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_fl
ags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdi
r/${libname}-symbols.expsym ${lib}' | 6067 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*
,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.ex
psym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_fl
ags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdi
r/${libname}-symbols.expsym ${lib}' |
6012 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*
,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.ex
psym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags
~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 6068 _LT_AC_TAGVAR(module_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*
,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.ex
psym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags
~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' |
6013 ;; | 6069 ;; |
(...skipping 560 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6574 lt_cv_path_SED=$lt_ac_sed | 6630 lt_cv_path_SED=$lt_ac_sed |
6575 fi | 6631 fi |
6576 done | 6632 done |
6577 done | 6633 done |
6578 ]) | 6634 ]) |
6579 SED=$lt_cv_path_SED | 6635 SED=$lt_cv_path_SED |
6580 AC_SUBST([SED]) | 6636 AC_SUBST([SED]) |
6581 AC_MSG_RESULT([$SED]) | 6637 AC_MSG_RESULT([$SED]) |
6582 ]) | 6638 ]) |
6583 | 6639 |
6584 # Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. | 6640 # Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. |
6585 # | 6641 # |
6586 # This file is free software; the Free Software Foundation | 6642 # This file is free software; the Free Software Foundation |
6587 # gives unlimited permission to copy and/or distribute it, | 6643 # gives unlimited permission to copy and/or distribute it, |
6588 # with or without modifications, as long as this notice is preserved. | 6644 # with or without modifications, as long as this notice is preserved. |
6589 | 6645 |
6590 # AM_AUTOMAKE_VERSION(VERSION) | 6646 # AM_AUTOMAKE_VERSION(VERSION) |
6591 # ---------------------------- | 6647 # ---------------------------- |
6592 # Automake X.Y traces this macro to ensure aclocal.m4 has been | 6648 # Automake X.Y traces this macro to ensure aclocal.m4 has been |
6593 # generated from the m4 files accompanying Automake X.Y. | 6649 # generated from the m4 files accompanying Automake X.Y. |
6594 # (This private macro should not be called outside this file.) | 6650 # (This private macro should not be called outside this file.) |
6595 AC_DEFUN([AM_AUTOMAKE_VERSION], | 6651 AC_DEFUN([AM_AUTOMAKE_VERSION], |
6596 [am__api_version='1.10' | 6652 [am__api_version='1.10' |
6597 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to | 6653 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to |
6598 dnl require some minimum version. Point them to the right macro. | 6654 dnl require some minimum version. Point them to the right macro. |
6599 m4_if([$1], [1.10], [], | 6655 m4_if([$1], [1.10.1], [], |
6600 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl | 6656 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl |
6601 ]) | 6657 ]) |
6602 | 6658 |
6603 # _AM_AUTOCONF_VERSION(VERSION) | 6659 # _AM_AUTOCONF_VERSION(VERSION) |
6604 # ----------------------------- | 6660 # ----------------------------- |
6605 # aclocal traces this macro to find the Autoconf version. | 6661 # aclocal traces this macro to find the Autoconf version. |
6606 # This is a private macro too. Using m4_define simplifies | 6662 # This is a private macro too. Using m4_define simplifies |
6607 # the logic in aclocal, which can simply ignore this definition. | 6663 # the logic in aclocal, which can simply ignore this definition. |
6608 m4_define([_AM_AUTOCONF_VERSION], []) | 6664 m4_define([_AM_AUTOCONF_VERSION], []) |
6609 | 6665 |
6610 # AM_SET_CURRENT_AUTOMAKE_VERSION | 6666 # AM_SET_CURRENT_AUTOMAKE_VERSION |
6611 # ------------------------------- | 6667 # ------------------------------- |
6612 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. | 6668 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. |
6613 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. | 6669 # This function is AC_REQUIREd by AC_INIT_AUTOMAKE. |
6614 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | 6670 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
6615 [AM_AUTOMAKE_VERSION([1.10])dnl | 6671 [AM_AUTOMAKE_VERSION([1.10.1])dnl |
6616 _AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) | 6672 m4_ifndef([AC_AUTOCONF_VERSION], |
| 6673 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl |
| 6674 _AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) |
6617 | 6675 |
6618 # AM_AUX_DIR_EXPAND -*- Autoconf -*- | 6676 # AM_AUX_DIR_EXPAND -*- Autoconf -*- |
6619 | 6677 |
6620 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | 6678 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
6621 # | 6679 # |
6622 # This file is free software; the Free Software Foundation | 6680 # This file is free software; the Free Software Foundation |
6623 # gives unlimited permission to copy and/or distribute it, | 6681 # gives unlimited permission to copy and/or distribute it, |
6624 # with or without modifications, as long as this notice is preserved. | 6682 # with or without modifications, as long as this notice is preserved. |
6625 | 6683 |
6626 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets | 6684 # For projects using AC_CONFIG_AUX_DIR([foo]), Autoconf sets |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6878 [for mf in $CONFIG_FILES; do | 6936 [for mf in $CONFIG_FILES; do |
6879 # Strip MF so we end up with the name of the file. | 6937 # Strip MF so we end up with the name of the file. |
6880 mf=`echo "$mf" | sed -e 's/:.*$//'` | 6938 mf=`echo "$mf" | sed -e 's/:.*$//'` |
6881 # Check whether this is an Automake generated Makefile or not. | 6939 # Check whether this is an Automake generated Makefile or not. |
6882 # We used to match only the files named `Makefile.in', but | 6940 # We used to match only the files named `Makefile.in', but |
6883 # some people rename them; so instead we look at the file content. | 6941 # some people rename them; so instead we look at the file content. |
6884 # Grep'ing the first line is not enough: some people post-process | 6942 # Grep'ing the first line is not enough: some people post-process |
6885 # each Makefile.in and add a new line on top of each file to say so. | 6943 # each Makefile.in and add a new line on top of each file to say so. |
6886 # Grep'ing the whole file is not good either: AIX grep has a line | 6944 # Grep'ing the whole file is not good either: AIX grep has a line |
6887 # limit of 2048, but all sed's we know have understand at least 4000. | 6945 # limit of 2048, but all sed's we know have understand at least 4000. |
6888 if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then | 6946 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1;
then |
6889 dirpart=`AS_DIRNAME("$mf")` | 6947 dirpart=`AS_DIRNAME("$mf")` |
6890 else | 6948 else |
6891 continue | 6949 continue |
6892 fi | 6950 fi |
6893 # Extract the definition of DEPDIR, am__include, and am__quote | 6951 # Extract the definition of DEPDIR, am__include, and am__quote |
6894 # from the Makefile without running `make'. | 6952 # from the Makefile without running `make'. |
6895 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` | 6953 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` |
6896 test -z "$DEPDIR" && continue | 6954 test -z "$DEPDIR" && continue |
6897 am__include=`sed -n 's/^am__include = //p' < "$mf"` | 6955 am__include=`sed -n 's/^am__include = //p' < "$mf"` |
6898 test -z "am__include" && continue | 6956 test -z "am__include" && continue |
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
6938 # with or without modifications, as long as this notice is preserved. | 6996 # with or without modifications, as long as this notice is preserved. |
6939 | 6997 |
6940 # serial 8 | 6998 # serial 8 |
6941 | 6999 |
6942 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. | 7000 # AM_CONFIG_HEADER is obsolete. It has been replaced by AC_CONFIG_HEADERS. |
6943 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) | 7001 AU_DEFUN([AM_CONFIG_HEADER], [AC_CONFIG_HEADERS($@)]) |
6944 | 7002 |
6945 # Do all the work for Automake. -*- Autoconf -*- | 7003 # Do all the work for Automake. -*- Autoconf -*- |
6946 | 7004 |
6947 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 7005 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
6948 # 2005, 2006 Free Software Foundation, Inc. | 7006 # 2005, 2006, 2008 Free Software Foundation, Inc. |
6949 # | 7007 # |
6950 # This file is free software; the Free Software Foundation | 7008 # This file is free software; the Free Software Foundation |
6951 # gives unlimited permission to copy and/or distribute it, | 7009 # gives unlimited permission to copy and/or distribute it, |
6952 # with or without modifications, as long as this notice is preserved. | 7010 # with or without modifications, as long as this notice is preserved. |
6953 | 7011 |
6954 # serial 12 | 7012 # serial 13 |
6955 | 7013 |
6956 # This macro actually does too much. Some checks are only needed if | 7014 # This macro actually does too much. Some checks are only needed if |
6957 # your package does certain things. But this isn't really a big deal. | 7015 # your package does certain things. But this isn't really a big deal. |
6958 | 7016 |
6959 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) | 7017 # AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) |
6960 # AM_INIT_AUTOMAKE([OPTIONS]) | 7018 # AM_INIT_AUTOMAKE([OPTIONS]) |
6961 # ----------------------------------------------- | 7019 # ----------------------------------------------- |
6962 # The call with PACKAGE and VERSION arguments is the old style | 7020 # The call with PACKAGE and VERSION arguments is the old style |
6963 # call (pre autoconf-2.50), which is being phased out. PACKAGE | 7021 # call (pre autoconf-2.50), which is being phased out. PACKAGE |
6964 # and VERSION should now be passed to AC_INIT and removed from | 7022 # and VERSION should now be passed to AC_INIT and removed from |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7049 | 7107 |
7050 # When config.status generates a header, we must update the stamp-h file. | 7108 # When config.status generates a header, we must update the stamp-h file. |
7051 # This file resides in the same directory as the config header | 7109 # This file resides in the same directory as the config header |
7052 # that is generated. The stamp files are numbered to have different names. | 7110 # that is generated. The stamp files are numbered to have different names. |
7053 | 7111 |
7054 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the | 7112 # Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the |
7055 # loop where config.status creates the headers, so we can generate | 7113 # loop where config.status creates the headers, so we can generate |
7056 # our stamp files there. | 7114 # our stamp files there. |
7057 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], | 7115 AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], |
7058 [# Compute $1's index in $config_headers. | 7116 [# Compute $1's index in $config_headers. |
| 7117 _am_arg=$1 |
7059 _am_stamp_count=1 | 7118 _am_stamp_count=1 |
7060 for _am_header in $config_headers :; do | 7119 for _am_header in $config_headers :; do |
7061 case $_am_header in | 7120 case $_am_header in |
7062 $1 | $1:* ) | 7121 $_am_arg | $_am_arg:* ) |
7063 break ;; | 7122 break ;; |
7064 * ) | 7123 * ) |
7065 _am_stamp_count=`expr $_am_stamp_count + 1` ;; | 7124 _am_stamp_count=`expr $_am_stamp_count + 1` ;; |
7066 esac | 7125 esac |
7067 done | 7126 done |
7068 echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) | 7127 echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_co
unt]) |
7069 | 7128 |
7070 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. | 7129 # Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. |
7071 # | 7130 # |
7072 # This file is free software; the Free Software Foundation | 7131 # This file is free software; the Free Software Foundation |
7073 # gives unlimited permission to copy and/or distribute it, | 7132 # gives unlimited permission to copy and/or distribute it, |
7074 # with or without modifications, as long as this notice is preserved. | 7133 # with or without modifications, as long as this notice is preserved. |
7075 | 7134 |
7076 # AM_PROG_INSTALL_SH | 7135 # AM_PROG_INSTALL_SH |
7077 # ------------------ | 7136 # ------------------ |
7078 # Define $install_sh. | 7137 # Define $install_sh. |
(...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7330 AC_SUBST([INSTALL_STRIP_PROGRAM])]) | 7389 AC_SUBST([INSTALL_STRIP_PROGRAM])]) |
7331 | 7390 |
7332 # Copyright (C) 2006 Free Software Foundation, Inc. | 7391 # Copyright (C) 2006 Free Software Foundation, Inc. |
7333 # | 7392 # |
7334 # This file is free software; the Free Software Foundation | 7393 # This file is free software; the Free Software Foundation |
7335 # gives unlimited permission to copy and/or distribute it, | 7394 # gives unlimited permission to copy and/or distribute it, |
7336 # with or without modifications, as long as this notice is preserved. | 7395 # with or without modifications, as long as this notice is preserved. |
7337 | 7396 |
7338 # _AM_SUBST_NOTMAKE(VARIABLE) | 7397 # _AM_SUBST_NOTMAKE(VARIABLE) |
7339 # --------------------------- | 7398 # --------------------------- |
7340 # Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. | 7399 # Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
7341 # This macro is traced by Automake. | 7400 # This macro is traced by Automake. |
7342 AC_DEFUN([_AM_SUBST_NOTMAKE]) | 7401 AC_DEFUN([_AM_SUBST_NOTMAKE]) |
7343 | 7402 |
7344 # Check how to create a tarball. -*- Autoconf -*- | 7403 # Check how to create a tarball. -*- Autoconf -*- |
7345 | 7404 |
7346 # Copyright (C) 2004, 2005 Free Software Foundation, Inc. | 7405 # Copyright (C) 2004, 2005 Free Software Foundation, Inc. |
7347 # | 7406 # |
7348 # This file is free software; the Free Software Foundation | 7407 # This file is free software; the Free Software Foundation |
7349 # gives unlimited permission to copy and/or distribute it, | 7408 # gives unlimited permission to copy and/or distribute it, |
7350 # with or without modifications, as long as this notice is preserved. | 7409 # with or without modifications, as long as this notice is preserved. |
(...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
7430 fi | 7489 fi |
7431 done | 7490 done |
7432 rm -rf conftest.dir | 7491 rm -rf conftest.dir |
7433 | 7492 |
7434 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) | 7493 AC_CACHE_VAL([am_cv_prog_tar_$1], [am_cv_prog_tar_$1=$_am_tool]) |
7435 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) | 7494 AC_MSG_RESULT([$am_cv_prog_tar_$1])]) |
7436 AC_SUBST([am__tar]) | 7495 AC_SUBST([am__tar]) |
7437 AC_SUBST([am__untar]) | 7496 AC_SUBST([am__untar]) |
7438 ]) # _AM_PROG_TAR | 7497 ]) # _AM_PROG_TAR |
7439 | 7498 |
OLD | NEW |