~ubuntu-branches/ubuntu/quantal/consolekit/quantal-updates

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Colin Watson
  • Date: 2010-10-13 12:28:33 UTC
  • mfrom: (0.1.14 sid)
  • Revision ID: james.westby@ubuntu.com-20101013122833-i43tbcnvjs3jiynv
Tags: 0.4.2-1ubuntu1
* Resynchronise with Debian.  Remaining changes:
  - 10-retry_console_open_eio.patch: Retry console opens if they return
    EIO, since this may happen while a tty is closing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
# generated automatically by aclocal 1.10.1 -*- Autoconf -*-
 
1
# generated automatically by aclocal 1.11.1 -*- Autoconf -*-
2
2
 
3
3
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
4
 
# 2005, 2006, 2007, 2008  Free Software Foundation, Inc.
 
4
# 2005, 2006, 2007, 2008, 2009  Free Software Foundation, Inc.
5
5
# This file is free software; the Free Software Foundation
6
6
# gives unlimited permission to copy and/or distribute it,
7
7
# with or without modifications, as long as this notice is preserved.
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(AC_AUTOCONF_VERSION, [2.63],,
17
 
[m4_warning([this file was generated for autoconf 2.63.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.66],,
 
17
[m4_warning([this file was generated for autoconf 2.66.
18
18
You have another version of autoconf.  It may work, but is not guaranteed to.
19
19
If you have problems, you may need to regenerate the build system entirely.
20
20
To do so, use the procedure documented by the package, typically `autoreconf'.])])
301
301
 
302
302
    dnl These rules are solely for the distribution goal.  While doing this
303
303
    dnl we only have to keep exactly one list of the available catalogs
304
 
    dnl in configure.in.
 
304
    dnl in configure.ac.
305
305
    for lang in $ALL_LINGUAS; do
306
306
      GMOFILES="$GMOFILES $lang.gmo"
307
307
      POFILES="$POFILES $lang.po"
430
430
dnl
431
431
dnl Now the definitions that aclocal will find
432
432
dnl
433
 
ifdef(glib_configure_in,[],[
 
433
ifdef(glib_configure_ac,[],[
434
434
AC_DEFUN([AM_GLIB_GNU_GETTEXT],[GLIB_GNU_GETTEXT($@)])
435
435
AC_DEFUN([AM_GLIB_DEFINE_LOCALEDIR],[GLIB_DEFINE_LOCALEDIR($@)])
436
436
])dnl
455
455
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
456
456
#
457
457
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
458
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
458
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
459
#                 Inc.
459
460
#   Written by Gordon Matzigkeit, 1996
460
461
#
461
462
# This file is free software; the Free Software Foundation gives
464
465
 
465
466
m4_define([_LT_COPYING], [dnl
466
467
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
467
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
468
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
469
#                 Inc.
468
470
#   Written by Gordon Matzigkeit, 1996
469
471
#
470
472
#   This file is part of GNU Libtool.
491
493
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
492
494
])
493
495
 
494
 
# serial 56 LT_INIT
 
496
# serial 57 LT_INIT
495
497
 
496
498
 
497
499
# LT_PREREQ(VERSION)
520
522
# ------------------
521
523
AC_DEFUN([LT_INIT],
522
524
[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
 
525
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
523
526
AC_BEFORE([$0], [LT_LANG])dnl
524
527
AC_BEFORE([$0], [LT_OUTPUT])dnl
525
528
AC_BEFORE([$0], [LTDL_INIT])dnl
536
539
AC_REQUIRE([LTOBSOLETE_VERSION])dnl
537
540
m4_require([_LT_PROG_LTMAIN])dnl
538
541
 
 
542
_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
 
543
 
539
544
dnl Parse OPTIONS
540
545
_LT_SET_OPTIONS([$0], [$1])
541
546
 
572
577
    *) break;;
573
578
  esac
574
579
done
575
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
580
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
576
581
])
577
582
 
578
583
 
592
597
m4_defun([_LT_SETUP],
593
598
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
594
599
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
600
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
 
601
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
 
602
 
595
603
_LT_DECL([], [host_alias], [0], [The host system])dnl
596
604
_LT_DECL([], [host], [0])dnl
597
605
_LT_DECL([], [host_os], [0])dnl
633
641
_LT_CHECK_OBJDIR
634
642
 
635
643
m4_require([_LT_TAG_COMPILER])dnl
636
 
_LT_PROG_ECHO_BACKSLASH
637
644
 
638
645
case $host_os in
639
646
aix3*)
647
654
  ;;
648
655
esac
649
656
 
650
 
# Sed substitution that helps us do robust quoting.  It backslashifies
651
 
# metacharacters that are still active within double-quoted strings.
652
 
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
653
 
 
654
 
# Same as above, but do not quote variable references.
655
 
double_quote_subst='s/\([["`\\]]\)/\\\1/g'
656
 
 
657
 
# Sed substitution to delay expansion of an escaped shell variable in a
658
 
# double_quote_subst'ed string.
659
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
660
 
 
661
 
# Sed substitution to delay expansion of an escaped single quote.
662
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
663
 
 
664
 
# Sed substitution to avoid accidental globbing in evaled expressions
665
 
no_glob_subst='s/\*/\\\*/g'
666
 
 
667
657
# Global variables:
668
658
ofile=libtool
669
659
can_build_shared=yes
704
694
])# _LT_SETUP
705
695
 
706
696
 
 
697
# _LT_PREPARE_SED_QUOTE_VARS
 
698
# --------------------------
 
699
# Define a few sed substitution that help us do robust quoting.
 
700
m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
 
701
[# Backslashify metacharacters that are still active within
 
702
# double-quoted strings.
 
703
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
 
704
 
 
705
# Same as above, but do not quote variable references.
 
706
double_quote_subst='s/\([["`\\]]\)/\\\1/g'
 
707
 
 
708
# Sed substitution to delay expansion of an escaped shell variable in a
 
709
# double_quote_subst'ed string.
 
710
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
711
 
 
712
# Sed substitution to delay expansion of an escaped single quote.
 
713
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
714
 
 
715
# Sed substitution to avoid accidental globbing in evaled expressions
 
716
no_glob_subst='s/\*/\\\*/g'
 
717
])
 
718
 
707
719
# _LT_PROG_LTMAIN
708
720
# ---------------
709
721
# Note that this code is called both from `configure', and `config.status'
856
868
# declaration there will have the same value as in `configure'.  VARNAME
857
869
# must have a single quote delimited value for this to work.
858
870
m4_define([_LT_CONFIG_STATUS_DECLARE],
859
 
[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
 
871
[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
860
872
 
861
873
 
862
874
# _LT_CONFIG_STATUS_DECLARATIONS
866
878
# embedded single quotes properly.  In configure, this macro expands
867
879
# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
868
880
#
869
 
#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
 
881
#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
870
882
m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
871
883
[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
872
884
    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
965
977
LTCFLAGS='$LTCFLAGS'
966
978
compiler='$compiler_DEFAULT'
967
979
 
 
980
# A function that is used when there is no print builtin or printf.
 
981
func_fallback_echo ()
 
982
{
 
983
  eval 'cat <<_LTECHO_EOF
 
984
\$[]1
 
985
_LTECHO_EOF'
 
986
}
 
987
 
968
988
# Quote evaled strings.
969
989
for var in lt_decl_all_varnames([[ \
970
990
]], lt_decl_quote_varnames); do
971
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
991
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
972
992
    *[[\\\\\\\`\\"\\\$]]*)
973
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
993
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
974
994
      ;;
975
995
    *)
976
996
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
981
1001
# Double-quote double-evaled strings.
982
1002
for var in lt_decl_all_varnames([[ \
983
1003
]], lt_decl_dquote_varnames); do
984
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
1004
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
985
1005
    *[[\\\\\\\`\\"\\\$]]*)
986
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
1006
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
987
1007
      ;;
988
1008
    *)
989
1009
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
991
1011
    esac
992
1012
done
993
1013
 
994
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
995
 
case \$lt_ECHO in
996
 
*'\\\[$]0 --fallback-echo"')dnl "
997
 
  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
998
 
  ;;
999
 
esac
1000
 
 
1001
1014
_LT_OUTPUT_LIBTOOL_INIT
1002
1015
])
1003
1016
 
 
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
 
1031
[lt_write_fail=0
 
1032
cat >$1 <<_ASEOF || lt_write_fail=1
 
1033
#! $SHELL
 
1034
# Generated by $as_me.
 
1035
$2
 
1036
SHELL=\${CONFIG_SHELL-$SHELL}
 
1037
export SHELL
 
1038
_ASEOF
 
1039
cat >>$1 <<\_ASEOF || lt_write_fail=1
 
1040
AS_SHELL_SANITIZE
 
1041
_AS_PREPARE
 
1042
exec AS_MESSAGE_FD>&1
 
1043
_ASEOF
 
1044
test $lt_write_fail = 0 && chmod +x $1[]dnl
 
1045
m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
1004
1046
 
1005
1047
# LT_OUTPUT
1006
1048
# ---------
1010
1052
AC_DEFUN([LT_OUTPUT],
1011
1053
[: ${CONFIG_LT=./config.lt}
1012
1054
AC_MSG_NOTICE([creating $CONFIG_LT])
1013
 
cat >"$CONFIG_LT" <<_LTEOF
1014
 
#! $SHELL
1015
 
# Generated by $as_me.
1016
 
# Run this file to recreate a libtool stub with the current configuration.
 
1055
_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
 
1056
[# Run this file to recreate a libtool stub with the current configuration.])
1017
1057
 
 
1058
cat >>"$CONFIG_LT" <<\_LTEOF
1018
1059
lt_cl_silent=false
1019
 
SHELL=\${CONFIG_SHELL-$SHELL}
1020
 
_LTEOF
1021
 
 
1022
 
cat >>"$CONFIG_LT" <<\_LTEOF
1023
 
AS_SHELL_SANITIZE
1024
 
_AS_PREPARE
1025
 
 
1026
 
exec AS_MESSAGE_FD>&1
1027
1060
exec AS_MESSAGE_LOG_FD>>config.log
1028
1061
{
1029
1062
  echo
1049
1082
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
1050
1083
configured by $[0], generated by m4_PACKAGE_STRING.
1051
1084
 
1052
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
1085
Copyright (C) 2010 Free Software Foundation, Inc.
1053
1086
This config.lt script is free software; the Free Software Foundation
1054
1087
gives unlimited permision to copy, distribute and modify it."
1055
1088
 
1094
1127
# appending to config.log, which fails on DOS, as config.log is still kept
1095
1128
# open by configure.  Here we exec the FD to /dev/null, effectively closing
1096
1129
# config.log, so it can be properly (re)opened and appended to by config.lt.
1097
 
if test "$no_create" != yes; then
1098
 
  lt_cl_success=:
1099
 
  test "$silent" = yes &&
1100
 
    lt_config_lt_args="$lt_config_lt_args --quiet"
1101
 
  exec AS_MESSAGE_LOG_FD>/dev/null
1102
 
  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
1103
 
  exec AS_MESSAGE_LOG_FD>>config.log
1104
 
  $lt_cl_success || AS_EXIT(1)
1105
 
fi
 
1130
lt_cl_success=:
 
1131
test "$silent" = yes &&
 
1132
  lt_config_lt_args="$lt_config_lt_args --quiet"
 
1133
exec AS_MESSAGE_LOG_FD>/dev/null
 
1134
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
 
1135
exec AS_MESSAGE_LOG_FD>>config.log
 
1136
$lt_cl_success || AS_EXIT(1)
1106
1137
])# LT_OUTPUT
1107
1138
 
1108
1139
 
1279
1310
AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
1280
1311
AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
1281
1312
AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
 
1313
AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
1282
1314
dnl aclocal-1.4 backwards compatibility:
1283
1315
dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
1284
1316
dnl AC_DEFUN([AC_LIBTOOL_F77], [])
1285
1317
dnl AC_DEFUN([AC_LIBTOOL_FC], [])
1286
1318
dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
 
1319
dnl AC_DEFUN([AC_LIBTOOL_RC], [])
1287
1320
 
1288
1321
 
1289
1322
# _LT_TAG_COMPILER
1388
1421
        [lt_cv_ld_exported_symbols_list=no])
1389
1422
        LDFLAGS="$save_LDFLAGS"
1390
1423
    ])
 
1424
    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
 
1425
      [lt_cv_ld_force_load=no
 
1426
      cat > conftest.c << _LT_EOF
 
1427
int forced_loaded() { return 2;}
 
1428
_LT_EOF
 
1429
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
 
1430
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
 
1431
      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
 
1432
      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
 
1433
      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
 
1434
      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
 
1435
      cat > conftest.c << _LT_EOF
 
1436
int main() { return 0;}
 
1437
_LT_EOF
 
1438
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
 
1439
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
1440
      _lt_result=$?
 
1441
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
1442
        lt_cv_ld_force_load=yes
 
1443
      else
 
1444
        cat conftest.err >&AS_MESSAGE_LOG_FD
 
1445
      fi
 
1446
        rm -f conftest.err libconftest.a conftest conftest.c
 
1447
        rm -rf conftest.dSYM
 
1448
    ])
1391
1449
    case $host_os in
1392
1450
    rhapsody* | darwin1.[[012]])
1393
1451
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
1415
1473
    else
1416
1474
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
1417
1475
    fi
1418
 
    if test "$DSYMUTIL" != ":"; then
 
1476
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
1419
1477
      _lt_dsymutil='~$DSYMUTIL $lib || :'
1420
1478
    else
1421
1479
      _lt_dsymutil=
1435
1493
  _LT_TAGVAR(hardcode_direct, $1)=no
1436
1494
  _LT_TAGVAR(hardcode_automatic, $1)=yes
1437
1495
  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
1438
 
  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 
1496
  if test "$lt_cv_ld_force_load" = "yes"; then
 
1497
    _LT_TAGVAR(whole_archive_flag_spec, $1)='`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience ${wl}-force_load,$conv\"; done; func_echo_all \"$new_convenience\"`'
 
1498
  else
 
1499
    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 
1500
  fi
1439
1501
  _LT_TAGVAR(link_all_deplibs, $1)=yes
1440
1502
  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
1441
1503
  case $cc_basename in
1443
1505
     *) _lt_dar_can_shared=$GCC ;;
1444
1506
  esac
1445
1507
  if test "$_lt_dar_can_shared" = "yes"; then
1446
 
    output_verbose_link_cmd=echo
 
1508
    output_verbose_link_cmd=func_echo_all
1447
1509
    _LT_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}"
1448
1510
    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
1449
1511
    _LT_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}"
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)])
1495
 
$1
1496
 
AC_DIVERT_POP
1497
 
])# _LT_SHELL_INIT
 
1554
[m4_divert_text([M4SH-INIT], [$1
 
1555
])])# _LT_SHELL_INIT
 
1556
 
1498
1557
 
1499
1558
 
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],
1505
 
[_LT_SHELL_INIT([
1506
 
# Check that we are running under the correct shell.
1507
 
SHELL=${CONFIG_SHELL-/bin/sh}
1508
 
 
1509
 
case X$lt_ECHO in
1510
 
X*--fallback-echo)
1511
 
  # Remove one level of quotation (which was required for Make).
1512
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
1513
 
  ;;
 
1566
[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
1567
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
1568
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
1569
 
 
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
 
1574
  ECHO='print -r --'
 
1575
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
1576
  ECHO='printf %s\n'
 
1577
else
 
1578
  # Use this function as a fallback that always works.
 
1579
  func_fallback_echo ()
 
1580
  {
 
1581
    eval 'cat <<_LTECHO_EOF
 
1582
$[]1
 
1583
_LTECHO_EOF'
 
1584
  }
 
1585
  ECHO='func_fallback_echo'
 
1586
fi
 
1587
 
 
1588
# func_echo_all arg...
 
1589
# Invoke $ECHO with all args, space-separated.
 
1590
func_echo_all ()
 
1591
{
 
1592
    $ECHO "$*" 
 
1593
}
 
1594
 
 
1595
case "$ECHO" in
 
1596
  printf*) AC_MSG_RESULT([printf]) ;;
 
1597
  print*) AC_MSG_RESULT([print -r]) ;;
 
1598
  *) AC_MSG_RESULT([cat]) ;;
1514
1599
esac
1515
1600
 
1516
 
ECHO=${lt_ECHO-echo}
1517
 
if test "X[$]1" = X--no-reexec; then
1518
 
  # Discard the --no-reexec flag, and continue.
1519
 
  shift
1520
 
elif test "X[$]1" = X--fallback-echo; then
1521
 
  # Avoid inline document here, it may be left over
1522
 
  :
1523
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
1524
 
  # Yippee, $ECHO works!
1525
 
  :
1526
 
else
1527
 
  # Restart under the correct shell.
1528
 
  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
1529
 
fi
1530
 
 
1531
 
if test "X[$]1" = X--fallback-echo; then
1532
 
  # used as fallback echo
1533
 
  shift
1534
 
  cat <<_LT_EOF
1535
 
[$]*
1536
 
_LT_EOF
1537
 
  exit 0
1538
 
fi
1539
 
 
1540
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
1541
 
# if CDPATH is set.
1542
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
1543
 
 
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
1551
 
      then
1552
 
        break
1553
 
      fi
1554
 
    done
1555
 
  fi
1556
 
 
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
1560
 
    :
1561
 
  else
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'
1565
 
    #
1566
 
    # So, first we look for a working echo in the user's PATH.
1567
 
 
1568
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
1569
 
    for dir in $PATH /usr/ucb; do
1570
 
      IFS="$lt_save_ifs"
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
1575
 
        ECHO="$dir/echo"
1576
 
        break
1577
 
      fi
1578
 
    done
1579
 
    IFS="$lt_save_ifs"
1580
 
 
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.
1587
 
        ECHO='print -r'
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
1594
 
        export CONFIG_SHELL
1595
 
        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
1596
 
      else
1597
 
        # Try using printf.
1598
 
        ECHO='printf %s\n'
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
1603
 
          :
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
1609
 
          export CONFIG_SHELL
1610
 
          SHELL="$CONFIG_SHELL"
1611
 
          export 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"
1618
 
        else
1619
 
          # maybe with a smaller string...
1620
 
          prev=:
1621
 
 
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
1624
 
            then
1625
 
              break
1626
 
            fi
1627
 
            prev="$cmd"
1628
 
          done
1629
 
 
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+"[$]@"}
1634
 
          else
1635
 
            # Oops.  We lost completely, so just stick with echo.
1636
 
            ECHO=echo
1637
 
          fi
1638
 
        fi
1639
 
      fi
1640
 
    fi
1641
 
  fi
1642
 
fi
1643
 
 
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.
1646
 
lt_ECHO=$ECHO
1647
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
1648
 
   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
1649
 
fi
1650
 
 
1651
 
AC_SUBST(lt_ECHO)
1652
 
])
 
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" )])])
 
1610
 
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
1657
1614
 
1658
1615
 
1684
1641
  ;;
1685
1642
*-*-irix6*)
1686
1643
  # Find out which ABI we are using.
1687
 
  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
1644
  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
1688
1645
  if AC_TRY_EVAL(ac_compile); then
1689
1646
    if test "$lt_cv_prog_gnu_ld" = yes; then
1690
1647
      case `/usr/bin/file conftest.$ac_objext` in
1836
1793
  esac
1837
1794
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
1838
1795
fi
 
1796
 
 
1797
case $host_os in
 
1798
  darwin*)
 
1799
    lock_old_archive_extraction=yes ;;
 
1800
  *)
 
1801
    lock_old_archive_extraction=no ;;
 
1802
esac
1839
1803
_LT_DECL([], [old_postinstall_cmds], [2])
1840
1804
_LT_DECL([], [old_postuninstall_cmds], [2])
1841
1805
_LT_TAGDECL([], [old_archive_cmds], [2],
1842
1806
    [Commands used to build an old-style archive])
 
1807
_LT_DECL([], [lock_old_archive_extraction], [0],
 
1808
    [Whether to use a lock for old archive extraction])
1843
1809
])# _LT_CMD_OLD_ARCHIVE
1844
1810
 
1845
1811
 
1864
1830
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1865
1831
   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
1866
1832
   -e 's:$: $lt_compiler_flag:'`
1867
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
1833
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
1868
1834
   (eval "$lt_compile" 2>conftest.err)
1869
1835
   ac_status=$?
1870
1836
   cat conftest.err >&AS_MESSAGE_LOG_FD
1871
 
   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
1837
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
1872
1838
   if (exit $ac_status) && test -s "$ac_outfile"; then
1873
1839
     # The compiler can only warn and ignore the option if not recognized
1874
1840
     # So say no if there are warnings other than the usual output.
1875
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
1841
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
1876
1842
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1877
1843
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
1878
1844
       $2=yes
1912
1878
     if test -s conftest.err; then
1913
1879
       # Append any errors to the config.log.
1914
1880
       cat conftest.err 1>&AS_MESSAGE_LOG_FD
1915
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
1881
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
1916
1882
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
1917
1883
       if diff conftest.exp conftest.er2 >/dev/null; then
1918
1884
         $2=yes
1975
1941
    lt_cv_sys_max_cmd_len=8192;
1976
1942
    ;;
1977
1943
 
 
1944
  mint*)
 
1945
    # On MiNT this can take a long time and run out of memory.
 
1946
    lt_cv_sys_max_cmd_len=8192;
 
1947
    ;;
 
1948
 
1978
1949
  amigaos*)
1979
1950
    # On AmigaOS with pdksh, this test takes hours, literally.
1980
1951
    # So we just punt and use a minimum line length of 8192.
2039
2010
      # If test is not a shell built-in, we'll probably end up computing a
2040
2011
      # maximum length that is only half of the actual maximum length, but
2041
2012
      # we can't tell.
2042
 
      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
2043
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
2013
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
2014
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
2044
2015
              test $i != 17 # 1/2 MB should be enough
2045
2016
      do
2046
2017
        i=`expr $i + 1`
2091
2062
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
2092
2063
  lt_status=$lt_dlunknown
2093
2064
  cat > conftest.$ac_ext <<_LT_EOF
2094
 
[#line __oline__ "configure"
 
2065
[#line $LINENO "configure"
2095
2066
#include "confdefs.h"
2096
2067
 
2097
2068
#if HAVE_DLFCN_H
2132
2103
#  endif
2133
2104
#endif
2134
2105
 
2135
 
void fnord() { int i=42;}
 
2106
/* When -fvisbility=hidden is used, assume the code has been annotated
 
2107
   correspondingly for the symbols needed.  */
 
2108
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
2109
void fnord () __attribute__((visibility("default")));
 
2110
#endif
 
2111
 
 
2112
void fnord () { int i=42; }
2136
2113
int main ()
2137
2114
{
2138
2115
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
2141
2118
  if (self)
2142
2119
    {
2143
2120
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
2144
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
2121
      else
 
2122
        {
 
2123
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
2124
          else puts (dlerror ());
 
2125
        }
2145
2126
      /* dlclose (self); */
2146
2127
    }
2147
2128
  else
2317
2298
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
2318
2299
   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
2319
2300
   -e 's:$: $lt_compiler_flag:'`
2320
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
2301
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
2321
2302
   (eval "$lt_compile" 2>out/conftest.err)
2322
2303
   ac_status=$?
2323
2304
   cat out/conftest.err >&AS_MESSAGE_LOG_FD
2324
 
   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
2305
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
2325
2306
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
2326
2307
   then
2327
2308
     # The compiler can only warn and ignore the option if not recognized
2328
2309
     # So say no if there are warnings
2329
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
2310
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
2330
2311
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
2331
2312
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
2332
2313
       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
2485
2466
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
2486
2467
m4_require([_LT_DECL_OBJDUMP])dnl
2487
2468
m4_require([_LT_DECL_SED])dnl
 
2469
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
2488
2470
AC_MSG_CHECKING([dynamic linker characteristics])
2489
2471
m4_if([$1],
2490
2472
        [], [
2493
2475
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
2494
2476
    *) lt_awk_arg="/^libraries:/" ;;
2495
2477
  esac
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
 
2478
  case $host_os in
 
2479
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
 
2480
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
2481
  esac
 
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
 
2484
  *\;*)
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'`
2503
 
  else
2504
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
2505
 
  fi
 
2489
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
2490
    ;;
 
2491
  *)
 
2492
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
2493
    ;;
 
2494
  esac
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=
2515
2504
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
2516
2505
    fi
2517
2506
  done
2518
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
2507
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
2519
2508
BEGIN {RS=" "; FS="/|\n";} {
2520
2509
  lt_foo="";
2521
2510
  lt_count=0;
2535
2524
  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
2536
2525
  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
2537
2526
}'`
2538
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
2527
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
2528
  # for these hosts.
 
2529
  case $host_os in
 
2530
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
2531
      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
 
2532
  esac
 
2533
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
2539
2534
else
2540
2535
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
2541
2536
fi])
2623
2618
  m68k)
2624
2619
    library_names_spec='$libname.ixlibrary $libname.a'
2625
2620
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
2626
 
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
 
2621
    finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`func_echo_all "$lib" | $SED '\''s%^.*/\([[^/]]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
2627
2622
    ;;
2628
2623
  esac
2629
2624
  ;;
2676
2671
    cygwin*)
2677
2672
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
2678
2673
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2679
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
2674
m4_if([$1], [],[
 
2675
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
2680
2676
      ;;
2681
2677
    mingw* | cegcc*)
2682
2678
      # MinGW DLLs use traditional 'lib' prefix
2683
2679
      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
2684
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
2685
 
      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
2686
 
        # It is most probably a Windows format PATH printed by
2687
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
2688
 
        # path with ; separators, and with drive letters. We can handle the
2689
 
        # drive letters (cygwin fileutils understands them), so leave them,
2690
 
        # especially as we might pass files found there to a mingw objdump,
2691
 
        # which wouldn't understand a cygwinified path. Ahh.
2692
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
2693
 
      else
2694
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
2695
 
      fi
2696
2680
      ;;
2697
2681
    pw32*)
2698
2682
      # pw32 DLLs use 'pw' prefix rather than 'lib'
2792
2776
  hardcode_into_libs=yes
2793
2777
  ;;
2794
2778
 
 
2779
haiku*)
 
2780
  version_type=linux
 
2781
  need_lib_prefix=no
 
2782
  need_version=no
 
2783
  dynamic_linker="$host_os runtime_loader"
 
2784
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
2785
  soname_spec='${libname}${release}${shared_ext}$major'
 
2786
  shlibpath_var=LIBRARY_PATH
 
2787
  shlibpath_overrides_runpath=yes
 
2788
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
2789
  hardcode_into_libs=yes
 
2790
  ;;
 
2791
 
2795
2792
hpux9* | hpux10* | hpux11*)
2796
2793
  # Give a soname corresponding to the major version so that dld.sl refuses to
2797
2794
  # link against other versions.
2834
2831
    soname_spec='${libname}${release}${shared_ext}$major'
2835
2832
    ;;
2836
2833
  esac
2837
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
2834
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
2838
2835
  postinstall_cmds='chmod 555 $lib'
 
2836
  # or fails outright, so override atomically:
 
2837
  install_override_mode=555
2839
2838
  ;;
2840
2839
 
2841
2840
interix[[3-9]]*)
2893
2892
  ;;
2894
2893
 
2895
2894
# This must be Linux ELF.
2896
 
linux* | k*bsd*-gnu)
 
2895
linux* | k*bsd*-gnu | kopensolaris*-gnu)
2897
2896
  version_type=linux
2898
2897
  need_lib_prefix=no
2899
2898
  need_version=no
2902
2901
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
2903
2902
  shlibpath_var=LD_LIBRARY_PATH
2904
2903
  shlibpath_overrides_runpath=no
 
2904
 
2905
2905
  # Some binutils ld are patched to set DT_RUNPATH
2906
 
  save_LDFLAGS=$LDFLAGS
2907
 
  save_libdir=$libdir
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
2914
 
  libdir=$save_libdir
 
2906
  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
 
2907
    [lt_cv_shlibpath_overrides_runpath=no
 
2908
    save_LDFLAGS=$LDFLAGS
 
2909
    save_libdir=$libdir
 
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
 
2916
    libdir=$save_libdir
 
2917
    ])
 
2918
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
2915
2919
 
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
2920
2924
 
 
2925
  # Add ABI-specific directories to the system library path.
 
2926
  sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
 
2927
 
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"
 
2932
 
2925
2933
  fi
2926
2934
 
2927
2935
  # We used to test for /lib/ld.so.1 and disable shared libraries on
3153
3161
    The last name is the one that the linker finds with -lNAME]])
3154
3162
_LT_DECL([], [soname_spec], [1],
3155
3163
    [[The coded name of the library, if different from the real name]])
 
3164
_LT_DECL([], [install_override_mode], [1],
 
3165
    [Permission mode override for installation of shared libraries])
3156
3166
_LT_DECL([], [postinstall_cmds], [2],
3157
3167
    [Command to use after installation of a shared archive])
3158
3168
_LT_DECL([], [postuninstall_cmds], [2],
3265
3275
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
3266
3276
m4_require([_LT_DECL_SED])dnl
3267
3277
m4_require([_LT_DECL_EGREP])dnl
 
3278
m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
3268
3279
 
3269
3280
AC_ARG_WITH([gnu-ld],
3270
3281
    [AS_HELP_STRING([--with-gnu-ld],
3394
3405
    fi
3395
3406
    ;;
3396
3407
esac
3397
 
_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
3398
 
_LT_DECL([], [reload_cmds], [2])dnl
 
3408
_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
 
3409
_LT_TAGDECL([], [reload_cmds], [2])dnl
3399
3410
])# _LT_CMD_RELOAD
3400
3411
 
3401
3412
 
3447
3458
  # Base MSYS/MinGW do not provide the 'file' command needed by
3448
3459
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
3449
3460
  # unless we find 'file', for example because we are cross-compiling.
3450
 
  if ( file / ) >/dev/null 2>&1; then
 
3461
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
3462
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
3451
3463
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
3452
3464
    lt_cv_file_magic_cmd='func_win32_libid'
3453
3465
  else
3454
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
3466
    # Keep this pattern in sync with the one in func_win32_libid.
 
3467
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
3455
3468
    lt_cv_file_magic_cmd='$OBJDUMP -f'
3456
3469
  fi
3457
3470
  ;;
3458
3471
 
3459
 
cegcc)
 
3472
cegcc*)
3460
3473
  # use the weaker test based on 'objdump'. See mingw*.
3461
3474
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
3462
3475
  lt_cv_file_magic_cmd='$OBJDUMP -f'
3486
3499
  lt_cv_deplibs_check_method=pass_all
3487
3500
  ;;
3488
3501
 
 
3502
haiku*)
 
3503
  lt_cv_deplibs_check_method=pass_all
 
3504
  ;;
 
3505
 
3489
3506
hpux10.20* | hpux11*)
3490
3507
  lt_cv_file_magic_cmd=/usr/bin/file
3491
3508
  case $host_cpu in
3494
3511
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
3495
3512
    ;;
3496
3513
  hppa*64*)
3497
 
    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]']
 
3514
    [lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF[ -][0-9][0-9])(-bit)?( [LM]SB)? shared object( file)?[, -]* PA-RISC [0-9]\.[0-9]']
3498
3515
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
3499
3516
    ;;
3500
3517
  *)
3501
 
    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
 
3518
    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
3502
3519
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
3503
3520
    ;;
3504
3521
  esac
3520
3537
  ;;
3521
3538
 
3522
3539
# This must be Linux ELF.
3523
 
linux* | k*bsd*-gnu)
 
3540
linux* | k*bsd*-gnu | kopensolaris*-gnu)
3524
3541
  lt_cv_deplibs_check_method=pass_all
3525
3542
  ;;
3526
3543
 
3662
3679
  NM="$lt_cv_path_NM"
3663
3680
else
3664
3681
  # Didn't find any BSD compatible name lister, look for dumpbin.
3665
 
  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
 
3682
  if test -n "$DUMPBIN"; then :
 
3683
    # Let the user override the test.
 
3684
  else
 
3685
    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
 
3686
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
3687
    *COFF*)
 
3688
      DUMPBIN="$DUMPBIN -symbols"
 
3689
      ;;
 
3690
    *)
 
3691
      DUMPBIN=:
 
3692
      ;;
 
3693
    esac
 
3694
  fi
3666
3695
  AC_SUBST([DUMPBIN])
3667
3696
  if test "$DUMPBIN" != ":"; then
3668
3697
    NM="$DUMPBIN"
3675
3704
AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
3676
3705
  [lt_cv_nm_interface="BSD nm"
3677
3706
  echo "int some_variable = 0;" > conftest.$ac_ext
3678
 
  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
 
3707
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
3679
3708
  (eval "$ac_compile" 2>conftest.err)
3680
3709
  cat conftest.err >&AS_MESSAGE_LOG_FD
3681
 
  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
 
3710
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
3682
3711
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
3683
3712
  cat conftest.err >&AS_MESSAGE_LOG_FD
3684
 
  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
 
3713
  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
3685
3714
  cat conftest.out >&AS_MESSAGE_LOG_FD
3686
3715
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
3687
3716
    lt_cv_nm_interface="MS dumpbin"
3704
3733
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3705
3734
LIBM=
3706
3735
case $host in
3707
 
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
3736
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
3708
3737
  # These system don't have libm, or don't need it
3709
3738
  ;;
3710
3739
*-ncr-sysv4.3*)
3732
3761
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
3733
3762
 
3734
3763
if test "$GCC" = yes; then
3735
 
  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
3764
  case $cc_basename in
 
3765
  nvcc*)
 
3766
    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
 
3767
  *)
 
3768
    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
 
3769
  esac
3736
3770
 
3737
3771
  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
3738
3772
    lt_cv_prog_compiler_rtti_exceptions,
3749
3783
m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
3750
3784
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
3751
3785
AC_REQUIRE([AC_PROG_CC])dnl
 
3786
AC_REQUIRE([AC_PROG_AWK])dnl
3752
3787
AC_REQUIRE([LT_PATH_NM])dnl
3753
3788
AC_REQUIRE([LT_PATH_LD])dnl
3754
3789
m4_require([_LT_DECL_SED])dnl
3874
3909
  if AC_TRY_EVAL(ac_compile); then
3875
3910
    # Now try to grab the symbols.
3876
3911
    nlist=conftest.nm
3877
 
    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
 
3912
    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
3878
3913
      # Try sorting and uniquifying the output.
3879
3914
      if sort "$nlist" | uniq > "$nlist"T; then
3880
3915
        mv -f "$nlist"T "$nlist"
4036
4071
      # DJGPP does not support shared libraries at all
4037
4072
      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4038
4073
      ;;
 
4074
    haiku*)
 
4075
      # PIC is the default for Haiku.
 
4076
      # The "-static" flag exists, but is broken.
 
4077
      _LT_TAGVAR(lt_prog_compiler_static, $1)=
 
4078
      ;;
4039
4079
    interix[[3-9]]*)
4040
4080
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
4041
4081
      # Instead, we relocate shared libraries at runtime.
4141
4181
            ;;
4142
4182
        esac
4143
4183
        ;;
4144
 
      linux* | k*bsd*-gnu)
 
4184
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
4145
4185
        case $cc_basename in
4146
4186
          KCC*)
4147
4187
            # KAI C++ Compiler
4174
4214
            _LT_TAGVAR(lt_prog_compiler_pic, $1)=
4175
4215
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4176
4216
            ;;
4177
 
          xlc* | xlC*)
4178
 
            # IBM XL 8.0 on PPC
 
4217
          xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
 
4218
            # IBM XL 8.0, 9.0 on PPC and BlueGene
4179
4219
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4180
4220
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
4181
4221
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
4237
4277
        ;;
4238
4278
      solaris*)
4239
4279
        case $cc_basename in
4240
 
          CC*)
 
4280
          CC* | sunCC*)
4241
4281
            # Sun C++ 4.2, 5.x and Centerline C++
4242
4282
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4243
4283
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4341
4381
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
4342
4382
      ;;
4343
4383
 
 
4384
    haiku*)
 
4385
      # PIC is the default for Haiku.
 
4386
      # The "-static" flag exists, but is broken.
 
4387
      _LT_TAGVAR(lt_prog_compiler_static, $1)=
 
4388
      ;;
 
4389
 
4344
4390
    hpux*)
4345
4391
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
4346
4392
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
4383
4429
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
4384
4430
      ;;
4385
4431
    esac
 
4432
 
 
4433
    case $cc_basename in
 
4434
    nvcc*) # Cuda Compiler Driver 2.2
 
4435
      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
 
4436
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
 
4437
      ;;
 
4438
    esac
4386
4439
  else
4387
4440
    # PORTME Check for flag to pass linker flags through the system compiler.
4388
4441
    case $host_os in
4425
4478
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4426
4479
      ;;
4427
4480
 
4428
 
    linux* | k*bsd*-gnu)
 
4481
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
4429
4482
      case $cc_basename in
4430
4483
      # old Intel for x86_64 which still supported -KPIC.
4431
4484
      ecc*)
4446
4499
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
4447
4500
        _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
4448
4501
        ;;
4449
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
4502
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
4450
4503
        # Portland Group compilers (*not* the Pentium gcc compiler,
4451
4504
        # which looks to be a dead project)
4452
4505
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
4458
4511
        # All Alpha code is PIC.
4459
4512
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
4460
4513
        ;;
4461
 
      xl*)
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'
4466
4519
        ;;
4467
4520
      *)
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)=''
 
4527
          ;;
4469
4528
        *Sun\ C*)
4470
4529
          # Sun C 5.9
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,'
4474
4533
          ;;
4475
 
        *Sun\ F*)
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)=''
4480
 
          ;;
4481
4534
        esac
4482
4535
        ;;
4483
4536
      esac
4508
4561
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
4509
4562
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
4510
4563
      case $cc_basename in
4511
 
      f77* | f90* | f95*)
 
4564
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
4512
4565
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
4513
4566
      *)
4514
4567
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
4618
4671
  aix[[4-9]]*)
4619
4672
    # If we're using GNU nm, then we don't want the "-C" option.
4620
4673
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
4674
    # Also, AIX nm treats weak defined symbols like other global defined
 
4675
    # symbols, whereas GNU nm marks them as "W".
4621
4676
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4622
 
      _LT_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'
 
4677
      _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4623
4678
    else
4624
4679
      _LT_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'
4625
4680
    fi
4697
4752
  esac
4698
4753
 
4699
4754
  _LT_TAGVAR(ld_shlibs, $1)=yes
 
4755
 
 
4756
  # On some targets, GNU ld is compatible enough with the native linker
 
4757
  # that we're better off using the native interface for both.
 
4758
  lt_use_gnu_ld_interface=no
4700
4759
  if test "$with_gnu_ld" = yes; then
 
4760
    case $host_os in
 
4761
      aix*)
 
4762
        # The AIX port of GNU ld has always aspired to compatibility
 
4763
        # with the native linker.  However, as the warning in the GNU ld
 
4764
        # block says, versions before 2.19.5* couldn't really create working
 
4765
        # shared libraries, regardless of the interface used.
 
4766
        case `$LD -v 2>&1` in
 
4767
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
4768
          *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
 
4769
          *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
 
4770
          *)
 
4771
            lt_use_gnu_ld_interface=yes
 
4772
            ;;
 
4773
        esac
 
4774
        ;;
 
4775
      *)
 
4776
        lt_use_gnu_ld_interface=yes
 
4777
        ;;
 
4778
    esac
 
4779
  fi
 
4780
 
 
4781
  if test "$lt_use_gnu_ld_interface" = yes; then
4701
4782
    # If archive_cmds runs LD, not CC, wlarc should be empty
4702
4783
    wlarc='${wl}'
4703
4784
 
4715
4796
    fi
4716
4797
    supports_anon_versioning=no
4717
4798
    case `$LD -v 2>&1` in
 
4799
      *GNU\ gold*) supports_anon_versioning=yes ;;
4718
4800
      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
4719
4801
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
4720
4802
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
4730
4812
        _LT_TAGVAR(ld_shlibs, $1)=no
4731
4813
        cat <<_LT_EOF 1>&2
4732
4814
 
4733
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
4815
*** Warning: the GNU linker, at least up to release 2.19, is reported
4734
4816
*** to be unable to reliably create shared libraries on AIX.
4735
4817
*** Therefore, libtool is disabling shared libraries support.  If you
4736
 
*** really care for shared libraries, you may want to modify your PATH
4737
 
*** so that a non-GNU linker is found, and then restart.
 
4818
*** really care for shared libraries, you may want to install binutils
 
4819
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
4820
*** You will then need to restart the configuration process.
4738
4821
 
4739
4822
_LT_EOF
4740
4823
      fi
4770
4853
      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
4771
4854
      # as there is no search path for DLLs.
4772
4855
      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
4856
      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
4773
4857
      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
4774
4858
      _LT_TAGVAR(always_export_symbols, $1)=no
4775
4859
      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
4791
4875
      fi
4792
4876
      ;;
4793
4877
 
 
4878
    haiku*)
 
4879
      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
4880
      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
4881
      ;;
 
4882
 
4794
4883
    interix[[3-9]]*)
4795
4884
      _LT_TAGVAR(hardcode_direct, $1)=no
4796
4885
      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
4806
4895
      _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
4807
4896
      ;;
4808
4897
 
4809
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
4898
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
4810
4899
      tmp_diet=no
4811
4900
      if test "$host_os" = linux-dietlibc; then
4812
4901
        case $cc_basename in
4820
4909
        tmp_sharedflag='-shared'
4821
4910
        case $cc_basename,$host_cpu in
4822
4911
        pgcc*)                          # Portland Group C compiler
4823
 
          _LT_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'
 
4912
          _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
4824
4913
          tmp_addflag=' $pic_flag'
4825
4914
          ;;
4826
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
4827
 
          _LT_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'
 
4915
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
4916
                                        # Portland Group f77 and f90 compilers
 
4917
          _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
4828
4918
          tmp_addflag=' $pic_flag -Mnomain' ;;
4829
4919
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
4830
4920
          tmp_addflag=' -i_dynamic' ;;
4835
4925
        lf95*)                          # Lahey Fortran 8.1
4836
4926
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
4837
4927
          tmp_sharedflag='--shared' ;;
4838
 
        xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
 
4928
        xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
4839
4929
          tmp_sharedflag='-qmkshrobj'
4840
4930
          tmp_addflag= ;;
 
4931
        nvcc*)  # Cuda Compiler Driver 2.2
 
4932
          _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
 
4933
          _LT_TAGVAR(compiler_needs_object, $1)=yes
 
4934
          ;;
4841
4935
        esac
4842
4936
        case `$CC -V 2>&1 | sed 5q` in
4843
4937
        *Sun\ C*)                       # Sun C 5.9
4844
 
          _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
4938
          _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
4845
4939
          _LT_TAGVAR(compiler_needs_object, $1)=yes
4846
4940
          tmp_sharedflag='-G' ;;
4847
4941
        *Sun\ F*)                       # Sun Fortran 8.3
4857
4951
        fi
4858
4952
 
4859
4953
        case $cc_basename in
4860
 
        xlf*)
 
4954
        xlf* | bgf* | bgxlf* | mpixlf*)
4861
4955
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
4862
4956
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
4863
4957
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
4864
4958
          _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
4865
 
          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
4959
          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
4866
4960
          if test "x$supports_anon_versioning" = xyes; then
4867
4961
            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
4868
4962
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
4869
4963
              echo "local: *; };" >> $output_objdir/$libname.ver~
4870
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
4964
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
4871
4965
          fi
4872
4966
          ;;
4873
4967
        esac
4988
5082
      else
4989
5083
        # If we're using GNU nm, then we don't want the "-C" option.
4990
5084
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
5085
        # Also, AIX nm treats weak defined symbols like other global
 
5086
        # defined symbols, whereas GNU nm marks them as "W".
4991
5087
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
4992
 
          _LT_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'
 
5088
          _LT_TAGVAR(export_symbols_cmds, $1)='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "W")) && ([substr](\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
4993
5089
        else
4994
5090
          _LT_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'
4995
5091
        fi
5078
5174
        # empty executable.
5079
5175
        _LT_SYS_MODULE_PATH_AIX
5080
5176
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
5081
 
        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
5177
        _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
5082
5178
      else
5083
5179
        if test "$host_cpu" = ia64; then
5084
5180
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
5093
5189
          # -berok will link without error, but may produce a broken library.
5094
5190
          _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
5095
5191
          _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
5096
 
          # Exported symbols can be pulled into shared objects from archives
5097
 
          _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
5192
          if test "$with_gnu_ld" = yes; then
 
5193
            # We only use this code for GNU lds that support --whole-archive.
 
5194
            _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
5195
          else
 
5196
            # Exported symbols can be pulled into shared objects from archives
 
5197
            _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
5198
          fi
5098
5199
          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5099
5200
          # This is similar to how AIX traditionally builds its shared libraries.
5100
5201
          _LT_TAGVAR(archive_expsym_cmds, $1)="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
5133
5234
      # Tell ltmain to make .dll files, not .so files.
5134
5235
      shrext_cmds=".dll"
5135
5236
      # FIXME: Setting linknames here is a bad hack.
5136
 
      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
5237
      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
5137
5238
      # The linker will automatically build a .lib file if we build a DLL.
5138
5239
      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
5139
5240
      # FIXME: Should let the user specify the lib program.
5200
5301
      ;;
5201
5302
 
5202
5303
    hpux10*)
5203
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
5304
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
5204
5305
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
5205
5306
      else
5206
5307
        _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
5219
5320
      ;;
5220
5321
 
5221
5322
    hpux11*)
5222
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
5323
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
5223
5324
        case $host_cpu in
5224
5325
        hppa*64*)
5225
5326
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
5240
5341
          _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
5241
5342
          ;;
5242
5343
        *)
5243
 
          _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
5344
        m4_if($1, [], [
 
5345
          # Older versions of the 11.00 compiler do not understand -b yet
 
5346
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
5347
          _LT_LINKER_OPTION([if $CC understands -b],
 
5348
            _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
 
5349
            [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
 
5350
            [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
 
5351
          [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
5244
5352
          ;;
5245
5353
        esac
5246
5354
      fi
5268
5376
 
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'
5279
5387
        )
5280
5388
        LDFLAGS="$save_LDFLAGS"
5281
5389
      else
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'
5284
5392
      fi
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'
5347
5455
      ;;
5348
5456
 
5349
5457
    osf3*)
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'
5353
5461
      else
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'
5356
5464
      fi
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'
5367
5475
      else
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'
5372
5480
 
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])
5563
 
      $RM conftest*
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),
 
5672
        [$RM conftest*
 
5673
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
5565
5674
 
5566
 
      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
5567
 
        soname=conftest
5568
 
        lib=conftest
5569
 
        libobjs=conftest.$ac_objext
5570
 
        deplibs=
5571
 
        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
5572
 
        pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
5573
 
        compiler_flags=-v
5574
 
        linker_flags=-v
5575
 
        verstring=
5576
 
        output_objdir=.
5577
 
        libname=conftest
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)
5581
 
        then
5582
 
          _LT_TAGVAR(archive_cmds_need_lc, $1)=no
5583
 
        else
5584
 
          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
5585
 
        fi
5586
 
        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
5587
 
      else
5588
 
        cat conftest.err 1>&5
5589
 
      fi
5590
 
      $RM conftest*
5591
 
      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
 
5675
        if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
 
5676
          soname=conftest
 
5677
          lib=conftest
 
5678
          libobjs=conftest.$ac_objext
 
5679
          deplibs=
 
5680
          wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
 
5681
          pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
 
5682
          compiler_flags=-v
 
5683
          linker_flags=-v
 
5684
          verstring=
 
5685
          output_objdir=.
 
5686
          libname=conftest
 
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)
 
5690
          then
 
5691
            lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
5692
          else
 
5693
            lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
5694
          fi
 
5695
          _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
 
5696
        else
 
5697
          cat conftest.err 1>&5
 
5698
        fi
 
5699
        $RM conftest*
 
5700
        ])
 
5701
      _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
5592
5702
      ;;
5593
5703
    esac
5594
5704
  fi
5754
5864
])# _LT_LANG_C_CONFIG
5755
5865
 
5756
5866
 
5757
 
# _LT_PROG_CXX
5758
 
# ------------
5759
 
# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
5760
 
# compiler, we have our own version here.
5761
 
m4_defun([_LT_PROG_CXX],
5762
 
[
5763
 
pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
5764
 
AC_PROG_CXX
 
5867
# _LT_LANG_CXX_CONFIG([TAG])
 
5868
# --------------------------
 
5869
# Ensure that the configuration variables for a C++ compiler are suitably
 
5870
# defined.  These variables are subsequently used by _LT_CONFIG to write
 
5871
# the compiler configuration to `libtool'.
 
5872
m4_defun([_LT_LANG_CXX_CONFIG],
 
5873
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
5874
m4_require([_LT_DECL_EGREP])dnl
5765
5875
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
5766
5876
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
5767
5877
    (test "X$CXX" != "Xg++"))) ; then
5769
5879
else
5770
5880
  _lt_caught_CXX_error=yes
5771
5881
fi
5772
 
popdef([AC_MSG_ERROR])
5773
 
])# _LT_PROG_CXX
5774
 
 
5775
 
dnl aclocal-1.4 backwards compatibility:
5776
 
dnl AC_DEFUN([_LT_PROG_CXX], [])
5777
 
 
5778
 
 
5779
 
# _LT_LANG_CXX_CONFIG([TAG])
5780
 
# --------------------------
5781
 
# Ensure that the configuration variables for a C++ compiler are suitably
5782
 
# defined.  These variables are subsequently used by _LT_CONFIG to write
5783
 
# the compiler configuration to `libtool'.
5784
 
m4_defun([_LT_LANG_CXX_CONFIG],
5785
 
[AC_REQUIRE([_LT_PROG_CXX])dnl
5786
 
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
5787
 
m4_require([_LT_DECL_EGREP])dnl
5788
5882
 
5789
5883
AC_LANG_PUSH(C++)
5790
5884
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
5806
5900
_LT_TAGVAR(module_expsym_cmds, $1)=
5807
5901
_LT_TAGVAR(link_all_deplibs, $1)=unknown
5808
5902
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
5903
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
5904
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
5809
5905
_LT_TAGVAR(no_undefined_flag, $1)=
5810
5906
_LT_TAGVAR(whole_archive_flag_spec, $1)=
5811
5907
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
5908
6004
      # Commands to make compiler produce verbose output that lists
5909
6005
      # what "hidden" libraries, object files and flags are used when
5910
6006
      # linking a shared library.
5911
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
6007
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
5912
6008
 
5913
6009
    else
5914
6010
      GXX=no
6020
6116
          _LT_SYS_MODULE_PATH_AIX
6021
6117
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6022
6118
 
6023
 
          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
 
6119
          _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
6024
6120
        else
6025
6121
          if test "$host_cpu" = ia64; then
6026
6122
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
6035
6131
            # -berok will link without error, but may produce a broken library.
6036
6132
            _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
6037
6133
            _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6038
 
            # Exported symbols can be pulled into shared objects from archives
6039
 
            _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
6134
            if test "$with_gnu_ld" = yes; then
 
6135
              # We only use this code for GNU lds that support --whole-archive.
 
6136
              _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
6137
            else
 
6138
              # Exported symbols can be pulled into shared objects from archives
 
6139
              _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
6140
            fi
6040
6141
            _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6041
6142
            # This is similar to how AIX traditionally builds its shared
6042
6143
            # libraries.
6069
6170
        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6070
6171
        # as there is no search path for DLLs.
6071
6172
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
6173
        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
6072
6174
        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6073
6175
        _LT_TAGVAR(always_export_symbols, $1)=no
6074
6176
        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6129
6231
      gnu*)
6130
6232
        ;;
6131
6233
 
 
6234
      haiku*)
 
6235
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
6236
        _LT_TAGVAR(link_all_deplibs, $1)=yes
 
6237
        ;;
 
6238
 
6132
6239
      hpux9*)
6133
6240
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
6134
6241
        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
6153
6260
            # explicitly linking system object files so we need to strip them
6154
6261
            # from the output so that they don't get included in the library
6155
6262
            # dependencies.
6156
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
6263
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $EGREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6157
6264
            ;;
6158
6265
          *)
6159
6266
            if test "$GXX" = yes; then
6218
6325
            # explicitly linking system object files so we need to strip them
6219
6326
            # from the output so that they don't get included in the library
6220
6327
            # dependencies.
6221
 
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
6328
            output_verbose_link_cmd='templist=`($CC -b $CFLAGS -v conftest.$objext 2>&1) | $GREP "\-L"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6222
6329
            ;;
6223
6330
          *)
6224
6331
            if test "$GXX" = yes; then
6261
6368
        case $cc_basename in
6262
6369
          CC*)
6263
6370
            # SGI C++
6264
 
            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
6371
            _LT_TAGVAR(archive_cmds, $1)='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
6265
6372
 
6266
6373
            # Archives containing C++ object files must be created using
6267
6374
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
6272
6379
          *)
6273
6380
            if test "$GXX" = yes; then
6274
6381
              if test "$with_gnu_ld" = no; then
6275
 
                _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
 
6382
                _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $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'
6276
6383
              else
6277
 
                _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` -o $lib'
 
6384
                _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
6278
6385
              fi
6279
6386
            fi
6280
6387
            _LT_TAGVAR(link_all_deplibs, $1)=yes
6285
6392
        _LT_TAGVAR(inherit_rpath, $1)=yes
6286
6393
        ;;
6287
6394
 
6288
 
      linux* | k*bsd*-gnu)
 
6395
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
6289
6396
        case $cc_basename in
6290
6397
          KCC*)
6291
6398
            # Kuck and Associates, Inc. (KAI) C++ Compiler
6303
6410
            # explicitly linking system object files so we need to strip them
6304
6411
            # from the output so that they don't get included in the library
6305
6412
            # dependencies.
6306
 
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
6413
            output_verbose_link_cmd='templist=`$CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1 | $GREP "ld"`; rm -f libconftest$shared_ext; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6307
6414
 
6308
6415
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
6309
6416
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
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'
6361
6468
              ;;
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'
6365
6472
              ;;
6367
6474
 
6368
6475
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
6369
6476
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6370
 
            _LT_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'
 
6477
            _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
6371
6478
            ;;
6372
6479
          cxx*)
6373
6480
            # Compaq C++
6386
6493
            # explicitly linking system object files so we need to strip them
6387
6494
            # from the output so that they don't get included in the library
6388
6495
            # dependencies.
6389
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
6496
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "X$list" | $Xsed'
6390
6497
            ;;
6391
 
          xl*)
 
6498
          xl* | mpixl* | bgxl*)
6392
6499
            # IBM XL 8.0 on PPC, with GNU ld
6393
6500
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6394
6501
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
6408
6515
              _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
6409
6516
              _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
6410
6517
              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
6411
 
              _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
 
6518
              _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; func_echo_all \"$new_convenience\"` ${wl}--no-whole-archive'
6412
6519
              _LT_TAGVAR(compiler_needs_object, $1)=yes
6413
6520
 
6414
6521
              # Not sure whether something based on
6415
6522
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
6416
6523
              # would be better.
6417
 
              output_verbose_link_cmd='echo'
 
6524
              output_verbose_link_cmd='func_echo_all'
6418
6525
 
6419
6526
              # Archives containing C++ object files must be created using
6420
6527
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
6483
6590
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
6484
6591
            _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6485
6592
          fi
6486
 
          output_verbose_link_cmd=echo
 
6593
          output_verbose_link_cmd=func_echo_all
6487
6594
        else
6488
6595
          _LT_TAGVAR(ld_shlibs, $1)=no
6489
6596
        fi
6518
6625
            case $host in
6519
6626
              osf3*)
6520
6627
                _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6521
 
                _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && $ECHO "X${wl}-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
6628
                _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && func_echo_all "${wl}-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
6522
6629
                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
6523
6630
                ;;
6524
6631
              *)
6525
6632
                _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
6526
 
                _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
 
6633
                _LT_TAGVAR(archive_cmds, $1)='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
6527
6634
                _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
6528
6635
                  echo "-hidden">> $lib.exp~
6529
 
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~
 
6636
                  $CC -shared$allow_undefined_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname ${wl}-input ${wl}$lib.exp  `test -n "$verstring" && $ECHO "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib~
6530
6637
                  $RM $lib.exp'
6531
6638
                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
6532
6639
                ;;
6542
6649
            # explicitly linking system object files so we need to strip them
6543
6650
            # from the output so that they don't get included in the library
6544
6651
            # dependencies.
6545
 
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`$ECHO "X$templist" | $Xsed -e "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; $ECHO "X$list" | $Xsed'
 
6652
            output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "ld" | $GREP -v "ld:"`; templist=`func_echo_all "$templist" | $SED "s/\(^.*ld.*\)\( .*ld.*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; func_echo_all "$list"'
6546
6653
            ;;
6547
6654
          *)
6548
6655
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
6549
6656
              _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
6550
6657
              case $host in
6551
6658
                osf3*)
6552
 
                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
 
6659
                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
6553
6660
                  ;;
6554
6661
                *)
6555
 
                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
6662
                  _LT_TAGVAR(archive_cmds, $1)='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $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'
6556
6663
                  ;;
6557
6664
              esac
6558
6665
 
6562
6669
              # Commands to make compiler produce verbose output that lists
6563
6670
              # what "hidden" libraries, object files and flags are used when
6564
6671
              # linking a shared library.
6565
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
6672
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6566
6673
 
6567
6674
            else
6568
6675
              # FIXME: insert proper C++ library support
6598
6705
 
6599
6706
      solaris*)
6600
6707
        case $cc_basename in
6601
 
          CC*)
 
6708
          CC* | sunCC*)
6602
6709
            # Sun C++ 4.2, 5.x and Centerline C++
6603
6710
            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
6604
6711
            _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
6619
6726
            esac
6620
6727
            _LT_TAGVAR(link_all_deplibs, $1)=yes
6621
6728
 
6622
 
            output_verbose_link_cmd='echo'
 
6729
            output_verbose_link_cmd='func_echo_all'
6623
6730
 
6624
6731
            # Archives containing C++ object files must be created using
6625
6732
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
6646
6753
                # Commands to make compiler produce verbose output that lists
6647
6754
                # what "hidden" libraries, object files and flags are used when
6648
6755
                # linking a shared library.
6649
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
6756
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6650
6757
              else
6651
6758
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
6652
6759
                # platform.
6657
6764
                # Commands to make compiler produce verbose output that lists
6658
6765
                # what "hidden" libraries, object files and flags are used when
6659
6766
                # linking a shared library.
6660
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
6767
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
6661
6768
              fi
6662
6769
 
6663
6770
              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
6711
6818
          CC*)
6712
6819
            _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6713
6820
            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
6821
            _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
 
6822
              '"$_LT_TAGVAR(old_archive_cmds, $1)"
 
6823
            _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
 
6824
              '"$_LT_TAGVAR(reload_cmds, $1)"
6714
6825
            ;;
6715
6826
          *)
6716
6827
            _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
6957
7068
 
6958
7069
solaris*)
6959
7070
  case $cc_basename in
6960
 
  CC*)
 
7071
  CC* | sunCC*)
6961
7072
    # The more standards-conforming stlport4 library is
6962
7073
    # incompatible with the Cstd library. Avoid specifying
6963
7074
    # it if it's in CXXFLAGS. Ignore libCrun as
7001
7112
])# _LT_SYS_HIDDEN_LIBDEPS
7002
7113
 
7003
7114
 
7004
 
# _LT_PROG_F77
7005
 
# ------------
7006
 
# Since AC_PROG_F77 is broken, in that it returns the empty string
7007
 
# if there is no fortran compiler, we have our own version here.
7008
 
m4_defun([_LT_PROG_F77],
7009
 
[
7010
 
pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
7011
 
AC_PROG_F77
7012
 
if test -z "$F77" || test "X$F77" = "Xno"; then
7013
 
  _lt_disable_F77=yes
7014
 
fi
7015
 
popdef([AC_MSG_ERROR])
7016
 
])# _LT_PROG_F77
7017
 
 
7018
 
dnl aclocal-1.4 backwards compatibility:
7019
 
dnl AC_DEFUN([_LT_PROG_F77], [])
7020
 
 
7021
 
 
7022
7115
# _LT_LANG_F77_CONFIG([TAG])
7023
7116
# --------------------------
7024
7117
# Ensure that the configuration variables for a Fortran 77 compiler are
7025
7118
# suitably defined.  These variables are subsequently used by _LT_CONFIG
7026
7119
# to write the compiler configuration to `libtool'.
7027
7120
m4_defun([_LT_LANG_F77_CONFIG],
7028
 
[AC_REQUIRE([_LT_PROG_F77])dnl
7029
 
AC_LANG_PUSH(Fortran 77)
 
7121
[AC_LANG_PUSH(Fortran 77)
 
7122
if test -z "$F77" || test "X$F77" = "Xno"; then
 
7123
  _lt_disable_F77=yes
 
7124
fi
7030
7125
 
7031
7126
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7032
7127
_LT_TAGVAR(allow_undefined_flag, $1)=
7045
7140
_LT_TAGVAR(module_expsym_cmds, $1)=
7046
7141
_LT_TAGVAR(link_all_deplibs, $1)=unknown
7047
7142
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
7143
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
7144
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7048
7145
_LT_TAGVAR(no_undefined_flag, $1)=
7049
7146
_LT_TAGVAR(whole_archive_flag_spec, $1)=
7050
7147
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7144
7241
])# _LT_LANG_F77_CONFIG
7145
7242
 
7146
7243
 
7147
 
# _LT_PROG_FC
7148
 
# -----------
7149
 
# Since AC_PROG_FC is broken, in that it returns the empty string
7150
 
# if there is no fortran compiler, we have our own version here.
7151
 
m4_defun([_LT_PROG_FC],
7152
 
[
7153
 
pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
7154
 
AC_PROG_FC
7155
 
if test -z "$FC" || test "X$FC" = "Xno"; then
7156
 
  _lt_disable_FC=yes
7157
 
fi
7158
 
popdef([AC_MSG_ERROR])
7159
 
])# _LT_PROG_FC
7160
 
 
7161
 
dnl aclocal-1.4 backwards compatibility:
7162
 
dnl AC_DEFUN([_LT_PROG_FC], [])
7163
 
 
7164
 
 
7165
7244
# _LT_LANG_FC_CONFIG([TAG])
7166
7245
# -------------------------
7167
7246
# Ensure that the configuration variables for a Fortran compiler are
7168
7247
# suitably defined.  These variables are subsequently used by _LT_CONFIG
7169
7248
# to write the compiler configuration to `libtool'.
7170
7249
m4_defun([_LT_LANG_FC_CONFIG],
7171
 
[AC_REQUIRE([_LT_PROG_FC])dnl
7172
 
AC_LANG_PUSH(Fortran)
 
7250
[AC_LANG_PUSH(Fortran)
 
7251
 
 
7252
if test -z "$FC" || test "X$FC" = "Xno"; then
 
7253
  _lt_disable_FC=yes
 
7254
fi
7173
7255
 
7174
7256
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7175
7257
_LT_TAGVAR(allow_undefined_flag, $1)=
7188
7270
_LT_TAGVAR(module_expsym_cmds, $1)=
7189
7271
_LT_TAGVAR(link_all_deplibs, $1)=unknown
7190
7272
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
7273
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
7274
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7191
7275
_LT_TAGVAR(no_undefined_flag, $1)=
7192
7276
_LT_TAGVAR(whole_archive_flag_spec, $1)=
7193
7277
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7333
7417
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7334
7418
 
7335
7419
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
7420
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
7421
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7336
7422
 
7337
7423
if test -n "$compiler"; then
7338
7424
  _LT_COMPILER_NO_RTTI($1)
7694
7780
func_dirname ()
7695
7781
{
7696
7782
  # Extract subdirectory from the argument.
7697
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
7783
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
7698
7784
  if test "X$func_dirname_result" = "X${1}"; then
7699
7785
    func_dirname_result="${3}"
7700
7786
  else
7705
7791
# func_basename file
7706
7792
func_basename ()
7707
7793
{
7708
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
7794
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
7709
7795
}
7710
7796
 
7711
7797
dnl func_dirname_and_basename
7721
7807
func_stripname ()
7722
7808
{
7723
7809
  case ${2} in
7724
 
    .*) func_stripname_result=`$ECHO "X${3}" \
7725
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
7726
 
    *)  func_stripname_result=`$ECHO "X${3}" \
7727
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
7810
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
7811
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
7728
7812
  esac
7729
7813
}
7730
7814
 
7735
7819
# func_opt_split
7736
7820
func_opt_split ()
7737
7821
{
7738
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
7739
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
7822
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
7823
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
7740
7824
}
7741
7825
 
7742
7826
# func_lo2o object
7743
7827
func_lo2o ()
7744
7828
{
7745
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
7829
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
7746
7830
}
7747
7831
 
7748
7832
# func_xform libobj-or-source
7749
7833
func_xform ()
7750
7834
{
7751
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
 
7835
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
7752
7836
}
7753
7837
 
7754
7838
# func_arith arithmetic-term...
7796
7880
 
7797
7881
# Helper functions for option handling.                    -*- Autoconf -*-
7798
7882
#
7799
 
#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
7883
#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
 
7884
#   Inc.
7800
7885
#   Written by Gary V. Vaughan, 2004
7801
7886
#
7802
7887
# This file is free software; the Free Software Foundation gives
7803
7888
# unlimited permission to copy and/or distribute it, with or without
7804
7889
# modifications, as long as this notice is preserved.
7805
7890
 
7806
 
# serial 6 ltoptions.m4
 
7891
# serial 7 ltoptions.m4
7807
7892
 
7808
7893
# This is to help aclocal find these macros, as it can't see m4_define.
7809
7894
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
7918
8003
[enable_win32_dll=yes
7919
8004
 
7920
8005
case $host in
7921
 
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
8006
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
7922
8007
  AC_CHECK_TOOL(AS, as, false)
7923
8008
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
7924
8009
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
7926
8011
esac
7927
8012
 
7928
8013
test -z "$AS" && AS=as
7929
 
_LT_DECL([], [AS],      [0], [Assembler program])dnl
 
8014
_LT_DECL([], [AS],      [1], [Assembler program])dnl
7930
8015
 
7931
8016
test -z "$DLLTOOL" && DLLTOOL=dlltool
7932
 
_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
 
8017
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
7933
8018
 
7934
8019
test -z "$OBJDUMP" && OBJDUMP=objdump
7935
 
_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
 
8020
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
7936
8021
])# win32-dll
7937
8022
 
7938
8023
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
8292
8377
 
8293
8378
# Generated from ltversion.in.
8294
8379
 
8295
 
# serial 3012 ltversion.m4
 
8380
# serial 3175 ltversion.m4
8296
8381
# This file is part of GNU Libtool
8297
8382
 
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])
8300
8385
 
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)
8306
8391
])
8307
8392
 
8308
8393
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
8309
8394
#
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.
8312
8397
#
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.
8316
8401
 
8317
 
# serial 4 lt~obsolete.m4
 
8402
# serial 5 lt~obsolete.m4
8318
8403
 
8319
8404
# These exist entirely to fool aclocal when bootstrapping libtool.
8320
8405
#
8384
8469
m4_ifndef([_LT_AC_LANG_CXX],            [AC_DEFUN([_LT_AC_LANG_CXX])])
8385
8470
m4_ifndef([_LT_AC_LANG_F77],            [AC_DEFUN([_LT_AC_LANG_F77])])
8386
8471
m4_ifndef([_LT_AC_LANG_GCJ],            [AC_DEFUN([_LT_AC_LANG_GCJ])])
8387
 
m4_ifndef([AC_LIBTOOL_RC],              [AC_DEFUN([AC_LIBTOOL_RC])])
8388
8472
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],   [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
8389
8473
m4_ifndef([_LT_AC_LANG_C_CONFIG],       [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
8390
8474
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
8397
8481
m4_ifndef([_LT_AC_LANG_RC_CONFIG],      [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
8398
8482
m4_ifndef([AC_LIBTOOL_CONFIG],          [AC_DEFUN([AC_LIBTOOL_CONFIG])])
8399
8483
m4_ifndef([_LT_AC_FILE_LTDLL_C],        [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
 
8484
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
 
8485
m4_ifndef([_LT_AC_PROG_CXXCPP],         [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
 
8486
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
 
8487
m4_ifndef([_LT_PROG_ECHO_BACKSLASH],    [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
 
8488
m4_ifndef([_LT_PROG_F77],               [AC_DEFUN([_LT_PROG_F77])])
 
8489
m4_ifndef([_LT_PROG_FC],                [AC_DEFUN([_LT_PROG_FC])])
 
8490
m4_ifndef([_LT_PROG_CXX],               [AC_DEFUN([_LT_PROG_CXX])])
8400
8491
 
8401
8492
# pkg.m4 - Macros to locate and utilise pkg-config.            -*- Autoconf -*-
 
8493
# serial 1 (pkg-config-0.24)
8402
8494
8403
8495
# Copyright © 2004 Scott James Remnant <scott@netsplit.com>.
8404
8496
#
8426
8518
AC_DEFUN([PKG_PROG_PKG_CONFIG],
8427
8519
[m4_pattern_forbid([^_?PKG_[A-Z_]+$])
8428
8520
m4_pattern_allow([^PKG_CONFIG(_PATH)?$])
8429
 
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])dnl
 
8521
AC_ARG_VAR([PKG_CONFIG], [path to pkg-config utility])
 
8522
AC_ARG_VAR([PKG_CONFIG_PATH], [directories to add to pkg-config's search path])
 
8523
AC_ARG_VAR([PKG_CONFIG_LIBDIR], [path overriding pkg-config's built-in search path])
 
8524
 
8430
8525
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
8431
8526
        AC_PATH_TOOL([PKG_CONFIG], [pkg-config])
8432
8527
fi
8439
8534
                AC_MSG_RESULT([no])
8440
8535
                PKG_CONFIG=""
8441
8536
        fi
8442
 
                
8443
8537
fi[]dnl
8444
8538
])# PKG_PROG_PKG_CONFIG
8445
8539
 
8448
8542
# Check to see whether a particular set of modules exists.  Similar
8449
8543
# to PKG_CHECK_MODULES(), but does not set variables or print errors.
8450
8544
#
8451
 
#
8452
 
# Similar to PKG_CHECK_MODULES, make sure that the first instance of
8453
 
# this or PKG_CHECK_MODULES is called, or make sure to call
8454
 
# PKG_CHECK_EXISTS manually
 
8545
# Please remember that m4 expands AC_REQUIRE([PKG_PROG_PKG_CONFIG])
 
8546
# only at the first occurence in configure.ac, so if the first place
 
8547
# it's called might be skipped (such as if it is within an "if", you
 
8548
# have to call PKG_CHECK_EXISTS manually
8455
8549
# --------------------------------------------------------------
8456
8550
AC_DEFUN([PKG_CHECK_EXISTS],
8457
8551
[AC_REQUIRE([PKG_PROG_PKG_CONFIG])dnl
8458
8552
if test -n "$PKG_CONFIG" && \
8459
8553
    AC_RUN_LOG([$PKG_CONFIG --exists --print-errors "$1"]); then
8460
 
  m4_ifval([$2], [$2], [:])
 
8554
  m4_default([$2], [:])
8461
8555
m4_ifvaln([$3], [else
8462
8556
  $3])dnl
8463
8557
fi])
8464
8558
 
8465
 
 
8466
8559
# _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
8467
8560
# ---------------------------------------------
8468
8561
m4_define([_PKG_CONFIG],
8515
8608
See the pkg-config man page for more details.])
8516
8609
 
8517
8610
if test $pkg_failed = yes; then
 
8611
        AC_MSG_RESULT([no])
8518
8612
        _PKG_SHORT_ERRORS_SUPPORTED
8519
8613
        if test $_pkg_short_errors_supported = yes; then
8520
8614
                $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
8524
8618
        # Put the nasty error message in config.log where it belongs
8525
8619
        echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
8526
8620
 
8527
 
        ifelse([$4], , [AC_MSG_ERROR(dnl
 
8621
        m4_default([$4], [AC_MSG_ERROR(
8528
8622
[Package requirements ($2) were not met:
8529
8623
 
8530
8624
$$1_PKG_ERRORS
8532
8626
Consider adjusting the PKG_CONFIG_PATH environment variable if you
8533
8627
installed software in a non-standard prefix.
8534
8628
 
8535
 
_PKG_TEXT
8536
 
])],
8537
 
                [AC_MSG_RESULT([no])
8538
 
                $4])
 
8629
_PKG_TEXT])
 
8630
        ])
8539
8631
elif test $pkg_failed = untried; then
8540
 
        ifelse([$4], , [AC_MSG_FAILURE(dnl
 
8632
        AC_MSG_RESULT([no])
 
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.
8544
8637
 
8545
8638
_PKG_TEXT
8546
8639
 
8547
 
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])],
8548
 
                [$4])
 
8640
To get pkg-config, see <http://pkg-config.freedesktop.org/>.])
 
8641
        ])
8549
8642
else
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])
 
8646
        $3
8554
8647
fi[]dnl
8555
8648
])# PKG_CHECK_MODULES
8556
8649
 
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.
8558
8651
#
8559
8652
# This file is free software; the Free Software Foundation
8560
8653
# gives unlimited permission to copy and/or distribute it,
8566
8659
# generated from the m4 files accompanying Automake X.Y.
8567
8660
# (This private macro should not be called outside this file.)
8568
8661
AC_DEFUN([AM_AUTOMAKE_VERSION],
8569
 
[am__api_version='1.10'
 
8662
[am__api_version='1.11'
8570
8663
dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
8571
8664
dnl require some minimum version.  Point them to the right macro.
8572
 
m4_if([$1], [1.10.1], [],
 
8665
m4_if([$1], [1.11.1], [],
8573
8666
      [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
8574
8667
])
8575
8668
 
8583
8676
# AM_SET_CURRENT_AUTOMAKE_VERSION
8584
8677
# -------------------------------
8585
8678
# Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
8586
 
# This function is AC_REQUIREd by AC_INIT_AUTOMAKE.
 
8679
# This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
8587
8680
AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8588
 
[AM_AUTOMAKE_VERSION([1.10.1])dnl
 
8681
[AM_AUTOMAKE_VERSION([1.11.1])dnl
8589
8682
m4_ifndef([AC_AUTOCONF_VERSION],
8590
8683
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
8591
 
_AM_AUTOCONF_VERSION(AC_AUTOCONF_VERSION)])
 
8684
_AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
8592
8685
 
8593
8686
# AM_AUX_DIR_EXPAND                                         -*- Autoconf -*-
8594
8687
 
8645
8738
 
8646
8739
# AM_CONDITIONAL                                            -*- Autoconf -*-
8647
8740
 
8648
 
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006
 
8741
# Copyright (C) 1997, 2000, 2001, 2003, 2004, 2005, 2006, 2008
8649
8742
# Free Software Foundation, Inc.
8650
8743
#
8651
8744
# This file is free software; the Free Software Foundation
8652
8745
# gives unlimited permission to copy and/or distribute it,
8653
8746
# with or without modifications, as long as this notice is preserved.
8654
8747
 
8655
 
# serial 8
 
8748
# serial 9
8656
8749
 
8657
8750
# AM_CONDITIONAL(NAME, SHELL-CONDITION)
8658
8751
# -------------------------------------
8665
8758
AC_SUBST([$1_FALSE])dnl
8666
8759
_AM_SUBST_NOTMAKE([$1_TRUE])dnl
8667
8760
_AM_SUBST_NOTMAKE([$1_FALSE])dnl
 
8761
m4_define([_AM_COND_VALUE_$1], [$2])dnl
8668
8762
if $2; then
8669
8763
  $1_TRUE=
8670
8764
  $1_FALSE='#'
8678
8772
Usually this means the macro was only invoked conditionally.]])
8679
8773
fi])])
8680
8774
 
8681
 
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006
 
8775
# Copyright (C) 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2009
8682
8776
# Free Software Foundation, Inc.
8683
8777
#
8684
8778
# This file is free software; the Free Software Foundation
8685
8779
# gives unlimited permission to copy and/or distribute it,
8686
8780
# with or without modifications, as long as this notice is preserved.
8687
8781
 
8688
 
# serial 9
 
8782
# serial 10
8689
8783
 
8690
8784
# There are a few dirty hacks below to avoid letting `AC_PROG_CC' be
8691
8785
# written in clear, in which case automake, when reading aclocal.m4,
8742
8836
  if test "$am_compiler_list" = ""; then
8743
8837
     am_compiler_list=`sed -n ['s/^#*\([a-zA-Z0-9]*\))$/\1/p'] < ./depcomp`
8744
8838
  fi
 
8839
  am__universal=false
 
8840
  m4_case([$1], [CC],
 
8841
    [case " $depcc " in #(
 
8842
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8843
     esac],
 
8844
    [CXX],
 
8845
    [case " $depcc " in #(
 
8846
     *\ -arch\ *\ -arch\ *) am__universal=true ;;
 
8847
     esac])
 
8848
 
8745
8849
  for depmode in $am_compiler_list; do
8746
8850
    # Setup a source with many dependencies, because some compilers
8747
8851
    # like to wrap large dependency lists on column 80 (with \), and
8759
8863
    done
8760
8864
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
8761
8865
 
 
8866
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
8867
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
8868
    # handle `-M -o', and we need to detect this.  Also, some Intel
 
8869
    # versions had trouble with output in subdirs
 
8870
    am__obj=sub/conftest.${OBJEXT-o}
 
8871
    am__minus_obj="-o $am__obj"
8762
8872
    case $depmode in
 
8873
    gcc)
 
8874
      # This depmode causes a compiler race in universal mode.
 
8875
      test "$am__universal" = false || continue
 
8876
      ;;
8763
8877
    nosideeffect)
8764
8878
      # after this tag, mechanisms are not by side-effect, so they'll
8765
8879
      # only be used when explicitly requested
8769
8883
        break
8770
8884
      fi
8771
8885
      ;;
 
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}
 
8891
      am__minus_obj=
 
8892
      ;;
8772
8893
    none) break ;;
8773
8894
    esac
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
8838
8956
 
8839
8957
# Generate code to set up dependency tracking.              -*- Autoconf -*-
8840
8958
 
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.
8843
8961
#
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.
8847
8965
 
8848
 
#serial 3
 
8966
#serial 5
8849
8967
 
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")`
8865
 
  else
8866
 
    continue
8867
 
  fi
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
8880
 
  # expansion.
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"
 
8971
[{
 
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 ;;
 
8978
  esac
 
8979
  shift
 
8980
  for mf
 
8981
  do
 
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")`
 
8993
    else
 
8994
      continue
 
8995
    fi
 
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
 
9008
    # expansion.
 
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"
 
9018
    done
8890
9019
  done
8891
 
done
 
9020
}
8892
9021
])# _AM_OUTPUT_DEPENDENCY_COMMANDS
8893
9022
 
8894
9023
 
8908
9037
# Do all the work for Automake.                             -*- Autoconf -*-
8909
9038
 
8910
9039
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
8911
 
# 2005, 2006, 2008 Free Software Foundation, Inc.
 
9040
# 2005, 2006, 2008, 2009 Free Software Foundation, Inc.
8912
9041
#
8913
9042
# This file is free software; the Free Software Foundation
8914
9043
# gives unlimited permission to copy and/or distribute it,
8915
9044
# with or without modifications, as long as this notice is preserved.
8916
9045
 
8917
 
# serial 13
 
9046
# serial 16
8918
9047
 
8919
9048
# This macro actually does too much.  Some checks are only needed if
8920
9049
# your package does certain things.  But this isn't really a big deal.
8931
9060
# arguments mandatory, and then we can depend on a new Autoconf
8932
9061
# release and drop the old call support.
8933
9062
AC_DEFUN([AM_INIT_AUTOMAKE],
8934
 
[AC_PREREQ([2.60])dnl
 
9063
[AC_PREREQ([2.62])dnl
8935
9064
dnl Autoconf wants to disallow AM_ names.  We explicitly allow
8936
9065
dnl the ones we care about.
8937
9066
m4_pattern_allow([^AM_[A-Z]+FLAGS$])dnl
8982
9111
AM_MISSING_PROG(AUTOMAKE, automake-${am__api_version})
8983
9112
AM_MISSING_PROG(AUTOHEADER, autoheader)
8984
9113
AM_MISSING_PROG(MAKEINFO, makeinfo)
8985
 
AM_PROG_INSTALL_SH
8986
 
AM_PROG_INSTALL_STRIP
 
9114
AC_REQUIRE([AM_PROG_INSTALL_SH])dnl
 
9115
AC_REQUIRE([AM_PROG_INSTALL_STRIP])dnl
8987
9116
AC_REQUIRE([AM_PROG_MKDIR_P])dnl
8988
9117
# We need awk for the "check" target.  The system "awk" is bad on
8989
9118
# some platforms.
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
9009
 
])
9010
 
])
 
9135
                  [_AM_DEPENDENCIES(OBJC)],
 
9136
                  [define([AC_PROG_OBJC],
 
9137
                          defn([AC_PROG_OBJC])[_AM_DEPENDENCIES(OBJC)])])dnl
 
9138
])
 
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
 
9146
])
 
9147
 
 
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])])
9011
9153
 
9012
9154
 
9013
9155
# When config.status generates a header, we must update the stamp-h file.
9031
9173
done
9032
9174
echo "timestamp for $_am_arg" >`AS_DIRNAME(["$_am_arg"])`/stamp-h[]$_am_stamp_count])
9033
9175
 
9034
 
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
 
9176
# Copyright (C) 2001, 2003, 2005, 2008  Free Software Foundation, Inc.
9035
9177
#
9036
9178
# This file is free software; the Free Software Foundation
9037
9179
# gives unlimited permission to copy and/or distribute it,
9042
9184
# Define $install_sh.
9043
9185
AC_DEFUN([AM_PROG_INSTALL_SH],
9044
9186
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9045
 
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
 
9187
if test x"${install_sh}" != xset; then
 
9188
  case $am_aux_dir in
 
9189
  *\ * | *\     *)
 
9190
    install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
 
9191
  *)
 
9192
    install_sh="\${SHELL} $am_aux_dir/install-sh"
 
9193
  esac
 
9194
fi
9046
9195
AC_SUBST(install_sh)])
9047
9196
 
9048
9197
# Copyright (C) 2003, 2005  Free Software Foundation, Inc.
9069
9218
# Add --enable-maintainer-mode option to configure.         -*- Autoconf -*-
9070
9219
# From Jim Meyering
9071
9220
 
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.
9074
9223
#
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.
9078
9227
 
9079
 
# serial 4
 
9228
# serial 5
9080
9229
 
 
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
9092
 
  AC_SUBST(MAINT)dnl
 
9252
  AC_SUBST([MAINT])dnl
9093
9253
]
9094
9254
)
9095
9255
 
9097
9257
 
9098
9258
# Check to see how 'make' treats includes.                  -*- Autoconf -*-
9099
9259
 
9100
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9260
# Copyright (C) 2001, 2002, 2003, 2005, 2009  Free Software Foundation, Inc.
9101
9261
#
9102
9262
# This file is free software; the Free Software Foundation
9103
9263
# gives unlimited permission to copy and/or distribute it,
9104
9264
# with or without modifications, as long as this notice is preserved.
9105
9265
 
9106
 
# serial 3
 
9266
# serial 4
9107
9267
 
9108
9268
# AM_MAKE_INCLUDE()
9109
9269
# -----------------
9112
9272
[am_make=${MAKE-make}
9113
9273
cat > confinc << 'END'
9114
9274
am__doit:
9115
 
        @echo done
 
9275
        @echo this is the am__doit target
9116
9276
.PHONY: am__doit
9117
9277
END
9118
9278
# If we don't find an include directive, just comment out the code.
9122
9282
_am_result=none
9123
9283
# First try GNU make style include.
9124
9284
echo "include confinc" > confmf
9125
 
# We grep out `Entering directory' and `Leaving directory'
9126
 
# messages which can occur if `w' ends up in MAKEFLAGS.
9127
 
# In particular we don't look at `^make:' because GNU make might
9128
 
# be invoked under some other name (usually "gmake"), in which
9129
 
# case it prints its new name instead of `make'.
9130
 
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
9131
 
   am__include=include
9132
 
   am__quote=
9133
 
   _am_result=GNU
9134
 
fi
 
9285
# Ignore all kinds of additional output from `make'.
 
9286
case `$am_make -s -f confmf 2> /dev/null` in #(
 
9287
*the\ am__doit\ target*)
 
9288
  am__include=include
 
9289
  am__quote=
 
9290
  _am_result=GNU
 
9291
  ;;
 
9292
esac
9135
9293
# Now try BSD make style include.
9136
9294
if test "$am__include" = "#"; then
9137
9295
   echo '.include "confinc"' > confmf
9138
 
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
9139
 
      am__include=.include
9140
 
      am__quote="\""
9141
 
      _am_result=BSD
9142
 
   fi
 
9296
   case `$am_make -s -f confmf 2> /dev/null` in #(
 
9297
   *the\ am__doit\ target*)
 
9298
     am__include=.include
 
9299
     am__quote="\""
 
9300
     _am_result=BSD
 
9301
     ;;
 
9302
   esac
9143
9303
fi
9144
9304
AC_SUBST([am__include])
9145
9305
AC_SUBST([am__quote])
9149
9309
 
9150
9310
# Fake the existence of programs that GNU maintainers use.  -*- Autoconf -*-
9151
9311
 
9152
 
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005
 
9312
# Copyright (C) 1997, 1999, 2000, 2001, 2003, 2004, 2005, 2008
9153
9313
# Free Software Foundation, Inc.
9154
9314
#
9155
9315
# This file is free software; the Free Software Foundation
9156
9316
# gives unlimited permission to copy and/or distribute it,
9157
9317
# with or without modifications, as long as this notice is preserved.
9158
9318
 
9159
 
# serial 5
 
9319
# serial 6
9160
9320
 
9161
9321
# AM_MISSING_PROG(NAME, PROGRAM)
9162
9322
# ------------------------------
9173
9333
AC_DEFUN([AM_MISSING_HAS_RUN],
9174
9334
[AC_REQUIRE([AM_AUX_DIR_EXPAND])dnl
9175
9335
AC_REQUIRE_AUX_FILE([missing])dnl
9176
 
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
9336
if test x"${MISSING+set}" != xset; then
 
9337
  case $am_aux_dir in
 
9338
  *\ * | *\     *)
 
9339
    MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
 
9340
  *)
 
9341
    MISSING="\${SHELL} $am_aux_dir/missing" ;;
 
9342
  esac
 
9343
fi
9177
9344
# Use eval to expand $SHELL
9178
9345
if eval "$MISSING --run true"; then
9179
9346
  am_missing_run="$MISSING --run "
9211
9378
 
9212
9379
# Helper functions for option handling.                     -*- Autoconf -*-
9213
9380
 
9214
 
# Copyright (C) 2001, 2002, 2003, 2005  Free Software Foundation, Inc.
 
9381
# Copyright (C) 2001, 2002, 2003, 2005, 2008  Free Software Foundation, Inc.
9215
9382
#
9216
9383
# This file is free software; the Free Software Foundation
9217
9384
# gives unlimited permission to copy and/or distribute it,
9218
9385
# with or without modifications, as long as this notice is preserved.
9219
9386
 
9220
 
# serial 3
 
9387
# serial 4
9221
9388
 
9222
9389
# _AM_MANGLE_OPTION(NAME)
9223
9390
# -----------------------
9234
9401
# ----------------------------------
9235
9402
# OPTIONS is a space-separated list of Automake options.
9236
9403
AC_DEFUN([_AM_SET_OPTIONS],
9237
 
[AC_FOREACH([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
 
9404
[m4_foreach_w([_AM_Option], [$1], [_AM_SET_OPTION(_AM_Option)])])
9238
9405
 
9239
9406
# _AM_IF_OPTION(OPTION, IF-SET, [IF-NOT-SET])
9240
9407
# -------------------------------------------
9244
9411
 
9245
9412
# Check to make sure that the build environment is sane.    -*- Autoconf -*-
9246
9413
 
9247
 
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005
 
9414
# Copyright (C) 1996, 1997, 2000, 2001, 2003, 2005, 2008
9248
9415
# Free Software Foundation, Inc.
9249
9416
#
9250
9417
# This file is free software; the Free Software Foundation
9251
9418
# gives unlimited permission to copy and/or distribute it,
9252
9419
# with or without modifications, as long as this notice is preserved.
9253
9420
 
9254
 
# serial 4
 
9421
# serial 5
9255
9422
 
9256
9423
# AM_SANITY_CHECK
9257
9424
# ---------------
9260
9427
# Just in case
9261
9428
sleep 1
9262
9429
echo timestamp > conftest.file
 
9430
# Reject unsafe characters in $srcdir or the absolute working directory
 
9431
# name.  Accept space and tab only in the latter.
 
9432
am_lf='
 
9433
'
 
9434
case `pwd` in
 
9435
  *[[\\\"\#\$\&\'\`$am_lf]]*)
 
9436
    AC_MSG_ERROR([unsafe absolute working directory name]);;
 
9437
esac
 
9438
case $srcdir in
 
9439
  *[[\\\"\#\$\&\'\`$am_lf\ \    ]]*)
 
9440
    AC_MSG_ERROR([unsafe srcdir value: `$srcdir']);;
 
9441
esac
 
9442
 
9263
9443
# Do `set' in a subshell so we don't clobber the current shell's
9264
9444
# arguments.  Must try -L first in case configure is actually a
9265
9445
# symlink; some systems play weird games with the mod time of symlinks
9266
9446
# (eg FreeBSD returns the mod time of the symlink's containing
9267
9447
# directory).
9268
9448
if (
9269
 
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
 
9449
   set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
9270
9450
   if test "$[*]" = "X"; then
9271
9451
      # -L didn't work.
9272
 
      set X `ls -t $srcdir/configure conftest.file`
 
9452
      set X `ls -t "$srcdir/configure" conftest.file`
9273
9453
   fi
9274
9454
   rm -f conftest.file
9275
9455
   if test "$[*]" != "X $srcdir/configure conftest.file" \
9294
9474
fi
9295
9475
AC_MSG_RESULT(yes)])
9296
9476
 
 
9477
# Copyright (C) 2009  Free Software Foundation, Inc.
 
9478
#
 
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.
 
9482
 
 
9483
# serial 1
 
9484
 
 
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]);;
 
9497
esac
 
9498
AC_SUBST([AM_DEFAULT_VERBOSITY])dnl
 
9499
AM_BACKSLASH='\'
 
9500
AC_SUBST([AM_BACKSLASH])dnl
 
9501
_AM_SUBST_NOTMAKE([AM_BACKSLASH])dnl
 
9502
])
 
9503
 
9297
9504
# Copyright (C) 2001, 2003, 2005  Free Software Foundation, Inc.
9298
9505
#
9299
9506
# This file is free software; the Free Software Foundation
9322
9529
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
9323
9530
AC_SUBST([INSTALL_STRIP_PROGRAM])])
9324
9531
 
9325
 
# Copyright (C) 2006  Free Software Foundation, Inc.
 
9532
# Copyright (C) 2006, 2008  Free Software Foundation, Inc.
9326
9533
#
9327
9534
# This file is free software; the Free Software Foundation
9328
9535
# gives unlimited permission to copy and/or distribute it,
9329
9536
# with or without modifications, as long as this notice is preserved.
9330
9537
 
 
9538
# serial 2
 
9539
 
9331
9540
# _AM_SUBST_NOTMAKE(VARIABLE)
9332
9541
# ---------------------------
9333
9542
# Prevent Automake from outputting VARIABLE = @VARIABLE@ in Makefile.in.
9334
9543
# This macro is traced by Automake.
9335
9544
AC_DEFUN([_AM_SUBST_NOTMAKE])
9336
9545
 
 
9546
# AM_SUBST_NOTMAKE(VARIABLE)
 
9547
# ---------------------------
 
9548
# Public sister of _AM_SUBST_NOTMAKE.
 
9549
AC_DEFUN([AM_SUBST_NOTMAKE], [_AM_SUBST_NOTMAKE($@)])
 
9550
 
9337
9551
# Check how to create a tarball.                            -*- Autoconf -*-
9338
9552
 
9339
9553
# Copyright (C) 2004, 2005  Free Software Foundation, Inc.