~ubuntu-branches/ubuntu/jaunty/libnotify/jaunty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Michael Vogt
  • Date: 2006-01-02 15:56:18 UTC
  • mfrom: (1.1.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060102155618-6sbpi0enbolsnng6
Tags: 0.3.0-0ubuntu1
* New upstream release
* works with new notify-daemon, contains a new (more gtk-ish) API

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
#! /bin/sh
2
2
# Guess values for system-dependent variables and create Makefiles.
3
 
# Generated by GNU Autoconf 2.59 for libnotify 0.2.2.
 
3
# Generated by GNU Autoconf 2.59 for libnotify 0.3.0.
4
4
#
5
 
# Report bugs to <chipx86@chipx86.com>.
 
5
# Report bugs to <chipx86@gnupdate.org>.
6
6
#
7
7
# Copyright (C) 2003 Free Software Foundation, Inc.
8
8
# This configure script is free software; the Free Software Foundation
9
9
# gives unlimited permission to copy, distribute and modify it.
10
10
#
11
 
# Copyright 2004-2005 Christian Hammond
 
11
# Copyright 2004 Christian Hammond
12
12
## --------------------- ##
13
13
## M4sh Initialization.  ##
14
14
## --------------------- ##
282
282
 
283
283
# The HP-UX ksh and POSIX shell print the target directory to stdout
284
284
# if CDPATH is set.
285
 
if test "X${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
285
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
286
286
 
287
287
if test -z "$ECHO"; then
288
288
if test "X${echo_test_string+set}" != Xset; then
289
289
# find a string as large as possible, as long as the shell can cope with it
290
290
  for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
291
291
    # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
292
 
    if (echo_test_string="`eval $cmd`") 2>/dev/null &&
293
 
       echo_test_string="`eval $cmd`" &&
 
292
    if (echo_test_string=`eval $cmd`) 2>/dev/null &&
 
293
       echo_test_string=`eval $cmd` &&
294
294
       (test "X$echo_test_string" = "X$echo_test_string") 2>/dev/null
295
295
    then
296
296
      break
425
425
# Identity of this package.
426
426
PACKAGE_NAME='libnotify'
427
427
PACKAGE_TARNAME='libnotify'
428
 
PACKAGE_VERSION='0.2.2'
429
 
PACKAGE_STRING='libnotify 0.2.2'
430
 
PACKAGE_BUGREPORT='chipx86@chipx86.com'
 
428
PACKAGE_VERSION='0.3.0'
 
429
PACKAGE_STRING='libnotify 0.3.0'
 
430
PACKAGE_BUGREPORT='chipx86@gnupdate.org'
431
431
 
432
432
ac_unique_file="config.h.in"
433
433
# Factoring default headers for most tests.
467
467
# include <unistd.h>
468
468
#endif"
469
469
 
470
 
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LT_RELEASE LT_CURRENT LT_REVISION LT_AGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO SET_MAKE CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT CPP LN_S EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB STRIP ac_ct_STRIP CXX CXXFLAGS ac_ct_CXX CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GDK_CFLAGS GDK_LIBS HAVE_GDK_TRUE HAVE_GDK_FALSE LIBOBJS LTLIBOBJS'
 
470
ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS LT_RELEASE LT_CURRENT LT_REVISION LT_AGE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CPP LN_S EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os ECHO AR ac_ct_AR RANLIB ac_ct_RANLIB CXX CXXFLAGS ac_ct_CXX CXXDEPMODE am__fastdepCXX_TRUE am__fastdepCXX_FALSE CXXCPP F77 FFLAGS ac_ct_F77 LIBTOOL PKG_CONFIG ac_pt_PKG_CONFIG PACKAGE_CFLAGS PACKAGE_LIBS GDK_CFLAGS GDK_LIBS HAVE_GDK_TRUE HAVE_GDK_FALSE LIBOBJS LTLIBOBJS'
471
471
ac_subst_files=''
472
472
 
473
473
# Initialize some variables set by options.
948
948
ac_env_FFLAGS_value=$FFLAGS
949
949
ac_cv_env_FFLAGS_set=${FFLAGS+set}
950
950
ac_cv_env_FFLAGS_value=$FFLAGS
 
951
ac_env_PKG_CONFIG_set=${PKG_CONFIG+set}
 
952
ac_env_PKG_CONFIG_value=$PKG_CONFIG
 
953
ac_cv_env_PKG_CONFIG_set=${PKG_CONFIG+set}
 
954
ac_cv_env_PKG_CONFIG_value=$PKG_CONFIG
 
955
ac_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set}
 
956
ac_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS
 
957
ac_cv_env_PACKAGE_CFLAGS_set=${PACKAGE_CFLAGS+set}
 
958
ac_cv_env_PACKAGE_CFLAGS_value=$PACKAGE_CFLAGS
 
959
ac_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set}
 
960
ac_env_PACKAGE_LIBS_value=$PACKAGE_LIBS
 
961
ac_cv_env_PACKAGE_LIBS_set=${PACKAGE_LIBS+set}
 
962
ac_cv_env_PACKAGE_LIBS_value=$PACKAGE_LIBS
 
963
ac_env_GDK_CFLAGS_set=${GDK_CFLAGS+set}
 
964
ac_env_GDK_CFLAGS_value=$GDK_CFLAGS
 
965
ac_cv_env_GDK_CFLAGS_set=${GDK_CFLAGS+set}
 
966
ac_cv_env_GDK_CFLAGS_value=$GDK_CFLAGS
 
967
ac_env_GDK_LIBS_set=${GDK_LIBS+set}
 
968
ac_env_GDK_LIBS_value=$GDK_LIBS
 
969
ac_cv_env_GDK_LIBS_set=${GDK_LIBS+set}
 
970
ac_cv_env_GDK_LIBS_value=$GDK_LIBS
951
971
 
952
972
#
953
973
# Report the --help message.
956
976
  # Omit some internal or obsolete options to make the list less imposing.
957
977
  # This message is too long to be a string in the A/UX 3.1 sh.
958
978
  cat <<_ACEOF
959
 
\`configure' configures libnotify 0.2.2 to adapt to many kinds of systems.
 
979
\`configure' configures libnotify 0.3.0 to adapt to many kinds of systems.
960
980
 
961
981
Usage: $0 [OPTION]... [VAR=VALUE]...
962
982
 
1022
1042
 
1023
1043
if test -n "$ac_init_help"; then
1024
1044
  case $ac_init_help in
1025
 
     short | recursive ) echo "Configuration of libnotify 0.2.2:";;
 
1045
     short | recursive ) echo "Configuration of libnotify 0.3.0:";;
1026
1046
   esac
1027
1047
  cat <<\_ACEOF
1028
1048
 
1029
1049
Optional Features:
1030
1050
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1031
1051
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1052
  --disable-dependency-tracking  speeds up one-time build
 
1053
  --enable-dependency-tracking   do not reject slow dependency extractors
1032
1054
  --enable-shared[=PKGS]
1033
1055
                          build shared libraries [default=yes]
1034
1056
  --enable-static[=PKGS]
1059
1081
  CXXCPP      C++ preprocessor
1060
1082
  F77         Fortran 77 compiler command
1061
1083
  FFLAGS      Fortran 77 compiler flags
 
1084
  PKG_CONFIG  path to pkg-config utility
 
1085
  PACKAGE_CFLAGS
 
1086
              C compiler flags for PACKAGE, overriding pkg-config
 
1087
  PACKAGE_LIBS
 
1088
              linker flags for PACKAGE, overriding pkg-config
 
1089
  GDK_CFLAGS  C compiler flags for GDK, overriding pkg-config
 
1090
  GDK_LIBS    linker flags for GDK, overriding pkg-config
1062
1091
 
1063
1092
Use these variables to override the choices made by `configure' or to help
1064
1093
it to find libraries and programs with nonstandard names/locations.
1065
1094
 
1066
 
Report bugs to <chipx86@chipx86.com>.
 
1095
Report bugs to <chipx86@gnupdate.org>.
1067
1096
_ACEOF
1068
1097
fi
1069
1098
 
1152
1181
    else
1153
1182
      echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1154
1183
    fi
1155
 
    cd "$ac_popdir"
 
1184
    cd $ac_popdir
1156
1185
  done
1157
1186
fi
1158
1187
 
1159
1188
test -n "$ac_init_help" && exit 0
1160
1189
if $ac_init_version; then
1161
1190
  cat <<\_ACEOF
1162
 
libnotify configure 0.2.2
 
1191
libnotify configure 0.3.0
1163
1192
generated by GNU Autoconf 2.59
1164
1193
 
1165
1194
Copyright (C) 2003 Free Software Foundation, Inc.
1166
1195
This configure script is free software; the Free Software Foundation
1167
1196
gives unlimited permission to copy, distribute and modify it.
1168
1197
 
1169
 
Copyright 2004-2005 Christian Hammond
 
1198
Copyright 2004 Christian Hammond
1170
1199
_ACEOF
1171
1200
  exit 0
1172
1201
fi
1175
1204
This file contains any messages produced by compilers while
1176
1205
running configure, to aid debugging if configure makes a mistake.
1177
1206
 
1178
 
It was created by libnotify $as_me 0.2.2, which was
 
1207
It was created by libnotify $as_me 0.3.0, which was
1179
1208
generated by GNU Autoconf 2.59.  Invocation command line was
1180
1209
 
1181
1210
  $ $0 $@
1517
1546
 
1518
1547
 
1519
1548
LIBGALAGO_MAJOR_VERSION=0
1520
 
LIBGALAGO_MINOR_VERSION=2
1521
 
LIBGALAGO_MICRO_VERSION=2
 
1549
LIBGALAGO_MINOR_VERSION=3
 
1550
LIBGALAGO_MICRO_VERSION=0
1522
1551
LIBGALAGO_DEVEL_VERSION=0
1523
1552
 
1524
1553
LIBGALAGO_VERSION=$LIBGALAGO_MAJOR_VERSION.$LIBGALAGO_MINOR_VERSION.$LIBGALAGO_MICRO_VERSION
1567
1596
VERSION=$LIBGALAGO_VERSION
1568
1597
PACKAGE=libnotify
1569
1598
 
1570
 
am__api_version="1.4"
 
1599
am__api_version="1.9"
1571
1600
ac_aux_dir=
1572
1601
for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1573
1602
  if test -f $ac_dir/install-sh; then
1676
1705
echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1677
1706
# Just in case
1678
1707
sleep 1
1679
 
echo timestamp > conftestfile
 
1708
echo timestamp > conftest.file
1680
1709
# Do `set' in a subshell so we don't clobber the current shell's
1681
1710
# arguments.  Must try -L first in case configure is actually a
1682
1711
# symlink; some systems play weird games with the mod time of symlinks
1683
1712
# (eg FreeBSD returns the mod time of the symlink's containing
1684
1713
# directory).
1685
1714
if (
1686
 
   set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
 
1715
   set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1687
1716
   if test "$*" = "X"; then
1688
1717
      # -L didn't work.
1689
 
      set X `ls -t $srcdir/configure conftestfile`
 
1718
      set X `ls -t $srcdir/configure conftest.file`
1690
1719
   fi
1691
 
   if test "$*" != "X $srcdir/configure conftestfile" \
1692
 
      && test "$*" != "X conftestfile $srcdir/configure"; then
 
1720
   rm -f conftest.file
 
1721
   if test "$*" != "X $srcdir/configure conftest.file" \
 
1722
      && test "$*" != "X conftest.file $srcdir/configure"; then
1693
1723
 
1694
1724
      # If neither matched, then we have a broken ls.  This can happen
1695
1725
      # if, for instance, CONFIG_SHELL is bash and it inherits a
1702
1732
   { (exit 1); exit 1; }; }
1703
1733
   fi
1704
1734
 
1705
 
   test "$2" = conftestfile
 
1735
   test "$2" = conftest.file
1706
1736
   )
1707
1737
then
1708
1738
   # Ok.
1714
1744
Check your system clock" >&2;}
1715
1745
   { (exit 1); exit 1; }; }
1716
1746
fi
1717
 
rm -f conftest*
1718
1747
echo "$as_me:$LINENO: result: yes" >&5
1719
1748
echo "${ECHO_T}yes" >&6
1720
1749
test "$program_prefix" != NONE &&
1730
1759
program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1731
1760
rm conftest.sed
1732
1761
 
 
1762
# expand $ac_aux_dir to an absolute path
 
1763
am_aux_dir=`cd $ac_aux_dir && pwd`
 
1764
 
 
1765
test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
 
1766
# Use eval to expand $SHELL
 
1767
if eval "$MISSING --run true"; then
 
1768
  am_missing_run="$MISSING --run "
 
1769
else
 
1770
  am_missing_run=
 
1771
  { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
 
1772
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
 
1773
fi
 
1774
 
 
1775
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
 
1776
  # We used to keeping the `.' as first argument, in order to
 
1777
  # allow $(mkdir_p) to be used without argument.  As in
 
1778
  #   $(mkdir_p) $(somedir)
 
1779
  # where $(somedir) is conditionally defined.  However this is wrong
 
1780
  # for two reasons:
 
1781
  #  1. if the package is installed by a user who cannot write `.'
 
1782
  #     make install will fail,
 
1783
  #  2. the above comment should most certainly read
 
1784
  #     $(mkdir_p) $(DESTDIR)$(somedir)
 
1785
  #     so it does not work when $(somedir) is undefined and
 
1786
  #     $(DESTDIR) is not.
 
1787
  #  To support the latter case, we have to write
 
1788
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
 
1789
  #  so the `.' trick is pointless.
 
1790
  mkdir_p='mkdir -p --'
 
1791
else
 
1792
  # On NextStep and OpenStep, the `mkdir' command does not
 
1793
  # recognize any option.  It will interpret all options as
 
1794
  # directories to create, and then abort because `.' already
 
1795
  # exists.
 
1796
  for d in ./-p ./--version;
 
1797
  do
 
1798
    test -d $d && rmdir $d
 
1799
  done
 
1800
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
 
1801
  if test -f "$ac_aux_dir/mkinstalldirs"; then
 
1802
    mkdir_p='$(mkinstalldirs)'
 
1803
  else
 
1804
    mkdir_p='$(install_sh) -d'
 
1805
  fi
 
1806
fi
 
1807
 
 
1808
for ac_prog in gawk mawk nawk awk
 
1809
do
 
1810
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
1811
set dummy $ac_prog; ac_word=$2
 
1812
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1813
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1814
if test "${ac_cv_prog_AWK+set}" = set; then
 
1815
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1816
else
 
1817
  if test -n "$AWK"; then
 
1818
  ac_cv_prog_AWK="$AWK" # Let the user override the test.
 
1819
else
 
1820
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1821
for as_dir in $PATH
 
1822
do
 
1823
  IFS=$as_save_IFS
 
1824
  test -z "$as_dir" && as_dir=.
 
1825
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1826
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1827
    ac_cv_prog_AWK="$ac_prog"
 
1828
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1829
    break 2
 
1830
  fi
 
1831
done
 
1832
done
 
1833
 
 
1834
fi
 
1835
fi
 
1836
AWK=$ac_cv_prog_AWK
 
1837
if test -n "$AWK"; then
 
1838
  echo "$as_me:$LINENO: result: $AWK" >&5
 
1839
echo "${ECHO_T}$AWK" >&6
 
1840
else
 
1841
  echo "$as_me:$LINENO: result: no" >&5
 
1842
echo "${ECHO_T}no" >&6
 
1843
fi
 
1844
 
 
1845
  test -n "$AWK" && break
 
1846
done
 
1847
 
1733
1848
echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1734
1849
echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1735
1850
set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1759
1874
  SET_MAKE="MAKE=${MAKE-make}"
1760
1875
fi
1761
1876
 
1762
 
 
1763
 
PACKAGE=$PACKAGE
1764
 
 
1765
 
VERSION=$VERSION
1766
 
 
1767
 
if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
 
1877
rm -rf .tst 2>/dev/null
 
1878
mkdir .tst 2>/dev/null
 
1879
if test -d .tst; then
 
1880
  am__leading_dot=.
 
1881
else
 
1882
  am__leading_dot=_
 
1883
fi
 
1884
rmdir .tst 2>/dev/null
 
1885
 
 
1886
# test to see if srcdir already configured
 
1887
if test "`cd $srcdir && pwd`" != "`pwd`" &&
 
1888
   test -f $srcdir/config.status; then
1768
1889
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1769
1890
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1770
1891
   { (exit 1); exit 1; }; }
1771
1892
fi
1772
1893
 
 
1894
# test whether we have cygpath
 
1895
if test -z "$CYGPATH_W"; then
 
1896
  if (cygpath --version) >/dev/null 2>/dev/null; then
 
1897
    CYGPATH_W='cygpath -w'
 
1898
  else
 
1899
    CYGPATH_W=echo
 
1900
  fi
 
1901
fi
 
1902
 
 
1903
 
 
1904
# Define the identity of the package.
 
1905
 PACKAGE=$PACKAGE
 
1906
 VERSION=$VERSION
 
1907
 
 
1908
 
1773
1909
cat >>confdefs.h <<_ACEOF
1774
1910
#define PACKAGE "$PACKAGE"
1775
1911
_ACEOF
1779
1915
#define VERSION "$VERSION"
1780
1916
_ACEOF
1781
1917
 
1782
 
 
1783
 
 
1784
 
missing_dir=`cd $ac_aux_dir && pwd`
1785
 
echo "$as_me:$LINENO: checking for working aclocal-${am__api_version}" >&5
1786
 
echo $ECHO_N "checking for working aclocal-${am__api_version}... $ECHO_C" >&6
1787
 
# Run test in a subshell; some versions of sh will print an error if
1788
 
# an executable is not found, even if stderr is redirected.
1789
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1790
 
if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1791
 
   ACLOCAL=aclocal-${am__api_version}
1792
 
   echo "$as_me:$LINENO: result: found" >&5
1793
 
echo "${ECHO_T}found" >&6
1794
 
else
1795
 
   ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
1796
 
   echo "$as_me:$LINENO: result: missing" >&5
1797
 
echo "${ECHO_T}missing" >&6
1798
 
fi
1799
 
 
1800
 
echo "$as_me:$LINENO: checking for working autoconf" >&5
1801
 
echo $ECHO_N "checking for working autoconf... $ECHO_C" >&6
1802
 
# Run test in a subshell; some versions of sh will print an error if
1803
 
# an executable is not found, even if stderr is redirected.
1804
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1805
 
if (autoconf --version) < /dev/null > /dev/null 2>&1; then
1806
 
   AUTOCONF=autoconf
1807
 
   echo "$as_me:$LINENO: result: found" >&5
1808
 
echo "${ECHO_T}found" >&6
1809
 
else
1810
 
   AUTOCONF="$missing_dir/missing autoconf"
1811
 
   echo "$as_me:$LINENO: result: missing" >&5
1812
 
echo "${ECHO_T}missing" >&6
1813
 
fi
1814
 
 
1815
 
echo "$as_me:$LINENO: checking for working automake-${am__api_version}" >&5
1816
 
echo $ECHO_N "checking for working automake-${am__api_version}... $ECHO_C" >&6
1817
 
# Run test in a subshell; some versions of sh will print an error if
1818
 
# an executable is not found, even if stderr is redirected.
1819
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1820
 
if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
1821
 
   AUTOMAKE=automake-${am__api_version}
1822
 
   echo "$as_me:$LINENO: result: found" >&5
1823
 
echo "${ECHO_T}found" >&6
1824
 
else
1825
 
   AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
1826
 
   echo "$as_me:$LINENO: result: missing" >&5
1827
 
echo "${ECHO_T}missing" >&6
1828
 
fi
1829
 
 
1830
 
echo "$as_me:$LINENO: checking for working autoheader" >&5
1831
 
echo $ECHO_N "checking for working autoheader... $ECHO_C" >&6
1832
 
# Run test in a subshell; some versions of sh will print an error if
1833
 
# an executable is not found, even if stderr is redirected.
1834
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1835
 
if (autoheader --version) < /dev/null > /dev/null 2>&1; then
1836
 
   AUTOHEADER=autoheader
1837
 
   echo "$as_me:$LINENO: result: found" >&5
1838
 
echo "${ECHO_T}found" >&6
1839
 
else
1840
 
   AUTOHEADER="$missing_dir/missing autoheader"
1841
 
   echo "$as_me:$LINENO: result: missing" >&5
1842
 
echo "${ECHO_T}missing" >&6
1843
 
fi
1844
 
 
1845
 
echo "$as_me:$LINENO: checking for working makeinfo" >&5
1846
 
echo $ECHO_N "checking for working makeinfo... $ECHO_C" >&6
1847
 
# Run test in a subshell; some versions of sh will print an error if
1848
 
# an executable is not found, even if stderr is redirected.
1849
 
# Redirect stdin to placate older versions of autoconf.  Sigh.
1850
 
if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
1851
 
   MAKEINFO=makeinfo
1852
 
   echo "$as_me:$LINENO: result: found" >&5
1853
 
echo "${ECHO_T}found" >&6
1854
 
else
1855
 
   MAKEINFO="$missing_dir/missing makeinfo"
1856
 
   echo "$as_me:$LINENO: result: missing" >&5
1857
 
echo "${ECHO_T}missing" >&6
1858
 
fi
 
1918
# Some tools Automake needs.
 
1919
 
 
1920
ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
 
1921
 
 
1922
 
 
1923
AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
 
1924
 
 
1925
 
 
1926
AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
 
1927
 
 
1928
 
 
1929
AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
 
1930
 
 
1931
 
 
1932
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
 
1933
 
 
1934
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
1935
 
 
1936
# Installed binaries are usually stripped using `strip' when the user
 
1937
# run `make install-strip'.  However `strip' might not be the right
 
1938
# tool to use in cross-compilation environments, therefore Automake
 
1939
# will honor the `STRIP' environment variable to overrule this program.
 
1940
if test "$cross_compiling" != no; then
 
1941
  if test -n "$ac_tool_prefix"; then
 
1942
  # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
 
1943
set dummy ${ac_tool_prefix}strip; ac_word=$2
 
1944
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1945
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1946
if test "${ac_cv_prog_STRIP+set}" = set; then
 
1947
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1948
else
 
1949
  if test -n "$STRIP"; then
 
1950
  ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
 
1951
else
 
1952
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1953
for as_dir in $PATH
 
1954
do
 
1955
  IFS=$as_save_IFS
 
1956
  test -z "$as_dir" && as_dir=.
 
1957
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1958
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1959
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
 
1960
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1961
    break 2
 
1962
  fi
 
1963
done
 
1964
done
 
1965
 
 
1966
fi
 
1967
fi
 
1968
STRIP=$ac_cv_prog_STRIP
 
1969
if test -n "$STRIP"; then
 
1970
  echo "$as_me:$LINENO: result: $STRIP" >&5
 
1971
echo "${ECHO_T}$STRIP" >&6
 
1972
else
 
1973
  echo "$as_me:$LINENO: result: no" >&5
 
1974
echo "${ECHO_T}no" >&6
 
1975
fi
 
1976
 
 
1977
fi
 
1978
if test -z "$ac_cv_prog_STRIP"; then
 
1979
  ac_ct_STRIP=$STRIP
 
1980
  # Extract the first word of "strip", so it can be a program name with args.
 
1981
set dummy strip; ac_word=$2
 
1982
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
1983
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
1984
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
 
1985
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
1986
else
 
1987
  if test -n "$ac_ct_STRIP"; then
 
1988
  ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
 
1989
else
 
1990
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
1991
for as_dir in $PATH
 
1992
do
 
1993
  IFS=$as_save_IFS
 
1994
  test -z "$as_dir" && as_dir=.
 
1995
  for ac_exec_ext in '' $ac_executable_extensions; do
 
1996
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
1997
    ac_cv_prog_ac_ct_STRIP="strip"
 
1998
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
1999
    break 2
 
2000
  fi
 
2001
done
 
2002
done
 
2003
 
 
2004
  test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
 
2005
fi
 
2006
fi
 
2007
ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
 
2008
if test -n "$ac_ct_STRIP"; then
 
2009
  echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
 
2010
echo "${ECHO_T}$ac_ct_STRIP" >&6
 
2011
else
 
2012
  echo "$as_me:$LINENO: result: no" >&5
 
2013
echo "${ECHO_T}no" >&6
 
2014
fi
 
2015
 
 
2016
  STRIP=$ac_ct_STRIP
 
2017
else
 
2018
  STRIP="$ac_cv_prog_STRIP"
 
2019
fi
 
2020
 
 
2021
fi
 
2022
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2023
 
 
2024
# We need awk for the "check" target.  The system "awk" is bad on
 
2025
# some platforms.
 
2026
# Always define AMTAR for backward compatibility.
 
2027
 
 
2028
AMTAR=${AMTAR-"${am_missing_run}tar"}
 
2029
 
 
2030
am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
 
2031
 
 
2032
 
1859
2033
 
1860
2034
 
1861
2035
 
1862
2036
 
1863
2037
          ac_config_headers="$ac_config_headers config.h"
1864
2038
 
1865
 
          ac_config_commands="$ac_config_commands default-1"
1866
 
 
1867
2039
 
1868
2040
ac_ext=c
1869
2041
ac_cpp='$CPP $CPPFLAGS'
2433
2605
  cat conftest.err >&5
2434
2606
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2435
2607
  (exit $ac_status); } &&
2436
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2608
         { ac_try='test -z "$ac_c_werror_flag"
 
2609
                         || test ! -s conftest.err'
2437
2610
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2438
2611
  (eval $ac_try) 2>&5
2439
2612
  ac_status=$?
2491
2664
  cat conftest.err >&5
2492
2665
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2493
2666
  (exit $ac_status); } &&
2494
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2667
         { ac_try='test -z "$ac_c_werror_flag"
 
2668
                         || test ! -s conftest.err'
2495
2669
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2496
2670
  (eval $ac_try) 2>&5
2497
2671
  ac_status=$?
2607
2781
  cat conftest.err >&5
2608
2782
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2609
2783
  (exit $ac_status); } &&
2610
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2784
         { ac_try='test -z "$ac_c_werror_flag"
 
2785
                         || test ! -s conftest.err'
2611
2786
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2612
2787
  (eval $ac_try) 2>&5
2613
2788
  ac_status=$?
2661
2836
  cat conftest.err >&5
2662
2837
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2663
2838
  (exit $ac_status); } &&
2664
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2839
         { ac_try='test -z "$ac_c_werror_flag"
 
2840
                         || test ! -s conftest.err'
2665
2841
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2666
2842
  (eval $ac_try) 2>&5
2667
2843
  ac_status=$?
2706
2882
  cat conftest.err >&5
2707
2883
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2708
2884
  (exit $ac_status); } &&
2709
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2885
         { ac_try='test -z "$ac_c_werror_flag"
 
2886
                         || test ! -s conftest.err'
2710
2887
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2711
2888
  (eval $ac_try) 2>&5
2712
2889
  ac_status=$?
2750
2927
  cat conftest.err >&5
2751
2928
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752
2929
  (exit $ac_status); } &&
2753
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
2930
         { ac_try='test -z "$ac_c_werror_flag"
 
2931
                         || test ! -s conftest.err'
2754
2932
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2755
2933
  (eval $ac_try) 2>&5
2756
2934
  ac_status=$?
2788
2966
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2789
2967
ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2790
2968
ac_compiler_gnu=$ac_cv_c_compiler_gnu
 
2969
DEPDIR="${am__leading_dot}deps"
 
2970
 
 
2971
          ac_config_commands="$ac_config_commands depfiles"
 
2972
 
 
2973
 
 
2974
am_make=${MAKE-make}
 
2975
cat > confinc << 'END'
 
2976
am__doit:
 
2977
        @echo done
 
2978
.PHONY: am__doit
 
2979
END
 
2980
# If we don't find an include directive, just comment out the code.
 
2981
echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
 
2982
echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
 
2983
am__include="#"
 
2984
am__quote=
 
2985
_am_result=none
 
2986
# First try GNU make style include.
 
2987
echo "include confinc" > confmf
 
2988
# We grep out `Entering directory' and `Leaving directory'
 
2989
# messages which can occur if `w' ends up in MAKEFLAGS.
 
2990
# In particular we don't look at `^make:' because GNU make might
 
2991
# be invoked under some other name (usually "gmake"), in which
 
2992
# case it prints its new name instead of `make'.
 
2993
if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
 
2994
   am__include=include
 
2995
   am__quote=
 
2996
   _am_result=GNU
 
2997
fi
 
2998
# Now try BSD make style include.
 
2999
if test "$am__include" = "#"; then
 
3000
   echo '.include "confinc"' > confmf
 
3001
   if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
 
3002
      am__include=.include
 
3003
      am__quote="\""
 
3004
      _am_result=BSD
 
3005
   fi
 
3006
fi
 
3007
 
 
3008
 
 
3009
echo "$as_me:$LINENO: result: $_am_result" >&5
 
3010
echo "${ECHO_T}$_am_result" >&6
 
3011
rm -f confinc confmf
 
3012
 
 
3013
# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
 
3014
if test "${enable_dependency_tracking+set}" = set; then
 
3015
  enableval="$enable_dependency_tracking"
 
3016
 
 
3017
fi;
 
3018
if test "x$enable_dependency_tracking" != xno; then
 
3019
  am_depcomp="$ac_aux_dir/depcomp"
 
3020
  AMDEPBACKSLASH='\'
 
3021
fi
 
3022
 
 
3023
 
 
3024
if test "x$enable_dependency_tracking" != xno; then
 
3025
  AMDEP_TRUE=
 
3026
  AMDEP_FALSE='#'
 
3027
else
 
3028
  AMDEP_TRUE='#'
 
3029
  AMDEP_FALSE=
 
3030
fi
 
3031
 
 
3032
 
 
3033
 
 
3034
 
 
3035
depcc="$CC"   am_compiler_list=
 
3036
 
 
3037
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
3038
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
3039
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
 
3040
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
3041
else
 
3042
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
3043
  # We make a subdir and do the tests there.  Otherwise we can end up
 
3044
  # making bogus files that we don't know about and never remove.  For
 
3045
  # instance it was reported that on HP-UX the gcc test will end up
 
3046
  # making a dummy file named `D' -- because `-MD' means `put the output
 
3047
  # in D'.
 
3048
  mkdir conftest.dir
 
3049
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
3050
  # using a relative directory.
 
3051
  cp "$am_depcomp" conftest.dir
 
3052
  cd conftest.dir
 
3053
  # We will build objects and dependencies in a subdirectory because
 
3054
  # it helps to detect inapplicable dependency modes.  For instance
 
3055
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
3056
  # side effect of compilation, but ICC will put the dependencies in
 
3057
  # the current directory while Tru64 will put them in the object
 
3058
  # directory.
 
3059
  mkdir sub
 
3060
 
 
3061
  am_cv_CC_dependencies_compiler_type=none
 
3062
  if test "$am_compiler_list" = ""; then
 
3063
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
3064
  fi
 
3065
  for depmode in $am_compiler_list; do
 
3066
    # Setup a source with many dependencies, because some compilers
 
3067
    # like to wrap large dependency lists on column 80 (with \), and
 
3068
    # we should not choose a depcomp mode which is confused by this.
 
3069
    #
 
3070
    # We need to recreate these files for each test, as the compiler may
 
3071
    # overwrite some of them when testing with obscure command lines.
 
3072
    # This happens at least with the AIX C compiler.
 
3073
    : > sub/conftest.c
 
3074
    for i in 1 2 3 4 5 6; do
 
3075
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
3076
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
3077
      # Solaris 8's {/usr,}/bin/sh.
 
3078
      touch sub/conftst$i.h
 
3079
    done
 
3080
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
3081
 
 
3082
    case $depmode in
 
3083
    nosideeffect)
 
3084
      # after this tag, mechanisms are not by side-effect, so they'll
 
3085
      # only be used when explicitly requested
 
3086
      if test "x$enable_dependency_tracking" = xyes; then
 
3087
        continue
 
3088
      else
 
3089
        break
 
3090
      fi
 
3091
      ;;
 
3092
    none) break ;;
 
3093
    esac
 
3094
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
3095
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
3096
    # handle `-M -o', and we need to detect this.
 
3097
    if depmode=$depmode \
 
3098
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
3099
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
3100
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
3101
         >/dev/null 2>conftest.err &&
 
3102
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
3103
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
3104
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
3105
      # icc doesn't choke on unknown options, it will just issue warnings
 
3106
      # or remarks (even with -Werror).  So we grep stderr for any message
 
3107
      # that says an option was ignored or not supported.
 
3108
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
3109
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
3110
      # The diagnosis changed in icc 8.0:
 
3111
      #   icc: Command line remark: option '-MP' not supported
 
3112
      if (grep 'ignoring option' conftest.err ||
 
3113
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
3114
        am_cv_CC_dependencies_compiler_type=$depmode
 
3115
        break
 
3116
      fi
 
3117
    fi
 
3118
  done
 
3119
 
 
3120
  cd ..
 
3121
  rm -rf conftest.dir
 
3122
else
 
3123
  am_cv_CC_dependencies_compiler_type=none
 
3124
fi
 
3125
 
 
3126
fi
 
3127
echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
 
3128
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
 
3129
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
 
3130
 
 
3131
 
 
3132
 
 
3133
if
 
3134
  test "x$enable_dependency_tracking" != xno \
 
3135
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
 
3136
  am__fastdepCC_TRUE=
 
3137
  am__fastdepCC_FALSE='#'
 
3138
else
 
3139
  am__fastdepCC_TRUE='#'
 
3140
  am__fastdepCC_FALSE=
 
3141
fi
 
3142
 
2791
3143
 
2792
3144
#AC_ARG_PROGRAM
2793
3145
ac_ext=c
3220
3572
  cat conftest.err >&5
3221
3573
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3222
3574
  (exit $ac_status); } &&
3223
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3575
         { ac_try='test -z "$ac_c_werror_flag"
 
3576
                         || test ! -s conftest.err'
3224
3577
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3225
3578
  (eval $ac_try) 2>&5
3226
3579
  ac_status=$?
3300
3653
  cat conftest.err >&5
3301
3654
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3302
3655
  (exit $ac_status); } &&
3303
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3656
         { ac_try='test -z "$ac_c_werror_flag"
 
3657
                         || test ! -s conftest.err'
3304
3658
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3305
3659
  (eval $ac_try) 2>&5
3306
3660
  ac_status=$?
3470
3824
  cat conftest.err >&5
3471
3825
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3472
3826
  (exit $ac_status); } &&
3473
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3827
         { ac_try='test -z "$ac_c_werror_flag"
 
3828
                         || test ! -s conftest.err'
3474
3829
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3475
3830
  (eval $ac_try) 2>&5
3476
3831
  ac_status=$?
3535
3890
  cat conftest.err >&5
3536
3891
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3537
3892
  (exit $ac_status); } &&
3538
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
3893
         { ac_try='test -z "$ac_c_werror_flag"
 
3894
                         || test ! -s conftest.err'
3539
3895
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3540
3896
  (eval $ac_try) 2>&5
3541
3897
  ac_status=$?
3721
4077
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
3722
4078
# along with /bin/sed that truncates output.
3723
4079
for lt_ac_sed in $lt_ac_sed_list /usr/xpg4/bin/sed; do
3724
 
  test ! -f $lt_ac_sed && break
 
4080
  test ! -f $lt_ac_sed && continue
3725
4081
  cat /dev/null > conftest.in
3726
4082
  lt_ac_count=0
3727
4083
  echo $ECHO_N "0123456789$ECHO_C" >conftest.in
3746
4102
    fi
3747
4103
  done
3748
4104
done
 
4105
 
 
4106
fi
 
4107
 
3749
4108
SED=$lt_cv_path_SED
3750
 
 
3751
 
fi
3752
 
 
3753
4109
echo "$as_me:$LINENO: result: $SED" >&5
3754
4110
echo "${ECHO_T}$SED" >&6
3755
4111
 
3811
4167
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
3812
4168
      lt_cv_path_LD="$ac_dir/$ac_prog"
3813
4169
      # Check to see if the program is GNU ld.  I'd rather use --version,
3814
 
      # but apparently some GNU ld's only accept -v.
 
4170
      # but apparently some variants of GNU ld only accept -v.
3815
4171
      # Break only if it was the GNU/non-GNU ld that we prefer.
3816
4172
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
3817
4173
      *GNU* | *'with BFD'*)
3845
4201
if test "${lt_cv_prog_gnu_ld+set}" = set; then
3846
4202
  echo $ECHO_N "(cached) $ECHO_C" >&6
3847
4203
else
3848
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
4204
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
3849
4205
case `$LD -v 2>&1 </dev/null` in
3850
4206
*GNU* | *'with BFD'*)
3851
4207
  lt_cv_prog_gnu_ld=yes
3875
4231
*) reload_flag=" $reload_flag" ;;
3876
4232
esac
3877
4233
reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4234
case $host_os in
 
4235
  darwin*)
 
4236
    if test "$GCC" = yes; then
 
4237
      reload_cmds='$CC -nostdlib ${wl}-r -o $output$reload_objs'
 
4238
    else
 
4239
      reload_cmds='$LD$reload_flag -o $output$reload_objs'
 
4240
    fi
 
4241
    ;;
 
4242
esac
3878
4243
 
3879
4244
echo "$as_me:$LINENO: checking for BSD-compatible nm" >&5
3880
4245
echo $ECHO_N "checking for BSD-compatible nm... $ECHO_C" >&6
3950
4315
  lt_cv_deplibs_check_method=pass_all
3951
4316
  ;;
3952
4317
 
3953
 
bsdi4*)
 
4318
bsdi[45]*)
3954
4319
  lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
3955
4320
  lt_cv_file_magic_cmd='/usr/bin/file -L'
3956
4321
  lt_cv_file_magic_test_file=/shlib/libc.so
3973
4338
  lt_cv_deplibs_check_method=pass_all
3974
4339
  ;;
3975
4340
 
3976
 
freebsd* | kfreebsd*-gnu)
 
4341
freebsd* | kfreebsd*-gnu | dragonfly*)
3977
4342
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
3978
4343
    case $host_cpu in
3979
4344
    i*86 )
3980
4345
      # Not sure whether the presence of OpenBSD here was a mistake.
3981
4346
      # Let's accept both of them until this is cleared up.
3982
 
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD)/i[3-9]86 (compact )?demand paged shared library'
 
4347
      lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
3983
4348
      lt_cv_file_magic_cmd=/usr/bin/file
3984
4349
      lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
3985
4350
      ;;
3995
4360
 
3996
4361
hpux10.20* | hpux11*)
3997
4362
  lt_cv_file_magic_cmd=/usr/bin/file
3998
 
  case "$host_cpu" in
 
4363
  case $host_cpu in
3999
4364
  ia64*)
4000
4365
    lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
4001
4366
    lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
4026
4391
  lt_cv_deplibs_check_method=pass_all
4027
4392
  ;;
4028
4393
 
4029
 
netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
4394
netbsd*)
4030
4395
  if echo __ELF__ | $CC -E - | grep __ELF__ > /dev/null; then
4031
4396
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4032
4397
  else
4045
4410
  ;;
4046
4411
 
4047
4412
openbsd*)
4048
 
  lt_cv_file_magic_cmd=/usr/bin/file
4049
 
  lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
4050
4413
  if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
4051
 
    lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB shared object'
 
4414
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
4052
4415
  else
4053
 
    lt_cv_deplibs_check_method='file_magic OpenBSD.* shared library'
 
4416
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
4054
4417
  fi
4055
4418
  ;;
4056
4419
 
4141
4504
  ;;
4142
4505
*-*-irix6*)
4143
4506
  # Find out which ABI we are using.
4144
 
  echo '#line 4144 "configure"' > conftest.$ac_ext
 
4507
  echo '#line 4507 "configure"' > conftest.$ac_ext
4145
4508
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4146
4509
  (eval $ac_compile) 2>&5
4147
4510
  ac_status=$?
4184
4547
  ac_status=$?
4185
4548
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186
4549
  (exit $ac_status); }; then
4187
 
    case "`/usr/bin/file conftest.o`" in
 
4550
    case `/usr/bin/file conftest.o` in
4188
4551
    *32-bit*)
4189
4552
      case $host in
4190
4553
        x86_64-*linux*)
4261
4624
  cat conftest.err >&5
4262
4625
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4263
4626
  (exit $ac_status); } &&
4264
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4627
         { ac_try='test -z "$ac_c_werror_flag"
 
4628
                         || test ! -s conftest.err'
4265
4629
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4266
4630
  (eval $ac_try) 2>&5
4267
4631
  ac_status=$?
4336
4700
  cat conftest.err >&5
4337
4701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4338
4702
  (exit $ac_status); } &&
4339
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
4703
         { ac_try='test -z "$ac_c_werror_flag"
 
4704
                         || test ! -s conftest.err'
4340
4705
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4341
4706
  (eval $ac_try) 2>&5
4342
4707
  ac_status=$?
4423
4788
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4424
4789
    (
4425
4790
      cat <<\_ASBOX
4426
 
## ---------------------------------- ##
4427
 
## Report this to chipx86@chipx86.com ##
4428
 
## ---------------------------------- ##
 
4791
## ----------------------------------- ##
 
4792
## Report this to chipx86@gnupdate.org ##
 
4793
## ----------------------------------- ##
4429
4794
_ASBOX
4430
4795
    ) |
4431
4796
      sed "s/^/$as_me: WARNING:     /" >&2
4596
4961
  cat conftest.err >&5
4597
4962
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4598
4963
  (exit $ac_status); } &&
4599
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
4964
         { ac_try='test -z "$ac_cxx_werror_flag"
 
4965
                         || test ! -s conftest.err'
4600
4966
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4601
4967
  (eval $ac_try) 2>&5
4602
4968
  ac_status=$?
4654
5020
  cat conftest.err >&5
4655
5021
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4656
5022
  (exit $ac_status); } &&
4657
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
5023
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5024
                         || test ! -s conftest.err'
4658
5025
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4659
5026
  (eval $ac_try) 2>&5
4660
5027
  ac_status=$?
4725
5092
  cat conftest.err >&5
4726
5093
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4727
5094
  (exit $ac_status); } &&
4728
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
5095
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5096
                         || test ! -s conftest.err'
4729
5097
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4730
5098
  (eval $ac_try) 2>&5
4731
5099
  ac_status=$?
4769
5137
  cat conftest.err >&5
4770
5138
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4771
5139
  (exit $ac_status); } &&
4772
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
5140
         { ac_try='test -z "$ac_cxx_werror_flag"
 
5141
                         || test ! -s conftest.err'
4773
5142
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4774
5143
  (eval $ac_try) 2>&5
4775
5144
  ac_status=$?
4802
5171
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4803
5172
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4804
5173
 
4805
 
ac_ext=cc
 
5174
depcc="$CXX"  am_compiler_list=
 
5175
 
 
5176
echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
 
5177
echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
 
5178
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
 
5179
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
5180
else
 
5181
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
 
5182
  # We make a subdir and do the tests there.  Otherwise we can end up
 
5183
  # making bogus files that we don't know about and never remove.  For
 
5184
  # instance it was reported that on HP-UX the gcc test will end up
 
5185
  # making a dummy file named `D' -- because `-MD' means `put the output
 
5186
  # in D'.
 
5187
  mkdir conftest.dir
 
5188
  # Copy depcomp to subdir because otherwise we won't find it if we're
 
5189
  # using a relative directory.
 
5190
  cp "$am_depcomp" conftest.dir
 
5191
  cd conftest.dir
 
5192
  # We will build objects and dependencies in a subdirectory because
 
5193
  # it helps to detect inapplicable dependency modes.  For instance
 
5194
  # both Tru64's cc and ICC support -MD to output dependencies as a
 
5195
  # side effect of compilation, but ICC will put the dependencies in
 
5196
  # the current directory while Tru64 will put them in the object
 
5197
  # directory.
 
5198
  mkdir sub
 
5199
 
 
5200
  am_cv_CXX_dependencies_compiler_type=none
 
5201
  if test "$am_compiler_list" = ""; then
 
5202
     am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
 
5203
  fi
 
5204
  for depmode in $am_compiler_list; do
 
5205
    # Setup a source with many dependencies, because some compilers
 
5206
    # like to wrap large dependency lists on column 80 (with \), and
 
5207
    # we should not choose a depcomp mode which is confused by this.
 
5208
    #
 
5209
    # We need to recreate these files for each test, as the compiler may
 
5210
    # overwrite some of them when testing with obscure command lines.
 
5211
    # This happens at least with the AIX C compiler.
 
5212
    : > sub/conftest.c
 
5213
    for i in 1 2 3 4 5 6; do
 
5214
      echo '#include "conftst'$i'.h"' >> sub/conftest.c
 
5215
      # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
 
5216
      # Solaris 8's {/usr,}/bin/sh.
 
5217
      touch sub/conftst$i.h
 
5218
    done
 
5219
    echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
 
5220
 
 
5221
    case $depmode in
 
5222
    nosideeffect)
 
5223
      # after this tag, mechanisms are not by side-effect, so they'll
 
5224
      # only be used when explicitly requested
 
5225
      if test "x$enable_dependency_tracking" = xyes; then
 
5226
        continue
 
5227
      else
 
5228
        break
 
5229
      fi
 
5230
      ;;
 
5231
    none) break ;;
 
5232
    esac
 
5233
    # We check with `-c' and `-o' for the sake of the "dashmstdout"
 
5234
    # mode.  It turns out that the SunPro C++ compiler does not properly
 
5235
    # handle `-M -o', and we need to detect this.
 
5236
    if depmode=$depmode \
 
5237
       source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
 
5238
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
 
5239
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
 
5240
         >/dev/null 2>conftest.err &&
 
5241
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
 
5242
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
 
5243
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
 
5244
      # icc doesn't choke on unknown options, it will just issue warnings
 
5245
      # or remarks (even with -Werror).  So we grep stderr for any message
 
5246
      # that says an option was ignored or not supported.
 
5247
      # When given -MP, icc 7.0 and 7.1 complain thusly:
 
5248
      #   icc: Command line warning: ignoring option '-M'; no argument required
 
5249
      # The diagnosis changed in icc 8.0:
 
5250
      #   icc: Command line remark: option '-MP' not supported
 
5251
      if (grep 'ignoring option' conftest.err ||
 
5252
          grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
 
5253
        am_cv_CXX_dependencies_compiler_type=$depmode
 
5254
        break
 
5255
      fi
 
5256
    fi
 
5257
  done
 
5258
 
 
5259
  cd ..
 
5260
  rm -rf conftest.dir
 
5261
else
 
5262
  am_cv_CXX_dependencies_compiler_type=none
 
5263
fi
 
5264
 
 
5265
fi
 
5266
echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
 
5267
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6
 
5268
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
 
5269
 
 
5270
 
 
5271
 
 
5272
if
 
5273
  test "x$enable_dependency_tracking" != xno \
 
5274
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
 
5275
  am__fastdepCXX_TRUE=
 
5276
  am__fastdepCXX_FALSE='#'
 
5277
else
 
5278
  am__fastdepCXX_TRUE='#'
 
5279
  am__fastdepCXX_FALSE=
 
5280
fi
 
5281
 
 
5282
 
 
5283
 
 
5284
 
 
5285
if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
5286
    ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
5287
    (test "X$CXX" != "Xg++"))) ; then
 
5288
  ac_ext=cc
4806
5289
ac_cpp='$CXXCPP $CPPFLAGS'
4807
5290
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4808
5291
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5032
5515
ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5033
5516
ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5034
5517
 
 
5518
fi
 
5519
 
5035
5520
 
5036
5521
ac_ext=f
5037
5522
ac_compile='$F77 -c $FFLAGS conftest.$ac_ext >&5'
5125
5610
 
5126
5611
 
5127
5612
# Provide some information about the compiler.
5128
 
echo "$as_me:5128:" \
 
5613
echo "$as_me:5613:" \
5129
5614
     "checking for Fortran 77 compiler version" >&5
5130
5615
ac_compiler=`set X $ac_compile; echo $2`
5131
5616
{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
5171
5656
  cat conftest.err >&5
5172
5657
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5173
5658
  (exit $ac_status); } &&
5174
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
5659
         { ac_try='test -z "$ac_f77_werror_flag"
 
5660
                         || test ! -s conftest.err'
5175
5661
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5176
5662
  (eval $ac_try) 2>&5
5177
5663
  ac_status=$?
5220
5706
  cat conftest.err >&5
5221
5707
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5222
5708
  (exit $ac_status); } &&
5223
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
5709
         { ac_try='test -z "$ac_f77_werror_flag"
 
5710
                         || test ! -s conftest.err'
5224
5711
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5225
5712
  (eval $ac_try) 2>&5
5226
5713
  ac_status=$?
5313
5800
    lt_cv_sys_max_cmd_len=8192;
5314
5801
    ;;
5315
5802
 
5316
 
 *)
 
5803
  netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
 
5804
    # This has been around since 386BSD, at least.  Likely further.
 
5805
    if test -x /sbin/sysctl; then
 
5806
      lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
 
5807
    elif test -x /usr/sbin/sysctl; then
 
5808
      lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
 
5809
    else
 
5810
      lt_cv_sys_max_cmd_len=65536       # usable default for all BSDs
 
5811
    fi
 
5812
    # And add a safety zone
 
5813
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
5814
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
5815
    ;;
 
5816
  osf*)
 
5817
    # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
 
5818
    # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
 
5819
    # nice to cause kernel panics so lets avoid the loop below.
 
5820
    # First set a reasonable default.
 
5821
    lt_cv_sys_max_cmd_len=16384
 
5822
    #
 
5823
    if test -x /sbin/sysconfig; then
 
5824
      case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
 
5825
        *1*) lt_cv_sys_max_cmd_len=-1 ;;
 
5826
      esac
 
5827
    fi
 
5828
    ;;
 
5829
  *)
5317
5830
    # If test is not a shell built-in, we'll probably end up computing a
5318
5831
    # maximum length that is only half of the actual maximum length, but
5319
5832
    # we can't tell.
5320
 
    while (test "X"`$CONFIG_SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
5833
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
5834
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
5321
5835
               = "XX$teststring") >/dev/null 2>&1 &&
5322
5836
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
5323
5837
            lt_cv_sys_max_cmd_len=$new_result &&
5363
5877
# Regexp to match symbols that can be accessed directly from C.
5364
5878
sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
5365
5879
 
5366
 
# Transform the above into a raw symbol and a C symbol.
5367
 
symxfrm='\1 \2\3 \3'
5368
 
 
5369
5880
# Transform an extracted symbol line into a proper C declaration
5370
5881
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^. .* \(.*\)$/extern int \1;/p'"
5371
5882
 
5387
5898
  lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
5388
5899
  lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
5389
5900
  ;;
 
5901
linux*)
 
5902
  if test "$host_cpu" = ia64; then
 
5903
    symcode='[ABCDGIRSTW]'
 
5904
    lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
 
5905
    lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (lt_ptr) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (lt_ptr) \&\2},/p'"
 
5906
  fi
 
5907
  ;;
5390
5908
irix* | nonstopux*)
5391
5909
  symcode='[BCDEGRST]'
5392
5910
  ;;
5418
5936
# Try without a prefix undercore, then with it.
5419
5937
for ac_symprfx in "" "_"; do
5420
5938
 
 
5939
  # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
 
5940
  symxfrm="\\1 $ac_symprfx\\2 \\2"
 
5941
 
5421
5942
  # Write the raw and C identifiers.
5422
 
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*\($ac_symprfx\)$sympat$opt_cr$/$symxfrm/p'"
 
5943
  lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[       ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
5423
5944
 
5424
5945
  # Check to see that the pipe works correctly.
5425
5946
  pipe_works=no
5581
6102
 
5582
6103
# Sed substitution that helps us do robust quoting.  It backslashifies
5583
6104
# metacharacters that are still active within double-quoted strings.
5584
 
Xsed='sed -e s/^X//'
 
6105
Xsed='sed -e 1s/^X//'
5585
6106
sed_quote_subst='s/\([\\"\\`$\\\\]\)/\\\1/g'
5586
6107
 
5587
6108
# Same as above, but do not quote variable references.
5601
6122
default_ofile=libtool
5602
6123
can_build_shared=yes
5603
6124
 
5604
 
# All known linkers require a `.a' archive for static linking (except M$VC,
 
6125
# All known linkers require a `.a' archive for static linking (except MSVC,
5605
6126
# which needs '.lib').
5606
6127
libext=a
5607
6128
ltmain="$ac_aux_dir/ltmain.sh"
5886
6407
  old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
5887
6408
fi
5888
6409
 
 
6410
for cc_temp in $compiler""; do
 
6411
  case $cc_temp in
 
6412
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
6413
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
6414
    \-*) ;;
 
6415
    *) break;;
 
6416
  esac
 
6417
done
 
6418
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
6419
 
 
6420
 
5889
6421
# Only perform the check for file, if the check method requires it
5890
6422
case $deplibs_check_method in
5891
6423
file_magic*)
5911
6443
      if test -n "$file_magic_test_file"; then
5912
6444
        case $deplibs_check_method in
5913
6445
        "file_magic "*)
5914
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
6446
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5915
6447
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5916
6448
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5917
6449
            $EGREP "$file_magic_regex" > /dev/null; then
5973
6505
      if test -n "$file_magic_test_file"; then
5974
6506
        case $deplibs_check_method in
5975
6507
        "file_magic "*)
5976
 
          file_magic_regex="`expr \"$deplibs_check_method\" : \"file_magic \(.*\)\"`"
 
6508
          file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
5977
6509
          MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
5978
6510
          if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
5979
6511
            $EGREP "$file_magic_regex" > /dev/null; then
6072
6604
compiler=$CC
6073
6605
 
6074
6606
 
 
6607
# save warnings/boilerplate of simple test code
 
6608
ac_outfile=conftest.$ac_objext
 
6609
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
6610
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
6611
_lt_compiler_boilerplate=`cat conftest.err`
 
6612
$rm conftest*
 
6613
 
 
6614
ac_outfile=conftest.$ac_objext
 
6615
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
6616
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
6617
_lt_linker_boilerplate=`cat conftest.err`
 
6618
$rm conftest*
 
6619
 
 
6620
 
6075
6621
#
6076
6622
# Check for any special shared library compilation flags.
6077
6623
#
6108
6654
   LDFLAGS="$LDFLAGS $lt_prog_compiler_static"
6109
6655
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
6110
6656
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
6111
 
     # The compiler can only warn and ignore the option if not recognized
 
6657
     # The linker can only warn and ignore the option if not recognized
6112
6658
     # So say no if there are warnings
6113
6659
     if test -s conftest.err; then
6114
6660
       # Append any errors to the config.log.
6115
6661
       cat conftest.err 1>&5
 
6662
       $echo "X$_lt_linker_boilerplate" | $Xsed > conftest.exp
 
6663
       $SED '/^$/d' conftest.err >conftest.er2
 
6664
       if diff conftest.exp conftest.er2 >/dev/null; then
 
6665
         lt_prog_compiler_static_works=yes
 
6666
       fi
6116
6667
     else
6117
6668
       lt_prog_compiler_static_works=yes
6118
6669
     fi
6154
6705
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6155
6706
   # The option is referenced via a variable to avoid confusing sed.
6156
6707
   lt_compile=`echo "$ac_compile" | $SED \
6157
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
6708
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6158
6709
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6159
6710
   -e 's:$: $lt_compiler_flag:'`
6160
 
   (eval echo "\"\$as_me:6160: $lt_compile\"" >&5)
 
6711
   (eval echo "\"\$as_me:6711: $lt_compile\"" >&5)
6161
6712
   (eval "$lt_compile" 2>conftest.err)
6162
6713
   ac_status=$?
6163
6714
   cat conftest.err >&5
6164
 
   echo "$as_me:6164: \$? = $ac_status" >&5
 
6715
   echo "$as_me:6715: \$? = $ac_status" >&5
6165
6716
   if (exit $ac_status) && test -s "$ac_outfile"; then
6166
6717
     # The compiler can only warn and ignore the option if not recognized
6167
 
     # So say no if there are warnings
6168
 
     if test ! -s conftest.err; then
 
6718
     # So say no if there are warnings other than the usual output.
 
6719
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
6720
     $SED '/^$/d' conftest.err >conftest.er2
 
6721
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6169
6722
       lt_cv_prog_compiler_rtti_exceptions=yes
6170
6723
     fi
6171
6724
   fi
6242
6795
    hpux*)
6243
6796
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6244
6797
      # not for PA HP-UX.
6245
 
      case "$host_cpu" in
 
6798
      case $host_cpu in
6246
6799
      hppa*64*|ia64*)
6247
6800
        # +Z the default
6248
6801
        ;;
6268
6821
        lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
6269
6822
      fi
6270
6823
      ;;
 
6824
      darwin*)
 
6825
        # PIC is the default on this platform
 
6826
        # Common symbols not allowed in MH_DYLIB files
 
6827
       case $cc_basename in
 
6828
         xlc*)
 
6829
         lt_prog_compiler_pic='-qnocommon'
 
6830
         lt_prog_compiler_wl='-Wl,'
 
6831
         ;;
 
6832
       esac
 
6833
       ;;
6271
6834
 
6272
6835
    mingw* | pw32* | os2*)
6273
6836
      # This hack is so that the source file can tell whether it is being
6279
6842
      lt_prog_compiler_wl='-Wl,'
6280
6843
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
6281
6844
      # not for PA HP-UX.
6282
 
      case "$host_cpu" in
 
6845
      case $host_cpu in
6283
6846
      hppa*64*|ia64*)
6284
6847
        # +Z the default
6285
6848
        ;;
6303
6866
      ;;
6304
6867
 
6305
6868
    linux*)
6306
 
      case $CC in
 
6869
      case $cc_basename in
6307
6870
      icc* | ecc*)
6308
6871
        lt_prog_compiler_wl='-Wl,'
6309
6872
        lt_prog_compiler_pic='-KPIC'
6310
6873
        lt_prog_compiler_static='-static'
6311
6874
        ;;
 
6875
      pgcc* | pgf77* | pgf90* | pgf95*)
 
6876
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
6877
        # which looks to be a dead project)
 
6878
        lt_prog_compiler_wl='-Wl,'
 
6879
        lt_prog_compiler_pic='-fpic'
 
6880
        lt_prog_compiler_static='-Bstatic'
 
6881
        ;;
6312
6882
      ccc*)
6313
6883
        lt_prog_compiler_wl='-Wl,'
6314
6884
        # All Alpha code is PIC.
6329
6899
      ;;
6330
6900
 
6331
6901
    solaris*)
6332
 
      lt_prog_compiler_wl='-Wl,'
6333
6902
      lt_prog_compiler_pic='-KPIC'
6334
6903
      lt_prog_compiler_static='-Bstatic'
 
6904
      case $cc_basename in
 
6905
      f77* | f90* | f95*)
 
6906
        lt_prog_compiler_wl='-Qoption ld ';;
 
6907
      *)
 
6908
        lt_prog_compiler_wl='-Wl,';;
 
6909
      esac
6335
6910
      ;;
6336
6911
 
6337
6912
    sunos4*)
6353
6928
      fi
6354
6929
      ;;
6355
6930
 
 
6931
    unicos*)
 
6932
      lt_prog_compiler_wl='-Wl,'
 
6933
      lt_prog_compiler_can_build_shared=no
 
6934
      ;;
 
6935
 
6356
6936
    uts4*)
6357
6937
      lt_prog_compiler_pic='-pic'
6358
6938
      lt_prog_compiler_static='-Bstatic'
6387
6967
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6388
6968
   # The option is referenced via a variable to avoid confusing sed.
6389
6969
   lt_compile=`echo "$ac_compile" | $SED \
6390
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
6970
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6391
6971
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6392
6972
   -e 's:$: $lt_compiler_flag:'`
6393
 
   (eval echo "\"\$as_me:6393: $lt_compile\"" >&5)
 
6973
   (eval echo "\"\$as_me:6973: $lt_compile\"" >&5)
6394
6974
   (eval "$lt_compile" 2>conftest.err)
6395
6975
   ac_status=$?
6396
6976
   cat conftest.err >&5
6397
 
   echo "$as_me:6397: \$? = $ac_status" >&5
 
6977
   echo "$as_me:6977: \$? = $ac_status" >&5
6398
6978
   if (exit $ac_status) && test -s "$ac_outfile"; then
6399
6979
     # The compiler can only warn and ignore the option if not recognized
6400
 
     # So say no if there are warnings
6401
 
     if test ! -s conftest.err; then
 
6980
     # So say no if there are warnings other than the usual output.
 
6981
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
6982
     $SED '/^$/d' conftest.err >conftest.er2
 
6983
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
6402
6984
       lt_prog_compiler_pic_works=yes
6403
6985
     fi
6404
6986
   fi
6419
7001
fi
6420
7002
 
6421
7003
fi
6422
 
case "$host_os" in
 
7004
case $host_os in
6423
7005
  # For platforms which do not support PIC, -DPIC is meaningless:
6424
7006
  *djgpp*)
6425
7007
    lt_prog_compiler_pic=
6447
7029
   # Note that $ac_compile itself does not contain backslashes and begins
6448
7030
   # with a dollar sign (not a hyphen), so the echo should work correctly.
6449
7031
   lt_compile=`echo "$ac_compile" | $SED \
6450
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
7032
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
6451
7033
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
6452
7034
   -e 's:$: $lt_compiler_flag:'`
6453
 
   (eval echo "\"\$as_me:6453: $lt_compile\"" >&5)
 
7035
   (eval echo "\"\$as_me:7035: $lt_compile\"" >&5)
6454
7036
   (eval "$lt_compile" 2>out/conftest.err)
6455
7037
   ac_status=$?
6456
7038
   cat out/conftest.err >&5
6457
 
   echo "$as_me:6457: \$? = $ac_status" >&5
 
7039
   echo "$as_me:7039: \$? = $ac_status" >&5
6458
7040
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
6459
7041
   then
6460
7042
     # The compiler can only warn and ignore the option if not recognized
6461
7043
     # So say no if there are warnings
6462
 
     if test ! -s out/conftest.err; then
 
7044
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 
7045
     $SED '/^$/d' out/conftest.err >out/conftest.er2
 
7046
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
6463
7047
       lt_cv_prog_compiler_c_o=yes
6464
7048
     fi
6465
7049
   fi
6466
 
   chmod u+w .
 
7050
   chmod u+w . 2>&5
6467
7051
   $rm conftest*
6468
7052
   # SGI C++ compiler will create directory out/ii_files/ for
6469
7053
   # template instantiation
6539
7123
  # rely on this symbol name, it's probably fine to never include it in
6540
7124
  # preloaded symbol tables.
6541
7125
  extract_expsyms_cmds=
 
7126
  # Just being paranoid about ensuring that cc_basename is set.
 
7127
  for cc_temp in $compiler""; do
 
7128
  case $cc_temp in
 
7129
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
7130
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
7131
    \-*) ;;
 
7132
    *) break;;
 
7133
  esac
 
7134
done
 
7135
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
6542
7136
 
6543
7137
  case $host_os in
6544
7138
  cygwin* | mingw* | pw32*)
6559
7153
    # If archive_cmds runs LD, not CC, wlarc should be empty
6560
7154
    wlarc='${wl}'
6561
7155
 
 
7156
    # Set some defaults for GNU ld with shared library support. These
 
7157
    # are reset later if shared libraries are not supported. Putting them
 
7158
    # here allows them to be overridden if necessary.
 
7159
    runpath_var=LD_RUN_PATH
 
7160
    hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
 
7161
    export_dynamic_flag_spec='${wl}--export-dynamic'
 
7162
    # ancient GNU ld didn't support --whole-archive et. al.
 
7163
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
7164
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
7165
      else
 
7166
        whole_archive_flag_spec=
 
7167
    fi
 
7168
    supports_anon_versioning=no
 
7169
    case `$LD -v 2>/dev/null` in
 
7170
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
7171
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
7172
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
7173
      *\ 2.11.*) ;; # other 2.11 versions
 
7174
      *) supports_anon_versioning=yes ;;
 
7175
    esac
 
7176
 
6562
7177
    # See if GNU ld supports shared libraries.
6563
7178
    case $host_os in
6564
7179
    aix3* | aix4* | aix5*)
6609
7224
      allow_undefined_flag=unsupported
6610
7225
      always_export_symbols=no
6611
7226
      enable_shared_with_static_runtimes=yes
6612
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
7227
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
6613
7228
 
6614
7229
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
6615
7230
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
6627
7242
      fi
6628
7243
      ;;
6629
7244
 
6630
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7245
    linux*)
 
7246
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
7247
        tmp_addflag=
 
7248
        case $cc_basename,$host_cpu in
 
7249
        pgcc*)                          # Portland Group C compiler
 
7250
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
7251
          tmp_addflag=' $pic_flag'
 
7252
          ;;
 
7253
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
7254
          whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
7255
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
7256
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
7257
          tmp_addflag=' -i_dynamic' ;;
 
7258
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
7259
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
7260
        ifc* | ifort*)                  # Intel Fortran compiler
 
7261
          tmp_addflag=' -nofor_main' ;;
 
7262
        esac
 
7263
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7264
 
 
7265
        if test $supports_anon_versioning = yes; then
 
7266
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
 
7267
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
7268
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
7269
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
7270
        fi
 
7271
      else
 
7272
        ld_shlibs=no
 
7273
      fi
 
7274
      ;;
 
7275
 
 
7276
    netbsd*)
6631
7277
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
6632
7278
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
6633
7279
        wlarc=
6665
7311
      hardcode_shlibpath_var=no
6666
7312
      ;;
6667
7313
 
6668
 
  linux*)
6669
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6670
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6671
 
        archive_cmds="$tmp_archive_cmds"
6672
 
      supports_anon_versioning=no
6673
 
      case `$LD -v 2>/dev/null` in
6674
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
6675
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
6676
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
6677
 
        *\ 2.11.*) ;; # other 2.11 versions
6678
 
        *) supports_anon_versioning=yes ;;
6679
 
      esac
6680
 
      if test $supports_anon_versioning = yes; then
6681
 
        archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
6682
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
6683
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
6684
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
6685
 
      else
6686
 
        archive_expsym_cmds="$tmp_archive_cmds"
6687
 
      fi
6688
 
      link_all_deplibs=no
6689
 
    else
6690
 
      ld_shlibs=no
6691
 
    fi
6692
 
    ;;
6693
 
 
6694
7314
    *)
6695
7315
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
6696
7316
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
6701
7321
      ;;
6702
7322
    esac
6703
7323
 
6704
 
    if test "$ld_shlibs" = yes; then
6705
 
      runpath_var=LD_RUN_PATH
6706
 
      hardcode_libdir_flag_spec='${wl}--rpath ${wl}$libdir'
6707
 
      export_dynamic_flag_spec='${wl}--export-dynamic'
6708
 
      # ancient GNU ld didn't support --whole-archive et. al.
6709
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
6710
 
        whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
6711
 
      else
6712
 
        whole_archive_flag_spec=
6713
 
      fi
 
7324
    if test "$ld_shlibs" = no; then
 
7325
      runpath_var=
 
7326
      hardcode_libdir_flag_spec=
 
7327
      export_dynamic_flag_spec=
 
7328
      whole_archive_flag_spec=
6714
7329
    fi
6715
7330
  else
6716
7331
    # PORTME fill in a description of your system's linker (not GNU ld)
6774
7389
      link_all_deplibs=yes
6775
7390
 
6776
7391
      if test "$GCC" = yes; then
6777
 
        case $host_os in aix4.012|aix4.012.*)
 
7392
        case $host_os in aix4.[012]|aix4.[012].*)
6778
7393
        # We only want to do this on AIX 4.2 and lower, the check
6779
7394
        # below for broken collect2 doesn't work under 4.3+
6780
7395
          collect2name=`${CC} -print-prog-name=collect2`
6795
7410
          fi
6796
7411
        esac
6797
7412
        shared_flag='-shared'
 
7413
        if test "$aix_use_runtimelinking" = yes; then
 
7414
          shared_flag="$shared_flag "'${wl}-G'
 
7415
        fi
6798
7416
      else
6799
7417
        # not using gcc
6800
7418
        if test "$host_cpu" = ia64; then
6842
7460
  cat conftest.err >&5
6843
7461
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6844
7462
  (exit $ac_status); } &&
6845
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7463
         { ac_try='test -z "$ac_c_werror_flag"
 
7464
                         || test ! -s conftest.err'
6846
7465
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6847
7466
  (eval $ac_try) 2>&5
6848
7467
  ac_status=$?
6902
7521
  cat conftest.err >&5
6903
7522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6904
7523
  (exit $ac_status); } &&
6905
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
7524
         { ac_try='test -z "$ac_c_werror_flag"
 
7525
                         || test ! -s conftest.err'
6906
7526
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6907
7527
  (eval $ac_try) 2>&5
6908
7528
  ac_status=$?
6939
7559
          # Exported symbols can be pulled into shared objects from archives
6940
7560
          whole_archive_flag_spec=' '
6941
7561
          archive_cmds_need_lc=yes
6942
 
          # This is similar to how AIX traditionally builds it's shared libraries.
 
7562
          # This is similar to how AIX traditionally builds its shared libraries.
6943
7563
          archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
6944
7564
        fi
6945
7565
      fi
6953
7573
      ld_shlibs=no
6954
7574
      ;;
6955
7575
 
6956
 
    bsdi4*)
 
7576
    bsdi[45]*)
6957
7577
      export_dynamic_flag_spec=-rdynamic
6958
7578
      ;;
6959
7579
 
6979
7599
      ;;
6980
7600
 
6981
7601
    darwin* | rhapsody*)
6982
 
    if test "$GXX" = yes ; then
 
7602
      case $host_os in
 
7603
        rhapsody* | darwin1.[012])
 
7604
         allow_undefined_flag='${wl}-undefined ${wl}suppress'
 
7605
         ;;
 
7606
       *) # Darwin 1.3 on
 
7607
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
7608
           allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
7609
         else
 
7610
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
7611
             10.[012])
 
7612
               allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
7613
               ;;
 
7614
             10.*)
 
7615
               allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
 
7616
               ;;
 
7617
           esac
 
7618
         fi
 
7619
         ;;
 
7620
      esac
6983
7621
      archive_cmds_need_lc=no
6984
 
      case "$host_os" in
6985
 
      rhapsody* | darwin1.[012])
6986
 
        allow_undefined_flag='-undefined suppress'
6987
 
        ;;
6988
 
      *) # Darwin 1.3 on
6989
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
6990
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
6991
 
      else
6992
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
6993
 
          10.[012])
6994
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
6995
 
            ;;
6996
 
          10.*)
6997
 
            allow_undefined_flag='-undefined dynamic_lookup'
6998
 
            ;;
6999
 
        esac
7000
 
      fi
7001
 
        ;;
7002
 
      esac
7003
 
        lt_int_apple_cc_single_mod=no
7004
 
        output_verbose_link_cmd='echo'
7005
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
7006
 
          lt_int_apple_cc_single_mod=yes
7007
 
        fi
7008
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7009
 
          archive_cmds='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7010
 
        else
7011
 
        archive_cmds='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
7012
 
      fi
7013
 
      module_cmds='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
7014
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
7015
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
7016
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7017
 
        else
7018
 
          archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7019
 
        fi
7020
 
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7021
7622
      hardcode_direct=no
7022
7623
      hardcode_automatic=yes
7023
7624
      hardcode_shlibpath_var=unsupported
7024
 
      whole_archive_flag_spec='-all_load $convenience'
 
7625
      whole_archive_flag_spec=''
7025
7626
      link_all_deplibs=yes
 
7627
    if test "$GCC" = yes ; then
 
7628
        output_verbose_link_cmd='echo'
 
7629
        archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
7630
      module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
7631
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
7632
      archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7633
      module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
7026
7634
    else
7027
 
      ld_shlibs=no
 
7635
      case $cc_basename in
 
7636
        xlc*)
 
7637
         output_verbose_link_cmd='echo'
 
7638
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
7639
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
7640
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
7641
         archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7642
          module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
7643
          ;;
 
7644
       *)
 
7645
         ld_shlibs=no
 
7646
          ;;
 
7647
      esac
7028
7648
    fi
7029
7649
      ;;
7030
7650
 
7058
7678
      ;;
7059
7679
 
7060
7680
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
7061
 
    freebsd* | kfreebsd*-gnu)
 
7681
    freebsd* | kfreebsd*-gnu | dragonfly*)
7062
7682
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
7063
7683
      hardcode_libdir_flag_spec='-R$libdir'
7064
7684
      hardcode_direct=yes
7083
7703
 
7084
7704
    hpux10* | hpux11*)
7085
7705
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
7086
 
        case "$host_cpu" in
 
7706
        case $host_cpu in
7087
7707
        hppa*64*|ia64*)
7088
7708
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7089
7709
          ;;
7092
7712
          ;;
7093
7713
        esac
7094
7714
      else
7095
 
        case "$host_cpu" in
 
7715
        case $host_cpu in
7096
7716
        hppa*64*|ia64*)
7097
7717
          archive_cmds='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
7098
7718
          ;;
7102
7722
        esac
7103
7723
      fi
7104
7724
      if test "$with_gnu_ld" = no; then
7105
 
        case "$host_cpu" in
 
7725
        case $host_cpu in
7106
7726
        hppa*64*)
7107
7727
          hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
7108
7728
          hardcode_libdir_flag_spec_ld='+b $libdir'
7145
7765
      link_all_deplibs=yes
7146
7766
      ;;
7147
7767
 
7148
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
7768
    netbsd*)
7149
7769
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
7150
7770
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
7151
7771
      else
7169
7789
      hardcode_shlibpath_var=no
7170
7790
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
7171
7791
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
7792
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
7172
7793
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
7173
7794
        export_dynamic_flag_spec='${wl}-E'
7174
7795
      else
7214
7835
        allow_undefined_flag=' -expect_unresolved \*'
7215
7836
        archive_cmds='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
7216
7837
        archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
7217
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
7838
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
7218
7839
 
7219
7840
        # Both c and cxx compiler support -rpath directly
7220
7841
        hardcode_libdir_flag_spec='-rpath $libdir'
7233
7854
    solaris*)
7234
7855
      no_undefined_flag=' -z text'
7235
7856
      if test "$GCC" = yes; then
 
7857
        wlarc='${wl}'
7236
7858
        archive_cmds='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
7237
7859
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7238
7860
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
7239
7861
      else
 
7862
        wlarc=''
7240
7863
        archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
7241
7864
        archive_expsym_cmds='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
7242
7865
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
7245
7868
      hardcode_shlibpath_var=no
7246
7869
      case $host_os in
7247
7870
      solaris2.[0-5] | solaris2.[0-5].*) ;;
7248
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
7249
 
        whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
7871
      *)
 
7872
        # The compiler driver will combine linker options so we
 
7873
        # cannot just pass the convience library names through
 
7874
        # without $wl, iff we do not link with $LD.
 
7875
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
7876
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
7877
        case $wlarc in
 
7878
        '')
 
7879
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
 
7880
        *)
 
7881
          whole_archive_flag_spec='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
7882
        esac ;;
7250
7883
      esac
7251
7884
      link_all_deplibs=yes
7252
7885
      ;;
7520
8153
  shlibpath_var=LIBRARY_PATH
7521
8154
  ;;
7522
8155
 
7523
 
bsdi4*)
 
8156
bsdi[45]*)
7524
8157
  version_type=linux
7525
8158
  need_version=no
7526
8159
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
7548
8181
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
7549
8182
      dldir=$destdir/`dirname \$dlpath`~
7550
8183
      test -d \$dldir || mkdir -p \$dldir~
7551
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
8184
      $install_prog $dir/$dlname \$dldir/$dlname~
 
8185
      chmod a+x \$dldir/$dlname'
7552
8186
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
7553
8187
      dlpath=$dir/\$dldll~
7554
8188
       $rm \$dlpath'
7578
8212
      ;;
7579
8213
    pw32*)
7580
8214
      # pw32 DLLs use 'pw' prefix rather than 'lib'
7581
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
8215
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
7582
8216
      ;;
7583
8217
    esac
7584
8218
    ;;
7601
8235
  soname_spec='${libname}${release}${major}$shared_ext'
7602
8236
  shlibpath_overrides_runpath=yes
7603
8237
  shlibpath_var=DYLD_LIBRARY_PATH
7604
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
8238
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
7605
8239
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
7606
8240
  if test "$GCC" = yes; then
7607
8241
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
7636
8270
  dynamic_linker='GNU ld.so'
7637
8271
  ;;
7638
8272
 
7639
 
freebsd*)
7640
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
8273
freebsd* | dragonfly*)
 
8274
  # DragonFly does not have aout.  When/if they implement a new
 
8275
  # versioning mechanism, adjust this.
 
8276
  if test -x /usr/bin/objformat; then
 
8277
    objformat=`/usr/bin/objformat`
 
8278
  else
 
8279
    case $host_os in
 
8280
    freebsd[123]*) objformat=aout ;;
 
8281
    *) objformat=elf ;;
 
8282
    esac
 
8283
  fi
7641
8284
  version_type=freebsd-$objformat
7642
8285
  case $version_type in
7643
8286
    freebsd-elf*)
7655
8298
  freebsd2*)
7656
8299
    shlibpath_overrides_runpath=yes
7657
8300
    ;;
7658
 
  freebsd3.01* | freebsdelf3.01*)
 
8301
  freebsd3.[01]* | freebsdelf3.[01]*)
7659
8302
    shlibpath_overrides_runpath=yes
7660
8303
    hardcode_into_libs=yes
7661
8304
    ;;
7682
8325
  version_type=sunos
7683
8326
  need_lib_prefix=no
7684
8327
  need_version=no
7685
 
  case "$host_cpu" in
 
8328
  case $host_cpu in
7686
8329
  ia64*)
7687
8330
    shrext_cmds='.so'
7688
8331
    hardcode_into_libs=yes
7779
8422
  # before this can be enabled.
7780
8423
  hardcode_into_libs=yes
7781
8424
 
 
8425
  # find out which ABI we are using
 
8426
  libsuff=
 
8427
  case "$host_cpu" in
 
8428
  x86_64*|s390x*|powerpc64*)
 
8429
    echo '#line 8429 "configure"' > conftest.$ac_ext
 
8430
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
8431
  (eval $ac_compile) 2>&5
 
8432
  ac_status=$?
 
8433
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
8434
  (exit $ac_status); }; then
 
8435
      case `/usr/bin/file conftest.$ac_objext` in
 
8436
      *64-bit*)
 
8437
        libsuff=64
 
8438
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
8439
        ;;
 
8440
      esac
 
8441
    fi
 
8442
    rm -rf conftest*
 
8443
    ;;
 
8444
  esac
 
8445
 
7782
8446
  # Append ld.so.conf contents to the search path
7783
8447
  if test -f /etc/ld.so.conf; then
7784
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
7785
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
8448
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
8449
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
7786
8450
  fi
7787
8451
 
7788
8452
  # We used to test for /lib/ld.so.1 and disable shared libraries on
7794
8458
  dynamic_linker='GNU/Linux ld.so'
7795
8459
  ;;
7796
8460
 
7797
 
netbsdelf*-gnu)
7798
 
  version_type=linux
7799
 
  need_lib_prefix=no
7800
 
  need_version=no
7801
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
7802
 
  soname_spec='${libname}${release}${shared_ext}$major'
7803
 
  shlibpath_var=LD_LIBRARY_PATH
7804
 
  shlibpath_overrides_runpath=no
7805
 
  hardcode_into_libs=yes
7806
 
  dynamic_linker='NetBSD ld.elf_so'
7807
 
  ;;
7808
 
 
7809
8461
knetbsd*-gnu)
7810
8462
  version_type=linux
7811
8463
  need_lib_prefix=no
7856
8508
openbsd*)
7857
8509
  version_type=sunos
7858
8510
  need_lib_prefix=no
7859
 
  need_version=yes
 
8511
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
8512
  case $host_os in
 
8513
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
8514
    *)                         need_version=no  ;;
 
8515
  esac
7860
8516
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
7861
8517
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
7862
8518
  shlibpath_var=LD_LIBRARY_PATH
7978
8634
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
7979
8635
hardcode_action=
7980
8636
if test -n "$hardcode_libdir_flag_spec" || \
7981
 
   test -n "$runpath_var " || \
7982
 
   test "X$hardcode_automatic"="Xyes" ; then
 
8637
   test -n "$runpath_var" || \
 
8638
   test "X$hardcode_automatic" = "Xyes" ; then
7983
8639
 
7984
8640
  # We can hardcode non-existant directories.
7985
8641
  if test "$hardcode_direct" != no &&
8105
8761
  cat conftest.err >&5
8106
8762
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8107
8763
  (exit $ac_status); } &&
8108
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8764
         { ac_try='test -z "$ac_c_werror_flag"
 
8765
                         || test ! -s conftest.err'
8109
8766
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8110
8767
  (eval $ac_try) 2>&5
8111
8768
  ac_status=$?
8208
8865
  cat conftest.err >&5
8209
8866
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8210
8867
  (exit $ac_status); } &&
8211
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8868
         { ac_try='test -z "$ac_c_werror_flag"
 
8869
                         || test ! -s conftest.err'
8212
8870
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8213
8871
  (eval $ac_try) 2>&5
8214
8872
  ac_status=$?
8273
8931
  cat conftest.err >&5
8274
8932
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8275
8933
  (exit $ac_status); } &&
8276
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
8934
         { ac_try='test -z "$ac_c_werror_flag"
 
8935
                         || test ! -s conftest.err'
8277
8936
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8278
8937
  (eval $ac_try) 2>&5
8279
8938
  ac_status=$?
8366
9025
  cat conftest.err >&5
8367
9026
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8368
9027
  (exit $ac_status); } &&
8369
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9028
         { ac_try='test -z "$ac_c_werror_flag"
 
9029
                         || test ! -s conftest.err'
8370
9030
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8371
9031
  (eval $ac_try) 2>&5
8372
9032
  ac_status=$?
8431
9091
  cat conftest.err >&5
8432
9092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8433
9093
  (exit $ac_status); } &&
8434
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9094
         { ac_try='test -z "$ac_c_werror_flag"
 
9095
                         || test ! -s conftest.err'
8435
9096
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8436
9097
  (eval $ac_try) 2>&5
8437
9098
  ac_status=$?
8497
9158
  cat conftest.err >&5
8498
9159
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8499
9160
  (exit $ac_status); } &&
8500
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9161
         { ac_try='test -z "$ac_c_werror_flag"
 
9162
                         || test ! -s conftest.err'
8501
9163
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8502
9164
  (eval $ac_try) 2>&5
8503
9165
  ac_status=$?
8563
9225
  cat conftest.err >&5
8564
9226
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8565
9227
  (exit $ac_status); } &&
8566
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
9228
         { ac_try='test -z "$ac_c_werror_flag"
 
9229
                         || test ! -s conftest.err'
8567
9230
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
8568
9231
  (eval $ac_try) 2>&5
8569
9232
  ac_status=$?
8638
9301
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8639
9302
  lt_status=$lt_dlunknown
8640
9303
  cat > conftest.$ac_ext <<EOF
8641
 
#line 8641 "configure"
 
9304
#line 9304 "configure"
8642
9305
#include "confdefs.h"
8643
9306
 
8644
9307
#if HAVE_DLFCN_H
8704
9367
  ac_status=$?
8705
9368
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8706
9369
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8707
 
    (./conftest; exit; ) 2>/dev/null
 
9370
    (./conftest; exit; ) >&5 2>/dev/null
8708
9371
    lt_status=$?
8709
9372
    case x$lt_status in
8710
9373
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
8736
9399
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
8737
9400
  lt_status=$lt_dlunknown
8738
9401
  cat > conftest.$ac_ext <<EOF
8739
 
#line 8739 "configure"
 
9402
#line 9402 "configure"
8740
9403
#include "confdefs.h"
8741
9404
 
8742
9405
#if HAVE_DLFCN_H
8802
9465
  ac_status=$?
8803
9466
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8804
9467
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
8805
 
    (./conftest; exit; ) 2>/dev/null
 
9468
    (./conftest; exit; ) >&5 2>/dev/null
8806
9469
    lt_status=$?
8807
9470
    case x$lt_status in
8808
9471
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
8852
9515
 
8853
9516
# On AIX, shared libraries and static libraries use the same namespace, and
8854
9517
# are all built from PIC.
8855
 
case "$host_os" in
 
9518
case $host_os in
8856
9519
aix3*)
8857
9520
  test "$enable_shared" = yes && enable_static=no
8858
9521
  if test -n "$RANLIB"; then
8865
9528
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
8866
9529
    test "$enable_shared" = yes && enable_static=no
8867
9530
  fi
8868
 
  ;;
8869
 
  darwin* | rhapsody*)
8870
 
  if test "$GCC" = yes; then
8871
 
    archive_cmds_need_lc=no
8872
 
    case "$host_os" in
8873
 
    rhapsody* | darwin1.[012])
8874
 
      allow_undefined_flag='-undefined suppress'
8875
 
      ;;
8876
 
    *) # Darwin 1.3 on
8877
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
8878
 
        allow_undefined_flag='-flat_namespace -undefined suppress'
8879
 
      else
8880
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
8881
 
          10.[012])
8882
 
            allow_undefined_flag='-flat_namespace -undefined suppress'
8883
 
            ;;
8884
 
          10.*)
8885
 
            allow_undefined_flag='-undefined dynamic_lookup'
8886
 
            ;;
8887
 
        esac
8888
 
      fi
8889
 
      ;;
8890
 
    esac
8891
 
    output_verbose_link_cmd='echo'
8892
 
    archive_cmds='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring'
8893
 
    module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8894
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
8895
 
    archive_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag  -o $lib $libobjs $deplibs$compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8896
 
    module_expsym_cmds='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8897
 
    hardcode_direct=no
8898
 
    hardcode_automatic=yes
8899
 
    hardcode_shlibpath_var=unsupported
8900
 
    whole_archive_flag_spec='-all_load $convenience'
8901
 
    link_all_deplibs=yes
8902
 
  else
8903
 
    ld_shlibs=no
8904
 
  fi
8905
9531
    ;;
8906
9532
esac
8907
9533
echo "$as_me:$LINENO: result: $enable_shared" >&5
9031
9657
#
9032
9658
# You should have received a copy of the GNU General Public License
9033
9659
# along with this program; if not, write to the Free Software
9034
 
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
 
9660
# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
9035
9661
#
9036
9662
# As a special exception to the GNU General Public License, if you
9037
9663
# distribute this file as part of a program that contains a
9042
9668
SED=$lt_SED
9043
9669
 
9044
9670
# Sed that helps us avoid accidentally triggering echo(1) options like -n.
9045
 
Xsed="$SED -e s/^X//"
 
9671
Xsed="$SED -e 1s/^X//"
9046
9672
 
9047
9673
# The HP-UX ksh and POSIX shell print the target directory to stdout
9048
9674
# if CDPATH is set.
9049
 
if test "X\${CDPATH+set}" = Xset; then CDPATH=:; export CDPATH; fi
 
9675
(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
9050
9676
 
9051
9677
# The names of the tagged configurations supported by this script.
9052
9678
available_tags=
9076
9702
# The host system.
9077
9703
host_alias=$host_alias
9078
9704
host=$host
 
9705
host_os=$host_os
 
9706
 
 
9707
# The build system.
 
9708
build_alias=$build_alias
 
9709
build=$build
 
9710
build_os=$build_os
9079
9711
 
9080
9712
# An echo program that does not interpret backslashes.
9081
9713
echo=$lt_echo
9152
9784
# Does compiler simultaneously support -c and -o options?
9153
9785
compiler_c_o=$lt_lt_cv_prog_compiler_c_o
9154
9786
 
9155
 
# Must we lock files when doing compilation ?
 
9787
# Must we lock files when doing compilation?
9156
9788
need_locks=$lt_need_locks
9157
9789
 
9158
9790
# Do we need the lib prefix for modules?
9447
10079
 
9448
10080
      case $tagname in
9449
10081
      CXX)
9450
 
        if test -n "$CXX" && test "X$CXX" != "Xno"; then
 
10082
        if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
 
10083
            ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
 
10084
            (test "X$CXX" != "Xg++"))) ; then
9451
10085
          ac_ext=cc
9452
10086
ac_cpp='$CXXCPP $CPPFLAGS'
9453
10087
ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9484
10118
compiler_lib_search_path_CXX=
9485
10119
 
9486
10120
# Source file extension for C++ test sources.
9487
 
ac_ext=cc
 
10121
ac_ext=cpp
9488
10122
 
9489
10123
# Object file extension for compiled C++ test sources.
9490
10124
objext=o
9505
10139
compiler=$CC
9506
10140
 
9507
10141
 
 
10142
# save warnings/boilerplate of simple test code
 
10143
ac_outfile=conftest.$ac_objext
 
10144
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10145
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
10146
_lt_compiler_boilerplate=`cat conftest.err`
 
10147
$rm conftest*
 
10148
 
 
10149
ac_outfile=conftest.$ac_objext
 
10150
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
10151
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
10152
_lt_linker_boilerplate=`cat conftest.err`
 
10153
$rm conftest*
 
10154
 
 
10155
 
9508
10156
# Allow CC to be a program name with arguments.
9509
10157
lt_save_CC=$CC
9510
10158
lt_save_LD=$LD
9526
10174
CC=${CXX-"c++"}
9527
10175
compiler=$CC
9528
10176
compiler_CXX=$CC
9529
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
10177
for cc_temp in $compiler""; do
 
10178
  case $cc_temp in
 
10179
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
10180
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
10181
    \-*) ;;
 
10182
    *) break;;
 
10183
  esac
 
10184
done
 
10185
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
10186
 
9530
10187
 
9531
10188
# We don't want -fno-exception wen compiling C++ code, so set the
9532
10189
# no_builtin_flag separately
9597
10254
    if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
9598
10255
      lt_cv_path_LD="$ac_dir/$ac_prog"
9599
10256
      # Check to see if the program is GNU ld.  I'd rather use --version,
9600
 
      # but apparently some GNU ld's only accept -v.
 
10257
      # but apparently some variants of GNU ld only accept -v.
9601
10258
      # Break only if it was the GNU/non-GNU ld that we prefer.
9602
10259
      case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
9603
10260
      *GNU* | *'with BFD'*)
9631
10288
if test "${lt_cv_prog_gnu_ld+set}" = set; then
9632
10289
  echo $ECHO_N "(cached) $ECHO_C" >&6
9633
10290
else
9634
 
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
 
10291
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
9635
10292
case `$LD -v 2>&1 </dev/null` in
9636
10293
*GNU* | *'with BFD'*)
9637
10294
  lt_cv_prog_gnu_ld=yes
9740
10397
    link_all_deplibs_CXX=yes
9741
10398
 
9742
10399
    if test "$GXX" = yes; then
9743
 
      case $host_os in aix4.012|aix4.012.*)
 
10400
      case $host_os in aix4.[012]|aix4.[012].*)
9744
10401
      # We only want to do this on AIX 4.2 and lower, the check
9745
10402
      # below for broken collect2 doesn't work under 4.3+
9746
10403
        collect2name=`${CC} -print-prog-name=collect2`
9761
10418
        fi
9762
10419
      esac
9763
10420
      shared_flag='-shared'
 
10421
      if test "$aix_use_runtimelinking" = yes; then
 
10422
        shared_flag="$shared_flag "'${wl}-G'
 
10423
      fi
9764
10424
    else
9765
10425
      # not using gcc
9766
10426
      if test "$host_cpu" = ia64; then
9808
10468
  cat conftest.err >&5
9809
10469
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9810
10470
  (exit $ac_status); } &&
9811
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
10471
         { ac_try='test -z "$ac_cxx_werror_flag"
 
10472
                         || test ! -s conftest.err'
9812
10473
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9813
10474
  (eval $ac_try) 2>&5
9814
10475
  ac_status=$?
9869
10530
  cat conftest.err >&5
9870
10531
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9871
10532
  (exit $ac_status); } &&
9872
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
10533
         { ac_try='test -z "$ac_cxx_werror_flag"
 
10534
                         || test ! -s conftest.err'
9873
10535
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
9874
10536
  (eval $ac_try) 2>&5
9875
10537
  ac_status=$?
9906
10568
        # Exported symbols can be pulled into shared objects from archives
9907
10569
        whole_archive_flag_spec_CXX=' '
9908
10570
        archive_cmds_need_lc_CXX=yes
9909
 
        # This is similar to how AIX traditionally builds it's shared libraries.
 
10571
        # This is similar to how AIX traditionally builds its shared libraries.
9910
10572
        archive_expsym_cmds_CXX="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
9911
10573
      fi
9912
10574
    fi
9920
10582
    esac
9921
10583
    ;;
9922
10584
 
 
10585
 
9923
10586
  cygwin* | mingw* | pw32*)
9924
10587
    # _LT_AC_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
9925
10588
    # as there is no search path for DLLs.
9943
10606
      ld_shlibs_CXX=no
9944
10607
    fi
9945
10608
  ;;
9946
 
 
9947
 
  darwin* | rhapsody*)
9948
 
  if test "$GXX" = yes; then
9949
 
    archive_cmds_need_lc_CXX=no
9950
 
    case "$host_os" in
9951
 
    rhapsody* | darwin1.[012])
9952
 
      allow_undefined_flag_CXX='-undefined suppress'
9953
 
      ;;
9954
 
    *) # Darwin 1.3 on
9955
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
9956
 
        allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9957
 
      else
9958
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
9959
 
          10.[012])
9960
 
            allow_undefined_flag_CXX='-flat_namespace -undefined suppress'
9961
 
            ;;
9962
 
          10.*)
9963
 
            allow_undefined_flag_CXX='-undefined dynamic_lookup'
9964
 
            ;;
 
10609
      darwin* | rhapsody*)
 
10610
        case $host_os in
 
10611
        rhapsody* | darwin1.[012])
 
10612
         allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
 
10613
         ;;
 
10614
       *) # Darwin 1.3 on
 
10615
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
10616
           allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
10617
         else
 
10618
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
10619
             10.[012])
 
10620
               allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
10621
               ;;
 
10622
             10.*)
 
10623
               allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
 
10624
               ;;
 
10625
           esac
 
10626
         fi
 
10627
         ;;
9965
10628
        esac
9966
 
      fi
9967
 
      ;;
9968
 
    esac
9969
 
    lt_int_apple_cc_single_mod=no
9970
 
    output_verbose_link_cmd='echo'
9971
 
    if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
9972
 
      lt_int_apple_cc_single_mod=yes
9973
 
    fi
9974
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9975
 
      archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9976
 
    else
9977
 
      archive_cmds_CXX='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
9978
 
    fi
9979
 
    module_cmds_CXX='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
10629
      archive_cmds_need_lc_CXX=no
 
10630
      hardcode_direct_CXX=no
 
10631
      hardcode_automatic_CXX=yes
 
10632
      hardcode_shlibpath_var_CXX=unsupported
 
10633
      whole_archive_flag_spec_CXX=''
 
10634
      link_all_deplibs_CXX=yes
9980
10635
 
9981
 
    # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
9982
 
    if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
9983
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9984
 
    else
9985
 
      archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9986
 
    fi
9987
 
    module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
9988
 
    hardcode_direct_CXX=no
9989
 
    hardcode_automatic_CXX=yes
9990
 
    hardcode_shlibpath_var_CXX=unsupported
9991
 
    whole_archive_flag_spec_CXX='-all_load $convenience'
9992
 
    link_all_deplibs_CXX=yes
9993
 
  else
9994
 
    ld_shlibs_CXX=no
9995
 
  fi
9996
 
    ;;
 
10636
    if test "$GXX" = yes ; then
 
10637
      lt_int_apple_cc_single_mod=no
 
10638
      output_verbose_link_cmd='echo'
 
10639
      if $CC -dumpspecs 2>&1 | $EGREP 'single_module' >/dev/null ; then
 
10640
       lt_int_apple_cc_single_mod=yes
 
10641
      fi
 
10642
      if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
10643
       archive_cmds_CXX='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
10644
      else
 
10645
          archive_cmds_CXX='$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
10646
        fi
 
10647
        module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
10648
        # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
10649
          if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
 
10650
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10651
          else
 
10652
            archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10653
          fi
 
10654
            module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10655
      else
 
10656
      case $cc_basename in
 
10657
        xlc*)
 
10658
         output_verbose_link_cmd='echo'
 
10659
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
10660
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
10661
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
10662
          archive_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10663
          module_expsym_cmds_CXX='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
10664
          ;;
 
10665
       *)
 
10666
         ld_shlibs_CXX=no
 
10667
          ;;
 
10668
      esac
 
10669
      fi
 
10670
        ;;
9997
10671
 
9998
10672
  dgux*)
9999
10673
    case $cc_basename in
10000
 
      ec++)
 
10674
      ec++*)
10001
10675
        # FIXME: insert proper C++ library support
10002
10676
        ld_shlibs_CXX=no
10003
10677
        ;;
10004
 
      ghcx)
 
10678
      ghcx*)
10005
10679
        # Green Hills C++ Compiler
10006
10680
        # FIXME: insert proper C++ library support
10007
10681
        ld_shlibs_CXX=no
10012
10686
        ;;
10013
10687
    esac
10014
10688
    ;;
10015
 
  freebsd12*)
 
10689
  freebsd[12]*)
10016
10690
    # C++ shared libraries reported to be fairly broken before switch to ELF
10017
10691
    ld_shlibs_CXX=no
10018
10692
    ;;
10019
10693
  freebsd-elf*)
10020
10694
    archive_cmds_need_lc_CXX=no
10021
10695
    ;;
10022
 
  freebsd* | kfreebsd*-gnu)
 
10696
  freebsd* | kfreebsd*-gnu | dragonfly*)
10023
10697
    # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
10024
10698
    # conventions
10025
10699
    ld_shlibs_CXX=yes
10036
10710
                                # location of the library.
10037
10711
 
10038
10712
    case $cc_basename in
10039
 
    CC)
 
10713
    CC*)
10040
10714
      # FIXME: insert proper C++ library support
10041
10715
      ld_shlibs_CXX=no
10042
10716
      ;;
10043
 
    aCC)
 
10717
    aCC*)
10044
10718
      archive_cmds_CXX='$rm $output_objdir/$soname~$CC -b ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
10045
10719
      # Commands to make compiler produce verbose output that lists
10046
10720
      # what "hidden" libraries, object files and flags are used when
10050
10724
      # explicitly linking system object files so we need to strip them
10051
10725
      # from the output so that they don't get included in the library
10052
10726
      # dependencies.
10053
 
      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 $list'
 
10727
      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 $list'
10054
10728
      ;;
10055
10729
    *)
10056
10730
      if test "$GXX" = yes; then
10064
10738
    ;;
10065
10739
  hpux10*|hpux11*)
10066
10740
    if test $with_gnu_ld = no; then
10067
 
      case "$host_cpu" in
 
10741
      case $host_cpu in
10068
10742
      hppa*64*)
10069
10743
        hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
10070
10744
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
10080
10754
        ;;
10081
10755
      esac
10082
10756
    fi
10083
 
    case "$host_cpu" in
 
10757
    case $host_cpu in
10084
10758
    hppa*64*)
10085
10759
      hardcode_direct_CXX=no
10086
10760
      hardcode_shlibpath_var_CXX=no
10101
10775
    esac
10102
10776
 
10103
10777
    case $cc_basename in
10104
 
      CC)
 
10778
      CC*)
10105
10779
        # FIXME: insert proper C++ library support
10106
10780
        ld_shlibs_CXX=no
10107
10781
        ;;
10108
 
      aCC)
10109
 
        case "$host_cpu" in
 
10782
      aCC*)
 
10783
        case $host_cpu in
10110
10784
        hppa*64*|ia64*)
10111
10785
          archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10112
10786
          ;;
10127
10801
      *)
10128
10802
        if test "$GXX" = yes; then
10129
10803
          if test $with_gnu_ld = no; then
10130
 
            case "$host_cpu" in
 
10804
            case $host_cpu in
10131
10805
            ia64*|hppa*64*)
10132
10806
              archive_cmds_CXX='$LD -b +h $soname -o $lib $linker_flags $libobjs $deplibs'
10133
10807
              ;;
10145
10819
    ;;
10146
10820
  irix5* | irix6*)
10147
10821
    case $cc_basename in
10148
 
      CC)
 
10822
      CC*)
10149
10823
        # SGI C++
10150
 
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
10824
        archive_cmds_CXX='$CC -shared -all -multigot $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10151
10825
 
10152
10826
        # Archives containing C++ object files must be created using
10153
10827
        # "CC -ar", where "CC" is the IRIX C++ compiler.  This is
10158
10832
      *)
10159
10833
        if test "$GXX" = yes; then
10160
10834
          if test "$with_gnu_ld" = no; then
10161
 
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
10835
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10162
10836
          else
10163
10837
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` -o $lib'
10164
10838
          fi
10171
10845
    ;;
10172
10846
  linux*)
10173
10847
    case $cc_basename in
10174
 
      KCC)
 
10848
      KCC*)
10175
10849
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10176
10850
 
10177
10851
        # KCC will only create a shared library if the output file
10196
10870
        # "CC -Bstatic", where "CC" is the KAI C++ compiler.
10197
10871
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10198
10872
        ;;
10199
 
      icpc)
 
10873
      icpc*)
10200
10874
        # Intel C++
10201
10875
        with_gnu_ld=yes
 
10876
        # version 8.0 and above of icpc choke on multiply defined symbols
 
10877
        # if we add $predep_objects and $postdep_objects, however 7.1 and
 
10878
        # earlier do not add the objects themselves.
 
10879
        case `$CC -V 2>&1` in
 
10880
        *"Version 7."*)
 
10881
          archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10882
          archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10883
          ;;
 
10884
        *)  # Version 8.0 or newer
 
10885
          tmp_idyn=
 
10886
          case $host_cpu in
 
10887
            ia64*) tmp_idyn=' -i_dynamic';;
 
10888
          esac
 
10889
          archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
10890
          archive_expsym_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
10891
          ;;
 
10892
        esac
10202
10893
        archive_cmds_need_lc_CXX=no
10203
 
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10204
 
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10205
10894
        hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
10206
10895
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
10207
10896
        whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10208
10897
        ;;
10209
 
      cxx)
 
10898
      pgCC*)
 
10899
        # Portland Group C++ compiler
 
10900
        archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
 
10901
        archive_expsym_cmds_CXX='$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'
 
10902
 
 
10903
        hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
 
10904
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
 
10905
        whole_archive_flag_spec_CXX='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
10906
        ;;
 
10907
      cxx*)
10210
10908
        # Compaq C++
10211
10909
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
10212
10910
        archive_expsym_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname  -o $lib ${wl}-retain-symbols-file $wl$export_symbols'
10237
10935
    ;;
10238
10936
  mvs*)
10239
10937
    case $cc_basename in
10240
 
      cxx)
 
10938
      cxx*)
10241
10939
        # FIXME: insert proper C++ library support
10242
10940
        ld_shlibs_CXX=no
10243
10941
        ;;
10247
10945
        ;;
10248
10946
    esac
10249
10947
    ;;
10250
 
  netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
10948
  netbsd*)
10251
10949
    if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
10252
10950
      archive_cmds_CXX='$LD -Bshareable  -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
10253
10951
      wlarc=
10258
10956
    # Workaround some broken pre-1.5 toolchains
10259
10957
    output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
10260
10958
    ;;
 
10959
  openbsd2*)
 
10960
    # C++ shared libraries are fairly broken
 
10961
    ld_shlibs_CXX=no
 
10962
    ;;
 
10963
  openbsd*)
 
10964
    hardcode_direct_CXX=yes
 
10965
    hardcode_shlibpath_var_CXX=no
 
10966
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
10967
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
10968
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
10969
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
10970
      export_dynamic_flag_spec_CXX='${wl}-E'
 
10971
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
10972
    fi
 
10973
    output_verbose_link_cmd='echo'
 
10974
    ;;
10261
10975
  osf3*)
10262
10976
    case $cc_basename in
10263
 
      KCC)
 
10977
      KCC*)
10264
10978
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10265
10979
 
10266
10980
        # KCC will only create a shared library if the output file
10276
10990
        old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
10277
10991
 
10278
10992
        ;;
10279
 
      RCC)
 
10993
      RCC*)
10280
10994
        # Rational C++ 2.4.1
10281
10995
        # FIXME: insert proper C++ library support
10282
10996
        ld_shlibs_CXX=no
10283
10997
        ;;
10284
 
      cxx)
 
10998
      cxx*)
10285
10999
        allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10286
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
11000
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $soname `test -n "$verstring" && echo ${wl}-set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10287
11001
 
10288
11002
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10289
11003
        hardcode_libdir_separator_CXX=:
10301
11015
      *)
10302
11016
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10303
11017
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10304
 
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
11018
          archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && echo ${wl}-set_version ${wl}$verstring` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10305
11019
 
10306
11020
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10307
11021
          hardcode_libdir_separator_CXX=:
10320
11034
    ;;
10321
11035
  osf4* | osf5*)
10322
11036
    case $cc_basename in
10323
 
      KCC)
 
11037
      KCC*)
10324
11038
        # Kuck and Associates, Inc. (KAI) C++ Compiler
10325
11039
 
10326
11040
        # KCC will only create a shared library if the output file
10335
11049
        # the KAI C++ compiler.
10336
11050
        old_archive_cmds_CXX='$CC -o $oldlib $oldobjs'
10337
11051
        ;;
10338
 
      RCC)
 
11052
      RCC*)
10339
11053
        # Rational C++ 2.4.1
10340
11054
        # FIXME: insert proper C++ library support
10341
11055
        ld_shlibs_CXX=no
10342
11056
        ;;
10343
 
      cxx)
 
11057
      cxx*)
10344
11058
        allow_undefined_flag_CXX=' -expect_unresolved \*'
10345
 
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib'
 
11059
        archive_cmds_CXX='$CC -shared${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
10346
11060
        archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
10347
11061
          echo "-hidden">> $lib.exp~
10348
 
          $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 $objdir/so_locations -o $lib~
 
11062
          $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~
10349
11063
          $rm $lib.exp'
10350
11064
 
10351
11065
        hardcode_libdir_flag_spec_CXX='-rpath $libdir'
10364
11078
      *)
10365
11079
        if test "$GXX" = yes && test "$with_gnu_ld" = no; then
10366
11080
          allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
10367
 
         archive_cmds_CXX='$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` ${wl}-update_registry ${wl}${objdir}/so_locations -o $lib'
 
11081
         archive_cmds_CXX='$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` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
10368
11082
 
10369
11083
          hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
10370
11084
          hardcode_libdir_separator_CXX=:
10388
11102
  sco*)
10389
11103
    archive_cmds_need_lc_CXX=no
10390
11104
    case $cc_basename in
10391
 
      CC)
 
11105
      CC*)
10392
11106
        # FIXME: insert proper C++ library support
10393
11107
        ld_shlibs_CXX=no
10394
11108
        ;;
10400
11114
    ;;
10401
11115
  sunos4*)
10402
11116
    case $cc_basename in
10403
 
      CC)
 
11117
      CC*)
10404
11118
        # Sun C++ 4.x
10405
11119
        # FIXME: insert proper C++ library support
10406
11120
        ld_shlibs_CXX=no
10407
11121
        ;;
10408
 
      lcc)
 
11122
      lcc*)
10409
11123
        # Lucid
10410
11124
        # FIXME: insert proper C++ library support
10411
11125
        ld_shlibs_CXX=no
10418
11132
    ;;
10419
11133
  solaris*)
10420
11134
    case $cc_basename in
10421
 
      CC)
 
11135
      CC*)
10422
11136
        # Sun C++ 4.2, 5.x and Centerline C++
 
11137
        archive_cmds_need_lc_CXX=yes
10423
11138
        no_undefined_flag_CXX=' -zdefs'
10424
 
        archive_cmds_CXX='$CC -G${allow_undefined_flag} -nolib -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11139
        archive_cmds_CXX='$CC -G${allow_undefined_flag}  -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
10425
11140
        archive_expsym_cmds_CXX='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
10426
 
        $CC -G${allow_undefined_flag} -nolib ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
 
11141
        $CC -G${allow_undefined_flag}  ${wl}-M ${wl}$lib.exp -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$rm $lib.exp'
10427
11142
 
10428
11143
        hardcode_libdir_flag_spec_CXX='-R$libdir'
10429
11144
        hardcode_shlibpath_var_CXX=no
10430
11145
        case $host_os in
10431
 
          solaris2.0-5 | solaris2.0-5.*) ;;
 
11146
          solaris2.[0-5] | solaris2.[0-5].*) ;;
10432
11147
          *)
10433
11148
            # The C++ compiler is used as linker so we must use $wl
10434
11149
            # flag to pass the commands to the underlying system
10435
 
            # linker.
 
11150
            # linker. We must also pass each convience library through
 
11151
            # to the system linker between allextract/defaultextract.
 
11152
            # The C++ compiler will combine linker options so we
 
11153
            # cannot just pass the convience library names through
 
11154
            # without $wl.
10436
11155
            # Supported since Solaris 2.6 (maybe 2.5.1?)
10437
 
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
11156
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract'
10438
11157
            ;;
10439
11158
        esac
10440
11159
        link_all_deplibs_CXX=yes
10441
11160
 
10442
 
        # Commands to make compiler produce verbose output that lists
10443
 
        # what "hidden" libraries, object files and flags are used when
10444
 
        # linking a shared library.
10445
 
        #
10446
 
        # There doesn't appear to be a way to prevent this compiler from
10447
 
        # explicitly linking system object files so we need to strip them
10448
 
        # from the output so that they don't get included in the library
10449
 
        # dependencies.
10450
 
        output_verbose_link_cmd='templist=`$CC -G $CFLAGS -v conftest.$objext 2>&1 | grep "\-[LR]"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
 
11161
        output_verbose_link_cmd='echo'
10451
11162
 
10452
11163
        # Archives containing C++ object files must be created using
10453
11164
        # "CC -xar", where "CC" is the Sun C++ compiler.  This is
10455
11166
        # in the archive.
10456
11167
        old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
10457
11168
        ;;
10458
 
      gcx)
 
11169
      gcx*)
10459
11170
        # Green Hills C++ Compiler
10460
11171
        archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
10461
11172
 
10498
11209
    ;;
10499
11210
  tandem*)
10500
11211
    case $cc_basename in
10501
 
      NCC)
 
11212
      NCC*)
10502
11213
        # NonStop-UX NCC 3.20
10503
11214
        # FIXME: insert proper C++ library support
10504
11215
        ld_shlibs_CXX=no
10551
11262
  # The `*' in the case matches for architectures that use `case' in
10552
11263
  # $output_verbose_cmd can trigger glob expansion during the loop
10553
11264
  # eval without this substitution.
10554
 
  output_verbose_link_cmd="`$echo \"X$output_verbose_link_cmd\" | $Xsed -e \"$no_glob_subst\"`"
 
11265
  output_verbose_link_cmd=`$echo "X$output_verbose_link_cmd" | $Xsed -e "$no_glob_subst"`
10555
11266
 
10556
11267
  for p in `eval $output_verbose_link_cmd`; do
10557
11268
    case $p in
10627
11338
 
10628
11339
$rm -f confest.$objext
10629
11340
 
 
11341
# PORTME: override above test on systems where it is broken
 
11342
case $host_os in
 
11343
solaris*)
 
11344
  case $cc_basename in
 
11345
  CC*)
 
11346
    # Adding this requires a known-good setup of shared libraries for
 
11347
    # Sun compiler versions before 5.6, else PIC objects from an old
 
11348
    # archive will be linked into the output, leading to subtle bugs.
 
11349
    postdeps_CXX='-lCstd -lCrun'
 
11350
    ;;
 
11351
  esac
 
11352
esac
 
11353
 
 
11354
 
10630
11355
case " $postdeps_CXX " in
10631
11356
*" -lc "*) archive_cmds_need_lc_CXX=no ;;
10632
11357
esac
10682
11407
    hpux*)
10683
11408
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
10684
11409
      # not for PA HP-UX.
10685
 
      case "$host_cpu" in
 
11410
      case $host_cpu in
10686
11411
      hppa*64*|ia64*)
10687
11412
        ;;
10688
11413
      *)
10707
11432
        ;;
10708
11433
      chorus*)
10709
11434
        case $cc_basename in
10710
 
        cxch68)
 
11435
        cxch68*)
10711
11436
          # Green Hills C++ Compiler
10712
11437
          # _LT_AC_TAGVAR(lt_prog_compiler_static, CXX)="--no_auto_instantiation -u __main -u __premain -u _abort -r $COOL_DIR/lib/libOrb.a $MVME_DIR/lib/CC/libC.a $MVME_DIR/lib/classix/libcx.s.a"
10713
11438
          ;;
10714
11439
        esac
10715
11440
        ;;
 
11441
       darwin*)
 
11442
         # PIC is the default on this platform
 
11443
         # Common symbols not allowed in MH_DYLIB files
 
11444
         case $cc_basename in
 
11445
           xlc*)
 
11446
           lt_prog_compiler_pic_CXX='-qnocommon'
 
11447
           lt_prog_compiler_wl_CXX='-Wl,'
 
11448
           ;;
 
11449
         esac
 
11450
       ;;
10716
11451
      dgux*)
10717
11452
        case $cc_basename in
10718
 
          ec++)
 
11453
          ec++*)
10719
11454
            lt_prog_compiler_pic_CXX='-KPIC'
10720
11455
            ;;
10721
 
          ghcx)
 
11456
          ghcx*)
10722
11457
            # Green Hills C++ Compiler
10723
11458
            lt_prog_compiler_pic_CXX='-pic'
10724
11459
            ;;
10726
11461
            ;;
10727
11462
        esac
10728
11463
        ;;
10729
 
      freebsd* | kfreebsd*-gnu)
 
11464
      freebsd* | kfreebsd*-gnu | dragonfly*)
10730
11465
        # FreeBSD uses GNU C++
10731
11466
        ;;
10732
11467
      hpux9* | hpux10* | hpux11*)
10733
11468
        case $cc_basename in
10734
 
          CC)
 
11469
          CC*)
10735
11470
            lt_prog_compiler_wl_CXX='-Wl,'
10736
11471
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10737
11472
            if test "$host_cpu" != ia64; then
10738
11473
              lt_prog_compiler_pic_CXX='+Z'
10739
11474
            fi
10740
11475
            ;;
10741
 
          aCC)
 
11476
          aCC*)
10742
11477
            lt_prog_compiler_wl_CXX='-Wl,'
10743
11478
            lt_prog_compiler_static_CXX="${ac_cv_prog_cc_wl}-a ${ac_cv_prog_cc_wl}archive"
10744
 
            case "$host_cpu" in
 
11479
            case $host_cpu in
10745
11480
            hppa*64*|ia64*)
10746
11481
              # +Z the default
10747
11482
              ;;
10756
11491
        ;;
10757
11492
      irix5* | irix6* | nonstopux*)
10758
11493
        case $cc_basename in
10759
 
          CC)
 
11494
          CC*)
10760
11495
            lt_prog_compiler_wl_CXX='-Wl,'
10761
11496
            lt_prog_compiler_static_CXX='-non_shared'
10762
11497
            # CC pic flag -KPIC is the default.
10767
11502
        ;;
10768
11503
      linux*)
10769
11504
        case $cc_basename in
10770
 
          KCC)
 
11505
          KCC*)
10771
11506
            # KAI C++ Compiler
10772
11507
            lt_prog_compiler_wl_CXX='--backend -Wl,'
10773
11508
            lt_prog_compiler_pic_CXX='-fPIC'
10774
11509
            ;;
10775
 
          icpc)
 
11510
          icpc* | ecpc*)
10776
11511
            # Intel C++
10777
11512
            lt_prog_compiler_wl_CXX='-Wl,'
10778
11513
            lt_prog_compiler_pic_CXX='-KPIC'
10779
11514
            lt_prog_compiler_static_CXX='-static'
10780
11515
            ;;
10781
 
          cxx)
 
11516
          pgCC*)
 
11517
            # Portland Group C++ compiler.
 
11518
            lt_prog_compiler_wl_CXX='-Wl,'
 
11519
            lt_prog_compiler_pic_CXX='-fpic'
 
11520
            lt_prog_compiler_static_CXX='-Bstatic'
 
11521
            ;;
 
11522
          cxx*)
10782
11523
            # Compaq C++
10783
11524
            # Make sure the PIC flag is empty.  It appears that all Alpha
10784
11525
            # Linux and Compaq Tru64 Unix objects are PIC.
10795
11536
        ;;
10796
11537
      mvs*)
10797
11538
        case $cc_basename in
10798
 
          cxx)
 
11539
          cxx*)
10799
11540
            lt_prog_compiler_pic_CXX='-W c,exportall'
10800
11541
            ;;
10801
11542
          *)
10802
11543
            ;;
10803
11544
        esac
10804
11545
        ;;
10805
 
      netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
11546
      netbsd*)
10806
11547
        ;;
10807
11548
      osf3* | osf4* | osf5*)
10808
11549
        case $cc_basename in
10809
 
          KCC)
 
11550
          KCC*)
10810
11551
            lt_prog_compiler_wl_CXX='--backend -Wl,'
10811
11552
            ;;
10812
 
          RCC)
 
11553
          RCC*)
10813
11554
            # Rational C++ 2.4.1
10814
11555
            lt_prog_compiler_pic_CXX='-pic'
10815
11556
            ;;
10816
 
          cxx)
 
11557
          cxx*)
10817
11558
            # Digital/Compaq C++
10818
11559
            lt_prog_compiler_wl_CXX='-Wl,'
10819
11560
            # Make sure the PIC flag is empty.  It appears that all Alpha
10829
11570
        ;;
10830
11571
      sco*)
10831
11572
        case $cc_basename in
10832
 
          CC)
 
11573
          CC*)
10833
11574
            lt_prog_compiler_pic_CXX='-fPIC'
10834
11575
            ;;
10835
11576
          *)
10838
11579
        ;;
10839
11580
      solaris*)
10840
11581
        case $cc_basename in
10841
 
          CC)
 
11582
          CC*)
10842
11583
            # Sun C++ 4.2, 5.x and Centerline C++
10843
11584
            lt_prog_compiler_pic_CXX='-KPIC'
10844
11585
            lt_prog_compiler_static_CXX='-Bstatic'
10845
11586
            lt_prog_compiler_wl_CXX='-Qoption ld '
10846
11587
            ;;
10847
 
          gcx)
 
11588
          gcx*)
10848
11589
            # Green Hills C++ Compiler
10849
11590
            lt_prog_compiler_pic_CXX='-PIC'
10850
11591
            ;;
10854
11595
        ;;
10855
11596
      sunos4*)
10856
11597
        case $cc_basename in
10857
 
          CC)
 
11598
          CC*)
10858
11599
            # Sun C++ 4.x
10859
11600
            lt_prog_compiler_pic_CXX='-pic'
10860
11601
            lt_prog_compiler_static_CXX='-Bstatic'
10861
11602
            ;;
10862
 
          lcc)
 
11603
          lcc*)
10863
11604
            # Lucid
10864
11605
            lt_prog_compiler_pic_CXX='-pic'
10865
11606
            ;;
10869
11610
        ;;
10870
11611
      tandem*)
10871
11612
        case $cc_basename in
10872
 
          NCC)
 
11613
          NCC*)
10873
11614
            # NonStop-UX NCC 3.20
10874
11615
            lt_prog_compiler_pic_CXX='-KPIC'
10875
11616
            ;;
10910
11651
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10911
11652
   # The option is referenced via a variable to avoid confusing sed.
10912
11653
   lt_compile=`echo "$ac_compile" | $SED \
10913
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
11654
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10914
11655
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10915
11656
   -e 's:$: $lt_compiler_flag:'`
10916
 
   (eval echo "\"\$as_me:10916: $lt_compile\"" >&5)
 
11657
   (eval echo "\"\$as_me:11657: $lt_compile\"" >&5)
10917
11658
   (eval "$lt_compile" 2>conftest.err)
10918
11659
   ac_status=$?
10919
11660
   cat conftest.err >&5
10920
 
   echo "$as_me:10920: \$? = $ac_status" >&5
 
11661
   echo "$as_me:11661: \$? = $ac_status" >&5
10921
11662
   if (exit $ac_status) && test -s "$ac_outfile"; then
10922
11663
     # The compiler can only warn and ignore the option if not recognized
10923
 
     # So say no if there are warnings
10924
 
     if test ! -s conftest.err; then
 
11664
     # So say no if there are warnings other than the usual output.
 
11665
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
11666
     $SED '/^$/d' conftest.err >conftest.er2
 
11667
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
10925
11668
       lt_prog_compiler_pic_works_CXX=yes
10926
11669
     fi
10927
11670
   fi
10942
11685
fi
10943
11686
 
10944
11687
fi
10945
 
case "$host_os" in
 
11688
case $host_os in
10946
11689
  # For platforms which do not support PIC, -DPIC is meaningless:
10947
11690
  *djgpp*)
10948
11691
    lt_prog_compiler_pic_CXX=
10970
11713
   # Note that $ac_compile itself does not contain backslashes and begins
10971
11714
   # with a dollar sign (not a hyphen), so the echo should work correctly.
10972
11715
   lt_compile=`echo "$ac_compile" | $SED \
10973
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
11716
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
10974
11717
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
10975
11718
   -e 's:$: $lt_compiler_flag:'`
10976
 
   (eval echo "\"\$as_me:10976: $lt_compile\"" >&5)
 
11719
   (eval echo "\"\$as_me:11719: $lt_compile\"" >&5)
10977
11720
   (eval "$lt_compile" 2>out/conftest.err)
10978
11721
   ac_status=$?
10979
11722
   cat out/conftest.err >&5
10980
 
   echo "$as_me:10980: \$? = $ac_status" >&5
 
11723
   echo "$as_me:11723: \$? = $ac_status" >&5
10981
11724
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
10982
11725
   then
10983
11726
     # The compiler can only warn and ignore the option if not recognized
10984
11727
     # So say no if there are warnings
10985
 
     if test ! -s out/conftest.err; then
 
11728
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 
11729
     $SED '/^$/d' out/conftest.err >out/conftest.er2
 
11730
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
10986
11731
       lt_cv_prog_compiler_c_o_CXX=yes
10987
11732
     fi
10988
11733
   fi
10989
 
   chmod u+w .
 
11734
   chmod u+w . 2>&5
10990
11735
   $rm conftest*
10991
11736
   # SGI C++ compiler will create directory out/ii_files/ for
10992
11737
   # template instantiation
11041
11786
    export_symbols_cmds_CXX="$ltdll_cmds"
11042
11787
  ;;
11043
11788
  cygwin* | mingw*)
11044
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11045
 
  ;;
11046
 
  linux*)
11047
 
    link_all_deplibs_CXX=no
 
11789
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/;/^.* __nm__/s/^.* __nm__\([^ ]*\) [^ ]*/\1 DATA/;/^I /d;/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
11048
11790
  ;;
11049
11791
  *)
11050
11792
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
11224
11966
  shlibpath_var=LIBRARY_PATH
11225
11967
  ;;
11226
11968
 
11227
 
bsdi4*)
 
11969
bsdi[45]*)
11228
11970
  version_type=linux
11229
11971
  need_version=no
11230
11972
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11252
11994
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
11253
11995
      dldir=$destdir/`dirname \$dlpath`~
11254
11996
      test -d \$dldir || mkdir -p \$dldir~
11255
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11997
      $install_prog $dir/$dlname \$dldir/$dlname~
 
11998
      chmod a+x \$dldir/$dlname'
11256
11999
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11257
12000
      dlpath=$dir/\$dldll~
11258
12001
       $rm \$dlpath'
11282
12025
      ;;
11283
12026
    pw32*)
11284
12027
      # pw32 DLLs use 'pw' prefix rather than 'lib'
11285
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
12028
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11286
12029
      ;;
11287
12030
    esac
11288
12031
    ;;
11305
12048
  soname_spec='${libname}${release}${major}$shared_ext'
11306
12049
  shlibpath_overrides_runpath=yes
11307
12050
  shlibpath_var=DYLD_LIBRARY_PATH
11308
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
12051
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11309
12052
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
11310
12053
  if test "$GCC" = yes; then
11311
12054
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
11340
12083
  dynamic_linker='GNU ld.so'
11341
12084
  ;;
11342
12085
 
11343
 
freebsd*)
11344
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
12086
freebsd* | dragonfly*)
 
12087
  # DragonFly does not have aout.  When/if they implement a new
 
12088
  # versioning mechanism, adjust this.
 
12089
  if test -x /usr/bin/objformat; then
 
12090
    objformat=`/usr/bin/objformat`
 
12091
  else
 
12092
    case $host_os in
 
12093
    freebsd[123]*) objformat=aout ;;
 
12094
    *) objformat=elf ;;
 
12095
    esac
 
12096
  fi
11345
12097
  version_type=freebsd-$objformat
11346
12098
  case $version_type in
11347
12099
    freebsd-elf*)
11359
12111
  freebsd2*)
11360
12112
    shlibpath_overrides_runpath=yes
11361
12113
    ;;
11362
 
  freebsd3.01* | freebsdelf3.01*)
 
12114
  freebsd3.[01]* | freebsdelf3.[01]*)
11363
12115
    shlibpath_overrides_runpath=yes
11364
12116
    hardcode_into_libs=yes
11365
12117
    ;;
11386
12138
  version_type=sunos
11387
12139
  need_lib_prefix=no
11388
12140
  need_version=no
11389
 
  case "$host_cpu" in
 
12141
  case $host_cpu in
11390
12142
  ia64*)
11391
12143
    shrext_cmds='.so'
11392
12144
    hardcode_into_libs=yes
11483
12235
  # before this can be enabled.
11484
12236
  hardcode_into_libs=yes
11485
12237
 
 
12238
  # find out which ABI we are using
 
12239
  libsuff=
 
12240
  case "$host_cpu" in
 
12241
  x86_64*|s390x*|powerpc64*)
 
12242
    echo '#line 12242 "configure"' > conftest.$ac_ext
 
12243
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
12244
  (eval $ac_compile) 2>&5
 
12245
  ac_status=$?
 
12246
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
12247
  (exit $ac_status); }; then
 
12248
      case `/usr/bin/file conftest.$ac_objext` in
 
12249
      *64-bit*)
 
12250
        libsuff=64
 
12251
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
12252
        ;;
 
12253
      esac
 
12254
    fi
 
12255
    rm -rf conftest*
 
12256
    ;;
 
12257
  esac
 
12258
 
11486
12259
  # Append ld.so.conf contents to the search path
11487
12260
  if test -f /etc/ld.so.conf; then
11488
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
11489
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
12261
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
12262
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
11490
12263
  fi
11491
12264
 
11492
12265
  # We used to test for /lib/ld.so.1 and disable shared libraries on
11498
12271
  dynamic_linker='GNU/Linux ld.so'
11499
12272
  ;;
11500
12273
 
11501
 
netbsdelf*-gnu)
11502
 
  version_type=linux
11503
 
  need_lib_prefix=no
11504
 
  need_version=no
11505
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11506
 
  soname_spec='${libname}${release}${shared_ext}$major'
11507
 
  shlibpath_var=LD_LIBRARY_PATH
11508
 
  shlibpath_overrides_runpath=no
11509
 
  hardcode_into_libs=yes
11510
 
  dynamic_linker='NetBSD ld.elf_so'
11511
 
  ;;
11512
 
 
11513
12274
knetbsd*-gnu)
11514
12275
  version_type=linux
11515
12276
  need_lib_prefix=no
11560
12321
openbsd*)
11561
12322
  version_type=sunos
11562
12323
  need_lib_prefix=no
11563
 
  need_version=yes
 
12324
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
12325
  case $host_os in
 
12326
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
12327
    *)                         need_version=no  ;;
 
12328
  esac
11564
12329
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11565
12330
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11566
12331
  shlibpath_var=LD_LIBRARY_PATH
11682
12447
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
11683
12448
hardcode_action_CXX=
11684
12449
if test -n "$hardcode_libdir_flag_spec_CXX" || \
11685
 
   test -n "$runpath_var CXX" || \
11686
 
   test "X$hardcode_automatic_CXX"="Xyes" ; then
 
12450
   test -n "$runpath_var_CXX" || \
 
12451
   test "X$hardcode_automatic_CXX" = "Xyes" ; then
11687
12452
 
11688
12453
  # We can hardcode non-existant directories.
11689
12454
  if test "$hardcode_direct_CXX" != no &&
11809
12574
  cat conftest.err >&5
11810
12575
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11811
12576
  (exit $ac_status); } &&
11812
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
12577
         { ac_try='test -z "$ac_cxx_werror_flag"
 
12578
                         || test ! -s conftest.err'
11813
12579
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11814
12580
  (eval $ac_try) 2>&5
11815
12581
  ac_status=$?
11912
12678
  cat conftest.err >&5
11913
12679
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11914
12680
  (exit $ac_status); } &&
11915
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
12681
         { ac_try='test -z "$ac_cxx_werror_flag"
 
12682
                         || test ! -s conftest.err'
11916
12683
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11917
12684
  (eval $ac_try) 2>&5
11918
12685
  ac_status=$?
11977
12744
  cat conftest.err >&5
11978
12745
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11979
12746
  (exit $ac_status); } &&
11980
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
12747
         { ac_try='test -z "$ac_cxx_werror_flag"
 
12748
                         || test ! -s conftest.err'
11981
12749
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
11982
12750
  (eval $ac_try) 2>&5
11983
12751
  ac_status=$?
12070
12838
  cat conftest.err >&5
12071
12839
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12072
12840
  (exit $ac_status); } &&
12073
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
12841
         { ac_try='test -z "$ac_cxx_werror_flag"
 
12842
                         || test ! -s conftest.err'
12074
12843
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12075
12844
  (eval $ac_try) 2>&5
12076
12845
  ac_status=$?
12135
12904
  cat conftest.err >&5
12136
12905
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12137
12906
  (exit $ac_status); } &&
12138
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
12907
         { ac_try='test -z "$ac_cxx_werror_flag"
 
12908
                         || test ! -s conftest.err'
12139
12909
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12140
12910
  (eval $ac_try) 2>&5
12141
12911
  ac_status=$?
12201
12971
  cat conftest.err >&5
12202
12972
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12203
12973
  (exit $ac_status); } &&
12204
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
12974
         { ac_try='test -z "$ac_cxx_werror_flag"
 
12975
                         || test ! -s conftest.err'
12205
12976
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12206
12977
  (eval $ac_try) 2>&5
12207
12978
  ac_status=$?
12267
13038
  cat conftest.err >&5
12268
13039
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12269
13040
  (exit $ac_status); } &&
12270
 
         { ac_try='test -z "$ac_cxx_werror_flag"                         || test ! -s conftest.err'
 
13041
         { ac_try='test -z "$ac_cxx_werror_flag"
 
13042
                         || test ! -s conftest.err'
12271
13043
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
12272
13044
  (eval $ac_try) 2>&5
12273
13045
  ac_status=$?
12342
13114
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12343
13115
  lt_status=$lt_dlunknown
12344
13116
  cat > conftest.$ac_ext <<EOF
12345
 
#line 12345 "configure"
 
13117
#line 13117 "configure"
12346
13118
#include "confdefs.h"
12347
13119
 
12348
13120
#if HAVE_DLFCN_H
12408
13180
  ac_status=$?
12409
13181
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12410
13182
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12411
 
    (./conftest; exit; ) 2>/dev/null
 
13183
    (./conftest; exit; ) >&5 2>/dev/null
12412
13184
    lt_status=$?
12413
13185
    case x$lt_status in
12414
13186
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12440
13212
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12441
13213
  lt_status=$lt_dlunknown
12442
13214
  cat > conftest.$ac_ext <<EOF
12443
 
#line 12443 "configure"
 
13215
#line 13215 "configure"
12444
13216
#include "confdefs.h"
12445
13217
 
12446
13218
#if HAVE_DLFCN_H
12506
13278
  ac_status=$?
12507
13279
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
12508
13280
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
12509
 
    (./conftest; exit; ) 2>/dev/null
 
13281
    (./conftest; exit; ) >&5 2>/dev/null
12510
13282
    lt_status=$?
12511
13283
    case x$lt_status in
12512
13284
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12658
13430
# The host system.
12659
13431
host_alias=$host_alias
12660
13432
host=$host
 
13433
host_os=$host_os
 
13434
 
 
13435
# The build system.
 
13436
build_alias=$build_alias
 
13437
build=$build
 
13438
build_os=$build_os
12661
13439
 
12662
13440
# An echo program that does not interpret backslashes.
12663
13441
echo=$lt_echo
12734
13512
# Does compiler simultaneously support -c and -o options?
12735
13513
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
12736
13514
 
12737
 
# Must we lock files when doing compilation ?
 
13515
# Must we lock files when doing compilation?
12738
13516
need_locks=$lt_need_locks
12739
13517
 
12740
13518
# Do we need the lib prefix for modules?
13015
13793
compiler=$CC
13016
13794
 
13017
13795
 
 
13796
# save warnings/boilerplate of simple test code
 
13797
ac_outfile=conftest.$ac_objext
 
13798
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
13799
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
13800
_lt_compiler_boilerplate=`cat conftest.err`
 
13801
$rm conftest*
 
13802
 
 
13803
ac_outfile=conftest.$ac_objext
 
13804
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
13805
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
13806
_lt_linker_boilerplate=`cat conftest.err`
 
13807
$rm conftest*
 
13808
 
 
13809
 
13018
13810
# Allow CC to be a program name with arguments.
13019
13811
lt_save_CC="$CC"
13020
13812
CC=${F77-"f77"}
13021
13813
compiler=$CC
13022
13814
compiler_F77=$CC
13023
 
cc_basename=`$echo X"$compiler" | $Xsed -e 's%^.*/%%'`
 
13815
for cc_temp in $compiler""; do
 
13816
  case $cc_temp in
 
13817
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
13818
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
13819
    \-*) ;;
 
13820
    *) break;;
 
13821
  esac
 
13822
done
 
13823
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
13824
 
13024
13825
 
13025
13826
echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
13026
13827
echo $ECHO_N "checking if libtool supports shared libraries... $ECHO_C" >&6
13033
13834
 
13034
13835
# On AIX, shared libraries and static libraries use the same namespace, and
13035
13836
# are all built from PIC.
13036
 
case "$host_os" in
 
13837
case $host_os in
13037
13838
aix3*)
13038
13839
  test "$enable_shared" = yes && enable_static=no
13039
13840
  if test -n "$RANLIB"; then
13042
13843
  fi
13043
13844
  ;;
13044
13845
aix4* | aix5*)
13045
 
  test "$enable_shared" = yes && enable_static=no
 
13846
  if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
 
13847
    test "$enable_shared" = yes && enable_static=no
 
13848
  fi
13046
13849
  ;;
13047
13850
esac
13048
13851
echo "$as_me:$LINENO: result: $enable_shared" >&5
13119
13922
    hpux*)
13120
13923
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13121
13924
      # not for PA HP-UX.
13122
 
      case "$host_cpu" in
 
13925
      case $host_cpu in
13123
13926
      hppa*64*|ia64*)
13124
13927
        # +Z the default
13125
13928
        ;;
13145
13948
        lt_prog_compiler_static_F77='-bnso -bI:/lib/syscalls.exp'
13146
13949
      fi
13147
13950
      ;;
 
13951
      darwin*)
 
13952
        # PIC is the default on this platform
 
13953
        # Common symbols not allowed in MH_DYLIB files
 
13954
       case $cc_basename in
 
13955
         xlc*)
 
13956
         lt_prog_compiler_pic_F77='-qnocommon'
 
13957
         lt_prog_compiler_wl_F77='-Wl,'
 
13958
         ;;
 
13959
       esac
 
13960
       ;;
13148
13961
 
13149
13962
    mingw* | pw32* | os2*)
13150
13963
      # This hack is so that the source file can tell whether it is being
13156
13969
      lt_prog_compiler_wl_F77='-Wl,'
13157
13970
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
13158
13971
      # not for PA HP-UX.
13159
 
      case "$host_cpu" in
 
13972
      case $host_cpu in
13160
13973
      hppa*64*|ia64*)
13161
13974
        # +Z the default
13162
13975
        ;;
13180
13993
      ;;
13181
13994
 
13182
13995
    linux*)
13183
 
      case $CC in
 
13996
      case $cc_basename in
13184
13997
      icc* | ecc*)
13185
13998
        lt_prog_compiler_wl_F77='-Wl,'
13186
13999
        lt_prog_compiler_pic_F77='-KPIC'
13187
14000
        lt_prog_compiler_static_F77='-static'
13188
14001
        ;;
 
14002
      pgcc* | pgf77* | pgf90* | pgf95*)
 
14003
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
14004
        # which looks to be a dead project)
 
14005
        lt_prog_compiler_wl_F77='-Wl,'
 
14006
        lt_prog_compiler_pic_F77='-fpic'
 
14007
        lt_prog_compiler_static_F77='-Bstatic'
 
14008
        ;;
13189
14009
      ccc*)
13190
14010
        lt_prog_compiler_wl_F77='-Wl,'
13191
14011
        # All Alpha code is PIC.
13206
14026
      ;;
13207
14027
 
13208
14028
    solaris*)
13209
 
      lt_prog_compiler_wl_F77='-Wl,'
13210
14029
      lt_prog_compiler_pic_F77='-KPIC'
13211
14030
      lt_prog_compiler_static_F77='-Bstatic'
 
14031
      case $cc_basename in
 
14032
      f77* | f90* | f95*)
 
14033
        lt_prog_compiler_wl_F77='-Qoption ld ';;
 
14034
      *)
 
14035
        lt_prog_compiler_wl_F77='-Wl,';;
 
14036
      esac
13212
14037
      ;;
13213
14038
 
13214
14039
    sunos4*)
13230
14055
      fi
13231
14056
      ;;
13232
14057
 
 
14058
    unicos*)
 
14059
      lt_prog_compiler_wl_F77='-Wl,'
 
14060
      lt_prog_compiler_can_build_shared_F77=no
 
14061
      ;;
 
14062
 
13233
14063
    uts4*)
13234
14064
      lt_prog_compiler_pic_F77='-pic'
13235
14065
      lt_prog_compiler_static_F77='-Bstatic'
13264
14094
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13265
14095
   # The option is referenced via a variable to avoid confusing sed.
13266
14096
   lt_compile=`echo "$ac_compile" | $SED \
13267
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14097
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13268
14098
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13269
14099
   -e 's:$: $lt_compiler_flag:'`
13270
 
   (eval echo "\"\$as_me:13270: $lt_compile\"" >&5)
 
14100
   (eval echo "\"\$as_me:14100: $lt_compile\"" >&5)
13271
14101
   (eval "$lt_compile" 2>conftest.err)
13272
14102
   ac_status=$?
13273
14103
   cat conftest.err >&5
13274
 
   echo "$as_me:13274: \$? = $ac_status" >&5
 
14104
   echo "$as_me:14104: \$? = $ac_status" >&5
13275
14105
   if (exit $ac_status) && test -s "$ac_outfile"; then
13276
14106
     # The compiler can only warn and ignore the option if not recognized
13277
 
     # So say no if there are warnings
13278
 
     if test ! -s conftest.err; then
 
14107
     # So say no if there are warnings other than the usual output.
 
14108
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
14109
     $SED '/^$/d' conftest.err >conftest.er2
 
14110
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
13279
14111
       lt_prog_compiler_pic_works_F77=yes
13280
14112
     fi
13281
14113
   fi
13296
14128
fi
13297
14129
 
13298
14130
fi
13299
 
case "$host_os" in
 
14131
case $host_os in
13300
14132
  # For platforms which do not support PIC, -DPIC is meaningless:
13301
14133
  *djgpp*)
13302
14134
    lt_prog_compiler_pic_F77=
13324
14156
   # Note that $ac_compile itself does not contain backslashes and begins
13325
14157
   # with a dollar sign (not a hyphen), so the echo should work correctly.
13326
14158
   lt_compile=`echo "$ac_compile" | $SED \
13327
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
14159
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
13328
14160
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
13329
14161
   -e 's:$: $lt_compiler_flag:'`
13330
 
   (eval echo "\"\$as_me:13330: $lt_compile\"" >&5)
 
14162
   (eval echo "\"\$as_me:14162: $lt_compile\"" >&5)
13331
14163
   (eval "$lt_compile" 2>out/conftest.err)
13332
14164
   ac_status=$?
13333
14165
   cat out/conftest.err >&5
13334
 
   echo "$as_me:13334: \$? = $ac_status" >&5
 
14166
   echo "$as_me:14166: \$? = $ac_status" >&5
13335
14167
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
13336
14168
   then
13337
14169
     # The compiler can only warn and ignore the option if not recognized
13338
14170
     # So say no if there are warnings
13339
 
     if test ! -s out/conftest.err; then
 
14171
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 
14172
     $SED '/^$/d' out/conftest.err >out/conftest.er2
 
14173
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
13340
14174
       lt_cv_prog_compiler_c_o_F77=yes
13341
14175
     fi
13342
14176
   fi
13343
 
   chmod u+w .
 
14177
   chmod u+w . 2>&5
13344
14178
   $rm conftest*
13345
14179
   # SGI C++ compiler will create directory out/ii_files/ for
13346
14180
   # template instantiation
13416
14250
  # rely on this symbol name, it's probably fine to never include it in
13417
14251
  # preloaded symbol tables.
13418
14252
  extract_expsyms_cmds=
 
14253
  # Just being paranoid about ensuring that cc_basename is set.
 
14254
  for cc_temp in $compiler""; do
 
14255
  case $cc_temp in
 
14256
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
14257
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
14258
    \-*) ;;
 
14259
    *) break;;
 
14260
  esac
 
14261
done
 
14262
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
13419
14263
 
13420
14264
  case $host_os in
13421
14265
  cygwin* | mingw* | pw32*)
13436
14280
    # If archive_cmds runs LD, not CC, wlarc should be empty
13437
14281
    wlarc='${wl}'
13438
14282
 
 
14283
    # Set some defaults for GNU ld with shared library support. These
 
14284
    # are reset later if shared libraries are not supported. Putting them
 
14285
    # here allows them to be overridden if necessary.
 
14286
    runpath_var=LD_RUN_PATH
 
14287
    hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
 
14288
    export_dynamic_flag_spec_F77='${wl}--export-dynamic'
 
14289
    # ancient GNU ld didn't support --whole-archive et. al.
 
14290
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
14291
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
14292
      else
 
14293
        whole_archive_flag_spec_F77=
 
14294
    fi
 
14295
    supports_anon_versioning=no
 
14296
    case `$LD -v 2>/dev/null` in
 
14297
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
14298
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
14299
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
14300
      *\ 2.11.*) ;; # other 2.11 versions
 
14301
      *) supports_anon_versioning=yes ;;
 
14302
    esac
 
14303
 
13439
14304
    # See if GNU ld supports shared libraries.
13440
14305
    case $host_os in
13441
14306
    aix3* | aix4* | aix5*)
13486
14351
      allow_undefined_flag_F77=unsupported
13487
14352
      always_export_symbols_F77=no
13488
14353
      enable_shared_with_static_runtimes_F77=yes
13489
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14354
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
13490
14355
 
13491
14356
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
13492
14357
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
13500
14365
        fi~
13501
14366
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
13502
14367
      else
13503
 
        ld_shlibs=no
13504
 
      fi
13505
 
      ;;
13506
 
 
13507
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14368
        ld_shlibs_F77=no
 
14369
      fi
 
14370
      ;;
 
14371
 
 
14372
    linux*)
 
14373
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
14374
        tmp_addflag=
 
14375
        case $cc_basename,$host_cpu in
 
14376
        pgcc*)                          # Portland Group C compiler
 
14377
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14378
          tmp_addflag=' $pic_flag'
 
14379
          ;;
 
14380
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
14381
          whole_archive_flag_spec_F77='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14382
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
14383
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
14384
          tmp_addflag=' -i_dynamic' ;;
 
14385
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
14386
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
14387
        ifc* | ifort*)                  # Intel Fortran compiler
 
14388
          tmp_addflag=' -nofor_main' ;;
 
14389
        esac
 
14390
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14391
 
 
14392
        if test $supports_anon_versioning = yes; then
 
14393
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
 
14394
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
14395
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
14396
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14397
        fi
 
14398
      else
 
14399
        ld_shlibs_F77=no
 
14400
      fi
 
14401
      ;;
 
14402
 
 
14403
    netbsd*)
13508
14404
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
13509
14405
        archive_cmds_F77='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
13510
14406
        wlarc=
13542
14438
      hardcode_shlibpath_var_F77=no
13543
14439
      ;;
13544
14440
 
13545
 
  linux*)
13546
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13547
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13548
 
        archive_cmds_F77="$tmp_archive_cmds"
13549
 
      supports_anon_versioning=no
13550
 
      case `$LD -v 2>/dev/null` in
13551
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
13552
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
13553
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
13554
 
        *\ 2.11.*) ;; # other 2.11 versions
13555
 
        *) supports_anon_versioning=yes ;;
13556
 
      esac
13557
 
      if test $supports_anon_versioning = yes; then
13558
 
        archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
13559
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13560
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
13561
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13562
 
      else
13563
 
        archive_expsym_cmds_F77="$tmp_archive_cmds"
13564
 
      fi
13565
 
      link_all_deplibs_F77=no
13566
 
    else
13567
 
      ld_shlibs_F77=no
13568
 
    fi
13569
 
    ;;
13570
 
 
13571
14441
    *)
13572
14442
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
13573
14443
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13578
14448
      ;;
13579
14449
    esac
13580
14450
 
13581
 
    if test "$ld_shlibs_F77" = yes; then
13582
 
      runpath_var=LD_RUN_PATH
13583
 
      hardcode_libdir_flag_spec_F77='${wl}--rpath ${wl}$libdir'
13584
 
      export_dynamic_flag_spec_F77='${wl}--export-dynamic'
13585
 
      # ancient GNU ld didn't support --whole-archive et. al.
13586
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
13587
 
        whole_archive_flag_spec_F77="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13588
 
      else
13589
 
        whole_archive_flag_spec_F77=
13590
 
      fi
 
14451
    if test "$ld_shlibs_F77" = no; then
 
14452
      runpath_var=
 
14453
      hardcode_libdir_flag_spec_F77=
 
14454
      export_dynamic_flag_spec_F77=
 
14455
      whole_archive_flag_spec_F77=
13591
14456
    fi
13592
14457
  else
13593
14458
    # PORTME fill in a description of your system's linker (not GNU ld)
13651
14516
      link_all_deplibs_F77=yes
13652
14517
 
13653
14518
      if test "$GCC" = yes; then
13654
 
        case $host_os in aix4.012|aix4.012.*)
 
14519
        case $host_os in aix4.[012]|aix4.[012].*)
13655
14520
        # We only want to do this on AIX 4.2 and lower, the check
13656
14521
        # below for broken collect2 doesn't work under 4.3+
13657
14522
          collect2name=`${CC} -print-prog-name=collect2`
13672
14537
          fi
13673
14538
        esac
13674
14539
        shared_flag='-shared'
 
14540
        if test "$aix_use_runtimelinking" = yes; then
 
14541
          shared_flag="$shared_flag "'${wl}-G'
 
14542
        fi
13675
14543
      else
13676
14544
        # not using gcc
13677
14545
        if test "$host_cpu" = ia64; then
13709
14577
  cat conftest.err >&5
13710
14578
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13711
14579
  (exit $ac_status); } &&
13712
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
14580
         { ac_try='test -z "$ac_f77_werror_flag"
 
14581
                         || test ! -s conftest.err'
13713
14582
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13714
14583
  (eval $ac_try) 2>&5
13715
14584
  ac_status=$?
13759
14628
  cat conftest.err >&5
13760
14629
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
13761
14630
  (exit $ac_status); } &&
13762
 
         { ac_try='test -z "$ac_f77_werror_flag"                         || test ! -s conftest.err'
 
14631
         { ac_try='test -z "$ac_f77_werror_flag"
 
14632
                         || test ! -s conftest.err'
13763
14633
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
13764
14634
  (eval $ac_try) 2>&5
13765
14635
  ac_status=$?
13796
14666
          # Exported symbols can be pulled into shared objects from archives
13797
14667
          whole_archive_flag_spec_F77=' '
13798
14668
          archive_cmds_need_lc_F77=yes
13799
 
          # This is similar to how AIX traditionally builds it's shared libraries.
 
14669
          # This is similar to how AIX traditionally builds its shared libraries.
13800
14670
          archive_expsym_cmds_F77="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
13801
14671
        fi
13802
14672
      fi
13810
14680
      ld_shlibs_F77=no
13811
14681
      ;;
13812
14682
 
13813
 
    bsdi4*)
 
14683
    bsdi[45]*)
13814
14684
      export_dynamic_flag_spec_F77=-rdynamic
13815
14685
      ;;
13816
14686
 
13831
14701
      old_archive_From_new_cmds_F77='true'
13832
14702
      # FIXME: Should let the user specify the lib program.
13833
14703
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
13834
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
14704
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
13835
14705
      enable_shared_with_static_runtimes_F77=yes
13836
14706
      ;;
13837
14707
 
13838
14708
    darwin* | rhapsody*)
13839
 
    if test "$GXX" = yes ; then
 
14709
      case $host_os in
 
14710
        rhapsody* | darwin1.[012])
 
14711
         allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
 
14712
         ;;
 
14713
       *) # Darwin 1.3 on
 
14714
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
14715
           allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
14716
         else
 
14717
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
14718
             10.[012])
 
14719
               allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
14720
               ;;
 
14721
             10.*)
 
14722
               allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
 
14723
               ;;
 
14724
           esac
 
14725
         fi
 
14726
         ;;
 
14727
      esac
13840
14728
      archive_cmds_need_lc_F77=no
13841
 
      case "$host_os" in
13842
 
      rhapsody* | darwin1.[012])
13843
 
        allow_undefined_flag_F77='-undefined suppress'
13844
 
        ;;
13845
 
      *) # Darwin 1.3 on
13846
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
13847
 
        allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13848
 
      else
13849
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
13850
 
          10.[012])
13851
 
            allow_undefined_flag_F77='-flat_namespace -undefined suppress'
13852
 
            ;;
13853
 
          10.*)
13854
 
            allow_undefined_flag_F77='-undefined dynamic_lookup'
13855
 
            ;;
13856
 
        esac
13857
 
      fi
13858
 
        ;;
13859
 
      esac
13860
 
        lt_int_apple_cc_single_mod=no
13861
 
        output_verbose_link_cmd='echo'
13862
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
13863
 
          lt_int_apple_cc_single_mod=yes
13864
 
        fi
13865
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13866
 
          archive_cmds_F77='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13867
 
        else
13868
 
        archive_cmds_F77='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
13869
 
      fi
13870
 
      module_cmds_F77='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
13871
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
13872
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
13873
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13874
 
        else
13875
 
          archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13876
 
        fi
13877
 
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13878
14729
      hardcode_direct_F77=no
13879
14730
      hardcode_automatic_F77=yes
13880
14731
      hardcode_shlibpath_var_F77=unsupported
13881
 
      whole_archive_flag_spec_F77='-all_load $convenience'
 
14732
      whole_archive_flag_spec_F77=''
13882
14733
      link_all_deplibs_F77=yes
 
14734
    if test "$GCC" = yes ; then
 
14735
        output_verbose_link_cmd='echo'
 
14736
        archive_cmds_F77='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
14737
      module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
14738
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
14739
      archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
14740
      module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
13883
14741
    else
13884
 
      ld_shlibs_F77=no
 
14742
      case $cc_basename in
 
14743
        xlc*)
 
14744
         output_verbose_link_cmd='echo'
 
14745
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
14746
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
14747
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
14748
         archive_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
14749
          module_expsym_cmds_F77='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
14750
          ;;
 
14751
       *)
 
14752
         ld_shlibs_F77=no
 
14753
          ;;
 
14754
      esac
13885
14755
    fi
13886
14756
      ;;
13887
14757
 
13915
14785
      ;;
13916
14786
 
13917
14787
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
13918
 
    freebsd* | kfreebsd*-gnu)
 
14788
    freebsd* | kfreebsd*-gnu | dragonfly*)
13919
14789
      archive_cmds_F77='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
13920
14790
      hardcode_libdir_flag_spec_F77='-R$libdir'
13921
14791
      hardcode_direct_F77=yes
13940
14810
 
13941
14811
    hpux10* | hpux11*)
13942
14812
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
13943
 
        case "$host_cpu" in
 
14813
        case $host_cpu in
13944
14814
        hppa*64*|ia64*)
13945
14815
          archive_cmds_F77='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
13946
14816
          ;;
13949
14819
          ;;
13950
14820
        esac
13951
14821
      else
13952
 
        case "$host_cpu" in
 
14822
        case $host_cpu in
13953
14823
        hppa*64*|ia64*)
13954
14824
          archive_cmds_F77='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
13955
14825
          ;;
13959
14829
        esac
13960
14830
      fi
13961
14831
      if test "$with_gnu_ld" = no; then
13962
 
        case "$host_cpu" in
 
14832
        case $host_cpu in
13963
14833
        hppa*64*)
13964
14834
          hardcode_libdir_flag_spec_F77='${wl}+b ${wl}$libdir'
13965
14835
          hardcode_libdir_flag_spec_ld_F77='+b $libdir'
14002
14872
      link_all_deplibs_F77=yes
14003
14873
      ;;
14004
14874
 
14005
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
14875
    netbsd*)
14006
14876
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
14007
14877
        archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14008
14878
      else
14026
14896
      hardcode_shlibpath_var_F77=no
14027
14897
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14028
14898
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
14899
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
14029
14900
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14030
14901
        export_dynamic_flag_spec_F77='${wl}-E'
14031
14902
      else
14071
14942
        allow_undefined_flag_F77=' -expect_unresolved \*'
14072
14943
        archive_cmds_F77='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
14073
14944
        archive_expsym_cmds_F77='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
14074
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
14945
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
14075
14946
 
14076
14947
        # Both c and cxx compiler support -rpath directly
14077
14948
        hardcode_libdir_flag_spec_F77='-rpath $libdir'
14090
14961
    solaris*)
14091
14962
      no_undefined_flag_F77=' -z text'
14092
14963
      if test "$GCC" = yes; then
 
14964
        wlarc='${wl}'
14093
14965
        archive_cmds_F77='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14094
14966
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14095
14967
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
14096
14968
      else
 
14969
        wlarc=''
14097
14970
        archive_cmds_F77='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
14098
14971
        archive_expsym_cmds_F77='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
14099
14972
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
14102
14975
      hardcode_shlibpath_var_F77=no
14103
14976
      case $host_os in
14104
14977
      solaris2.[0-5] | solaris2.[0-5].*) ;;
14105
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
14106
 
        whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
14978
      *)
 
14979
        # The compiler driver will combine linker options so we
 
14980
        # cannot just pass the convience library names through
 
14981
        # without $wl, iff we do not link with $LD.
 
14982
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
14983
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
14984
        case $wlarc in
 
14985
        '')
 
14986
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
 
14987
        *)
 
14988
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
14989
        esac ;;
14107
14990
      esac
14108
14991
      link_all_deplibs_F77=yes
14109
14992
      ;;
14377
15260
  shlibpath_var=LIBRARY_PATH
14378
15261
  ;;
14379
15262
 
14380
 
bsdi4*)
 
15263
bsdi[45]*)
14381
15264
  version_type=linux
14382
15265
  need_version=no
14383
15266
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14405
15288
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
14406
15289
      dldir=$destdir/`dirname \$dlpath`~
14407
15290
      test -d \$dldir || mkdir -p \$dldir~
14408
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15291
      $install_prog $dir/$dlname \$dldir/$dlname~
 
15292
      chmod a+x \$dldir/$dlname'
14409
15293
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14410
15294
      dlpath=$dir/\$dldll~
14411
15295
       $rm \$dlpath'
14435
15319
      ;;
14436
15320
    pw32*)
14437
15321
      # pw32 DLLs use 'pw' prefix rather than 'lib'
14438
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
15322
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14439
15323
      ;;
14440
15324
    esac
14441
15325
    ;;
14458
15342
  soname_spec='${libname}${release}${major}$shared_ext'
14459
15343
  shlibpath_overrides_runpath=yes
14460
15344
  shlibpath_var=DYLD_LIBRARY_PATH
14461
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
15345
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14462
15346
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
14463
15347
  if test "$GCC" = yes; then
14464
15348
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
14493
15377
  dynamic_linker='GNU ld.so'
14494
15378
  ;;
14495
15379
 
14496
 
freebsd*)
14497
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
15380
freebsd* | dragonfly*)
 
15381
  # DragonFly does not have aout.  When/if they implement a new
 
15382
  # versioning mechanism, adjust this.
 
15383
  if test -x /usr/bin/objformat; then
 
15384
    objformat=`/usr/bin/objformat`
 
15385
  else
 
15386
    case $host_os in
 
15387
    freebsd[123]*) objformat=aout ;;
 
15388
    *) objformat=elf ;;
 
15389
    esac
 
15390
  fi
14498
15391
  version_type=freebsd-$objformat
14499
15392
  case $version_type in
14500
15393
    freebsd-elf*)
14512
15405
  freebsd2*)
14513
15406
    shlibpath_overrides_runpath=yes
14514
15407
    ;;
14515
 
  freebsd3.01* | freebsdelf3.01*)
 
15408
  freebsd3.[01]* | freebsdelf3.[01]*)
14516
15409
    shlibpath_overrides_runpath=yes
14517
15410
    hardcode_into_libs=yes
14518
15411
    ;;
14539
15432
  version_type=sunos
14540
15433
  need_lib_prefix=no
14541
15434
  need_version=no
14542
 
  case "$host_cpu" in
 
15435
  case $host_cpu in
14543
15436
  ia64*)
14544
15437
    shrext_cmds='.so'
14545
15438
    hardcode_into_libs=yes
14636
15529
  # before this can be enabled.
14637
15530
  hardcode_into_libs=yes
14638
15531
 
 
15532
  # find out which ABI we are using
 
15533
  libsuff=
 
15534
  case "$host_cpu" in
 
15535
  x86_64*|s390x*|powerpc64*)
 
15536
    echo '#line 15536 "configure"' > conftest.$ac_ext
 
15537
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
15538
  (eval $ac_compile) 2>&5
 
15539
  ac_status=$?
 
15540
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
15541
  (exit $ac_status); }; then
 
15542
      case `/usr/bin/file conftest.$ac_objext` in
 
15543
      *64-bit*)
 
15544
        libsuff=64
 
15545
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
15546
        ;;
 
15547
      esac
 
15548
    fi
 
15549
    rm -rf conftest*
 
15550
    ;;
 
15551
  esac
 
15552
 
14639
15553
  # Append ld.so.conf contents to the search path
14640
15554
  if test -f /etc/ld.so.conf; then
14641
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
14642
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
15555
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
15556
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
14643
15557
  fi
14644
15558
 
14645
15559
  # We used to test for /lib/ld.so.1 and disable shared libraries on
14651
15565
  dynamic_linker='GNU/Linux ld.so'
14652
15566
  ;;
14653
15567
 
14654
 
netbsdelf*-gnu)
14655
 
  version_type=linux
14656
 
  need_lib_prefix=no
14657
 
  need_version=no
14658
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14659
 
  soname_spec='${libname}${release}${shared_ext}$major'
14660
 
  shlibpath_var=LD_LIBRARY_PATH
14661
 
  shlibpath_overrides_runpath=no
14662
 
  hardcode_into_libs=yes
14663
 
  dynamic_linker='NetBSD ld.elf_so'
14664
 
  ;;
14665
 
 
14666
15568
knetbsd*-gnu)
14667
15569
  version_type=linux
14668
15570
  need_lib_prefix=no
14713
15615
openbsd*)
14714
15616
  version_type=sunos
14715
15617
  need_lib_prefix=no
14716
 
  need_version=yes
 
15618
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
15619
  case $host_os in
 
15620
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
15621
    *)                         need_version=no  ;;
 
15622
  esac
14717
15623
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14718
15624
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14719
15625
  shlibpath_var=LD_LIBRARY_PATH
14835
15741
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
14836
15742
hardcode_action_F77=
14837
15743
if test -n "$hardcode_libdir_flag_spec_F77" || \
14838
 
   test -n "$runpath_var F77" || \
14839
 
   test "X$hardcode_automatic_F77"="Xyes" ; then
 
15744
   test -n "$runpath_var_F77" || \
 
15745
   test "X$hardcode_automatic_F77" = "Xyes" ; then
14840
15746
 
14841
15747
  # We can hardcode non-existant directories.
14842
15748
  if test "$hardcode_direct_F77" != no &&
15013
15919
# The host system.
15014
15920
host_alias=$host_alias
15015
15921
host=$host
 
15922
host_os=$host_os
 
15923
 
 
15924
# The build system.
 
15925
build_alias=$build_alias
 
15926
build=$build
 
15927
build_os=$build_os
15016
15928
 
15017
15929
# An echo program that does not interpret backslashes.
15018
15930
echo=$lt_echo
15089
16001
# Does compiler simultaneously support -c and -o options?
15090
16002
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_F77
15091
16003
 
15092
 
# Must we lock files when doing compilation ?
 
16004
# Must we lock files when doing compilation?
15093
16005
need_locks=$lt_need_locks
15094
16006
 
15095
16007
# Do we need the lib prefix for modules?
15327
16239
lt_simple_compile_test_code="class foo {}\n"
15328
16240
 
15329
16241
# Code to be used in simple link tests
15330
 
lt_simple_link_test_code='public class conftest { public static void main(String argv) {}; }\n'
 
16242
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
15331
16243
 
15332
16244
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
15333
16245
 
15338
16250
compiler=$CC
15339
16251
 
15340
16252
 
 
16253
# save warnings/boilerplate of simple test code
 
16254
ac_outfile=conftest.$ac_objext
 
16255
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16256
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16257
_lt_compiler_boilerplate=`cat conftest.err`
 
16258
$rm conftest*
 
16259
 
 
16260
ac_outfile=conftest.$ac_objext
 
16261
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16262
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
16263
_lt_linker_boilerplate=`cat conftest.err`
 
16264
$rm conftest*
 
16265
 
 
16266
 
15341
16267
# Allow CC to be a program name with arguments.
15342
16268
lt_save_CC="$CC"
15343
16269
CC=${GCJ-"gcj"}
15344
16270
compiler=$CC
15345
16271
compiler_GCJ=$CC
 
16272
for cc_temp in $compiler""; do
 
16273
  case $cc_temp in
 
16274
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
16275
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
16276
    \-*) ;;
 
16277
    *) break;;
 
16278
  esac
 
16279
done
 
16280
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
16281
 
15346
16282
 
15347
16283
# GCJ did not exist at the time GCC didn't implicitly link libc in.
15348
16284
archive_cmds_need_lc_GCJ=no
15349
16285
 
 
16286
old_archive_cmds_GCJ=$old_archive_cmds
 
16287
 
15350
16288
 
15351
16289
lt_prog_compiler_no_builtin_flag_GCJ=
15352
16290
 
15369
16307
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15370
16308
   # The option is referenced via a variable to avoid confusing sed.
15371
16309
   lt_compile=`echo "$ac_compile" | $SED \
15372
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
16310
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15373
16311
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15374
16312
   -e 's:$: $lt_compiler_flag:'`
15375
 
   (eval echo "\"\$as_me:15375: $lt_compile\"" >&5)
 
16313
   (eval echo "\"\$as_me:16313: $lt_compile\"" >&5)
15376
16314
   (eval "$lt_compile" 2>conftest.err)
15377
16315
   ac_status=$?
15378
16316
   cat conftest.err >&5
15379
 
   echo "$as_me:15379: \$? = $ac_status" >&5
 
16317
   echo "$as_me:16317: \$? = $ac_status" >&5
15380
16318
   if (exit $ac_status) && test -s "$ac_outfile"; then
15381
16319
     # The compiler can only warn and ignore the option if not recognized
15382
 
     # So say no if there are warnings
15383
 
     if test ! -s conftest.err; then
 
16320
     # So say no if there are warnings other than the usual output.
 
16321
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
16322
     $SED '/^$/d' conftest.err >conftest.er2
 
16323
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15384
16324
       lt_cv_prog_compiler_rtti_exceptions=yes
15385
16325
     fi
15386
16326
   fi
15457
16397
    hpux*)
15458
16398
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15459
16399
      # not for PA HP-UX.
15460
 
      case "$host_cpu" in
 
16400
      case $host_cpu in
15461
16401
      hppa*64*|ia64*)
15462
16402
        # +Z the default
15463
16403
        ;;
15483
16423
        lt_prog_compiler_static_GCJ='-bnso -bI:/lib/syscalls.exp'
15484
16424
      fi
15485
16425
      ;;
 
16426
      darwin*)
 
16427
        # PIC is the default on this platform
 
16428
        # Common symbols not allowed in MH_DYLIB files
 
16429
       case $cc_basename in
 
16430
         xlc*)
 
16431
         lt_prog_compiler_pic_GCJ='-qnocommon'
 
16432
         lt_prog_compiler_wl_GCJ='-Wl,'
 
16433
         ;;
 
16434
       esac
 
16435
       ;;
15486
16436
 
15487
16437
    mingw* | pw32* | os2*)
15488
16438
      # This hack is so that the source file can tell whether it is being
15494
16444
      lt_prog_compiler_wl_GCJ='-Wl,'
15495
16445
      # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
15496
16446
      # not for PA HP-UX.
15497
 
      case "$host_cpu" in
 
16447
      case $host_cpu in
15498
16448
      hppa*64*|ia64*)
15499
16449
        # +Z the default
15500
16450
        ;;
15518
16468
      ;;
15519
16469
 
15520
16470
    linux*)
15521
 
      case $CC in
 
16471
      case $cc_basename in
15522
16472
      icc* | ecc*)
15523
16473
        lt_prog_compiler_wl_GCJ='-Wl,'
15524
16474
        lt_prog_compiler_pic_GCJ='-KPIC'
15525
16475
        lt_prog_compiler_static_GCJ='-static'
15526
16476
        ;;
 
16477
      pgcc* | pgf77* | pgf90* | pgf95*)
 
16478
        # Portland Group compilers (*not* the Pentium gcc compiler,
 
16479
        # which looks to be a dead project)
 
16480
        lt_prog_compiler_wl_GCJ='-Wl,'
 
16481
        lt_prog_compiler_pic_GCJ='-fpic'
 
16482
        lt_prog_compiler_static_GCJ='-Bstatic'
 
16483
        ;;
15527
16484
      ccc*)
15528
16485
        lt_prog_compiler_wl_GCJ='-Wl,'
15529
16486
        # All Alpha code is PIC.
15544
16501
      ;;
15545
16502
 
15546
16503
    solaris*)
15547
 
      lt_prog_compiler_wl_GCJ='-Wl,'
15548
16504
      lt_prog_compiler_pic_GCJ='-KPIC'
15549
16505
      lt_prog_compiler_static_GCJ='-Bstatic'
 
16506
      case $cc_basename in
 
16507
      f77* | f90* | f95*)
 
16508
        lt_prog_compiler_wl_GCJ='-Qoption ld ';;
 
16509
      *)
 
16510
        lt_prog_compiler_wl_GCJ='-Wl,';;
 
16511
      esac
15550
16512
      ;;
15551
16513
 
15552
16514
    sunos4*)
15568
16530
      fi
15569
16531
      ;;
15570
16532
 
 
16533
    unicos*)
 
16534
      lt_prog_compiler_wl_GCJ='-Wl,'
 
16535
      lt_prog_compiler_can_build_shared_GCJ=no
 
16536
      ;;
 
16537
 
15571
16538
    uts4*)
15572
16539
      lt_prog_compiler_pic_GCJ='-pic'
15573
16540
      lt_prog_compiler_static_GCJ='-Bstatic'
15602
16569
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15603
16570
   # The option is referenced via a variable to avoid confusing sed.
15604
16571
   lt_compile=`echo "$ac_compile" | $SED \
15605
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
16572
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15606
16573
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15607
16574
   -e 's:$: $lt_compiler_flag:'`
15608
 
   (eval echo "\"\$as_me:15608: $lt_compile\"" >&5)
 
16575
   (eval echo "\"\$as_me:16575: $lt_compile\"" >&5)
15609
16576
   (eval "$lt_compile" 2>conftest.err)
15610
16577
   ac_status=$?
15611
16578
   cat conftest.err >&5
15612
 
   echo "$as_me:15612: \$? = $ac_status" >&5
 
16579
   echo "$as_me:16579: \$? = $ac_status" >&5
15613
16580
   if (exit $ac_status) && test -s "$ac_outfile"; then
15614
16581
     # The compiler can only warn and ignore the option if not recognized
15615
 
     # So say no if there are warnings
15616
 
     if test ! -s conftest.err; then
 
16582
     # So say no if there are warnings other than the usual output.
 
16583
     $echo "X$_lt_compiler_boilerplate" | $Xsed >conftest.exp
 
16584
     $SED '/^$/d' conftest.err >conftest.er2
 
16585
     if test ! -s conftest.err || diff conftest.exp conftest.er2 >/dev/null; then
15617
16586
       lt_prog_compiler_pic_works_GCJ=yes
15618
16587
     fi
15619
16588
   fi
15634
16603
fi
15635
16604
 
15636
16605
fi
15637
 
case "$host_os" in
 
16606
case $host_os in
15638
16607
  # For platforms which do not support PIC, -DPIC is meaningless:
15639
16608
  *djgpp*)
15640
16609
    lt_prog_compiler_pic_GCJ=
15662
16631
   # Note that $ac_compile itself does not contain backslashes and begins
15663
16632
   # with a dollar sign (not a hyphen), so the echo should work correctly.
15664
16633
   lt_compile=`echo "$ac_compile" | $SED \
15665
 
   -e 's:.*FLAGS}? :&$lt_compiler_flag :; t' \
 
16634
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
15666
16635
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
15667
16636
   -e 's:$: $lt_compiler_flag:'`
15668
 
   (eval echo "\"\$as_me:15668: $lt_compile\"" >&5)
 
16637
   (eval echo "\"\$as_me:16637: $lt_compile\"" >&5)
15669
16638
   (eval "$lt_compile" 2>out/conftest.err)
15670
16639
   ac_status=$?
15671
16640
   cat out/conftest.err >&5
15672
 
   echo "$as_me:15672: \$? = $ac_status" >&5
 
16641
   echo "$as_me:16641: \$? = $ac_status" >&5
15673
16642
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
15674
16643
   then
15675
16644
     # The compiler can only warn and ignore the option if not recognized
15676
16645
     # So say no if there are warnings
15677
 
     if test ! -s out/conftest.err; then
 
16646
     $echo "X$_lt_compiler_boilerplate" | $Xsed > out/conftest.exp
 
16647
     $SED '/^$/d' out/conftest.err >out/conftest.er2
 
16648
     if test ! -s out/conftest.err || diff out/conftest.exp out/conftest.er2 >/dev/null; then
15678
16649
       lt_cv_prog_compiler_c_o_GCJ=yes
15679
16650
     fi
15680
16651
   fi
15681
 
   chmod u+w .
 
16652
   chmod u+w . 2>&5
15682
16653
   $rm conftest*
15683
16654
   # SGI C++ compiler will create directory out/ii_files/ for
15684
16655
   # template instantiation
15754
16725
  # rely on this symbol name, it's probably fine to never include it in
15755
16726
  # preloaded symbol tables.
15756
16727
  extract_expsyms_cmds=
 
16728
  # Just being paranoid about ensuring that cc_basename is set.
 
16729
  for cc_temp in $compiler""; do
 
16730
  case $cc_temp in
 
16731
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
16732
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
16733
    \-*) ;;
 
16734
    *) break;;
 
16735
  esac
 
16736
done
 
16737
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
15757
16738
 
15758
16739
  case $host_os in
15759
16740
  cygwin* | mingw* | pw32*)
15774
16755
    # If archive_cmds runs LD, not CC, wlarc should be empty
15775
16756
    wlarc='${wl}'
15776
16757
 
 
16758
    # Set some defaults for GNU ld with shared library support. These
 
16759
    # are reset later if shared libraries are not supported. Putting them
 
16760
    # here allows them to be overridden if necessary.
 
16761
    runpath_var=LD_RUN_PATH
 
16762
    hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
 
16763
    export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
 
16764
    # ancient GNU ld didn't support --whole-archive et. al.
 
16765
    if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
 
16766
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
16767
      else
 
16768
        whole_archive_flag_spec_GCJ=
 
16769
    fi
 
16770
    supports_anon_versioning=no
 
16771
    case `$LD -v 2>/dev/null` in
 
16772
      *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
 
16773
      *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
 
16774
      *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
 
16775
      *\ 2.11.*) ;; # other 2.11 versions
 
16776
      *) supports_anon_versioning=yes ;;
 
16777
    esac
 
16778
 
15777
16779
    # See if GNU ld supports shared libraries.
15778
16780
    case $host_os in
15779
16781
    aix3* | aix4* | aix5*)
15824
16826
      allow_undefined_flag_GCJ=unsupported
15825
16827
      always_export_symbols_GCJ=no
15826
16828
      enable_shared_with_static_runtimes_GCJ=yes
15827
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
16829
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
15828
16830
 
15829
16831
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
15830
16832
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000 ${wl}--out-implib,$lib'
15838
16840
        fi~
15839
16841
        $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--image-base=0x10000000  ${wl}--out-implib,$lib'
15840
16842
      else
15841
 
        ld_shlibs=no
15842
 
      fi
15843
 
      ;;
15844
 
 
15845
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
16843
        ld_shlibs_GCJ=no
 
16844
      fi
 
16845
      ;;
 
16846
 
 
16847
    linux*)
 
16848
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
 
16849
        tmp_addflag=
 
16850
        case $cc_basename,$host_cpu in
 
16851
        pgcc*)                          # Portland Group C compiler
 
16852
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
16853
          tmp_addflag=' $pic_flag'
 
16854
          ;;
 
16855
        pgf77* | pgf90* | pgf95*)       # Portland Group f77 and f90 compilers
 
16856
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`for conv in $convenience\"\"; do test  -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
16857
          tmp_addflag=' $pic_flag -Mnomain' ;;
 
16858
        ecc*,ia64* | icc*,ia64*)                # Intel C compiler on ia64
 
16859
          tmp_addflag=' -i_dynamic' ;;
 
16860
        efc*,ia64* | ifort*,ia64*)      # Intel Fortran compiler on ia64
 
16861
          tmp_addflag=' -i_dynamic -nofor_main' ;;
 
16862
        ifc* | ifort*)                  # Intel Fortran compiler
 
16863
          tmp_addflag=' -nofor_main' ;;
 
16864
        esac
 
16865
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
16866
 
 
16867
        if test $supports_anon_versioning = yes; then
 
16868
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
 
16869
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
 
16870
  $echo "local: *; };" >> $output_objdir/$libname.ver~
 
16871
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
16872
        fi
 
16873
      else
 
16874
        ld_shlibs_GCJ=no
 
16875
      fi
 
16876
      ;;
 
16877
 
 
16878
    netbsd*)
15846
16879
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
15847
16880
        archive_cmds_GCJ='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
15848
16881
        wlarc=
15880
16913
      hardcode_shlibpath_var_GCJ=no
15881
16914
      ;;
15882
16915
 
15883
 
  linux*)
15884
 
    if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15885
 
        tmp_archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15886
 
        archive_cmds_GCJ="$tmp_archive_cmds"
15887
 
      supports_anon_versioning=no
15888
 
      case `$LD -v 2>/dev/null` in
15889
 
        *\ 01.* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
15890
 
        *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
15891
 
        *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
15892
 
        *\ 2.11.*) ;; # other 2.11 versions
15893
 
        *) supports_anon_versioning=yes ;;
15894
 
      esac
15895
 
      if test $supports_anon_versioning = yes; then
15896
 
        archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
15897
 
cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
15898
 
$echo "local: *; };" >> $output_objdir/$libname.ver~
15899
 
        $CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
15900
 
      else
15901
 
        archive_expsym_cmds_GCJ="$tmp_archive_cmds"
15902
 
      fi
15903
 
      link_all_deplibs_GCJ=no
15904
 
    else
15905
 
      ld_shlibs_GCJ=no
15906
 
    fi
15907
 
    ;;
15908
 
 
15909
16916
    *)
15910
16917
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
15911
16918
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
15916
16923
      ;;
15917
16924
    esac
15918
16925
 
15919
 
    if test "$ld_shlibs_GCJ" = yes; then
15920
 
      runpath_var=LD_RUN_PATH
15921
 
      hardcode_libdir_flag_spec_GCJ='${wl}--rpath ${wl}$libdir'
15922
 
      export_dynamic_flag_spec_GCJ='${wl}--export-dynamic'
15923
 
      # ancient GNU ld didn't support --whole-archive et. al.
15924
 
      if $LD --help 2>&1 | grep 'no-whole-archive' > /dev/null; then
15925
 
        whole_archive_flag_spec_GCJ="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
15926
 
      else
15927
 
        whole_archive_flag_spec_GCJ=
15928
 
      fi
 
16926
    if test "$ld_shlibs_GCJ" = no; then
 
16927
      runpath_var=
 
16928
      hardcode_libdir_flag_spec_GCJ=
 
16929
      export_dynamic_flag_spec_GCJ=
 
16930
      whole_archive_flag_spec_GCJ=
15929
16931
    fi
15930
16932
  else
15931
16933
    # PORTME fill in a description of your system's linker (not GNU ld)
15989
16991
      link_all_deplibs_GCJ=yes
15990
16992
 
15991
16993
      if test "$GCC" = yes; then
15992
 
        case $host_os in aix4.012|aix4.012.*)
 
16994
        case $host_os in aix4.[012]|aix4.[012].*)
15993
16995
        # We only want to do this on AIX 4.2 and lower, the check
15994
16996
        # below for broken collect2 doesn't work under 4.3+
15995
16997
          collect2name=`${CC} -print-prog-name=collect2`
16010
17012
          fi
16011
17013
        esac
16012
17014
        shared_flag='-shared'
 
17015
        if test "$aix_use_runtimelinking" = yes; then
 
17016
          shared_flag="$shared_flag "'${wl}-G'
 
17017
        fi
16013
17018
      else
16014
17019
        # not using gcc
16015
17020
        if test "$host_cpu" = ia64; then
16057
17062
  cat conftest.err >&5
16058
17063
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16059
17064
  (exit $ac_status); } &&
16060
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17065
         { ac_try='test -z "$ac_c_werror_flag"
 
17066
                         || test ! -s conftest.err'
16061
17067
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16062
17068
  (eval $ac_try) 2>&5
16063
17069
  ac_status=$?
16117
17123
  cat conftest.err >&5
16118
17124
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
16119
17125
  (exit $ac_status); } &&
16120
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
17126
         { ac_try='test -z "$ac_c_werror_flag"
 
17127
                         || test ! -s conftest.err'
16121
17128
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
16122
17129
  (eval $ac_try) 2>&5
16123
17130
  ac_status=$?
16154
17161
          # Exported symbols can be pulled into shared objects from archives
16155
17162
          whole_archive_flag_spec_GCJ=' '
16156
17163
          archive_cmds_need_lc_GCJ=yes
16157
 
          # This is similar to how AIX traditionally builds it's shared libraries.
 
17164
          # This is similar to how AIX traditionally builds its shared libraries.
16158
17165
          archive_expsym_cmds_GCJ="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs $compiler_flags ${wl}-bE:$export_symbols ${wl}-bnoentry${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
16159
17166
        fi
16160
17167
      fi
16168
17175
      ld_shlibs_GCJ=no
16169
17176
      ;;
16170
17177
 
16171
 
    bsdi4*)
 
17178
    bsdi[45]*)
16172
17179
      export_dynamic_flag_spec_GCJ=-rdynamic
16173
17180
      ;;
16174
17181
 
16189
17196
      old_archive_From_new_cmds_GCJ='true'
16190
17197
      # FIXME: Should let the user specify the lib program.
16191
17198
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
16192
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
 
17199
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
16193
17200
      enable_shared_with_static_runtimes_GCJ=yes
16194
17201
      ;;
16195
17202
 
16196
17203
    darwin* | rhapsody*)
16197
 
    if test "$GXX" = yes ; then
 
17204
      case $host_os in
 
17205
        rhapsody* | darwin1.[012])
 
17206
         allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
 
17207
         ;;
 
17208
       *) # Darwin 1.3 on
 
17209
         if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
 
17210
           allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
17211
         else
 
17212
           case ${MACOSX_DEPLOYMENT_TARGET} in
 
17213
             10.[012])
 
17214
               allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
 
17215
               ;;
 
17216
             10.*)
 
17217
               allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
 
17218
               ;;
 
17219
           esac
 
17220
         fi
 
17221
         ;;
 
17222
      esac
16198
17223
      archive_cmds_need_lc_GCJ=no
16199
 
      case "$host_os" in
16200
 
      rhapsody* | darwin1.[012])
16201
 
        allow_undefined_flag_GCJ='-undefined suppress'
16202
 
        ;;
16203
 
      *) # Darwin 1.3 on
16204
 
      if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
16205
 
        allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16206
 
      else
16207
 
        case ${MACOSX_DEPLOYMENT_TARGET} in
16208
 
          10.[012])
16209
 
            allow_undefined_flag_GCJ='-flat_namespace -undefined suppress'
16210
 
            ;;
16211
 
          10.*)
16212
 
            allow_undefined_flag_GCJ='-undefined dynamic_lookup'
16213
 
            ;;
16214
 
        esac
16215
 
      fi
16216
 
        ;;
16217
 
      esac
16218
 
        lt_int_apple_cc_single_mod=no
16219
 
        output_verbose_link_cmd='echo'
16220
 
        if $CC -dumpspecs 2>&1 | grep 'single_module' >/dev/null ; then
16221
 
          lt_int_apple_cc_single_mod=yes
16222
 
        fi
16223
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16224
 
          archive_cmds_GCJ='$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16225
 
        else
16226
 
        archive_cmds_GCJ='$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
16227
 
      fi
16228
 
      module_cmds_GCJ='$CC ${wl}-bind_at_load $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
16229
 
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin ld's
16230
 
        if test "X$lt_int_apple_cc_single_mod" = Xyes ; then
16231
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib -single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16232
 
        else
16233
 
          archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -r ${wl}-bind_at_load -keep_private_externs -nostdlib -o ${lib}-master.o $libobjs~$CC -dynamiclib $allow_undefined_flag -o $lib ${lib}-master.o $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16234
 
        fi
16235
 
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16236
17224
      hardcode_direct_GCJ=no
16237
17225
      hardcode_automatic_GCJ=yes
16238
17226
      hardcode_shlibpath_var_GCJ=unsupported
16239
 
      whole_archive_flag_spec_GCJ='-all_load $convenience'
 
17227
      whole_archive_flag_spec_GCJ=''
16240
17228
      link_all_deplibs_GCJ=yes
 
17229
    if test "$GCC" = yes ; then
 
17230
        output_verbose_link_cmd='echo'
 
17231
        archive_cmds_GCJ='$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring'
 
17232
      module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
17233
      # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
17234
      archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -dynamiclib $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags -install_name $rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17235
      module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
16241
17236
    else
16242
 
      ld_shlibs_GCJ=no
 
17237
      case $cc_basename in
 
17238
        xlc*)
 
17239
         output_verbose_link_cmd='echo'
 
17240
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17241
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
 
17242
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
 
17243
         archive_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}$rpath/$soname $verstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17244
          module_expsym_cmds_GCJ='sed -e "s,#.*,," -e "s,^[    ]*,," -e "s,^\(..*\),_&," < $export_symbols > $output_objdir/${libname}-symbols.expsym~$CC $allow_undefined_flag  -o $lib -bundle $libobjs $deplibs$compiler_flags~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
 
17245
          ;;
 
17246
       *)
 
17247
         ld_shlibs_GCJ=no
 
17248
          ;;
 
17249
      esac
16243
17250
    fi
16244
17251
      ;;
16245
17252
 
16273
17280
      ;;
16274
17281
 
16275
17282
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
16276
 
    freebsd* | kfreebsd*-gnu)
 
17283
    freebsd* | kfreebsd*-gnu | dragonfly*)
16277
17284
      archive_cmds_GCJ='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
16278
17285
      hardcode_libdir_flag_spec_GCJ='-R$libdir'
16279
17286
      hardcode_direct_GCJ=yes
16298
17305
 
16299
17306
    hpux10* | hpux11*)
16300
17307
      if test "$GCC" = yes -a "$with_gnu_ld" = no; then
16301
 
        case "$host_cpu" in
 
17308
        case $host_cpu in
16302
17309
        hppa*64*|ia64*)
16303
17310
          archive_cmds_GCJ='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16304
17311
          ;;
16307
17314
          ;;
16308
17315
        esac
16309
17316
      else
16310
 
        case "$host_cpu" in
 
17317
        case $host_cpu in
16311
17318
        hppa*64*|ia64*)
16312
17319
          archive_cmds_GCJ='$LD -b +h $soname -o $lib $libobjs $deplibs $linker_flags'
16313
17320
          ;;
16317
17324
        esac
16318
17325
      fi
16319
17326
      if test "$with_gnu_ld" = no; then
16320
 
        case "$host_cpu" in
 
17327
        case $host_cpu in
16321
17328
        hppa*64*)
16322
17329
          hardcode_libdir_flag_spec_GCJ='${wl}+b ${wl}$libdir'
16323
17330
          hardcode_libdir_flag_spec_ld_GCJ='+b $libdir'
16360
17367
      link_all_deplibs_GCJ=yes
16361
17368
      ;;
16362
17369
 
16363
 
    netbsd* | netbsdelf*-gnu | knetbsd*-gnu)
 
17370
    netbsd*)
16364
17371
      if echo __ELF__ | $CC -E - | grep __ELF__ >/dev/null; then
16365
17372
        archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
16366
17373
      else
16384
17391
      hardcode_shlibpath_var_GCJ=no
16385
17392
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
16386
17393
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17394
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
16387
17395
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
16388
17396
        export_dynamic_flag_spec_GCJ='${wl}-E'
16389
17397
      else
16429
17437
        allow_undefined_flag_GCJ=' -expect_unresolved \*'
16430
17438
        archive_cmds_GCJ='$LD -shared${allow_undefined_flag} $libobjs $deplibs $linker_flags -msym -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib'
16431
17439
        archive_expsym_cmds_GCJ='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; echo "-hidden">> $lib.exp~
16432
 
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${objdir}/so_locations -o $lib~$rm $lib.exp'
 
17440
        $LD -shared${allow_undefined_flag} -input $lib.exp $linker_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && echo -set_version $verstring` -update_registry ${output_objdir}/so_locations -o $lib~$rm $lib.exp'
16433
17441
 
16434
17442
        # Both c and cxx compiler support -rpath directly
16435
17443
        hardcode_libdir_flag_spec_GCJ='-rpath $libdir'
16448
17456
    solaris*)
16449
17457
      no_undefined_flag_GCJ=' -z text'
16450
17458
      if test "$GCC" = yes; then
 
17459
        wlarc='${wl}'
16451
17460
        archive_cmds_GCJ='$CC -shared ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
16452
17461
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16453
17462
          $CC -shared ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$rm $lib.exp'
16454
17463
      else
 
17464
        wlarc=''
16455
17465
        archive_cmds_GCJ='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
16456
17466
        archive_expsym_cmds_GCJ='$echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~$echo "local: *; };" >> $lib.exp~
16457
17467
        $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$rm $lib.exp'
16460
17470
      hardcode_shlibpath_var_GCJ=no
16461
17471
      case $host_os in
16462
17472
      solaris2.[0-5] | solaris2.[0-5].*) ;;
16463
 
      *) # Supported since Solaris 2.6 (maybe 2.5.1?)
16464
 
        whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
17473
      *)
 
17474
        # The compiler driver will combine linker options so we
 
17475
        # cannot just pass the convience library names through
 
17476
        # without $wl, iff we do not link with $LD.
 
17477
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17478
        # Supported since Solaris 2.6 (maybe 2.5.1?)
 
17479
        case $wlarc in
 
17480
        '')
 
17481
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
 
17482
        *)
 
17483
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}-z ${wl}defaultextract' ;;
 
17484
        esac ;;
16465
17485
      esac
16466
17486
      link_all_deplibs_GCJ=yes
16467
17487
      ;;
16735
17755
  shlibpath_var=LIBRARY_PATH
16736
17756
  ;;
16737
17757
 
16738
 
bsdi4*)
 
17758
bsdi[45]*)
16739
17759
  version_type=linux
16740
17760
  need_version=no
16741
17761
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
16763
17783
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i;echo \$dlname'\''`~
16764
17784
      dldir=$destdir/`dirname \$dlpath`~
16765
17785
      test -d \$dldir || mkdir -p \$dldir~
16766
 
      $install_prog $dir/$dlname \$dldir/$dlname'
 
17786
      $install_prog $dir/$dlname \$dldir/$dlname~
 
17787
      chmod a+x \$dldir/$dlname'
16767
17788
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
16768
17789
      dlpath=$dir/\$dldll~
16769
17790
       $rm \$dlpath'
16793
17814
      ;;
16794
17815
    pw32*)
16795
17816
      # pw32 DLLs use 'pw' prefix rather than 'lib'
16796
 
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/./-/g'`${versuffix}${shared_ext}'
 
17817
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
16797
17818
      ;;
16798
17819
    esac
16799
17820
    ;;
16816
17837
  soname_spec='${libname}${release}${major}$shared_ext'
16817
17838
  shlibpath_overrides_runpath=yes
16818
17839
  shlibpath_var=DYLD_LIBRARY_PATH
16819
 
  shrext_cmds='$(test .$module = .yes && echo .so || echo .dylib)'
 
17840
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
16820
17841
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
16821
17842
  if test "$GCC" = yes; then
16822
17843
    sys_lib_search_path_spec=`$CC -print-search-dirs | tr "\n" "$PATH_SEPARATOR" | sed -e 's/libraries:/@libraries:/' | tr "@" "\n" | grep "^libraries:" | sed -e "s/^libraries://" -e "s,=/,/,g" -e "s,$PATH_SEPARATOR, ,g" -e "s,.*,& /lib /usr/lib /usr/local/lib,g"`
16851
17872
  dynamic_linker='GNU ld.so'
16852
17873
  ;;
16853
17874
 
16854
 
freebsd*)
16855
 
  objformat=`test -x /usr/bin/objformat && /usr/bin/objformat || echo aout`
 
17875
freebsd* | dragonfly*)
 
17876
  # DragonFly does not have aout.  When/if they implement a new
 
17877
  # versioning mechanism, adjust this.
 
17878
  if test -x /usr/bin/objformat; then
 
17879
    objformat=`/usr/bin/objformat`
 
17880
  else
 
17881
    case $host_os in
 
17882
    freebsd[123]*) objformat=aout ;;
 
17883
    *) objformat=elf ;;
 
17884
    esac
 
17885
  fi
16856
17886
  version_type=freebsd-$objformat
16857
17887
  case $version_type in
16858
17888
    freebsd-elf*)
16870
17900
  freebsd2*)
16871
17901
    shlibpath_overrides_runpath=yes
16872
17902
    ;;
16873
 
  freebsd3.01* | freebsdelf3.01*)
 
17903
  freebsd3.[01]* | freebsdelf3.[01]*)
16874
17904
    shlibpath_overrides_runpath=yes
16875
17905
    hardcode_into_libs=yes
16876
17906
    ;;
16897
17927
  version_type=sunos
16898
17928
  need_lib_prefix=no
16899
17929
  need_version=no
16900
 
  case "$host_cpu" in
 
17930
  case $host_cpu in
16901
17931
  ia64*)
16902
17932
    shrext_cmds='.so'
16903
17933
    hardcode_into_libs=yes
16994
18024
  # before this can be enabled.
16995
18025
  hardcode_into_libs=yes
16996
18026
 
 
18027
  # find out which ABI we are using
 
18028
  libsuff=
 
18029
  case "$host_cpu" in
 
18030
  x86_64*|s390x*|powerpc64*)
 
18031
    echo '#line 18031 "configure"' > conftest.$ac_ext
 
18032
    if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
 
18033
  (eval $ac_compile) 2>&5
 
18034
  ac_status=$?
 
18035
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
18036
  (exit $ac_status); }; then
 
18037
      case `/usr/bin/file conftest.$ac_objext` in
 
18038
      *64-bit*)
 
18039
        libsuff=64
 
18040
        sys_lib_search_path_spec="/lib${libsuff} /usr/lib${libsuff} /usr/local/lib${libsuff}"
 
18041
        ;;
 
18042
      esac
 
18043
    fi
 
18044
    rm -rf conftest*
 
18045
    ;;
 
18046
  esac
 
18047
 
16997
18048
  # Append ld.so.conf contents to the search path
16998
18049
  if test -f /etc/ld.so.conf; then
16999
 
    lt_ld_extra=`$SED -e 's/:,\t/ /g;s/=^=*$//;s/=^= * / /g' /etc/ld.so.conf | tr '\n' ' '`
17000
 
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
 
18050
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;s/[:,        ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
 
18051
    sys_lib_dlsearch_path_spec="/lib${libsuff} /usr/lib${libsuff} $lt_ld_extra"
17001
18052
  fi
17002
18053
 
17003
18054
  # We used to test for /lib/ld.so.1 and disable shared libraries on
17009
18060
  dynamic_linker='GNU/Linux ld.so'
17010
18061
  ;;
17011
18062
 
17012
 
netbsdelf*-gnu)
17013
 
  version_type=linux
17014
 
  need_lib_prefix=no
17015
 
  need_version=no
17016
 
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
17017
 
  soname_spec='${libname}${release}${shared_ext}$major'
17018
 
  shlibpath_var=LD_LIBRARY_PATH
17019
 
  shlibpath_overrides_runpath=no
17020
 
  hardcode_into_libs=yes
17021
 
  dynamic_linker='NetBSD ld.elf_so'
17022
 
  ;;
17023
 
 
17024
18063
knetbsd*-gnu)
17025
18064
  version_type=linux
17026
18065
  need_lib_prefix=no
17071
18110
openbsd*)
17072
18111
  version_type=sunos
17073
18112
  need_lib_prefix=no
17074
 
  need_version=yes
 
18113
  # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
 
18114
  case $host_os in
 
18115
    openbsd3.3 | openbsd3.3.*) need_version=yes ;;
 
18116
    *)                         need_version=no  ;;
 
18117
  esac
17075
18118
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
17076
18119
  finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
17077
18120
  shlibpath_var=LD_LIBRARY_PATH
17193
18236
echo $ECHO_N "checking how to hardcode library paths into programs... $ECHO_C" >&6
17194
18237
hardcode_action_GCJ=
17195
18238
if test -n "$hardcode_libdir_flag_spec_GCJ" || \
17196
 
   test -n "$runpath_var GCJ" || \
17197
 
   test "X$hardcode_automatic_GCJ"="Xyes" ; then
 
18239
   test -n "$runpath_var_GCJ" || \
 
18240
   test "X$hardcode_automatic_GCJ" = "Xyes" ; then
17198
18241
 
17199
18242
  # We can hardcode non-existant directories.
17200
18243
  if test "$hardcode_direct_GCJ" != no &&
17320
18363
  cat conftest.err >&5
17321
18364
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17322
18365
  (exit $ac_status); } &&
17323
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18366
         { ac_try='test -z "$ac_c_werror_flag"
 
18367
                         || test ! -s conftest.err'
17324
18368
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17325
18369
  (eval $ac_try) 2>&5
17326
18370
  ac_status=$?
17423
18467
  cat conftest.err >&5
17424
18468
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17425
18469
  (exit $ac_status); } &&
17426
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18470
         { ac_try='test -z "$ac_c_werror_flag"
 
18471
                         || test ! -s conftest.err'
17427
18472
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17428
18473
  (eval $ac_try) 2>&5
17429
18474
  ac_status=$?
17488
18533
  cat conftest.err >&5
17489
18534
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17490
18535
  (exit $ac_status); } &&
17491
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18536
         { ac_try='test -z "$ac_c_werror_flag"
 
18537
                         || test ! -s conftest.err'
17492
18538
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17493
18539
  (eval $ac_try) 2>&5
17494
18540
  ac_status=$?
17581
18627
  cat conftest.err >&5
17582
18628
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583
18629
  (exit $ac_status); } &&
17584
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18630
         { ac_try='test -z "$ac_c_werror_flag"
 
18631
                         || test ! -s conftest.err'
17585
18632
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17586
18633
  (eval $ac_try) 2>&5
17587
18634
  ac_status=$?
17646
18693
  cat conftest.err >&5
17647
18694
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17648
18695
  (exit $ac_status); } &&
17649
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18696
         { ac_try='test -z "$ac_c_werror_flag"
 
18697
                         || test ! -s conftest.err'
17650
18698
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17651
18699
  (eval $ac_try) 2>&5
17652
18700
  ac_status=$?
17712
18760
  cat conftest.err >&5
17713
18761
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17714
18762
  (exit $ac_status); } &&
17715
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18763
         { ac_try='test -z "$ac_c_werror_flag"
 
18764
                         || test ! -s conftest.err'
17716
18765
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17717
18766
  (eval $ac_try) 2>&5
17718
18767
  ac_status=$?
17778
18827
  cat conftest.err >&5
17779
18828
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17780
18829
  (exit $ac_status); } &&
17781
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
18830
         { ac_try='test -z "$ac_c_werror_flag"
 
18831
                         || test ! -s conftest.err'
17782
18832
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
17783
18833
  (eval $ac_try) 2>&5
17784
18834
  ac_status=$?
17853
18903
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17854
18904
  lt_status=$lt_dlunknown
17855
18905
  cat > conftest.$ac_ext <<EOF
17856
 
#line 17856 "configure"
 
18906
#line 18906 "configure"
17857
18907
#include "confdefs.h"
17858
18908
 
17859
18909
#if HAVE_DLFCN_H
17919
18969
  ac_status=$?
17920
18970
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17921
18971
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
17922
 
    (./conftest; exit; ) 2>/dev/null
 
18972
    (./conftest; exit; ) >&5 2>/dev/null
17923
18973
    lt_status=$?
17924
18974
    case x$lt_status in
17925
18975
      x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
17951
19001
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
17952
19002
  lt_status=$lt_dlunknown
17953
19003
  cat > conftest.$ac_ext <<EOF
17954
 
#line 17954 "configure"
 
19004
#line 19004 "configure"
17955
19005
#include "confdefs.h"
17956
19006
 
17957
19007
#if HAVE_DLFCN_H
18017
19067
  ac_status=$?
18018
19068
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
18019
19069
  (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
18020
 
    (./conftest; exit; ) 2>/dev/null
 
19070
    (./conftest; exit; ) >&5 2>/dev/null
18021
19071
    lt_status=$?
18022
19072
    case x$lt_status in
18023
19073
      x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
18169
19219
# The host system.
18170
19220
host_alias=$host_alias
18171
19221
host=$host
 
19222
host_os=$host_os
 
19223
 
 
19224
# The build system.
 
19225
build_alias=$build_alias
 
19226
build=$build
 
19227
build_os=$build_os
18172
19228
 
18173
19229
# An echo program that does not interpret backslashes.
18174
19230
echo=$lt_echo
18245
19301
# Does compiler simultaneously support -c and -o options?
18246
19302
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_GCJ
18247
19303
 
18248
 
# Must we lock files when doing compilation ?
 
19304
# Must we lock files when doing compilation?
18249
19305
need_locks=$lt_need_locks
18250
19306
 
18251
19307
# Do we need the lib prefix for modules?
18493
19549
compiler=$CC
18494
19550
 
18495
19551
 
 
19552
# save warnings/boilerplate of simple test code
 
19553
ac_outfile=conftest.$ac_objext
 
19554
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19555
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
19556
_lt_compiler_boilerplate=`cat conftest.err`
 
19557
$rm conftest*
 
19558
 
 
19559
ac_outfile=conftest.$ac_objext
 
19560
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19561
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d' >conftest.err
 
19562
_lt_linker_boilerplate=`cat conftest.err`
 
19563
$rm conftest*
 
19564
 
 
19565
 
18496
19566
# Allow CC to be a program name with arguments.
18497
19567
lt_save_CC="$CC"
18498
19568
CC=${RC-"windres"}
18499
19569
compiler=$CC
18500
19570
compiler_RC=$CC
 
19571
for cc_temp in $compiler""; do
 
19572
  case $cc_temp in
 
19573
    compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
 
19574
    distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
 
19575
    \-*) ;;
 
19576
    *) break;;
 
19577
  esac
 
19578
done
 
19579
cc_basename=`$echo "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
 
19580
 
18501
19581
lt_cv_prog_compiler_c_o_RC=yes
18502
19582
 
18503
19583
# The else clause should only fire when bootstrapping the
18614
19694
# The host system.
18615
19695
host_alias=$host_alias
18616
19696
host=$host
 
19697
host_os=$host_os
 
19698
 
 
19699
# The build system.
 
19700
build_alias=$build_alias
 
19701
build=$build
 
19702
build_os=$build_os
18617
19703
 
18618
19704
# An echo program that does not interpret backslashes.
18619
19705
echo=$lt_echo
18690
19776
# Does compiler simultaneously support -c and -o options?
18691
19777
compiler_c_o=$lt_lt_cv_prog_compiler_c_o_RC
18692
19778
 
18693
 
# Must we lock files when doing compilation ?
 
19779
# Must we lock files when doing compilation?
18694
19780
need_locks=$lt_need_locks
18695
19781
 
18696
19782
# Do we need the lib prefix for modules?
19005
20091
  cat conftest.err >&5
19006
20092
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
19007
20093
  (exit $ac_status); } &&
19008
 
         { ac_try='test -z "$ac_c_werror_flag"                   || test ! -s conftest.err'
 
20094
         { ac_try='test -z "$ac_c_werror_flag"
 
20095
                         || test ! -s conftest.err'
19009
20096
  { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
19010
20097
  (eval $ac_try) 2>&5
19011
20098
  ac_status=$?
19044
20131
fi
19045
20132
 
19046
20133
 
19047
 
pkg_modules="glib-2.0 >= 2.2.2, dbus-1 >= 0.23, dbus-glib-1 >= 0.23"
19048
 
 
19049
 
  succeeded=no
19050
 
 
19051
 
  if test -z "$PKG_CONFIG"; then
19052
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
19053
 
set dummy pkg-config; ac_word=$2
 
20134
pkg_modules="gtk+-2.0 >= 2.2.2 glib-2.0 >= 2.2.2, dbus-1 >= 0.35, dbus-glib-1 >= 0.35"
 
20135
 
 
20136
 
 
20137
if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
 
20138
        if test -n "$ac_tool_prefix"; then
 
20139
  # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
 
20140
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
19054
20141
echo "$as_me:$LINENO: checking for $ac_word" >&5
19055
20142
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19056
20143
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19075
20162
done
19076
20163
done
19077
20164
 
19078
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19079
20165
  ;;
19080
20166
esac
19081
20167
fi
19089
20175
echo "${ECHO_T}no" >&6
19090
20176
fi
19091
20177
 
 
20178
fi
 
20179
if test -z "$ac_cv_path_PKG_CONFIG"; then
 
20180
  ac_pt_PKG_CONFIG=$PKG_CONFIG
 
20181
  # Extract the first word of "pkg-config", so it can be a program name with args.
 
20182
set dummy pkg-config; ac_word=$2
 
20183
echo "$as_me:$LINENO: checking for $ac_word" >&5
 
20184
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
 
20185
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
 
20186
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20187
else
 
20188
  case $ac_pt_PKG_CONFIG in
 
20189
  [\\/]* | ?:[\\/]*)
 
20190
  ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
 
20191
  ;;
 
20192
  *)
 
20193
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
20194
for as_dir in $PATH
 
20195
do
 
20196
  IFS=$as_save_IFS
 
20197
  test -z "$as_dir" && as_dir=.
 
20198
  for ac_exec_ext in '' $ac_executable_extensions; do
 
20199
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
 
20200
    ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
20201
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
20202
    break 2
19092
20203
  fi
19093
 
 
19094
 
  if test "$PKG_CONFIG" = "no" ; then
19095
 
     echo "*** The pkg-config script could not be found. Make sure it is"
19096
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
19097
 
     echo "*** to the full path to pkg-config."
19098
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19099
 
  else
19100
 
     PKG_CONFIG_MIN_VERSION=0.9.0
19101
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19102
 
        echo "$as_me:$LINENO: checking for $pkg_modules" >&5
19103
 
echo $ECHO_N "checking for $pkg_modules... $ECHO_C" >&6
19104
 
 
19105
 
        if $PKG_CONFIG --exists "$pkg_modules" ; then
19106
 
            echo "$as_me:$LINENO: result: yes" >&5
 
20204
done
 
20205
done
 
20206
 
 
20207
  ;;
 
20208
esac
 
20209
fi
 
20210
ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
 
20211
 
 
20212
if test -n "$ac_pt_PKG_CONFIG"; then
 
20213
  echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
 
20214
echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6
 
20215
else
 
20216
  echo "$as_me:$LINENO: result: no" >&5
 
20217
echo "${ECHO_T}no" >&6
 
20218
fi
 
20219
 
 
20220
  PKG_CONFIG=$ac_pt_PKG_CONFIG
 
20221
else
 
20222
  PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
 
20223
fi
 
20224
 
 
20225
fi
 
20226
if test -n "$PKG_CONFIG"; then
 
20227
        _pkg_min_version=0.9.0
 
20228
        echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
 
20229
echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6
 
20230
        if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
 
20231
                echo "$as_me:$LINENO: result: yes" >&5
19107
20232
echo "${ECHO_T}yes" >&6
19108
 
            succeeded=yes
19109
 
 
19110
 
            echo "$as_me:$LINENO: checking PACKAGE_CFLAGS" >&5
19111
 
echo $ECHO_N "checking PACKAGE_CFLAGS... $ECHO_C" >&6
19112
 
            PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules"`
19113
 
            echo "$as_me:$LINENO: result: $PACKAGE_CFLAGS" >&5
19114
 
echo "${ECHO_T}$PACKAGE_CFLAGS" >&6
19115
 
 
19116
 
            echo "$as_me:$LINENO: checking PACKAGE_LIBS" >&5
19117
 
echo $ECHO_N "checking PACKAGE_LIBS... $ECHO_C" >&6
19118
 
            PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules"`
19119
 
            echo "$as_me:$LINENO: result: $PACKAGE_LIBS" >&5
19120
 
echo "${ECHO_T}$PACKAGE_LIBS" >&6
 
20233
        else
 
20234
                echo "$as_me:$LINENO: result: no" >&5
 
20235
echo "${ECHO_T}no" >&6
 
20236
                PKG_CONFIG=""
 
20237
        fi
 
20238
 
 
20239
fi
 
20240
 
 
20241
pkg_failed=no
 
20242
echo "$as_me:$LINENO: checking for PACKAGE" >&5
 
20243
echo $ECHO_N "checking for PACKAGE... $ECHO_C" >&6
 
20244
 
 
20245
if test -n "$PKG_CONFIG"; then
 
20246
    if test -n "$PACKAGE_CFLAGS"; then
 
20247
        pkg_cv_PACKAGE_CFLAGS="$PACKAGE_CFLAGS"
 
20248
    else
 
20249
        if test -n "$PKG_CONFIG" && \
 
20250
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
 
20251
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
 
20252
  ac_status=$?
 
20253
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20254
  (exit $ac_status); }; then
 
20255
  pkg_cv_PACKAGE_CFLAGS=`$PKG_CONFIG --cflags "$pkg_modules" 2>/dev/null`
 
20256
else
 
20257
  pkg_failed=yes
 
20258
fi
 
20259
    fi
 
20260
else
 
20261
        pkg_failed=untried
 
20262
fi
 
20263
if test -n "$PKG_CONFIG"; then
 
20264
    if test -n "$PACKAGE_LIBS"; then
 
20265
        pkg_cv_PACKAGE_LIBS="$PACKAGE_LIBS"
 
20266
    else
 
20267
        if test -n "$PKG_CONFIG" && \
 
20268
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$pkg_modules\"") >&5
 
20269
  ($PKG_CONFIG --exists --print-errors "$pkg_modules") 2>&5
 
20270
  ac_status=$?
 
20271
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20272
  (exit $ac_status); }; then
 
20273
  pkg_cv_PACKAGE_LIBS=`$PKG_CONFIG --libs "$pkg_modules" 2>/dev/null`
 
20274
else
 
20275
  pkg_failed=yes
 
20276
fi
 
20277
    fi
 
20278
else
 
20279
        pkg_failed=untried
 
20280
fi
 
20281
 
 
20282
 
 
20283
 
 
20284
if test $pkg_failed = yes; then
 
20285
 
 
20286
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20287
        _pkg_short_errors_supported=yes
 
20288
else
 
20289
        _pkg_short_errors_supported=no
 
20290
fi
 
20291
        if test $_pkg_short_errors_supported = yes; then
 
20292
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$pkg_modules"`
19121
20293
        else
19122
 
            PACKAGE_CFLAGS=""
19123
 
            PACKAGE_LIBS=""
19124
 
            ## If we have a custom action on failure, don't print errors, but
19125
 
            ## do set a variable so people can do so.
19126
 
            PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
19127
 
            echo $PACKAGE_PKG_ERRORS
 
20294
                PACKAGE_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$pkg_modules"`
19128
20295
        fi
19129
 
 
19130
 
 
19131
 
 
19132
 
     else
19133
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19134
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
19135
 
     fi
19136
 
  fi
19137
 
 
19138
 
  if test $succeeded = yes; then
19139
 
     :
19140
 
  else
19141
 
     { { echo "$as_me:$LINENO: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&5
19142
 
echo "$as_me: error: Library requirements ($pkg_modules) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them." >&2;}
19143
 
   { (exit 1); exit 1; }; }
19144
 
  fi
19145
 
 
 
20296
        # Put the nasty error message in config.log where it belongs
 
20297
        echo "$PACKAGE_PKG_ERRORS" >&5
 
20298
 
 
20299
        { { echo "$as_me:$LINENO: error: Package requirements ($pkg_modules) were not met:
 
20300
 
 
20301
$PACKAGE_PKG_ERRORS
 
20302
 
 
20303
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
20304
installed software in a non-standard prefix.
 
20305
 
 
20306
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
20307
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
20308
See the pkg-config man page for more details.
 
20309
" >&5
 
20310
echo "$as_me: error: Package requirements ($pkg_modules) were not met:
 
20311
 
 
20312
$PACKAGE_PKG_ERRORS
 
20313
 
 
20314
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
20315
installed software in a non-standard prefix.
 
20316
 
 
20317
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
20318
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
20319
See the pkg-config man page for more details.
 
20320
" >&2;}
 
20321
   { (exit 1); exit 1; }; }
 
20322
elif test $pkg_failed = untried; then
 
20323
        { { echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old.  Make sure it
 
20324
is in your PATH or set the PKG_CONFIG environment variable to the full
 
20325
path to pkg-config.
 
20326
 
 
20327
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
20328
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
20329
See the pkg-config man page for more details.
 
20330
 
 
20331
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
20332
See \`config.log' for more details." >&5
 
20333
echo "$as_me: error: The pkg-config script could not be found or is too old.  Make sure it
 
20334
is in your PATH or set the PKG_CONFIG environment variable to the full
 
20335
path to pkg-config.
 
20336
 
 
20337
Alternatively, you may set the environment variables PACKAGE_CFLAGS
 
20338
and PACKAGE_LIBS to avoid the need to call pkg-config.
 
20339
See the pkg-config man page for more details.
 
20340
 
 
20341
To get pkg-config, see <http://www.freedesktop.org/software/pkgconfig>.
 
20342
See \`config.log' for more details." >&2;}
 
20343
   { (exit 1); exit 1; }; }
 
20344
else
 
20345
        PACKAGE_CFLAGS=$pkg_cv_PACKAGE_CFLAGS
 
20346
        PACKAGE_LIBS=$pkg_cv_PACKAGE_LIBS
 
20347
        echo "$as_me:$LINENO: result: yes" >&5
 
20348
echo "${ECHO_T}yes" >&6
 
20349
        :
 
20350
fi
19146
20351
 
19147
20352
 
19148
20353
 
19149
20354
gdk_modules="gdk-2.0 gdk-pixbuf-2.0"
19150
20355
 
19151
 
  succeeded=no
19152
 
 
19153
 
  if test -z "$PKG_CONFIG"; then
19154
 
    # Extract the first word of "pkg-config", so it can be a program name with args.
19155
 
set dummy pkg-config; ac_word=$2
19156
 
echo "$as_me:$LINENO: checking for $ac_word" >&5
19157
 
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
19158
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
19159
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
19160
 
else
19161
 
  case $PKG_CONFIG in
19162
 
  [\\/]* | ?:[\\/]*)
19163
 
  ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
19164
 
  ;;
19165
 
  *)
19166
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19167
 
for as_dir in $PATH
19168
 
do
19169
 
  IFS=$as_save_IFS
19170
 
  test -z "$as_dir" && as_dir=.
19171
 
  for ac_exec_ext in '' $ac_executable_extensions; do
19172
 
  if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
19173
 
    ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
19174
 
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
19175
 
    break 2
19176
 
  fi
19177
 
done
19178
 
done
19179
 
 
19180
 
  test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
19181
 
  ;;
19182
 
esac
19183
 
fi
19184
 
PKG_CONFIG=$ac_cv_path_PKG_CONFIG
19185
 
 
19186
 
if test -n "$PKG_CONFIG"; then
19187
 
  echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
19188
 
echo "${ECHO_T}$PKG_CONFIG" >&6
19189
 
else
19190
 
  echo "$as_me:$LINENO: result: no" >&5
19191
 
echo "${ECHO_T}no" >&6
19192
 
fi
19193
 
 
19194
 
  fi
19195
 
 
19196
 
  if test "$PKG_CONFIG" = "no" ; then
19197
 
     echo "*** The pkg-config script could not be found. Make sure it is"
19198
 
     echo "*** in your path, or set the PKG_CONFIG environment variable"
19199
 
     echo "*** to the full path to pkg-config."
19200
 
     echo "*** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config."
19201
 
  else
19202
 
     PKG_CONFIG_MIN_VERSION=0.9.0
19203
 
     if $PKG_CONFIG --atleast-pkgconfig-version $PKG_CONFIG_MIN_VERSION; then
19204
 
        echo "$as_me:$LINENO: checking for $gdk_modules" >&5
19205
 
echo $ECHO_N "checking for $gdk_modules... $ECHO_C" >&6
19206
 
 
19207
 
        if $PKG_CONFIG --exists "$gdk_modules" ; then
19208
 
            echo "$as_me:$LINENO: result: yes" >&5
19209
 
echo "${ECHO_T}yes" >&6
19210
 
            succeeded=yes
19211
 
 
19212
 
            echo "$as_me:$LINENO: checking GDK_CFLAGS" >&5
19213
 
echo $ECHO_N "checking GDK_CFLAGS... $ECHO_C" >&6
19214
 
            GDK_CFLAGS=`$PKG_CONFIG --cflags "$gdk_modules"`
19215
 
            echo "$as_me:$LINENO: result: $GDK_CFLAGS" >&5
19216
 
echo "${ECHO_T}$GDK_CFLAGS" >&6
19217
 
 
19218
 
            echo "$as_me:$LINENO: checking GDK_LIBS" >&5
19219
 
echo $ECHO_N "checking GDK_LIBS... $ECHO_C" >&6
19220
 
            GDK_LIBS=`$PKG_CONFIG --libs "$gdk_modules"`
19221
 
            echo "$as_me:$LINENO: result: $GDK_LIBS" >&5
19222
 
echo "${ECHO_T}$GDK_LIBS" >&6
 
20356
pkg_failed=no
 
20357
echo "$as_me:$LINENO: checking for GDK" >&5
 
20358
echo $ECHO_N "checking for GDK... $ECHO_C" >&6
 
20359
 
 
20360
if test -n "$PKG_CONFIG"; then
 
20361
    if test -n "$GDK_CFLAGS"; then
 
20362
        pkg_cv_GDK_CFLAGS="$GDK_CFLAGS"
 
20363
    else
 
20364
        if test -n "$PKG_CONFIG" && \
 
20365
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gdk_modules\"") >&5
 
20366
  ($PKG_CONFIG --exists --print-errors "$gdk_modules") 2>&5
 
20367
  ac_status=$?
 
20368
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20369
  (exit $ac_status); }; then
 
20370
  pkg_cv_GDK_CFLAGS=`$PKG_CONFIG --cflags "$gdk_modules" 2>/dev/null`
 
20371
else
 
20372
  pkg_failed=yes
 
20373
fi
 
20374
    fi
 
20375
else
 
20376
        pkg_failed=untried
 
20377
fi
 
20378
if test -n "$PKG_CONFIG"; then
 
20379
    if test -n "$GDK_LIBS"; then
 
20380
        pkg_cv_GDK_LIBS="$GDK_LIBS"
 
20381
    else
 
20382
        if test -n "$PKG_CONFIG" && \
 
20383
    { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"\$gdk_modules\"") >&5
 
20384
  ($PKG_CONFIG --exists --print-errors "$gdk_modules") 2>&5
 
20385
  ac_status=$?
 
20386
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20387
  (exit $ac_status); }; then
 
20388
  pkg_cv_GDK_LIBS=`$PKG_CONFIG --libs "$gdk_modules" 2>/dev/null`
 
20389
else
 
20390
  pkg_failed=yes
 
20391
fi
 
20392
    fi
 
20393
else
 
20394
        pkg_failed=untried
 
20395
fi
 
20396
 
 
20397
 
 
20398
 
 
20399
if test $pkg_failed = yes; then
 
20400
 
 
20401
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
20402
        _pkg_short_errors_supported=yes
 
20403
else
 
20404
        _pkg_short_errors_supported=no
 
20405
fi
 
20406
        if test $_pkg_short_errors_supported = yes; then
 
20407
                GDK_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gdk_modules"`
19223
20408
        else
19224
 
            GDK_CFLAGS=""
19225
 
            GDK_LIBS=""
19226
 
            ## If we have a custom action on failure, don't print errors, but
19227
 
            ## do set a variable so people can do so.
19228
 
            GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gdk_modules"`
19229
 
 
 
20409
                GDK_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gdk_modules"`
19230
20410
        fi
19231
 
 
19232
 
 
19233
 
 
19234
 
     else
19235
 
        echo "*** Your version of pkg-config is too old. You need version $PKG_CONFIG_MIN_VERSION or newer."
19236
 
        echo "*** See http://www.freedesktop.org/software/pkgconfig"
19237
 
     fi
19238
 
  fi
19239
 
 
19240
 
  if test $succeeded = yes; then
19241
 
     have_gdk=yes
19242
 
  else
19243
 
 
19244
 
        have_gdk=no
19245
 
 
19246
 
        { echo "$as_me:$LINENO: WARNING: \"Some test apps will not be built\"" >&5
19247
 
echo "$as_me: WARNING: \"Some test apps will not be built\"" >&2;}
19248
 
 
19249
 
  fi
19250
 
 
 
20411
        # Put the nasty error message in config.log where it belongs
 
20412
        echo "$GDK_PKG_ERRORS" >&5
 
20413
 
 
20414
 
 
20415
        have_gdk=no
 
20416
 
 
20417
        { echo "$as_me:$LINENO: WARNING: \"Some test apps will not be built\"" >&5
 
20418
echo "$as_me: WARNING: \"Some test apps will not be built\"" >&2;}
 
20419
 
 
20420
elif test $pkg_failed = untried; then
 
20421
 
 
20422
        have_gdk=no
 
20423
 
 
20424
        { echo "$as_me:$LINENO: WARNING: \"Some test apps will not be built\"" >&5
 
20425
echo "$as_me: WARNING: \"Some test apps will not be built\"" >&2;}
 
20426
 
 
20427
else
 
20428
        GDK_CFLAGS=$pkg_cv_GDK_CFLAGS
 
20429
        GDK_LIBS=$pkg_cv_GDK_LIBS
 
20430
        echo "$as_me:$LINENO: result: yes" >&5
 
20431
echo "${ECHO_T}yes" >&6
 
20432
        have_gdk=yes
 
20433
fi
19251
20434
 
19252
20435
 
19253
20436
 
19263
20446
 
19264
20447
 
19265
20448
 
 
20449
 
19266
20450
echo "$as_me:$LINENO: checking dbus version" >&5
19267
20451
echo $ECHO_N "checking dbus version... $ECHO_C" >&6
19268
20452
DBUS_VERSION=`$PKG_CONFIG --modversion dbus-1`
19394
20578
LTLIBOBJS=$ac_ltlibobjs
19395
20579
 
19396
20580
 
 
20581
if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
 
20582
  { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
 
20583
Usually this means the macro was only invoked conditionally." >&5
 
20584
echo "$as_me: error: conditional \"AMDEP\" was never defined.
 
20585
Usually this means the macro was only invoked conditionally." >&2;}
 
20586
   { (exit 1); exit 1; }; }
 
20587
fi
 
20588
if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
 
20589
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
 
20590
Usually this means the macro was only invoked conditionally." >&5
 
20591
echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
 
20592
Usually this means the macro was only invoked conditionally." >&2;}
 
20593
   { (exit 1); exit 1; }; }
 
20594
fi
 
20595
if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
 
20596
  { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
 
20597
Usually this means the macro was only invoked conditionally." >&5
 
20598
echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
 
20599
Usually this means the macro was only invoked conditionally." >&2;}
 
20600
   { (exit 1); exit 1; }; }
 
20601
fi
 
20602
if test -z "${HAVE_GDK_TRUE}" && test -z "${HAVE_GDK_FALSE}"; then
 
20603
  { { echo "$as_me:$LINENO: error: conditional \"HAVE_GDK\" was never defined.
 
20604
Usually this means the macro was only invoked conditionally." >&5
 
20605
echo "$as_me: error: conditional \"HAVE_GDK\" was never defined.
 
20606
Usually this means the macro was only invoked conditionally." >&2;}
 
20607
   { (exit 1); exit 1; }; }
 
20608
fi
19397
20609
 
19398
20610
: ${CONFIG_STATUS=./config.status}
19399
20611
ac_clean_files_save=$ac_clean_files
19665
20877
} >&5
19666
20878
cat >&5 <<_CSEOF
19667
20879
 
19668
 
This file was extended by libnotify $as_me 0.2.2, which was
 
20880
This file was extended by libnotify $as_me 0.3.0, which was
19669
20881
generated by GNU Autoconf 2.59.  Invocation command line was
19670
20882
 
19671
20883
  CONFIG_FILES    = $CONFIG_FILES
19728
20940
 
19729
20941
cat >>$CONFIG_STATUS <<_ACEOF
19730
20942
ac_cs_version="\\
19731
 
libnotify config.status 0.2.2
 
20943
libnotify config.status 0.3.0
19732
20944
configured by $0, generated by GNU Autoconf 2.59,
19733
20945
  with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
19734
20946
 
19827
21039
# INIT-COMMANDS section.
19828
21040
#
19829
21041
 
19830
 
 
 
21042
AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
19831
21043
 
19832
21044
_ACEOF
19833
21045
 
19845
21057
  "libnotify/Makefile" ) CONFIG_FILES="$CONFIG_FILES libnotify/Makefile" ;;
19846
21058
  "tests/Makefile" ) CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
19847
21059
  "tools/Makefile" ) CONFIG_FILES="$CONFIG_FILES tools/Makefile" ;;
19848
 
  "default-1" ) CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
 
21060
  "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
19849
21061
  "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
19850
21062
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19851
21063
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19939
21151
s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
19940
21152
s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
19941
21153
s,@INSTALL_DATA@,$INSTALL_DATA,;t t
 
21154
s,@CYGPATH_W@,$CYGPATH_W,;t t
19942
21155
s,@PACKAGE@,$PACKAGE,;t t
19943
21156
s,@VERSION@,$VERSION,;t t
19944
21157
s,@ACLOCAL@,$ACLOCAL,;t t
19946
21159
s,@AUTOMAKE@,$AUTOMAKE,;t t
19947
21160
s,@AUTOHEADER@,$AUTOHEADER,;t t
19948
21161
s,@MAKEINFO@,$MAKEINFO,;t t
 
21162
s,@install_sh@,$install_sh,;t t
 
21163
s,@STRIP@,$STRIP,;t t
 
21164
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
 
21165
s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
 
21166
s,@mkdir_p@,$mkdir_p,;t t
 
21167
s,@AWK@,$AWK,;t t
19949
21168
s,@SET_MAKE@,$SET_MAKE,;t t
 
21169
s,@am__leading_dot@,$am__leading_dot,;t t
 
21170
s,@AMTAR@,$AMTAR,;t t
 
21171
s,@am__tar@,$am__tar,;t t
 
21172
s,@am__untar@,$am__untar,;t t
19950
21173
s,@CC@,$CC,;t t
19951
21174
s,@CFLAGS@,$CFLAGS,;t t
19952
21175
s,@LDFLAGS@,$LDFLAGS,;t t
19954
21177
s,@ac_ct_CC@,$ac_ct_CC,;t t
19955
21178
s,@EXEEXT@,$EXEEXT,;t t
19956
21179
s,@OBJEXT@,$OBJEXT,;t t
 
21180
s,@DEPDIR@,$DEPDIR,;t t
 
21181
s,@am__include@,$am__include,;t t
 
21182
s,@am__quote@,$am__quote,;t t
 
21183
s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
 
21184
s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
 
21185
s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
 
21186
s,@CCDEPMODE@,$CCDEPMODE,;t t
 
21187
s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
 
21188
s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
19957
21189
s,@CPP@,$CPP,;t t
19958
21190
s,@LN_S@,$LN_S,;t t
19959
21191
s,@EGREP@,$EGREP,;t t
19970
21202
s,@ac_ct_AR@,$ac_ct_AR,;t t
19971
21203
s,@RANLIB@,$RANLIB,;t t
19972
21204
s,@ac_ct_RANLIB@,$ac_ct_RANLIB,;t t
19973
 
s,@STRIP@,$STRIP,;t t
19974
 
s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
19975
21205
s,@CXX@,$CXX,;t t
19976
21206
s,@CXXFLAGS@,$CXXFLAGS,;t t
19977
21207
s,@ac_ct_CXX@,$ac_ct_CXX,;t t
 
21208
s,@CXXDEPMODE@,$CXXDEPMODE,;t t
 
21209
s,@am__fastdepCXX_TRUE@,$am__fastdepCXX_TRUE,;t t
 
21210
s,@am__fastdepCXX_FALSE@,$am__fastdepCXX_FALSE,;t t
19978
21211
s,@CXXCPP@,$CXXCPP,;t t
19979
21212
s,@F77@,$F77,;t t
19980
21213
s,@FFLAGS@,$FFLAGS,;t t
19981
21214
s,@ac_ct_F77@,$ac_ct_F77,;t t
19982
21215
s,@LIBTOOL@,$LIBTOOL,;t t
19983
21216
s,@PKG_CONFIG@,$PKG_CONFIG,;t t
 
21217
s,@ac_pt_PKG_CONFIG@,$ac_pt_PKG_CONFIG,;t t
19984
21218
s,@PACKAGE_CFLAGS@,$PACKAGE_CFLAGS,;t t
19985
21219
s,@PACKAGE_LIBS@,$PACKAGE_LIBS,;t t
19986
21220
s,@GDK_CFLAGS@,$GDK_CFLAGS,;t t
20155
21389
  *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
20156
21390
  esac
20157
21391
 
 
21392
  if test x"$ac_file" != x-; then
 
21393
    { echo "$as_me:$LINENO: creating $ac_file" >&5
 
21394
echo "$as_me: creating $ac_file" >&6;}
 
21395
    rm -f "$ac_file"
 
21396
  fi
20158
21397
  # Let's still pretend it is `configure' which instantiates (i.e., don't
20159
21398
  # use $as_me), people would be surprised to read:
20160
21399
  #    /* config.h.  Generated by config.status.  */
20193
21432
         fi;;
20194
21433
      esac
20195
21434
    done` || { (exit 1); exit 1; }
20196
 
 
20197
 
  if test x"$ac_file" != x-; then
20198
 
    { echo "$as_me:$LINENO: creating $ac_file" >&5
20199
 
echo "$as_me: creating $ac_file" >&6;}
20200
 
    rm -f "$ac_file"
20201
 
  fi
20202
21435
_ACEOF
20203
21436
cat >>$CONFIG_STATUS <<_ACEOF
20204
21437
  sed "$ac_vpsub
20449
21682
    cat $tmp/config.h
20450
21683
    rm -f $tmp/config.h
20451
21684
  fi
 
21685
# Compute $ac_file's index in $config_headers.
 
21686
_am_stamp_count=1
 
21687
for _am_header in $config_headers :; do
 
21688
  case $_am_header in
 
21689
    $ac_file | $ac_file:* )
 
21690
      break ;;
 
21691
    * )
 
21692
      _am_stamp_count=`expr $_am_stamp_count + 1` ;;
 
21693
  esac
 
21694
done
 
21695
echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
 
21696
$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
21697
         X$ac_file : 'X\(//\)[^/]' \| \
 
21698
         X$ac_file : 'X\(//\)$' \| \
 
21699
         X$ac_file : 'X\(/\)' \| \
 
21700
         .     : '\(.\)' 2>/dev/null ||
 
21701
echo X$ac_file |
 
21702
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
21703
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
21704
          /^X\(\/\/\)$/{ s//\1/; q; }
 
21705
          /^X\(\/\).*/{ s//\1/; q; }
 
21706
          s/.*/./; q'`/stamp-h$_am_stamp_count
20452
21707
done
20453
21708
_ACEOF
20454
21709
cat >>$CONFIG_STATUS <<\_ACEOF
20565
21820
  { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
20566
21821
echo "$as_me: executing $ac_dest commands" >&6;}
20567
21822
  case $ac_dest in
20568
 
    default-1 ) test -z "$CONFIG_HEADERS" || echo timestamp > stamp-h ;;
 
21823
    depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
 
21824
  # Strip MF so we end up with the name of the file.
 
21825
  mf=`echo "$mf" | sed -e 's/:.*$//'`
 
21826
  # Check whether this is an Automake generated Makefile or not.
 
21827
  # We used to match only the files named `Makefile.in', but
 
21828
  # some people rename them; so instead we look at the file content.
 
21829
  # Grep'ing the first line is not enough: some people post-process
 
21830
  # each Makefile.in and add a new line on top of each file to say so.
 
21831
  # So let's grep whole file.
 
21832
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
21833
    dirpart=`(dirname "$mf") 2>/dev/null ||
 
21834
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
21835
         X"$mf" : 'X\(//\)[^/]' \| \
 
21836
         X"$mf" : 'X\(//\)$' \| \
 
21837
         X"$mf" : 'X\(/\)' \| \
 
21838
         .     : '\(.\)' 2>/dev/null ||
 
21839
echo X"$mf" |
 
21840
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
21841
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
21842
          /^X\(\/\/\)$/{ s//\1/; q; }
 
21843
          /^X\(\/\).*/{ s//\1/; q; }
 
21844
          s/.*/./; q'`
 
21845
  else
 
21846
    continue
 
21847
  fi
 
21848
  # Extract the definition of DEPDIR, am__include, and am__quote
 
21849
  # from the Makefile without running `make'.
 
21850
  DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
 
21851
  test -z "$DEPDIR" && continue
 
21852
  am__include=`sed -n 's/^am__include = //p' < "$mf"`
 
21853
  test -z "am__include" && continue
 
21854
  am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
 
21855
  # When using ansi2knr, U may be empty or an underscore; expand it
 
21856
  U=`sed -n 's/^U = //p' < "$mf"`
 
21857
  # Find all dependency output files, they are included files with
 
21858
  # $(DEPDIR) in their names.  We invoke sed twice because it is the
 
21859
  # simplest approach to changing $(DEPDIR) to its actual value in the
 
21860
  # expansion.
 
21861
  for file in `sed -n "
 
21862
    s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
 
21863
       sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
 
21864
    # Make sure the directory exists.
 
21865
    test -f "$dirpart/$file" && continue
 
21866
    fdir=`(dirname "$file") 2>/dev/null ||
 
21867
$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
21868
         X"$file" : 'X\(//\)[^/]' \| \
 
21869
         X"$file" : 'X\(//\)$' \| \
 
21870
         X"$file" : 'X\(/\)' \| \
 
21871
         .     : '\(.\)' 2>/dev/null ||
 
21872
echo X"$file" |
 
21873
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
21874
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
21875
          /^X\(\/\/\)$/{ s//\1/; q; }
 
21876
          /^X\(\/\).*/{ s//\1/; q; }
 
21877
          s/.*/./; q'`
 
21878
    { if $as_mkdir_p; then
 
21879
    mkdir -p $dirpart/$fdir
 
21880
  else
 
21881
    as_dir=$dirpart/$fdir
 
21882
    as_dirs=
 
21883
    while test ! -d "$as_dir"; do
 
21884
      as_dirs="$as_dir $as_dirs"
 
21885
      as_dir=`(dirname "$as_dir") 2>/dev/null ||
 
21886
$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
 
21887
         X"$as_dir" : 'X\(//\)[^/]' \| \
 
21888
         X"$as_dir" : 'X\(//\)$' \| \
 
21889
         X"$as_dir" : 'X\(/\)' \| \
 
21890
         .     : '\(.\)' 2>/dev/null ||
 
21891
echo X"$as_dir" |
 
21892
    sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
 
21893
          /^X\(\/\/\)[^/].*/{ s//\1/; q; }
 
21894
          /^X\(\/\/\)$/{ s//\1/; q; }
 
21895
          /^X\(\/\).*/{ s//\1/; q; }
 
21896
          s/.*/./; q'`
 
21897
    done
 
21898
    test ! -n "$as_dirs" || mkdir $as_dirs
 
21899
  fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
 
21900
echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
 
21901
   { (exit 1); exit 1; }; }; }
 
21902
 
 
21903
    # echo "creating $dirpart/$file"
 
21904
    echo '# dummy' > "$dirpart/$file"
 
21905
  done
 
21906
done
 
21907
 ;;
20569
21908
  esac
20570
21909
done
20571
21910
_ACEOF