aclocal.m4 (173144) | aclocal.m4 (191273) |
---|---|
1# generated automatically by aclocal 1.10 -*- Autoconf -*- | 1# generated automatically by aclocal 1.10.1 -*- Autoconf -*- |
2 3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 2 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 6# gives unlimited permission to copy and/or distribute it, 7# with or without modifications, as long as this notice is preserved. 8 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 11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12# PARTICULAR PURPOSE. 13 | 5# This file is free software; the Free Software Foundation 6# gives unlimited permission to copy and/or distribute it, 7# with or without modifications, as long as this notice is preserved. 8 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 11# even the implied warranty of MERCHANTABILITY or FITNESS FOR A 12# PARTICULAR PURPOSE. 13 |
14m4_if(m4_PACKAGE_VERSION, [2.61],, 15[m4_fatal([this file was generated for autoconf 2.61. 16You have another version of autoconf. If you want to use that, 17you should regenerate the build system entirely.], [63])]) | 14m4_ifndef([AC_AUTOCONF_VERSION], 15 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 16m4_if(AC_AUTOCONF_VERSION, [2.62],, 17[m4_warning([this file was generated for autoconf 2.62. 18You have another version of autoconf. It may work, but is not guaranteed to. 19If you have problems, you may need to regenerate the build system entirely. 20To do so, use the procedure documented by the package, typically `autoreconf'.])]) |
18 19# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 20 | 21 22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*- 23 |
21# serial 51 AC_PROG_LIBTOOL | 24# serial 52 AC_PROG_LIBTOOL |
22 23 24# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) 25# ----------------------------------------------------------- 26# If this macro is not defined by Autoconf, define it here. 27m4_ifdef([AC_PROVIDE_IFELSE], 28 [], 29 [m4_define([AC_PROVIDE_IFELSE], --- 71 unchanged lines hidden (view full) --- 101AC_REQUIRE([AC_PROG_NM])dnl 102 103AC_REQUIRE([AC_PROG_LN_S])dnl 104AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl 105# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 106AC_REQUIRE([AC_OBJEXT])dnl 107AC_REQUIRE([AC_EXEEXT])dnl 108dnl | 25 26 27# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED) 28# ----------------------------------------------------------- 29# If this macro is not defined by Autoconf, define it here. 30m4_ifdef([AC_PROVIDE_IFELSE], 31 [], 32 [m4_define([AC_PROVIDE_IFELSE], --- 71 unchanged lines hidden (view full) --- 104AC_REQUIRE([AC_PROG_NM])dnl 105 106AC_REQUIRE([AC_PROG_LN_S])dnl 107AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl 108# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers! 109AC_REQUIRE([AC_OBJEXT])dnl 110AC_REQUIRE([AC_EXEEXT])dnl 111dnl |
109 | |
110AC_LIBTOOL_SYS_MAX_CMD_LEN 111AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 112AC_LIBTOOL_OBJDIR 113 114AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 115_LT_AC_PROG_ECHO_BACKSLASH 116 117case $host_os in --- 85 unchanged lines hidden (view full) --- 203case $deplibs_check_method in 204file_magic*) 205 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 206 AC_PATH_MAGIC 207 fi 208 ;; 209esac 210 | 112AC_LIBTOOL_SYS_MAX_CMD_LEN 113AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE 114AC_LIBTOOL_OBJDIR 115 116AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl 117_LT_AC_PROG_ECHO_BACKSLASH 118 119case $host_os in --- 85 unchanged lines hidden (view full) --- 205case $deplibs_check_method in 206file_magic*) 207 if test "$file_magic_cmd" = '$MAGIC_CMD'; then 208 AC_PATH_MAGIC 209 fi 210 ;; 211esac 212 |
213_LT_REQUIRED_DARWIN_CHECKS 214 |
|
211AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 212AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 213enable_win32_dll=yes, enable_win32_dll=no) 214 215AC_ARG_ENABLE([libtool-lock], 216 [AC_HELP_STRING([--disable-libtool-lock], 217 [avoid locking (might break parallel builds)])]) 218test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes --- 63 unchanged lines hidden (view full) --- 282# Check for linker boilerplate output or warnings with 283# the simple link test code. 284AC_DEFUN([_LT_LINKER_BOILERPLATE], 285[AC_REQUIRE([LT_AC_PROG_SED])dnl 286ac_outfile=conftest.$ac_objext 287echo "$lt_simple_link_test_code" >conftest.$ac_ext 288eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 289_lt_linker_boilerplate=`cat conftest.err` | 215AC_PROVIDE_IFELSE([AC_LIBTOOL_DLOPEN], enable_dlopen=yes, enable_dlopen=no) 216AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], 217enable_win32_dll=yes, enable_win32_dll=no) 218 219AC_ARG_ENABLE([libtool-lock], 220 [AC_HELP_STRING([--disable-libtool-lock], 221 [avoid locking (might break parallel builds)])]) 222test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes --- 63 unchanged lines hidden (view full) --- 286# Check for linker boilerplate output or warnings with 287# the simple link test code. 288AC_DEFUN([_LT_LINKER_BOILERPLATE], 289[AC_REQUIRE([LT_AC_PROG_SED])dnl 290ac_outfile=conftest.$ac_objext 291echo "$lt_simple_link_test_code" >conftest.$ac_ext 292eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err 293_lt_linker_boilerplate=`cat conftest.err` |
290$rm conftest* | 294$rm -r conftest* |
291])# _LT_LINKER_BOILERPLATE 292 | 295])# _LT_LINKER_BOILERPLATE 296 |
297# _LT_REQUIRED_DARWIN_CHECKS 298# -------------------------- 299# Check for some things on darwin 300AC_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], [:]) |
|
293 | 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.expsym \${lib}" 359 fi 360 if test "$DSYMUTIL" != ":"; then 361 _lt_dsymutil="~$DSYMUTIL \$lib || :" 362 else 363 _lt_dsymutil= 364 fi 365 ;; 366 esac 367]) 368 |
|
294# _LT_AC_SYS_LIBPATH_AIX 295# ---------------------- 296# Links a minimal program and checks the executable 297# for the system default hardcoded library path. In most cases, 298# this is /usr/lib:/lib, but when the MPI compilers are used 299# the location of the communication and MPI libs are included too. 300# If we don't find anything, use the default library path according 301# to the aix ld manual. --- 307 unchanged lines hidden (view full) --- 609sparc*-*solaris*) 610 # Find out which ABI we are using. 611 echo 'int i;' > conftest.$ac_ext 612 if AC_TRY_EVAL(ac_compile); then 613 case `/usr/bin/file conftest.o` in 614 *64-bit*) 615 case $lt_cv_prog_gnu_ld in 616 yes*) LD="${LD-ld} -m elf64_sparc" ;; | 369# _LT_AC_SYS_LIBPATH_AIX 370# ---------------------- 371# Links a minimal program and checks the executable 372# for the system default hardcoded library path. In most cases, 373# this is /usr/lib:/lib, but when the MPI compilers are used 374# the location of the communication and MPI libs are included too. 375# If we don't find anything, use the default library path according 376# to the aix ld manual. --- 307 unchanged lines hidden (view full) --- 684sparc*-*solaris*) 685 # Find out which ABI we are using. 686 echo 'int i;' > conftest.$ac_ext 687 if AC_TRY_EVAL(ac_compile); then 688 case `/usr/bin/file conftest.o` in 689 *64-bit*) 690 case $lt_cv_prog_gnu_ld in 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 619 ;; 620 esac 621 fi 622 rm -rf conftest* 623 ;; 624 625AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], --- 76 unchanged lines hidden (view full) --- 702 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 703 if diff conftest.exp conftest.er2 >/dev/null; then 704 $2=yes 705 fi 706 else 707 $2=yes 708 fi 709 fi | 697 esac 698 ;; 699 esac 700 fi 701 rm -rf conftest* 702 ;; 703 704AC_PROVIDE_IFELSE([AC_LIBTOOL_WIN32_DLL], --- 76 unchanged lines hidden (view full) --- 781 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2 782 if diff conftest.exp conftest.er2 >/dev/null; then 783 $2=yes 784 fi 785 else 786 $2=yes 787 fi 788 fi |
710 $rm conftest* | 789 $rm -r conftest* |
711 LDFLAGS="$save_LDFLAGS" 712]) 713 714if test x"[$]$2" = xyes; then 715 ifelse([$4], , :, [$4]) 716else 717 ifelse([$5], , :, [$5]) 718fi --- 254 unchanged lines hidden (view full) --- 973 lt_cv_dlopen_self=yes 974 ]) 975 ;; 976 977 *) 978 AC_CHECK_FUNC([shl_load], 979 [lt_cv_dlopen="shl_load"], 980 [AC_CHECK_LIB([dld], [shl_load], | 790 LDFLAGS="$save_LDFLAGS" 791]) 792 793if test x"[$]$2" = xyes; then 794 ifelse([$4], , :, [$4]) 795else 796 ifelse([$5], , :, [$5]) 797fi --- 254 unchanged lines hidden (view full) --- 1052 lt_cv_dlopen_self=yes 1053 ]) 1054 ;; 1055 1056 *) 1057 AC_CHECK_FUNC([shl_load], 1058 [lt_cv_dlopen="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], 983 [lt_cv_dlopen="dlopen"], 984 [AC_CHECK_LIB([dl], [dlopen], 985 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], 986 [AC_CHECK_LIB([svld], [dlopen], 987 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], 988 [AC_CHECK_LIB([dld], [dld_link], | 1061 [AC_CHECK_FUNC([dlopen], 1062 [lt_cv_dlopen="dlopen"], 1063 [AC_CHECK_LIB([dl], [dlopen], 1064 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"], 1065 [AC_CHECK_LIB([svld], [dlopen], 1066 [lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"], 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 ]) 991 ]) 992 ]) 993 ]) 994 ]) 995 ;; 996 esac 997 --- 300 unchanged lines hidden (view full) --- 1298 version_type=linux 1299 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 1300 shlibpath_var=LIBPATH 1301 1302 # AIX 3 has no versioning support, so we append a major version to the name. 1303 soname_spec='${libname}${release}${shared_ext}$major' 1304 ;; 1305 | 1069 ]) 1070 ]) 1071 ]) 1072 ]) 1073 ]) 1074 ;; 1075 esac 1076 --- 300 unchanged lines hidden (view full) --- 1377 version_type=linux 1378 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a' 1379 shlibpath_var=LIBPATH 1380 1381 # AIX 3 has no versioning support, so we append a major version to the name. 1382 soname_spec='${libname}${release}${shared_ext}$major' 1383 ;; 1384 |
1306aix4* | aix5*) | 1385aix[[4-9]]*) |
1307 version_type=linux 1308 need_lib_prefix=no 1309 need_version=no 1310 hardcode_into_libs=yes 1311 if test "$host_cpu" = ia64; then 1312 # AIX 5 supports IA64 1313 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 1314 shlibpath_var=LD_LIBRARY_PATH --- 504 unchanged lines hidden (view full) --- 1819 1820*) 1821 dynamic_linker=no 1822 ;; 1823esac 1824AC_MSG_RESULT([$dynamic_linker]) 1825test "$dynamic_linker" = no && can_build_shared=no 1826 | 1386 version_type=linux 1387 need_lib_prefix=no 1388 need_version=no 1389 hardcode_into_libs=yes 1390 if test "$host_cpu" = ia64; then 1391 # AIX 5 supports IA64 1392 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}' 1393 shlibpath_var=LD_LIBRARY_PATH --- 504 unchanged lines hidden (view full) --- 1898 1899*) 1900 dynamic_linker=no 1901 ;; 1902esac 1903AC_MSG_RESULT([$dynamic_linker]) 1904test "$dynamic_linker" = no && can_build_shared=no 1905 |
1906AC_CACHE_VAL([lt_cv_sys_lib_search_path_spec], 1907[lt_cv_sys_lib_search_path_spec="$sys_lib_search_path_spec"]) 1908sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec" 1909AC_CACHE_VAL([lt_cv_sys_lib_dlsearch_path_spec], 1910[lt_cv_sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec"]) 1911sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec" 1912 |
|
1827variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 1828if test "$GCC" = yes; then 1829 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 1830fi 1831])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 1832 1833 1834# _LT_AC_TAGCONFIG --- 483 unchanged lines hidden (view full) --- 2318# 'pass_all' -- all dependencies passed with no checks. 2319# 'test_compile' -- check by making test program. 2320# 'file_magic [[regex]]' -- check by looking for files in library path 2321# 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 2323# whether `pass_all' will *always* work, you probably want this one. 2324 2325case $host_os in | 1913variables_saved_for_relink="PATH $shlibpath_var $runpath_var" 1914if test "$GCC" = yes; then 1915 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH" 1916fi 1917])# AC_LIBTOOL_SYS_DYNAMIC_LINKER 1918 1919 1920# _LT_AC_TAGCONFIG --- 483 unchanged lines hidden (view full) --- 2404# 'pass_all' -- all dependencies passed with no checks. 2405# 'test_compile' -- check by making test program. 2406# 'file_magic [[regex]]' -- check by looking for files in library path 2407# which responds to the $file_magic_cmd with a given extended regex. 2408# If you have `file' or equivalent on your system and you're not sure 2409# whether `pass_all' will *always* work, you probably want this one. 2410 2411case $host_os in |
2326aix4* | aix5*) | 2412aix[[4-9]]*) |
2327 lt_cv_deplibs_check_method=pass_all 2328 ;; 2329 2330beos*) 2331 lt_cv_deplibs_check_method=pass_all 2332 ;; 2333 2334bsdi[[45]]*) --- 419 unchanged lines hidden (view full) --- 2754aix3*) 2755 test "$enable_shared" = yes && enable_static=no 2756 if test -n "$RANLIB"; then 2757 archive_cmds="$archive_cmds~\$RANLIB \$lib" 2758 postinstall_cmds='$RANLIB $lib' 2759 fi 2760 ;; 2761 | 2413 lt_cv_deplibs_check_method=pass_all 2414 ;; 2415 2416beos*) 2417 lt_cv_deplibs_check_method=pass_all 2418 ;; 2419 2420bsdi[[45]]*) --- 419 unchanged lines hidden (view full) --- 2840aix3*) 2841 test "$enable_shared" = yes && enable_static=no 2842 if test -n "$RANLIB"; then 2843 archive_cmds="$archive_cmds~\$RANLIB \$lib" 2844 postinstall_cmds='$RANLIB $lib' 2845 fi 2846 ;; 2847 |
2762aix4* | aix5*) | 2848aix[[4-9]]*) |
2763 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 2764 test "$enable_shared" = yes && enable_static=no 2765 fi 2766 ;; 2767esac 2768AC_MSG_RESULT([$enable_shared]) 2769 2770AC_MSG_CHECKING([whether to build static libraries]) --- 40 unchanged lines hidden (view full) --- 2811_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no 2812 2813# Dependencies to place before and after the object being linked: 2814_LT_AC_TAGVAR(predep_objects, $1)= 2815_LT_AC_TAGVAR(postdep_objects, $1)= 2816_LT_AC_TAGVAR(predeps, $1)= 2817_LT_AC_TAGVAR(postdeps, $1)= 2818_LT_AC_TAGVAR(compiler_lib_search_path, $1)= | 2849 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 2850 test "$enable_shared" = yes && enable_static=no 2851 fi 2852 ;; 2853esac 2854AC_MSG_RESULT([$enable_shared]) 2855 2856AC_MSG_CHECKING([whether to build static libraries]) --- 40 unchanged lines hidden (view full) --- 2897_LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no 2898 2899# Dependencies to place before and after the object being linked: 2900_LT_AC_TAGVAR(predep_objects, $1)= 2901_LT_AC_TAGVAR(postdep_objects, $1)= 2902_LT_AC_TAGVAR(predeps, $1)= 2903_LT_AC_TAGVAR(postdeps, $1)= 2904_LT_AC_TAGVAR(compiler_lib_search_path, $1)= |
2905_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= |
|
2819 2820# Source file extension for C++ test sources. 2821ac_ext=cpp 2822 2823# Object file extension for compiled C++ test sources. 2824objext=o 2825_LT_AC_TAGVAR(objext, $1)=$objext 2826 --- 93 unchanged lines hidden (view full) --- 2920# PORTME: fill in a description of your system's C++ link characteristics 2921AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 2922_LT_AC_TAGVAR(ld_shlibs, $1)=yes 2923case $host_os in 2924 aix3*) 2925 # FIXME: insert proper C++ library support 2926 _LT_AC_TAGVAR(ld_shlibs, $1)=no 2927 ;; | 2906 2907# Source file extension for C++ test sources. 2908ac_ext=cpp 2909 2910# Object file extension for compiled C++ test sources. 2911objext=o 2912_LT_AC_TAGVAR(objext, $1)=$objext 2913 --- 93 unchanged lines hidden (view full) --- 3007# PORTME: fill in a description of your system's C++ link characteristics 3008AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 3009_LT_AC_TAGVAR(ld_shlibs, $1)=yes 3010case $host_os in 3011 aix3*) 3012 # FIXME: insert proper C++ library support 3013 _LT_AC_TAGVAR(ld_shlibs, $1)=no 3014 ;; |
2928 aix4* | aix5*) | 3015 aix[[4-9]]*) |
2929 if test "$host_cpu" = ia64; then 2930 # On IA64, the linker does run time linking by default, so we don't 2931 # have to do anything special. 2932 aix_use_runtimelinking=no 2933 exp_sym_flag='-Bexport' 2934 no_entry_flag="" 2935 else 2936 aix_use_runtimelinking=no 2937 2938 # Test if we are trying to use run time linking or normal 2939 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 2940 # need to do runtime linking. | 3016 if test "$host_cpu" = ia64; then 3017 # On IA64, the linker does run time linking by default, so we don't 3018 # have to do anything special. 3019 aix_use_runtimelinking=no 3020 exp_sym_flag='-Bexport' 3021 no_entry_flag="" 3022 else 3023 aix_use_runtimelinking=no 3024 3025 # Test if we are trying to use run time linking or normal 3026 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 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 2943 case $ld_flag in 2944 *-brtl*) 2945 aix_use_runtimelinking=yes 2946 break 2947 ;; 2948 esac 2949 done --- 129 unchanged lines hidden (view full) --- 3079 cat $export_symbols >> $output_objdir/$soname.def; 3080 fi~ 3081 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 3082 else 3083 _LT_AC_TAGVAR(ld_shlibs, $1)=no 3084 fi 3085 ;; 3086 darwin* | rhapsody*) | 3029 for ld_flag in $LDFLAGS; do 3030 case $ld_flag in 3031 *-brtl*) 3032 aix_use_runtimelinking=yes 3033 break 3034 ;; 3035 esac 3036 done --- 129 unchanged lines hidden (view full) --- 3166 cat $export_symbols >> $output_objdir/$soname.def; 3167 fi~ 3168 $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib' 3169 else 3170 _LT_AC_TAGVAR(ld_shlibs, $1)=no 3171 fi 3172 ;; 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}-undefined ${wl}suppress' 3094 else 3095 case ${MACOSX_DEPLOYMENT_TARGET} in 3096 10.[[012]]) 3097 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' 3098 ;; 3099 10.*) 3100 _LT_AC_TAGVAR(allow_undefined_flag, $1)='${wl}-undefined ${wl}dynamic_lookup' 3101 ;; 3102 esac 3103 fi 3104 ;; 3105 esac | |
3106 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3107 _LT_AC_TAGVAR(hardcode_direct, $1)=no 3108 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 3109 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 3110 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 3111 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes | 3174 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3175 _LT_AC_TAGVAR(hardcode_direct, $1)=no 3176 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 3177 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 3178 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 3179 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes |
3112 3113 if test "$GXX" = yes ; then 3114 lt_int_apple_cc_single_mod=no | 3180 _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined" 3181 if test "$GXX" = yes ; then |
3115 output_verbose_link_cmd='echo' | 3182 output_verbose_link_cmd='echo' |
3116 if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then 3117 lt_int_apple_cc_single_mod=yes | 3183 _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}" 3184 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$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_flag -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 \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" 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 \$verstring${_lt_dsymutil}" 3189 _LT_AC_TAGVAR(archive_expsym_cmds, $1)="sed '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_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_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring' | |
3121 else | 3191 else |
3122 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring' 3123 fi 3124 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $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 $deplibs $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_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.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_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 3132 else | |
3133 case $cc_basename in 3134 xlc*) 3135 output_verbose_link_cmd='echo' 3136 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_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 -bundle $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 3139 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -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.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' --- 233 unchanged lines hidden (view full) --- 3374 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 3375 ;; 3376 esac 3377 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3378 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 3379 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 3380 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 3381 ;; | 3192 case $cc_basename in 3193 xlc*) 3194 output_verbose_link_cmd='echo' 3195 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' 3196 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 3197 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 3198 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~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.expsym~$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' --- 233 unchanged lines hidden (view full) --- 3433 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib' 3434 ;; 3435 esac 3436 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 3437 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir' 3438 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 3439 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive' 3440 ;; |
3382 pgCC*) | 3441 pgCC* | pgcpp*) |
3383 # 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' 3385 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 3386 3387 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' 3388 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 3389 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 3390 ;; --- 418 unchanged lines hidden (view full) --- 3809])# AC_LIBTOOL_LANG_CXX_CONFIG 3810 3811# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) 3812# ------------------------------------ 3813# Figure out "hidden" library dependencies from verbose 3814# compiler output when linking a shared library. 3815# Parse the compiler output and extract the necessary 3816# objects, libraries and library flags. | 3442 # Portland Group C++ compiler 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' 3444 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib' 3445 3446 _LT_AC_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir' 3447 _LT_AC_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic' 3448 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive' 3449 ;; --- 418 unchanged lines hidden (view full) --- 3868])# AC_LIBTOOL_LANG_CXX_CONFIG 3869 3870# AC_LIBTOOL_POSTDEP_PREDEP([TAGNAME]) 3871# ------------------------------------ 3872# Figure out "hidden" library dependencies from verbose 3873# compiler output when linking a shared library. 3874# Parse the compiler output and extract the necessary 3875# objects, libraries and library flags. |
3817AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],[ | 3876AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP], 3877[AC_REQUIRE([LT_AC_PROG_SED])dnl |
3818dnl we can't use the lt_simple_compile_test_code here, 3819dnl because it contains code intended for an executable, 3820dnl not a library. It's possible we should let each 3821dnl tag define a new lt_????_link_test_code variable, 3822dnl but it's only used here... 3823ifelse([$1],[],[cat > conftest.$ac_ext <<EOF 3824int a; 3825void foo (void) { a = 0; } --- 108 unchanged lines hidden (view full) --- 3934 # Clean up. 3935 rm -f a.out a.exe 3936else 3937 echo "libtool.m4: error: problem compiling $1 test program" 3938fi 3939 3940$rm -f confest.$objext 3941 | 3878dnl we can't use the lt_simple_compile_test_code here, 3879dnl because it contains code intended for an executable, 3880dnl not a library. It's possible we should let each 3881dnl tag define a new lt_????_link_test_code variable, 3882dnl but it's only used here... 3883ifelse([$1],[],[cat > conftest.$ac_ext <<EOF 3884int a; 3885void foo (void) { a = 0; } --- 108 unchanged lines hidden (view full) --- 3994 # Clean up. 3995 rm -f a.out a.exe 3996else 3997 echo "libtool.m4: error: problem compiling $1 test program" 3998fi 3999 4000$rm -f confest.$objext 4001 |
4002_LT_AC_TAGVAR(compiler_lib_search_dirs, $1)= 4003if 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_lib_search_path, $1)}" | ${SED} -e 's! -L! !g' -e 's!^ !!'` 4005fi 4006 |
|
3942# PORTME: override above test on systems where it is broken 3943ifelse([$1],[CXX], 3944[case $host_os in 3945interix[[3-9]]*) 3946 # 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. 3948 _LT_AC_TAGVAR(predep_objects,$1)= 3949 _LT_AC_TAGVAR(postdep_objects,$1)= --- 40 unchanged lines hidden (view full) --- 3990 if test "$solaris_use_stlport4" != yes; then 3991 _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' 3992 fi 3993 ;; 3994 esac 3995 ;; 3996esac 3997]) | 4007# PORTME: override above test on systems where it is broken 4008ifelse([$1],[CXX], 4009[case $host_os in 4010interix[[3-9]]*) 4011 # Interix 3.5 installs completely hosed .la files for C++, so rather than 4012 # hack all around it, let's just trust "g++" to DTRT. 4013 _LT_AC_TAGVAR(predep_objects,$1)= 4014 _LT_AC_TAGVAR(postdep_objects,$1)= --- 40 unchanged lines hidden (view full) --- 4055 if test "$solaris_use_stlport4" != yes; then 4056 _LT_AC_TAGVAR(postdeps,$1)='-library=Cstd -library=Crun' 4057 fi 4058 ;; 4059 esac 4060 ;; 4061esac 4062]) |
3998 | |
3999case " $_LT_AC_TAGVAR(postdeps, $1) " in 4000*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; 4001esac 4002])# AC_LIBTOOL_POSTDEP_PREDEP 4003 4004# AC_LIBTOOL_LANG_F77_CONFIG 4005# -------------------------- 4006# Ensure that the configuration vars for the C compiler are --- 68 unchanged lines hidden (view full) --- 4075case $host_os in 4076aix3*) 4077 test "$enable_shared" = yes && enable_static=no 4078 if test -n "$RANLIB"; then 4079 archive_cmds="$archive_cmds~\$RANLIB \$lib" 4080 postinstall_cmds='$RANLIB $lib' 4081 fi 4082 ;; | 4063case " $_LT_AC_TAGVAR(postdeps, $1) " in 4064*" -lc "*) _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no ;; 4065esac 4066])# AC_LIBTOOL_POSTDEP_PREDEP 4067 4068# AC_LIBTOOL_LANG_F77_CONFIG 4069# -------------------------- 4070# Ensure that the configuration vars for the C compiler are --- 68 unchanged lines hidden (view full) --- 4139case $host_os in 4140aix3*) 4141 test "$enable_shared" = yes && enable_static=no 4142 if test -n "$RANLIB"; then 4143 archive_cmds="$archive_cmds~\$RANLIB \$lib" 4144 postinstall_cmds='$RANLIB $lib' 4145 fi 4146 ;; |
4083aix4* | aix5*) | 4147aix[[4-9]]*) |
4084 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 4085 test "$enable_shared" = yes && enable_static=no 4086 fi 4087 ;; 4088esac 4089AC_MSG_RESULT([$enable_shared]) 4090 4091AC_MSG_CHECKING([whether to build static libraries]) --- 160 unchanged lines hidden (view full) --- 4252 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ 4253 _LT_AC_TAGVAR(old_archive_cmds, $1) \ 4254 _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ 4255 _LT_AC_TAGVAR(predep_objects, $1) \ 4256 _LT_AC_TAGVAR(postdep_objects, $1) \ 4257 _LT_AC_TAGVAR(predeps, $1) \ 4258 _LT_AC_TAGVAR(postdeps, $1) \ 4259 _LT_AC_TAGVAR(compiler_lib_search_path, $1) \ | 4148 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then 4149 test "$enable_shared" = yes && enable_static=no 4150 fi 4151 ;; 4152esac 4153AC_MSG_RESULT([$enable_shared]) 4154 4155AC_MSG_CHECKING([whether to build static libraries]) --- 160 unchanged lines hidden (view full) --- 4316 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1) \ 4317 _LT_AC_TAGVAR(old_archive_cmds, $1) \ 4318 _LT_AC_TAGVAR(old_archive_from_new_cmds, $1) \ 4319 _LT_AC_TAGVAR(predep_objects, $1) \ 4320 _LT_AC_TAGVAR(postdep_objects, $1) \ 4321 _LT_AC_TAGVAR(predeps, $1) \ 4322 _LT_AC_TAGVAR(postdeps, $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) \ 4261 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ 4262 _LT_AC_TAGVAR(postinstall_cmds, $1) \ 4263 _LT_AC_TAGVAR(postuninstall_cmds, $1) \ 4264 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ 4265 _LT_AC_TAGVAR(allow_undefined_flag, $1) \ 4266 _LT_AC_TAGVAR(no_undefined_flag, $1) \ 4267 _LT_AC_TAGVAR(export_symbols_cmds, $1) \ --- 46 unchanged lines hidden (view full) --- 4314 cat <<__EOF__ >> "$cfgfile" 4315ifelse([$1], [], 4316[#! $SHELL 4317 4318# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 4319# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 4320# NOTE: Changes made to this file will be lost: look at ltmain.sh. 4321# | 4325 _LT_AC_TAGVAR(archive_cmds, $1) \ 4326 _LT_AC_TAGVAR(archive_expsym_cmds, $1) \ 4327 _LT_AC_TAGVAR(postinstall_cmds, $1) \ 4328 _LT_AC_TAGVAR(postuninstall_cmds, $1) \ 4329 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1) \ 4330 _LT_AC_TAGVAR(allow_undefined_flag, $1) \ 4331 _LT_AC_TAGVAR(no_undefined_flag, $1) \ 4332 _LT_AC_TAGVAR(export_symbols_cmds, $1) \ --- 46 unchanged lines hidden (view full) --- 4379 cat <<__EOF__ >> "$cfgfile" 4380ifelse([$1], [], 4381[#! $SHELL 4382 4383# `$echo "$cfgfile" | sed 's%^.*/%%'` - Provide generalized library-building support services. 4384# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP) 4385# NOTE: Changes made to this file will be lost: look at ltmain.sh. 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. 4324# 4325# This file is part of GNU Libtool: 4326# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 4327# 4328# 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 4330# the Free Software Foundation; either version 2 of the License, or --- 220 unchanged lines hidden (view full) --- 4551# Dependencies to place before the objects being linked to create a 4552# shared library. 4553predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) 4554 4555# Dependencies to place after the objects being linked to create a 4556# shared library. 4557postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) 4558 | 4388# Free Software Foundation, Inc. 4389# 4390# This file is part of GNU Libtool: 4391# Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996 4392# 4393# This program is free software; you can redistribute it and/or modify 4394# it under the terms of the GNU General Public License as published by 4395# the Free Software Foundation; either version 2 of the License, or --- 220 unchanged lines hidden (view full) --- 4616# Dependencies to place before the objects being linked to create a 4617# shared library. 4618predeps=$lt_[]_LT_AC_TAGVAR(predeps, $1) 4619 4620# Dependencies to place after the objects being linked to create a 4621# shared library. 4622postdeps=$lt_[]_LT_AC_TAGVAR(postdeps, $1) 4623 |
4624# The directories searched by this compiler when creating a shared 4625# library 4626compiler_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 4560# a shared library. 4561compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) 4562 4563# Method to check whether dependent libraries are shared objects. 4564deplibs_check_method=$lt_deplibs_check_method 4565 4566# Command to use when deplibs_check_method == file_magic. --- 333 unchanged lines hidden (view full) --- 4900 fi 4901 else 4902 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD 4903 fi 4904 else 4905 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD 4906 cat conftest.$ac_ext >&5 4907 fi | 4628# The library search path used internally by the compiler when linking 4629# a shared library. 4630compiler_lib_search_path=$lt_[]_LT_AC_TAGVAR(compiler_lib_search_path, $1) 4631 4632# Method to check whether dependent libraries are shared objects. 4633deplibs_check_method=$lt_deplibs_check_method 4634 4635# Command to use when deplibs_check_method == file_magic. --- 333 unchanged lines hidden (view full) --- 4969 fi 4970 else 4971 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&AS_MESSAGE_LOG_FD 4972 fi 4973 else 4974 echo "$progname: failed program was:" >&AS_MESSAGE_LOG_FD 4975 cat conftest.$ac_ext >&5 4976 fi |
4908 rm -f conftest* conftst* | 4977 rm -rf conftest* conftst* |
4909 4910 # Do not use the global_symbol_pipe unless it works. 4911 if test "$pipe_works" = yes; then 4912 break 4913 else 4914 lt_cv_sys_global_symbol_pipe= 4915 fi 4916done --- 40 unchanged lines hidden (view full) --- 4957 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 4958 # PIC is the default for these OSes. 4959 ;; 4960 mingw* | cygwin* | os2* | pw32*) 4961 # 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). 4963 # Although the cygwin gcc ignores -fPIC, still need this for old-style 4964 # (--disable-auto-import) libraries | 4978 4979 # Do not use the global_symbol_pipe unless it works. 4980 if test "$pipe_works" = yes; then 4981 break 4982 else 4983 lt_cv_sys_global_symbol_pipe= 4984 fi 4985done --- 40 unchanged lines hidden (view full) --- 5026 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*) 5027 # PIC is the default for these OSes. 5028 ;; 5029 mingw* | cygwin* | os2* | pw32*) 5030 # This hack is so that the source file can tell whether it is being 5031 # built for inclusion in a dll (and should export symbols for example). 5032 # Although the cygwin gcc ignores -fPIC, still need this for old-style 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 ;; 4967 darwin* | rhapsody*) 4968 # PIC is the default on this platform 4969 # Common symbols not allowed in MH_DYLIB files 4970 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' 4971 ;; 4972 *djgpp*) 4973 # DJGPP does not support shared libraries at all --- 20 unchanged lines hidden (view full) --- 4994 esac 4995 ;; 4996 *) 4997 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 4998 ;; 4999 esac 5000 else 5001 case $host_os in | 5036 ;; 5037 darwin* | rhapsody*) 5038 # PIC is the default on this platform 5039 # Common symbols not allowed in MH_DYLIB files 5040 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' 5041 ;; 5042 *djgpp*) 5043 # DJGPP does not support shared libraries at all --- 20 unchanged lines hidden (view full) --- 5064 esac 5065 ;; 5066 *) 5067 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 5068 ;; 5069 esac 5070 else 5071 case $host_os in |
5002 aix4* | aix5*) | 5072 aix[[4-9]]*) |
5003 # All AIX code is PIC. 5004 if test "$host_cpu" = ia64; then 5005 # AIX 5 now supports IA64 processor 5006 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 5007 else 5008 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' 5009 fi 5010 ;; --- 79 unchanged lines hidden (view full) --- 5090 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 5091 ;; 5092 icpc* | ecpc*) 5093 # Intel C++ 5094 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5095 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 5096 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 5097 ;; | 5073 # All AIX code is PIC. 5074 if test "$host_cpu" = ia64; then 5075 # AIX 5 now supports IA64 processor 5076 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 5077 else 5078 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-bnso -bI:/lib/syscalls.exp' 5079 fi 5080 ;; --- 79 unchanged lines hidden (view full) --- 5160 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC' 5161 ;; 5162 icpc* | ecpc*) 5163 # Intel C++ 5164 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5165 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC' 5166 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-static' 5167 ;; |
5098 pgCC*) | 5168 pgCC* | pgcpp*) |
5099 # Portland Group C++ compiler. 5100 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5101 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' 5102 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 5103 ;; 5104 cxx*) 5105 # Compaq C++ 5106 # Make sure the PIC flag is empty. It appears that all Alpha --- 134 unchanged lines hidden (view full) --- 5241 # PIC is the default for these OSes. 5242 ;; 5243 5244 mingw* | cygwin* | pw32* | os2*) 5245 # 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). 5247 # Although the cygwin gcc ignores -fPIC, still need this for old-style 5248 # (--disable-auto-import) libraries | 5169 # Portland Group C++ compiler. 5170 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5171 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fpic' 5172 _LT_AC_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic' 5173 ;; 5174 cxx*) 5175 # Compaq C++ 5176 # Make sure the PIC flag is empty. It appears that all Alpha --- 134 unchanged lines hidden (view full) --- 5311 # PIC is the default for these OSes. 5312 ;; 5313 5314 mingw* | cygwin* | pw32* | os2*) 5315 # This hack is so that the source file can tell whether it is being 5316 # built for inclusion in a dll (and should export symbols for example). 5317 # Although the cygwin gcc ignores -fPIC, still need this for old-style 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 ;; 5251 5252 darwin* | rhapsody*) 5253 # PIC is the default on this platform 5254 # Common symbols not allowed in MH_DYLIB files 5255 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' 5256 ;; 5257 --- 53 unchanged lines hidden (view full) --- 5311 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5312 ;; 5313 esac 5314 ;; 5315 5316 mingw* | cygwin* | pw32* | os2*) 5317 # 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). | 5321 ;; 5322 5323 darwin* | rhapsody*) 5324 # PIC is the default on this platform 5325 # Common symbols not allowed in MH_DYLIB files 5326 _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common' 5327 ;; 5328 --- 53 unchanged lines hidden (view full) --- 5382 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5383 ;; 5384 esac 5385 ;; 5386 5387 mingw* | cygwin* | pw32* | os2*) 5388 # This hack is so that the source file can tell whether it is being 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 ;; 5321 5322 hpux9* | hpux10* | hpux11*) 5323 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5324 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 5325 # not for PA HP-UX. 5326 case $host_cpu in 5327 hppa*64*|ia64*) --- 120 unchanged lines hidden (view full) --- 5448]) 5449AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) 5450 5451# 5452# Check to make sure the PIC flag actually works. 5453# 5454if 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_compiler_pic, $1) works], | 5392 ;; 5393 5394 hpux9* | hpux10* | hpux11*) 5395 _LT_AC_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,' 5396 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but 5397 # not for PA HP-UX. 5398 case $host_cpu in 5399 hppa*64*|ia64*) --- 120 unchanged lines hidden (view full) --- 5520]) 5521AC_MSG_RESULT([$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)]) 5522 5523# 5524# Check to make sure the PIC flag actually works. 5525# 5526if test -n "$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)"; then 5527 AC_LIBTOOL_COMPILER_OPTION([if $compiler PIC flag $_LT_AC_TAGVAR(lt_prog_compiler_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],[])])], [], 5458 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in 5459 "" | " "*) ;; 5460 *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; 5461 esac], 5462 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 5463 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) 5464fi --- 7 unchanged lines hidden (view full) --- 5472 ;; 5473esac 5474 5475# 5476# Check to make sure the static flag actually works. 5477# 5478wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" 5479AC_LIBTOOL_LINKER_OPTION([if $compiler static flag $lt_tmp_static_flag works], | 5529 [$_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)ifelse([$1],[],[ -DPIC],[ifelse([$1],[CXX],[ -DPIC],[])])], [], 5530 [case $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1) in 5531 "" | " "*) ;; 5532 *) _LT_AC_TAGVAR(lt_prog_compiler_pic, $1)=" $_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)" ;; 5533 esac], 5534 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)= 5535 _LT_AC_TAGVAR(lt_prog_compiler_can_build_shared, $1)=no]) 5536fi --- 7 unchanged lines hidden (view full) --- 5544 ;; 5545esac 5546 5547# 5548# Check to make sure the static flag actually works. 5549# 5550wl=$_LT_AC_TAGVAR(lt_prog_compiler_wl, $1) eval lt_tmp_static_flag=\"$_LT_AC_TAGVAR(lt_prog_compiler_static, $1)\" 5551AC_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, 5482 [], 5483 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) 5484]) 5485 5486 5487# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) 5488# ------------------------------------ 5489# See if the linker supports building shared libraries. 5490AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], 5491[AC_REQUIRE([LT_AC_PROG_SED])dnl 5492AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 5493ifelse([$1],[CXX],[ 5494 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5495 case $host_os in | 5553 $lt_tmp_static_flag, 5554 [], 5555 [_LT_AC_TAGVAR(lt_prog_compiler_static, $1)=]) 5556]) 5557 5558 5559# AC_LIBTOOL_PROG_LD_SHLIBS([TAGNAME]) 5560# ------------------------------------ 5561# See if the linker supports building shared libraries. 5562AC_DEFUN([AC_LIBTOOL_PROG_LD_SHLIBS], 5563[AC_REQUIRE([LT_AC_PROG_SED])dnl 5564AC_MSG_CHECKING([whether the $compiler linker ($LD) supports shared libraries]) 5565ifelse([$1],[CXX],[ 5566 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 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. 5498 # -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 5500 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' 5501 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' 5503 fi 5504 ;; 5505 pw32*) 5506 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" 5507 ;; 5508 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' 5510 ;; 5511 *) 5512 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5513 ;; 5514 esac | 5569 # If we're using GNU nm, then we don't want the "-C" option. 5570 # -C means demangle to AIX nm, but means don't demangle with GNU nm 5571 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 5572 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' 5573 else 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' 5575 fi 5576 ;; 5577 pw32*) 5578 _LT_AC_TAGVAR(export_symbols_cmds, $1)="$ltdll_cmds" 5579 ;; 5580 cygwin* | mingw*) 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' 5582 ;; 5583 *) 5584 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5585 ;; 5586 esac |
5587 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'] |
|
5515],[ 5516 runpath_var= 5517 _LT_AC_TAGVAR(allow_undefined_flag, $1)= 5518 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no 5519 _LT_AC_TAGVAR(archive_cmds, $1)= 5520 _LT_AC_TAGVAR(archive_expsym_cmds, $1)= 5521 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= 5522 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= --- 14 unchanged lines hidden (view full) --- 5537 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5538 # include_expsyms should be a list of space-separated symbols to be *always* 5539 # included in the symbol list 5540 _LT_AC_TAGVAR(include_expsyms, $1)= 5541 # 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 5543 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 5544 # as well as any symbol that contains `d'. | 5588],[ 5589 runpath_var= 5590 _LT_AC_TAGVAR(allow_undefined_flag, $1)= 5591 _LT_AC_TAGVAR(enable_shared_with_static_runtimes, $1)=no 5592 _LT_AC_TAGVAR(archive_cmds, $1)= 5593 _LT_AC_TAGVAR(archive_expsym_cmds, $1)= 5594 _LT_AC_TAGVAR(old_archive_From_new_cmds, $1)= 5595 _LT_AC_TAGVAR(old_archive_from_expsyms_cmds, $1)= --- 14 unchanged lines hidden (view full) --- 5610 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols' 5611 # include_expsyms should be a list of space-separated symbols to be *always* 5612 # included in the symbol list 5613 _LT_AC_TAGVAR(include_expsyms, $1)= 5614 # exclude_expsyms can be an extended regexp of symbols to exclude 5615 # it will be wrapped by ` (' and `)$', so one must not match beginning or 5616 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc', 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 5547 # platforms (ab)use it in PIC code, but their linkers get confused if 5548 # the symbol is explicitly referenced. Since portable code cannot 5549 # rely on this symbol name, it's probably fine to never include it in 5550 # preloaded symbol tables. | 5619 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out 5620 # platforms (ab)use it in PIC code, but their linkers get confused if 5621 # the symbol is explicitly referenced. Since portable code cannot 5622 # rely on this symbol name, it's probably fine to never include it in 5623 # preloaded symbol tables. |
5624 # Exclude shared library initialization/finalization symbols. 5625dnl Note also adjust exclude_expsyms for C++ above. |
|
5551 extract_expsyms_cmds= 5552 # Just being paranoid about ensuring that cc_basename is set. 5553 _LT_CC_BASENAME([$compiler]) 5554 case $host_os in 5555 cygwin* | mingw* | pw32*) 5556 # FIXME: the MSVC++ port hasn't been tested in a loooong time 5557 # When not using gcc, we currently assume that we are using 5558 # Microsoft Visual C++. --- 33 unchanged lines hidden (view full) --- 5592 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 5593 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 5594 *\ 2.11.*) ;; # other 2.11 versions 5595 *) supports_anon_versioning=yes ;; 5596 esac 5597 5598 # See if GNU ld supports shared libraries. 5599 case $host_os in | 5626 extract_expsyms_cmds= 5627 # Just being paranoid about ensuring that cc_basename is set. 5628 _LT_CC_BASENAME([$compiler]) 5629 case $host_os in 5630 cygwin* | mingw* | pw32*) 5631 # FIXME: the MSVC++ port hasn't been tested in a loooong time 5632 # When not using gcc, we currently assume that we are using 5633 # Microsoft Visual C++. --- 33 unchanged lines hidden (view full) --- 5667 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ... 5668 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ... 5669 *\ 2.11.*) ;; # other 2.11 versions 5670 *) supports_anon_versioning=yes ;; 5671 esac 5672 5673 # See if GNU ld supports shared libraries. 5674 case $host_os in |
5600 aix3* | aix4* | aix5*) | 5675 aix[[3-9]]*) |
5601 # On AIX/PPC, the GNU linker is very broken 5602 if test "$host_cpu" != ia64; then 5603 _LT_AC_TAGVAR(ld_shlibs, $1)=no 5604 cat <<EOF 1>&2 5605 5606*** 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. 5608*** Therefore, libtool is disabling shared libraries support. If you --- 202 unchanged lines hidden (view full) --- 5811 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 5812 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 5813 # Neither direct hardcoding nor static linking is supported with a 5814 # broken collect2. 5815 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported 5816 fi 5817 ;; 5818 | 5676 # On AIX/PPC, the GNU linker is very broken 5677 if test "$host_cpu" != ia64; then 5678 _LT_AC_TAGVAR(ld_shlibs, $1)=no 5679 cat <<EOF 1>&2 5680 5681*** Warning: the GNU linker, at least up to release 2.9.1, is reported 5682*** to be unable to reliably create shared libraries on AIX. 5683*** Therefore, libtool is disabling shared libraries support. If you --- 202 unchanged lines hidden (view full) --- 5886 _LT_AC_TAGVAR(hardcode_minus_L, $1)=yes 5887 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then 5888 # Neither direct hardcoding nor static linking is supported with a 5889 # broken collect2. 5890 _LT_AC_TAGVAR(hardcode_direct, $1)=unsupported 5891 fi 5892 ;; 5893 |
5819 aix4* | aix5*) | 5894 aix[[4-9]]*) |
5820 if test "$host_cpu" = ia64; then 5821 # On IA64, the linker does run time linking by default, so we don't 5822 # have to do anything special. 5823 aix_use_runtimelinking=no 5824 exp_sym_flag='-Bexport' 5825 no_entry_flag="" 5826 else 5827 # 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 5829 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")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' 5831 else 5832 _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' 5833 fi 5834 aix_use_runtimelinking=no 5835 5836 # Test if we are trying to use run time linking or normal 5837 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 5838 # need to do runtime linking. | 5895 if test "$host_cpu" = ia64; then 5896 # On IA64, the linker does run time linking by default, so we don't 5897 # have to do anything special. 5898 aix_use_runtimelinking=no 5899 exp_sym_flag='-Bexport' 5900 no_entry_flag="" 5901 else 5902 # If we're using GNU nm, then we don't want the "-C" option. 5903 # -C means demangle to AIX nm, but means don't demangle with GNU nm 5904 if $NM -V 2>&1 | grep 'GNU' > /dev/null; then 5905 _LT_AC_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\[$]2 == "T") || (\[$]2 == "D") || (\[$]2 == "B")) && ([substr](\[$]3,1,1) != ".")) { print \[$]3 } }'\'' | sort -u > $export_symbols' 5906 else 5907 _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' 5908 fi 5909 aix_use_runtimelinking=no 5910 5911 # Test if we are trying to use run time linking or normal 5912 # AIX style linking. If -brtl is somewhere in LDFLAGS, we 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 5841 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 5842 aix_use_runtimelinking=yes 5843 break 5844 fi 5845 done 5846 ;; 5847 esac --- 143 unchanged lines hidden (view full) --- 5991 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 5992 _LT_AC_TAGVAR(hardcode_direct, $1)=no 5993 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 5994 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 5995 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 5996 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 5997 if test "$GCC" = yes ; then 5998 output_verbose_link_cmd='echo' | 5915 for ld_flag in $LDFLAGS; do 5916 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then 5917 aix_use_runtimelinking=yes 5918 break 5919 fi 5920 done 5921 ;; 5922 esac --- 143 unchanged lines hidden (view full) --- 6066 _LT_AC_TAGVAR(archive_cmds_need_lc, $1)=no 6067 _LT_AC_TAGVAR(hardcode_direct, $1)=no 6068 _LT_AC_TAGVAR(hardcode_automatic, $1)=yes 6069 _LT_AC_TAGVAR(hardcode_shlibpath_var, $1)=unsupported 6070 _LT_AC_TAGVAR(whole_archive_flag_spec, $1)='' 6071 _LT_AC_TAGVAR(link_all_deplibs, $1)=yes 6072 if test "$GCC" = yes ; then 6073 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' 6000 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 6001 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 6002 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' 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~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' | 6074 _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}" 6075 _LT_AC_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}" 6076 _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/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}" 6077 _LT_AC_TAGVAR(module_expsym_cmds, $1)="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}" |
6004 else 6005 case $cc_basename in 6006 xlc*) 6007 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/$soname` $xlcverstring' 6009 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $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 6011 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' --- 564 unchanged lines hidden (view full) --- 6576 done 6577done 6578]) 6579SED=$lt_cv_path_SED 6580AC_SUBST([SED]) 6581AC_MSG_RESULT([$SED]) 6582]) 6583 | 6078 else 6079 case $cc_basename in 6080 xlc*) 6081 output_verbose_link_cmd='echo' 6082 _LT_AC_TAGVAR(archive_cmds, $1)='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring' 6083 _LT_AC_TAGVAR(module_cmds, $1)='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags' 6084 # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds 6085 _LT_AC_TAGVAR(archive_expsym_cmds, $1)='sed -e "s,#.*,," -e "s,^[ ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}' --- 564 unchanged lines hidden (view full) --- 6650 done 6651done 6652]) 6653SED=$lt_cv_path_SED 6654AC_SUBST([SED]) 6655AC_MSG_RESULT([$SED]) 6656]) 6657 |
6584# Copyright (C) 2002, 2003, 2005, 2006 Free Software Foundation, Inc. | 6658# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc. |
6585# 6586# This file is free software; the Free Software Foundation 6587# gives unlimited permission to copy and/or distribute it, 6588# with or without modifications, as long as this notice is preserved. 6589 6590# AM_AUTOMAKE_VERSION(VERSION) 6591# ---------------------------- 6592# Automake X.Y traces this macro to ensure aclocal.m4 has been 6593# generated from the m4 files accompanying Automake X.Y. 6594# (This private macro should not be called outside this file.) 6595AC_DEFUN([AM_AUTOMAKE_VERSION], 6596[am__api_version='1.10' 6597dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 6598dnl require some minimum version. Point them to the right macro. | 6659# 6660# This file is free software; the Free Software Foundation 6661# gives unlimited permission to copy and/or distribute it, 6662# with or without modifications, as long as this notice is preserved. 6663 6664# AM_AUTOMAKE_VERSION(VERSION) 6665# ---------------------------- 6666# Automake X.Y traces this macro to ensure aclocal.m4 has been 6667# generated from the m4 files accompanying Automake X.Y. 6668# (This private macro should not be called outside this file.) 6669AC_DEFUN([AM_AUTOMAKE_VERSION], 6670[am__api_version='1.10' 6671dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to 6672dnl require some minimum version. Point them to the right macro. |
6599m4_if([$1], [1.10], [], | 6673m4_if([$1], [1.10.1], [], |
6600 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 6601]) 6602 6603# _AM_AUTOCONF_VERSION(VERSION) 6604# ----------------------------- 6605# aclocal traces this macro to find the Autoconf version. 6606# This is a private macro too. Using m4_define simplifies 6607# the logic in aclocal, which can simply ignore this definition. 6608m4_define([_AM_AUTOCONF_VERSION], []) 6609 6610# AM_SET_CURRENT_AUTOMAKE_VERSION 6611# ------------------------------- 6612# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 6613# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 6614AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], | 6674 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl 6675]) 6676 6677# _AM_AUTOCONF_VERSION(VERSION) 6678# ----------------------------- 6679# aclocal traces this macro to find the Autoconf version. 6680# This is a private macro too. Using m4_define simplifies 6681# the logic in aclocal, which can simply ignore this definition. 6682m4_define([_AM_AUTOCONF_VERSION], []) 6683 6684# AM_SET_CURRENT_AUTOMAKE_VERSION 6685# ------------------------------- 6686# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced. 6687# This function is AC_REQUIREd by AC_INIT_AUTOMAKE. 6688AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION], |
6615[AM_AUTOMAKE_VERSION([1.10])dnl 6616_AM_AUTOCONF_VERSION(m4_PACKAGE_VERSION)]) | 6689[AM_AUTOMAKE_VERSION([1.10.1])dnl 6690m4_ifndef([AC_AUTOCONF_VERSION], 6691 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl 6692_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)]) |
6617 6618# AM_AUX_DIR_EXPAND -*- Autoconf -*- 6619 6620# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 6621# 6622# This file is free software; the Free Software Foundation 6623# gives unlimited permission to copy and/or distribute it, 6624# with or without modifications, as long as this notice is preserved. --- 255 unchanged lines hidden (view full) --- 6880 mf=`echo "$mf" | sed -e 's/:.*$//'` 6881 # Check whether this is an Automake generated Makefile or not. 6882 # We used to match only the files named `Makefile.in', but 6883 # 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 6885 # 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 6887 # limit of 2048, but all sed's we know have understand at least 4000. | 6693 6694# AM_AUX_DIR_EXPAND -*- Autoconf -*- 6695 6696# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 6697# 6698# This file is free software; the Free Software Foundation 6699# gives unlimited permission to copy and/or distribute it, 6700# with or without modifications, as long as this notice is preserved. --- 255 unchanged lines hidden (view full) --- 6956 mf=`echo "$mf" | sed -e 's/:.*$//'` 6957 # Check whether this is an Automake generated Makefile or not. 6958 # We used to match only the files named `Makefile.in', but 6959 # some people rename them; so instead we look at the file content. 6960 # Grep'ing the first line is not enough: some people post-process 6961 # each Makefile.in and add a new line on top of each file to say so. 6962 # Grep'ing the whole file is not good either: AIX grep has a line 6963 # 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 | 6964 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then |
6889 dirpart=`AS_DIRNAME("$mf")` 6890 else 6891 continue 6892 fi 6893 # Extract the definition of DEPDIR, am__include, and am__quote 6894 # from the Makefile without running `make'. 6895 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6896 test -z "$DEPDIR" && continue --- 31 unchanged lines hidden (view full) --- 6928[AC_CONFIG_COMMANDS([depfiles], 6929 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 6930 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 6931]) 6932 6933# Do all the work for Automake. -*- Autoconf -*- 6934 6935# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, | 6965 dirpart=`AS_DIRNAME("$mf")` 6966 else 6967 continue 6968 fi 6969 # Extract the definition of DEPDIR, am__include, and am__quote 6970 # from the Makefile without running `make'. 6971 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"` 6972 test -z "$DEPDIR" && continue --- 31 unchanged lines hidden (view full) --- 7004[AC_CONFIG_COMMANDS([depfiles], 7005 [test x"$AMDEP_TRUE" != x"" || _AM_OUTPUT_DEPENDENCY_COMMANDS], 7006 [AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"]) 7007]) 7008 7009# Do all the work for Automake. -*- Autoconf -*- 7010 7011# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, |
6936# 2005, 2006 Free Software Foundation, Inc. | 7012# 2005, 2006, 2008 Free Software Foundation, Inc. |
6937# 6938# This file is free software; the Free Software Foundation 6939# gives unlimited permission to copy and/or distribute it, 6940# with or without modifications, as long as this notice is preserved. 6941 | 7013# 7014# This file is free software; the Free Software Foundation 7015# gives unlimited permission to copy and/or distribute it, 7016# with or without modifications, as long as this notice is preserved. 7017 |
6942# serial 12 | 7018# serial 13 |
6943 6944# This macro actually does too much. Some checks are only needed if 6945# your package does certain things. But this isn't really a big deal. 6946 6947# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 6948# AM_INIT_AUTOMAKE([OPTIONS]) 6949# ----------------------------------------------- 6950# The call with PACKAGE and VERSION arguments is the old style --- 88 unchanged lines hidden (view full) --- 7039# This file resides in the same directory as the config header 7040# that is generated. The stamp files are numbered to have different names. 7041 7042# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 7043# loop where config.status creates the headers, so we can generate 7044# our stamp files there. 7045AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 7046[# Compute $1's index in $config_headers. | 7019 7020# This macro actually does too much. Some checks are only needed if 7021# your package does certain things. But this isn't really a big deal. 7022 7023# AM_INIT_AUTOMAKE(PACKAGE, VERSION, [NO-DEFINE]) 7024# AM_INIT_AUTOMAKE([OPTIONS]) 7025# ----------------------------------------------- 7026# The call with PACKAGE and VERSION arguments is the old style --- 88 unchanged lines hidden (view full) --- 7115# This file resides in the same directory as the config header 7116# that is generated. The stamp files are numbered to have different names. 7117 7118# Autoconf calls _AC_AM_CONFIG_HEADER_HOOK (when defined) in the 7119# loop where config.status creates the headers, so we can generate 7120# our stamp files there. 7121AC_DEFUN([_AC_AM_CONFIG_HEADER_HOOK], 7122[# Compute $1's index in $config_headers. |
7123_am_arg=$1 |
|
7047_am_stamp_count=1 7048for _am_header in $config_headers :; do 7049 case $_am_header in | 7124_am_stamp_count=1 7125for _am_header in $config_headers :; do 7126 case $_am_header in |
7050 $1 | $1:* ) | 7127 $_am_arg | $_am_arg:* ) |
7051 break ;; 7052 * ) 7053 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7054 esac 7055done | 7128 break ;; 7129 * ) 7130 _am_stamp_count=`expr $_am_stamp_count + 1` ;; 7131 esac 7132done |
7056echo "timestamp for $1" >`AS_DIRNAME([$1])`/stamp-h[]$_am_stamp_count]) | 7133echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count]) |
7057 7058# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 7059# 7060# This file is free software; the Free Software Foundation 7061# gives unlimited permission to copy and/or distribute it, 7062# with or without modifications, as long as this notice is preserved. 7063 7064# AM_PROG_INSTALL_SH --- 284 unchanged lines hidden (view full) --- 7349# Copyright (C) 2006 Free Software Foundation, Inc. 7350# 7351# This file is free software; the Free Software Foundation 7352# gives unlimited permission to copy and/or distribute it, 7353# with or without modifications, as long as this notice is preserved. 7354 7355# _AM_SUBST_NOTMAKE(VARIABLE) 7356# --------------------------- | 7134 7135# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc. 7136# 7137# This file is free software; the Free Software Foundation 7138# gives unlimited permission to copy and/or distribute it, 7139# with or without modifications, as long as this notice is preserved. 7140 7141# AM_PROG_INSTALL_SH --- 284 unchanged lines hidden (view full) --- 7426# Copyright (C) 2006 Free Software Foundation, Inc. 7427# 7428# This file is free software; the Free Software Foundation 7429# gives unlimited permission to copy and/or distribute it, 7430# with or without modifications, as long as this notice is preserved. 7431 7432# _AM_SUBST_NOTMAKE(VARIABLE) 7433# --------------------------- |
7357# Prevent Automake from outputing VARIABLE = @VARIABLE@ in Makefile.in. | 7434# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in. |
7358# This macro is traced by Automake. 7359AC_DEFUN([_AM_SUBST_NOTMAKE]) 7360 7361# Check how to create a tarball. -*- Autoconf -*- 7362 7363# Copyright (C) 2004, 2005 Free Software Foundation, Inc. 7364# 7365# This file is free software; the Free Software Foundation --- 91 unchanged lines hidden --- | 7435# This macro is traced by Automake. 7436AC_DEFUN([_AM_SUBST_NOTMAKE]) 7437 7438# Check how to create a tarball. -*- Autoconf -*- 7439 7440# Copyright (C) 2004, 2005 Free Software Foundation, Inc. 7441# 7442# This file is free software; the Free Software Foundation --- 91 unchanged lines hidden --- |