Deleted Added
sdiff udiff text old ( 173144 ) new ( 191273 )
full compact
1# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
2
3# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
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
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'.])])
21
22# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
23
24# serial 52 AC_PROG_LIBTOOL
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
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
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`
294$rm -r conftest*
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], [:])
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
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" ;;
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 ;;
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
789 $rm -r conftest*
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],
1060 [lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"],
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],
1068 [lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"])
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
1385aix[[4-9]]*)
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
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
2412aix[[4-9]]*)
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
2848aix[[4-9]]*)
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)=
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 ;;
3015 aix[[4-9]]*)
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.
3028 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
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*)
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
3180 _LT_AC_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
3181 if test "$GXX" = yes ; then
3182 output_verbose_link_cmd='echo'
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}"
3190 fi
3191 else
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 ;;
3441 pgCC* | pgcpp*)
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.
3876AC_DEFUN([AC_LIBTOOL_POSTDEP_PREDEP],
3877[AC_REQUIRE([LT_AC_PROG_SED])dnl
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
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])
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 ;;
4147aix[[4-9]]*)
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) \
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#
4387# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
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
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
4977 rm -rf conftest* conftst*
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
5034 m4_if([$1], [GCJ], [],
5035 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
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
5072 aix[[4-9]]*)
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 ;;
5168 pgCC* | pgcpp*)
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
5319 m4_if([$1], [GCJ], [],
5320 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
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).
5390 m4_if([$1], [GCJ], [],
5391 [_LT_AC_TAGVAR(lt_prog_compiler_pic, $1)='-DDLL_EXPORT'])
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],
5528 _LT_AC_TAGVAR(lt_cv_prog_compiler_pic_works, $1),
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],
5552 _LT_AC_TAGVAR(lt_cv_prog_compiler_static_works, $1),
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
5568 aix[[4-9]]*)
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]_.*']
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'.
5618 _LT_AC_TAGVAR(exclude_expsyms, $1)=['_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*']
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.
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
5675 aix[[3-9]]*)
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
5894 aix[[4-9]]*)
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.
5914 case $host_os in aix4.[[23]]|aix4.[[23]].*|aix[[5-9]]*)
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'
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}"
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
6658# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
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.
6673m4_if([$1], [1.10.1], [],
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],
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)])
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.
6964 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
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,
7012# 2005, 2006, 2008 Free Software Foundation, Inc.
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
7018# serial 13
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
7124_am_stamp_count=1
7125for _am_header in $config_headers :; do
7126 case $_am_header in
7127 $_am_arg | $_am_arg:* )
7128 break ;;
7129 * )
7130 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7131 esac
7132done
7133echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
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# ---------------------------
7434# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
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 ---