~ubuntu-branches/ubuntu/natty/libxext/natty

« back to all changes in this revision

Viewing changes to aclocal.m4

  • Committer: Bazaar Package Importer
  • Author(s): Julien Cristau
  • Date: 2011-02-07 22:19:09 UTC
  • mfrom: (1.1.8 upstream) (0.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20110207221909-otjoabcpv4kgmiu5
Tags: 2:1.2.0-2
* Remove Brice Goglin and David Nusinow from Uploaders.  Thanks for your
  work!
* Bump Standards-Version to 3.9.1 (no changes).
* Upload to unstable.

Show diffs side-by-side

added added

removed removed

Lines of Context:
13
13
 
14
14
m4_ifndef([AC_AUTOCONF_VERSION],
15
15
  [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
16
 
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
17
 
[m4_warning([this file was generated for autoconf 2.65.
 
16
m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.68],,
 
17
[m4_warning([this file was generated for autoconf 2.68.
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'.])])
1030
1030
 
1031
1031
dnl xorg-macros.m4.  Generated from xorg-macros.m4.in xorgversion.m4 by configure.
1032
1032
dnl
1033
 
dnl Copyright 2005-2006 Sun Microsystems, Inc.  All rights reserved.
 
1033
dnl Copyright (c) 2005, 2006, Oracle and/or its affiliates. All rights reserved.
1034
1034
dnl 
1035
1035
dnl Permission is hereby granted, free of charge, to any person obtaining a
1036
1036
dnl copy of this software and associated documentation files (the "Software"),
1067
1067
# See the "minimum version" comment for each macro you use to see what 
1068
1068
# version you require.
1069
1069
m4_defun([XORG_MACROS_VERSION],[
1070
 
m4_define([vers_have], [1.7.0])
 
1070
m4_define([vers_have], [1.10.1])
1071
1071
m4_define([maj_have], m4_substr(vers_have, 0, m4_index(vers_have, [.])))
1072
1072
m4_define([maj_needed], m4_substr([$1], 0, m4_index([$1], [.])))
1073
1073
m4_if(m4_cmp(maj_have, maj_needed), 0,,
1136
1136
# Not sure if there's any better way than just hardcoding by OS name.
1137
1137
# Override default settings by setting environment variables
1138
1138
# Added MAN_SUBSTS in version 1.8
 
1139
# Added AC_PROG_SED in version 1.8
1139
1140
 
1140
1141
AC_DEFUN([XORG_MANPAGE_SECTIONS],[
1141
1142
AC_REQUIRE([AC_CANONICAL_HOST])
 
1143
AC_REQUIRE([AC_PROG_SED])
1142
1144
 
1143
1145
if test x$APP_MAN_SUFFIX = x    ; then
1144
1146
    APP_MAN_SUFFIX=1
1216
1218
        -e 's|__xservername__|Xorg|g' \
1217
1219
        -e 's|__xconfigfile__|xorg.conf|g' \
1218
1220
        -e 's|__projectroot__|\$(prefix)|g' \
 
1221
        -e 's|__apploaddir__|\$(appdefaultdir)|g' \
1219
1222
        -e 's|__appmansuffix__|\$(APP_MAN_SUFFIX)|g' \
1220
1223
        -e 's|__drivermansuffix__|\$(DRIVER_MAN_SUFFIX)|g' \
1221
1224
        -e 's|__adminmansuffix__|\$(ADMIN_MAN_SUFFIX)|g' \
1244
1247
         fi])
1245
1248
    ])
1246
1249
 
 
1250
# Define variables STYLESHEET_SRCDIR and XSL_STYLESHEET containing
 
1251
# the path and the name of the doc stylesheet
1247
1252
if test "x$XORG_SGML_PATH" != "x" ; then
1248
1253
   AC_MSG_RESULT([$XORG_SGML_PATH])
 
1254
   STYLESHEET_SRCDIR=$XORG_SGML_PATH/X11
 
1255
   XSL_STYLESHEET=$STYLESHEET_SRCDIR/xorg.xsl
1249
1256
else
1250
1257
   AC_MSG_RESULT([no])
1251
1258
fi
1252
1259
 
1253
1260
AC_SUBST(XORG_SGML_PATH)
 
1261
AC_SUBST(STYLESHEET_SRCDIR)
 
1262
AC_SUBST(XSL_STYLESHEET)
 
1263
AM_CONDITIONAL([HAVE_STYLESHEETS], [test "x$XSL_STYLESHEET" != "x"])
1254
1264
]) # XORG_CHECK_SGML_DOCTOOLS
1255
1265
 
1256
1266
# XORG_CHECK_LINUXDOC
1383
1393
# --with-xmlto: 'yes' user instructs the module to use xmlto
1384
1394
#               'no' user instructs the module not to use xmlto
1385
1395
#
 
1396
# Added in version 1.10.0
 
1397
# HAVE_XMLTO_TEXT: used in makefiles to conditionally generate text documentation
 
1398
#                  xmlto for text output requires either lynx, links, or w3m browsers
 
1399
#
1386
1400
# If the user sets the value of XMLTO, AC_PATH_PROG skips testing the path.
1387
1401
#
1388
1402
AC_DEFUN([XORG_WITH_XMLTO],[
1414
1428
else
1415
1429
   AC_MSG_ERROR([--with-xmlto expects 'yes' or 'no'])
1416
1430
fi
 
1431
 
 
1432
# Test for a minimum version of xmlto, if provided.
1417
1433
m4_ifval([$1],
1418
1434
[if test "$have_xmlto" = yes; then
1419
1435
    # scrape the xmlto version
1428
1444
            AC_MSG_ERROR([xmlto version $xmlto_version found, but $1 needed])
1429
1445
        fi])
1430
1446
fi])
 
1447
 
 
1448
# Test for the ability of xmlto to generate a text target
 
1449
have_xmlto_text=no
 
1450
cat > conftest.xml << "EOF"
 
1451
EOF
 
1452
AS_IF([test "$have_xmlto" = yes],
 
1453
      [AS_IF([$XMLTO --skip-validation txt conftest.xml >/dev/null 2>&1],
 
1454
             [have_xmlto_text=yes],
 
1455
             [AC_MSG_WARN([xmlto cannot generate text format, this format skipped])])])
 
1456
rm -f conftest.xml
 
1457
AM_CONDITIONAL([HAVE_XMLTO_TEXT], [test $have_xmlto_text = yes])
1431
1458
AM_CONDITIONAL([HAVE_XMLTO], [test "$have_xmlto" = yes])
1432
1459
]) # XORG_WITH_XMLTO
1433
1460
 
1580
1607
# --with-groff:  'yes' user instructs the module to use groff
1581
1608
#                'no' user instructs the module not to use groff
1582
1609
#
 
1610
# Added in version 1.9.0:
 
1611
# HAVE_GROFF_HTML: groff has dependencies to output HTML format:
 
1612
#                  pnmcut pnmcrop pnmtopng pnmtops from the netpbm package.
 
1613
#                  psselect from the psutils package.
 
1614
#                  the ghostcript package. Refer to the grohtml man pages
 
1615
#
1583
1616
# If the user sets the value of GROFF, AC_PATH_PROG skips testing the path.
1584
1617
#
1585
1618
# OS and distros often splits groff in a basic and full package, the former
1619
1652
else
1620
1653
   AC_MSG_ERROR([--with-groff expects 'yes' or 'no'])
1621
1654
fi
 
1655
 
1622
1656
# We have groff, test for the presence of the macro packages
1623
1657
if test "x$have_groff" = x"yes"; then
1624
1658
    AC_MSG_CHECKING([for ${GROFF} -ms macros])
1636
1670
    fi
1637
1671
    AC_MSG_RESULT([$groff_mm_works])
1638
1672
fi
 
1673
 
 
1674
# We have groff, test for HTML dependencies, one command per package
 
1675
if test "x$have_groff" = x"yes"; then
 
1676
   AC_PATH_PROGS(GS_PATH, [gs gswin32c])
 
1677
   AC_PATH_PROG(PNMTOPNG_PATH, [pnmtopng])
 
1678
   AC_PATH_PROG(PSSELECT_PATH, [psselect])
 
1679
   if test "x$GS_PATH" != "x" -a "x$PNMTOPNG_PATH" != "x" -a "x$PSSELECT_PATH" != "x"; then
 
1680
      have_groff_html=yes
 
1681
   else
 
1682
      have_groff_html=no
 
1683
      AC_MSG_WARN([grohtml dependencies not found - HTML Documentation skipped. Refer to grohtml man pages])
 
1684
   fi
 
1685
fi
 
1686
 
 
1687
# Set Automake conditionals for Makefiles
1639
1688
AM_CONDITIONAL([HAVE_GROFF], [test "$have_groff" = yes])
1640
1689
AM_CONDITIONAL([HAVE_GROFF_MS], [test "$groff_ms_works" = yes])
1641
1690
AM_CONDITIONAL([HAVE_GROFF_MM], [test "$groff_mm_works" = yes])
 
1691
AM_CONDITIONAL([HAVE_GROFF_HTML], [test "$have_groff_html" = yes])
1642
1692
]) # XORG_WITH_GROFF
1643
1693
 
1644
1694
# XORG_WITH_FOP
1903
1953
# ----------------
1904
1954
# Minimum version: 1.1.0
1905
1955
#
1906
 
# Sets up flags for source checkers such as lint and sparse if --with-lint
1907
 
# is specified.   (Use --with-lint=sparse for sparse.)
1908
 
# Sets $LINT to name of source checker passed with --with-lint (default: lint)
1909
 
# Sets $LINT_FLAGS to flags to pass to source checker
1910
 
# Sets LINT automake conditional if enabled (default: disabled)
 
1956
# This macro enables the use of a tool that flags some suspicious and
 
1957
# non-portable constructs (likely to be bugs) in C language source code.
 
1958
# It will attempt to locate the tool and use appropriate options.
 
1959
# There are various lint type tools on different platforms.
 
1960
#
 
1961
# Interface to module:
 
1962
# LINT:         returns the path to the tool found on the platform
 
1963
#               or the value set to LINT on the configure cmd line
 
1964
#               also an Automake conditional
 
1965
# LINT_FLAGS:   an Automake variable with appropriate flags
 
1966
#
 
1967
# --with-lint:  'yes' user instructs the module to use lint
 
1968
#               'no' user instructs the module not to use lint (default)
 
1969
#
 
1970
# If the user sets the value of LINT, AC_PATH_PROG skips testing the path.
 
1971
# If the user sets the value of LINT_FLAGS, they are used verbatim.
1911
1972
#
1912
1973
AC_DEFUN([XORG_WITH_LINT],[
1913
1974
 
1914
 
# Allow checking code with lint, sparse, etc.
 
1975
AC_ARG_VAR([LINT], [Path to a lint-style command])
 
1976
AC_ARG_VAR([LINT_FLAGS], [Flags for the lint-style command])
1915
1977
AC_ARG_WITH(lint, [AS_HELP_STRING([--with-lint],
1916
1978
                [Use a lint-style source code checker (default: disabled)])],
1917
1979
                [use_lint=$withval], [use_lint=no])
1918
 
if test "x$use_lint" = "xyes" ; then
1919
 
        LINT="lint"
 
1980
 
 
1981
# Obtain platform specific info like program name and options
 
1982
# The lint program on FreeBSD and NetBSD is different from the one on Solaris
 
1983
case $host_os in
 
1984
  *linux* | *openbsd* | kfreebsd*-gnu | darwin* | cygwin*)
 
1985
        lint_name=splint
 
1986
        lint_options="-badflag"
 
1987
        ;;
 
1988
  *freebsd* | *netbsd*)
 
1989
        lint_name=lint
 
1990
        lint_options="-u -b"
 
1991
        ;;
 
1992
  *solaris*)
 
1993
        lint_name=lint
 
1994
        lint_options="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
 
1995
        ;;
 
1996
esac
 
1997
 
 
1998
# Test for the presence of the program (either guessed by the code or spelled out by the user)
 
1999
if test "x$use_lint" = x"yes" ; then
 
2000
   AC_PATH_PROG([LINT], [$lint_name])
 
2001
   if test "x$LINT" = "x"; then
 
2002
        AC_MSG_ERROR([--with-lint=yes specified but lint-style tool not found in PATH])
 
2003
   fi
 
2004
elif test "x$use_lint" = x"no" ; then
 
2005
   if test "x$LINT" != "x"; then
 
2006
      AC_MSG_WARN([ignoring LINT environment variable since --with-lint=no was specified])
 
2007
   fi
1920
2008
else
1921
 
        LINT="$use_lint"
1922
 
fi
1923
 
if test "x$LINT_FLAGS" = "x" -a "x$LINT" != "xno" ; then
1924
 
    case $LINT in
1925
 
        lint|*/lint)
1926
 
            case $host_os in
1927
 
                solaris*)
1928
 
                        LINT_FLAGS="-u -b -h -erroff=E_INDISTING_FROM_TRUNC2"
1929
 
                        ;;
1930
 
            esac
1931
 
            ;;
1932
 
    esac
1933
 
fi
1934
 
 
1935
 
AC_SUBST(LINT)
1936
 
AC_SUBST(LINT_FLAGS)
1937
 
AM_CONDITIONAL(LINT, [test x$LINT != xno])
 
2009
   AC_MSG_ERROR([--with-lint expects 'yes' or 'no'. Use LINT variable to specify path.])
 
2010
fi
 
2011
 
 
2012
# User supplied flags override default flags
 
2013
if test "x$LINT_FLAGS" != "x"; then
 
2014
   lint_options=$LINT_FLAGS
 
2015
fi
 
2016
 
 
2017
AC_SUBST([LINT_FLAGS],[$lint_options])
 
2018
AM_CONDITIONAL(LINT, [test "x$LINT" != x])
1938
2019
 
1939
2020
]) # XORG_WITH_LINT
1940
2021
 
1944
2025
#
1945
2026
# Sets up flags for building lint libraries for checking programs that call
1946
2027
# functions in the library.
1947
 
# Disabled by default, enable with --enable-lint-library
1948
 
# Sets: 
1949
 
#       @LINTLIB@               - name of lint library file to make
1950
 
#       MAKE_LINT_LIB           - automake conditional
1951
 
#
 
2028
#
 
2029
# Interface to module:
 
2030
# LINTLIB               - Automake variable with the name of lint library file to make
 
2031
# MAKE_LINT_LIB         - Automake conditional
 
2032
#
 
2033
# --enable-lint-library:  - 'yes' user instructs the module to created a lint library
 
2034
#                         - 'no' user instructs the module not to create a lint library (default)
1952
2035
 
1953
2036
AC_DEFUN([XORG_LINT_LIBRARY],[
1954
2037
AC_REQUIRE([XORG_WITH_LINT])
1955
 
# Build lint "library" for more indepth checks of programs calling this library
1956
2038
AC_ARG_ENABLE(lint-library, [AS_HELP_STRING([--enable-lint-library],
1957
2039
        [Create lint library (default: disabled)])],
1958
2040
        [make_lint_lib=$enableval], [make_lint_lib=no])
1959
 
if test "x$make_lint_lib" != "xno" ; then
1960
 
        if test "x$LINT" = "xno" ; then
1961
 
                AC_MSG_ERROR([Cannot make lint library without --with-lint])
1962
 
        fi
1963
 
        if test "x$make_lint_lib" = "xyes" ; then
1964
 
                LINTLIB=llib-l$1.ln
1965
 
        else
1966
 
                LINTLIB=$make_lint_lib
1967
 
        fi
 
2041
 
 
2042
if test "x$make_lint_lib" = x"yes" ; then
 
2043
   LINTLIB=llib-l$1.ln
 
2044
   if test "x$LINT" = "x"; then
 
2045
        AC_MSG_ERROR([Cannot make lint library without --with-lint])
 
2046
   fi
 
2047
elif test "x$make_lint_lib" != x"no" ; then
 
2048
   AC_MSG_ERROR([--enable-lint-library expects 'yes' or 'no'.])
1968
2049
fi
 
2050
 
1969
2051
AC_SUBST(LINTLIB)
1970
2052
AM_CONDITIONAL(MAKE_LINT_LIB, [test x$make_lint_lib != xno])
1971
2053
 
1978
2060
# Defines CWARNFLAGS to enable C compiler warnings.
1979
2061
#
1980
2062
AC_DEFUN([XORG_CWARNFLAGS], [
1981
 
AC_REQUIRE([AC_PROG_CC])
 
2063
AC_REQUIRE([AC_PROG_CC_C99])
1982
2064
if  test "x$GCC" = xyes ; then
1983
2065
    CWARNFLAGS="-Wall -Wpointer-arith -Wstrict-prototypes -Wmissing-prototypes \
1984
2066
-Wmissing-declarations -Wnested-externs -fno-strict-aliasing \
2003
2085
#
2004
2086
# Add configure option to enable strict compilation
2005
2087
AC_DEFUN([XORG_STRICT_OPTION], [
2006
 
AC_REQUIRE([AC_PROG_CC])
 
2088
# If the module's configure.ac calls AC_PROG_CC later on, CC gets set to C89
2007
2089
AC_REQUIRE([AC_PROG_CC_C99])
2008
2090
AC_REQUIRE([XORG_CWARNFLAGS])
2009
2091
 
2033
2115
# Defines default options for X.Org modules.
2034
2116
#
2035
2117
AC_DEFUN([XORG_DEFAULT_OPTIONS], [
 
2118
AC_REQUIRE([AC_PROG_INSTALL])
2036
2119
XORG_CWARNFLAGS
2037
2120
XORG_STRICT_OPTION
2038
2121
XORG_RELEASE_VERSION
2086
2169
 
2087
2170
# XORG_RELEASE_VERSION
2088
2171
# --------------------
2089
 
# Adds --with/without-release-string and changes the PACKAGE and
2090
 
# PACKAGE_TARNAME to use "$PACKAGE{_TARNAME}-$RELEASE_VERSION".  If
2091
 
# no option is given, PACKAGE and PACKAGE_TARNAME are unchanged.  Also
2092
 
# defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
 
2172
# Defines PACKAGE_VERSION_{MAJOR,MINOR,PATCHLEVEL} for modules to use.
2093
2173
 
2094
2174
AC_DEFUN([XORG_RELEASE_VERSION],[
2095
 
        AC_ARG_WITH(release-version,
2096
 
                        AS_HELP_STRING([--with-release-version=STRING],
2097
 
                                [Use release version string in package name]),
2098
 
                        [RELEASE_VERSION="$withval"],
2099
 
                        [RELEASE_VERSION=""])
2100
 
        if test "x$RELEASE_VERSION" != "x"; then
2101
 
                PACKAGE="$PACKAGE-$RELEASE_VERSION"
2102
 
                PACKAGE_TARNAME="$PACKAGE_TARNAME-$RELEASE_VERSION"
2103
 
                AC_MSG_NOTICE([Building with package name set to $PACKAGE])
2104
 
        fi
2105
2175
        AC_DEFINE_UNQUOTED([PACKAGE_VERSION_MAJOR],
2106
2176
                [`echo $PACKAGE_VERSION | cut -d . -f 1`],
2107
2177
                [Major version of this package])
2296
2366
# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
2297
2367
#
2298
2368
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2299
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
2369
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
2370
#                 Inc.
2300
2371
#   Written by Gordon Matzigkeit, 1996
2301
2372
#
2302
2373
# This file is free software; the Free Software Foundation gives
2305
2376
 
2306
2377
m4_define([_LT_COPYING], [dnl
2307
2378
#   Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
2308
 
#                 2006, 2007, 2008 Free Software Foundation, Inc.
 
2379
#                 2006, 2007, 2008, 2009, 2010 Free Software Foundation,
 
2380
#                 Inc.
2309
2381
#   Written by Gordon Matzigkeit, 1996
2310
2382
#
2311
2383
#   This file is part of GNU Libtool.
2332
2404
# 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
2333
2405
])
2334
2406
 
2335
 
# serial 56 LT_INIT
 
2407
# serial 57 LT_INIT
2336
2408
 
2337
2409
 
2338
2410
# LT_PREREQ(VERSION)
2361
2433
# ------------------
2362
2434
AC_DEFUN([LT_INIT],
2363
2435
[AC_PREREQ([2.58])dnl We use AC_INCLUDES_DEFAULT
 
2436
AC_REQUIRE([AC_CONFIG_AUX_DIR_DEFAULT])dnl
2364
2437
AC_BEFORE([$0], [LT_LANG])dnl
2365
2438
AC_BEFORE([$0], [LT_OUTPUT])dnl
2366
2439
AC_BEFORE([$0], [LTDL_INIT])dnl
2377
2450
AC_REQUIRE([LTOBSOLETE_VERSION])dnl
2378
2451
m4_require([_LT_PROG_LTMAIN])dnl
2379
2452
 
 
2453
_LT_SHELL_INIT([SHELL=${CONFIG_SHELL-/bin/sh}])
 
2454
 
2380
2455
dnl Parse OPTIONS
2381
2456
_LT_SET_OPTIONS([$0], [$1])
2382
2457
 
2413
2488
    *) break;;
2414
2489
  esac
2415
2490
done
2416
 
cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
2491
cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
2417
2492
])
2418
2493
 
2419
2494
 
2433
2508
m4_defun([_LT_SETUP],
2434
2509
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
2435
2510
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
 
2511
AC_REQUIRE([_LT_PREPARE_SED_QUOTE_VARS])dnl
 
2512
AC_REQUIRE([_LT_PROG_ECHO_BACKSLASH])dnl
 
2513
 
2436
2514
_LT_DECL([], [host_alias], [0], [The host system])dnl
2437
2515
_LT_DECL([], [host], [0])dnl
2438
2516
_LT_DECL([], [host_os], [0])dnl
2474
2552
_LT_CHECK_OBJDIR
2475
2553
 
2476
2554
m4_require([_LT_TAG_COMPILER])dnl
2477
 
_LT_PROG_ECHO_BACKSLASH
2478
2555
 
2479
2556
case $host_os in
2480
2557
aix3*)
2488
2565
  ;;
2489
2566
esac
2490
2567
 
2491
 
# Sed substitution that helps us do robust quoting.  It backslashifies
2492
 
# metacharacters that are still active within double-quoted strings.
2493
 
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
2494
 
 
2495
 
# Same as above, but do not quote variable references.
2496
 
double_quote_subst='s/\([["`\\]]\)/\\\1/g'
2497
 
 
2498
 
# Sed substitution to delay expansion of an escaped shell variable in a
2499
 
# double_quote_subst'ed string.
2500
 
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
2501
 
 
2502
 
# Sed substitution to delay expansion of an escaped single quote.
2503
 
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
2504
 
 
2505
 
# Sed substitution to avoid accidental globbing in evaled expressions
2506
 
no_glob_subst='s/\*/\\\*/g'
2507
 
 
2508
2568
# Global variables:
2509
2569
ofile=libtool
2510
2570
can_build_shared=yes
2545
2605
])# _LT_SETUP
2546
2606
 
2547
2607
 
 
2608
# _LT_PREPARE_SED_QUOTE_VARS
 
2609
# --------------------------
 
2610
# Define a few sed substitution that help us do robust quoting.
 
2611
m4_defun([_LT_PREPARE_SED_QUOTE_VARS],
 
2612
[# Backslashify metacharacters that are still active within
 
2613
# double-quoted strings.
 
2614
sed_quote_subst='s/\([["`$\\]]\)/\\\1/g'
 
2615
 
 
2616
# Same as above, but do not quote variable references.
 
2617
double_quote_subst='s/\([["`\\]]\)/\\\1/g'
 
2618
 
 
2619
# Sed substitution to delay expansion of an escaped shell variable in a
 
2620
# double_quote_subst'ed string.
 
2621
delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
 
2622
 
 
2623
# Sed substitution to delay expansion of an escaped single quote.
 
2624
delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
 
2625
 
 
2626
# Sed substitution to avoid accidental globbing in evaled expressions
 
2627
no_glob_subst='s/\*/\\\*/g'
 
2628
])
 
2629
 
2548
2630
# _LT_PROG_LTMAIN
2549
2631
# ---------------
2550
2632
# Note that this code is called both from `configure', and `config.status'
2697
2779
# declaration there will have the same value as in `configure'.  VARNAME
2698
2780
# must have a single quote delimited value for this to work.
2699
2781
m4_define([_LT_CONFIG_STATUS_DECLARE],
2700
 
[$1='`$ECHO "X$][$1" | $Xsed -e "$delay_single_quote_subst"`'])
 
2782
[$1='`$ECHO "$][$1" | $SED "$delay_single_quote_subst"`'])
2701
2783
 
2702
2784
 
2703
2785
# _LT_CONFIG_STATUS_DECLARATIONS
2707
2789
# embedded single quotes properly.  In configure, this macro expands
2708
2790
# each variable declared with _LT_DECL (and _LT_TAGDECL) into:
2709
2791
#
2710
 
#    <var>='`$ECHO "X$<var>" | $Xsed -e "$delay_single_quote_subst"`'
 
2792
#    <var>='`$ECHO "$<var>" | $SED "$delay_single_quote_subst"`'
2711
2793
m4_defun([_LT_CONFIG_STATUS_DECLARATIONS],
2712
2794
[m4_foreach([_lt_var], m4_quote(lt_decl_all_varnames),
2713
2795
    [m4_n([_LT_CONFIG_STATUS_DECLARE(_lt_var)])])])
2806
2888
LTCFLAGS='$LTCFLAGS'
2807
2889
compiler='$compiler_DEFAULT'
2808
2890
 
 
2891
# A function that is used when there is no print builtin or printf.
 
2892
func_fallback_echo ()
 
2893
{
 
2894
  eval 'cat <<_LTECHO_EOF
 
2895
\$[]1
 
2896
_LTECHO_EOF'
 
2897
}
 
2898
 
2809
2899
# Quote evaled strings.
2810
2900
for var in lt_decl_all_varnames([[ \
2811
2901
]], lt_decl_quote_varnames); do
2812
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
2902
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
2813
2903
    *[[\\\\\\\`\\"\\\$]]*)
2814
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
 
2904
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
2815
2905
      ;;
2816
2906
    *)
2817
2907
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
2822
2912
# Double-quote double-evaled strings.
2823
2913
for var in lt_decl_all_varnames([[ \
2824
2914
]], lt_decl_dquote_varnames); do
2825
 
    case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
 
2915
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
2826
2916
    *[[\\\\\\\`\\"\\\$]]*)
2827
 
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
 
2917
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
2828
2918
      ;;
2829
2919
    *)
2830
2920
      eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
2832
2922
    esac
2833
2923
done
2834
2924
 
2835
 
# Fix-up fallback echo if it was mangled by the above quoting rules.
2836
 
case \$lt_ECHO in
2837
 
*'\\\[$]0 --fallback-echo"')dnl "
2838
 
  lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\[$]0 --fallback-echo"\[$]/\[$]0 --fallback-echo"/'\`
2839
 
  ;;
2840
 
esac
2841
 
 
2842
2925
_LT_OUTPUT_LIBTOOL_INIT
2843
2926
])
2844
2927
 
 
2928
# _LT_GENERATED_FILE_INIT(FILE, [COMMENT])
 
2929
# ------------------------------------
 
2930
# Generate a child script FILE with all initialization necessary to
 
2931
# reuse the environment learned by the parent script, and make the
 
2932
# file executable.  If COMMENT is supplied, it is inserted after the
 
2933
# `#!' sequence but before initialization text begins.  After this
 
2934
# macro, additional text can be appended to FILE to form the body of
 
2935
# the child script.  The macro ends with non-zero status if the
 
2936
# file could not be fully written (such as if the disk is full).
 
2937
m4_ifdef([AS_INIT_GENERATED],
 
2938
[m4_defun([_LT_GENERATED_FILE_INIT],[AS_INIT_GENERATED($@)])],
 
2939
[m4_defun([_LT_GENERATED_FILE_INIT],
 
2940
[m4_require([AS_PREPARE])]dnl
 
2941
[m4_pushdef([AS_MESSAGE_LOG_FD])]dnl
 
2942
[lt_write_fail=0
 
2943
cat >$1 <<_ASEOF || lt_write_fail=1
 
2944
#! $SHELL
 
2945
# Generated by $as_me.
 
2946
$2
 
2947
SHELL=\${CONFIG_SHELL-$SHELL}
 
2948
export SHELL
 
2949
_ASEOF
 
2950
cat >>$1 <<\_ASEOF || lt_write_fail=1
 
2951
AS_SHELL_SANITIZE
 
2952
_AS_PREPARE
 
2953
exec AS_MESSAGE_FD>&1
 
2954
_ASEOF
 
2955
test $lt_write_fail = 0 && chmod +x $1[]dnl
 
2956
m4_popdef([AS_MESSAGE_LOG_FD])])])# _LT_GENERATED_FILE_INIT
2845
2957
 
2846
2958
# LT_OUTPUT
2847
2959
# ---------
2851
2963
AC_DEFUN([LT_OUTPUT],
2852
2964
[: ${CONFIG_LT=./config.lt}
2853
2965
AC_MSG_NOTICE([creating $CONFIG_LT])
2854
 
cat >"$CONFIG_LT" <<_LTEOF
2855
 
#! $SHELL
2856
 
# Generated by $as_me.
2857
 
# Run this file to recreate a libtool stub with the current configuration.
 
2966
_LT_GENERATED_FILE_INIT(["$CONFIG_LT"],
 
2967
[# Run this file to recreate a libtool stub with the current configuration.])
2858
2968
 
 
2969
cat >>"$CONFIG_LT" <<\_LTEOF
2859
2970
lt_cl_silent=false
2860
 
SHELL=\${CONFIG_SHELL-$SHELL}
2861
 
_LTEOF
2862
 
 
2863
 
cat >>"$CONFIG_LT" <<\_LTEOF
2864
 
AS_SHELL_SANITIZE
2865
 
_AS_PREPARE
2866
 
 
2867
 
exec AS_MESSAGE_FD>&1
2868
2971
exec AS_MESSAGE_LOG_FD>>config.log
2869
2972
{
2870
2973
  echo
2890
2993
m4_ifset([AC_PACKAGE_VERSION], [ AC_PACKAGE_VERSION])
2891
2994
configured by $[0], generated by m4_PACKAGE_STRING.
2892
2995
 
2893
 
Copyright (C) 2008 Free Software Foundation, Inc.
 
2996
Copyright (C) 2010 Free Software Foundation, Inc.
2894
2997
This config.lt script is free software; the Free Software Foundation
2895
2998
gives unlimited permision to copy, distribute and modify it."
2896
2999
 
2935
3038
# appending to config.log, which fails on DOS, as config.log is still kept
2936
3039
# open by configure.  Here we exec the FD to /dev/null, effectively closing
2937
3040
# config.log, so it can be properly (re)opened and appended to by config.lt.
2938
 
if test "$no_create" != yes; then
2939
 
  lt_cl_success=:
2940
 
  test "$silent" = yes &&
2941
 
    lt_config_lt_args="$lt_config_lt_args --quiet"
2942
 
  exec AS_MESSAGE_LOG_FD>/dev/null
2943
 
  $SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
2944
 
  exec AS_MESSAGE_LOG_FD>>config.log
2945
 
  $lt_cl_success || AS_EXIT(1)
2946
 
fi
 
3041
lt_cl_success=:
 
3042
test "$silent" = yes &&
 
3043
  lt_config_lt_args="$lt_config_lt_args --quiet"
 
3044
exec AS_MESSAGE_LOG_FD>/dev/null
 
3045
$SHELL "$CONFIG_LT" $lt_config_lt_args || lt_cl_success=false
 
3046
exec AS_MESSAGE_LOG_FD>>config.log
 
3047
$lt_cl_success || AS_EXIT(1)
2947
3048
])# LT_OUTPUT
2948
3049
 
2949
3050
 
3120
3221
AU_DEFUN([AC_LIBTOOL_F77], [LT_LANG(Fortran 77)])
3121
3222
AU_DEFUN([AC_LIBTOOL_FC], [LT_LANG(Fortran)])
3122
3223
AU_DEFUN([AC_LIBTOOL_GCJ], [LT_LANG(Java)])
 
3224
AU_DEFUN([AC_LIBTOOL_RC], [LT_LANG(Windows Resource)])
3123
3225
dnl aclocal-1.4 backwards compatibility:
3124
3226
dnl AC_DEFUN([AC_LIBTOOL_CXX], [])
3125
3227
dnl AC_DEFUN([AC_LIBTOOL_F77], [])
3126
3228
dnl AC_DEFUN([AC_LIBTOOL_FC], [])
3127
3229
dnl AC_DEFUN([AC_LIBTOOL_GCJ], [])
 
3230
dnl AC_DEFUN([AC_LIBTOOL_RC], [])
3128
3231
 
3129
3232
 
3130
3233
# _LT_TAG_COMPILER
3229
3332
        [lt_cv_ld_exported_symbols_list=no])
3230
3333
        LDFLAGS="$save_LDFLAGS"
3231
3334
    ])
 
3335
    AC_CACHE_CHECK([for -force_load linker flag],[lt_cv_ld_force_load],
 
3336
      [lt_cv_ld_force_load=no
 
3337
      cat > conftest.c << _LT_EOF
 
3338
int forced_loaded() { return 2;}
 
3339
_LT_EOF
 
3340
      echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&AS_MESSAGE_LOG_FD
 
3341
      $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&AS_MESSAGE_LOG_FD
 
3342
      echo "$AR cru libconftest.a conftest.o" >&AS_MESSAGE_LOG_FD
 
3343
      $AR cru libconftest.a conftest.o 2>&AS_MESSAGE_LOG_FD
 
3344
      echo "$RANLIB libconftest.a" >&AS_MESSAGE_LOG_FD
 
3345
      $RANLIB libconftest.a 2>&AS_MESSAGE_LOG_FD
 
3346
      cat > conftest.c << _LT_EOF
 
3347
int main() { return 0;}
 
3348
_LT_EOF
 
3349
      echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&AS_MESSAGE_LOG_FD
 
3350
      $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
 
3351
      _lt_result=$?
 
3352
      if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
 
3353
        lt_cv_ld_force_load=yes
 
3354
      else
 
3355
        cat conftest.err >&AS_MESSAGE_LOG_FD
 
3356
      fi
 
3357
        rm -f conftest.err libconftest.a conftest conftest.c
 
3358
        rm -rf conftest.dSYM
 
3359
    ])
3232
3360
    case $host_os in
3233
3361
    rhapsody* | darwin1.[[012]])
3234
3362
      _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
3256
3384
    else
3257
3385
      _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
3258
3386
    fi
3259
 
    if test "$DSYMUTIL" != ":"; then
 
3387
    if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
3260
3388
      _lt_dsymutil='~$DSYMUTIL $lib || :'
3261
3389
    else
3262
3390
      _lt_dsymutil=
3276
3404
  _LT_TAGVAR(hardcode_direct, $1)=no
3277
3405
  _LT_TAGVAR(hardcode_automatic, $1)=yes
3278
3406
  _LT_TAGVAR(hardcode_shlibpath_var, $1)=unsupported
3279
 
  _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 
3407
  if test "$lt_cv_ld_force_load" = "yes"; then
 
3408
    _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\"`'
 
3409
  else
 
3410
    _LT_TAGVAR(whole_archive_flag_spec, $1)=''
 
3411
  fi
3280
3412
  _LT_TAGVAR(link_all_deplibs, $1)=yes
3281
3413
  _LT_TAGVAR(allow_undefined_flag, $1)="$_lt_dar_allow_undefined"
3282
3414
  case $cc_basename in
3284
3416
     *) _lt_dar_can_shared=$GCC ;;
3285
3417
  esac
3286
3418
  if test "$_lt_dar_can_shared" = "yes"; then
3287
 
    output_verbose_link_cmd=echo
 
3419
    output_verbose_link_cmd=func_echo_all
3288
3420
    _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}"
3289
3421
    _LT_TAGVAR(module_cmds, $1)="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
3290
3422
    _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}"
3330
3462
# _LT_SHELL_INIT(ARG)
3331
3463
# -------------------
3332
3464
m4_define([_LT_SHELL_INIT],
3333
 
[ifdef([AC_DIVERSION_NOTICE],
3334
 
             [AC_DIVERT_PUSH(AC_DIVERSION_NOTICE)],
3335
 
         [AC_DIVERT_PUSH(NOTICE)])
3336
 
$1
3337
 
AC_DIVERT_POP
3338
 
])# _LT_SHELL_INIT
 
3465
[m4_divert_text([M4SH-INIT], [$1
 
3466
])])# _LT_SHELL_INIT
 
3467
 
3339
3468
 
3340
3469
 
3341
3470
# _LT_PROG_ECHO_BACKSLASH
3342
3471
# -----------------------
3343
 
# Add some code to the start of the generated configure script which
3344
 
# will find an echo command which doesn't interpret backslashes.
 
3472
# Find how we can fake an echo command that does not interpret backslash.
 
3473
# In particular, with Autoconf 2.60 or later we add some code to the start
 
3474
# of the generated configure script which will find a shell with a builtin
 
3475
# printf (which we can use as an echo command).
3345
3476
m4_defun([_LT_PROG_ECHO_BACKSLASH],
3346
 
[_LT_SHELL_INIT([
3347
 
# Check that we are running under the correct shell.
3348
 
SHELL=${CONFIG_SHELL-/bin/sh}
3349
 
 
3350
 
case X$lt_ECHO in
3351
 
X*--fallback-echo)
3352
 
  # Remove one level of quotation (which was required for Make).
3353
 
  ECHO=`echo "$lt_ECHO" | sed 's,\\\\\[$]\\[$]0,'[$]0','`
3354
 
  ;;
 
3477
[ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
3478
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
3479
ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
3480
 
 
3481
AC_MSG_CHECKING([how to print strings])
 
3482
# Test print first, because it will be a builtin if present.
 
3483
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
3484
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3485
  ECHO='print -r --'
 
3486
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
 
3487
  ECHO='printf %s\n'
 
3488
else
 
3489
  # Use this function as a fallback that always works.
 
3490
  func_fallback_echo ()
 
3491
  {
 
3492
    eval 'cat <<_LTECHO_EOF
 
3493
$[]1
 
3494
_LTECHO_EOF'
 
3495
  }
 
3496
  ECHO='func_fallback_echo'
 
3497
fi
 
3498
 
 
3499
# func_echo_all arg...
 
3500
# Invoke $ECHO with all args, space-separated.
 
3501
func_echo_all ()
 
3502
{
 
3503
    $ECHO "$*" 
 
3504
}
 
3505
 
 
3506
case "$ECHO" in
 
3507
  printf*) AC_MSG_RESULT([printf]) ;;
 
3508
  print*) AC_MSG_RESULT([print -r]) ;;
 
3509
  *) AC_MSG_RESULT([cat]) ;;
3355
3510
esac
3356
3511
 
3357
 
ECHO=${lt_ECHO-echo}
3358
 
if test "X[$]1" = X--no-reexec; then
3359
 
  # Discard the --no-reexec flag, and continue.
3360
 
  shift
3361
 
elif test "X[$]1" = X--fallback-echo; then
3362
 
  # Avoid inline document here, it may be left over
3363
 
  :
3364
 
elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
3365
 
  # Yippee, $ECHO works!
3366
 
  :
3367
 
else
3368
 
  # Restart under the correct shell.
3369
 
  exec $SHELL "[$]0" --no-reexec ${1+"[$]@"}
3370
 
fi
3371
 
 
3372
 
if test "X[$]1" = X--fallback-echo; then
3373
 
  # used as fallback echo
3374
 
  shift
3375
 
  cat <<_LT_EOF
3376
 
[$]*
3377
 
_LT_EOF
3378
 
  exit 0
3379
 
fi
3380
 
 
3381
 
# The HP-UX ksh and POSIX shell print the target directory to stdout
3382
 
# if CDPATH is set.
3383
 
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3384
 
 
3385
 
if test -z "$lt_ECHO"; then
3386
 
  if test "X${echo_test_string+set}" != Xset; then
3387
 
    # find a string as large as possible, as long as the shell can cope with it
3388
 
    for cmd in 'sed 50q "[$]0"' 'sed 20q "[$]0"' 'sed 10q "[$]0"' 'sed 2q "[$]0"' 'echo test'; do
3389
 
      # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
3390
 
      if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
3391
 
         { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
3392
 
      then
3393
 
        break
3394
 
      fi
3395
 
    done
3396
 
  fi
3397
 
 
3398
 
  if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
3399
 
     echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
3400
 
     test "X$echo_testing_string" = "X$echo_test_string"; then
3401
 
    :
3402
 
  else
3403
 
    # The Solaris, AIX, and Digital Unix default echo programs unquote
3404
 
    # backslashes.  This makes it impossible to quote backslashes using
3405
 
    #   echo "$something" | sed 's/\\/\\\\/g'
3406
 
    #
3407
 
    # So, first we look for a working echo in the user's PATH.
3408
 
 
3409
 
    lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
3410
 
    for dir in $PATH /usr/ucb; do
3411
 
      IFS="$lt_save_ifs"
3412
 
      if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
3413
 
         test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
3414
 
         echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
3415
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
3416
 
        ECHO="$dir/echo"
3417
 
        break
3418
 
      fi
3419
 
    done
3420
 
    IFS="$lt_save_ifs"
3421
 
 
3422
 
    if test "X$ECHO" = Xecho; then
3423
 
      # We didn't find a better echo, so look for alternatives.
3424
 
      if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
3425
 
         echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
3426
 
         test "X$echo_testing_string" = "X$echo_test_string"; then
3427
 
        # This shell has a builtin print -r that does the trick.
3428
 
        ECHO='print -r'
3429
 
      elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
3430
 
           test "X$CONFIG_SHELL" != X/bin/ksh; then
3431
 
        # If we have ksh, try running configure again with it.
3432
 
        ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
3433
 
        export ORIGINAL_CONFIG_SHELL
3434
 
        CONFIG_SHELL=/bin/ksh
3435
 
        export CONFIG_SHELL
3436
 
        exec $CONFIG_SHELL "[$]0" --no-reexec ${1+"[$]@"}
3437
 
      else
3438
 
        # Try using printf.
3439
 
        ECHO='printf %s\n'
3440
 
        if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
3441
 
           echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
3442
 
           test "X$echo_testing_string" = "X$echo_test_string"; then
3443
 
          # Cool, printf works
3444
 
          :
3445
 
        elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
3446
 
             test "X$echo_testing_string" = 'X\t' &&
3447
 
             echo_testing_string=`($ORIGINAL_CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
3448
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
3449
 
          CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
3450
 
          export CONFIG_SHELL
3451
 
          SHELL="$CONFIG_SHELL"
3452
 
          export SHELL
3453
 
          ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
3454
 
        elif echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo '\t') 2>/dev/null` &&
3455
 
             test "X$echo_testing_string" = 'X\t' &&
3456
 
             echo_testing_string=`($CONFIG_SHELL "[$]0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
3457
 
             test "X$echo_testing_string" = "X$echo_test_string"; then
3458
 
          ECHO="$CONFIG_SHELL [$]0 --fallback-echo"
3459
 
        else
3460
 
          # maybe with a smaller string...
3461
 
          prev=:
3462
 
 
3463
 
          for cmd in 'echo test' 'sed 2q "[$]0"' 'sed 10q "[$]0"' 'sed 20q "[$]0"' 'sed 50q "[$]0"'; do
3464
 
            if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
3465
 
            then
3466
 
              break
3467
 
            fi
3468
 
            prev="$cmd"
3469
 
          done
3470
 
 
3471
 
          if test "$prev" != 'sed 50q "[$]0"'; then
3472
 
            echo_test_string=`eval $prev`
3473
 
            export echo_test_string
3474
 
            exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "[$]0" ${1+"[$]@"}
3475
 
          else
3476
 
            # Oops.  We lost completely, so just stick with echo.
3477
 
            ECHO=echo
3478
 
          fi
3479
 
        fi
3480
 
      fi
3481
 
    fi
3482
 
  fi
3483
 
fi
3484
 
 
3485
 
# Copy echo and quote the copy suitably for passing to libtool from
3486
 
# the Makefile, instead of quoting the original, which is used later.
3487
 
lt_ECHO=$ECHO
3488
 
if test "X$lt_ECHO" = "X$CONFIG_SHELL [$]0 --fallback-echo"; then
3489
 
   lt_ECHO="$CONFIG_SHELL \\\$\[$]0 --fallback-echo"
3490
 
fi
3491
 
 
3492
 
AC_SUBST(lt_ECHO)
3493
 
])
 
3512
m4_ifdef([_AS_DETECT_SUGGESTED],
 
3513
[_AS_DETECT_SUGGESTED([
 
3514
  test -n "${ZSH_VERSION+set}${BASH_VERSION+set}" || (
 
3515
    ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
 
3516
    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
 
3517
    ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
 
3518
    PATH=/empty FPATH=/empty; export PATH FPATH
 
3519
    test "X`printf %s $ECHO`" = "X$ECHO" \
 
3520
      || test "X`print -r -- $ECHO`" = "X$ECHO" )])])
 
3521
 
3494
3522
_LT_DECL([], [SHELL], [1], [Shell to use when invoking shell scripts])
3495
 
_LT_DECL([], [ECHO], [1],
3496
 
    [An echo program that does not interpret backslashes])
 
3523
_LT_DECL([], [ECHO], [1], [An echo program that protects backslashes])
3497
3524
])# _LT_PROG_ECHO_BACKSLASH
3498
3525
 
3499
3526
 
3525
3552
  ;;
3526
3553
*-*-irix6*)
3527
3554
  # Find out which ABI we are using.
3528
 
  echo '[#]line __oline__ "configure"' > conftest.$ac_ext
 
3555
  echo '[#]line '$LINENO' "configure"' > conftest.$ac_ext
3529
3556
  if AC_TRY_EVAL(ac_compile); then
3530
3557
    if test "$lt_cv_prog_gnu_ld" = yes; then
3531
3558
      case `/usr/bin/file conftest.$ac_objext` in
3677
3704
  esac
3678
3705
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
3679
3706
fi
 
3707
 
 
3708
case $host_os in
 
3709
  darwin*)
 
3710
    lock_old_archive_extraction=yes ;;
 
3711
  *)
 
3712
    lock_old_archive_extraction=no ;;
 
3713
esac
3680
3714
_LT_DECL([], [old_postinstall_cmds], [2])
3681
3715
_LT_DECL([], [old_postuninstall_cmds], [2])
3682
3716
_LT_TAGDECL([], [old_archive_cmds], [2],
3683
3717
    [Commands used to build an old-style archive])
 
3718
_LT_DECL([], [lock_old_archive_extraction], [0],
 
3719
    [Whether to use a lock for old archive extraction])
3684
3720
])# _LT_CMD_OLD_ARCHIVE
3685
3721
 
3686
3722
 
3705
3741
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
3706
3742
   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
3707
3743
   -e 's:$: $lt_compiler_flag:'`
3708
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
3744
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
3709
3745
   (eval "$lt_compile" 2>conftest.err)
3710
3746
   ac_status=$?
3711
3747
   cat conftest.err >&AS_MESSAGE_LOG_FD
3712
 
   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
3748
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
3713
3749
   if (exit $ac_status) && test -s "$ac_outfile"; then
3714
3750
     # The compiler can only warn and ignore the option if not recognized
3715
3751
     # So say no if there are warnings other than the usual output.
3716
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
 
3752
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
3717
3753
     $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3718
3754
     if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
3719
3755
       $2=yes
3753
3789
     if test -s conftest.err; then
3754
3790
       # Append any errors to the config.log.
3755
3791
       cat conftest.err 1>&AS_MESSAGE_LOG_FD
3756
 
       $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
 
3792
       $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
3757
3793
       $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
3758
3794
       if diff conftest.exp conftest.er2 >/dev/null; then
3759
3795
         $2=yes
3816
3852
    lt_cv_sys_max_cmd_len=8192;
3817
3853
    ;;
3818
3854
 
 
3855
  mint*)
 
3856
    # On MiNT this can take a long time and run out of memory.
 
3857
    lt_cv_sys_max_cmd_len=8192;
 
3858
    ;;
 
3859
 
3819
3860
  amigaos*)
3820
3861
    # On AmigaOS with pdksh, this test takes hours, literally.
3821
3862
    # So we just punt and use a minimum line length of 8192.
3880
3921
      # If test is not a shell built-in, we'll probably end up computing a
3881
3922
      # maximum length that is only half of the actual maximum length, but
3882
3923
      # we can't tell.
3883
 
      while { test "X"`$SHELL [$]0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
3884
 
                 = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
 
3924
      while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
 
3925
                 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
3885
3926
              test $i != 17 # 1/2 MB should be enough
3886
3927
      do
3887
3928
        i=`expr $i + 1`
3932
3973
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
3933
3974
  lt_status=$lt_dlunknown
3934
3975
  cat > conftest.$ac_ext <<_LT_EOF
3935
 
[#line __oline__ "configure"
 
3976
[#line $LINENO "configure"
3936
3977
#include "confdefs.h"
3937
3978
 
3938
3979
#if HAVE_DLFCN_H
3973
4014
#  endif
3974
4015
#endif
3975
4016
 
3976
 
void fnord() { int i=42;}
 
4017
/* When -fvisbility=hidden is used, assume the code has been annotated
 
4018
   correspondingly for the symbols needed.  */
 
4019
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
 
4020
void fnord () __attribute__((visibility("default")));
 
4021
#endif
 
4022
 
 
4023
void fnord () { int i=42; }
3977
4024
int main ()
3978
4025
{
3979
4026
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
3982
4029
  if (self)
3983
4030
    {
3984
4031
      if (dlsym (self,"fnord"))       status = $lt_dlno_uscore;
3985
 
      else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
 
4032
      else
 
4033
        {
 
4034
          if (dlsym( self,"_fnord"))  status = $lt_dlneed_uscore;
 
4035
          else puts (dlerror ());
 
4036
        }
3986
4037
      /* dlclose (self); */
3987
4038
    }
3988
4039
  else
4158
4209
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
4159
4210
   -e 's: [[^ ]]*conftest\.: $lt_compiler_flag&:; t' \
4160
4211
   -e 's:$: $lt_compiler_flag:'`
4161
 
   (eval echo "\"\$as_me:__oline__: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
 
4212
   (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&AS_MESSAGE_LOG_FD)
4162
4213
   (eval "$lt_compile" 2>out/conftest.err)
4163
4214
   ac_status=$?
4164
4215
   cat out/conftest.err >&AS_MESSAGE_LOG_FD
4165
 
   echo "$as_me:__oline__: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
 
4216
   echo "$as_me:$LINENO: \$? = $ac_status" >&AS_MESSAGE_LOG_FD
4166
4217
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
4167
4218
   then
4168
4219
     # The compiler can only warn and ignore the option if not recognized
4169
4220
     # So say no if there are warnings
4170
 
     $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
 
4221
     $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
4171
4222
     $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
4172
4223
     if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
4173
4224
       _LT_TAGVAR(lt_cv_prog_compiler_c_o, $1)=yes
4326
4377
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
4327
4378
m4_require([_LT_DECL_OBJDUMP])dnl
4328
4379
m4_require([_LT_DECL_SED])dnl
 
4380
m4_require([_LT_CHECK_SHELL_FEATURES])dnl
4329
4381
AC_MSG_CHECKING([dynamic linker characteristics])
4330
4382
m4_if([$1],
4331
4383
        [], [
4334
4386
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
4335
4387
    *) lt_awk_arg="/^libraries:/" ;;
4336
4388
  esac
4337
 
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4338
 
  if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
 
4389
  case $host_os in
 
4390
    mingw* | cegcc*) lt_sed_strip_eq="s,=\([[A-Za-z]]:\),\1,g" ;;
 
4391
    *) lt_sed_strip_eq="s,=/,/,g" ;;
 
4392
  esac
 
4393
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
 
4394
  case $lt_search_path_spec in
 
4395
  *\;*)
4339
4396
    # if the path contains ";" then we assume it to be the separator
4340
4397
    # otherwise default to the standard path separator (i.e. ":") - it is
4341
4398
    # assumed that no part of a normal pathname contains ";" but that should
4342
4399
    # okay in the real world where ";" in dirpaths is itself problematic.
4343
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
4344
 
  else
4345
 
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
4346
 
  fi
 
4400
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
 
4401
    ;;
 
4402
  *)
 
4403
    lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
 
4404
    ;;
 
4405
  esac
4347
4406
  # Ok, now we have the path, separated by spaces, we can step through it
4348
4407
  # and add multilib dir if necessary.
4349
4408
  lt_tmp_lt_search_path_spec=
4356
4415
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
4357
4416
    fi
4358
4417
  done
4359
 
  lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
 
4418
  lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
4360
4419
BEGIN {RS=" "; FS="/|\n";} {
4361
4420
  lt_foo="";
4362
4421
  lt_count=0;
4376
4435
  if (lt_foo != "") { lt_freq[[lt_foo]]++; }
4377
4436
  if (lt_freq[[lt_foo]] == 1) { print lt_foo; }
4378
4437
}'`
4379
 
  sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
 
4438
  # AWK program above erroneously prepends '/' to C:/dos/paths
 
4439
  # for these hosts.
 
4440
  case $host_os in
 
4441
    mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
 
4442
      $SED 's,/\([[A-Za-z]]:\),\1,g'` ;;
 
4443
  esac
 
4444
  sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
4380
4445
else
4381
4446
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
4382
4447
fi])
4464
4529
  m68k)
4465
4530
    library_names_spec='$libname.ixlibrary $libname.a'
4466
4531
    # Create ${libname}_ixlibrary.a entries in /sys/libs.
4467
 
    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'
 
4532
    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'
4468
4533
    ;;
4469
4534
  esac
4470
4535
  ;;
4517
4582
    cygwin*)
4518
4583
      # Cygwin DLLs use 'cyg' prefix rather than 'lib'
4519
4584
      soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4520
 
      sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
 
4585
m4_if([$1], [],[
 
4586
      sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"])
4521
4587
      ;;
4522
4588
    mingw* | cegcc*)
4523
4589
      # MinGW DLLs use traditional 'lib' prefix
4524
4590
      soname_spec='${libname}`echo ${release} | $SED -e 's/[[.]]/-/g'`${versuffix}${shared_ext}'
4525
 
      sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
4526
 
      if $ECHO "$sys_lib_search_path_spec" | [$GREP ';[c-zC-Z]:/' >/dev/null]; then
4527
 
        # It is most probably a Windows format PATH printed by
4528
 
        # mingw gcc, but we are running on Cygwin. Gcc prints its search
4529
 
        # path with ; separators, and with drive letters. We can handle the
4530
 
        # drive letters (cygwin fileutils understands them), so leave them,
4531
 
        # especially as we might pass files found there to a mingw objdump,
4532
 
        # which wouldn't understand a cygwinified path. Ahh.
4533
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
4534
 
      else
4535
 
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
4536
 
      fi
4537
4591
      ;;
4538
4592
    pw32*)
4539
4593
      # pw32 DLLs use 'pw' prefix rather than 'lib'
4633
4687
  hardcode_into_libs=yes
4634
4688
  ;;
4635
4689
 
 
4690
haiku*)
 
4691
  version_type=linux
 
4692
  need_lib_prefix=no
 
4693
  need_version=no
 
4694
  dynamic_linker="$host_os runtime_loader"
 
4695
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
 
4696
  soname_spec='${libname}${release}${shared_ext}$major'
 
4697
  shlibpath_var=LIBRARY_PATH
 
4698
  shlibpath_overrides_runpath=yes
 
4699
  sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/system/lib'
 
4700
  hardcode_into_libs=yes
 
4701
  ;;
 
4702
 
4636
4703
hpux9* | hpux10* | hpux11*)
4637
4704
  # Give a soname corresponding to the major version so that dld.sl refuses to
4638
4705
  # link against other versions.
4675
4742
    soname_spec='${libname}${release}${shared_ext}$major'
4676
4743
    ;;
4677
4744
  esac
4678
 
  # HP-UX runs *really* slowly unless shared libraries are mode 555.
 
4745
  # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
4679
4746
  postinstall_cmds='chmod 555 $lib'
 
4747
  # or fails outright, so override atomically:
 
4748
  install_override_mode=555
4680
4749
  ;;
4681
4750
 
4682
4751
interix[[3-9]]*)
4734
4803
  ;;
4735
4804
 
4736
4805
# This must be Linux ELF.
4737
 
linux* | k*bsd*-gnu)
 
4806
linux* | k*bsd*-gnu | kopensolaris*-gnu)
4738
4807
  version_type=linux
4739
4808
  need_lib_prefix=no
4740
4809
  need_version=no
4743
4812
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
4744
4813
  shlibpath_var=LD_LIBRARY_PATH
4745
4814
  shlibpath_overrides_runpath=no
 
4815
 
4746
4816
  # Some binutils ld are patched to set DT_RUNPATH
4747
 
  save_LDFLAGS=$LDFLAGS
4748
 
  save_libdir=$libdir
4749
 
  eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
4750
 
       LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
4751
 
  AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
4752
 
    [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
4753
 
       [shlibpath_overrides_runpath=yes])])
4754
 
  LDFLAGS=$save_LDFLAGS
4755
 
  libdir=$save_libdir
 
4817
  AC_CACHE_VAL([lt_cv_shlibpath_overrides_runpath],
 
4818
    [lt_cv_shlibpath_overrides_runpath=no
 
4819
    save_LDFLAGS=$LDFLAGS
 
4820
    save_libdir=$libdir
 
4821
    eval "libdir=/foo; wl=\"$_LT_TAGVAR(lt_prog_compiler_wl, $1)\"; \
 
4822
         LDFLAGS=\"\$LDFLAGS $_LT_TAGVAR(hardcode_libdir_flag_spec, $1)\""
 
4823
    AC_LINK_IFELSE([AC_LANG_PROGRAM([],[])],
 
4824
      [AS_IF([ ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null],
 
4825
         [lt_cv_shlibpath_overrides_runpath=yes])])
 
4826
    LDFLAGS=$save_LDFLAGS
 
4827
    libdir=$save_libdir
 
4828
    ])
 
4829
  shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
4756
4830
 
4757
4831
  # This implies no fast_install, which is unacceptable.
4758
4832
  # Some rework will be needed to allow for fast_install
4761
4835
 
4762
4836
  # Append ld.so.conf contents to the search path
4763
4837
  if test -f /etc/ld.so.conf; then
4764
 
    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' ' '`
 
4838
    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' ' '`
4765
4839
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
4766
4840
  fi
4767
4841
 
4994
5068
    The last name is the one that the linker finds with -lNAME]])
4995
5069
_LT_DECL([], [soname_spec], [1],
4996
5070
    [[The coded name of the library, if different from the real name]])
 
5071
_LT_DECL([], [install_override_mode], [1],
 
5072
    [Permission mode override for installation of shared libraries])
4997
5073
_LT_DECL([], [postinstall_cmds], [2],
4998
5074
    [Command to use after installation of a shared archive])
4999
5075
_LT_DECL([], [postuninstall_cmds], [2],
5106
5182
AC_REQUIRE([AC_CANONICAL_BUILD])dnl
5107
5183
m4_require([_LT_DECL_SED])dnl
5108
5184
m4_require([_LT_DECL_EGREP])dnl
 
5185
m4_require([_LT_PROG_ECHO_BACKSLASH])dnl
5109
5186
 
5110
5187
AC_ARG_WITH([gnu-ld],
5111
5188
    [AS_HELP_STRING([--with-gnu-ld],
5235
5312
    fi
5236
5313
    ;;
5237
5314
esac
5238
 
_LT_DECL([], [reload_flag], [1], [How to create reloadable object files])dnl
5239
 
_LT_DECL([], [reload_cmds], [2])dnl
 
5315
_LT_TAGDECL([], [reload_flag], [1], [How to create reloadable object files])dnl
 
5316
_LT_TAGDECL([], [reload_cmds], [2])dnl
5240
5317
])# _LT_CMD_RELOAD
5241
5318
 
5242
5319
 
5288
5365
  # Base MSYS/MinGW do not provide the 'file' command needed by
5289
5366
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
5290
5367
  # unless we find 'file', for example because we are cross-compiling.
5291
 
  if ( file / ) >/dev/null 2>&1; then
 
5368
  # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
 
5369
  if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
5292
5370
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
5293
5371
    lt_cv_file_magic_cmd='func_win32_libid'
5294
5372
  else
5295
 
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
5373
    # Keep this pattern in sync with the one in func_win32_libid.
 
5374
    lt_cv_deplibs_check_method='file_magic file format (pei*-i386(.*architecture: i386)?|pe-arm-wince|pe-x86-64)'
5296
5375
    lt_cv_file_magic_cmd='$OBJDUMP -f'
5297
5376
  fi
5298
5377
  ;;
5299
5378
 
5300
 
cegcc)
 
5379
cegcc*)
5301
5380
  # use the weaker test based on 'objdump'. See mingw*.
5302
5381
  lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
5303
5382
  lt_cv_file_magic_cmd='$OBJDUMP -f'
5327
5406
  lt_cv_deplibs_check_method=pass_all
5328
5407
  ;;
5329
5408
 
 
5409
haiku*)
 
5410
  lt_cv_deplibs_check_method=pass_all
 
5411
  ;;
 
5412
 
5330
5413
hpux10.20* | hpux11*)
5331
5414
  lt_cv_file_magic_cmd=/usr/bin/file
5332
5415
  case $host_cpu in
5335
5418
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
5336
5419
    ;;
5337
5420
  hppa*64*)
5338
 
    [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]']
 
5421
    [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]']
5339
5422
    lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
5340
5423
    ;;
5341
5424
  *)
5342
 
    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]].[[0-9]]) shared library'
 
5425
    lt_cv_deplibs_check_method='file_magic (s[[0-9]][[0-9]][[0-9]]|PA-RISC[[0-9]]\.[[0-9]]) shared library'
5343
5426
    lt_cv_file_magic_test_file=/usr/lib/libc.sl
5344
5427
    ;;
5345
5428
  esac
5361
5444
  ;;
5362
5445
 
5363
5446
# This must be Linux ELF.
5364
 
linux* | k*bsd*-gnu)
 
5447
linux* | k*bsd*-gnu | kopensolaris*-gnu)
5365
5448
  lt_cv_deplibs_check_method=pass_all
5366
5449
  ;;
5367
5450
 
5503
5586
  NM="$lt_cv_path_NM"
5504
5587
else
5505
5588
  # Didn't find any BSD compatible name lister, look for dumpbin.
5506
 
  AC_CHECK_TOOLS(DUMPBIN, ["dumpbin -symbols" "link -dump -symbols"], :)
 
5589
  if test -n "$DUMPBIN"; then :
 
5590
    # Let the user override the test.
 
5591
  else
 
5592
    AC_CHECK_TOOLS(DUMPBIN, [dumpbin "link -dump"], :)
 
5593
    case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
 
5594
    *COFF*)
 
5595
      DUMPBIN="$DUMPBIN -symbols"
 
5596
      ;;
 
5597
    *)
 
5598
      DUMPBIN=:
 
5599
      ;;
 
5600
    esac
 
5601
  fi
5507
5602
  AC_SUBST([DUMPBIN])
5508
5603
  if test "$DUMPBIN" != ":"; then
5509
5604
    NM="$DUMPBIN"
5516
5611
AC_CACHE_CHECK([the name lister ($NM) interface], [lt_cv_nm_interface],
5517
5612
  [lt_cv_nm_interface="BSD nm"
5518
5613
  echo "int some_variable = 0;" > conftest.$ac_ext
5519
 
  (eval echo "\"\$as_me:__oline__: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
 
5614
  (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&AS_MESSAGE_LOG_FD)
5520
5615
  (eval "$ac_compile" 2>conftest.err)
5521
5616
  cat conftest.err >&AS_MESSAGE_LOG_FD
5522
 
  (eval echo "\"\$as_me:__oline__: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
 
5617
  (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&AS_MESSAGE_LOG_FD)
5523
5618
  (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
5524
5619
  cat conftest.err >&AS_MESSAGE_LOG_FD
5525
 
  (eval echo "\"\$as_me:__oline__: output\"" >&AS_MESSAGE_LOG_FD)
 
5620
  (eval echo "\"\$as_me:$LINENO: output\"" >&AS_MESSAGE_LOG_FD)
5526
5621
  cat conftest.out >&AS_MESSAGE_LOG_FD
5527
5622
  if $GREP 'External.*some_variable' conftest.out > /dev/null; then
5528
5623
    lt_cv_nm_interface="MS dumpbin"
5545
5640
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
5546
5641
LIBM=
5547
5642
case $host in
5548
 
*-*-beos* | *-*-cygwin* | *-*-pw32* | *-*-darwin*)
 
5643
*-*-beos* | *-*-cegcc* | *-*-cygwin* | *-*-haiku* | *-*-pw32* | *-*-darwin*)
5549
5644
  # These system don't have libm, or don't need it
5550
5645
  ;;
5551
5646
*-ncr-sysv4.3*)
5573
5668
_LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=
5574
5669
 
5575
5670
if test "$GCC" = yes; then
5576
 
  _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin'
 
5671
  case $cc_basename in
 
5672
  nvcc*)
 
5673
    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -Xcompiler -fno-builtin' ;;
 
5674
  *)
 
5675
    _LT_TAGVAR(lt_prog_compiler_no_builtin_flag, $1)=' -fno-builtin' ;;
 
5676
  esac
5577
5677
 
5578
5678
  _LT_COMPILER_OPTION([if $compiler supports -fno-rtti -fno-exceptions],
5579
5679
    lt_cv_prog_compiler_rtti_exceptions,
5590
5690
m4_defun([_LT_CMD_GLOBAL_SYMBOLS],
5591
5691
[AC_REQUIRE([AC_CANONICAL_HOST])dnl
5592
5692
AC_REQUIRE([AC_PROG_CC])dnl
 
5693
AC_REQUIRE([AC_PROG_AWK])dnl
5593
5694
AC_REQUIRE([LT_PATH_NM])dnl
5594
5695
AC_REQUIRE([LT_PATH_LD])dnl
5595
5696
m4_require([_LT_DECL_SED])dnl
5715
5816
  if AC_TRY_EVAL(ac_compile); then
5716
5817
    # Now try to grab the symbols.
5717
5818
    nlist=conftest.nm
5718
 
    if AC_TRY_EVAL(NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) && test -s "$nlist"; then
 
5819
    if AC_TRY_EVAL(NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) && test -s "$nlist"; then
5719
5820
      # Try sorting and uniquifying the output.
5720
5821
      if sort "$nlist" | uniq > "$nlist"T; then
5721
5822
        mv -f "$nlist"T "$nlist"
5877
5978
      # DJGPP does not support shared libraries at all
5878
5979
      _LT_TAGVAR(lt_prog_compiler_pic, $1)=
5879
5980
      ;;
 
5981
    haiku*)
 
5982
      # PIC is the default for Haiku.
 
5983
      # The "-static" flag exists, but is broken.
 
5984
      _LT_TAGVAR(lt_prog_compiler_static, $1)=
 
5985
      ;;
5880
5986
    interix[[3-9]]*)
5881
5987
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
5882
5988
      # Instead, we relocate shared libraries at runtime.
5982
6088
            ;;
5983
6089
        esac
5984
6090
        ;;
5985
 
      linux* | k*bsd*-gnu)
 
6091
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
5986
6092
        case $cc_basename in
5987
6093
          KCC*)
5988
6094
            # KAI C++ Compiler
6015
6121
            _LT_TAGVAR(lt_prog_compiler_pic, $1)=
6016
6122
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6017
6123
            ;;
6018
 
          xlc* | xlC*)
6019
 
            # IBM XL 8.0 on PPC
 
6124
          xlc* | xlC* | bgxl[[cC]]* | mpixl[[cC]]*)
 
6125
            # IBM XL 8.0, 9.0 on PPC and BlueGene
6020
6126
            _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6021
6127
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
6022
6128
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
6078
6184
        ;;
6079
6185
      solaris*)
6080
6186
        case $cc_basename in
6081
 
          CC*)
 
6187
          CC* | sunCC*)
6082
6188
            # Sun C++ 4.2, 5.x and Centerline C++
6083
6189
            _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6084
6190
            _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6182
6288
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fno-common'
6183
6289
      ;;
6184
6290
 
 
6291
    haiku*)
 
6292
      # PIC is the default for Haiku.
 
6293
      # The "-static" flag exists, but is broken.
 
6294
      _LT_TAGVAR(lt_prog_compiler_static, $1)=
 
6295
      ;;
 
6296
 
6185
6297
    hpux*)
6186
6298
      # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
6187
6299
      # PA HP-UX.  On IA64 HP-UX, PIC is the default but the pic flag
6224
6336
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-fPIC'
6225
6337
      ;;
6226
6338
    esac
 
6339
 
 
6340
    case $cc_basename in
 
6341
    nvcc*) # Cuda Compiler Driver 2.2
 
6342
      _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Xlinker '
 
6343
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-Xcompiler -fPIC'
 
6344
      ;;
 
6345
    esac
6227
6346
  else
6228
6347
    # PORTME Check for flag to pass linker flags through the system compiler.
6229
6348
    case $host_os in
6266
6385
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6267
6386
      ;;
6268
6387
 
6269
 
    linux* | k*bsd*-gnu)
 
6388
    linux* | k*bsd*-gnu | kopensolaris*-gnu)
6270
6389
      case $cc_basename in
6271
6390
      # old Intel for x86_64 which still supported -KPIC.
6272
6391
      ecc*)
6287
6406
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='--shared'
6288
6407
        _LT_TAGVAR(lt_prog_compiler_static, $1)='--static'
6289
6408
        ;;
6290
 
      pgcc* | pgf77* | pgf90* | pgf95*)
 
6409
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
6291
6410
        # Portland Group compilers (*not* the Pentium gcc compiler,
6292
6411
        # which looks to be a dead project)
6293
6412
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6299
6418
        # All Alpha code is PIC.
6300
6419
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
6301
6420
        ;;
6302
 
      xl*)
6303
 
        # IBM XL C 8.0/Fortran 10.1 on PPC
 
6421
      xl* | bgxl* | bgf* | mpixl*)
 
6422
        # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
6304
6423
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6305
6424
        _LT_TAGVAR(lt_prog_compiler_pic, $1)='-qpic'
6306
6425
        _LT_TAGVAR(lt_prog_compiler_static, $1)='-qstaticlink'
6307
6426
        ;;
6308
6427
      *)
6309
6428
        case `$CC -V 2>&1 | sed 5q` in
 
6429
        *Sun\ F* | *Sun*Fortran*)
 
6430
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
6431
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
 
6432
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
 
6433
          _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
 
6434
          ;;
6310
6435
        *Sun\ C*)
6311
6436
          # Sun C 5.9
6312
6437
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6313
6438
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6314
6439
          _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,'
6315
6440
          ;;
6316
 
        *Sun\ F*)
6317
 
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
6318
 
          _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6319
 
          _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6320
 
          _LT_TAGVAR(lt_prog_compiler_wl, $1)=''
6321
 
          ;;
6322
6441
        esac
6323
6442
        ;;
6324
6443
      esac
6349
6468
      _LT_TAGVAR(lt_prog_compiler_pic, $1)='-KPIC'
6350
6469
      _LT_TAGVAR(lt_prog_compiler_static, $1)='-Bstatic'
6351
6470
      case $cc_basename in
6352
 
      f77* | f90* | f95*)
 
6471
      f77* | f90* | f95* | sunf77* | sunf90* | sunf95*)
6353
6472
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Qoption ld ';;
6354
6473
      *)
6355
6474
        _LT_TAGVAR(lt_prog_compiler_wl, $1)='-Wl,';;
6459
6578
  aix[[4-9]]*)
6460
6579
    # If we're using GNU nm, then we don't want the "-C" option.
6461
6580
    # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
6581
    # Also, AIX nm treats weak defined symbols like other global defined
 
6582
    # symbols, whereas GNU nm marks them as "W".
6462
6583
    if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
6463
 
      _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'
 
6584
      _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'
6464
6585
    else
6465
6586
      _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'
6466
6587
    fi
6538
6659
  esac
6539
6660
 
6540
6661
  _LT_TAGVAR(ld_shlibs, $1)=yes
 
6662
 
 
6663
  # On some targets, GNU ld is compatible enough with the native linker
 
6664
  # that we're better off using the native interface for both.
 
6665
  lt_use_gnu_ld_interface=no
6541
6666
  if test "$with_gnu_ld" = yes; then
 
6667
    case $host_os in
 
6668
      aix*)
 
6669
        # The AIX port of GNU ld has always aspired to compatibility
 
6670
        # with the native linker.  However, as the warning in the GNU ld
 
6671
        # block says, versions before 2.19.5* couldn't really create working
 
6672
        # shared libraries, regardless of the interface used.
 
6673
        case `$LD -v 2>&1` in
 
6674
          *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
 
6675
          *\ \(GNU\ Binutils\)\ 2.[[2-9]]*) ;;
 
6676
          *\ \(GNU\ Binutils\)\ [[3-9]]*) ;;
 
6677
          *)
 
6678
            lt_use_gnu_ld_interface=yes
 
6679
            ;;
 
6680
        esac
 
6681
        ;;
 
6682
      *)
 
6683
        lt_use_gnu_ld_interface=yes
 
6684
        ;;
 
6685
    esac
 
6686
  fi
 
6687
 
 
6688
  if test "$lt_use_gnu_ld_interface" = yes; then
6542
6689
    # If archive_cmds runs LD, not CC, wlarc should be empty
6543
6690
    wlarc='${wl}'
6544
6691
 
6556
6703
    fi
6557
6704
    supports_anon_versioning=no
6558
6705
    case `$LD -v 2>&1` in
 
6706
      *GNU\ gold*) supports_anon_versioning=yes ;;
6559
6707
      *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
6560
6708
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6561
6709
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6571
6719
        _LT_TAGVAR(ld_shlibs, $1)=no
6572
6720
        cat <<_LT_EOF 1>&2
6573
6721
 
6574
 
*** Warning: the GNU linker, at least up to release 2.9.1, is reported
 
6722
*** Warning: the GNU linker, at least up to release 2.19, is reported
6575
6723
*** to be unable to reliably create shared libraries on AIX.
6576
6724
*** Therefore, libtool is disabling shared libraries support.  If you
6577
 
*** really care for shared libraries, you may want to modify your PATH
6578
 
*** so that a non-GNU linker is found, and then restart.
 
6725
*** really care for shared libraries, you may want to install binutils
 
6726
*** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
 
6727
*** You will then need to restart the configuration process.
6579
6728
 
6580
6729
_LT_EOF
6581
6730
      fi
6611
6760
      # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
6612
6761
      # as there is no search path for DLLs.
6613
6762
      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
6763
      _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
6614
6764
      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
6615
6765
      _LT_TAGVAR(always_export_symbols, $1)=no
6616
6766
      _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
6632
6782
      fi
6633
6783
      ;;
6634
6784
 
 
6785
    haiku*)
 
6786
      _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
6787
      _LT_TAGVAR(link_all_deplibs, $1)=yes
 
6788
      ;;
 
6789
 
6635
6790
    interix[[3-9]]*)
6636
6791
      _LT_TAGVAR(hardcode_direct, $1)=no
6637
6792
      _LT_TAGVAR(hardcode_shlibpath_var, $1)=no
6647
6802
      _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'
6648
6803
      ;;
6649
6804
 
6650
 
    gnu* | linux* | tpf* | k*bsd*-gnu)
 
6805
    gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
6651
6806
      tmp_diet=no
6652
6807
      if test "$host_os" = linux-dietlibc; then
6653
6808
        case $cc_basename in
6661
6816
        tmp_sharedflag='-shared'
6662
6817
        case $cc_basename,$host_cpu in
6663
6818
        pgcc*)                          # Portland Group C compiler
6664
 
          _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'
 
6819
          _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'
6665
6820
          tmp_addflag=' $pic_flag'
6666
6821
          ;;
6667
 
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
6668
 
          _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'
 
6822
        pgf77* | pgf90* | pgf95* | pgfortran*)
 
6823
                                        # Portland Group f77 and f90 compilers
 
6824
          _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'
6669
6825
          tmp_addflag=' $pic_flag -Mnomain' ;;
6670
6826
        ecc*,ia64* | icc*,ia64*)        # Intel C compiler on ia64
6671
6827
          tmp_addflag=' -i_dynamic' ;;
6676
6832
        lf95*)                          # Lahey Fortran 8.1
6677
6833
          _LT_TAGVAR(whole_archive_flag_spec, $1)=
6678
6834
          tmp_sharedflag='--shared' ;;
6679
 
        xl[[cC]]*)                      # IBM XL C 8.0 on PPC (deal with xlf below)
 
6835
        xl[[cC]]* | bgxl[[cC]]* | mpixl[[cC]]*) # IBM XL C 8.0 on PPC (deal with xlf below)
6680
6836
          tmp_sharedflag='-qmkshrobj'
6681
6837
          tmp_addflag= ;;
 
6838
        nvcc*)  # Cuda Compiler Driver 2.2
 
6839
          _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'
 
6840
          _LT_TAGVAR(compiler_needs_object, $1)=yes
 
6841
          ;;
6682
6842
        esac
6683
6843
        case `$CC -V 2>&1 | sed 5q` in
6684
6844
        *Sun\ C*)                       # Sun C 5.9
6685
 
          _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'
 
6845
          _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'
6686
6846
          _LT_TAGVAR(compiler_needs_object, $1)=yes
6687
6847
          tmp_sharedflag='-G' ;;
6688
6848
        *Sun\ F*)                       # Sun Fortran 8.3
6698
6858
        fi
6699
6859
 
6700
6860
        case $cc_basename in
6701
 
        xlf*)
 
6861
        xlf* | bgf* | bgxlf* | mpixlf*)
6702
6862
          # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
6703
6863
          _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive'
6704
6864
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)=
6705
6865
          _LT_TAGVAR(hardcode_libdir_flag_spec_ld, $1)='-rpath $libdir'
6706
 
          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
 
6866
          _LT_TAGVAR(archive_cmds, $1)='$LD -shared $libobjs $deplibs $linker_flags -soname $soname -o $lib'
6707
6867
          if test "x$supports_anon_versioning" = xyes; then
6708
6868
            _LT_TAGVAR(archive_expsym_cmds, $1)='echo "{ global:" > $output_objdir/$libname.ver~
6709
6869
              cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6710
6870
              echo "local: *; };" >> $output_objdir/$libname.ver~
6711
 
              $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
 
6871
              $LD -shared $libobjs $deplibs $linker_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
6712
6872
          fi
6713
6873
          ;;
6714
6874
        esac
6829
6989
      else
6830
6990
        # If we're using GNU nm, then we don't want the "-C" option.
6831
6991
        # -C means demangle to AIX nm, but means don't demangle with GNU nm
 
6992
        # Also, AIX nm treats weak defined symbols like other global
 
6993
        # defined symbols, whereas GNU nm marks them as "W".
6832
6994
        if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
6833
 
          _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'
 
6995
          _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'
6834
6996
        else
6835
6997
          _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'
6836
6998
        fi
6919
7081
        # empty executable.
6920
7082
        _LT_SYS_MODULE_PATH_AIX
6921
7083
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
6922
 
        _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"
 
7084
        _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"
6923
7085
      else
6924
7086
        if test "$host_cpu" = ia64; then
6925
7087
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
6934
7096
          # -berok will link without error, but may produce a broken library.
6935
7097
          _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
6936
7098
          _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
6937
 
          # Exported symbols can be pulled into shared objects from archives
6938
 
          _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
7099
          if test "$with_gnu_ld" = yes; then
 
7100
            # We only use this code for GNU lds that support --whole-archive.
 
7101
            _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
7102
          else
 
7103
            # Exported symbols can be pulled into shared objects from archives
 
7104
            _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
7105
          fi
6939
7106
          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
6940
7107
          # This is similar to how AIX traditionally builds its shared libraries.
6941
7108
          _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'
6974
7141
      # Tell ltmain to make .dll files, not .so files.
6975
7142
      shrext_cmds=".dll"
6976
7143
      # FIXME: Setting linknames here is a bad hack.
6977
 
      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
 
7144
      _LT_TAGVAR(archive_cmds, $1)='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
6978
7145
      # The linker will automatically build a .lib file if we build a DLL.
6979
7146
      _LT_TAGVAR(old_archive_from_new_cmds, $1)='true'
6980
7147
      # FIXME: Should let the user specify the lib program.
7041
7208
      ;;
7042
7209
 
7043
7210
    hpux10*)
7044
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
7211
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
7045
7212
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
7046
7213
      else
7047
7214
        _LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
7060
7227
      ;;
7061
7228
 
7062
7229
    hpux11*)
7063
 
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
 
7230
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
7064
7231
        case $host_cpu in
7065
7232
        hppa*64*)
7066
7233
          _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7081
7248
          _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
7082
7249
          ;;
7083
7250
        *)
7084
 
          _LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
7251
        m4_if($1, [], [
 
7252
          # Older versions of the 11.00 compiler do not understand -b yet
 
7253
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
 
7254
          _LT_LINKER_OPTION([if $CC understands -b],
 
7255
            _LT_TAGVAR(lt_cv_prog_compiler__b, $1), [-b],
 
7256
            [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'],
 
7257
            [_LT_TAGVAR(archive_cmds, $1)='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'])],
 
7258
          [_LT_TAGVAR(archive_cmds, $1)='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'])
7085
7259
          ;;
7086
7260
        esac
7087
7261
      fi
7109
7283
 
7110
7284
    irix5* | irix6* | nonstopux*)
7111
7285
      if test "$GCC" = yes; then
7112
 
        _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'
 
7286
        _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'
7113
7287
        # Try to use the -exported_symbol ld option, if it does not
7114
7288
        # work, assume that -exports_file does not work either and
7115
7289
        # implicitly export all symbols.
7116
7290
        save_LDFLAGS="$LDFLAGS"
7117
7291
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
7118
7292
        AC_LINK_IFELSE(int foo(void) {},
7119
 
          _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'
 
7293
          _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'
7120
7294
        )
7121
7295
        LDFLAGS="$save_LDFLAGS"
7122
7296
      else
7123
 
        _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'
7124
 
        _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'
 
7297
        _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'
 
7298
        _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'
7125
7299
      fi
7126
7300
      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
7127
7301
      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7183
7357
      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
7184
7358
      _LT_TAGVAR(hardcode_minus_L, $1)=yes
7185
7359
      _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
7186
 
      _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'
 
7360
      _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'
7187
7361
      _LT_TAGVAR(old_archive_from_new_cmds, $1)='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
7188
7362
      ;;
7189
7363
 
7190
7364
    osf3*)
7191
7365
      if test "$GCC" = yes; then
7192
7366
        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7193
 
        _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'
 
7367
        _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'
7194
7368
      else
7195
7369
        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7196
 
        _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'
 
7370
        _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'
7197
7371
      fi
7198
7372
      _LT_TAGVAR(archive_cmds_need_lc, $1)='no'
7199
7373
      _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7203
7377
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
7204
7378
      if test "$GCC" = yes; then
7205
7379
        _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
7206
 
        _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'
 
7380
        _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'
7207
7381
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
7208
7382
      else
7209
7383
        _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
7210
 
        _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'
 
7384
        _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'
7211
7385
        _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~
7212
 
        $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'
 
7386
        $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'
7213
7387
 
7214
7388
        # Both c and cxx compiler support -rpath directly
7215
7389
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
7400
7574
      # Test whether the compiler implicitly links with -lc since on some
7401
7575
      # systems, -lgcc has to come before -lc. If gcc already passes -lc
7402
7576
      # to ld, don't add -lc before -lgcc.
7403
 
      AC_MSG_CHECKING([whether -lc should be explicitly linked in])
7404
 
      $RM conftest*
7405
 
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7577
      AC_CACHE_CHECK([whether -lc should be explicitly linked in],
 
7578
        [lt_cv_]_LT_TAGVAR(archive_cmds_need_lc, $1),
 
7579
        [$RM conftest*
 
7580
        echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7406
7581
 
7407
 
      if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
7408
 
        soname=conftest
7409
 
        lib=conftest
7410
 
        libobjs=conftest.$ac_objext
7411
 
        deplibs=
7412
 
        wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
7413
 
        pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
7414
 
        compiler_flags=-v
7415
 
        linker_flags=-v
7416
 
        verstring=
7417
 
        output_objdir=.
7418
 
        libname=conftest
7419
 
        lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
7420
 
        _LT_TAGVAR(allow_undefined_flag, $1)=
7421
 
        if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
7422
 
        then
7423
 
          _LT_TAGVAR(archive_cmds_need_lc, $1)=no
7424
 
        else
7425
 
          _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
7426
 
        fi
7427
 
        _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
7428
 
      else
7429
 
        cat conftest.err 1>&5
7430
 
      fi
7431
 
      $RM conftest*
7432
 
      AC_MSG_RESULT([$_LT_TAGVAR(archive_cmds_need_lc, $1)])
 
7582
        if AC_TRY_EVAL(ac_compile) 2>conftest.err; then
 
7583
          soname=conftest
 
7584
          lib=conftest
 
7585
          libobjs=conftest.$ac_objext
 
7586
          deplibs=
 
7587
          wl=$_LT_TAGVAR(lt_prog_compiler_wl, $1)
 
7588
          pic_flag=$_LT_TAGVAR(lt_prog_compiler_pic, $1)
 
7589
          compiler_flags=-v
 
7590
          linker_flags=-v
 
7591
          verstring=
 
7592
          output_objdir=.
 
7593
          libname=conftest
 
7594
          lt_save_allow_undefined_flag=$_LT_TAGVAR(allow_undefined_flag, $1)
 
7595
          _LT_TAGVAR(allow_undefined_flag, $1)=
 
7596
          if AC_TRY_EVAL(_LT_TAGVAR(archive_cmds, $1) 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1)
 
7597
          then
 
7598
            lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=no
 
7599
          else
 
7600
            lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)=yes
 
7601
          fi
 
7602
          _LT_TAGVAR(allow_undefined_flag, $1)=$lt_save_allow_undefined_flag
 
7603
        else
 
7604
          cat conftest.err 1>&5
 
7605
        fi
 
7606
        $RM conftest*
 
7607
        ])
 
7608
      _LT_TAGVAR(archive_cmds_need_lc, $1)=$lt_cv_[]_LT_TAGVAR(archive_cmds_need_lc, $1)
7433
7609
      ;;
7434
7610
    esac
7435
7611
  fi
7595
7771
])# _LT_LANG_C_CONFIG
7596
7772
 
7597
7773
 
7598
 
# _LT_PROG_CXX
7599
 
# ------------
7600
 
# Since AC_PROG_CXX is broken, in that it returns g++ if there is no c++
7601
 
# compiler, we have our own version here.
7602
 
m4_defun([_LT_PROG_CXX],
7603
 
[
7604
 
pushdef([AC_MSG_ERROR], [_lt_caught_CXX_error=yes])
7605
 
AC_PROG_CXX
 
7774
# _LT_LANG_CXX_CONFIG([TAG])
 
7775
# --------------------------
 
7776
# Ensure that the configuration variables for a C++ compiler are suitably
 
7777
# defined.  These variables are subsequently used by _LT_CONFIG to write
 
7778
# the compiler configuration to `libtool'.
 
7779
m4_defun([_LT_LANG_CXX_CONFIG],
 
7780
[m4_require([_LT_FILEUTILS_DEFAULTS])dnl
 
7781
m4_require([_LT_DECL_EGREP])dnl
7606
7782
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
7607
7783
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
7608
7784
    (test "X$CXX" != "Xg++"))) ; then
7610
7786
else
7611
7787
  _lt_caught_CXX_error=yes
7612
7788
fi
7613
 
popdef([AC_MSG_ERROR])
7614
 
])# _LT_PROG_CXX
7615
 
 
7616
 
dnl aclocal-1.4 backwards compatibility:
7617
 
dnl AC_DEFUN([_LT_PROG_CXX], [])
7618
 
 
7619
 
 
7620
 
# _LT_LANG_CXX_CONFIG([TAG])
7621
 
# --------------------------
7622
 
# Ensure that the configuration variables for a C++ compiler are suitably
7623
 
# defined.  These variables are subsequently used by _LT_CONFIG to write
7624
 
# the compiler configuration to `libtool'.
7625
 
m4_defun([_LT_LANG_CXX_CONFIG],
7626
 
[AC_REQUIRE([_LT_PROG_CXX])dnl
7627
 
m4_require([_LT_FILEUTILS_DEFAULTS])dnl
7628
 
m4_require([_LT_DECL_EGREP])dnl
7629
7789
 
7630
7790
AC_LANG_PUSH(C++)
7631
7791
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
7647
7807
_LT_TAGVAR(module_expsym_cmds, $1)=
7648
7808
_LT_TAGVAR(link_all_deplibs, $1)=unknown
7649
7809
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
7810
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
7811
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
7650
7812
_LT_TAGVAR(no_undefined_flag, $1)=
7651
7813
_LT_TAGVAR(whole_archive_flag_spec, $1)=
7652
7814
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
7749
7911
      # Commands to make compiler produce verbose output that lists
7750
7912
      # what "hidden" libraries, object files and flags are used when
7751
7913
      # linking a shared library.
7752
 
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
7914
      output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
7753
7915
 
7754
7916
    else
7755
7917
      GXX=no
7861
8023
          _LT_SYS_MODULE_PATH_AIX
7862
8024
          _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-blibpath:$libdir:'"$aix_libpath"
7863
8025
 
7864
 
          _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"
 
8026
          _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"
7865
8027
        else
7866
8028
          if test "$host_cpu" = ia64; then
7867
8029
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $libdir:/usr/lib:/lib'
7876
8038
            # -berok will link without error, but may produce a broken library.
7877
8039
            _LT_TAGVAR(no_undefined_flag, $1)=' ${wl}-bernotok'
7878
8040
            _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-berok'
7879
 
            # Exported symbols can be pulled into shared objects from archives
7880
 
            _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
8041
            if test "$with_gnu_ld" = yes; then
 
8042
              # We only use this code for GNU lds that support --whole-archive.
 
8043
              _LT_TAGVAR(whole_archive_flag_spec, $1)='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
 
8044
            else
 
8045
              # Exported symbols can be pulled into shared objects from archives
 
8046
              _LT_TAGVAR(whole_archive_flag_spec, $1)='$convenience'
 
8047
            fi
7881
8048
            _LT_TAGVAR(archive_cmds_need_lc, $1)=yes
7882
8049
            # This is similar to how AIX traditionally builds its shared
7883
8050
            # libraries.
7910
8077
        # _LT_TAGVAR(hardcode_libdir_flag_spec, $1) is actually meaningless,
7911
8078
        # as there is no search path for DLLs.
7912
8079
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-L$libdir'
 
8080
        _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-all-symbols'
7913
8081
        _LT_TAGVAR(allow_undefined_flag, $1)=unsupported
7914
8082
        _LT_TAGVAR(always_export_symbols, $1)=no
7915
8083
        _LT_TAGVAR(enable_shared_with_static_runtimes, $1)=yes
7970
8138
      gnu*)
7971
8139
        ;;
7972
8140
 
 
8141
      haiku*)
 
8142
        _LT_TAGVAR(archive_cmds, $1)='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
8143
        _LT_TAGVAR(link_all_deplibs, $1)=yes
 
8144
        ;;
 
8145
 
7973
8146
      hpux9*)
7974
8147
        _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}+b ${wl}$libdir'
7975
8148
        _LT_TAGVAR(hardcode_libdir_separator, $1)=:
7994
8167
            # explicitly linking system object files so we need to strip them
7995
8168
            # from the output so that they don't get included in the library
7996
8169
            # dependencies.
7997
 
            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'
 
8170
            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"'
7998
8171
            ;;
7999
8172
          *)
8000
8173
            if test "$GXX" = yes; then
8059
8232
            # explicitly linking system object files so we need to strip them
8060
8233
            # from the output so that they don't get included in the library
8061
8234
            # dependencies.
8062
 
            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'
 
8235
            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"'
8063
8236
            ;;
8064
8237
          *)
8065
8238
            if test "$GXX" = yes; then
8102
8275
        case $cc_basename in
8103
8276
          CC*)
8104
8277
            # SGI C++
8105
 
            _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'
 
8278
            _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'
8106
8279
 
8107
8280
            # Archives containing C++ object files must be created using
8108
8281
            # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
8113
8286
          *)
8114
8287
            if test "$GXX" = yes; then
8115
8288
              if test "$with_gnu_ld" = no; then
8116
 
                _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'
 
8289
                _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'
8117
8290
              else
8118
 
                _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'
 
8291
                _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'
8119
8292
              fi
8120
8293
            fi
8121
8294
            _LT_TAGVAR(link_all_deplibs, $1)=yes
8126
8299
        _LT_TAGVAR(inherit_rpath, $1)=yes
8127
8300
        ;;
8128
8301
 
8129
 
      linux* | k*bsd*-gnu)
 
8302
      linux* | k*bsd*-gnu | kopensolaris*-gnu)
8130
8303
        case $cc_basename in
8131
8304
          KCC*)
8132
8305
            # Kuck and Associates, Inc. (KAI) C++ Compiler
8144
8317
            # explicitly linking system object files so we need to strip them
8145
8318
            # from the output so that they don't get included in the library
8146
8319
            # dependencies.
8147
 
            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'
 
8320
            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"'
8148
8321
 
8149
8322
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath,$libdir'
8150
8323
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8181
8354
          pgCC* | pgcpp*)
8182
8355
            # Portland Group C++ compiler
8183
8356
            case `$CC -V` in
8184
 
            *pgCC\ [[1-5]]* | *pgcpp\ [[1-5]]*)
 
8357
            *pgCC\ [[1-5]].* | *pgcpp\ [[1-5]].*)
8185
8358
              _LT_TAGVAR(prelink_cmds, $1)='tpldir=Template.dir~
8186
8359
                rm -rf $tpldir~
8187
8360
                $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
8188
 
                compile_command="$compile_command `find $tpldir -name \*.o | $NL2SP`"'
 
8361
                compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
8189
8362
              _LT_TAGVAR(old_archive_cmds, $1)='tpldir=Template.dir~
8190
8363
                rm -rf $tpldir~
8191
8364
                $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
8192
 
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | $NL2SP`~
 
8365
                $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
8193
8366
                $RANLIB $oldlib'
8194
8367
              _LT_TAGVAR(archive_cmds, $1)='tpldir=Template.dir~
8195
8368
                rm -rf $tpldir~
8196
8369
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
8197
 
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
8370
                $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
8198
8371
              _LT_TAGVAR(archive_expsym_cmds, $1)='tpldir=Template.dir~
8199
8372
                rm -rf $tpldir~
8200
8373
                $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
8201
 
                $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'
 
8374
                $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'
8202
8375
              ;;
8203
 
            *) # Version 6 will use weak symbols
 
8376
            *) # Version 6 and above use weak symbols
8204
8377
              _LT_TAGVAR(archive_cmds, $1)='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
8205
8378
              _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'
8206
8379
              ;;
8208
8381
 
8209
8382
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}--rpath ${wl}$libdir'
8210
8383
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8211
 
            _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'
 
8384
            _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'
8212
8385
            ;;
8213
8386
          cxx*)
8214
8387
            # Compaq C++
8227
8400
            # explicitly linking system object files so we need to strip them
8228
8401
            # from the output so that they don't get included in the library
8229
8402
            # dependencies.
8230
 
            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'
 
8403
            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'
8231
8404
            ;;
8232
 
          xl*)
 
8405
          xl* | mpixl* | bgxl*)
8233
8406
            # IBM XL 8.0 on PPC, with GNU ld
8234
8407
            _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8235
8408
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}--export-dynamic'
8249
8422
              _LT_TAGVAR(archive_cmds, $1)='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
8250
8423
              _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'
8251
8424
              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-R$libdir'
8252
 
              _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'
 
8425
              _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'
8253
8426
              _LT_TAGVAR(compiler_needs_object, $1)=yes
8254
8427
 
8255
8428
              # Not sure whether something based on
8256
8429
              # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
8257
8430
              # would be better.
8258
 
              output_verbose_link_cmd='echo'
 
8431
              output_verbose_link_cmd='func_echo_all'
8259
8432
 
8260
8433
              # Archives containing C++ object files must be created using
8261
8434
              # "CC -xar", where "CC" is the Sun C++ compiler.  This is
8324
8497
            _LT_TAGVAR(export_dynamic_flag_spec, $1)='${wl}-E'
8325
8498
            _LT_TAGVAR(whole_archive_flag_spec, $1)="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
8326
8499
          fi
8327
 
          output_verbose_link_cmd=echo
 
8500
          output_verbose_link_cmd=func_echo_all
8328
8501
        else
8329
8502
          _LT_TAGVAR(ld_shlibs, $1)=no
8330
8503
        fi
8359
8532
            case $host in
8360
8533
              osf3*)
8361
8534
                _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8362
 
                _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'
 
8535
                _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'
8363
8536
                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-rpath ${wl}$libdir'
8364
8537
                ;;
8365
8538
              *)
8366
8539
                _LT_TAGVAR(allow_undefined_flag, $1)=' -expect_unresolved \*'
8367
 
                _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'
 
8540
                _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'
8368
8541
                _LT_TAGVAR(archive_expsym_cmds, $1)='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
8369
8542
                  echo "-hidden">> $lib.exp~
8370
 
                  $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~
 
8543
                  $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~
8371
8544
                  $RM $lib.exp'
8372
8545
                _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='-rpath $libdir'
8373
8546
                ;;
8383
8556
            # explicitly linking system object files so we need to strip them
8384
8557
            # from the output so that they don't get included in the library
8385
8558
            # dependencies.
8386
 
            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'
 
8559
            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"'
8387
8560
            ;;
8388
8561
          *)
8389
8562
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
8390
8563
              _LT_TAGVAR(allow_undefined_flag, $1)=' ${wl}-expect_unresolved ${wl}\*'
8391
8564
              case $host in
8392
8565
                osf3*)
8393
 
                  _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'
 
8566
                  _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'
8394
8567
                  ;;
8395
8568
                *)
8396
 
                  _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'
 
8569
                  _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'
8397
8570
                  ;;
8398
8571
              esac
8399
8572
 
8403
8576
              # Commands to make compiler produce verbose output that lists
8404
8577
              # what "hidden" libraries, object files and flags are used when
8405
8578
              # linking a shared library.
8406
 
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
8579
              output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
8407
8580
 
8408
8581
            else
8409
8582
              # FIXME: insert proper C++ library support
8439
8612
 
8440
8613
      solaris*)
8441
8614
        case $cc_basename in
8442
 
          CC*)
 
8615
          CC* | sunCC*)
8443
8616
            # Sun C++ 4.2, 5.x and Centerline C++
8444
8617
            _LT_TAGVAR(archive_cmds_need_lc,$1)=yes
8445
8618
            _LT_TAGVAR(no_undefined_flag, $1)=' -zdefs'
8460
8633
            esac
8461
8634
            _LT_TAGVAR(link_all_deplibs, $1)=yes
8462
8635
 
8463
 
            output_verbose_link_cmd='echo'
 
8636
            output_verbose_link_cmd='func_echo_all'
8464
8637
 
8465
8638
            # Archives containing C++ object files must be created using
8466
8639
            # "CC -xar", where "CC" is the Sun C++ compiler.  This is
8487
8660
                # Commands to make compiler produce verbose output that lists
8488
8661
                # what "hidden" libraries, object files and flags are used when
8489
8662
                # linking a shared library.
8490
 
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
8663
                output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
8491
8664
              else
8492
8665
                # g++ 2.7 appears to require `-G' NOT `-shared' on this
8493
8666
                # platform.
8498
8671
                # Commands to make compiler produce verbose output that lists
8499
8672
                # what "hidden" libraries, object files and flags are used when
8500
8673
                # linking a shared library.
8501
 
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP "\-L"'
 
8674
                output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
8502
8675
              fi
8503
8676
 
8504
8677
              _LT_TAGVAR(hardcode_libdir_flag_spec, $1)='${wl}-R $wl$libdir'
8552
8725
          CC*)
8553
8726
            _LT_TAGVAR(archive_cmds, $1)='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8554
8727
            _LT_TAGVAR(archive_expsym_cmds, $1)='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
 
8728
            _LT_TAGVAR(old_archive_cmds, $1)='$CC -Tprelink_objects $oldobjs~
 
8729
              '"$_LT_TAGVAR(old_archive_cmds, $1)"
 
8730
            _LT_TAGVAR(reload_cmds, $1)='$CC -Tprelink_objects $reload_objs~
 
8731
              '"$_LT_TAGVAR(reload_cmds, $1)"
8555
8732
            ;;
8556
8733
          *)
8557
8734
            _LT_TAGVAR(archive_cmds, $1)='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
8798
8975
 
8799
8976
solaris*)
8800
8977
  case $cc_basename in
8801
 
  CC*)
 
8978
  CC* | sunCC*)
8802
8979
    # The more standards-conforming stlport4 library is
8803
8980
    # incompatible with the Cstd library. Avoid specifying
8804
8981
    # it if it's in CXXFLAGS. Ignore libCrun as
8842
9019
])# _LT_SYS_HIDDEN_LIBDEPS
8843
9020
 
8844
9021
 
8845
 
# _LT_PROG_F77
8846
 
# ------------
8847
 
# Since AC_PROG_F77 is broken, in that it returns the empty string
8848
 
# if there is no fortran compiler, we have our own version here.
8849
 
m4_defun([_LT_PROG_F77],
8850
 
[
8851
 
pushdef([AC_MSG_ERROR], [_lt_disable_F77=yes])
8852
 
AC_PROG_F77
8853
 
if test -z "$F77" || test "X$F77" = "Xno"; then
8854
 
  _lt_disable_F77=yes
8855
 
fi
8856
 
popdef([AC_MSG_ERROR])
8857
 
])# _LT_PROG_F77
8858
 
 
8859
 
dnl aclocal-1.4 backwards compatibility:
8860
 
dnl AC_DEFUN([_LT_PROG_F77], [])
8861
 
 
8862
 
 
8863
9022
# _LT_LANG_F77_CONFIG([TAG])
8864
9023
# --------------------------
8865
9024
# Ensure that the configuration variables for a Fortran 77 compiler are
8866
9025
# suitably defined.  These variables are subsequently used by _LT_CONFIG
8867
9026
# to write the compiler configuration to `libtool'.
8868
9027
m4_defun([_LT_LANG_F77_CONFIG],
8869
 
[AC_REQUIRE([_LT_PROG_F77])dnl
8870
 
AC_LANG_PUSH(Fortran 77)
 
9028
[AC_LANG_PUSH(Fortran 77)
 
9029
if test -z "$F77" || test "X$F77" = "Xno"; then
 
9030
  _lt_disable_F77=yes
 
9031
fi
8871
9032
 
8872
9033
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
8873
9034
_LT_TAGVAR(allow_undefined_flag, $1)=
8886
9047
_LT_TAGVAR(module_expsym_cmds, $1)=
8887
9048
_LT_TAGVAR(link_all_deplibs, $1)=unknown
8888
9049
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
9050
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
9051
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
8889
9052
_LT_TAGVAR(no_undefined_flag, $1)=
8890
9053
_LT_TAGVAR(whole_archive_flag_spec, $1)=
8891
9054
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
8985
9148
])# _LT_LANG_F77_CONFIG
8986
9149
 
8987
9150
 
8988
 
# _LT_PROG_FC
8989
 
# -----------
8990
 
# Since AC_PROG_FC is broken, in that it returns the empty string
8991
 
# if there is no fortran compiler, we have our own version here.
8992
 
m4_defun([_LT_PROG_FC],
8993
 
[
8994
 
pushdef([AC_MSG_ERROR], [_lt_disable_FC=yes])
8995
 
AC_PROG_FC
8996
 
if test -z "$FC" || test "X$FC" = "Xno"; then
8997
 
  _lt_disable_FC=yes
8998
 
fi
8999
 
popdef([AC_MSG_ERROR])
9000
 
])# _LT_PROG_FC
9001
 
 
9002
 
dnl aclocal-1.4 backwards compatibility:
9003
 
dnl AC_DEFUN([_LT_PROG_FC], [])
9004
 
 
9005
 
 
9006
9151
# _LT_LANG_FC_CONFIG([TAG])
9007
9152
# -------------------------
9008
9153
# Ensure that the configuration variables for a Fortran compiler are
9009
9154
# suitably defined.  These variables are subsequently used by _LT_CONFIG
9010
9155
# to write the compiler configuration to `libtool'.
9011
9156
m4_defun([_LT_LANG_FC_CONFIG],
9012
 
[AC_REQUIRE([_LT_PROG_FC])dnl
9013
 
AC_LANG_PUSH(Fortran)
 
9157
[AC_LANG_PUSH(Fortran)
 
9158
 
 
9159
if test -z "$FC" || test "X$FC" = "Xno"; then
 
9160
  _lt_disable_FC=yes
 
9161
fi
9014
9162
 
9015
9163
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
9016
9164
_LT_TAGVAR(allow_undefined_flag, $1)=
9029
9177
_LT_TAGVAR(module_expsym_cmds, $1)=
9030
9178
_LT_TAGVAR(link_all_deplibs, $1)=unknown
9031
9179
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
9180
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
9181
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
9032
9182
_LT_TAGVAR(no_undefined_flag, $1)=
9033
9183
_LT_TAGVAR(whole_archive_flag_spec, $1)=
9034
9184
_LT_TAGVAR(enable_shared_with_static_runtimes, $1)=no
9174
9324
_LT_TAGVAR(archive_cmds_need_lc, $1)=no
9175
9325
 
9176
9326
_LT_TAGVAR(old_archive_cmds, $1)=$old_archive_cmds
 
9327
_LT_TAGVAR(reload_flag, $1)=$reload_flag
 
9328
_LT_TAGVAR(reload_cmds, $1)=$reload_cmds
9177
9329
 
9178
9330
if test -n "$compiler"; then
9179
9331
  _LT_COMPILER_NO_RTTI($1)
9535
9687
func_dirname ()
9536
9688
{
9537
9689
  # Extract subdirectory from the argument.
9538
 
  func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
 
9690
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
9539
9691
  if test "X$func_dirname_result" = "X${1}"; then
9540
9692
    func_dirname_result="${3}"
9541
9693
  else
9546
9698
# func_basename file
9547
9699
func_basename ()
9548
9700
{
9549
 
  func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
 
9701
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
9550
9702
}
9551
9703
 
9552
9704
dnl func_dirname_and_basename
9562
9714
func_stripname ()
9563
9715
{
9564
9716
  case ${2} in
9565
 
    .*) func_stripname_result=`$ECHO "X${3}" \
9566
 
           | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
9567
 
    *)  func_stripname_result=`$ECHO "X${3}" \
9568
 
           | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
 
9717
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
9718
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
9569
9719
  esac
9570
9720
}
9571
9721
 
9576
9726
# func_opt_split
9577
9727
func_opt_split ()
9578
9728
{
9579
 
  func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
9580
 
  func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
 
9729
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
 
9730
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
9581
9731
}
9582
9732
 
9583
9733
# func_lo2o object
9584
9734
func_lo2o ()
9585
9735
{
9586
 
  func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
 
9736
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
9587
9737
}
9588
9738
 
9589
9739
# func_xform libobj-or-source
9590
9740
func_xform ()
9591
9741
{
9592
 
  func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[[^.]]*$/.lo/'`
 
9742
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[[^.]]*$/.lo/'`
9593
9743
}
9594
9744
 
9595
9745
# func_arith arithmetic-term...
9637
9787
 
9638
9788
# Helper functions for option handling.                    -*- Autoconf -*-
9639
9789
#
9640
 
#   Copyright (C) 2004, 2005, 2007, 2008 Free Software Foundation, Inc.
 
9790
#   Copyright (C) 2004, 2005, 2007, 2008, 2009 Free Software Foundation,
 
9791
#   Inc.
9641
9792
#   Written by Gary V. Vaughan, 2004
9642
9793
#
9643
9794
# This file is free software; the Free Software Foundation gives
9644
9795
# unlimited permission to copy and/or distribute it, with or without
9645
9796
# modifications, as long as this notice is preserved.
9646
9797
 
9647
 
# serial 6 ltoptions.m4
 
9798
# serial 7 ltoptions.m4
9648
9799
 
9649
9800
# This is to help aclocal find these macros, as it can't see m4_define.
9650
9801
AC_DEFUN([LTOPTIONS_VERSION], [m4_if([1])])
9759
9910
[enable_win32_dll=yes
9760
9911
 
9761
9912
case $host in
9762
 
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
 
9913
*-*-cygwin* | *-*-mingw* | *-*-pw32* | *-*-cegcc*)
9763
9914
  AC_CHECK_TOOL(AS, as, false)
9764
9915
  AC_CHECK_TOOL(DLLTOOL, dlltool, false)
9765
9916
  AC_CHECK_TOOL(OBJDUMP, objdump, false)
9767
9918
esac
9768
9919
 
9769
9920
test -z "$AS" && AS=as
9770
 
_LT_DECL([], [AS],      [0], [Assembler program])dnl
 
9921
_LT_DECL([], [AS],      [1], [Assembler program])dnl
9771
9922
 
9772
9923
test -z "$DLLTOOL" && DLLTOOL=dlltool
9773
 
_LT_DECL([], [DLLTOOL], [0], [DLL creation program])dnl
 
9924
_LT_DECL([], [DLLTOOL], [1], [DLL creation program])dnl
9774
9925
 
9775
9926
test -z "$OBJDUMP" && OBJDUMP=objdump
9776
 
_LT_DECL([], [OBJDUMP], [0], [Object dumper program])dnl
 
9927
_LT_DECL([], [OBJDUMP], [1], [Object dumper program])dnl
9777
9928
])# win32-dll
9778
9929
 
9779
9930
AU_DEFUN([AC_LIBTOOL_WIN32_DLL],
10133
10284
 
10134
10285
# Generated from ltversion.in.
10135
10286
 
10136
 
# serial 3017 ltversion.m4
 
10287
# serial 3175 ltversion.m4
10137
10288
# This file is part of GNU Libtool
10138
10289
 
10139
 
m4_define([LT_PACKAGE_VERSION], [2.2.6b])
10140
 
m4_define([LT_PACKAGE_REVISION], [1.3017])
 
10290
m4_define([LT_PACKAGE_VERSION], [2.2.10])
 
10291
m4_define([LT_PACKAGE_REVISION], [1.3175])
10141
10292
 
10142
10293
AC_DEFUN([LTVERSION_VERSION],
10143
 
[macro_version='2.2.6b'
10144
 
macro_revision='1.3017'
 
10294
[macro_version='2.2.10'
 
10295
macro_revision='1.3175'
10145
10296
_LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
10146
10297
_LT_DECL(, macro_revision, 0)
10147
10298
])
10148
10299
 
10149
10300
# lt~obsolete.m4 -- aclocal satisfying obsolete definitions.    -*-Autoconf-*-
10150
10301
#
10151
 
#   Copyright (C) 2004, 2005, 2007 Free Software Foundation, Inc.
 
10302
#   Copyright (C) 2004, 2005, 2007, 2009 Free Software Foundation, Inc.
10152
10303
#   Written by Scott James Remnant, 2004.
10153
10304
#
10154
10305
# This file is free software; the Free Software Foundation gives
10155
10306
# unlimited permission to copy and/or distribute it, with or without
10156
10307
# modifications, as long as this notice is preserved.
10157
10308
 
10158
 
# serial 4 lt~obsolete.m4
 
10309
# serial 5 lt~obsolete.m4
10159
10310
 
10160
10311
# These exist entirely to fool aclocal when bootstrapping libtool.
10161
10312
#
10225
10376
m4_ifndef([_LT_AC_LANG_CXX],            [AC_DEFUN([_LT_AC_LANG_CXX])])
10226
10377
m4_ifndef([_LT_AC_LANG_F77],            [AC_DEFUN([_LT_AC_LANG_F77])])
10227
10378
m4_ifndef([_LT_AC_LANG_GCJ],            [AC_DEFUN([_LT_AC_LANG_GCJ])])
10228
 
m4_ifndef([AC_LIBTOOL_RC],              [AC_DEFUN([AC_LIBTOOL_RC])])
10229
10379
m4_ifndef([AC_LIBTOOL_LANG_C_CONFIG],   [AC_DEFUN([AC_LIBTOOL_LANG_C_CONFIG])])
10230
10380
m4_ifndef([_LT_AC_LANG_C_CONFIG],       [AC_DEFUN([_LT_AC_LANG_C_CONFIG])])
10231
10381
m4_ifndef([AC_LIBTOOL_LANG_CXX_CONFIG], [AC_DEFUN([AC_LIBTOOL_LANG_CXX_CONFIG])])
10238
10388
m4_ifndef([_LT_AC_LANG_RC_CONFIG],      [AC_DEFUN([_LT_AC_LANG_RC_CONFIG])])
10239
10389
m4_ifndef([AC_LIBTOOL_CONFIG],          [AC_DEFUN([AC_LIBTOOL_CONFIG])])
10240
10390
m4_ifndef([_LT_AC_FILE_LTDLL_C],        [AC_DEFUN([_LT_AC_FILE_LTDLL_C])])
 
10391
m4_ifndef([_LT_REQUIRED_DARWIN_CHECKS], [AC_DEFUN([_LT_REQUIRED_DARWIN_CHECKS])])
 
10392
m4_ifndef([_LT_AC_PROG_CXXCPP],         [AC_DEFUN([_LT_AC_PROG_CXXCPP])])
 
10393
m4_ifndef([_LT_PREPARE_SED_QUOTE_VARS], [AC_DEFUN([_LT_PREPARE_SED_QUOTE_VARS])])
 
10394
m4_ifndef([_LT_PROG_ECHO_BACKSLASH],    [AC_DEFUN([_LT_PROG_ECHO_BACKSLASH])])
 
10395
m4_ifndef([_LT_PROG_F77],               [AC_DEFUN([_LT_PROG_F77])])
 
10396
m4_ifndef([_LT_PROG_FC],                [AC_DEFUN([_LT_PROG_FC])])
 
10397
m4_ifndef([_LT_PROG_CXX],               [AC_DEFUN([_LT_PROG_CXX])])
10241
10398