994
# Fix-up fallback echo if it was mangled by the above quoting rules.
996
*'\\\[$]0 --fallback-echo"')dnl "
997
lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
1001
1014
_LT_OUTPUT_LIBTOOL_INIT
1017
# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
1018
# ------------------------------------
1019
# Generate a child script FILE with all initialization necessary to
1020
# reuse the environment learned by the parent script, and make the
1021
# file executable. If COMMENT is supplied, it is inserted after the
1022
# `#!' sequence but before initialization text begins. After this
1023
# macro, additional text can be appended to FILE to form the body of
1024
# the child script. The macro ends with non-zero status if the
1025
# file could not be fully written (such as if the disk is full).
1026
m4_ifdef([AS_INIT_GENERATED],
1027
[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
1028
[m4_defun([_LT_GENERATED_FILE_INIT],
1029
[m4_require([AS_PREPARE])]dnl
1030
[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
1032
cat >$1 <<_ASEOF || lt_write_fail=1
1034
# Generated by $as_me.
1036
SHELL=\${CONFIG_SHELL-$SHELL}
1039
cat >>$1 <<\_ASEOF || lt_write_fail=1
1042
exec AS_MESSAGE_FD>&1
1044
test $lt_write_fail = 0 && chmod +x $1[]dnl
1045
m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
1489
1551
# _LT_SHELL_INIT(ARG)
1490
1552
# -------------------
1491
1553
m4_define([_LT_SHELL_INIT],
1492
[ifdef([AC_DIVERSION_NOTICE],
1493
[AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
1494
[AC_DIVERT_PUSH(NOTICE)])
1554
[m4_divert_text([M4SH-INIT], [$1
1555
])])# _LT_SHELL_INIT
1500
1559
# _LT_PROG_ECHO_BACKSLASH
1501
1560
# -----------------------
1502
# Add some code to the start of the generated configure script which
1503
# will find an echo command which doesn't interpret backslashes.
1561
# Find how we can fake an echo command that does not interpret backslash.
1562
# In particular, with Autoconf 2.60 or later we add some code to the start
1563
# of the generated configure script which will find a shell with a builtin
1564
# printf (which we can use as an echo command).
1504
1565
m4_defun([_LT_PROG_ECHO_BACKSLASH],
1506
# Check that we are running under the correct shell.
1507
SHELL=${CONFIG_SHELL-/bin/sh}
1511
# Remove one level of quotation (which was required for Make).
1512
ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1566
[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1567
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1568
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1570
AC_MSG_CHECKING([how to print strings])
1571
# Test print first, because it will be a builtin if present.
1572
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
1573
test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
1575
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
1578
# Use this function as a fallback that always works.
1579
func_fallback_echo ()
1581
eval 'cat <<_LTECHO_EOF
1585
ECHO='func_fallback_echo'
1588
# func_echo_all arg...
1589
# Invoke $ECHO with all args, space-separated.
1596
printf*) AC_MSG_RESULT([printf]) ;;
1597
print*) AC_MSG_RESULT([print -r]) ;;
1598
*) AC_MSG_RESULT([cat]) ;;
1516
ECHO=${lt_ECHO-echo}
1517
if test "X[$]1" = X--no-reexec; then
1518
# Discard the --no-reexec flag, and continue.
1520
elif test "X[$]1" = X--fallback-echo; then
1521
# Avoid inline document here, it may be left over
1523
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1524
# Yippee, $ECHO works!
1527
# Restart under the correct shell.
1528
exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1531
if test "X[$]1" = X--fallback-echo; then
1532
# used as fallback echo
1540
# The HP-UX ksh and POSIX shell print the target directory to stdout
1542
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1544
if test -z "$lt_ECHO"; then
1545
if test "X${echo_test_string+set}" != Xset; then
1546
# find a string as large as possible, as long as the shell can cope with it
1547
for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
1548
# expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
1549
if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
1550
{ test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
1557
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1558
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1559
test "X$echo_testing_string" = "X$echo_test_string"; then
1562
# The Solaris, AIX, and Digital Unix default echo programs unquote
1563
# backslashes. This makes it impossible to quote backslashes using
1564
# echo "$something" | sed 's/\\/\\\\/g'
1566
# So, first we look for a working echo in the user's PATH.
1568
lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1569
for dir in $PATH /usr/ucb; do
1571
if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
1572
test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
1573
echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
1574
test "X$echo_testing_string" = "X$echo_test_string"; then
1581
if test "X$ECHO" = Xecho; then
1582
# We didn't find a better echo, so look for alternatives.
1583
if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
1584
echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
1585
test "X$echo_testing_string" = "X$echo_test_string"; then
1586
# This shell has a builtin print -r that does the trick.
1588
elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
1589
test "X$CONFIG_SHELL" != X/bin/ksh; then
1590
# If we have ksh, try running configure again with it.
1591
ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
1592
export ORIGINAL_CONFIG_SHELL
1593
CONFIG_SHELL=/bin/ksh
1595
exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1599
if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
1600
echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
1601
test "X$echo_testing_string" = "X$echo_test_string"; then
1602
# Cool, printf works
1604
elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1605
test "X$echo_testing_string" = 'X\t' &&
1606
echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1607
test "X$echo_testing_string" = "X$echo_test_string"; then
1608
CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
1610
SHELL="$CONFIG_SHELL"
1612
ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1613
elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
1614
test "X$echo_testing_string" = 'X\t' &&
1615
echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
1616
test "X$echo_testing_string" = "X$echo_test_string"; then
1617
ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
1619
# maybe with a smaller string...
1622
for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
1623
if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
1630
if test "$prev" != 'sed 50q "[$]0"'; then
1631
echo_test_string=`eval $prev`
1632
export echo_test_string
1633
exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
1635
# Oops. We lost completely, so just stick with echo.
1644
# Copy echo and quote the copy suitably for passing to libtool from
1645
# the Makefile, instead of quoting the original, which is used later.
1647
if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1648
lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1601
m4_ifdef([_AS_DETECT_SUGGESTED],
1602
[_AS_DETECT_SUGGESTED([
1603
test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
1604
ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1605
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
1606
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
1607
PATH=/empty FPATH=/empty; export PATH FPATH
1608
test "X`printf %s $ECHO`" = "X$ECHO" \
1609
|| test "X`print -r -- $ECHO`" = "X$ECHO" )])])
1653
1611
_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
1654
_LT_DECL([], [ECHO], [1],
1655
[An echo program that does not interpret backslashes])
1612
_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
1656
1613
])# _LT_PROG_ECHO_BACKSLASH
2493
2475
darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2494
2476
*) lt_awk_arg="/^libraries:/" ;;
2496
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2497
if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
2479
mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
2480
*) lt_sed_strip_eq="s,=/,/,g" ;;
2482
lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
2483
case $lt_search_path_spec in
2498
2485
# if the path contains ";" then we assume it to be the separator
2499
2486
# otherwise default to the standard path separator (i.e. ":") - it is
2500
2487
# assumed that no part of a normal pathname contains ";" but that should
2501
2488
# okay in the real world where ";" in dirpaths is itself problematic.
2502
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
2504
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
2489
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
2492
lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
2506
2495
# Ok, now we have the path, separated by spaces, we can step through it
2507
2496
# and add multilib dir if necessary.
2508
2497
lt_tmp_lt_search_path_spec=
2902
2901
finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2903
2902
shlibpath_var=LD_LIBRARY_PATH
2904
2903
shlibpath_overrides_runpath=no
2905
2905
# Some binutils ld are patched to set DT_RUNPATH
2906
save_LDFLAGS=$LDFLAGS
2908
eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2909
LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2910
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2911
[AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2912
[shlibpath_overrides_runpath=yes])])
2913
LDFLAGS=$save_LDFLAGS
2906
AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
2907
[lt_cv_shlibpath_overrides_runpath=no
2908
save_LDFLAGS=$LDFLAGS
2910
eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
2911
LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
2912
AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
2913
[AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
2914
[lt_cv_shlibpath_overrides_runpath=yes])])
2915
LDFLAGS=$save_LDFLAGS
2918
shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
2916
2920
# This implies no fast_install, which is unacceptable.
2917
2921
# Some rework will be needed to allow for fast_install
2918
2922
# before this can be enabled.
2919
2923
hardcode_into_libs=yes
2925
# Add ABI-specific directories to the system library path.
2926
sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2921
2928
# Append ld.so.conf contents to the search path
2922
2929
if test -f /etc/ld.so.conf; then
2923
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
2924
sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
2930
lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;s/"//g;/^$/d' | tr '\n' ' '`
2931
sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2927
2935
# We used to test for /lib/ld.so.1 and disable shared libraries on
4458
4511
# All Alpha code is PIC.
4459
4512
_LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4462
# IBM XL C 8.0/Fortran 10.1 on PPC
4514
xl* | bgxl* | bgf* | mpixl*)
4515
# IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
4463
4516
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4464
4517
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4465
4518
_LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4468
4521
case `$CC -V 2>&1 | sed 5q` in
4522
*Sun\ F* | *Sun*Fortran*)
4523
# Sun Fortran 8.3 passes all unrecognized flags to the linker
4524
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4525
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4526
_LT_TAGVAR(lt_prog_compiler_wl, $1)=''
4471
4530
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4472
4531
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4473
4532
_LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4476
# Sun Fortran 8.3 passes all unrecognized flags to the linker
4477
_LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4478
_LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4479
_LT_TAGVAR(lt_prog_compiler_wl, $1)=''
5269
5377
irix5* | irix6* | nonstopux*)
5270
5378
if test "$GCC" = yes; then
5271
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5379
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5272
5380
# Try to use the -exported_symbol ld option, if it does not
5273
5381
# work, assume that -exports_file does not work either and
5274
5382
# implicitly export all symbols.
5275
5383
save_LDFLAGS="$LDFLAGS"
5276
5384
LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
5277
5385
AC_LINK_IFELSE(int foo(void) {},
5278
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
5386
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
5280
5388
LDFLAGS="$save_LDFLAGS"
5282
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5283
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
5390
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
5391
_LT_TAGVAR(archive_expsym_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
5285
5393
_LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5286
5394
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5342
5450
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
5343
5451
_LT_TAGVAR(hardcode_minus_L, $1)=yes
5344
5452
_LT_TAGVAR(allow_undefined_flag, $1)=unsupported
5345
_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
5453
_LT_TAGVAR(archive_cmds, $1)='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~echo DATA >> $output_objdir/$libname.def~echo " SINGLE NONSHARED" >> $output_objdir/$libname.def~echo EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
5346
5454
_LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
5350
5458
if test "$GCC" = yes; then
5351
5459
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5352
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5460
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5354
5462
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5355
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5463
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
5357
5465
_LT_TAGVAR(archive_cmds_need_lc, $1)='no'
5358
5466
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5362
5470
osf4* | osf5*) # as osf3* with the addition of -msym flag
5363
5471
if test "$GCC" = yes; then
5364
5472
_LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
5365
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5473
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
5366
5474
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
5368
5476
_LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
5369
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
5477
_LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
5370
5478
_LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
5371
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
5479
$CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
5373
5481
# Both c and cxx compiler support -rpath directly
5374
5482
_LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
5559
5667
# Test whether the compiler implicitly links with -lc since on some
5560
5668
# systems, -lgcc has to come before -lc. If gcc already passes -lc
5561
5669
# to ld, don't add -lc before -lgcc.
5562
AC_MSG_CHECKING([whether -lc should be explicitly linked in])
5564
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5670
AC_CACHE_CHECK([whether -lc should be explicitly linked in],
5671
[lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
5673
echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5566
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5569
libobjs=conftest.$ac_objext
5571
wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5572
pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
5578
lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
5579
_LT_TAGVAR(allow_undefined_flag, $1)=
5580
if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
5582
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
5584
_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5586
_LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5588
cat conftest.err 1>&5
5591
AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
5675
if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5678
libobjs=conftest.$ac_objext
5680
wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5681
pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
5687
lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
5688
_LT_TAGVAR(allow_undefined_flag, $1)=
5689
if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
5691
lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
5693
lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5695
_LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5697
cat conftest.err 1>&5
5701
_LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
6340
6447
pgCC* | pgcpp*)
6341
6448
# Portland Group C++ compiler
6342
6449
case `$CC -V` in
6343
*pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
6450
*pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
6344
6451
_LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
6345
6452
rm -rf $tpldir~
6346
6453
$CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
6347
compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
6454
compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
6348
6455
_LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
6349
6456
rm -rf $tpldir~
6350
6457
$CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
6351
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
6458
$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
6352
6459
$RANLIB $oldlib'
6353
6460
_LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
6354
6461
rm -rf $tpldir~
6355
6462
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6356
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6463
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6357
6464
_LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
6358
6465
rm -rf $tpldir~
6359
6466
$CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
6360
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
6467
$CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
6362
*) # Version 6 will use weak symbols
6469
*) # Version 6 and above use weak symbols
6363
6470
_LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
6364
6471
_LT_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'
8293
8378
# Generated from ltversion.in.
8295
# serial 3012 ltversion.m4
8380
# serial 3175 ltversion.m4
8296
8381
# This file is part of GNU Libtool
8298
m4_define([LT_PACKAGE_VERSION], [2.2.6])
8299
m4_define([LT_PACKAGE_REVISION], [1.3012])
8383
m4_define([LT_PACKAGE_VERSION], [2.2.10])
8384
m4_define([LT_PACKAGE_REVISION], [1.3175])
8301
8386
AC_DEFUN([LTVERSION_VERSION],
8302
[macro_version='2.2.6'
8303
macro_revision='1.3012'
8387
[macro_version='2.2.10'
8388
macro_revision='1.3175'
8304
8389
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
8305
8390
_LT_DECL(, macro_revision, 0)
8308
8393
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions. -*-Autoconf-*-
8310
# Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
8395
# Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
8311
8396
# Written by Scott James Remnant, 2004.
8313
8398
# This file is free software; the Free Software Foundation gives
8314
8399
# unlimited permission to copy and/or distribute it, with or without
8315
8400
# modifications, as long as this notice is preserved.
8317
# serial 4 lt~obsolete.m4
8402
# serial 5 lt~obsolete.m4
8319
8404
# These exist entirely to fool aclocal when bootstrapping libtool.
8532
8626
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8533
8627
installed software in a non-standard prefix.
8537
[AC_MSG_RESULT([no])
8539
8631
elif test $pkg_failed = untried; then
8540
ifelse([$4], , [AC_MSG_FAILURE(dnl
8633
m4_default([$4], [AC_MSG_FAILURE(
8541
8634
[The pkg-config script could not be found or is too old. Make sure it
8542
8635
is in your PATH or set the PKG_CONFIG environment variable to the full
8543
8636
path to pkg-config.
8547
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
8640
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
8550
8643
$1[]_CFLAGS=$pkg_cv_[]$1[]_CFLAGS
8551
8644
$1[]_LIBS=$pkg_cv_[]$1[]_LIBS
8552
8645
AC_MSG_RESULT([yes])
8553
ifelse([$3], , :, [$3])
8555
8648
])# PKG_CHECK_MODULES
8557
# Copyright (C) 2002, 2003, 2005, 2006, 2007 Free Software Foundation, Inc.
8650
# Copyright (C) 2002, 2003, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8559
8652
# This file is free software; the Free Software Foundation
8560
8653
# gives unlimited permission to copy and/or distribute it,
8886
msvisualcpp | msvcmsys)
8887
# This compiler won't grok `-c -o', but also, the minuso test has
8888
# not run yet. These depmodes are late enough in the game, and
8889
# so weak that their functioning should not be impacted.
8890
am__obj=conftest.${OBJEXT-o}
8774
# We check with `-c' and `-o' for the sake of the "dashmstdout"
8775
# mode. It turns out that the SunPro C++ compiler does not properly
8776
# handle `-M -o', and we need to detect this.
8777
8895
if depmode=$depmode \
8778
source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
8896
source=sub/conftest.c object=$am__obj \
8779
8897
depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
8780
$SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
8898
$SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
8781
8899
>/dev/null 2>conftest.err &&
8782
8900
grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
8783
8901
grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
8784
grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
8902
grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
8785
8903
${MAKE-make} -s -f confmf > /dev/null 2>&1; then
8786
8904
# icc doesn't choke on unknown options, it will just issue warnings
8787
8905
# or remarks (even with -Werror). So we grep stderr for any message
8839
8957
# Generate code to set up dependency tracking. -*- Autoconf -*-
8841
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005
8959
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2008
8842
8960
# Free Software Foundation, Inc.
8844
8962
# This file is free software; the Free Software Foundation
8845
8963
# gives unlimited permission to copy and/or distribute it,
8846
8964
# with or without modifications, as long as this notice is preserved.
8850
8968
# _AM_OUTPUT_DEPENDENCY_COMMANDS
8851
8969
# ------------------------------
8852
8970
AC_DEFUN([_AM_OUTPUT_DEPENDENCY_COMMANDS],
8853
[for mf in $CONFIG_FILES; do
8854
# Strip MF so we end up with the name of the file.
8855
mf=`echo "$mf" | sed -e 's/:.*$//'`
8856
# Check whether this is an Automake generated Makefile or not.
8857
# We used to match only the files named `Makefile.in', but
8858
# some people rename them; so instead we look at the file content.
8859
# Grep'ing the first line is not enough: some people post-process
8860
# each Makefile.in and add a new line on top of each file to say so.
8861
# Grep'ing the whole file is not good either: AIX grep has a line
8862
# limit of 2048, but all sed's we know have understand at least 4000.
8863
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8864
dirpart=`AS_DIRNAME("$mf")`
8868
# Extract the definition of DEPDIR, am__include, and am__quote
8869
# from the Makefile without running `make'.
8870
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8871
test -z "$DEPDIR" && continue
8872
am__include=`sed -n 's/^am__include = //p' < "$mf"`
8873
test -z "am__include" && continue
8874
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8875
# When using ansi2knr, U may be empty or an underscore; expand it
8876
U=`sed -n 's/^U = //p' < "$mf"`
8877
# Find all dependency output files, they are included files with
8878
# $(DEPDIR) in their names. We invoke sed twice because it is the
8879
# simplest approach to changing $(DEPDIR) to its actual value in the
8881
for file in `sed -n "
8882
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8883
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8884
# Make sure the directory exists.
8885
test -f "$dirpart/$file" && continue
8886
fdir=`AS_DIRNAME(["$file"])`
8887
AS_MKDIR_P([$dirpart/$fdir])
8888
# echo "creating $dirpart/$file"
8889
echo '# dummy' > "$dirpart/$file"
8972
# Autoconf 2.62 quotes --file arguments for eval, but not when files
8973
# are listed without --file. Let's play safe and only enable the eval
8974
# if we detect the quoting.
8975
case $CONFIG_FILES in
8976
*\'*) eval set x "$CONFIG_FILES" ;;
8977
*) set x $CONFIG_FILES ;;
8982
# Strip MF so we end up with the name of the file.
8983
mf=`echo "$mf" | sed -e 's/:.*$//'`
8984
# Check whether this is an Automake generated Makefile or not.
8985
# We used to match only the files named `Makefile.in', but
8986
# some people rename them; so instead we look at the file content.
8987
# Grep'ing the first line is not enough: some people post-process
8988
# each Makefile.in and add a new line on top of each file to say so.
8989
# Grep'ing the whole file is not good either: AIX grep has a line
8990
# limit of 2048, but all sed's we know have understand at least 4000.
8991
if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
8992
dirpart=`AS_DIRNAME("$mf")`
8996
# Extract the definition of DEPDIR, am__include, and am__quote
8997
# from the Makefile without running `make'.
8998
DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8999
test -z "$DEPDIR" && continue
9000
am__include=`sed -n 's/^am__include = //p' < "$mf"`
9001
test -z "am__include" && continue
9002
am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
9003
# When using ansi2knr, U may be empty or an underscore; expand it
9004
U=`sed -n 's/^U = //p' < "$mf"`
9005
# Find all dependency output files, they are included files with
9006
# $(DEPDIR) in their names. We invoke sed twice because it is the
9007
# simplest approach to changing $(DEPDIR) to its actual value in the
9009
for file in `sed -n "
9010
s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9011
sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9012
# Make sure the directory exists.
9013
test -f "$dirpart/$file" && continue
9014
fdir=`AS_DIRNAME(["$file"])`
9015
AS_MKDIR_P([$dirpart/$fdir])
9016
# echo "creating $dirpart/$file"
9017
echo '# dummy' > "$dirpart/$file"
8892
9021
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
8991
9120
AC_REQUIRE([AC_PROG_MAKE_SET])dnl
8992
9121
AC_REQUIRE([AM_SET_LEADING_DOT])dnl
8993
9122
_AM_IF_OPTION([tar-ustar], [_AM_PROG_TAR([ustar])],
8994
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
8995
[_AM_PROG_TAR([v7])])])
9123
[_AM_IF_OPTION([tar-pax], [_AM_PROG_TAR([pax])],
9124
[_AM_PROG_TAR([v7])])])
8996
9125
_AM_IF_OPTION([no-dependencies],,
8997
9126
[AC_PROVIDE_IFELSE([AC_PROG_CC],
8998
[_AM_DEPENDENCIES(CC)],
8999
[define([AC_PROG_CC],
9000
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9127
[_AM_DEPENDENCIES(CC)],
9128
[define([AC_PROG_CC],
9129
defn([AC_PROG_CC])[_AM_DEPENDENCIES(CC)])])dnl
9001
9130
AC_PROVIDE_IFELSE([AC_PROG_CXX],
9002
[_AM_DEPENDENCIES(CXX)],
9003
[define([AC_PROG_CXX],
9004
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9131
[_AM_DEPENDENCIES(CXX)],
9132
[define([AC_PROG_CXX],
9133
defn([AC_PROG_CXX])[_AM_DEPENDENCIES(CXX)])])dnl
9005
9134
AC_PROVIDE_IFELSE([AC_PROG_OBJC],
9006
[_AM_DEPENDENCIES(OBJC)],
9007
[define([AC_PROG_OBJC],
9008
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9135
[_AM_DEPENDENCIES(OBJC)],
9136
[define([AC_PROG_OBJC],
9137
defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
9139
_AM_IF_OPTION([silent-rules], [AC_REQUIRE([AM_SILENT_RULES])])dnl
9140
dnl The `parallel-tests' driver may need to know about EXEEXT, so add the
9141
dnl `am__EXEEXT' conditional if _AM_COMPILER_EXEEXT was seen. This macro
9142
dnl is hooked onto _AC_COMPILER_EXEEXT early, see below.
9143
AC_CONFIG_COMMANDS_PRE(dnl
9144
[m4_provide_if([_AM_COMPILER_EXEEXT],
9145
[AM_CONDITIONAL([am__EXEEXT], [test -n "$EXEEXT"])])])dnl
9148
dnl Hook into `_AC_COMPILER_EXEEXT' early to learn its expansion. Do not
9149
dnl add the conditional right here, as _AC_COMPILER_EXEEXT may be further
9150
dnl mangled by Autoconf and run in a shell conditional statement.
9151
m4_define([_AC_COMPILER_EXEEXT],
9152
m4_defn([_AC_COMPILER_EXEEXT])[m4_provide([_AM_COMPILER_EXEEXT])])
9013
9155
# When config.status generates a header, we must update the stamp-h file.
9069
9218
# Add --enable-maintainer-mode option to configure. -*- Autoconf -*-
9070
9219
# From Jim Meyering
9072
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005
9221
# Copyright (C) 1996, 1998, 2000, 2001, 2002, 2003, 2004, 2005, 2008
9073
9222
# Free Software Foundation, Inc.
9075
9224
# This file is free software; the Free Software Foundation
9076
9225
# gives unlimited permission to copy and/or distribute it,
9077
9226
# with or without modifications, as long as this notice is preserved.
9230
# AM_MAINTAINER_MODE([DEFAULT-MODE])
9231
# ----------------------------------
9232
# Control maintainer-specific portions of Makefiles.
9233
# Default is to disable them, unless `enable' is passed literally.
9234
# For symmetry, `disable' may be passed as well. Anyway, the user
9235
# can override the default with the --enable/--disable switch.
9081
9236
AC_DEFUN([AM_MAINTAINER_MODE],
9082
[AC_MSG_CHECKING([whether to enable maintainer-specific portions of Makefiles])
9083
dnl maintainer-mode is disabled by default
9084
AC_ARG_ENABLE(maintainer-mode,
9085
[ --enable-maintainer-mode enable make rules and dependencies not useful
9237
[m4_case(m4_default([$1], [disable]),
9238
[enable], [m4_define([am_maintainer_other], [disable])],
9239
[disable], [m4_define([am_maintainer_other], [enable])],
9240
[m4_define([am_maintainer_other], [enable])
9241
m4_warn([syntax], [unexpected argument to AM@&t@_MAINTAINER_MODE: $1])])
9242
AC_MSG_CHECKING([whether to am_maintainer_other maintainer-specific portions of Makefiles])
9243
dnl maintainer-mode's default is 'disable' unless 'enable' is passed
9244
AC_ARG_ENABLE([maintainer-mode],
9245
[ --][am_maintainer_other][-maintainer-mode am_maintainer_other make rules and dependencies not useful
9086
9246
(and sometimes confusing) to the casual installer],
9087
USE_MAINTAINER_MODE=$enableval,
9088
USE_MAINTAINER_MODE=no)
9247
[USE_MAINTAINER_MODE=$enableval],
9248
[USE_MAINTAINER_MODE=]m4_if(am_maintainer_other, [enable], [no], [yes]))
9089
9249
AC_MSG_RESULT([$USE_MAINTAINER_MODE])
9090
AM_CONDITIONAL(MAINTAINER_MODE, [test $USE_MAINTAINER_MODE = yes])
9250
AM_CONDITIONAL([MAINTAINER_MODE], [test $USE_MAINTAINER_MODE = yes])
9091
9251
MAINT=$MAINTAINER_MODE_TRUE
9252
AC_SUBST([MAINT])dnl
9295
9475
AC_MSG_RESULT(yes)])
9477
# Copyright (C) 2009 Free Software Foundation, Inc.
9479
# This file is free software; the Free Software Foundation
9480
# gives unlimited permission to copy and/or distribute it,
9481
# with or without modifications, as long as this notice is preserved.
9485
# AM_SILENT_RULES([DEFAULT])
9486
# --------------------------
9487
# Enable less verbose build rules; with the default set to DEFAULT
9488
# (`yes' being less verbose, `no' or empty being verbose).
9489
AC_DEFUN([AM_SILENT_RULES],
9490
[AC_ARG_ENABLE([silent-rules],
9491
[ --enable-silent-rules less verbose build output (undo: `make V=1')
9492
--disable-silent-rules verbose build output (undo: `make V=0')])
9493
case $enable_silent_rules in
9494
yes) AM_DEFAULT_VERBOSITY=0;;
9495
no) AM_DEFAULT_VERBOSITY=1;;
9496
*) AM_DEFAULT_VERBOSITY=m4_if([$1], [yes], [0], [1]);;
9498
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
9500
AC_SUBST([AM_BACKSLASH])dnl
9501
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
9297
9504
# Copyright (C) 2001, 2003, 2005 Free Software Foundation, Inc.
9299
9506
# This file is free software; the Free Software Foundation