~ubuntu-branches/debian/sid/filezilla/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Adam Cécile (Le_Vert)
  • Date: 2008-07-05 21:00:24 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080705210024-mvzp21zlyheschi6
Tags: 3.0.11.1-1
* wxWidgets 2.8 just entered unstable ! Upload to unstable.
* New upstream release.
* Bump Standards-Version to 3.8.0.

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.60a for FileZilla 3.0.0-beta2.
 
3
# Generated by GNU Autoconf 2.61 for FileZilla 3.0.11.1.
4
4
#
5
 
# Report bugs to <tim.kosse@gmx.de>.
 
5
# Report bugs to <tim.kosse@filezilla-project.org>.
6
6
#
7
7
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8
8
# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
12
12
## M4sh Initialization.  ##
13
13
## --------------------- ##
14
14
 
15
 
# Be Bourne compatible
 
15
# Be more Bourne compatible
 
16
DUALCASE=1; export DUALCASE # for MKS sh
16
17
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17
18
  emulate sh
18
19
  NULLCMD=:
21
22
  alias -g '${1+"$@"}'='"$@"'
22
23
  setopt NO_GLOB_SUBST
23
24
else
24
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
25
  case `(set -o) 2>/dev/null` in
 
26
  *posix*) set -o posix ;;
 
27
esac
 
28
 
25
29
fi
26
 
BIN_SH=xpg4; export BIN_SH # for Tru64
27
 
DUALCASE=1; export DUALCASE # for MKS sh
 
30
 
 
31
 
28
32
 
29
33
 
30
34
# PATH needs CR
217
221
else
218
222
  as_candidate_shells=
219
223
    as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220
 
for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
 
224
for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221
225
do
222
226
  IFS=$as_save_IFS
223
227
  test -z "$as_dir" && as_dir=.
235
239
         # Try only shells that exist, to save several forks.
236
240
         if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237
241
                { ("$as_shell") 2> /dev/null <<\_ASEOF
238
 
# Be Bourne compatible
239
242
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240
243
  emulate sh
241
244
  NULLCMD=:
244
247
  alias -g '${1+"$@"}'='"$@"'
245
248
  setopt NO_GLOB_SUBST
246
249
else
247
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
250
  case `(set -o) 2>/dev/null` in
 
251
  *posix*) set -o posix ;;
 
252
esac
 
253
 
248
254
fi
249
 
BIN_SH=xpg4; export BIN_SH # for Tru64
250
 
DUALCASE=1; export DUALCASE # for MKS sh
 
255
 
251
256
 
252
257
:
253
258
_ASEOF
255
260
  CONFIG_SHELL=$as_shell
256
261
               as_have_required=yes
257
262
               if { "$as_shell" 2> /dev/null <<\_ASEOF
258
 
# Be Bourne compatible
259
263
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260
264
  emulate sh
261
265
  NULLCMD=:
264
268
  alias -g '${1+"$@"}'='"$@"'
265
269
  setopt NO_GLOB_SUBST
266
270
else
267
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
271
  case `(set -o) 2>/dev/null` in
 
272
  *posix*) set -o posix ;;
 
273
esac
 
274
 
268
275
fi
269
 
BIN_SH=xpg4; export BIN_SH # for Tru64
270
 
DUALCASE=1; export DUALCASE # for MKS sh
 
276
 
271
277
 
272
278
:
273
279
(as_func_return () {
514
520
  as_mkdir_p=false
515
521
fi
516
522
 
517
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
518
 
# systems may use methods other than mode bits to determine executability.
519
 
cat >conf$$.file <<_ASEOF
520
 
#! /bin/sh
521
 
exit 0
522
 
_ASEOF
523
 
chmod +x conf$$.file
524
 
if test -x conf$$.file >/dev/null 2>&1; then
525
 
  as_executable_p="test -x"
 
523
if test -x / >/dev/null 2>&1; then
 
524
  as_test_x='test -x'
526
525
else
527
 
  as_executable_p=:
 
526
  if ls -dL / >/dev/null 2>&1; then
 
527
    as_ls_L_option=L
 
528
  else
 
529
    as_ls_L_option=
 
530
  fi
 
531
  as_test_x='
 
532
    eval sh -c '\''
 
533
      if test -d "$1"; then
 
534
        test -d "$1/.";
 
535
      else
 
536
        case $1 in
 
537
        -*)set "./$1";;
 
538
        esac;
 
539
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
540
        ???[sx]*):;;*)false;;esac;fi
 
541
    '\'' sh
 
542
  '
528
543
fi
529
 
rm -f conf$$.file
 
544
as_executable_p=$as_test_x
530
545
 
531
546
# Sed expression to map a string onto a valid CPP name.
532
547
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
713
728
# Identity of this package.
714
729
PACKAGE_NAME='FileZilla'
715
730
PACKAGE_TARNAME='filezilla'
716
 
PACKAGE_VERSION='3.0.0-beta2'
717
 
PACKAGE_STRING='FileZilla 3.0.0-beta2'
718
 
PACKAGE_BUGREPORT='tim.kosse@gmx.de'
 
731
PACKAGE_VERSION='3.0.11.1'
 
732
PACKAGE_STRING='FileZilla 3.0.11.1'
 
733
PACKAGE_BUGREPORT='tim.kosse@filezilla-project.org'
719
734
 
720
735
# Factoring default headers for most tests.
721
736
ac_includes_default="\
793
808
INSTALL_PROGRAM
794
809
INSTALL_SCRIPT
795
810
INSTALL_DATA
 
811
am__isrc
796
812
CYGPATH_W
797
813
PACKAGE
798
814
VERSION
841
857
CCDEPMODE
842
858
am__fastdepCC_TRUE
843
859
am__fastdepCC_FALSE
 
860
SED
844
861
GREP
845
862
EGREP
846
863
LN_S
874
891
CPPUNIT_CONFIG
875
892
CPPUNIT_CFLAGS
876
893
CPPUNIT_LIBS
 
894
LIBGNUTLS_CONFIG
 
895
LIBGNUTLS_CFLAGS
 
896
LIBGNUTLS_LIBS
877
897
xgettext
878
898
msgfmt
879
899
msgmerge
883
903
FILEZILLA_LINGUAS_PO
884
904
FILEZILLA_LINGUAS_PO_NEW
885
905
FILEZILLA_LINGUAS_MO
 
906
MINGW_TRUE
 
907
MINGW_FALSE
886
908
LOCALES_ONLY_TRUE
887
909
LOCALES_ONLY_FALSE
888
910
LOCALES_TRUE
912
934
CXX
913
935
CXXFLAGS
914
936
LDFLAGS
 
937
LIBS
915
938
CPPFLAGS
916
939
CCC
917
940
CC
1025
1048
  -disable-* | --disable-*)
1026
1049
    ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1027
1050
    # Reject names that are not valid shell variable names.
1028
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1051
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1029
1052
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1030
1053
   { (exit 1); exit 1; }; }
1031
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
1054
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1032
1055
    eval enable_$ac_feature=no ;;
1033
1056
 
1034
1057
  -docdir | --docdir | --docdi | --doc | --do)
1044
1067
  -enable-* | --enable-*)
1045
1068
    ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1046
1069
    # Reject names that are not valid shell variable names.
1047
 
    expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1070
    expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1048
1071
      { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1049
1072
   { (exit 1); exit 1; }; }
1050
 
    ac_feature=`echo $ac_feature | sed 's/-/_/g'`
 
1073
    ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1051
1074
    eval enable_$ac_feature=\$ac_optarg ;;
1052
1075
 
1053
1076
  -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1241
1264
  -with-* | --with-*)
1242
1265
    ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1243
1266
    # Reject names that are not valid shell variable names.
1244
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1267
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1245
1268
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1246
1269
   { (exit 1); exit 1; }; }
1247
 
    ac_package=`echo $ac_package| sed 's/-/_/g'`
 
1270
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1248
1271
    eval with_$ac_package=\$ac_optarg ;;
1249
1272
 
1250
1273
  -without-* | --without-*)
1251
1274
    ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1252
1275
    # Reject names that are not valid shell variable names.
1253
 
    expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
 
1276
    expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1254
1277
      { echo "$as_me: error: invalid package name: $ac_package" >&2
1255
1278
   { (exit 1); exit 1; }; }
1256
 
    ac_package=`echo $ac_package | sed 's/-/_/g'`
 
1279
    ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1257
1280
    eval with_$ac_package=no ;;
1258
1281
 
1259
1282
  --x)
1422
1445
  # Omit some internal or obsolete options to make the list less imposing.
1423
1446
  # This message is too long to be a string in the A/UX 3.1 sh.
1424
1447
  cat <<_ACEOF
1425
 
\`configure' configures FileZilla 3.0.0-beta2 to adapt to many kinds of systems.
 
1448
\`configure' configures FileZilla 3.0.11.1 to adapt to many kinds of systems.
1426
1449
 
1427
1450
Usage: $0 [OPTION]... [VAR=VALUE]...
1428
1451
 
1492
1515
 
1493
1516
if test -n "$ac_init_help"; then
1494
1517
  case $ac_init_help in
1495
 
     short | recursive ) echo "Configuration of FileZilla 3.0.0-beta2:";;
 
1518
     short | recursive ) echo "Configuration of FileZilla 3.0.11.1:";;
1496
1519
   esac
1497
1520
  cat <<\_ACEOF
1498
1521
 
1511
1534
  --enable-buildtype=TYPE DO NOT USE. Reserved for use by official maintainer.
1512
1535
                          TYPE can either be 'official' or 'nightly'.
1513
1536
  --enable-precomp        Use precompiled headers
 
1537
  --disable-manualupdatecheck
 
1538
                          Disallow the user to manually check for new
 
1539
                          versions. Implies --disable-autoupdatecheck
 
1540
  --disable-autoupdatecheck
 
1541
                          Disables the ability of FileZilla to check for new
 
1542
                          versions automatically.
1514
1543
 
1515
1544
Optional Packages:
1516
1545
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
1527
1556
  --with-idn-lib=FILE     Use the given path to the idn library.
1528
1557
  --with-cppunit-prefix=PFX   Prefix where CppUnit is installed (optional)
1529
1558
  --with-cppunit-exec-prefix=PFX  Exec prefix where CppUnit is installed (optional)
 
1559
  --with-libgnutls-prefix=PFX   Prefix where libgnutls is installed (optional)
1530
1560
 
1531
1561
Some influential environment variables:
1532
1562
  CXX         C++ compiler command
1533
1563
  CXXFLAGS    C++ compiler flags
1534
1564
  LDFLAGS     linker flags, e.g. -L<lib dir> if you have libraries in a
1535
1565
              nonstandard directory <lib dir>
 
1566
  LIBS        libraries to pass to the linker, e.g. -l<library>
1536
1567
  CPPFLAGS    C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1537
1568
              you have headers in a nonstandard directory <include dir>
1538
1569
  CC          C compiler command
1545
1576
Use these variables to override the choices made by `configure' or to help
1546
1577
it to find libraries and programs with nonstandard names/locations.
1547
1578
 
1548
 
Report bugs to <tim.kosse@gmx.de>.
 
1579
Report bugs to <tim.kosse@filezilla-project.org>.
1549
1580
_ACEOF
1550
1581
ac_status=$?
1551
1582
fi
1606
1637
test -n "$ac_init_help" && exit $ac_status
1607
1638
if $ac_init_version; then
1608
1639
  cat <<\_ACEOF
1609
 
FileZilla configure 3.0.0-beta2
1610
 
generated by GNU Autoconf 2.60a
 
1640
FileZilla configure 3.0.11.1
 
1641
generated by GNU Autoconf 2.61
1611
1642
 
1612
1643
Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1613
1644
2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1620
1651
This file contains any messages produced by compilers while
1621
1652
running configure, to aid debugging if configure makes a mistake.
1622
1653
 
1623
 
It was created by FileZilla $as_me 3.0.0-beta2, which was
1624
 
generated by GNU Autoconf 2.60a.  Invocation command line was
 
1654
It was created by FileZilla $as_me 3.0.11.1, which was
 
1655
generated by GNU Autoconf 2.61.  Invocation command line was
1625
1656
 
1626
1657
  $ $0 $@
1627
1658
 
2006
2037
ac_configure="$SHELL $ac_aux_dir/configure"  # Please don't use this var.
2007
2038
 
2008
2039
 
2009
 
am__api_version="1.9"
 
2040
am__api_version='1.10'
 
2041
 
2010
2042
# Find a good install program.  We prefer a C program (faster),
2011
2043
# so one script is as good as another.  But avoid the broken or
2012
2044
# incompatible versions:
2043
2075
    # by default.
2044
2076
    for ac_prog in ginstall scoinst install; do
2045
2077
      for ac_exec_ext in '' $ac_executable_extensions; do
2046
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
2078
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
2047
2079
          if test $ac_prog = install &&
2048
2080
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2049
2081
            # AIX install.  It has an incompatible calling convention.
2158
2190
echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2159
2191
fi
2160
2192
 
2161
 
if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
2162
 
  # We used to keeping the `.' as first argument, in order to
2163
 
  # allow $(mkdir_p) to be used without argument.  As in
2164
 
  #   $(mkdir_p) $(somedir)
2165
 
  # where $(somedir) is conditionally defined.  However this is wrong
2166
 
  # for two reasons:
2167
 
  #  1. if the package is installed by a user who cannot write `.'
2168
 
  #     make install will fail,
2169
 
  #  2. the above comment should most certainly read
2170
 
  #     $(mkdir_p) $(DESTDIR)$(somedir)
2171
 
  #     so it does not work when $(somedir) is undefined and
2172
 
  #     $(DESTDIR) is not.
2173
 
  #  To support the latter case, we have to write
2174
 
  #     test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2175
 
  #  so the `.' trick is pointless.
2176
 
  mkdir_p='mkdir -p --'
 
2193
{ echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
 
2194
echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
 
2195
if test -z "$MKDIR_P"; then
 
2196
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2197
  echo $ECHO_N "(cached) $ECHO_C" >&6
2177
2198
else
2178
 
  # On NextStep and OpenStep, the `mkdir' command does not
2179
 
  # recognize any option.  It will interpret all options as
2180
 
  # directories to create, and then abort because `.' already
2181
 
  # exists.
2182
 
  for d in ./-p ./--version;
2183
 
  do
2184
 
    test -d $d && rmdir $d
2185
 
  done
2186
 
  # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2187
 
  if test -f "$ac_aux_dir/mkinstalldirs"; then
2188
 
    mkdir_p='$(mkinstalldirs)'
 
2199
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
2200
for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
 
2201
do
 
2202
  IFS=$as_save_IFS
 
2203
  test -z "$as_dir" && as_dir=.
 
2204
  for ac_prog in mkdir gmkdir; do
 
2205
         for ac_exec_ext in '' $ac_executable_extensions; do
 
2206
           { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
 
2207
           case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
 
2208
             'mkdir (GNU coreutils) '* | \
 
2209
             'mkdir (coreutils) '* | \
 
2210
             'mkdir (fileutils) '4.1*)
 
2211
               ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
 
2212
               break 3;;
 
2213
           esac
 
2214
         done
 
2215
       done
 
2216
done
 
2217
IFS=$as_save_IFS
 
2218
 
 
2219
fi
 
2220
 
 
2221
  if test "${ac_cv_path_mkdir+set}" = set; then
 
2222
    MKDIR_P="$ac_cv_path_mkdir -p"
2189
2223
  else
2190
 
    mkdir_p='$(install_sh) -d'
 
2224
    # As a last resort, use the slow shell script.  Don't cache a
 
2225
    # value for MKDIR_P within a source directory, because that will
 
2226
    # break other packages using the cache if that directory is
 
2227
    # removed, or if the value is a relative name.
 
2228
    test -d ./--version && rmdir ./--version
 
2229
    MKDIR_P="$ac_install_sh -d"
2191
2230
  fi
2192
2231
fi
 
2232
{ echo "$as_me:$LINENO: result: $MKDIR_P" >&5
 
2233
echo "${ECHO_T}$MKDIR_P" >&6; }
 
2234
 
 
2235
mkdir_p="$MKDIR_P"
 
2236
case $mkdir_p in
 
2237
  [\\/$]* | ?:[\\/]*) ;;
 
2238
  */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
 
2239
esac
2193
2240
 
2194
2241
for ac_prog in gawk mawk nawk awk
2195
2242
do
2209
2256
  IFS=$as_save_IFS
2210
2257
  test -z "$as_dir" && as_dir=.
2211
2258
  for ac_exec_ext in '' $ac_executable_extensions; do
2212
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2259
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2213
2260
    ac_cv_prog_AWK="$ac_prog"
2214
2261
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2215
2262
    break 2
2272
2319
fi
2273
2320
rmdir .tst 2>/dev/null
2274
2321
 
2275
 
# test to see if srcdir already configured
2276
 
if test "`cd $srcdir && pwd`" != "`pwd`" &&
2277
 
   test -f $srcdir/config.status; then
2278
 
  { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
 
2322
if test "`cd $srcdir && pwd`" != "`pwd`"; then
 
2323
  # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
 
2324
  # is not polluted with repeated "-I."
 
2325
  am__isrc=' -I$(srcdir)'
 
2326
  # test to see if srcdir already configured
 
2327
  if test -f $srcdir/config.status; then
 
2328
    { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2279
2329
echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2280
2330
   { (exit 1); exit 1; }; }
 
2331
  fi
2281
2332
fi
2282
2333
 
2283
2334
# test whether we have cygpath
2292
2343
 
2293
2344
# Define the identity of the package.
2294
2345
 PACKAGE='filezilla'
2295
 
 VERSION='3.0.0-beta2'
 
2346
 VERSION='3.0.11.1'
2296
2347
 
2297
2348
 
2298
2349
cat >>confdefs.h <<_ACEOF
2320
2371
 
2321
2372
MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2322
2373
 
2323
 
install_sh=${install_sh-"$am_aux_dir/install-sh"}
 
2374
install_sh=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2324
2375
 
2325
2376
# Installed binaries are usually stripped using `strip' when the user
2326
2377
# run `make install-strip'.  However `strip' might not be the right
2344
2395
  IFS=$as_save_IFS
2345
2396
  test -z "$as_dir" && as_dir=.
2346
2397
  for ac_exec_ext in '' $ac_executable_extensions; do
2347
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2398
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2348
2399
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2349
2400
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2350
2401
    break 2
2384
2435
  IFS=$as_save_IFS
2385
2436
  test -z "$as_dir" && as_dir=.
2386
2437
  for ac_exec_ext in '' $ac_executable_extensions; do
2387
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2438
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2388
2439
    ac_cv_prog_ac_ct_STRIP="strip"
2389
2440
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2390
2441
    break 2
2424
2475
fi
2425
2476
 
2426
2477
fi
2427
 
INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
 
2478
INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2428
2479
 
2429
2480
# We need awk for the "check" target.  The system "awk" is bad on
2430
2481
# some platforms.
2551
2602
  IFS=$as_save_IFS
2552
2603
  test -z "$as_dir" && as_dir=.
2553
2604
  for ac_exec_ext in '' $ac_executable_extensions; do
2554
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2605
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2555
2606
    ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2556
2607
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2557
2608
    break 2
2595
2646
  IFS=$as_save_IFS
2596
2647
  test -z "$as_dir" && as_dir=.
2597
2648
  for ac_exec_ext in '' $ac_executable_extensions; do
2598
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
2649
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2599
2650
    ac_cv_prog_ac_ct_CXX="$ac_prog"
2600
2651
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2601
2652
    break 2
2951
3002
  rm -f conftest.er1
2952
3003
  cat conftest.err >&5
2953
3004
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2954
 
  (exit $ac_status); } &&
2955
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2956
 
  { (case "(($ac_try" in
2957
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2958
 
  *) ac_try_echo=$ac_try;;
2959
 
esac
2960
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2961
 
  (eval "$ac_try") 2>&5
2962
 
  ac_status=$?
2963
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2964
 
  (exit $ac_status); }; } &&
2965
 
         { ac_try='test -s conftest.$ac_objext'
2966
 
  { (case "(($ac_try" in
2967
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2968
 
  *) ac_try_echo=$ac_try;;
2969
 
esac
2970
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2971
 
  (eval "$ac_try") 2>&5
2972
 
  ac_status=$?
2973
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
2974
 
  (exit $ac_status); }; }; then
 
3005
  (exit $ac_status); } && {
 
3006
         test -z "$ac_cxx_werror_flag" ||
 
3007
         test ! -s conftest.err
 
3008
       } && test -s conftest.$ac_objext; then
2975
3009
  ac_compiler_gnu=yes
2976
3010
else
2977
3011
  echo "$as_me: failed program was:" >&5
3026
3060
  rm -f conftest.er1
3027
3061
  cat conftest.err >&5
3028
3062
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3029
 
  (exit $ac_status); } &&
3030
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3031
 
  { (case "(($ac_try" in
3032
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3033
 
  *) ac_try_echo=$ac_try;;
3034
 
esac
3035
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3036
 
  (eval "$ac_try") 2>&5
3037
 
  ac_status=$?
3038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3039
 
  (exit $ac_status); }; } &&
3040
 
         { ac_try='test -s conftest.$ac_objext'
3041
 
  { (case "(($ac_try" in
3042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3043
 
  *) ac_try_echo=$ac_try;;
3044
 
esac
3045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3046
 
  (eval "$ac_try") 2>&5
3047
 
  ac_status=$?
3048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3049
 
  (exit $ac_status); }; }; then
 
3063
  (exit $ac_status); } && {
 
3064
         test -z "$ac_cxx_werror_flag" ||
 
3065
         test ! -s conftest.err
 
3066
       } && test -s conftest.$ac_objext; then
3050
3067
  ac_cv_prog_cxx_g=yes
3051
3068
else
3052
3069
  echo "$as_me: failed program was:" >&5
3081
3098
  rm -f conftest.er1
3082
3099
  cat conftest.err >&5
3083
3100
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3084
 
  (exit $ac_status); } &&
3085
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3086
 
  { (case "(($ac_try" in
3087
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3088
 
  *) ac_try_echo=$ac_try;;
3089
 
esac
3090
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3091
 
  (eval "$ac_try") 2>&5
3092
 
  ac_status=$?
3093
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3094
 
  (exit $ac_status); }; } &&
3095
 
         { ac_try='test -s conftest.$ac_objext'
3096
 
  { (case "(($ac_try" in
3097
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3098
 
  *) ac_try_echo=$ac_try;;
3099
 
esac
3100
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3101
 
  (eval "$ac_try") 2>&5
3102
 
  ac_status=$?
3103
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3104
 
  (exit $ac_status); }; }; then
 
3101
  (exit $ac_status); } && {
 
3102
         test -z "$ac_cxx_werror_flag" ||
 
3103
         test ! -s conftest.err
 
3104
       } && test -s conftest.$ac_objext; then
3105
3105
  :
3106
3106
else
3107
3107
  echo "$as_me: failed program was:" >&5
3137
3137
  rm -f conftest.er1
3138
3138
  cat conftest.err >&5
3139
3139
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140
 
  (exit $ac_status); } &&
3141
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
3142
 
  { (case "(($ac_try" in
3143
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3144
 
  *) ac_try_echo=$ac_try;;
3145
 
esac
3146
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3147
 
  (eval "$ac_try") 2>&5
3148
 
  ac_status=$?
3149
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3150
 
  (exit $ac_status); }; } &&
3151
 
         { ac_try='test -s conftest.$ac_objext'
3152
 
  { (case "(($ac_try" in
3153
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154
 
  *) ac_try_echo=$ac_try;;
3155
 
esac
3156
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3157
 
  (eval "$ac_try") 2>&5
3158
 
  ac_status=$?
3159
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3160
 
  (exit $ac_status); }; }; then
 
3140
  (exit $ac_status); } && {
 
3141
         test -z "$ac_cxx_werror_flag" ||
 
3142
         test ! -s conftest.err
 
3143
       } && test -s conftest.$ac_objext; then
3161
3144
  ac_cv_prog_cxx_g=yes
3162
3145
else
3163
3146
  echo "$as_me: failed program was:" >&5
3250
3233
  am_depcomp="$ac_aux_dir/depcomp"
3251
3234
  AMDEPBACKSLASH='\'
3252
3235
fi
3253
 
 
3254
 
 
3255
 
if test "x$enable_dependency_tracking" != xno; then
 
3236
 if test "x$enable_dependency_tracking" != xno; then
3256
3237
  AMDEP_TRUE=
3257
3238
  AMDEP_FALSE='#'
3258
3239
else
3262
3243
 
3263
3244
 
3264
3245
 
3265
 
 
3266
3246
depcc="$CXX"  am_compiler_list=
3267
3247
 
3268
3248
{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3330
3310
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3331
3311
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3332
3312
         >/dev/null 2>conftest.err &&
 
3313
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3333
3314
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3334
3315
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3335
3316
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3359
3340
echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3360
3341
CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3361
3342
 
3362
 
 
3363
 
 
3364
 
if
 
3343
 if
3365
3344
  test "x$enable_dependency_tracking" != xno \
3366
3345
  && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3367
3346
  am__fastdepCXX_TRUE=
3372
3351
fi
3373
3352
 
3374
3353
 
3375
 
# Find a good install program.  We prefer a C program (faster),
3376
 
# so one script is as good as another.  But avoid the broken or
3377
 
# incompatible versions:
3378
 
# SysV /etc/install, /usr/sbin/install
3379
 
# SunOS /usr/etc/install
3380
 
# IRIX /sbin/install
3381
 
# AIX /bin/install
3382
 
# AmigaOS /C/install, which installs bootblocks on floppy discs
3383
 
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3384
 
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
3385
 
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3386
 
# OS/2's system install, which has a completely different semantic
3387
 
# ./install, which can be erroneously created by make from ./install.sh.
3388
 
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
3389
 
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
3390
 
if test -z "$INSTALL"; then
3391
 
if test "${ac_cv_path_install+set}" = set; then
3392
 
  echo $ECHO_N "(cached) $ECHO_C" >&6
3393
 
else
3394
 
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3395
 
for as_dir in $PATH
3396
 
do
3397
 
  IFS=$as_save_IFS
3398
 
  test -z "$as_dir" && as_dir=.
3399
 
  # Account for people who put trailing slashes in PATH elements.
3400
 
case $as_dir/ in
3401
 
  ./ | .// | /cC/* | \
3402
 
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3403
 
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
3404
 
  /usr/ucb/* ) ;;
3405
 
  *)
3406
 
    # OSF1 and SCO ODT 3.0 have their own names for install.
3407
 
    # Don't use installbsd from OSF since it installs stuff as root
3408
 
    # by default.
3409
 
    for ac_prog in ginstall scoinst install; do
3410
 
      for ac_exec_ext in '' $ac_executable_extensions; do
3411
 
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
3412
 
          if test $ac_prog = install &&
3413
 
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3414
 
            # AIX install.  It has an incompatible calling convention.
3415
 
            :
3416
 
          elif test $ac_prog = install &&
3417
 
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3418
 
            # program-specific install script used by HP pwplus--don't use.
3419
 
            :
3420
 
          else
3421
 
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3422
 
            break 3
3423
 
          fi
3424
 
        fi
3425
 
      done
3426
 
    done
3427
 
    ;;
3428
 
esac
3429
 
done
3430
 
IFS=$as_save_IFS
3431
 
 
3432
 
 
3433
 
fi
3434
 
  if test "${ac_cv_path_install+set}" = set; then
3435
 
    INSTALL=$ac_cv_path_install
3436
 
  else
3437
 
    # As a last resort, use the slow shell script.  Don't cache a
3438
 
    # value for INSTALL within a source directory, because that will
3439
 
    # break other packages using the cache if that directory is
3440
 
    # removed, or if the value is a relative name.
3441
 
    INSTALL=$ac_install_sh
3442
 
  fi
3443
 
fi
3444
 
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
3445
 
echo "${ECHO_T}$INSTALL" >&6; }
3446
 
 
3447
 
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3448
 
# It thinks the first close brace ends the variable substitution.
3449
 
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3450
 
 
3451
 
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3452
 
 
3453
 
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3454
 
 
3455
 
# Check whether --enable-shared was given.
3456
 
if test "${enable_shared+set}" = set; then
3457
 
  enableval=$enable_shared; p=${PACKAGE-default}
3458
 
    case $enableval in
3459
 
    yes) enable_shared=yes ;;
3460
 
    no) enable_shared=no ;;
3461
 
    *)
3462
 
      enable_shared=no
3463
 
      # Look at the argument we got.  We use all the common list separators.
3464
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3465
 
      for pkg in $enableval; do
3466
 
        IFS="$lt_save_ifs"
3467
 
        if test "X$pkg" = "X$p"; then
3468
 
          enable_shared=yes
3469
 
        fi
3470
 
      done
3471
 
      IFS="$lt_save_ifs"
3472
 
      ;;
3473
 
    esac
3474
 
else
3475
 
  enable_shared=yes
3476
 
fi
3477
 
 
3478
 
 
3479
 
# Check whether --enable-static was given.
3480
 
if test "${enable_static+set}" = set; then
3481
 
  enableval=$enable_static; p=${PACKAGE-default}
3482
 
    case $enableval in
3483
 
    yes) enable_static=yes ;;
3484
 
    no) enable_static=no ;;
3485
 
    *)
3486
 
     enable_static=no
3487
 
      # Look at the argument we got.  We use all the common list separators.
3488
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3489
 
      for pkg in $enableval; do
3490
 
        IFS="$lt_save_ifs"
3491
 
        if test "X$pkg" = "X$p"; then
3492
 
          enable_static=yes
3493
 
        fi
3494
 
      done
3495
 
      IFS="$lt_save_ifs"
3496
 
      ;;
3497
 
    esac
3498
 
else
3499
 
  enable_static=yes
3500
 
fi
3501
 
 
3502
 
 
3503
 
# Check whether --enable-fast-install was given.
3504
 
if test "${enable_fast_install+set}" = set; then
3505
 
  enableval=$enable_fast_install; p=${PACKAGE-default}
3506
 
    case $enableval in
3507
 
    yes) enable_fast_install=yes ;;
3508
 
    no) enable_fast_install=no ;;
3509
 
    *)
3510
 
      enable_fast_install=no
3511
 
      # Look at the argument we got.  We use all the common list separators.
3512
 
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
3513
 
      for pkg in $enableval; do
3514
 
        IFS="$lt_save_ifs"
3515
 
        if test "X$pkg" = "X$p"; then
3516
 
          enable_fast_install=yes
3517
 
        fi
3518
 
      done
3519
 
      IFS="$lt_save_ifs"
3520
 
      ;;
3521
 
    esac
3522
 
else
3523
 
  enable_fast_install=yes
3524
 
fi
3525
 
 
3526
 
 
3527
3354
ac_ext=c
3528
3355
ac_cpp='$CPP $CPPFLAGS'
3529
3356
ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3546
3373
  IFS=$as_save_IFS
3547
3374
  test -z "$as_dir" && as_dir=.
3548
3375
  for ac_exec_ext in '' $ac_executable_extensions; do
3549
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3376
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3550
3377
    ac_cv_prog_CC="${ac_tool_prefix}gcc"
3551
3378
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3552
3379
    break 2
3586
3413
  IFS=$as_save_IFS
3587
3414
  test -z "$as_dir" && as_dir=.
3588
3415
  for ac_exec_ext in '' $ac_executable_extensions; do
3589
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3416
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3590
3417
    ac_cv_prog_ac_ct_CC="gcc"
3591
3418
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3592
3419
    break 2
3643
3470
  IFS=$as_save_IFS
3644
3471
  test -z "$as_dir" && as_dir=.
3645
3472
  for ac_exec_ext in '' $ac_executable_extensions; do
3646
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3473
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3647
3474
    ac_cv_prog_CC="${ac_tool_prefix}cc"
3648
3475
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3649
3476
    break 2
3684
3511
  IFS=$as_save_IFS
3685
3512
  test -z "$as_dir" && as_dir=.
3686
3513
  for ac_exec_ext in '' $ac_executable_extensions; do
3687
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3514
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3688
3515
    if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3689
3516
       ac_prog_rejected=yes
3690
3517
       continue
3742
3569
  IFS=$as_save_IFS
3743
3570
  test -z "$as_dir" && as_dir=.
3744
3571
  for ac_exec_ext in '' $ac_executable_extensions; do
3745
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3572
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3746
3573
    ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3747
3574
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3748
3575
    break 2
3786
3613
  IFS=$as_save_IFS
3787
3614
  test -z "$as_dir" && as_dir=.
3788
3615
  for ac_exec_ext in '' $ac_executable_extensions; do
3789
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
3616
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3790
3617
    ac_cv_prog_ac_ct_CC="$ac_prog"
3791
3618
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3792
3619
    break 2
3906
3733
  rm -f conftest.er1
3907
3734
  cat conftest.err >&5
3908
3735
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3909
 
  (exit $ac_status); } &&
3910
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3911
 
  { (case "(($ac_try" in
3912
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3913
 
  *) ac_try_echo=$ac_try;;
3914
 
esac
3915
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3916
 
  (eval "$ac_try") 2>&5
3917
 
  ac_status=$?
3918
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3919
 
  (exit $ac_status); }; } &&
3920
 
         { ac_try='test -s conftest.$ac_objext'
3921
 
  { (case "(($ac_try" in
3922
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3923
 
  *) ac_try_echo=$ac_try;;
3924
 
esac
3925
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3926
 
  (eval "$ac_try") 2>&5
3927
 
  ac_status=$?
3928
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3929
 
  (exit $ac_status); }; }; then
 
3736
  (exit $ac_status); } && {
 
3737
         test -z "$ac_c_werror_flag" ||
 
3738
         test ! -s conftest.err
 
3739
       } && test -s conftest.$ac_objext; then
3930
3740
  ac_compiler_gnu=yes
3931
3741
else
3932
3742
  echo "$as_me: failed program was:" >&5
3981
3791
  rm -f conftest.er1
3982
3792
  cat conftest.err >&5
3983
3793
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3984
 
  (exit $ac_status); } &&
3985
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3986
 
  { (case "(($ac_try" in
3987
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3988
 
  *) ac_try_echo=$ac_try;;
3989
 
esac
3990
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3991
 
  (eval "$ac_try") 2>&5
3992
 
  ac_status=$?
3993
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
3994
 
  (exit $ac_status); }; } &&
3995
 
         { ac_try='test -s conftest.$ac_objext'
3996
 
  { (case "(($ac_try" in
3997
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3998
 
  *) ac_try_echo=$ac_try;;
3999
 
esac
4000
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4001
 
  (eval "$ac_try") 2>&5
4002
 
  ac_status=$?
4003
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4004
 
  (exit $ac_status); }; }; then
 
3794
  (exit $ac_status); } && {
 
3795
         test -z "$ac_c_werror_flag" ||
 
3796
         test ! -s conftest.err
 
3797
       } && test -s conftest.$ac_objext; then
4005
3798
  ac_cv_prog_cc_g=yes
4006
3799
else
4007
3800
  echo "$as_me: failed program was:" >&5
4036
3829
  rm -f conftest.er1
4037
3830
  cat conftest.err >&5
4038
3831
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4039
 
  (exit $ac_status); } &&
4040
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4041
 
  { (case "(($ac_try" in
4042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4043
 
  *) ac_try_echo=$ac_try;;
4044
 
esac
4045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4046
 
  (eval "$ac_try") 2>&5
4047
 
  ac_status=$?
4048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4049
 
  (exit $ac_status); }; } &&
4050
 
         { ac_try='test -s conftest.$ac_objext'
4051
 
  { (case "(($ac_try" in
4052
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4053
 
  *) ac_try_echo=$ac_try;;
4054
 
esac
4055
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4056
 
  (eval "$ac_try") 2>&5
4057
 
  ac_status=$?
4058
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4059
 
  (exit $ac_status); }; }; then
 
3832
  (exit $ac_status); } && {
 
3833
         test -z "$ac_c_werror_flag" ||
 
3834
         test ! -s conftest.err
 
3835
       } && test -s conftest.$ac_objext; then
4060
3836
  :
4061
3837
else
4062
3838
  echo "$as_me: failed program was:" >&5
4092
3868
  rm -f conftest.er1
4093
3869
  cat conftest.err >&5
4094
3870
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4095
 
  (exit $ac_status); } &&
4096
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4097
 
  { (case "(($ac_try" in
4098
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4099
 
  *) ac_try_echo=$ac_try;;
4100
 
esac
4101
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4102
 
  (eval "$ac_try") 2>&5
4103
 
  ac_status=$?
4104
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4105
 
  (exit $ac_status); }; } &&
4106
 
         { ac_try='test -s conftest.$ac_objext'
4107
 
  { (case "(($ac_try" in
4108
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4109
 
  *) ac_try_echo=$ac_try;;
4110
 
esac
4111
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4112
 
  (eval "$ac_try") 2>&5
4113
 
  ac_status=$?
4114
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4115
 
  (exit $ac_status); }; }; then
 
3871
  (exit $ac_status); } && {
 
3872
         test -z "$ac_c_werror_flag" ||
 
3873
         test ! -s conftest.err
 
3874
       } && test -s conftest.$ac_objext; then
4116
3875
  ac_cv_prog_cc_g=yes
4117
3876
else
4118
3877
  echo "$as_me: failed program was:" >&5
4228
3987
  rm -f conftest.er1
4229
3988
  cat conftest.err >&5
4230
3989
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4231
 
  (exit $ac_status); } &&
4232
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
4233
 
  { (case "(($ac_try" in
4234
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4235
 
  *) ac_try_echo=$ac_try;;
4236
 
esac
4237
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4238
 
  (eval "$ac_try") 2>&5
4239
 
  ac_status=$?
4240
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4241
 
  (exit $ac_status); }; } &&
4242
 
         { ac_try='test -s conftest.$ac_objext'
4243
 
  { (case "(($ac_try" in
4244
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4245
 
  *) ac_try_echo=$ac_try;;
4246
 
esac
4247
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4248
 
  (eval "$ac_try") 2>&5
4249
 
  ac_status=$?
4250
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
4251
 
  (exit $ac_status); }; }; then
 
3990
  (exit $ac_status); } && {
 
3991
         test -z "$ac_c_werror_flag" ||
 
3992
         test ! -s conftest.err
 
3993
       } && test -s conftest.$ac_objext; then
4252
3994
  ac_cv_prog_cc_c89=$ac_arg
4253
3995
else
4254
3996
  echo "$as_me: failed program was:" >&5
4352
4094
       depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4353
4095
       $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
4354
4096
         >/dev/null 2>conftest.err &&
 
4097
       grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4355
4098
       grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4356
4099
       grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
4357
4100
       ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4381
4124
echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4382
4125
CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4383
4126
 
4384
 
 
4385
 
 
4386
 
if
 
4127
 if
4387
4128
  test "x$enable_dependency_tracking" != xno \
4388
4129
  && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4389
4130
  am__fastdepCC_TRUE=
4394
4135
fi
4395
4136
 
4396
4137
 
 
4138
if test "x$CC" != xcc; then
 
4139
  { echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
 
4140
echo $ECHO_N "checking whether $CC and cc understand -c and -o together... $ECHO_C" >&6; }
 
4141
else
 
4142
  { echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
 
4143
echo $ECHO_N "checking whether cc understands -c and -o together... $ECHO_C" >&6; }
 
4144
fi
 
4145
set dummy $CC; ac_cc=`echo $2 |
 
4146
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
4147
if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
 
4148
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4149
else
 
4150
  cat >conftest.$ac_ext <<_ACEOF
 
4151
/* confdefs.h.  */
 
4152
_ACEOF
 
4153
cat confdefs.h >>conftest.$ac_ext
 
4154
cat >>conftest.$ac_ext <<_ACEOF
 
4155
/* end confdefs.h.  */
 
4156
 
 
4157
int
 
4158
main ()
 
4159
{
 
4160
 
 
4161
  ;
 
4162
  return 0;
 
4163
}
 
4164
_ACEOF
 
4165
# Make sure it works both with $CC and with simple cc.
 
4166
# We do the test twice because some compilers refuse to overwrite an
 
4167
# existing .o file with -o, though they will create one.
 
4168
ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
4169
rm -f conftest2.*
 
4170
if { (case "(($ac_try" in
 
4171
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4172
  *) ac_try_echo=$ac_try;;
 
4173
esac
 
4174
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4175
  (eval "$ac_try") 2>&5
 
4176
  ac_status=$?
 
4177
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4178
  (exit $ac_status); } &&
 
4179
   test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
4180
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4181
  *) ac_try_echo=$ac_try;;
 
4182
esac
 
4183
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4184
  (eval "$ac_try") 2>&5
 
4185
  ac_status=$?
 
4186
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4187
  (exit $ac_status); };
 
4188
then
 
4189
  eval ac_cv_prog_cc_${ac_cc}_c_o=yes
 
4190
  if test "x$CC" != xcc; then
 
4191
    # Test first that cc exists at all.
 
4192
    if { ac_try='cc -c conftest.$ac_ext >&5'
 
4193
  { (case "(($ac_try" in
 
4194
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4195
  *) ac_try_echo=$ac_try;;
 
4196
esac
 
4197
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4198
  (eval "$ac_try") 2>&5
 
4199
  ac_status=$?
 
4200
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4201
  (exit $ac_status); }; }; then
 
4202
      ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
 
4203
      rm -f conftest2.*
 
4204
      if { (case "(($ac_try" in
 
4205
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4206
  *) ac_try_echo=$ac_try;;
 
4207
esac
 
4208
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4209
  (eval "$ac_try") 2>&5
 
4210
  ac_status=$?
 
4211
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4212
  (exit $ac_status); } &&
 
4213
         test -f conftest2.$ac_objext && { (case "(($ac_try" in
 
4214
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
4215
  *) ac_try_echo=$ac_try;;
 
4216
esac
 
4217
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
4218
  (eval "$ac_try") 2>&5
 
4219
  ac_status=$?
 
4220
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
4221
  (exit $ac_status); };
 
4222
      then
 
4223
        # cc works too.
 
4224
        :
 
4225
      else
 
4226
        # cc exists but doesn't like -o.
 
4227
        eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
4228
      fi
 
4229
    fi
 
4230
  fi
 
4231
else
 
4232
  eval ac_cv_prog_cc_${ac_cc}_c_o=no
 
4233
fi
 
4234
rm -f core conftest*
 
4235
 
 
4236
fi
 
4237
if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
 
4238
  { echo "$as_me:$LINENO: result: yes" >&5
 
4239
echo "${ECHO_T}yes" >&6; }
 
4240
else
 
4241
  { echo "$as_me:$LINENO: result: no" >&5
 
4242
echo "${ECHO_T}no" >&6; }
 
4243
 
 
4244
cat >>confdefs.h <<\_ACEOF
 
4245
#define NO_MINUS_C_MINUS_O 1
 
4246
_ACEOF
 
4247
 
 
4248
fi
 
4249
 
 
4250
# FIXME: we rely on the cache variable name because
 
4251
# there is no other way.
 
4252
set dummy $CC
 
4253
ac_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
 
4254
if eval "test \"`echo '$ac_cv_prog_cc_'${ac_cc}_c_o`\" != yes"; then
 
4255
   # Losing compiler, so override with the script.
 
4256
   # FIXME: It is wrong to rewrite CC.
 
4257
   # But if we don't then we get into trouble of one sort or another.
 
4258
   # A longer-term fix would be to have automake use am__CC in this case,
 
4259
   # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
 
4260
   CC="$am_aux_dir/compile $CC"
 
4261
fi
 
4262
 
 
4263
 
 
4264
# Find a good install program.  We prefer a C program (faster),
 
4265
# so one script is as good as another.  But avoid the broken or
 
4266
# incompatible versions:
 
4267
# SysV /etc/install, /usr/sbin/install
 
4268
# SunOS /usr/etc/install
 
4269
# IRIX /sbin/install
 
4270
# AIX /bin/install
 
4271
# AmigaOS /C/install, which installs bootblocks on floppy discs
 
4272
# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
 
4273
# AFS /usr/afsws/bin/install, which mishandles nonexistent args
 
4274
# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
 
4275
# OS/2's system install, which has a completely different semantic
 
4276
# ./install, which can be erroneously created by make from ./install.sh.
 
4277
{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
 
4278
echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
 
4279
if test -z "$INSTALL"; then
 
4280
if test "${ac_cv_path_install+set}" = set; then
 
4281
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
4282
else
 
4283
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
4284
for as_dir in $PATH
 
4285
do
 
4286
  IFS=$as_save_IFS
 
4287
  test -z "$as_dir" && as_dir=.
 
4288
  # Account for people who put trailing slashes in PATH elements.
 
4289
case $as_dir/ in
 
4290
  ./ | .// | /cC/* | \
 
4291
  /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
 
4292
  ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
 
4293
  /usr/ucb/* ) ;;
 
4294
  *)
 
4295
    # OSF1 and SCO ODT 3.0 have their own names for install.
 
4296
    # Don't use installbsd from OSF since it installs stuff as root
 
4297
    # by default.
 
4298
    for ac_prog in ginstall scoinst install; do
 
4299
      for ac_exec_ext in '' $ac_executable_extensions; do
 
4300
        if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
 
4301
          if test $ac_prog = install &&
 
4302
            grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4303
            # AIX install.  It has an incompatible calling convention.
 
4304
            :
 
4305
          elif test $ac_prog = install &&
 
4306
            grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
 
4307
            # program-specific install script used by HP pwplus--don't use.
 
4308
            :
 
4309
          else
 
4310
            ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
 
4311
            break 3
 
4312
          fi
 
4313
        fi
 
4314
      done
 
4315
    done
 
4316
    ;;
 
4317
esac
 
4318
done
 
4319
IFS=$as_save_IFS
 
4320
 
 
4321
 
 
4322
fi
 
4323
  if test "${ac_cv_path_install+set}" = set; then
 
4324
    INSTALL=$ac_cv_path_install
 
4325
  else
 
4326
    # As a last resort, use the slow shell script.  Don't cache a
 
4327
    # value for INSTALL within a source directory, because that will
 
4328
    # break other packages using the cache if that directory is
 
4329
    # removed, or if the value is a relative name.
 
4330
    INSTALL=$ac_install_sh
 
4331
  fi
 
4332
fi
 
4333
{ echo "$as_me:$LINENO: result: $INSTALL" >&5
 
4334
echo "${ECHO_T}$INSTALL" >&6; }
 
4335
 
 
4336
# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
 
4337
# It thinks the first close brace ends the variable substitution.
 
4338
test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
 
4339
 
 
4340
test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
 
4341
 
 
4342
test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
 
4343
 
 
4344
# Check whether --enable-shared was given.
 
4345
if test "${enable_shared+set}" = set; then
 
4346
  enableval=$enable_shared; p=${PACKAGE-default}
 
4347
    case $enableval in
 
4348
    yes) enable_shared=yes ;;
 
4349
    no) enable_shared=no ;;
 
4350
    *)
 
4351
      enable_shared=no
 
4352
      # Look at the argument we got.  We use all the common list separators.
 
4353
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
4354
      for pkg in $enableval; do
 
4355
        IFS="$lt_save_ifs"
 
4356
        if test "X$pkg" = "X$p"; then
 
4357
          enable_shared=yes
 
4358
        fi
 
4359
      done
 
4360
      IFS="$lt_save_ifs"
 
4361
      ;;
 
4362
    esac
 
4363
else
 
4364
  enable_shared=yes
 
4365
fi
 
4366
 
 
4367
 
 
4368
# Check whether --enable-static was given.
 
4369
if test "${enable_static+set}" = set; then
 
4370
  enableval=$enable_static; p=${PACKAGE-default}
 
4371
    case $enableval in
 
4372
    yes) enable_static=yes ;;
 
4373
    no) enable_static=no ;;
 
4374
    *)
 
4375
     enable_static=no
 
4376
      # Look at the argument we got.  We use all the common list separators.
 
4377
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
4378
      for pkg in $enableval; do
 
4379
        IFS="$lt_save_ifs"
 
4380
        if test "X$pkg" = "X$p"; then
 
4381
          enable_static=yes
 
4382
        fi
 
4383
      done
 
4384
      IFS="$lt_save_ifs"
 
4385
      ;;
 
4386
    esac
 
4387
else
 
4388
  enable_static=yes
 
4389
fi
 
4390
 
 
4391
 
 
4392
# Check whether --enable-fast-install was given.
 
4393
if test "${enable_fast_install+set}" = set; then
 
4394
  enableval=$enable_fast_install; p=${PACKAGE-default}
 
4395
    case $enableval in
 
4396
    yes) enable_fast_install=yes ;;
 
4397
    no) enable_fast_install=no ;;
 
4398
    *)
 
4399
      enable_fast_install=no
 
4400
      # Look at the argument we got.  We use all the common list separators.
 
4401
      lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
 
4402
      for pkg in $enableval; do
 
4403
        IFS="$lt_save_ifs"
 
4404
        if test "X$pkg" = "X$p"; then
 
4405
          enable_fast_install=yes
 
4406
        fi
 
4407
      done
 
4408
      IFS="$lt_save_ifs"
 
4409
      ;;
 
4410
    esac
 
4411
else
 
4412
  enable_fast_install=yes
 
4413
fi
 
4414
 
 
4415
 
4397
4416
{ echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
4398
4417
echo $ECHO_N "checking for a sed that does not truncate output... $ECHO_C" >&6; }
4399
4418
if test "${lt_cv_path_SED+set}" = set; then
4408
4427
  test -z "$as_dir" && as_dir=.
4409
4428
  for lt_ac_prog in sed gsed; do
4410
4429
    for ac_exec_ext in '' $ac_executable_extensions; do
4411
 
      if $as_executable_p "$as_dir/$lt_ac_prog$ac_exec_ext"; then
 
4430
      if { test -f "$as_dir/$lt_ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$lt_ac_prog$ac_exec_ext"; }; then
4412
4431
        lt_ac_sed_list="$lt_ac_sed_list $as_dir/$lt_ac_prog$ac_exec_ext"
4413
4432
      fi
4414
4433
    done
4415
4434
  done
4416
4435
done
 
4436
IFS=$as_save_IFS
4417
4437
lt_ac_max=0
4418
4438
lt_ac_count=0
4419
4439
# Add /usr/xpg4/bin/sed as it is typically found on Solaris
4448
4468
fi
4449
4469
 
4450
4470
SED=$lt_cv_path_SED
 
4471
 
4451
4472
{ echo "$as_me:$LINENO: result: $SED" >&5
4452
4473
echo "${ECHO_T}$SED" >&6; }
4453
4474
 
4472
4493
  for ac_prog in grep ggrep; do
4473
4494
  for ac_exec_ext in '' $ac_executable_extensions; do
4474
4495
    ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4475
 
    { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
 
4496
    { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
4476
4497
    # Check for GNU ac_path_GREP and select it if it is found.
4477
4498
  # Check for GNU $ac_path_GREP
4478
4499
case `"$ac_path_GREP" --version 2>&1` in
4554
4575
  for ac_prog in egrep; do
4555
4576
  for ac_exec_ext in '' $ac_executable_extensions; do
4556
4577
    ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4557
 
    { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
 
4578
    { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
4558
4579
    # Check for GNU ac_path_EGREP and select it if it is found.
4559
4580
  # Check for GNU $ac_path_EGREP
4560
4581
case `"$ac_path_EGREP" --version 2>&1` in
4809
4830
echo "${ECHO_T}no, using $LN_S" >&6; }
4810
4831
fi
4811
4832
 
4812
 
{ echo "$as_me:$LINENO: checking how to recognise dependent libraries" >&5
4813
 
echo $ECHO_N "checking how to recognise dependent libraries... $ECHO_C" >&6; }
 
4833
{ echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
 
4834
echo $ECHO_N "checking how to recognize dependent libraries... $ECHO_C" >&6; }
4814
4835
if test "${lt_cv_deplibs_check_method+set}" = set; then
4815
4836
  echo $ECHO_N "(cached) $ECHO_C" >&6
4816
4837
else
4851
4872
 
4852
4873
mingw* | pw32*)
4853
4874
  # Base MSYS/MinGW do not provide the 'file' command needed by
4854
 
  # func_win32_libid shell function, so use a weaker test based on 'objdump'.
4855
 
  lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
4856
 
  lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4875
  # func_win32_libid shell function, so use a weaker test based on 'objdump',
 
4876
  # unless we find 'file', for example because we are cross-compiling.
 
4877
  if ( file / ) >/dev/null 2>&1; then
 
4878
    lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
 
4879
    lt_cv_file_magic_cmd='func_win32_libid'
 
4880
  else
 
4881
    lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
 
4882
    lt_cv_file_magic_cmd='$OBJDUMP -f'
 
4883
  fi
4857
4884
  ;;
4858
4885
 
4859
4886
darwin* | rhapsody*)
4898
4925
  esac
4899
4926
  ;;
4900
4927
 
4901
 
interix3*)
 
4928
interix[3-9]*)
4902
4929
  # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
4903
4930
  lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
4904
4931
  ;;
4948
4975
  lt_cv_deplibs_check_method=pass_all
4949
4976
  ;;
4950
4977
 
 
4978
rdos*)
 
4979
  lt_cv_deplibs_check_method=pass_all
 
4980
  ;;
 
4981
 
4951
4982
solaris*)
4952
4983
  lt_cv_deplibs_check_method=pass_all
4953
4984
  ;;
5035
5066
  ;;
5036
5067
*-*-irix6*)
5037
5068
  # Find out which ABI we are using.
5038
 
  echo '#line 5038 "configure"' > conftest.$ac_ext
 
5069
  echo '#line 5069 "configure"' > conftest.$ac_ext
5039
5070
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5040
5071
  (eval $ac_compile) 2>&5
5041
5072
  ac_status=$?
5070
5101
  rm -rf conftest*
5071
5102
  ;;
5072
5103
 
5073
 
x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*|s390*-*linux*|sparc*-*linux*)
 
5104
x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
 
5105
s390*-*linux*|sparc*-*linux*)
5074
5106
  # Find out which ABI we are using.
5075
5107
  echo 'int i;' > conftest.$ac_ext
5076
5108
  if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5081
5113
    case `/usr/bin/file conftest.o` in
5082
5114
    *32-bit*)
5083
5115
      case $host in
 
5116
        x86_64-*kfreebsd*-gnu)
 
5117
          LD="${LD-ld} -m elf_i386_fbsd"
 
5118
          ;;
5084
5119
        x86_64-*linux*)
5085
5120
          LD="${LD-ld} -m elf_i386"
5086
5121
          ;;
5097
5132
      ;;
5098
5133
    *64-bit*)
5099
5134
      case $host in
 
5135
        x86_64-*kfreebsd*-gnu)
 
5136
          LD="${LD-ld} -m elf_x86_64_fbsd"
 
5137
          ;;
5100
5138
        x86_64-*linux*)
5101
5139
          LD="${LD-ld} -m elf_x86_64"
5102
5140
          ;;
5159
5197
  rm -f conftest.er1
5160
5198
  cat conftest.err >&5
5161
5199
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5162
 
  (exit $ac_status); } &&
5163
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5164
 
  { (case "(($ac_try" in
5165
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5166
 
  *) ac_try_echo=$ac_try;;
5167
 
esac
5168
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5169
 
  (eval "$ac_try") 2>&5
5170
 
  ac_status=$?
5171
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5172
 
  (exit $ac_status); }; } &&
5173
 
         { ac_try='test -s conftest$ac_exeext'
5174
 
  { (case "(($ac_try" in
5175
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5176
 
  *) ac_try_echo=$ac_try;;
5177
 
esac
5178
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5179
 
  (eval "$ac_try") 2>&5
5180
 
  ac_status=$?
5181
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5182
 
  (exit $ac_status); }; }; then
 
5200
  (exit $ac_status); } && {
 
5201
         test -z "$ac_c_werror_flag" ||
 
5202
         test ! -s conftest.err
 
5203
       } && test -s conftest$ac_exeext &&
 
5204
       $as_test_x conftest$ac_exeext; then
5183
5205
  lt_cv_cc_needs_belf=yes
5184
5206
else
5185
5207
  echo "$as_me: failed program was:" >&5
5282
5304
  rm -f conftest.er1
5283
5305
  cat conftest.err >&5
5284
5306
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5285
 
  (exit $ac_status); } >/dev/null; then
5286
 
  if test -s conftest.err; then
5287
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5288
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5289
 
  else
5290
 
    ac_cpp_err=
5291
 
  fi
5292
 
else
5293
 
  ac_cpp_err=yes
5294
 
fi
5295
 
if test -z "$ac_cpp_err"; then
 
5307
  (exit $ac_status); } >/dev/null && {
 
5308
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5309
         test ! -s conftest.err
 
5310
       }; then
5296
5311
  :
5297
5312
else
5298
5313
  echo "$as_me: failed program was:" >&5
5326
5341
  rm -f conftest.er1
5327
5342
  cat conftest.err >&5
5328
5343
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5329
 
  (exit $ac_status); } >/dev/null; then
5330
 
  if test -s conftest.err; then
5331
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5332
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5333
 
  else
5334
 
    ac_cpp_err=
5335
 
  fi
5336
 
else
5337
 
  ac_cpp_err=yes
5338
 
fi
5339
 
if test -z "$ac_cpp_err"; then
 
5344
  (exit $ac_status); } >/dev/null && {
 
5345
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5346
         test ! -s conftest.err
 
5347
       }; then
5340
5348
  # Broken: success on invalid input.
5341
5349
continue
5342
5350
else
5401
5409
  rm -f conftest.er1
5402
5410
  cat conftest.err >&5
5403
5411
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5404
 
  (exit $ac_status); } >/dev/null; then
5405
 
  if test -s conftest.err; then
5406
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5407
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5408
 
  else
5409
 
    ac_cpp_err=
5410
 
  fi
5411
 
else
5412
 
  ac_cpp_err=yes
5413
 
fi
5414
 
if test -z "$ac_cpp_err"; then
 
5412
  (exit $ac_status); } >/dev/null && {
 
5413
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5414
         test ! -s conftest.err
 
5415
       }; then
5415
5416
  :
5416
5417
else
5417
5418
  echo "$as_me: failed program was:" >&5
5445
5446
  rm -f conftest.er1
5446
5447
  cat conftest.err >&5
5447
5448
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5448
 
  (exit $ac_status); } >/dev/null; then
5449
 
  if test -s conftest.err; then
5450
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5451
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5452
 
  else
5453
 
    ac_cpp_err=
5454
 
  fi
5455
 
else
5456
 
  ac_cpp_err=yes
5457
 
fi
5458
 
if test -z "$ac_cpp_err"; then
 
5449
  (exit $ac_status); } >/dev/null && {
 
5450
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5451
         test ! -s conftest.err
 
5452
       }; then
5459
5453
  # Broken: success on invalid input.
5460
5454
continue
5461
5455
else
5526
5520
  rm -f conftest.er1
5527
5521
  cat conftest.err >&5
5528
5522
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5529
 
  (exit $ac_status); } &&
5530
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5531
 
  { (case "(($ac_try" in
5532
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5533
 
  *) ac_try_echo=$ac_try;;
5534
 
esac
5535
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5536
 
  (eval "$ac_try") 2>&5
5537
 
  ac_status=$?
5538
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5539
 
  (exit $ac_status); }; } &&
5540
 
         { ac_try='test -s conftest.$ac_objext'
5541
 
  { (case "(($ac_try" in
5542
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5543
 
  *) ac_try_echo=$ac_try;;
5544
 
esac
5545
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5546
 
  (eval "$ac_try") 2>&5
5547
 
  ac_status=$?
5548
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5549
 
  (exit $ac_status); }; }; then
 
5523
  (exit $ac_status); } && {
 
5524
         test -z "$ac_c_werror_flag" ||
 
5525
         test ! -s conftest.err
 
5526
       } && test -s conftest.$ac_objext; then
5550
5527
  ac_cv_header_stdc=yes
5551
5528
else
5552
5529
  echo "$as_me: failed program was:" >&5
5722
5699
  rm -f conftest.er1
5723
5700
  cat conftest.err >&5
5724
5701
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5725
 
  (exit $ac_status); } &&
5726
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5727
 
  { (case "(($ac_try" in
5728
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5729
 
  *) ac_try_echo=$ac_try;;
5730
 
esac
5731
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5732
 
  (eval "$ac_try") 2>&5
5733
 
  ac_status=$?
5734
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5735
 
  (exit $ac_status); }; } &&
5736
 
         { ac_try='test -s conftest.$ac_objext'
5737
 
  { (case "(($ac_try" in
5738
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5739
 
  *) ac_try_echo=$ac_try;;
5740
 
esac
5741
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5742
 
  (eval "$ac_try") 2>&5
5743
 
  ac_status=$?
5744
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5745
 
  (exit $ac_status); }; }; then
 
5702
  (exit $ac_status); } && {
 
5703
         test -z "$ac_c_werror_flag" ||
 
5704
         test ! -s conftest.err
 
5705
       } && test -s conftest.$ac_objext; then
5746
5706
  eval "$as_ac_Header=yes"
5747
5707
else
5748
5708
  echo "$as_me: failed program was:" >&5
5805
5765
  rm -f conftest.er1
5806
5766
  cat conftest.err >&5
5807
5767
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5808
 
  (exit $ac_status); } &&
5809
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
5810
 
  { (case "(($ac_try" in
5811
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5812
 
  *) ac_try_echo=$ac_try;;
5813
 
esac
5814
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5815
 
  (eval "$ac_try") 2>&5
5816
 
  ac_status=$?
5817
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5818
 
  (exit $ac_status); }; } &&
5819
 
         { ac_try='test -s conftest.$ac_objext'
5820
 
  { (case "(($ac_try" in
5821
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5822
 
  *) ac_try_echo=$ac_try;;
5823
 
esac
5824
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5825
 
  (eval "$ac_try") 2>&5
5826
 
  ac_status=$?
5827
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5828
 
  (exit $ac_status); }; }; then
 
5768
  (exit $ac_status); } && {
 
5769
         test -z "$ac_c_werror_flag" ||
 
5770
         test ! -s conftest.err
 
5771
       } && test -s conftest.$ac_objext; then
5829
5772
  ac_header_compiler=yes
5830
5773
else
5831
5774
  echo "$as_me: failed program was:" >&5
5861
5804
  rm -f conftest.er1
5862
5805
  cat conftest.err >&5
5863
5806
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5864
 
  (exit $ac_status); } >/dev/null; then
5865
 
  if test -s conftest.err; then
5866
 
    ac_cpp_err=$ac_c_preproc_warn_flag
5867
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5868
 
  else
5869
 
    ac_cpp_err=
5870
 
  fi
5871
 
else
5872
 
  ac_cpp_err=yes
5873
 
fi
5874
 
if test -z "$ac_cpp_err"; then
 
5807
  (exit $ac_status); } >/dev/null && {
 
5808
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
5809
         test ! -s conftest.err
 
5810
       }; then
5875
5811
  ac_header_preproc=yes
5876
5812
else
5877
5813
  echo "$as_me: failed program was:" >&5
5907
5843
    { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5908
5844
echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5909
5845
    ( cat <<\_ASBOX
5910
 
## ------------------------------- ##
5911
 
## Report this to tim.kosse@gmx.de ##
5912
 
## ------------------------------- ##
 
5846
## ---------------------------------------------- ##
 
5847
## Report this to tim.kosse@filezilla-project.org ##
 
5848
## ---------------------------------------------- ##
5913
5849
_ASBOX
5914
5850
     ) | sed "s/^/$as_me: WARNING:     /" >&2
5915
5851
    ;;
5988
5924
  rm -f conftest.er1
5989
5925
  cat conftest.err >&5
5990
5926
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
5991
 
  (exit $ac_status); } >/dev/null; then
5992
 
  if test -s conftest.err; then
5993
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
5994
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5995
 
  else
5996
 
    ac_cpp_err=
5997
 
  fi
5998
 
else
5999
 
  ac_cpp_err=yes
6000
 
fi
6001
 
if test -z "$ac_cpp_err"; then
 
5927
  (exit $ac_status); } >/dev/null && {
 
5928
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5929
         test ! -s conftest.err
 
5930
       }; then
6002
5931
  :
6003
5932
else
6004
5933
  echo "$as_me: failed program was:" >&5
6032
5961
  rm -f conftest.er1
6033
5962
  cat conftest.err >&5
6034
5963
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6035
 
  (exit $ac_status); } >/dev/null; then
6036
 
  if test -s conftest.err; then
6037
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6038
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6039
 
  else
6040
 
    ac_cpp_err=
6041
 
  fi
6042
 
else
6043
 
  ac_cpp_err=yes
6044
 
fi
6045
 
if test -z "$ac_cpp_err"; then
 
5964
  (exit $ac_status); } >/dev/null && {
 
5965
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
5966
         test ! -s conftest.err
 
5967
       }; then
6046
5968
  # Broken: success on invalid input.
6047
5969
continue
6048
5970
else
6107
6029
  rm -f conftest.er1
6108
6030
  cat conftest.err >&5
6109
6031
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6110
 
  (exit $ac_status); } >/dev/null; then
6111
 
  if test -s conftest.err; then
6112
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6113
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6114
 
  else
6115
 
    ac_cpp_err=
6116
 
  fi
6117
 
else
6118
 
  ac_cpp_err=yes
6119
 
fi
6120
 
if test -z "$ac_cpp_err"; then
 
6032
  (exit $ac_status); } >/dev/null && {
 
6033
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6034
         test ! -s conftest.err
 
6035
       }; then
6121
6036
  :
6122
6037
else
6123
6038
  echo "$as_me: failed program was:" >&5
6151
6066
  rm -f conftest.er1
6152
6067
  cat conftest.err >&5
6153
6068
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6154
 
  (exit $ac_status); } >/dev/null; then
6155
 
  if test -s conftest.err; then
6156
 
    ac_cpp_err=$ac_cxx_preproc_warn_flag
6157
 
    ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6158
 
  else
6159
 
    ac_cpp_err=
6160
 
  fi
6161
 
else
6162
 
  ac_cpp_err=yes
6163
 
fi
6164
 
if test -z "$ac_cpp_err"; then
 
6069
  (exit $ac_status); } >/dev/null && {
 
6070
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
 
6071
         test ! -s conftest.err
 
6072
       }; then
6165
6073
  # Broken: success on invalid input.
6166
6074
continue
6167
6075
else
6202
6110
ac_link='$F77 -o conftest$ac_exeext $FFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6203
6111
ac_compiler_gnu=$ac_cv_f77_compiler_gnu
6204
6112
if test -n "$ac_tool_prefix"; then
6205
 
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
 
6113
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6206
6114
  do
6207
6115
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6208
6116
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6220
6128
  IFS=$as_save_IFS
6221
6129
  test -z "$as_dir" && as_dir=.
6222
6130
  for ac_exec_ext in '' $ac_executable_extensions; do
6223
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6131
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6224
6132
    ac_cv_prog_F77="$ac_tool_prefix$ac_prog"
6225
6133
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6226
6134
    break 2
6246
6154
fi
6247
6155
if test -z "$F77"; then
6248
6156
  ac_ct_F77=$F77
6249
 
  for ac_prog in g77 f77 xlf frt pgf77 cf77 fort77 fl32 af77 f90 xlf90 pgf90 pghpf epcf90 gfortran g95 f95 fort xlf95 ifort ifc efc pgf95 lf95 ftn
 
6157
  for ac_prog in g77 xlf f77 frt pgf77 cf77 fort77 fl32 af77 xlf90 f90 pgf90 pghpf epcf90 gfortran g95 xlf95 f95 fort ifort ifc efc pgf95 lf95 ftn
6250
6158
do
6251
6159
  # Extract the first word of "$ac_prog", so it can be a program name with args.
6252
6160
set dummy $ac_prog; ac_word=$2
6264
6172
  IFS=$as_save_IFS
6265
6173
  test -z "$as_dir" && as_dir=.
6266
6174
  for ac_exec_ext in '' $ac_executable_extensions; do
6267
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6175
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6268
6176
    ac_cv_prog_ac_ct_F77="$ac_prog"
6269
6177
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6270
6178
    break 2
6371
6279
  rm -f conftest.er1
6372
6280
  cat conftest.err >&5
6373
6281
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6374
 
  (exit $ac_status); } &&
6375
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6376
 
  { (case "(($ac_try" in
6377
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6378
 
  *) ac_try_echo=$ac_try;;
6379
 
esac
6380
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6381
 
  (eval "$ac_try") 2>&5
6382
 
  ac_status=$?
6383
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6384
 
  (exit $ac_status); }; } &&
6385
 
         { ac_try='test -s conftest.$ac_objext'
6386
 
  { (case "(($ac_try" in
6387
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6388
 
  *) ac_try_echo=$ac_try;;
6389
 
esac
6390
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6391
 
  (eval "$ac_try") 2>&5
6392
 
  ac_status=$?
6393
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6394
 
  (exit $ac_status); }; }; then
 
6282
  (exit $ac_status); } && {
 
6283
         test -z "$ac_f77_werror_flag" ||
 
6284
         test ! -s conftest.err
 
6285
       } && test -s conftest.$ac_objext; then
6395
6286
  ac_compiler_gnu=yes
6396
6287
else
6397
6288
  echo "$as_me: failed program was:" >&5
6434
6325
  rm -f conftest.er1
6435
6326
  cat conftest.err >&5
6436
6327
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6437
 
  (exit $ac_status); } &&
6438
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
6439
 
  { (case "(($ac_try" in
6440
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6441
 
  *) ac_try_echo=$ac_try;;
6442
 
esac
6443
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6444
 
  (eval "$ac_try") 2>&5
6445
 
  ac_status=$?
6446
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6447
 
  (exit $ac_status); }; } &&
6448
 
         { ac_try='test -s conftest.$ac_objext'
6449
 
  { (case "(($ac_try" in
6450
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6451
 
  *) ac_try_echo=$ac_try;;
6452
 
esac
6453
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6454
 
  (eval "$ac_try") 2>&5
6455
 
  ac_status=$?
6456
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
6457
 
  (exit $ac_status); }; }; then
 
6328
  (exit $ac_status); } && {
 
6329
         test -z "$ac_f77_werror_flag" ||
 
6330
         test ! -s conftest.err
 
6331
       } && test -s conftest.$ac_objext; then
6458
6332
  ac_cv_prog_f77_g=yes
6459
6333
else
6460
6334
  echo "$as_me: failed program was:" >&5
6581
6455
    fi
6582
6456
    ;;
6583
6457
  *)
6584
 
    # If test is not a shell built-in, we'll probably end up computing a
6585
 
    # maximum length that is only half of the actual maximum length, but
6586
 
    # we can't tell.
6587
 
    SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6588
 
    while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
 
6458
    lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
 
6459
    if test -n "$lt_cv_sys_max_cmd_len"; then
 
6460
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
 
6461
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
 
6462
    else
 
6463
      SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
 
6464
      while (test "X"`$SHELL $0 --fallback-echo "X$teststring" 2>/dev/null` \
6589
6465
               = "XX$teststring") >/dev/null 2>&1 &&
6590
 
            new_result=`expr "X$teststring" : ".*" 2>&1` &&
6591
 
            lt_cv_sys_max_cmd_len=$new_result &&
6592
 
            test $i != 17 # 1/2 MB should be enough
6593
 
    do
6594
 
      i=`expr $i + 1`
6595
 
      teststring=$teststring$teststring
6596
 
    done
6597
 
    teststring=
6598
 
    # Add a significant safety factor because C++ compilers can tack on massive
6599
 
    # amounts of additional arguments before passing them to the linker.
6600
 
    # It appears as though 1/2 is a usable value.
6601
 
    lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6466
              new_result=`expr "X$teststring" : ".*" 2>&1` &&
 
6467
              lt_cv_sys_max_cmd_len=$new_result &&
 
6468
              test $i != 17 # 1/2 MB should be enough
 
6469
      do
 
6470
        i=`expr $i + 1`
 
6471
        teststring=$teststring$teststring
 
6472
      done
 
6473
      teststring=
 
6474
      # Add a significant safety factor because C++ compilers can tack on massive
 
6475
      # amounts of additional arguments before passing them to the linker.
 
6476
      # It appears as though 1/2 is a usable value.
 
6477
      lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
 
6478
    fi
6602
6479
    ;;
6603
6480
  esac
6604
6481
 
6615
6492
 
6616
6493
 
6617
6494
 
 
6495
 
6618
6496
# Check for command to grab the raw symbol name followed by C symbol from nm.
6619
6497
{ echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6620
6498
echo $ECHO_N "checking command to parse $NM output from $compiler object... $ECHO_C" >&6; }
6909
6787
  IFS=$as_save_IFS
6910
6788
  test -z "$as_dir" && as_dir=.
6911
6789
  for ac_exec_ext in '' $ac_executable_extensions; do
6912
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6790
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6913
6791
    ac_cv_prog_AR="${ac_tool_prefix}ar"
6914
6792
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6915
6793
    break 2
6949
6827
  IFS=$as_save_IFS
6950
6828
  test -z "$as_dir" && as_dir=.
6951
6829
  for ac_exec_ext in '' $ac_executable_extensions; do
6952
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6830
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6953
6831
    ac_cv_prog_ac_ct_AR="ar"
6954
6832
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6955
6833
    break 2
7005
6883
  IFS=$as_save_IFS
7006
6884
  test -z "$as_dir" && as_dir=.
7007
6885
  for ac_exec_ext in '' $ac_executable_extensions; do
7008
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6886
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7009
6887
    ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7010
6888
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7011
6889
    break 2
7045
6923
  IFS=$as_save_IFS
7046
6924
  test -z "$as_dir" && as_dir=.
7047
6925
  for ac_exec_ext in '' $ac_executable_extensions; do
7048
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6926
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7049
6927
    ac_cv_prog_ac_ct_RANLIB="ranlib"
7050
6928
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7051
6929
    break 2
7101
6979
  IFS=$as_save_IFS
7102
6980
  test -z "$as_dir" && as_dir=.
7103
6981
  for ac_exec_ext in '' $ac_executable_extensions; do
7104
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6982
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7105
6983
    ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7106
6984
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7107
6985
    break 2
7141
7019
  IFS=$as_save_IFS
7142
7020
  test -z "$as_dir" && as_dir=.
7143
7021
  for ac_exec_ext in '' $ac_executable_extensions; do
7144
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7022
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
7145
7023
    ac_cv_prog_ac_ct_STRIP="strip"
7146
7024
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7147
7025
    break 2
7203
7081
test -z "$ac_objext" && ac_objext=o
7204
7082
 
7205
7083
# Determine commands to create old-style static archives.
7206
 
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs$old_deplibs'
 
7084
old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7207
7085
old_postinstall_cmds='chmod 644 $oldlib'
7208
7086
old_postuninstall_cmds=
7209
7087
 
7403
7281
objext=$objext
7404
7282
 
7405
7283
# Code to be used in simple compile tests
7406
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
7284
lt_simple_compile_test_code="int some_variable = 0;"
7407
7285
 
7408
7286
# Code to be used in simple link tests
7409
 
lt_simple_link_test_code='int main(){return(0);}\n'
 
7287
lt_simple_link_test_code='int main(){return(0);}'
7410
7288
 
7411
7289
 
7412
7290
# If no C compiler was specified, use CC.
7421
7299
 
7422
7300
# save warnings/boilerplate of simple test code
7423
7301
ac_outfile=conftest.$ac_objext
7424
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
7302
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
7425
7303
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7426
7304
_lt_compiler_boilerplate=`cat conftest.err`
7427
7305
$rm conftest*
7428
7306
 
7429
7307
ac_outfile=conftest.$ac_objext
7430
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
7308
echo "$lt_simple_link_test_code" >conftest.$ac_ext
7431
7309
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
7432
7310
_lt_linker_boilerplate=`cat conftest.err`
7433
7311
$rm conftest*
7447
7325
else
7448
7326
  lt_cv_prog_compiler_rtti_exceptions=no
7449
7327
  ac_outfile=conftest.$ac_objext
7450
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7328
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7451
7329
   lt_compiler_flag="-fno-rtti -fno-exceptions"
7452
7330
   # Insert the option either (1) after the last *FLAGS variable, or
7453
7331
   # (2) before a word containing "conftest.", or (3) at the end.
7458
7336
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7459
7337
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7460
7338
   -e 's:$: $lt_compiler_flag:'`
7461
 
   (eval echo "\"\$as_me:7461: $lt_compile\"" >&5)
 
7339
   (eval echo "\"\$as_me:7339: $lt_compile\"" >&5)
7462
7340
   (eval "$lt_compile" 2>conftest.err)
7463
7341
   ac_status=$?
7464
7342
   cat conftest.err >&5
7465
 
   echo "$as_me:7465: \$? = $ac_status" >&5
 
7343
   echo "$as_me:7343: \$? = $ac_status" >&5
7466
7344
   if (exit $ac_status) && test -s "$ac_outfile"; then
7467
7345
     # The compiler can only warn and ignore the option if not recognized
7468
7346
     # So say no if there are warnings other than the usual output.
7513
7391
      lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
7514
7392
      ;;
7515
7393
 
7516
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
7394
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
7517
7395
      # PIC is the default for these OSes.
7518
7396
      ;;
7519
7397
 
7520
 
    mingw* | pw32* | os2*)
 
7398
    mingw* | cygwin* | pw32* | os2*)
7521
7399
      # This hack is so that the source file can tell whether it is being
7522
7400
      # built for inclusion in a dll (and should export symbols for example).
 
7401
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
7402
      # (--disable-auto-import) libraries
7523
7403
      lt_prog_compiler_pic='-DDLL_EXPORT'
7524
7404
      ;;
7525
7405
 
7529
7409
      lt_prog_compiler_pic='-fno-common'
7530
7410
      ;;
7531
7411
 
7532
 
    interix3*)
 
7412
    interix[3-9]*)
7533
7413
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
7534
7414
      # Instead, we relocate shared libraries at runtime.
7535
7415
      ;;
7587
7467
       esac
7588
7468
       ;;
7589
7469
 
7590
 
    mingw* | pw32* | os2*)
 
7470
    mingw* | cygwin* | pw32* | os2*)
7591
7471
      # This hack is so that the source file can tell whether it is being
7592
7472
      # built for inclusion in a dll (and should export symbols for example).
7593
7473
      lt_prog_compiler_pic='-DDLL_EXPORT'
7639
7519
        # All Alpha code is PIC.
7640
7520
        lt_prog_compiler_static='-non_shared'
7641
7521
        ;;
 
7522
      *)
 
7523
        case `$CC -V 2>&1 | sed 5q` in
 
7524
        *Sun\ C*)
 
7525
          # Sun C 5.9
 
7526
          lt_prog_compiler_pic='-KPIC'
 
7527
          lt_prog_compiler_static='-Bstatic'
 
7528
          lt_prog_compiler_wl='-Wl,'
 
7529
          ;;
 
7530
        *Sun\ F*)
 
7531
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
7532
          lt_prog_compiler_pic='-KPIC'
 
7533
          lt_prog_compiler_static='-Bstatic'
 
7534
          lt_prog_compiler_wl=''
 
7535
          ;;
 
7536
        esac
 
7537
        ;;
7642
7538
      esac
7643
7539
      ;;
7644
7540
 
7648
7544
      lt_prog_compiler_static='-non_shared'
7649
7545
      ;;
7650
7546
 
 
7547
    rdos*)
 
7548
      lt_prog_compiler_static='-non_shared'
 
7549
      ;;
 
7550
 
7651
7551
    solaris*)
7652
7552
      lt_prog_compiler_pic='-KPIC'
7653
7553
      lt_prog_compiler_static='-Bstatic'
7715
7615
else
7716
7616
  lt_prog_compiler_pic_works=no
7717
7617
  ac_outfile=conftest.$ac_objext
7718
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7618
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7719
7619
   lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
7720
7620
   # Insert the option either (1) after the last *FLAGS variable, or
7721
7621
   # (2) before a word containing "conftest.", or (3) at the end.
7726
7626
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7727
7627
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7728
7628
   -e 's:$: $lt_compiler_flag:'`
7729
 
   (eval echo "\"\$as_me:7729: $lt_compile\"" >&5)
 
7629
   (eval echo "\"\$as_me:7629: $lt_compile\"" >&5)
7730
7630
   (eval "$lt_compile" 2>conftest.err)
7731
7631
   ac_status=$?
7732
7632
   cat conftest.err >&5
7733
 
   echo "$as_me:7733: \$? = $ac_status" >&5
 
7633
   echo "$as_me:7633: \$? = $ac_status" >&5
7734
7634
   if (exit $ac_status) && test -s "$ac_outfile"; then
7735
7635
     # The compiler can only warn and ignore the option if not recognized
7736
7636
     # So say no if there are warnings other than the usual output.
7779
7679
  lt_prog_compiler_static_works=no
7780
7680
   save_LDFLAGS="$LDFLAGS"
7781
7681
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
7782
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
7682
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
7783
7683
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
7784
7684
     # The linker can only warn and ignore the option if not recognized
7785
7685
     # So say no if there are warnings
7819
7719
   mkdir conftest
7820
7720
   cd conftest
7821
7721
   mkdir out
7822
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
7722
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
7823
7723
 
7824
7724
   lt_compiler_flag="-o out/conftest2.$ac_objext"
7825
7725
   # Insert the option either (1) after the last *FLAGS variable, or
7830
7730
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
7831
7731
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
7832
7732
   -e 's:$: $lt_compiler_flag:'`
7833
 
   (eval echo "\"\$as_me:7833: $lt_compile\"" >&5)
 
7733
   (eval echo "\"\$as_me:7733: $lt_compile\"" >&5)
7834
7734
   (eval "$lt_compile" 2>out/conftest.err)
7835
7735
   ac_status=$?
7836
7736
   cat out/conftest.err >&5
7837
 
   echo "$as_me:7837: \$? = $ac_status" >&5
 
7737
   echo "$as_me:7737: \$? = $ac_status" >&5
7838
7738
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
7839
7739
   then
7840
7740
     # The compiler can only warn and ignore the option if not recognized
8026
7926
      allow_undefined_flag=unsupported
8027
7927
      always_export_symbols=no
8028
7928
      enable_shared_with_static_runtimes=yes
8029
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
7929
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
8030
7930
 
8031
7931
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
8032
7932
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8044
7944
      fi
8045
7945
      ;;
8046
7946
 
8047
 
    interix3*)
 
7947
    interix[3-9]*)
8048
7948
      hardcode_direct=no
8049
7949
      hardcode_shlibpath_var=no
8050
7950
      hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8059
7959
      archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
8060
7960
      ;;
8061
7961
 
8062
 
    linux* | k*bsd*-gnu)
 
7962
    gnu* | linux* | k*bsd*-gnu)
8063
7963
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
8064
7964
        tmp_addflag=
8065
7965
        case $cc_basename,$host_cpu in
8077
7977
        ifc* | ifort*)                  # Intel Fortran compiler
8078
7978
          tmp_addflag=' -nofor_main' ;;
8079
7979
        esac
8080
 
        archive_cmds='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
7980
        case `$CC -V 2>&1 | sed 5q` in
 
7981
        *Sun\ C*)                       # Sun C 5.9
 
7982
          whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
7983
          tmp_sharedflag='-G' ;;
 
7984
        *Sun\ F*)                       # Sun Fortran 8.3
 
7985
          tmp_sharedflag='-G' ;;
 
7986
        *)
 
7987
          tmp_sharedflag='-shared' ;;
 
7988
        esac
 
7989
        archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8081
7990
 
8082
7991
        if test $supports_anon_versioning = yes; then
8083
7992
          archive_expsym_cmds='$echo "{ global:" > $output_objdir/$libname.ver~
8084
7993
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
8085
7994
  $echo "local: *; };" >> $output_objdir/$libname.ver~
8086
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
7995
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
8087
7996
        fi
8088
7997
        link_all_deplibs=no
8089
7998
      else
8243
8152
           strings "$collect2name" | grep resolve_lib_name >/dev/null
8244
8153
          then
8245
8154
          # We have reworked collect2
8246
 
          hardcode_direct=yes
 
8155
          :
8247
8156
          else
8248
8157
          # We have old collect2
8249
8158
          hardcode_direct=unsupported
8311
8220
  rm -f conftest.er1
8312
8221
  cat conftest.err >&5
8313
8222
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8314
 
  (exit $ac_status); } &&
8315
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8316
 
  { (case "(($ac_try" in
8317
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8318
 
  *) ac_try_echo=$ac_try;;
8319
 
esac
8320
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8321
 
  (eval "$ac_try") 2>&5
8322
 
  ac_status=$?
8323
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8324
 
  (exit $ac_status); }; } &&
8325
 
         { ac_try='test -s conftest$ac_exeext'
8326
 
  { (case "(($ac_try" in
8327
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8328
 
  *) ac_try_echo=$ac_try;;
8329
 
esac
8330
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8331
 
  (eval "$ac_try") 2>&5
8332
 
  ac_status=$?
8333
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8334
 
  (exit $ac_status); }; }; then
 
8223
  (exit $ac_status); } && {
 
8224
         test -z "$ac_c_werror_flag" ||
 
8225
         test ! -s conftest.err
 
8226
       } && test -s conftest$ac_exeext &&
 
8227
       $as_test_x conftest$ac_exeext; then
8335
8228
 
8336
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8337
 
}'`
 
8229
lt_aix_libpath_sed='
 
8230
    /Import File Strings/,/^$/ {
 
8231
        /^0/ {
 
8232
            s/^0  *\(.*\)$/\1/
 
8233
            p
 
8234
        }
 
8235
    }'
 
8236
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8338
8237
# Check for a 64-bit object if we didn't find anything.
8339
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8340
 
}'`; fi
 
8238
if test -z "$aix_libpath"; then
 
8239
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8240
fi
8341
8241
else
8342
8242
  echo "$as_me: failed program was:" >&5
8343
8243
sed 's/^/| /' conftest.$ac_ext >&5
8386
8286
  rm -f conftest.er1
8387
8287
  cat conftest.err >&5
8388
8288
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8389
 
  (exit $ac_status); } &&
8390
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
8391
 
  { (case "(($ac_try" in
8392
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8393
 
  *) ac_try_echo=$ac_try;;
8394
 
esac
8395
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8396
 
  (eval "$ac_try") 2>&5
8397
 
  ac_status=$?
8398
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8399
 
  (exit $ac_status); }; } &&
8400
 
         { ac_try='test -s conftest$ac_exeext'
8401
 
  { (case "(($ac_try" in
8402
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8403
 
  *) ac_try_echo=$ac_try;;
8404
 
esac
8405
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8406
 
  (eval "$ac_try") 2>&5
8407
 
  ac_status=$?
8408
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
8409
 
  (exit $ac_status); }; }; then
 
8289
  (exit $ac_status); } && {
 
8290
         test -z "$ac_c_werror_flag" ||
 
8291
         test ! -s conftest.err
 
8292
       } && test -s conftest$ac_exeext &&
 
8293
       $as_test_x conftest$ac_exeext; then
8410
8294
 
8411
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8412
 
}'`
 
8295
lt_aix_libpath_sed='
 
8296
    /Import File Strings/,/^$/ {
 
8297
        /^0/ {
 
8298
            s/^0  *\(.*\)$/\1/
 
8299
            p
 
8300
        }
 
8301
    }'
 
8302
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
8413
8303
# Check for a 64-bit object if we didn't find anything.
8414
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
8415
 
}'`; fi
 
8304
if test -z "$aix_libpath"; then
 
8305
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
8306
fi
8416
8307
else
8417
8308
  echo "$as_me: failed program was:" >&5
8418
8309
sed 's/^/| /' conftest.$ac_ext >&5
8466
8357
      # The linker will automatically build a .lib file if we build a DLL.
8467
8358
      old_archive_From_new_cmds='true'
8468
8359
      # FIXME: Should let the user specify the lib program.
8469
 
      old_archive_cmds='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
8360
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
8470
8361
      fix_srcfile_path='`cygpath -w "$srcfile"`'
8471
8362
      enable_shared_with_static_runtimes=yes
8472
8363
      ;;
8508
8399
      case $cc_basename in
8509
8400
        xlc*)
8510
8401
         output_verbose_link_cmd='echo'
8511
 
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
8402
         archive_cmds='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
8512
8403
         module_cmds='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
8513
8404
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
8514
 
         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}'
 
8405
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
8515
8406
          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}'
8516
8407
          ;;
8517
8408
       *)
8673
8564
      ;;
8674
8565
 
8675
8566
    openbsd*)
8676
 
      hardcode_direct=yes
8677
 
      hardcode_shlibpath_var=no
8678
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
8679
 
        archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8680
 
        archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
8681
 
        hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8682
 
        export_dynamic_flag_spec='${wl}-E'
 
8567
      if test -f /usr/libexec/ld.so; then
 
8568
        hardcode_direct=yes
 
8569
        hardcode_shlibpath_var=no
 
8570
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
8571
          archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8572
          archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
8573
          hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8574
          export_dynamic_flag_spec='${wl}-E'
 
8575
        else
 
8576
          case $host_os in
 
8577
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
8578
             archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
8579
             hardcode_libdir_flag_spec='-R$libdir'
 
8580
             ;;
 
8581
           *)
 
8582
             archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
8583
             hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
 
8584
             ;;
 
8585
          esac
 
8586
        fi
8683
8587
      else
8684
 
       case $host_os in
8685
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
8686
 
           archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
8687
 
           hardcode_libdir_flag_spec='-R$libdir'
8688
 
           ;;
8689
 
         *)
8690
 
           archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
8691
 
           hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
8692
 
           ;;
8693
 
       esac
 
8588
        ld_shlibs=no
8694
8589
      fi
8695
8590
      ;;
8696
8591
 
8749
8644
      case $host_os in
8750
8645
      solaris2.[0-5] | solaris2.[0-5].*) ;;
8751
8646
      *)
8752
 
        # The compiler driver will combine linker options so we
8753
 
        # cannot just pass the convience library names through
8754
 
        # without $wl, iff we do not link with $LD.
8755
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
8647
        # The compiler driver will combine and reorder linker options,
 
8648
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
8649
        # but is careful enough not to reorder.
8756
8650
        # Supported since Solaris 2.6 (maybe 2.5.1?)
8757
 
        case $wlarc in
8758
 
        '')
8759
 
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract' ;;
8760
 
        *)
8761
 
          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' ;;
8762
 
        esac ;;
 
8651
        if test "$GCC" = yes; then
 
8652
          whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
8653
        else
 
8654
          whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
 
8655
        fi
 
8656
        ;;
8763
8657
      esac
8764
8658
      link_all_deplibs=yes
8765
8659
      ;;
8816
8710
      fi
8817
8711
      ;;
8818
8712
 
8819
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
8713
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
8820
8714
      no_undefined_flag='${wl}-z,text'
8821
8715
      archive_cmds_need_lc=no
8822
8716
      hardcode_shlibpath_var=no
8893
8787
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
8894
8788
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
8895
8789
      $rm conftest*
8896
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
8790
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8897
8791
 
8898
8792
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
8899
8793
  (eval $ac_compile) 2>&5
8951
8845
version_type=none
8952
8846
dynamic_linker="$host_os ld.so"
8953
8847
sys_lib_dlsearch_path_spec="/lib /usr/lib"
 
8848
 
8954
8849
if test "$GCC" = yes; then
8955
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
8956
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
 
8850
  case $host_os in
 
8851
    darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
 
8852
    *) lt_awk_arg="/^libraries:/" ;;
 
8853
  esac
 
8854
  lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
 
8855
  if echo "$lt_search_path_spec" | grep ';' >/dev/null ; then
8957
8856
    # if the path contains ";" then we assume it to be the separator
8958
8857
    # otherwise default to the standard path separator (i.e. ":") - it is
8959
8858
    # assumed that no part of a normal pathname contains ";" but that should
8960
8859
    # okay in the real world where ";" in dirpaths is itself problematic.
8961
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
8860
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED -e 's/;/ /g'`
8962
8861
  else
8963
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
 
8862
    lt_search_path_spec=`echo "$lt_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
8964
8863
  fi
 
8864
  # Ok, now we have the path, separated by spaces, we can step through it
 
8865
  # and add multilib dir if necessary.
 
8866
  lt_tmp_lt_search_path_spec=
 
8867
  lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
 
8868
  for lt_sys_path in $lt_search_path_spec; do
 
8869
    if test -d "$lt_sys_path/$lt_multi_os_dir"; then
 
8870
      lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
 
8871
    else
 
8872
      test -d "$lt_sys_path" && \
 
8873
        lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
 
8874
    fi
 
8875
  done
 
8876
  lt_search_path_spec=`echo $lt_tmp_lt_search_path_spec | awk '
 
8877
BEGIN {RS=" "; FS="/|\n";} {
 
8878
  lt_foo="";
 
8879
  lt_count=0;
 
8880
  for (lt_i = NF; lt_i > 0; lt_i--) {
 
8881
    if ($lt_i != "" && $lt_i != ".") {
 
8882
      if ($lt_i == "..") {
 
8883
        lt_count++;
 
8884
      } else {
 
8885
        if (lt_count == 0) {
 
8886
          lt_foo="/" $lt_i lt_foo;
 
8887
        } else {
 
8888
          lt_count--;
 
8889
        }
 
8890
      }
 
8891
    }
 
8892
  }
 
8893
  if (lt_foo != "") { lt_freq[lt_foo]++; }
 
8894
  if (lt_freq[lt_foo] == 1) { print lt_foo; }
 
8895
}'`
 
8896
  sys_lib_search_path_spec=`echo $lt_search_path_spec`
8965
8897
else
8966
8898
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
8967
8899
fi
9121
9053
  shlibpath_overrides_runpath=yes
9122
9054
  shlibpath_var=DYLD_LIBRARY_PATH
9123
9055
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
9124
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
9125
 
  if test "$GCC" = yes; then
9126
 
    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"`
9127
 
  else
9128
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
9129
 
  fi
 
9056
 
 
9057
  sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
9130
9058
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
9131
9059
  ;;
9132
9060
 
9180
9108
    shlibpath_overrides_runpath=no
9181
9109
    hardcode_into_libs=yes
9182
9110
    ;;
9183
 
  freebsd*) # from 4.6 on
 
9111
  *) # from 4.6 on, and DragonFly
9184
9112
    shlibpath_overrides_runpath=yes
9185
9113
    hardcode_into_libs=yes
9186
9114
    ;;
9243
9171
  postinstall_cmds='chmod 555 $lib'
9244
9172
  ;;
9245
9173
 
9246
 
interix3*)
 
9174
interix[3-9]*)
9247
9175
  version_type=linux
9248
9176
  need_lib_prefix=no
9249
9177
  need_version=no
9314
9242
 
9315
9243
  # Append ld.so.conf contents to the search path
9316
9244
  if test -f /etc/ld.so.conf; then
9317
 
    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' ' '`
 
9245
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
9318
9246
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
9319
9247
  fi
9320
9248
 
9420
9348
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
9421
9349
  ;;
9422
9350
 
 
9351
rdos*)
 
9352
  dynamic_linker=no
 
9353
  ;;
 
9354
 
9423
9355
solaris*)
9424
9356
  version_type=linux
9425
9357
  need_lib_prefix=no
9573
9505
   darwin*)
9574
9506
       if test -n "$STRIP" ; then
9575
9507
         striplib="$STRIP -x"
 
9508
         old_striplib="$STRIP -S"
9576
9509
         { echo "$as_me:$LINENO: result: yes" >&5
9577
9510
echo "${ECHO_T}yes" >&6; }
9578
9511
       else
9656
9589
  rm -f conftest.er1
9657
9590
  cat conftest.err >&5
9658
9591
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9659
 
  (exit $ac_status); } &&
9660
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9661
 
  { (case "(($ac_try" in
9662
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9663
 
  *) ac_try_echo=$ac_try;;
9664
 
esac
9665
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9666
 
  (eval "$ac_try") 2>&5
9667
 
  ac_status=$?
9668
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9669
 
  (exit $ac_status); }; } &&
9670
 
         { ac_try='test -s conftest$ac_exeext'
9671
 
  { (case "(($ac_try" in
9672
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9673
 
  *) ac_try_echo=$ac_try;;
9674
 
esac
9675
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9676
 
  (eval "$ac_try") 2>&5
9677
 
  ac_status=$?
9678
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9679
 
  (exit $ac_status); }; }; then
 
9592
  (exit $ac_status); } && {
 
9593
         test -z "$ac_c_werror_flag" ||
 
9594
         test ! -s conftest.err
 
9595
       } && test -s conftest$ac_exeext &&
 
9596
       $as_test_x conftest$ac_exeext; then
9680
9597
  ac_cv_lib_dl_dlopen=yes
9681
9598
else
9682
9599
  echo "$as_me: failed program was:" >&5
9767
9684
  rm -f conftest.er1
9768
9685
  cat conftest.err >&5
9769
9686
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9770
 
  (exit $ac_status); } &&
9771
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9772
 
  { (case "(($ac_try" in
9773
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9774
 
  *) ac_try_echo=$ac_try;;
9775
 
esac
9776
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9777
 
  (eval "$ac_try") 2>&5
9778
 
  ac_status=$?
9779
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9780
 
  (exit $ac_status); }; } &&
9781
 
         { ac_try='test -s conftest$ac_exeext'
9782
 
  { (case "(($ac_try" in
9783
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9784
 
  *) ac_try_echo=$ac_try;;
9785
 
esac
9786
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9787
 
  (eval "$ac_try") 2>&5
9788
 
  ac_status=$?
9789
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9790
 
  (exit $ac_status); }; }; then
 
9687
  (exit $ac_status); } && {
 
9688
         test -z "$ac_c_werror_flag" ||
 
9689
         test ! -s conftest.err
 
9690
       } && test -s conftest$ac_exeext &&
 
9691
       $as_test_x conftest$ac_exeext; then
9791
9692
  ac_cv_func_shl_load=yes
9792
9693
else
9793
9694
  echo "$as_me: failed program was:" >&5
9846
9747
  rm -f conftest.er1
9847
9748
  cat conftest.err >&5
9848
9749
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9849
 
  (exit $ac_status); } &&
9850
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9851
 
  { (case "(($ac_try" in
9852
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9853
 
  *) ac_try_echo=$ac_try;;
9854
 
esac
9855
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9856
 
  (eval "$ac_try") 2>&5
9857
 
  ac_status=$?
9858
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9859
 
  (exit $ac_status); }; } &&
9860
 
         { ac_try='test -s conftest$ac_exeext'
9861
 
  { (case "(($ac_try" in
9862
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9863
 
  *) ac_try_echo=$ac_try;;
9864
 
esac
9865
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9866
 
  (eval "$ac_try") 2>&5
9867
 
  ac_status=$?
9868
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9869
 
  (exit $ac_status); }; }; then
 
9750
  (exit $ac_status); } && {
 
9751
         test -z "$ac_c_werror_flag" ||
 
9752
         test ! -s conftest.err
 
9753
       } && test -s conftest$ac_exeext &&
 
9754
       $as_test_x conftest$ac_exeext; then
9870
9755
  ac_cv_lib_dld_shl_load=yes
9871
9756
else
9872
9757
  echo "$as_me: failed program was:" >&5
9947
9832
  rm -f conftest.er1
9948
9833
  cat conftest.err >&5
9949
9834
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9950
 
  (exit $ac_status); } &&
9951
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
9952
 
  { (case "(($ac_try" in
9953
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9954
 
  *) ac_try_echo=$ac_try;;
9955
 
esac
9956
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9957
 
  (eval "$ac_try") 2>&5
9958
 
  ac_status=$?
9959
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9960
 
  (exit $ac_status); }; } &&
9961
 
         { ac_try='test -s conftest$ac_exeext'
9962
 
  { (case "(($ac_try" in
9963
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9964
 
  *) ac_try_echo=$ac_try;;
9965
 
esac
9966
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
9967
 
  (eval "$ac_try") 2>&5
9968
 
  ac_status=$?
9969
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
9970
 
  (exit $ac_status); }; }; then
 
9835
  (exit $ac_status); } && {
 
9836
         test -z "$ac_c_werror_flag" ||
 
9837
         test ! -s conftest.err
 
9838
       } && test -s conftest$ac_exeext &&
 
9839
       $as_test_x conftest$ac_exeext; then
9971
9840
  ac_cv_func_dlopen=yes
9972
9841
else
9973
9842
  echo "$as_me: failed program was:" >&5
10026
9895
  rm -f conftest.er1
10027
9896
  cat conftest.err >&5
10028
9897
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10029
 
  (exit $ac_status); } &&
10030
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10031
 
  { (case "(($ac_try" in
10032
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10033
 
  *) ac_try_echo=$ac_try;;
10034
 
esac
10035
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10036
 
  (eval "$ac_try") 2>&5
10037
 
  ac_status=$?
10038
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10039
 
  (exit $ac_status); }; } &&
10040
 
         { ac_try='test -s conftest$ac_exeext'
10041
 
  { (case "(($ac_try" in
10042
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10043
 
  *) ac_try_echo=$ac_try;;
10044
 
esac
10045
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10046
 
  (eval "$ac_try") 2>&5
10047
 
  ac_status=$?
10048
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10049
 
  (exit $ac_status); }; }; then
 
9898
  (exit $ac_status); } && {
 
9899
         test -z "$ac_c_werror_flag" ||
 
9900
         test ! -s conftest.err
 
9901
       } && test -s conftest$ac_exeext &&
 
9902
       $as_test_x conftest$ac_exeext; then
10050
9903
  ac_cv_lib_dl_dlopen=yes
10051
9904
else
10052
9905
  echo "$as_me: failed program was:" >&5
10106
9959
  rm -f conftest.er1
10107
9960
  cat conftest.err >&5
10108
9961
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10109
 
  (exit $ac_status); } &&
10110
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10111
 
  { (case "(($ac_try" in
10112
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10113
 
  *) ac_try_echo=$ac_try;;
10114
 
esac
10115
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10116
 
  (eval "$ac_try") 2>&5
10117
 
  ac_status=$?
10118
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10119
 
  (exit $ac_status); }; } &&
10120
 
         { ac_try='test -s conftest$ac_exeext'
10121
 
  { (case "(($ac_try" in
10122
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10123
 
  *) ac_try_echo=$ac_try;;
10124
 
esac
10125
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10126
 
  (eval "$ac_try") 2>&5
10127
 
  ac_status=$?
10128
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10129
 
  (exit $ac_status); }; }; then
 
9962
  (exit $ac_status); } && {
 
9963
         test -z "$ac_c_werror_flag" ||
 
9964
         test ! -s conftest.err
 
9965
       } && test -s conftest$ac_exeext &&
 
9966
       $as_test_x conftest$ac_exeext; then
10130
9967
  ac_cv_lib_svld_dlopen=yes
10131
9968
else
10132
9969
  echo "$as_me: failed program was:" >&5
10186
10023
  rm -f conftest.er1
10187
10024
  cat conftest.err >&5
10188
10025
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10189
 
  (exit $ac_status); } &&
10190
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
10191
 
  { (case "(($ac_try" in
10192
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10193
 
  *) ac_try_echo=$ac_try;;
10194
 
esac
10195
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10196
 
  (eval "$ac_try") 2>&5
10197
 
  ac_status=$?
10198
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10199
 
  (exit $ac_status); }; } &&
10200
 
         { ac_try='test -s conftest$ac_exeext'
10201
 
  { (case "(($ac_try" in
10202
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10203
 
  *) ac_try_echo=$ac_try;;
10204
 
esac
10205
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10206
 
  (eval "$ac_try") 2>&5
10207
 
  ac_status=$?
10208
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
10209
 
  (exit $ac_status); }; }; then
 
10026
  (exit $ac_status); } && {
 
10027
         test -z "$ac_c_werror_flag" ||
 
10028
         test ! -s conftest.err
 
10029
       } && test -s conftest$ac_exeext &&
 
10030
       $as_test_x conftest$ac_exeext; then
10210
10031
  ac_cv_lib_dld_dld_link=yes
10211
10032
else
10212
10033
  echo "$as_me: failed program was:" >&5
10271
10092
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10272
10093
  lt_status=$lt_dlunknown
10273
10094
  cat > conftest.$ac_ext <<EOF
10274
 
#line 10274 "configure"
 
10095
#line 10095 "configure"
10275
10096
#include "confdefs.h"
10276
10097
 
10277
10098
#if HAVE_DLFCN_H
10371
10192
  lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
10372
10193
  lt_status=$lt_dlunknown
10373
10194
  cat > conftest.$ac_ext <<EOF
10374
 
#line 10374 "configure"
 
10195
#line 10195 "configure"
10375
10196
#include "confdefs.h"
10376
10197
 
10377
10198
#if HAVE_DLFCN_H
10569
10390
    module_cmds \
10570
10391
    module_expsym_cmds \
10571
10392
    lt_cv_prog_compiler_c_o \
 
10393
    fix_srcfile_path \
10572
10394
    exclude_expsyms \
10573
10395
    include_expsyms; do
10574
10396
 
10613
10435
# Generated automatically by $PROGRAM (GNU $PACKAGE $VERSION$TIMESTAMP)
10614
10436
# NOTE: Changes made to this file will be lost: look at ltmain.sh.
10615
10437
#
10616
 
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001
 
10438
# Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007
10617
10439
# Free Software Foundation, Inc.
10618
10440
#
10619
10441
# This file is part of GNU Libtool:
10937
10759
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
10938
10760
 
10939
10761
# Fix the shell variable \$srcfile for the compiler.
10940
 
fix_srcfile_path="$fix_srcfile_path"
 
10762
fix_srcfile_path=$lt_fix_srcfile_path
10941
10763
 
10942
10764
# Set to yes if exported symbols are required.
10943
10765
always_export_symbols=$always_export_symbols
11106
10928
objext_CXX=$objext
11107
10929
 
11108
10930
# Code to be used in simple compile tests
11109
 
lt_simple_compile_test_code="int some_variable = 0;\n"
 
10931
lt_simple_compile_test_code="int some_variable = 0;"
11110
10932
 
11111
10933
# Code to be used in simple link tests
11112
 
lt_simple_link_test_code='int main(int, char *[]) { return(0); }\n'
 
10934
lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
11113
10935
 
11114
10936
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
11115
10937
 
11125
10947
 
11126
10948
# save warnings/boilerplate of simple test code
11127
10949
ac_outfile=conftest.$ac_objext
11128
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
10950
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
11129
10951
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11130
10952
_lt_compiler_boilerplate=`cat conftest.err`
11131
10953
$rm conftest*
11132
10954
 
11133
10955
ac_outfile=conftest.$ac_objext
11134
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
10956
echo "$lt_simple_link_test_code" >conftest.$ac_ext
11135
10957
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
11136
10958
_lt_linker_boilerplate=`cat conftest.err`
11137
10959
$rm conftest*
11390
11212
           strings "$collect2name" | grep resolve_lib_name >/dev/null
11391
11213
        then
11392
11214
          # We have reworked collect2
11393
 
          hardcode_direct_CXX=yes
 
11215
          :
11394
11216
        else
11395
11217
          # We have old collect2
11396
11218
          hardcode_direct_CXX=unsupported
11458
11280
  rm -f conftest.er1
11459
11281
  cat conftest.err >&5
11460
11282
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11461
 
  (exit $ac_status); } &&
11462
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11463
 
  { (case "(($ac_try" in
11464
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11465
 
  *) ac_try_echo=$ac_try;;
11466
 
esac
11467
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11468
 
  (eval "$ac_try") 2>&5
11469
 
  ac_status=$?
11470
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11471
 
  (exit $ac_status); }; } &&
11472
 
         { ac_try='test -s conftest$ac_exeext'
11473
 
  { (case "(($ac_try" in
11474
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11475
 
  *) ac_try_echo=$ac_try;;
11476
 
esac
11477
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11478
 
  (eval "$ac_try") 2>&5
11479
 
  ac_status=$?
11480
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11481
 
  (exit $ac_status); }; }; then
 
11283
  (exit $ac_status); } && {
 
11284
         test -z "$ac_cxx_werror_flag" ||
 
11285
         test ! -s conftest.err
 
11286
       } && test -s conftest$ac_exeext &&
 
11287
       $as_test_x conftest$ac_exeext; then
11482
11288
 
11483
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11484
 
}'`
 
11289
lt_aix_libpath_sed='
 
11290
    /Import File Strings/,/^$/ {
 
11291
        /^0/ {
 
11292
            s/^0  *\(.*\)$/\1/
 
11293
            p
 
11294
        }
 
11295
    }'
 
11296
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11485
11297
# Check for a 64-bit object if we didn't find anything.
11486
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11487
 
}'`; fi
 
11298
if test -z "$aix_libpath"; then
 
11299
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11300
fi
11488
11301
else
11489
11302
  echo "$as_me: failed program was:" >&5
11490
11303
sed 's/^/| /' conftest.$ac_ext >&5
11534
11347
  rm -f conftest.er1
11535
11348
  cat conftest.err >&5
11536
11349
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11537
 
  (exit $ac_status); } &&
11538
 
         { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
11539
 
  { (case "(($ac_try" in
11540
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11541
 
  *) ac_try_echo=$ac_try;;
11542
 
esac
11543
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11544
 
  (eval "$ac_try") 2>&5
11545
 
  ac_status=$?
11546
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11547
 
  (exit $ac_status); }; } &&
11548
 
         { ac_try='test -s conftest$ac_exeext'
11549
 
  { (case "(($ac_try" in
11550
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11551
 
  *) ac_try_echo=$ac_try;;
11552
 
esac
11553
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
11554
 
  (eval "$ac_try") 2>&5
11555
 
  ac_status=$?
11556
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
11557
 
  (exit $ac_status); }; }; then
 
11350
  (exit $ac_status); } && {
 
11351
         test -z "$ac_cxx_werror_flag" ||
 
11352
         test ! -s conftest.err
 
11353
       } && test -s conftest$ac_exeext &&
 
11354
       $as_test_x conftest$ac_exeext; then
11558
11355
 
11559
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11560
 
}'`
 
11356
lt_aix_libpath_sed='
 
11357
    /Import File Strings/,/^$/ {
 
11358
        /^0/ {
 
11359
            s/^0  *\(.*\)$/\1/
 
11360
            p
 
11361
        }
 
11362
    }'
 
11363
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
11561
11364
# Check for a 64-bit object if we didn't find anything.
11562
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
11563
 
}'`; fi
 
11365
if test -z "$aix_libpath"; then
 
11366
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
11367
fi
11564
11368
else
11565
11369
  echo "$as_me: failed program was:" >&5
11566
11370
sed 's/^/| /' conftest.$ac_ext >&5
11679
11483
      case $cc_basename in
11680
11484
        xlc*)
11681
11485
         output_verbose_link_cmd='echo'
11682
 
          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'
 
11486
          archive_cmds_CXX='$CC -qmkshrobj ${wl}-single_module $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
11683
11487
          module_cmds_CXX='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
11684
11488
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
11685
 
          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}'
 
11489
          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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
11686
11490
          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}'
11687
11491
          ;;
11688
11492
       *)
11765
11569
      hardcode_libdir_separator_CXX=:
11766
11570
 
11767
11571
      case $host_cpu in
11768
 
      hppa*64*|ia64*)
11769
 
        hardcode_libdir_flag_spec_ld_CXX='+b $libdir'
11770
 
        ;;
 
11572
      hppa*64*|ia64*) ;;
11771
11573
      *)
11772
11574
        export_dynamic_flag_spec_CXX='${wl}-E'
11773
11575
        ;;
11835
11637
        ;;
11836
11638
    esac
11837
11639
    ;;
11838
 
  interix3*)
 
11640
  interix[3-9]*)
11839
11641
    hardcode_direct_CXX=no
11840
11642
    hardcode_shlibpath_var_CXX=no
11841
11643
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
11955
11757
        # dependencies.
11956
11758
        output_verbose_link_cmd='templist=`$CC -shared $CFLAGS -v conftest.$objext 2>&1 | grep "ld"`; templist=`echo $templist | $SED "s/\(^.*ld.*\)\( .*ld .*$\)/\1/"`; list=""; for z in $templist; do case $z in conftest.$objext) list="$list $z";; *.$objext);; *) list="$list $z";;esac; done; echo $list'
11957
11759
        ;;
 
11760
      *)
 
11761
        case `$CC -V 2>&1 | sed 5q` in
 
11762
        *Sun\ C*)
 
11763
          # Sun C++ 5.9
 
11764
          no_undefined_flag_CXX=' -zdefs'
 
11765
          archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
11766
          archive_expsym_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file ${wl}$export_symbols'
 
11767
          hardcode_libdir_flag_spec_CXX='-R$libdir'
 
11768
          whole_archive_flag_spec_CXX='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
11769
 
 
11770
          # Not sure whether something based on
 
11771
          # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
 
11772
          # would be better.
 
11773
          output_verbose_link_cmd='echo'
 
11774
 
 
11775
          # Archives containing C++ object files must be created using
 
11776
          # "CC -xar", where "CC" is the Sun C++ compiler.  This is
 
11777
          # necessary to make sure instantiated templates are included
 
11778
          # in the archive.
 
11779
          old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
 
11780
          ;;
 
11781
        esac
 
11782
        ;;
11958
11783
    esac
11959
11784
    ;;
11960
11785
  lynxos*)
11993
11818
    ld_shlibs_CXX=no
11994
11819
    ;;
11995
11820
  openbsd*)
11996
 
    hardcode_direct_CXX=yes
11997
 
    hardcode_shlibpath_var_CXX=no
11998
 
    archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
11999
 
    hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
12000
 
    if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
12001
 
      archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
12002
 
      export_dynamic_flag_spec_CXX='${wl}-E'
12003
 
      whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11821
    if test -f /usr/libexec/ld.so; then
 
11822
      hardcode_direct_CXX=yes
 
11823
      hardcode_shlibpath_var_CXX=no
 
11824
      archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
 
11825
      hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
 
11826
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
11827
        archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
 
11828
        export_dynamic_flag_spec_CXX='${wl}-E'
 
11829
        whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
 
11830
      fi
 
11831
      output_verbose_link_cmd='echo'
 
11832
    else
 
11833
      ld_shlibs_CXX=no
12004
11834
    fi
12005
 
    output_verbose_link_cmd='echo'
12006
11835
    ;;
12007
11836
  osf3*)
12008
11837
    case $cc_basename in
12164
11993
        case $host_os in
12165
11994
          solaris2.[0-5] | solaris2.[0-5].*) ;;
12166
11995
          *)
12167
 
            # The C++ compiler is used as linker so we must use $wl
12168
 
            # flag to pass the commands to the underlying system
12169
 
            # linker. We must also pass each convience library through
12170
 
            # to the system linker between allextract/defaultextract.
12171
 
            # The C++ compiler will combine linker options so we
12172
 
            # cannot just pass the convience library names through
12173
 
            # without $wl.
 
11996
            # The compiler driver will combine and reorder linker options,
 
11997
            # but understands `-z linker_flag'.
12174
11998
            # Supported since Solaris 2.6 (maybe 2.5.1?)
12175
 
            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'
 
11999
            whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
12176
12000
            ;;
12177
12001
        esac
12178
12002
        link_all_deplibs_CXX=yes
12219
12043
          fi
12220
12044
 
12221
12045
          hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
 
12046
          case $host_os in
 
12047
          solaris2.[0-5] | solaris2.[0-5].*) ;;
 
12048
          *)
 
12049
            whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
12050
            ;;
 
12051
          esac
12222
12052
        fi
12223
12053
        ;;
12224
12054
    esac
12410
12240
 
12411
12241
# PORTME: override above test on systems where it is broken
12412
12242
case $host_os in
12413
 
interix3*)
 
12243
interix[3-9]*)
12414
12244
  # Interix 3.5 installs completely hosed .la files for C++, so rather than
12415
12245
  # hack all around it, let's just trust "g++" to DTRT.
12416
12246
  predep_objects_CXX=
12418
12248
  postdeps_CXX=
12419
12249
  ;;
12420
12250
 
 
12251
linux*)
 
12252
  case `$CC -V 2>&1 | sed 5q` in
 
12253
  *Sun\ C*)
 
12254
    # Sun C++ 5.9
 
12255
    #
 
12256
    # The more standards-conforming stlport4 library is
 
12257
    # incompatible with the Cstd library. Avoid specifying
 
12258
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12259
    # -library=stlport4 depends on it.
 
12260
    case " $CXX $CXXFLAGS " in
 
12261
    *" -library=stlport4 "*)
 
12262
      solaris_use_stlport4=yes
 
12263
      ;;
 
12264
    esac
 
12265
    if test "$solaris_use_stlport4" != yes; then
 
12266
      postdeps_CXX='-library=Cstd -library=Crun'
 
12267
    fi
 
12268
    ;;
 
12269
  esac
 
12270
  ;;
 
12271
 
12421
12272
solaris*)
12422
12273
  case $cc_basename in
12423
12274
  CC*)
 
12275
    # The more standards-conforming stlport4 library is
 
12276
    # incompatible with the Cstd library. Avoid specifying
 
12277
    # it if it's in CXXFLAGS. Ignore libCrun as
 
12278
    # -library=stlport4 depends on it.
 
12279
    case " $CXX $CXXFLAGS " in
 
12280
    *" -library=stlport4 "*)
 
12281
      solaris_use_stlport4=yes
 
12282
      ;;
 
12283
    esac
 
12284
 
12424
12285
    # Adding this requires a known-good setup of shared libraries for
12425
12286
    # Sun compiler versions before 5.6, else PIC objects from an old
12426
12287
    # archive will be linked into the output, leading to subtle bugs.
12427
 
    postdeps_CXX='-lCstd -lCrun'
 
12288
    if test "$solaris_use_stlport4" != yes; then
 
12289
      postdeps_CXX='-library=Cstd -library=Crun'
 
12290
    fi
12428
12291
    ;;
12429
12292
  esac
12430
12293
  ;;
12461
12324
      # like `-m68040'.
12462
12325
      lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
12463
12326
      ;;
12464
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
12327
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
12465
12328
      # PIC is the default for these OSes.
12466
12329
      ;;
12467
 
    mingw* | os2* | pw32*)
 
12330
    mingw* | cygwin* | os2* | pw32*)
12468
12331
      # This hack is so that the source file can tell whether it is being
12469
12332
      # built for inclusion in a dll (and should export symbols for example).
 
12333
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
12334
      # (--disable-auto-import) libraries
12470
12335
      lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
12471
12336
      ;;
12472
12337
    darwin* | rhapsody*)
12478
12343
      # DJGPP does not support shared libraries at all
12479
12344
      lt_prog_compiler_pic_CXX=
12480
12345
      ;;
12481
 
    interix3*)
 
12346
    interix[3-9]*)
12482
12347
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
12483
12348
      # Instead, we relocate shared libraries at runtime.
12484
12349
      ;;
12614
12479
            lt_prog_compiler_static_CXX='-non_shared'
12615
12480
            ;;
12616
12481
          *)
 
12482
            case `$CC -V 2>&1 | sed 5q` in
 
12483
            *Sun\ C*)
 
12484
              # Sun C++ 5.9
 
12485
              lt_prog_compiler_pic_CXX='-KPIC'
 
12486
              lt_prog_compiler_static_CXX='-Bstatic'
 
12487
              lt_prog_compiler_wl_CXX='-Qoption ld '
 
12488
              ;;
 
12489
            esac
12617
12490
            ;;
12618
12491
        esac
12619
12492
        ;;
12728
12601
else
12729
12602
  lt_prog_compiler_pic_works_CXX=no
12730
12603
  ac_outfile=conftest.$ac_objext
12731
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12604
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12732
12605
   lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
12733
12606
   # Insert the option either (1) after the last *FLAGS variable, or
12734
12607
   # (2) before a word containing "conftest.", or (3) at the end.
12739
12612
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12740
12613
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12741
12614
   -e 's:$: $lt_compiler_flag:'`
12742
 
   (eval echo "\"\$as_me:12742: $lt_compile\"" >&5)
 
12615
   (eval echo "\"\$as_me:12615: $lt_compile\"" >&5)
12743
12616
   (eval "$lt_compile" 2>conftest.err)
12744
12617
   ac_status=$?
12745
12618
   cat conftest.err >&5
12746
 
   echo "$as_me:12746: \$? = $ac_status" >&5
 
12619
   echo "$as_me:12619: \$? = $ac_status" >&5
12747
12620
   if (exit $ac_status) && test -s "$ac_outfile"; then
12748
12621
     # The compiler can only warn and ignore the option if not recognized
12749
12622
     # So say no if there are warnings other than the usual output.
12792
12665
  lt_prog_compiler_static_works_CXX=no
12793
12666
   save_LDFLAGS="$LDFLAGS"
12794
12667
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
12795
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
12668
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
12796
12669
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
12797
12670
     # The linker can only warn and ignore the option if not recognized
12798
12671
     # So say no if there are warnings
12832
12705
   mkdir conftest
12833
12706
   cd conftest
12834
12707
   mkdir out
12835
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12708
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12836
12709
 
12837
12710
   lt_compiler_flag="-o out/conftest2.$ac_objext"
12838
12711
   # Insert the option either (1) after the last *FLAGS variable, or
12843
12716
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
12844
12717
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
12845
12718
   -e 's:$: $lt_compiler_flag:'`
12846
 
   (eval echo "\"\$as_me:12846: $lt_compile\"" >&5)
 
12719
   (eval echo "\"\$as_me:12719: $lt_compile\"" >&5)
12847
12720
   (eval "$lt_compile" 2>out/conftest.err)
12848
12721
   ac_status=$?
12849
12722
   cat out/conftest.err >&5
12850
 
   echo "$as_me:12850: \$? = $ac_status" >&5
 
12723
   echo "$as_me:12723: \$? = $ac_status" >&5
12851
12724
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
12852
12725
   then
12853
12726
     # The compiler can only warn and ignore the option if not recognized
12913
12786
    export_symbols_cmds_CXX="$ltdll_cmds"
12914
12787
  ;;
12915
12788
  cygwin* | mingw*)
12916
 
    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'
 
12789
    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'
12917
12790
  ;;
12918
12791
  linux* | k*bsd*-gnu)
12919
12792
    link_all_deplibs_CXX=no
12947
12820
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
12948
12821
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
12949
12822
      $rm conftest*
12950
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
12823
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
12951
12824
 
12952
12825
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
12953
12826
  (eval $ac_compile) 2>&5
13005
12878
version_type=none
13006
12879
dynamic_linker="$host_os ld.so"
13007
12880
sys_lib_dlsearch_path_spec="/lib /usr/lib"
13008
 
if test "$GCC" = yes; then
13009
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
13010
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
13011
 
    # if the path contains ";" then we assume it to be the separator
13012
 
    # otherwise default to the standard path separator (i.e. ":") - it is
13013
 
    # assumed that no part of a normal pathname contains ";" but that should
13014
 
    # okay in the real world where ";" in dirpaths is itself problematic.
13015
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
13016
 
  else
13017
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
13018
 
  fi
13019
 
else
13020
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
13021
 
fi
 
12881
 
13022
12882
need_lib_prefix=unknown
13023
12883
hardcode_into_libs=no
13024
12884
 
13175
13035
  shlibpath_overrides_runpath=yes
13176
13036
  shlibpath_var=DYLD_LIBRARY_PATH
13177
13037
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
13178
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
13179
 
  if test "$GCC" = yes; then
13180
 
    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"`
13181
 
  else
13182
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
13183
 
  fi
 
13038
 
13184
13039
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
13185
13040
  ;;
13186
13041
 
13234
13089
    shlibpath_overrides_runpath=no
13235
13090
    hardcode_into_libs=yes
13236
13091
    ;;
13237
 
  freebsd*) # from 4.6 on
 
13092
  *) # from 4.6 on, and DragonFly
13238
13093
    shlibpath_overrides_runpath=yes
13239
13094
    hardcode_into_libs=yes
13240
13095
    ;;
13297
13152
  postinstall_cmds='chmod 555 $lib'
13298
13153
  ;;
13299
13154
 
13300
 
interix3*)
 
13155
interix[3-9]*)
13301
13156
  version_type=linux
13302
13157
  need_lib_prefix=no
13303
13158
  need_version=no
13368
13223
 
13369
13224
  # Append ld.so.conf contents to the search path
13370
13225
  if test -f /etc/ld.so.conf; then
13371
 
    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' ' '`
 
13226
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
13372
13227
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
13373
13228
  fi
13374
13229
 
13474
13329
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
13475
13330
  ;;
13476
13331
 
 
13332
rdos*)
 
13333
  dynamic_linker=no
 
13334
  ;;
 
13335
 
13477
13336
solaris*)
13478
13337
  version_type=linux
13479
13338
  need_lib_prefix=no
13668
13527
    module_cmds_CXX \
13669
13528
    module_expsym_cmds_CXX \
13670
13529
    lt_cv_prog_compiler_c_o_CXX \
 
13530
    fix_srcfile_path_CXX \
13671
13531
    exclude_expsyms_CXX \
13672
13532
    include_expsyms_CXX; do
13673
13533
 
13988
13848
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
13989
13849
 
13990
13850
# Fix the shell variable \$srcfile for the compiler.
13991
 
fix_srcfile_path="$fix_srcfile_path_CXX"
 
13851
fix_srcfile_path=$lt_fix_srcfile_path
13992
13852
 
13993
13853
# Set to yes if exported symbols are required.
13994
13854
always_export_symbols=$always_export_symbols_CXX
14079
13939
objext_F77=$objext
14080
13940
 
14081
13941
# Code to be used in simple compile tests
14082
 
lt_simple_compile_test_code="      subroutine t\n      return\n      end\n"
 
13942
lt_simple_compile_test_code="\
 
13943
      subroutine t
 
13944
      return
 
13945
      end
 
13946
"
14083
13947
 
14084
13948
# Code to be used in simple link tests
14085
 
lt_simple_link_test_code="      program t\n      end\n"
 
13949
lt_simple_link_test_code="\
 
13950
      program t
 
13951
      end
 
13952
"
14086
13953
 
14087
13954
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
14088
13955
 
14098
13965
 
14099
13966
# save warnings/boilerplate of simple test code
14100
13967
ac_outfile=conftest.$ac_objext
14101
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
13968
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
14102
13969
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14103
13970
_lt_compiler_boilerplate=`cat conftest.err`
14104
13971
$rm conftest*
14105
13972
 
14106
13973
ac_outfile=conftest.$ac_objext
14107
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
13974
echo "$lt_simple_link_test_code" >conftest.$ac_ext
14108
13975
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
14109
13976
_lt_linker_boilerplate=`cat conftest.err`
14110
13977
$rm conftest*
14191
14058
      lt_prog_compiler_pic_F77='-m68020 -resident32 -malways-restore-a4'
14192
14059
      ;;
14193
14060
 
14194
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
14061
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14195
14062
      # PIC is the default for these OSes.
14196
14063
      ;;
14197
14064
 
14198
 
    mingw* | pw32* | os2*)
 
14065
    mingw* | cygwin* | pw32* | os2*)
14199
14066
      # This hack is so that the source file can tell whether it is being
14200
14067
      # built for inclusion in a dll (and should export symbols for example).
 
14068
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
14069
      # (--disable-auto-import) libraries
14201
14070
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14202
14071
      ;;
14203
14072
 
14207
14076
      lt_prog_compiler_pic_F77='-fno-common'
14208
14077
      ;;
14209
14078
 
14210
 
    interix3*)
 
14079
    interix[3-9]*)
14211
14080
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14212
14081
      # Instead, we relocate shared libraries at runtime.
14213
14082
      ;;
14265
14134
       esac
14266
14135
       ;;
14267
14136
 
14268
 
    mingw* | pw32* | os2*)
 
14137
    mingw* | cygwin* | pw32* | os2*)
14269
14138
      # This hack is so that the source file can tell whether it is being
14270
14139
      # built for inclusion in a dll (and should export symbols for example).
14271
14140
      lt_prog_compiler_pic_F77='-DDLL_EXPORT'
14317
14186
        # All Alpha code is PIC.
14318
14187
        lt_prog_compiler_static_F77='-non_shared'
14319
14188
        ;;
 
14189
      *)
 
14190
        case `$CC -V 2>&1 | sed 5q` in
 
14191
        *Sun\ C*)
 
14192
          # Sun C 5.9
 
14193
          lt_prog_compiler_pic_F77='-KPIC'
 
14194
          lt_prog_compiler_static_F77='-Bstatic'
 
14195
          lt_prog_compiler_wl_F77='-Wl,'
 
14196
          ;;
 
14197
        *Sun\ F*)
 
14198
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
14199
          lt_prog_compiler_pic_F77='-KPIC'
 
14200
          lt_prog_compiler_static_F77='-Bstatic'
 
14201
          lt_prog_compiler_wl_F77=''
 
14202
          ;;
 
14203
        esac
 
14204
        ;;
14320
14205
      esac
14321
14206
      ;;
14322
14207
 
14326
14211
      lt_prog_compiler_static_F77='-non_shared'
14327
14212
      ;;
14328
14213
 
 
14214
    rdos*)
 
14215
      lt_prog_compiler_static_F77='-non_shared'
 
14216
      ;;
 
14217
 
14329
14218
    solaris*)
14330
14219
      lt_prog_compiler_pic_F77='-KPIC'
14331
14220
      lt_prog_compiler_static_F77='-Bstatic'
14393
14282
else
14394
14283
  lt_prog_compiler_pic_works_F77=no
14395
14284
  ac_outfile=conftest.$ac_objext
14396
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14285
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14397
14286
   lt_compiler_flag="$lt_prog_compiler_pic_F77"
14398
14287
   # Insert the option either (1) after the last *FLAGS variable, or
14399
14288
   # (2) before a word containing "conftest.", or (3) at the end.
14404
14293
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14405
14294
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14406
14295
   -e 's:$: $lt_compiler_flag:'`
14407
 
   (eval echo "\"\$as_me:14407: $lt_compile\"" >&5)
 
14296
   (eval echo "\"\$as_me:14296: $lt_compile\"" >&5)
14408
14297
   (eval "$lt_compile" 2>conftest.err)
14409
14298
   ac_status=$?
14410
14299
   cat conftest.err >&5
14411
 
   echo "$as_me:14411: \$? = $ac_status" >&5
 
14300
   echo "$as_me:14300: \$? = $ac_status" >&5
14412
14301
   if (exit $ac_status) && test -s "$ac_outfile"; then
14413
14302
     # The compiler can only warn and ignore the option if not recognized
14414
14303
     # So say no if there are warnings other than the usual output.
14457
14346
  lt_prog_compiler_static_works_F77=no
14458
14347
   save_LDFLAGS="$LDFLAGS"
14459
14348
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14460
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
14349
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
14461
14350
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14462
14351
     # The linker can only warn and ignore the option if not recognized
14463
14352
     # So say no if there are warnings
14497
14386
   mkdir conftest
14498
14387
   cd conftest
14499
14388
   mkdir out
14500
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
14389
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14501
14390
 
14502
14391
   lt_compiler_flag="-o out/conftest2.$ac_objext"
14503
14392
   # Insert the option either (1) after the last *FLAGS variable, or
14508
14397
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14509
14398
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14510
14399
   -e 's:$: $lt_compiler_flag:'`
14511
 
   (eval echo "\"\$as_me:14511: $lt_compile\"" >&5)
 
14400
   (eval echo "\"\$as_me:14400: $lt_compile\"" >&5)
14512
14401
   (eval "$lt_compile" 2>out/conftest.err)
14513
14402
   ac_status=$?
14514
14403
   cat out/conftest.err >&5
14515
 
   echo "$as_me:14515: \$? = $ac_status" >&5
 
14404
   echo "$as_me:14404: \$? = $ac_status" >&5
14516
14405
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
14517
14406
   then
14518
14407
     # The compiler can only warn and ignore the option if not recognized
14704
14593
      allow_undefined_flag_F77=unsupported
14705
14594
      always_export_symbols_F77=no
14706
14595
      enable_shared_with_static_runtimes_F77=yes
14707
 
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
14596
      export_symbols_cmds_F77='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
14708
14597
 
14709
14598
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
14710
14599
        archive_cmds_F77='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
14722
14611
      fi
14723
14612
      ;;
14724
14613
 
14725
 
    interix3*)
 
14614
    interix[3-9]*)
14726
14615
      hardcode_direct_F77=no
14727
14616
      hardcode_shlibpath_var_F77=no
14728
14617
      hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
14737
14626
      archive_expsym_cmds_F77='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
14738
14627
      ;;
14739
14628
 
14740
 
    linux* | k*bsd*-gnu)
 
14629
    gnu* | linux* | k*bsd*-gnu)
14741
14630
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
14742
14631
        tmp_addflag=
14743
14632
        case $cc_basename,$host_cpu in
14755
14644
        ifc* | ifort*)                  # Intel Fortran compiler
14756
14645
          tmp_addflag=' -nofor_main' ;;
14757
14646
        esac
14758
 
        archive_cmds_F77='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
14647
        case `$CC -V 2>&1 | sed 5q` in
 
14648
        *Sun\ C*)                       # Sun C 5.9
 
14649
          whole_archive_flag_spec_F77='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
14650
          tmp_sharedflag='-G' ;;
 
14651
        *Sun\ F*)                       # Sun Fortran 8.3
 
14652
          tmp_sharedflag='-G' ;;
 
14653
        *)
 
14654
          tmp_sharedflag='-shared' ;;
 
14655
        esac
 
14656
        archive_cmds_F77='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14759
14657
 
14760
14658
        if test $supports_anon_versioning = yes; then
14761
14659
          archive_expsym_cmds_F77='$echo "{ global:" > $output_objdir/$libname.ver~
14762
14660
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
14763
14661
  $echo "local: *; };" >> $output_objdir/$libname.ver~
14764
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
14662
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
14765
14663
        fi
14766
14664
        link_all_deplibs_F77=no
14767
14665
      else
14921
14819
           strings "$collect2name" | grep resolve_lib_name >/dev/null
14922
14820
          then
14923
14821
          # We have reworked collect2
14924
 
          hardcode_direct_F77=yes
 
14822
          :
14925
14823
          else
14926
14824
          # We have old collect2
14927
14825
          hardcode_direct_F77=unsupported
14979
14877
  rm -f conftest.er1
14980
14878
  cat conftest.err >&5
14981
14879
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14982
 
  (exit $ac_status); } &&
14983
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
14984
 
  { (case "(($ac_try" in
14985
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14986
 
  *) ac_try_echo=$ac_try;;
14987
 
esac
14988
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14989
 
  (eval "$ac_try") 2>&5
14990
 
  ac_status=$?
14991
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
14992
 
  (exit $ac_status); }; } &&
14993
 
         { ac_try='test -s conftest$ac_exeext'
14994
 
  { (case "(($ac_try" in
14995
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14996
 
  *) ac_try_echo=$ac_try;;
14997
 
esac
14998
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14999
 
  (eval "$ac_try") 2>&5
15000
 
  ac_status=$?
15001
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15002
 
  (exit $ac_status); }; }; then
 
14880
  (exit $ac_status); } && {
 
14881
         test -z "$ac_f77_werror_flag" ||
 
14882
         test ! -s conftest.err
 
14883
       } && test -s conftest$ac_exeext &&
 
14884
       $as_test_x conftest$ac_exeext; then
15003
14885
 
15004
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15005
 
}'`
 
14886
lt_aix_libpath_sed='
 
14887
    /Import File Strings/,/^$/ {
 
14888
        /^0/ {
 
14889
            s/^0  *\(.*\)$/\1/
 
14890
            p
 
14891
        }
 
14892
    }'
 
14893
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15006
14894
# Check for a 64-bit object if we didn't find anything.
15007
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15008
 
}'`; fi
 
14895
if test -z "$aix_libpath"; then
 
14896
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14897
fi
15009
14898
else
15010
14899
  echo "$as_me: failed program was:" >&5
15011
14900
sed 's/^/| /' conftest.$ac_ext >&5
15044
14933
  rm -f conftest.er1
15045
14934
  cat conftest.err >&5
15046
14935
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15047
 
  (exit $ac_status); } &&
15048
 
         { ac_try='test -z "$ac_f77_werror_flag" || test ! -s conftest.err'
15049
 
  { (case "(($ac_try" in
15050
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15051
 
  *) ac_try_echo=$ac_try;;
15052
 
esac
15053
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15054
 
  (eval "$ac_try") 2>&5
15055
 
  ac_status=$?
15056
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15057
 
  (exit $ac_status); }; } &&
15058
 
         { ac_try='test -s conftest$ac_exeext'
15059
 
  { (case "(($ac_try" in
15060
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15061
 
  *) ac_try_echo=$ac_try;;
15062
 
esac
15063
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15064
 
  (eval "$ac_try") 2>&5
15065
 
  ac_status=$?
15066
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
15067
 
  (exit $ac_status); }; }; then
 
14936
  (exit $ac_status); } && {
 
14937
         test -z "$ac_f77_werror_flag" ||
 
14938
         test ! -s conftest.err
 
14939
       } && test -s conftest$ac_exeext &&
 
14940
       $as_test_x conftest$ac_exeext; then
15068
14941
 
15069
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15070
 
}'`
 
14942
lt_aix_libpath_sed='
 
14943
    /Import File Strings/,/^$/ {
 
14944
        /^0/ {
 
14945
            s/^0  *\(.*\)$/\1/
 
14946
            p
 
14947
        }
 
14948
    }'
 
14949
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
15071
14950
# Check for a 64-bit object if we didn't find anything.
15072
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
15073
 
}'`; fi
 
14951
if test -z "$aix_libpath"; then
 
14952
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
14953
fi
15074
14954
else
15075
14955
  echo "$as_me: failed program was:" >&5
15076
14956
sed 's/^/| /' conftest.$ac_ext >&5
15124
15004
      # The linker will automatically build a .lib file if we build a DLL.
15125
15005
      old_archive_From_new_cmds_F77='true'
15126
15006
      # FIXME: Should let the user specify the lib program.
15127
 
      old_archive_cmds_F77='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
15007
      old_archive_cmds_F77='lib -OUT:$oldlib$oldobjs$old_deplibs'
15128
15008
      fix_srcfile_path_F77='`cygpath -w "$srcfile"`'
15129
15009
      enable_shared_with_static_runtimes_F77=yes
15130
15010
      ;;
15166
15046
      case $cc_basename in
15167
15047
        xlc*)
15168
15048
         output_verbose_link_cmd='echo'
15169
 
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
15049
         archive_cmds_F77='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
15170
15050
         module_cmds_F77='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
15171
15051
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
15172
 
         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}'
 
15052
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
15173
15053
          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}'
15174
15054
          ;;
15175
15055
       *)
15331
15211
      ;;
15332
15212
 
15333
15213
    openbsd*)
15334
 
      hardcode_direct_F77=yes
15335
 
      hardcode_shlibpath_var_F77=no
15336
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15337
 
        archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15338
 
        archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
15339
 
        hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15340
 
        export_dynamic_flag_spec_F77='${wl}-E'
 
15214
      if test -f /usr/libexec/ld.so; then
 
15215
        hardcode_direct_F77=yes
 
15216
        hardcode_shlibpath_var_F77=no
 
15217
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
15218
          archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15219
          archive_expsym_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
15220
          hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15221
          export_dynamic_flag_spec_F77='${wl}-E'
 
15222
        else
 
15223
          case $host_os in
 
15224
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
15225
             archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
15226
             hardcode_libdir_flag_spec_F77='-R$libdir'
 
15227
             ;;
 
15228
           *)
 
15229
             archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
15230
             hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
 
15231
             ;;
 
15232
          esac
 
15233
        fi
15341
15234
      else
15342
 
       case $host_os in
15343
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
15344
 
           archive_cmds_F77='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
15345
 
           hardcode_libdir_flag_spec_F77='-R$libdir'
15346
 
           ;;
15347
 
         *)
15348
 
           archive_cmds_F77='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
15349
 
           hardcode_libdir_flag_spec_F77='${wl}-rpath,$libdir'
15350
 
           ;;
15351
 
       esac
 
15235
        ld_shlibs_F77=no
15352
15236
      fi
15353
15237
      ;;
15354
15238
 
15407
15291
      case $host_os in
15408
15292
      solaris2.[0-5] | solaris2.[0-5].*) ;;
15409
15293
      *)
15410
 
        # The compiler driver will combine linker options so we
15411
 
        # cannot just pass the convience library names through
15412
 
        # without $wl, iff we do not link with $LD.
15413
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
15294
        # The compiler driver will combine and reorder linker options,
 
15295
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
15296
        # but is careful enough not to reorder.
15414
15297
        # Supported since Solaris 2.6 (maybe 2.5.1?)
15415
 
        case $wlarc in
15416
 
        '')
15417
 
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract' ;;
15418
 
        *)
15419
 
          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' ;;
15420
 
        esac ;;
 
15298
        if test "$GCC" = yes; then
 
15299
          whole_archive_flag_spec_F77='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
15300
        else
 
15301
          whole_archive_flag_spec_F77='-z allextract$convenience -z defaultextract'
 
15302
        fi
 
15303
        ;;
15421
15304
      esac
15422
15305
      link_all_deplibs_F77=yes
15423
15306
      ;;
15474
15357
      fi
15475
15358
      ;;
15476
15359
 
15477
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
15360
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
15478
15361
      no_undefined_flag_F77='${wl}-z,text'
15479
15362
      archive_cmds_need_lc_F77=no
15480
15363
      hardcode_shlibpath_var_F77=no
15551
15434
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
15552
15435
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
15553
15436
      $rm conftest*
15554
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
15437
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
15555
15438
 
15556
15439
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15557
15440
  (eval $ac_compile) 2>&5
15609
15492
version_type=none
15610
15493
dynamic_linker="$host_os ld.so"
15611
15494
sys_lib_dlsearch_path_spec="/lib /usr/lib"
15612
 
if test "$GCC" = yes; then
15613
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
15614
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
15615
 
    # if the path contains ";" then we assume it to be the separator
15616
 
    # otherwise default to the standard path separator (i.e. ":") - it is
15617
 
    # assumed that no part of a normal pathname contains ";" but that should
15618
 
    # okay in the real world where ";" in dirpaths is itself problematic.
15619
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
15620
 
  else
15621
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
15622
 
  fi
15623
 
else
15624
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
15625
 
fi
 
15495
 
15626
15496
need_lib_prefix=unknown
15627
15497
hardcode_into_libs=no
15628
15498
 
15779
15649
  shlibpath_overrides_runpath=yes
15780
15650
  shlibpath_var=DYLD_LIBRARY_PATH
15781
15651
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
15782
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
15783
 
  if test "$GCC" = yes; then
15784
 
    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"`
15785
 
  else
15786
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
15787
 
  fi
 
15652
 
15788
15653
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
15789
15654
  ;;
15790
15655
 
15838
15703
    shlibpath_overrides_runpath=no
15839
15704
    hardcode_into_libs=yes
15840
15705
    ;;
15841
 
  freebsd*) # from 4.6 on
 
15706
  *) # from 4.6 on, and DragonFly
15842
15707
    shlibpath_overrides_runpath=yes
15843
15708
    hardcode_into_libs=yes
15844
15709
    ;;
15901
15766
  postinstall_cmds='chmod 555 $lib'
15902
15767
  ;;
15903
15768
 
15904
 
interix3*)
 
15769
interix[3-9]*)
15905
15770
  version_type=linux
15906
15771
  need_lib_prefix=no
15907
15772
  need_version=no
15972
15837
 
15973
15838
  # Append ld.so.conf contents to the search path
15974
15839
  if test -f /etc/ld.so.conf; then
15975
 
    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' ' '`
 
15840
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15976
15841
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15977
15842
  fi
15978
15843
 
16078
15943
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
16079
15944
  ;;
16080
15945
 
 
15946
rdos*)
 
15947
  dynamic_linker=no
 
15948
  ;;
 
15949
 
16081
15950
solaris*)
16082
15951
  version_type=linux
16083
15952
  need_lib_prefix=no
16272
16141
    module_cmds_F77 \
16273
16142
    module_expsym_cmds_F77 \
16274
16143
    lt_cv_prog_compiler_c_o_F77 \
 
16144
    fix_srcfile_path_F77 \
16275
16145
    exclude_expsyms_F77 \
16276
16146
    include_expsyms_F77; do
16277
16147
 
16592
16462
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
16593
16463
 
16594
16464
# Fix the shell variable \$srcfile for the compiler.
16595
 
fix_srcfile_path="$fix_srcfile_path_F77"
 
16465
fix_srcfile_path=$lt_fix_srcfile_path
16596
16466
 
16597
16467
# Set to yes if exported symbols are required.
16598
16468
always_export_symbols=$always_export_symbols_F77
16650
16520
objext_GCJ=$objext
16651
16521
 
16652
16522
# Code to be used in simple compile tests
16653
 
lt_simple_compile_test_code="class foo {}\n"
 
16523
lt_simple_compile_test_code="class foo {}"
16654
16524
 
16655
16525
# Code to be used in simple link tests
16656
 
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }\n'
 
16526
lt_simple_link_test_code='public class conftest { public static void main(String[] argv) {}; }'
16657
16527
 
16658
16528
# ltmain only uses $CC for tagged configurations so make sure $CC is set.
16659
16529
 
16669
16539
 
16670
16540
# save warnings/boilerplate of simple test code
16671
16541
ac_outfile=conftest.$ac_objext
16672
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
16542
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
16673
16543
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16674
16544
_lt_compiler_boilerplate=`cat conftest.err`
16675
16545
$rm conftest*
16676
16546
 
16677
16547
ac_outfile=conftest.$ac_objext
16678
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
16548
echo "$lt_simple_link_test_code" >conftest.$ac_ext
16679
16549
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
16680
16550
_lt_linker_boilerplate=`cat conftest.err`
16681
16551
$rm conftest*
16716
16586
else
16717
16587
  lt_cv_prog_compiler_rtti_exceptions=no
16718
16588
  ac_outfile=conftest.$ac_objext
16719
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16589
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16720
16590
   lt_compiler_flag="-fno-rtti -fno-exceptions"
16721
16591
   # Insert the option either (1) after the last *FLAGS variable, or
16722
16592
   # (2) before a word containing "conftest.", or (3) at the end.
16727
16597
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16728
16598
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16729
16599
   -e 's:$: $lt_compiler_flag:'`
16730
 
   (eval echo "\"\$as_me:16730: $lt_compile\"" >&5)
 
16600
   (eval echo "\"\$as_me:16600: $lt_compile\"" >&5)
16731
16601
   (eval "$lt_compile" 2>conftest.err)
16732
16602
   ac_status=$?
16733
16603
   cat conftest.err >&5
16734
 
   echo "$as_me:16734: \$? = $ac_status" >&5
 
16604
   echo "$as_me:16604: \$? = $ac_status" >&5
16735
16605
   if (exit $ac_status) && test -s "$ac_outfile"; then
16736
16606
     # The compiler can only warn and ignore the option if not recognized
16737
16607
     # So say no if there are warnings other than the usual output.
16782
16652
      lt_prog_compiler_pic_GCJ='-m68020 -resident32 -malways-restore-a4'
16783
16653
      ;;
16784
16654
 
16785
 
    beos* | cygwin* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
 
16655
    beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
16786
16656
      # PIC is the default for these OSes.
16787
16657
      ;;
16788
16658
 
16789
 
    mingw* | pw32* | os2*)
 
16659
    mingw* | cygwin* | pw32* | os2*)
16790
16660
      # This hack is so that the source file can tell whether it is being
16791
16661
      # built for inclusion in a dll (and should export symbols for example).
 
16662
      # Although the cygwin gcc ignores -fPIC, still need this for old-style
 
16663
      # (--disable-auto-import) libraries
16792
16664
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16793
16665
      ;;
16794
16666
 
16798
16670
      lt_prog_compiler_pic_GCJ='-fno-common'
16799
16671
      ;;
16800
16672
 
16801
 
    interix3*)
 
16673
    interix[3-9]*)
16802
16674
      # Interix 3.x gcc -fpic/-fPIC options generate broken code.
16803
16675
      # Instead, we relocate shared libraries at runtime.
16804
16676
      ;;
16856
16728
       esac
16857
16729
       ;;
16858
16730
 
16859
 
    mingw* | pw32* | os2*)
 
16731
    mingw* | cygwin* | pw32* | os2*)
16860
16732
      # This hack is so that the source file can tell whether it is being
16861
16733
      # built for inclusion in a dll (and should export symbols for example).
16862
16734
      lt_prog_compiler_pic_GCJ='-DDLL_EXPORT'
16908
16780
        # All Alpha code is PIC.
16909
16781
        lt_prog_compiler_static_GCJ='-non_shared'
16910
16782
        ;;
 
16783
      *)
 
16784
        case `$CC -V 2>&1 | sed 5q` in
 
16785
        *Sun\ C*)
 
16786
          # Sun C 5.9
 
16787
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16788
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16789
          lt_prog_compiler_wl_GCJ='-Wl,'
 
16790
          ;;
 
16791
        *Sun\ F*)
 
16792
          # Sun Fortran 8.3 passes all unrecognized flags to the linker
 
16793
          lt_prog_compiler_pic_GCJ='-KPIC'
 
16794
          lt_prog_compiler_static_GCJ='-Bstatic'
 
16795
          lt_prog_compiler_wl_GCJ=''
 
16796
          ;;
 
16797
        esac
 
16798
        ;;
16911
16799
      esac
16912
16800
      ;;
16913
16801
 
16917
16805
      lt_prog_compiler_static_GCJ='-non_shared'
16918
16806
      ;;
16919
16807
 
 
16808
    rdos*)
 
16809
      lt_prog_compiler_static_GCJ='-non_shared'
 
16810
      ;;
 
16811
 
16920
16812
    solaris*)
16921
16813
      lt_prog_compiler_pic_GCJ='-KPIC'
16922
16814
      lt_prog_compiler_static_GCJ='-Bstatic'
16984
16876
else
16985
16877
  lt_prog_compiler_pic_works_GCJ=no
16986
16878
  ac_outfile=conftest.$ac_objext
16987
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16879
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
16988
16880
   lt_compiler_flag="$lt_prog_compiler_pic_GCJ"
16989
16881
   # Insert the option either (1) after the last *FLAGS variable, or
16990
16882
   # (2) before a word containing "conftest.", or (3) at the end.
16995
16887
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
16996
16888
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
16997
16889
   -e 's:$: $lt_compiler_flag:'`
16998
 
   (eval echo "\"\$as_me:16998: $lt_compile\"" >&5)
 
16890
   (eval echo "\"\$as_me:16890: $lt_compile\"" >&5)
16999
16891
   (eval "$lt_compile" 2>conftest.err)
17000
16892
   ac_status=$?
17001
16893
   cat conftest.err >&5
17002
 
   echo "$as_me:17002: \$? = $ac_status" >&5
 
16894
   echo "$as_me:16894: \$? = $ac_status" >&5
17003
16895
   if (exit $ac_status) && test -s "$ac_outfile"; then
17004
16896
     # The compiler can only warn and ignore the option if not recognized
17005
16897
     # So say no if there are warnings other than the usual output.
17048
16940
  lt_prog_compiler_static_works_GCJ=no
17049
16941
   save_LDFLAGS="$LDFLAGS"
17050
16942
   LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
17051
 
   printf "$lt_simple_link_test_code" > conftest.$ac_ext
 
16943
   echo "$lt_simple_link_test_code" > conftest.$ac_ext
17052
16944
   if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
17053
16945
     # The linker can only warn and ignore the option if not recognized
17054
16946
     # So say no if there are warnings
17088
16980
   mkdir conftest
17089
16981
   cd conftest
17090
16982
   mkdir out
17091
 
   printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
16983
   echo "$lt_simple_compile_test_code" > conftest.$ac_ext
17092
16984
 
17093
16985
   lt_compiler_flag="-o out/conftest2.$ac_objext"
17094
16986
   # Insert the option either (1) after the last *FLAGS variable, or
17099
16991
   -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
17100
16992
   -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
17101
16993
   -e 's:$: $lt_compiler_flag:'`
17102
 
   (eval echo "\"\$as_me:17102: $lt_compile\"" >&5)
 
16994
   (eval echo "\"\$as_me:16994: $lt_compile\"" >&5)
17103
16995
   (eval "$lt_compile" 2>out/conftest.err)
17104
16996
   ac_status=$?
17105
16997
   cat out/conftest.err >&5
17106
 
   echo "$as_me:17106: \$? = $ac_status" >&5
 
16998
   echo "$as_me:16998: \$? = $ac_status" >&5
17107
16999
   if (exit $ac_status) && test -s out/conftest2.$ac_objext
17108
17000
   then
17109
17001
     # The compiler can only warn and ignore the option if not recognized
17295
17187
      allow_undefined_flag_GCJ=unsupported
17296
17188
      always_export_symbols_GCJ=no
17297
17189
      enable_shared_with_static_runtimes_GCJ=yes
17298
 
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS] /s/.* \([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW] /s/.* //'\'' | sort | uniq > $export_symbols'
 
17190
      export_symbols_cmds_GCJ='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
17299
17191
 
17300
17192
      if $LD --help 2>&1 | grep 'auto-import' > /dev/null; then
17301
17193
        archive_cmds_GCJ='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17313
17205
      fi
17314
17206
      ;;
17315
17207
 
17316
 
    interix3*)
 
17208
    interix[3-9]*)
17317
17209
      hardcode_direct_GCJ=no
17318
17210
      hardcode_shlibpath_var_GCJ=no
17319
17211
      hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17328
17220
      archive_expsym_cmds_GCJ='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
17329
17221
      ;;
17330
17222
 
17331
 
    linux* | k*bsd*-gnu)
 
17223
    gnu* | linux* | k*bsd*-gnu)
17332
17224
      if $LD --help 2>&1 | grep ': supported targets:.* elf' > /dev/null; then
17333
17225
        tmp_addflag=
17334
17226
        case $cc_basename,$host_cpu in
17346
17238
        ifc* | ifort*)                  # Intel Fortran compiler
17347
17239
          tmp_addflag=' -nofor_main' ;;
17348
17240
        esac
17349
 
        archive_cmds_GCJ='$CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
17241
        case `$CC -V 2>&1 | sed 5q` in
 
17242
        *Sun\ C*)                       # Sun C 5.9
 
17243
          whole_archive_flag_spec_GCJ='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $echo \"$new_convenience\"` ${wl}--no-whole-archive'
 
17244
          tmp_sharedflag='-G' ;;
 
17245
        *Sun\ F*)                       # Sun Fortran 8.3
 
17246
          tmp_sharedflag='-G' ;;
 
17247
        *)
 
17248
          tmp_sharedflag='-shared' ;;
 
17249
        esac
 
17250
        archive_cmds_GCJ='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
17350
17251
 
17351
17252
        if test $supports_anon_versioning = yes; then
17352
17253
          archive_expsym_cmds_GCJ='$echo "{ global:" > $output_objdir/$libname.ver~
17353
17254
  cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
17354
17255
  $echo "local: *; };" >> $output_objdir/$libname.ver~
17355
 
          $CC -shared'"$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
 
17256
          $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
17356
17257
        fi
17357
17258
        link_all_deplibs_GCJ=no
17358
17259
      else
17512
17413
           strings "$collect2name" | grep resolve_lib_name >/dev/null
17513
17414
          then
17514
17415
          # We have reworked collect2
17515
 
          hardcode_direct_GCJ=yes
 
17416
          :
17516
17417
          else
17517
17418
          # We have old collect2
17518
17419
          hardcode_direct_GCJ=unsupported
17580
17481
  rm -f conftest.er1
17581
17482
  cat conftest.err >&5
17582
17483
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17583
 
  (exit $ac_status); } &&
17584
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17585
 
  { (case "(($ac_try" in
17586
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17587
 
  *) ac_try_echo=$ac_try;;
17588
 
esac
17589
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17590
 
  (eval "$ac_try") 2>&5
17591
 
  ac_status=$?
17592
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17593
 
  (exit $ac_status); }; } &&
17594
 
         { ac_try='test -s conftest$ac_exeext'
17595
 
  { (case "(($ac_try" in
17596
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17597
 
  *) ac_try_echo=$ac_try;;
17598
 
esac
17599
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17600
 
  (eval "$ac_try") 2>&5
17601
 
  ac_status=$?
17602
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17603
 
  (exit $ac_status); }; }; then
 
17484
  (exit $ac_status); } && {
 
17485
         test -z "$ac_c_werror_flag" ||
 
17486
         test ! -s conftest.err
 
17487
       } && test -s conftest$ac_exeext &&
 
17488
       $as_test_x conftest$ac_exeext; then
17604
17489
 
17605
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17606
 
}'`
 
17490
lt_aix_libpath_sed='
 
17491
    /Import File Strings/,/^$/ {
 
17492
        /^0/ {
 
17493
            s/^0  *\(.*\)$/\1/
 
17494
            p
 
17495
        }
 
17496
    }'
 
17497
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17607
17498
# Check for a 64-bit object if we didn't find anything.
17608
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17609
 
}'`; fi
 
17499
if test -z "$aix_libpath"; then
 
17500
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17501
fi
17610
17502
else
17611
17503
  echo "$as_me: failed program was:" >&5
17612
17504
sed 's/^/| /' conftest.$ac_ext >&5
17655
17547
  rm -f conftest.er1
17656
17548
  cat conftest.err >&5
17657
17549
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17658
 
  (exit $ac_status); } &&
17659
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
17660
 
  { (case "(($ac_try" in
17661
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17662
 
  *) ac_try_echo=$ac_try;;
17663
 
esac
17664
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17665
 
  (eval "$ac_try") 2>&5
17666
 
  ac_status=$?
17667
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17668
 
  (exit $ac_status); }; } &&
17669
 
         { ac_try='test -s conftest$ac_exeext'
17670
 
  { (case "(($ac_try" in
17671
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17672
 
  *) ac_try_echo=$ac_try;;
17673
 
esac
17674
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17675
 
  (eval "$ac_try") 2>&5
17676
 
  ac_status=$?
17677
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
17678
 
  (exit $ac_status); }; }; then
 
17550
  (exit $ac_status); } && {
 
17551
         test -z "$ac_c_werror_flag" ||
 
17552
         test ! -s conftest.err
 
17553
       } && test -s conftest$ac_exeext &&
 
17554
       $as_test_x conftest$ac_exeext; then
17679
17555
 
17680
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17681
 
}'`
 
17556
lt_aix_libpath_sed='
 
17557
    /Import File Strings/,/^$/ {
 
17558
        /^0/ {
 
17559
            s/^0  *\(.*\)$/\1/
 
17560
            p
 
17561
        }
 
17562
    }'
 
17563
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17682
17564
# Check for a 64-bit object if we didn't find anything.
17683
 
if test -z "$aix_libpath"; then aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e '/Import File Strings/,/^$/ { /^0/ { s/^0  *\(.*\)$/\1/; p; }
17684
 
}'`; fi
 
17565
if test -z "$aix_libpath"; then
 
17566
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
17567
fi
17685
17568
else
17686
17569
  echo "$as_me: failed program was:" >&5
17687
17570
sed 's/^/| /' conftest.$ac_ext >&5
17735
17618
      # The linker will automatically build a .lib file if we build a DLL.
17736
17619
      old_archive_From_new_cmds_GCJ='true'
17737
17620
      # FIXME: Should let the user specify the lib program.
17738
 
      old_archive_cmds_GCJ='lib /OUT:$oldlib$oldobjs$old_deplibs'
 
17621
      old_archive_cmds_GCJ='lib -OUT:$oldlib$oldobjs$old_deplibs'
17739
17622
      fix_srcfile_path_GCJ='`cygpath -w "$srcfile"`'
17740
17623
      enable_shared_with_static_runtimes_GCJ=yes
17741
17624
      ;;
17777
17660
      case $cc_basename in
17778
17661
        xlc*)
17779
17662
         output_verbose_link_cmd='echo'
17780
 
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $verstring'
 
17663
         archive_cmds_GCJ='$CC -qmkshrobj $allow_undefined_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-install_name ${wl}`echo $rpath/$soname` $xlcverstring'
17781
17664
         module_cmds_GCJ='$CC $allow_undefined_flag -o $lib -bundle $libobjs $deplibs$compiler_flags'
17782
17665
          # Don't fix this by using the ld -exported_symbols_list flag, it doesn't exist in older darwin lds
17783
 
         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}'
 
17666
         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 $xlcverstring~nmedit -s $output_objdir/${libname}-symbols.expsym ${lib}'
17784
17667
          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}'
17785
17668
          ;;
17786
17669
       *)
17942
17825
      ;;
17943
17826
 
17944
17827
    openbsd*)
17945
 
      hardcode_direct_GCJ=yes
17946
 
      hardcode_shlibpath_var_GCJ=no
17947
 
      if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
17948
 
        archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17949
 
        archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
17950
 
        hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17951
 
        export_dynamic_flag_spec_GCJ='${wl}-E'
 
17828
      if test -f /usr/libexec/ld.so; then
 
17829
        hardcode_direct_GCJ=yes
 
17830
        hardcode_shlibpath_var_GCJ=no
 
17831
        if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
 
17832
          archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17833
          archive_expsym_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
 
17834
          hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17835
          export_dynamic_flag_spec_GCJ='${wl}-E'
 
17836
        else
 
17837
          case $host_os in
 
17838
           openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
 
17839
             archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
 
17840
             hardcode_libdir_flag_spec_GCJ='-R$libdir'
 
17841
             ;;
 
17842
           *)
 
17843
             archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
 
17844
             hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
 
17845
             ;;
 
17846
          esac
 
17847
        fi
17952
17848
      else
17953
 
       case $host_os in
17954
 
         openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
17955
 
           archive_cmds_GCJ='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
17956
 
           hardcode_libdir_flag_spec_GCJ='-R$libdir'
17957
 
           ;;
17958
 
         *)
17959
 
           archive_cmds_GCJ='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
17960
 
           hardcode_libdir_flag_spec_GCJ='${wl}-rpath,$libdir'
17961
 
           ;;
17962
 
       esac
 
17849
        ld_shlibs_GCJ=no
17963
17850
      fi
17964
17851
      ;;
17965
17852
 
18018
17905
      case $host_os in
18019
17906
      solaris2.[0-5] | solaris2.[0-5].*) ;;
18020
17907
      *)
18021
 
        # The compiler driver will combine linker options so we
18022
 
        # cannot just pass the convience library names through
18023
 
        # without $wl, iff we do not link with $LD.
18024
 
        # Luckily, gcc supports the same syntax we need for Sun Studio.
 
17908
        # The compiler driver will combine and reorder linker options,
 
17909
        # but understands `-z linker_flag'.  GCC discards it without `$wl',
 
17910
        # but is careful enough not to reorder.
18025
17911
        # Supported since Solaris 2.6 (maybe 2.5.1?)
18026
 
        case $wlarc in
18027
 
        '')
18028
 
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract' ;;
18029
 
        *)
18030
 
          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' ;;
18031
 
        esac ;;
 
17912
        if test "$GCC" = yes; then
 
17913
          whole_archive_flag_spec_GCJ='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
 
17914
        else
 
17915
          whole_archive_flag_spec_GCJ='-z allextract$convenience -z defaultextract'
 
17916
        fi
 
17917
        ;;
18032
17918
      esac
18033
17919
      link_all_deplibs_GCJ=yes
18034
17920
      ;;
18085
17971
      fi
18086
17972
      ;;
18087
17973
 
18088
 
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7*)
 
17974
    sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
18089
17975
      no_undefined_flag_GCJ='${wl}-z,text'
18090
17976
      archive_cmds_need_lc_GCJ=no
18091
17977
      hardcode_shlibpath_var_GCJ=no
18162
18048
      { echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
18163
18049
echo $ECHO_N "checking whether -lc should be explicitly linked in... $ECHO_C" >&6; }
18164
18050
      $rm conftest*
18165
 
      printf "$lt_simple_compile_test_code" > conftest.$ac_ext
 
18051
      echo "$lt_simple_compile_test_code" > conftest.$ac_ext
18166
18052
 
18167
18053
      if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
18168
18054
  (eval $ac_compile) 2>&5
18220
18106
version_type=none
18221
18107
dynamic_linker="$host_os ld.so"
18222
18108
sys_lib_dlsearch_path_spec="/lib /usr/lib"
18223
 
if test "$GCC" = yes; then
18224
 
  sys_lib_search_path_spec=`$CC -print-search-dirs | grep "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
18225
 
  if echo "$sys_lib_search_path_spec" | grep ';' >/dev/null ; then
18226
 
    # if the path contains ";" then we assume it to be the separator
18227
 
    # otherwise default to the standard path separator (i.e. ":") - it is
18228
 
    # assumed that no part of a normal pathname contains ";" but that should
18229
 
    # okay in the real world where ";" in dirpaths is itself problematic.
18230
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
18231
 
  else
18232
 
    sys_lib_search_path_spec=`echo "$sys_lib_search_path_spec" | $SED  -e "s/$PATH_SEPARATOR/ /g"`
18233
 
  fi
18234
 
else
18235
 
  sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
18236
 
fi
 
18109
 
18237
18110
need_lib_prefix=unknown
18238
18111
hardcode_into_libs=no
18239
18112
 
18390
18263
  shlibpath_overrides_runpath=yes
18391
18264
  shlibpath_var=DYLD_LIBRARY_PATH
18392
18265
  shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
18393
 
  # Apple's gcc prints 'gcc -print-search-dirs' doesn't operate the same.
18394
 
  if test "$GCC" = yes; then
18395
 
    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"`
18396
 
  else
18397
 
    sys_lib_search_path_spec='/lib /usr/lib /usr/local/lib'
18398
 
  fi
 
18266
 
18399
18267
  sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
18400
18268
  ;;
18401
18269
 
18449
18317
    shlibpath_overrides_runpath=no
18450
18318
    hardcode_into_libs=yes
18451
18319
    ;;
18452
 
  freebsd*) # from 4.6 on
 
18320
  *) # from 4.6 on, and DragonFly
18453
18321
    shlibpath_overrides_runpath=yes
18454
18322
    hardcode_into_libs=yes
18455
18323
    ;;
18512
18380
  postinstall_cmds='chmod 555 $lib'
18513
18381
  ;;
18514
18382
 
18515
 
interix3*)
 
18383
interix[3-9]*)
18516
18384
  version_type=linux
18517
18385
  need_lib_prefix=no
18518
18386
  need_version=no
18583
18451
 
18584
18452
  # Append ld.so.conf contents to the search path
18585
18453
  if test -f /etc/ld.so.conf; then
18586
 
    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' ' '`
 
18454
    lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[      ]*hwcap[        ]/d;s/[:,       ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
18587
18455
    sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
18588
18456
  fi
18589
18457
 
18689
18557
  sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
18690
18558
  ;;
18691
18559
 
 
18560
rdos*)
 
18561
  dynamic_linker=no
 
18562
  ;;
 
18563
 
18692
18564
solaris*)
18693
18565
  version_type=linux
18694
18566
  need_lib_prefix=no
18883
18755
    module_cmds_GCJ \
18884
18756
    module_expsym_cmds_GCJ \
18885
18757
    lt_cv_prog_compiler_c_o_GCJ \
 
18758
    fix_srcfile_path_GCJ \
18886
18759
    exclude_expsyms_GCJ \
18887
18760
    include_expsyms_GCJ; do
18888
18761
 
19203
19076
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19204
19077
 
19205
19078
# Fix the shell variable \$srcfile for the compiler.
19206
 
fix_srcfile_path="$fix_srcfile_path_GCJ"
 
19079
fix_srcfile_path=$lt_fix_srcfile_path
19207
19080
 
19208
19081
# Set to yes if exported symbols are required.
19209
19082
always_export_symbols=$always_export_symbols_GCJ
19260
19133
objext_RC=$objext
19261
19134
 
19262
19135
# Code to be used in simple compile tests
19263
 
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }\n'
 
19136
lt_simple_compile_test_code='sample MENU { MENUITEM "&Soup", 100, CHECKED }'
19264
19137
 
19265
19138
# Code to be used in simple link tests
19266
19139
lt_simple_link_test_code="$lt_simple_compile_test_code"
19279
19152
 
19280
19153
# save warnings/boilerplate of simple test code
19281
19154
ac_outfile=conftest.$ac_objext
19282
 
printf "$lt_simple_compile_test_code" >conftest.$ac_ext
 
19155
echo "$lt_simple_compile_test_code" >conftest.$ac_ext
19283
19156
eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19284
19157
_lt_compiler_boilerplate=`cat conftest.err`
19285
19158
$rm conftest*
19286
19159
 
19287
19160
ac_outfile=conftest.$ac_objext
19288
 
printf "$lt_simple_link_test_code" >conftest.$ac_ext
 
19161
echo "$lt_simple_link_test_code" >conftest.$ac_ext
19289
19162
eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
19290
19163
_lt_linker_boilerplate=`cat conftest.err`
19291
19164
$rm conftest*
19363
19236
    module_cmds_RC \
19364
19237
    module_expsym_cmds_RC \
19365
19238
    lt_cv_prog_compiler_c_o_RC \
 
19239
    fix_srcfile_path_RC \
19366
19240
    exclude_expsyms_RC \
19367
19241
    include_expsyms_RC; do
19368
19242
 
19683
19557
sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
19684
19558
 
19685
19559
# Fix the shell variable \$srcfile for the compiler.
19686
 
fix_srcfile_path="$fix_srcfile_path_RC"
 
19560
fix_srcfile_path=$lt_fix_srcfile_path
19687
19561
 
19688
19562
# Set to yes if exported symbols are required.
19689
19563
always_export_symbols=$always_export_symbols_RC
19898
19772
_ACEOF
19899
19773
 
19900
19774
 
 
19775
cat >>confdefs.h <<_ACEOF
 
19776
#define USED_BUILD "$build"
 
19777
_ACEOF
 
19778
 
 
19779
 
19901
19780
  # Add used CXXFLAGS to config.h
19902
19781
 
19903
19782
cat >>confdefs.h <<_ACEOF
19981
19860
 
19982
19861
 
19983
19862
 
 
19863
  MIN_WX_VERSION="2.8.6"
19984
19864
 
19985
19865
    if test x${WX_CONFIG_NAME+set} != xset ; then
19986
19866
     WX_CONFIG_NAME=wx-config
20028
19908
  IFS=$as_save_IFS
20029
19909
  test -z "$as_dir" && as_dir=.
20030
19910
  for ac_exec_ext in '' $ac_executable_extensions; do
20031
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
19911
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20032
19912
    ac_cv_path_WX_CONFIG_PATH="$as_dir/$ac_word$ac_exec_ext"
20033
19913
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20034
19914
    break 2
20056
19936
  if test "$WX_CONFIG_PATH" != "no" ; then
20057
19937
    WX_VERSION=""
20058
19938
 
20059
 
    min_wx_version=2.6.3
 
19939
    min_wx_version=$MIN_WX_VERSION
20060
19940
    if test -z "" ; then
20061
19941
      { echo "$as_me:$LINENO: checking for wxWidgets version >= $min_wx_version" >&5
20062
19942
echo $ECHO_N "checking for wxWidgets version >= $min_wx_version... $ECHO_C" >&6; }
20221
20101
                Please check that wx-config is in path, the directory
20222
20102
                where wxWidgets libraries are installed (returned by
20223
20103
                'wx-config --libs' command) is in LD_LIBRARY_PATH or
20224
 
                equivalent variable and wxWidgets version is 2.5.3 or above.
 
20104
                equivalent variable and wxWidgets version is $MIN_WX_VERSION or above.
20225
20105
        " >&5
20226
20106
echo "$as_me: error:
20227
20107
                wxWidgets must be installed on your system
20230
20110
                Please check that wx-config is in path, the directory
20231
20111
                where wxWidgets libraries are installed (returned by
20232
20112
                'wx-config --libs' command) is in LD_LIBRARY_PATH or
20233
 
                equivalent variable and wxWidgets version is 2.5.3 or above.
 
20113
                equivalent variable and wxWidgets version is $MIN_WX_VERSION or above.
20234
20114
        " >&2;}
20235
20115
   { (exit 1); exit 1; }; }
20236
20116
  fi
20359
20239
  rm -f conftest.er1
20360
20240
  cat conftest.err >&5
20361
20241
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20362
 
  (exit $ac_status); } &&
20363
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20364
 
  { (case "(($ac_try" in
20365
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20366
 
  *) ac_try_echo=$ac_try;;
20367
 
esac
20368
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20369
 
  (eval "$ac_try") 2>&5
20370
 
  ac_status=$?
20371
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20372
 
  (exit $ac_status); }; } &&
20373
 
         { ac_try='test -s conftest.$ac_objext'
20374
 
  { (case "(($ac_try" in
20375
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20376
 
  *) ac_try_echo=$ac_try;;
20377
 
esac
20378
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20379
 
  (eval "$ac_try") 2>&5
20380
 
  ac_status=$?
20381
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20382
 
  (exit $ac_status); }; }; then
 
20242
  (exit $ac_status); } && {
 
20243
         test -z "$ac_c_werror_flag" ||
 
20244
         test ! -s conftest.err
 
20245
       } && test -s conftest.$ac_objext; then
20383
20246
  eval "$as_ac_Header=yes"
20384
20247
else
20385
20248
  echo "$as_me: failed program was:" >&5
20451
20314
  rm -f conftest.er1
20452
20315
  cat conftest.err >&5
20453
20316
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20454
 
  (exit $ac_status); } &&
20455
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20456
 
  { (case "(($ac_try" in
20457
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20458
 
  *) ac_try_echo=$ac_try;;
20459
 
esac
20460
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20461
 
  (eval "$ac_try") 2>&5
20462
 
  ac_status=$?
20463
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20464
 
  (exit $ac_status); }; } &&
20465
 
         { ac_try='test -s conftest$ac_exeext'
20466
 
  { (case "(($ac_try" in
20467
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20468
 
  *) ac_try_echo=$ac_try;;
20469
 
esac
20470
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20471
 
  (eval "$ac_try") 2>&5
20472
 
  ac_status=$?
20473
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20474
 
  (exit $ac_status); }; }; then
 
20317
  (exit $ac_status); } && {
 
20318
         test -z "$ac_c_werror_flag" ||
 
20319
         test ! -s conftest.err
 
20320
       } && test -s conftest$ac_exeext &&
 
20321
       $as_test_x conftest$ac_exeext; then
20475
20322
  ac_cv_search_socket=$ac_res
20476
20323
else
20477
20324
  echo "$as_me: failed program was:" >&5
20502
20349
 
20503
20350
fi
20504
20351
 
 
20352
  { echo "$as_me:$LINENO: checking for library containing getaddrinfo" >&5
 
20353
echo $ECHO_N "checking for library containing getaddrinfo... $ECHO_C" >&6; }
 
20354
if test "${ac_cv_search_getaddrinfo+set}" = set; then
 
20355
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20356
else
 
20357
  ac_func_search_save_LIBS=$LIBS
 
20358
cat >conftest.$ac_ext <<_ACEOF
 
20359
/* confdefs.h.  */
 
20360
_ACEOF
 
20361
cat confdefs.h >>conftest.$ac_ext
 
20362
cat >>conftest.$ac_ext <<_ACEOF
 
20363
/* end confdefs.h.  */
 
20364
 
 
20365
/* Override any GCC internal prototype to avoid an error.
 
20366
   Use char because int might match the return type of a GCC
 
20367
   builtin and then its argument prototype would still apply.  */
 
20368
#ifdef __cplusplus
 
20369
extern "C"
 
20370
#endif
 
20371
char getaddrinfo ();
 
20372
int
 
20373
main ()
 
20374
{
 
20375
return getaddrinfo ();
 
20376
  ;
 
20377
  return 0;
 
20378
}
 
20379
_ACEOF
 
20380
for ac_lib in '' xnet; do
 
20381
  if test -z "$ac_lib"; then
 
20382
    ac_res="none required"
 
20383
  else
 
20384
    ac_res=-l$ac_lib
 
20385
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
20386
  fi
 
20387
  rm -f conftest.$ac_objext conftest$ac_exeext
 
20388
if { (ac_try="$ac_link"
 
20389
case "(($ac_try" in
 
20390
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20391
  *) ac_try_echo=$ac_try;;
 
20392
esac
 
20393
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20394
  (eval "$ac_link") 2>conftest.er1
 
20395
  ac_status=$?
 
20396
  grep -v '^ *+' conftest.er1 >conftest.err
 
20397
  rm -f conftest.er1
 
20398
  cat conftest.err >&5
 
20399
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20400
  (exit $ac_status); } && {
 
20401
         test -z "$ac_c_werror_flag" ||
 
20402
         test ! -s conftest.err
 
20403
       } && test -s conftest$ac_exeext &&
 
20404
       $as_test_x conftest$ac_exeext; then
 
20405
  ac_cv_search_getaddrinfo=$ac_res
 
20406
else
 
20407
  echo "$as_me: failed program was:" >&5
 
20408
sed 's/^/| /' conftest.$ac_ext >&5
 
20409
 
 
20410
 
 
20411
fi
 
20412
 
 
20413
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20414
      conftest$ac_exeext
 
20415
  if test "${ac_cv_search_getaddrinfo+set}" = set; then
 
20416
  break
 
20417
fi
 
20418
done
 
20419
if test "${ac_cv_search_getaddrinfo+set}" = set; then
 
20420
  :
 
20421
else
 
20422
  ac_cv_search_getaddrinfo=no
 
20423
fi
 
20424
rm conftest.$ac_ext
 
20425
LIBS=$ac_func_search_save_LIBS
 
20426
fi
 
20427
{ echo "$as_me:$LINENO: result: $ac_cv_search_getaddrinfo" >&5
 
20428
echo "${ECHO_T}$ac_cv_search_getaddrinfo" >&6; }
 
20429
ac_res=$ac_cv_search_getaddrinfo
 
20430
if test "$ac_res" != no; then
 
20431
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
20432
 
 
20433
fi
 
20434
 
 
20435
  { echo "$as_me:$LINENO: checking for library containing in6addr_loopback" >&5
 
20436
echo $ECHO_N "checking for library containing in6addr_loopback... $ECHO_C" >&6; }
 
20437
if test "${ac_cv_search_in6addr_loopback+set}" = set; then
 
20438
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20439
else
 
20440
  ac_func_search_save_LIBS=$LIBS
 
20441
cat >conftest.$ac_ext <<_ACEOF
 
20442
/* confdefs.h.  */
 
20443
_ACEOF
 
20444
cat confdefs.h >>conftest.$ac_ext
 
20445
cat >>conftest.$ac_ext <<_ACEOF
 
20446
/* end confdefs.h.  */
 
20447
 
 
20448
/* Override any GCC internal prototype to avoid an error.
 
20449
   Use char because int might match the return type of a GCC
 
20450
   builtin and then its argument prototype would still apply.  */
 
20451
#ifdef __cplusplus
 
20452
extern "C"
 
20453
#endif
 
20454
char in6addr_loopback ();
 
20455
int
 
20456
main ()
 
20457
{
 
20458
return in6addr_loopback ();
 
20459
  ;
 
20460
  return 0;
 
20461
}
 
20462
_ACEOF
 
20463
for ac_lib in '' socket; do
 
20464
  if test -z "$ac_lib"; then
 
20465
    ac_res="none required"
 
20466
  else
 
20467
    ac_res=-l$ac_lib
 
20468
    LIBS="-l$ac_lib  $ac_func_search_save_LIBS"
 
20469
  fi
 
20470
  rm -f conftest.$ac_objext conftest$ac_exeext
 
20471
if { (ac_try="$ac_link"
 
20472
case "(($ac_try" in
 
20473
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20474
  *) ac_try_echo=$ac_try;;
 
20475
esac
 
20476
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20477
  (eval "$ac_link") 2>conftest.er1
 
20478
  ac_status=$?
 
20479
  grep -v '^ *+' conftest.er1 >conftest.err
 
20480
  rm -f conftest.er1
 
20481
  cat conftest.err >&5
 
20482
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20483
  (exit $ac_status); } && {
 
20484
         test -z "$ac_c_werror_flag" ||
 
20485
         test ! -s conftest.err
 
20486
       } && test -s conftest$ac_exeext &&
 
20487
       $as_test_x conftest$ac_exeext; then
 
20488
  ac_cv_search_in6addr_loopback=$ac_res
 
20489
else
 
20490
  echo "$as_me: failed program was:" >&5
 
20491
sed 's/^/| /' conftest.$ac_ext >&5
 
20492
 
 
20493
 
 
20494
fi
 
20495
 
 
20496
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20497
      conftest$ac_exeext
 
20498
  if test "${ac_cv_search_in6addr_loopback+set}" = set; then
 
20499
  break
 
20500
fi
 
20501
done
 
20502
if test "${ac_cv_search_in6addr_loopback+set}" = set; then
 
20503
  :
 
20504
else
 
20505
  ac_cv_search_in6addr_loopback=no
 
20506
fi
 
20507
rm conftest.$ac_ext
 
20508
LIBS=$ac_func_search_save_LIBS
 
20509
fi
 
20510
{ echo "$as_me:$LINENO: result: $ac_cv_search_in6addr_loopback" >&5
 
20511
echo "${ECHO_T}$ac_cv_search_in6addr_loopback" >&6; }
 
20512
ac_res=$ac_cv_search_in6addr_loopback
 
20513
if test "$ac_res" != no; then
 
20514
  test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
 
20515
 
 
20516
fi
 
20517
 
20505
20518
 
20506
20519
 
20507
20520
 
20574
20587
  rm -f conftest.er1
20575
20588
  cat conftest.err >&5
20576
20589
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20577
 
  (exit $ac_status); } &&
20578
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20579
 
  { (case "(($ac_try" in
20580
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20581
 
  *) ac_try_echo=$ac_try;;
20582
 
esac
20583
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20584
 
  (eval "$ac_try") 2>&5
20585
 
  ac_status=$?
20586
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20587
 
  (exit $ac_status); }; } &&
20588
 
         { ac_try='test -s conftest$ac_exeext'
20589
 
  { (case "(($ac_try" in
20590
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20591
 
  *) ac_try_echo=$ac_try;;
20592
 
esac
20593
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20594
 
  (eval "$ac_try") 2>&5
20595
 
  ac_status=$?
20596
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20597
 
  (exit $ac_status); }; }; then
 
20590
  (exit $ac_status); } && {
 
20591
         test -z "$ac_c_werror_flag" ||
 
20592
         test ! -s conftest.err
 
20593
       } && test -s conftest$ac_exeext &&
 
20594
       $as_test_x conftest$ac_exeext; then
20598
20595
  eval "$as_ac_var=yes"
20599
20596
else
20600
20597
  echo "$as_me: failed program was:" >&5
20685
20682
  rm -f conftest.er1
20686
20683
  cat conftest.err >&5
20687
20684
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20688
 
  (exit $ac_status); } &&
20689
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20690
 
  { (case "(($ac_try" in
20691
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20692
 
  *) ac_try_echo=$ac_try;;
20693
 
esac
20694
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20695
 
  (eval "$ac_try") 2>&5
20696
 
  ac_status=$?
20697
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20698
 
  (exit $ac_status); }; } &&
20699
 
         { ac_try='test -s conftest$ac_exeext'
20700
 
  { (case "(($ac_try" in
20701
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20702
 
  *) ac_try_echo=$ac_try;;
20703
 
esac
20704
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20705
 
  (eval "$ac_try") 2>&5
20706
 
  ac_status=$?
20707
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20708
 
  (exit $ac_status); }; }; then
 
20685
  (exit $ac_status); } && {
 
20686
         test -z "$ac_c_werror_flag" ||
 
20687
         test ! -s conftest.err
 
20688
       } && test -s conftest$ac_exeext &&
 
20689
       $as_test_x conftest$ac_exeext; then
 
20690
  eval "$as_ac_var=yes"
 
20691
else
 
20692
  echo "$as_me: failed program was:" >&5
 
20693
sed 's/^/| /' conftest.$ac_ext >&5
 
20694
 
 
20695
        eval "$as_ac_var=no"
 
20696
fi
 
20697
 
 
20698
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
20699
      conftest$ac_exeext conftest.$ac_ext
 
20700
fi
 
20701
ac_res=`eval echo '${'$as_ac_var'}'`
 
20702
               { echo "$as_me:$LINENO: result: $ac_res" >&5
 
20703
echo "${ECHO_T}$ac_res" >&6; }
 
20704
if test `eval echo '${'$as_ac_var'}'` = yes; then
 
20705
  cat >>confdefs.h <<_ACEOF
 
20706
#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
 
20707
_ACEOF
 
20708
 
 
20709
fi
 
20710
done
 
20711
 
 
20712
 
 
20713
 
 
20714
for ac_func in in6addr_loopback in6addr_any
 
20715
do
 
20716
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
 
20717
{ echo "$as_me:$LINENO: checking for $ac_func" >&5
 
20718
echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
 
20719
if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
 
20720
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
20721
else
 
20722
  cat >conftest.$ac_ext <<_ACEOF
 
20723
/* confdefs.h.  */
 
20724
_ACEOF
 
20725
cat confdefs.h >>conftest.$ac_ext
 
20726
cat >>conftest.$ac_ext <<_ACEOF
 
20727
/* end confdefs.h.  */
 
20728
/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
 
20729
   For example, HP-UX 11i <limits.h> declares gettimeofday.  */
 
20730
#define $ac_func innocuous_$ac_func
 
20731
 
 
20732
/* System header to define __stub macros and hopefully few prototypes,
 
20733
    which can conflict with char $ac_func (); below.
 
20734
    Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
 
20735
    <limits.h> exists even on freestanding compilers.  */
 
20736
 
 
20737
#ifdef __STDC__
 
20738
# include <limits.h>
 
20739
#else
 
20740
# include <assert.h>
 
20741
#endif
 
20742
 
 
20743
#undef $ac_func
 
20744
 
 
20745
/* Override any GCC internal prototype to avoid an error.
 
20746
   Use char because int might match the return type of a GCC
 
20747
   builtin and then its argument prototype would still apply.  */
 
20748
#ifdef __cplusplus
 
20749
extern "C"
 
20750
#endif
 
20751
char $ac_func ();
 
20752
/* The GNU C library defines this for functions which it implements
 
20753
    to always fail with ENOSYS.  Some functions are actually named
 
20754
    something starting with __ and the normal name is an alias.  */
 
20755
#if defined __stub_$ac_func || defined __stub___$ac_func
 
20756
choke me
 
20757
#endif
 
20758
 
 
20759
int
 
20760
main ()
 
20761
{
 
20762
return $ac_func ();
 
20763
  ;
 
20764
  return 0;
 
20765
}
 
20766
_ACEOF
 
20767
rm -f conftest.$ac_objext conftest$ac_exeext
 
20768
if { (ac_try="$ac_link"
 
20769
case "(($ac_try" in
 
20770
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
20771
  *) ac_try_echo=$ac_try;;
 
20772
esac
 
20773
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
20774
  (eval "$ac_link") 2>conftest.er1
 
20775
  ac_status=$?
 
20776
  grep -v '^ *+' conftest.er1 >conftest.err
 
20777
  rm -f conftest.er1
 
20778
  cat conftest.err >&5
 
20779
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
20780
  (exit $ac_status); } && {
 
20781
         test -z "$ac_c_werror_flag" ||
 
20782
         test ! -s conftest.err
 
20783
       } && test -s conftest$ac_exeext &&
 
20784
       $as_test_x conftest$ac_exeext; then
20709
20785
  eval "$as_ac_var=yes"
20710
20786
else
20711
20787
  echo "$as_me: failed program was:" >&5
20785
20861
  IFS=$as_save_IFS
20786
20862
  test -z "$as_dir" && as_dir=.
20787
20863
  for ac_exec_ext in '' $ac_executable_extensions; do
20788
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
20864
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
20789
20865
    ac_cv_path_WINDRES="$as_dir/$ac_word$ac_exec_ext"
20790
20866
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
20791
20867
    break 2
20831
20907
  # version.rc.in needs a major, minor and micro version number
20832
20908
  vnumber=${PACKAGE_VERSION%-*}
20833
20909
  PACKAGE_VERSION_MAJOR=${vnumber%%.*}
20834
 
  PACKAGE_VERSION_MICRO=${vnumber##*.}
20835
 
  PACKAGE_VERSION_MINOR=${vnumber#*.}
20836
 
  PACKAGE_VERSION_MINOR=${PACKAGE_VERSION_MINOR%.*}
20837
 
  PACKAGE_VERSION_NANO=0
 
20910
  vnumber=${vnumber#$PACKAGE_VERSION_MAJOR}
 
20911
  vnumber=${vnumber#.}
 
20912
  PACKAGE_VERSION_MINOR=${vnumber%%.*}
 
20913
  vnumber=${vnumber#$PACKAGE_VERSION_MINOR}
 
20914
  vnumber=${vnumber#.}
 
20915
  PACKAGE_VERSION_MICRO=${vnumber%%.*}
 
20916
  vnumber=${vnumber#$PACKAGE_VERSION_MICRO}
 
20917
  vnumber=${vnumber#.}
 
20918
  PACKAGE_VERSION_NANO=${vnumber%%.*}
 
20919
 
 
20920
  if test -z "$PACKAGE_VERSION_MAJOR"; then
 
20921
    PACKAGE_VERSION_MAJOR=0
 
20922
  fi
 
20923
  if test -z "$PACKAGE_VERSION_MINOR"; then
 
20924
    PACKAGE_VERSION_MINOR=0
 
20925
  fi
 
20926
  if test -z "$PACKAGE_VERSION_MICRO"; then
 
20927
    PACKAGE_VERSION_MICRO=0
 
20928
  fi
 
20929
  if test -z "$PACKAGE_VERSION_NANO"; then
 
20930
    PACKAGE_VERSION_NANO=0
 
20931
  fi
20838
20932
 
20839
20933
 
20840
20934
 
20864
20958
  if echo $host_os | grep "mingw" > /dev/null 2>&1; then
20865
20959
    ac_config_files="$ac_config_files data/install.nsi"
20866
20960
 
 
20961
    ac_config_files="$ac_config_files data/makezip.sh"
 
20962
 
20867
20963
  fi
20868
20964
 
20869
20965
  # Libidn checks
20903
20999
  rm -f conftest.er1
20904
21000
  cat conftest.err >&5
20905
21001
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20906
 
  (exit $ac_status); } &&
20907
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
20908
 
  { (case "(($ac_try" in
20909
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20910
 
  *) ac_try_echo=$ac_try;;
20911
 
esac
20912
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20913
 
  (eval "$ac_try") 2>&5
20914
 
  ac_status=$?
20915
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20916
 
  (exit $ac_status); }; } &&
20917
 
         { ac_try='test -s conftest.$ac_objext'
20918
 
  { (case "(($ac_try" in
20919
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20920
 
  *) ac_try_echo=$ac_try;;
20921
 
esac
20922
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20923
 
  (eval "$ac_try") 2>&5
20924
 
  ac_status=$?
20925
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20926
 
  (exit $ac_status); }; }; then
 
21002
  (exit $ac_status); } && {
 
21003
         test -z "$ac_c_werror_flag" ||
 
21004
         test ! -s conftest.err
 
21005
       } && test -s conftest.$ac_objext; then
20927
21006
  ac_header_compiler=yes
20928
21007
else
20929
21008
  echo "$as_me: failed program was:" >&5
20959
21038
  rm -f conftest.er1
20960
21039
  cat conftest.err >&5
20961
21040
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
20962
 
  (exit $ac_status); } >/dev/null; then
20963
 
  if test -s conftest.err; then
20964
 
    ac_cpp_err=$ac_c_preproc_warn_flag
20965
 
    ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
20966
 
  else
20967
 
    ac_cpp_err=
20968
 
  fi
20969
 
else
20970
 
  ac_cpp_err=yes
20971
 
fi
20972
 
if test -z "$ac_cpp_err"; then
 
21041
  (exit $ac_status); } >/dev/null && {
 
21042
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
 
21043
         test ! -s conftest.err
 
21044
       }; then
20973
21045
  ac_header_preproc=yes
20974
21046
else
20975
21047
  echo "$as_me: failed program was:" >&5
21005
21077
    { echo "$as_me:$LINENO: WARNING: idna.h: in the future, the compiler will take precedence" >&5
21006
21078
echo "$as_me: WARNING: idna.h: in the future, the compiler will take precedence" >&2;}
21007
21079
    ( cat <<\_ASBOX
21008
 
## ------------------------------- ##
21009
 
## Report this to tim.kosse@gmx.de ##
21010
 
## ------------------------------- ##
 
21080
## ---------------------------------------------- ##
 
21081
## Report this to tim.kosse@filezilla-project.org ##
 
21082
## ---------------------------------------------- ##
21011
21083
_ASBOX
21012
21084
     ) | sed "s/^/$as_me: WARNING:     /" >&2
21013
21085
    ;;
21089
21161
  rm -f conftest.er1
21090
21162
  cat conftest.err >&5
21091
21163
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21092
 
  (exit $ac_status); } &&
21093
 
         { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
21094
 
  { (case "(($ac_try" in
21095
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21096
 
  *) ac_try_echo=$ac_try;;
21097
 
esac
21098
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21099
 
  (eval "$ac_try") 2>&5
21100
 
  ac_status=$?
21101
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21102
 
  (exit $ac_status); }; } &&
21103
 
         { ac_try='test -s conftest$ac_exeext'
21104
 
  { (case "(($ac_try" in
21105
 
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21106
 
  *) ac_try_echo=$ac_try;;
21107
 
esac
21108
 
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21109
 
  (eval "$ac_try") 2>&5
21110
 
  ac_status=$?
21111
 
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
21112
 
  (exit $ac_status); }; }; then
 
21164
  (exit $ac_status); } && {
 
21165
         test -z "$ac_c_werror_flag" ||
 
21166
         test ! -s conftest.err
 
21167
       } && test -s conftest$ac_exeext &&
 
21168
       $as_test_x conftest$ac_exeext; then
21113
21169
  ac_cv_lib_idn_stringprep_check_version=yes
21114
21170
else
21115
21171
  echo "$as_me: failed program was:" >&5
21179
21235
          use_precomp=no
21180
21236
        elif test "$major" -ge 4; then
21181
21237
          use_precomp=yes
21182
 
        elif test "$major" -ge 3 && test "$minor" -ge 4; then
21183
 
          use_precomp=yes
21184
21238
        else
21185
21239
          use_precomp=no
21186
21240
        fi
21252
21306
  IFS=$as_save_IFS
21253
21307
  test -z "$as_dir" && as_dir=.
21254
21308
  for ac_exec_ext in '' $ac_executable_extensions; do
21255
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
21309
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21256
21310
    ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
21257
21311
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21258
21312
    break 2
21343
21397
 
21344
21398
 
21345
21399
 
 
21400
 
 
21401
  # Updatecheck related flags
 
21402
  # -------------------------
 
21403
 
 
21404
  # Check whether --enable-manualupdatecheck was given.
 
21405
if test "${enable_manualupdatecheck+set}" = set; then
 
21406
  enableval=$enable_manualupdatecheck; manualupdatecheck=$enableval
 
21407
else
 
21408
  manualupdatecheck="yes"
 
21409
fi
 
21410
 
 
21411
 
 
21412
  if test "$manualupdatecheck" = "no"; then
 
21413
    manualupdatecheck="0"
 
21414
  else
 
21415
    manualupdatecheck="1"
 
21416
  fi
 
21417
 
 
21418
cat >>confdefs.h <<_ACEOF
 
21419
#define FZ_MANUALUPDATECHECK $manualupdatecheck
 
21420
_ACEOF
 
21421
 
 
21422
 
 
21423
  # Check whether --enable-autoupdatecheck was given.
 
21424
if test "${enable_autoupdatecheck+set}" = set; then
 
21425
  enableval=$enable_autoupdatecheck; autoupdatecheck=$enableval
 
21426
else
 
21427
  autoupdatecheck="yes"
 
21428
fi
 
21429
 
 
21430
 
 
21431
  if test "$manualupdatecheck" = "1" -a "$autoupdatecheck" != "no"; then
 
21432
    autoupdatecheck="1"
 
21433
  else
 
21434
    autoupdatecheck="0"
 
21435
  fi
 
21436
 
 
21437
cat >>confdefs.h <<_ACEOF
 
21438
#define FZ_AUTOUPDATECHECK $autoupdatecheck
 
21439
_ACEOF
 
21440
 
 
21441
 
 
21442
  # GnuTLS
 
21443
  # ------
 
21444
 
 
21445
 
 
21446
# Check whether --with-libgnutls-prefix was given.
 
21447
if test "${with_libgnutls_prefix+set}" = set; then
 
21448
  withval=$with_libgnutls_prefix; libgnutls_config_prefix="$withval"
 
21449
else
 
21450
  libgnutls_config_prefix=""
 
21451
fi
 
21452
 
 
21453
 
 
21454
  if test x$libgnutls_config_prefix != x ; then
 
21455
     if test x${LIBGNUTLS_CONFIG+set} != xset ; then
 
21456
        LIBGNUTLS_CONFIG=$libgnutls_config_prefix/bin/libgnutls-config
 
21457
     fi
 
21458
  fi
 
21459
 
 
21460
  # Extract the first word of "libgnutls-config", so it can be a program name with args.
 
21461
set dummy libgnutls-config; ac_word=$2
 
21462
{ echo "$as_me:$LINENO: checking for $ac_word" >&5
 
21463
echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
 
21464
if test "${ac_cv_path_LIBGNUTLS_CONFIG+set}" = set; then
 
21465
  echo $ECHO_N "(cached) $ECHO_C" >&6
 
21466
else
 
21467
  case $LIBGNUTLS_CONFIG in
 
21468
  [\\/]* | ?:[\\/]*)
 
21469
  ac_cv_path_LIBGNUTLS_CONFIG="$LIBGNUTLS_CONFIG" # Let the user override the test with a path.
 
21470
  ;;
 
21471
  *)
 
21472
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
21473
for as_dir in $PATH
 
21474
do
 
21475
  IFS=$as_save_IFS
 
21476
  test -z "$as_dir" && as_dir=.
 
21477
  for ac_exec_ext in '' $ac_executable_extensions; do
 
21478
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
21479
    ac_cv_path_LIBGNUTLS_CONFIG="$as_dir/$ac_word$ac_exec_ext"
 
21480
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
 
21481
    break 2
 
21482
  fi
 
21483
done
 
21484
done
 
21485
IFS=$as_save_IFS
 
21486
 
 
21487
  test -z "$ac_cv_path_LIBGNUTLS_CONFIG" && ac_cv_path_LIBGNUTLS_CONFIG="no"
 
21488
  ;;
 
21489
esac
 
21490
fi
 
21491
LIBGNUTLS_CONFIG=$ac_cv_path_LIBGNUTLS_CONFIG
 
21492
if test -n "$LIBGNUTLS_CONFIG"; then
 
21493
  { echo "$as_me:$LINENO: result: $LIBGNUTLS_CONFIG" >&5
 
21494
echo "${ECHO_T}$LIBGNUTLS_CONFIG" >&6; }
 
21495
else
 
21496
  { echo "$as_me:$LINENO: result: no" >&5
 
21497
echo "${ECHO_T}no" >&6; }
 
21498
fi
 
21499
 
 
21500
 
 
21501
  min_libgnutls_version=2.0.4
 
21502
  { echo "$as_me:$LINENO: checking for libgnutls - version >= $min_libgnutls_version" >&5
 
21503
echo $ECHO_N "checking for libgnutls - version >= $min_libgnutls_version... $ECHO_C" >&6; }
 
21504
  no_libgnutls=""
 
21505
  if test "$LIBGNUTLS_CONFIG" = "no" ; then
 
21506
    no_libgnutls=yes
 
21507
  else
 
21508
    LIBGNUTLS_CFLAGS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --cflags`
 
21509
    LIBGNUTLS_LIBS=`$LIBGNUTLS_CONFIG $libgnutls_config_args --libs`
 
21510
    libgnutls_config_version=`$LIBGNUTLS_CONFIG $libgnutls_config_args --version`
 
21511
 
 
21512
 
 
21513
      ac_save_CFLAGS="$CFLAGS"
 
21514
      ac_save_LIBS="$LIBS"
 
21515
      CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
 
21516
      LIBS="$LIBS $LIBGNUTLS_LIBS"
 
21517
      rm -f conf.libgnutlstest
 
21518
      if test "$cross_compiling" = yes; then
 
21519
  echo $ac_n "cross compiling; assumed OK... $ac_c"
 
21520
else
 
21521
  cat >conftest.$ac_ext <<_ACEOF
 
21522
/* confdefs.h.  */
 
21523
_ACEOF
 
21524
cat confdefs.h >>conftest.$ac_ext
 
21525
cat >>conftest.$ac_ext <<_ACEOF
 
21526
/* end confdefs.h.  */
 
21527
 
 
21528
#include <stdio.h>
 
21529
#include <stdlib.h>
 
21530
#include <string.h>
 
21531
#include <gnutls/gnutls.h>
 
21532
 
 
21533
int
 
21534
main ()
 
21535
{
 
21536
    system ("touch conf.libgnutlstest");
 
21537
 
 
21538
    if( strcmp( gnutls_check_version(NULL), "$libgnutls_config_version" ) )
 
21539
    {
 
21540
      printf("\n*** 'libgnutls-config --version' returned %s, but LIBGNUTLS (%s)\n",
 
21541
             "$libgnutls_config_version", gnutls_check_version(NULL) );
 
21542
      printf("*** was found! If libgnutls-config was correct, then it is best\n");
 
21543
      printf("*** to remove the old version of LIBGNUTLS. You may also be able to fix the error\n");
 
21544
      printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
 
21545
      printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
 
21546
      printf("*** required on your system.\n");
 
21547
      printf("*** If libgnutls-config was wrong, set the environment variable LIBGNUTLS_CONFIG\n");
 
21548
      printf("*** to point to the correct copy of libgnutls-config, and remove the file config.cache\n");
 
21549
      printf("*** before re-running configure\n");
 
21550
    }
 
21551
    else if ( strcmp(gnutls_check_version(NULL), LIBGNUTLS_VERSION ) )
 
21552
    {
 
21553
      printf("\n*** LIBGNUTLS header file (version %s) does not match\n", LIBGNUTLS_VERSION);
 
21554
      printf("*** library (version %s)\n", gnutls_check_version(NULL) );
 
21555
    }
 
21556
    else
 
21557
    {
 
21558
      if ( gnutls_check_version( "$min_libgnutls_version" ) )
 
21559
      {
 
21560
        return 0;
 
21561
      }
 
21562
     else
 
21563
      {
 
21564
        printf("no\n*** An old version of LIBGNUTLS (%s) was found.\n",
 
21565
                gnutls_check_version(NULL) );
 
21566
        printf("*** You need a version of LIBGNUTLS newer than %s. The latest version of\n",
 
21567
               "$min_libgnutls_version" );
 
21568
        printf("*** LIBGNUTLS is always available from ftp://gnutls.hellug.gr/pub/gnutls.\n");
 
21569
        printf("*** \n");
 
21570
        printf("*** If you have already installed a sufficiently new version, this error\n");
 
21571
        printf("*** probably means that the wrong copy of the libgnutls-config shell script is\n");
 
21572
        printf("*** being found. The easiest way to fix this is to remove the old version\n");
 
21573
        printf("*** of LIBGNUTLS, but you can also set the LIBGNUTLS_CONFIG environment to point to the\n");
 
21574
        printf("*** correct copy of libgnutls-config. (In this case, you will have to\n");
 
21575
        printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
 
21576
        printf("*** so that the correct libraries are found at run-time))\n");
 
21577
      }
 
21578
    }
 
21579
  return 1;
 
21580
}
 
21581
 
 
21582
_ACEOF
 
21583
rm -f conftest$ac_exeext
 
21584
if { (ac_try="$ac_link"
 
21585
case "(($ac_try" in
 
21586
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21587
  *) ac_try_echo=$ac_try;;
 
21588
esac
 
21589
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21590
  (eval "$ac_link") 2>&5
 
21591
  ac_status=$?
 
21592
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21593
  (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
 
21594
  { (case "(($ac_try" in
 
21595
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21596
  *) ac_try_echo=$ac_try;;
 
21597
esac
 
21598
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21599
  (eval "$ac_try") 2>&5
 
21600
  ac_status=$?
 
21601
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21602
  (exit $ac_status); }; }; then
 
21603
  :
 
21604
else
 
21605
  echo "$as_me: program exited with status $ac_status" >&5
 
21606
echo "$as_me: failed program was:" >&5
 
21607
sed 's/^/| /' conftest.$ac_ext >&5
 
21608
 
 
21609
( exit $ac_status )
 
21610
no_libgnutls=yes
 
21611
fi
 
21612
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
 
21613
fi
 
21614
 
 
21615
 
 
21616
       CFLAGS="$ac_save_CFLAGS"
 
21617
       LIBS="$ac_save_LIBS"
 
21618
  fi
 
21619
 
 
21620
  if test "x$no_libgnutls" = x ; then
 
21621
     { echo "$as_me:$LINENO: result: yes" >&5
 
21622
echo "${ECHO_T}yes" >&6; }
 
21623
     :
 
21624
  else
 
21625
     if test -f conf.libgnutlstest ; then
 
21626
        :
 
21627
     else
 
21628
        { echo "$as_me:$LINENO: result: no" >&5
 
21629
echo "${ECHO_T}no" >&6; }
 
21630
     fi
 
21631
     if test "$LIBGNUTLS_CONFIG" = "no" ; then
 
21632
       echo "*** The libgnutls-config script installed by LIBGNUTLS could not be found"
 
21633
       echo "*** If LIBGNUTLS was installed in PREFIX, make sure PREFIX/bin is in"
 
21634
       echo "*** your path, or set the LIBGNUTLS_CONFIG environment variable to the"
 
21635
       echo "*** full path to libgnutls-config."
 
21636
     else
 
21637
       if test -f conf.libgnutlstest ; then
 
21638
        :
 
21639
       else
 
21640
          echo "*** Could not run libgnutls test program, checking why..."
 
21641
          CFLAGS="$CFLAGS $LIBGNUTLS_CFLAGS"
 
21642
          LIBS="$LIBS $LIBGNUTLS_LIBS"
 
21643
          cat >conftest.$ac_ext <<_ACEOF
 
21644
/* confdefs.h.  */
 
21645
_ACEOF
 
21646
cat confdefs.h >>conftest.$ac_ext
 
21647
cat >>conftest.$ac_ext <<_ACEOF
 
21648
/* end confdefs.h.  */
 
21649
 
 
21650
#include <stdio.h>
 
21651
#include <stdlib.h>
 
21652
#include <string.h>
 
21653
#include <gnutls/gnutls.h>
 
21654
 
 
21655
int
 
21656
main ()
 
21657
{
 
21658
 return !!gnutls_check_version(NULL);
 
21659
  ;
 
21660
  return 0;
 
21661
}
 
21662
_ACEOF
 
21663
rm -f conftest.$ac_objext conftest$ac_exeext
 
21664
if { (ac_try="$ac_link"
 
21665
case "(($ac_try" in
 
21666
  *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
 
21667
  *) ac_try_echo=$ac_try;;
 
21668
esac
 
21669
eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
 
21670
  (eval "$ac_link") 2>conftest.er1
 
21671
  ac_status=$?
 
21672
  grep -v '^ *+' conftest.er1 >conftest.err
 
21673
  rm -f conftest.er1
 
21674
  cat conftest.err >&5
 
21675
  echo "$as_me:$LINENO: \$? = $ac_status" >&5
 
21676
  (exit $ac_status); } && {
 
21677
         test -z "$ac_c_werror_flag" ||
 
21678
         test ! -s conftest.err
 
21679
       } && test -s conftest$ac_exeext &&
 
21680
       $as_test_x conftest$ac_exeext; then
 
21681
   echo "*** The test program compiled, but did not run. This usually means"
 
21682
          echo "*** that the run-time linker is not finding LIBGNUTLS or finding the wrong"
 
21683
          echo "*** version of LIBGNUTLS. If it is not finding LIBGNUTLS, you'll need to set your"
 
21684
          echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
 
21685
          echo "*** to the installed location  Also, make sure you have run ldconfig if that"
 
21686
          echo "*** is required on your system"
 
21687
          echo "***"
 
21688
          echo "*** If you have an old version installed, it is best to remove it, although"
 
21689
          echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
 
21690
          echo "***"
 
21691
else
 
21692
  echo "$as_me: failed program was:" >&5
 
21693
sed 's/^/| /' conftest.$ac_ext >&5
 
21694
 
 
21695
         echo "*** The test program failed to compile or link. See the file config.log for the"
 
21696
          echo "*** exact error that occured. This usually means LIBGNUTLS was incorrectly installed"
 
21697
          echo "*** or that you have moved LIBGNUTLS since it was installed. In the latter case, you"
 
21698
          echo "*** may want to edit the libgnutls-config script: $LIBGNUTLS_CONFIG"
 
21699
fi
 
21700
 
 
21701
rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
 
21702
      conftest$ac_exeext conftest.$ac_ext
 
21703
          CFLAGS="$ac_save_CFLAGS"
 
21704
          LIBS="$ac_save_LIBS"
 
21705
       fi
 
21706
     fi
 
21707
     LIBGNUTLS_CFLAGS=""
 
21708
     LIBGNUTLS_LIBS=""
 
21709
     { { echo "$as_me:$LINENO: error:
 
21710
***
 
21711
*** libgnutls 2.0.4 or greater was not found. You may want to get it from
 
21712
*** ftp://ftp.gnutls.org/pub/gnutls/" >&5
 
21713
echo "$as_me: error:
 
21714
***
 
21715
*** libgnutls 2.0.4 or greater was not found. You may want to get it from
 
21716
*** ftp://ftp.gnutls.org/pub/gnutls/" >&2;}
 
21717
   { (exit 1); exit 1; }; }
 
21718
  fi
 
21719
  rm -f conf.libgnutlstest
 
21720
 
 
21721
 
 
21722
 
 
21723
 
 
21724
 
 
21725
 
 
21726
 
21346
21727
fi
21347
21728
 
21348
21729
# Everything translation related
21372
21753
  IFS=$as_save_IFS
21373
21754
  test -z "$as_dir" && as_dir=.
21374
21755
  for ac_exec_ext in '' $ac_executable_extensions; do
21375
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
21756
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21376
21757
    ac_cv_path_xgettext="$as_dir/$ac_word$ac_exec_ext"
21377
21758
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21378
21759
    break 2
21418
21799
  IFS=$as_save_IFS
21419
21800
  test -z "$as_dir" && as_dir=.
21420
21801
  for ac_exec_ext in '' $ac_executable_extensions; do
21421
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
21802
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21422
21803
    ac_cv_path_msgfmt="$as_dir/$ac_word$ac_exec_ext"
21423
21804
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21424
21805
    break 2
21465
21846
  IFS=$as_save_IFS
21466
21847
  test -z "$as_dir" && as_dir=.
21467
21848
  for ac_exec_ext in '' $ac_executable_extensions; do
21468
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
21849
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21469
21850
    ac_cv_path_msgmerge="$as_dir/$ac_word$ac_exec_ext"
21470
21851
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21471
21852
    break 2
21583
21964
  IFS=$as_save_IFS
21584
21965
  test -z "$as_dir" && as_dir=.
21585
21966
  for ac_exec_ext in '' $ac_executable_extensions; do
21586
 
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
 
21967
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
21587
21968
    ac_cv_path_WXRC="$as_dir/$ac_word$ac_exec_ext"
21588
21969
    echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
21589
21970
    break 2
21627
22008
# Output automake conditionals
21628
22009
# ----------------------------
21629
22010
 
21630
 
 
21631
 
 
21632
 
if test "$localesonly" = "yes"; then
 
22011
 if echo $host_os | grep "mingw"; then
 
22012
  MINGW_TRUE=
 
22013
  MINGW_FALSE='#'
 
22014
else
 
22015
  MINGW_TRUE='#'
 
22016
  MINGW_FALSE=
 
22017
fi
 
22018
 
 
22019
 if test "$localesonly" = "yes"; then
21633
22020
  LOCALES_ONLY_TRUE=
21634
22021
  LOCALES_ONLY_FALSE='#'
21635
22022
else
21637
22024
  LOCALES_ONLY_FALSE=
21638
22025
fi
21639
22026
 
21640
 
 
21641
 
 
21642
 
if test "$locales" = "yes"; then
 
22027
 if test "$locales" = "yes"; then
21643
22028
  LOCALES_TRUE=
21644
22029
  LOCALES_FALSE='#'
21645
22030
else
21647
22032
  LOCALES_FALSE=
21648
22033
fi
21649
22034
 
21650
 
 
21651
 
 
21652
 
if test "$sftpbuild" = "mingw"; then
 
22035
 if test "$sftpbuild" = "mingw"; then
21653
22036
  SFTP_MINGW_TRUE=
21654
22037
  SFTP_MINGW_FALSE='#'
21655
22038
else
21657
22040
  SFTP_MINGW_FALSE=
21658
22041
fi
21659
22042
 
21660
 
 
21661
 
 
21662
 
if test "$sftpbuild" = "unix"; then
 
22043
 if test "$sftpbuild" = "unix"; then
21663
22044
  SFTP_UNIX_TRUE=
21664
22045
  SFTP_UNIX_FALSE='#'
21665
22046
else
21667
22048
  SFTP_UNIX_FALSE=
21668
22049
fi
21669
22050
 
21670
 
 
21671
 
 
21672
 
if test "$use_resourcefile" = "true"; then
 
22051
 if test "$use_resourcefile" = "true"; then
21673
22052
  USE_RESOURCEFILE_TRUE=
21674
22053
  USE_RESOURCEFILE_FALSE='#'
21675
22054
else
21677
22056
  USE_RESOURCEFILE_FALSE=
21678
22057
fi
21679
22058
 
21680
 
 
21681
 
 
21682
 
if test "$macappbundle" = "yes"; then
 
22059
 if test "$macappbundle" = "yes"; then
21683
22060
  MACAPPBUNDLE_TRUE=
21684
22061
  MACAPPBUNDLE_FALSE='#'
21685
22062
else
21687
22064
  MACAPPBUNDLE_FALSE=
21688
22065
fi
21689
22066
 
21690
 
 
21691
 
 
21692
 
if test "$makensisscript" = "yes"; then
 
22067
 if test "$makensisscript" = "yes"; then
21693
22068
  MAKENSISSCRIPT_TRUE=
21694
22069
  MAKENSISSCRIPT_FALSE='#'
21695
22070
else
21697
22072
  MAKENSISSCRIPT_FALSE=
21698
22073
fi
21699
22074
 
21700
 
 
21701
 
 
21702
 
if test "$use_binreloc" = "yes"; then
 
22075
 if test "$use_binreloc" = "yes"; then
21703
22076
  USE_BINRELOC_TRUE=
21704
22077
  USE_BINRELOC_FALSE='#'
21705
22078
else
21707
22080
  USE_BINRELOC_FALSE=
21708
22081
fi
21709
22082
 
21710
 
 
21711
 
 
21712
 
if test "x$use_precomp" = "xyes"; then
 
22083
 if test "x$use_precomp" = "xyes"; then
21713
22084
  ENABLE_PRECOMP_TRUE=
21714
22085
  ENABLE_PRECOMP_FALSE='#'
21715
22086
else
21717
22088
  ENABLE_PRECOMP_FALSE=
21718
22089
fi
21719
22090
 
21720
 
 
21721
 
 
21722
 
if test "$has_cppunit" = "yes"; then
 
22091
 if test "$has_cppunit" = "yes"; then
21723
22092
  HAS_CPPUNIT_TRUE=
21724
22093
  HAS_CPPUNIT_FALSE='#'
21725
22094
else
21728
22097
fi
21729
22098
 
21730
22099
 
21731
 
ac_config_files="$ac_config_files Makefile src/Makefile src/engine/Makefile src/tinyxml/Makefile src/interface/Makefile src/interface/resources/Makefile src/include/Makefile locales/Makefile src/interface/resources/16x16/Makefile src/interface/resources/32x32/Makefile data/Makefile src/interface/resources/cyril/Makefile src/interface/resources/cyril/16x16/Makefile src/putty/Makefile src/putty/unix/Makefile src/putty/windows/Makefile tests/Makefile src/interface/resources/version.rc"
 
22100
ac_config_files="$ac_config_files Makefile src/Makefile src/engine/Makefile src/tinyxml/Makefile src/interface/Makefile src/interface/resources/Makefile src/include/Makefile locales/Makefile src/interface/resources/16x16/Makefile src/interface/resources/32x32/Makefile data/Makefile src/interface/resources/cyril/Makefile src/interface/resources/cyril/16x16/Makefile src/interface/resources/blukis/Makefile src/putty/Makefile src/putty/unix/Makefile src/putty/windows/Makefile tests/Makefile src/interface/resources/version.rc src/interface/resources/MacInfo.plist src/fzshellext/Makefile src/fzshellext/version.rc"
21732
22101
 
21733
22102
cat >confcache <<\_ACEOF
21734
22103
# This file is a shell script that caches the results of configure
21847
22216
Usually this means the macro was only invoked conditionally." >&2;}
21848
22217
   { (exit 1); exit 1; }; }
21849
22218
fi
 
22219
if test -z "${MINGW_TRUE}" && test -z "${MINGW_FALSE}"; then
 
22220
  { { echo "$as_me:$LINENO: error: conditional \"MINGW\" was never defined.
 
22221
Usually this means the macro was only invoked conditionally." >&5
 
22222
echo "$as_me: error: conditional \"MINGW\" was never defined.
 
22223
Usually this means the macro was only invoked conditionally." >&2;}
 
22224
   { (exit 1); exit 1; }; }
 
22225
fi
21850
22226
if test -z "${LOCALES_ONLY_TRUE}" && test -z "${LOCALES_ONLY_FALSE}"; then
21851
22227
  { { echo "$as_me:$LINENO: error: conditional \"LOCALES_ONLY\" was never defined.
21852
22228
Usually this means the macro was only invoked conditionally." >&5
21941
22317
## M4sh Initialization.  ##
21942
22318
## --------------------- ##
21943
22319
 
21944
 
# Be Bourne compatible
 
22320
# Be more Bourne compatible
 
22321
DUALCASE=1; export DUALCASE # for MKS sh
21945
22322
if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
21946
22323
  emulate sh
21947
22324
  NULLCMD=:
21950
22327
  alias -g '${1+"$@"}'='"$@"'
21951
22328
  setopt NO_GLOB_SUBST
21952
22329
else
21953
 
  case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
 
22330
  case `(set -o) 2>/dev/null` in
 
22331
  *posix*) set -o posix ;;
 
22332
esac
 
22333
 
21954
22334
fi
21955
 
BIN_SH=xpg4; export BIN_SH # for Tru64
21956
 
DUALCASE=1; export DUALCASE # for MKS sh
 
22335
 
 
22336
 
21957
22337
 
21958
22338
 
21959
22339
# PATH needs CR
22177
22557
  as_mkdir_p=false
22178
22558
fi
22179
22559
 
22180
 
# Find out whether ``test -x'' works.  Don't use a zero-byte file, as
22181
 
# systems may use methods other than mode bits to determine executability.
22182
 
cat >conf$$.file <<_ASEOF
22183
 
#! /bin/sh
22184
 
exit 0
22185
 
_ASEOF
22186
 
chmod +x conf$$.file
22187
 
if test -x conf$$.file >/dev/null 2>&1; then
22188
 
  as_executable_p="test -x"
 
22560
if test -x / >/dev/null 2>&1; then
 
22561
  as_test_x='test -x'
22189
22562
else
22190
 
  as_executable_p=:
 
22563
  if ls -dL / >/dev/null 2>&1; then
 
22564
    as_ls_L_option=L
 
22565
  else
 
22566
    as_ls_L_option=
 
22567
  fi
 
22568
  as_test_x='
 
22569
    eval sh -c '\''
 
22570
      if test -d "$1"; then
 
22571
        test -d "$1/.";
 
22572
      else
 
22573
        case $1 in
 
22574
        -*)set "./$1";;
 
22575
        esac;
 
22576
        case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
 
22577
        ???[sx]*):;;*)false;;esac;fi
 
22578
    '\'' sh
 
22579
  '
22191
22580
fi
22192
 
rm -f conf$$.file
 
22581
as_executable_p=$as_test_x
22193
22582
 
22194
22583
# Sed expression to map a string onto a valid CPP name.
22195
22584
as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22204
22593
# report actual input values of CONFIG_FILES etc. instead of their
22205
22594
# values after options handling.
22206
22595
ac_log="
22207
 
This file was extended by FileZilla $as_me 3.0.0-beta2, which was
22208
 
generated by GNU Autoconf 2.60a.  Invocation command line was
 
22596
This file was extended by FileZilla $as_me 3.0.11.1, which was
 
22597
generated by GNU Autoconf 2.61.  Invocation command line was
22209
22598
 
22210
22599
  CONFIG_FILES    = $CONFIG_FILES
22211
22600
  CONFIG_HEADERS  = $CONFIG_HEADERS
22257
22646
_ACEOF
22258
22647
cat >>$CONFIG_STATUS <<_ACEOF
22259
22648
ac_cs_version="\\
22260
 
FileZilla config.status 3.0.0-beta2
22261
 
configured by $0, generated by GNU Autoconf 2.60a,
 
22649
FileZilla config.status 3.0.11.1
 
22650
configured by $0, generated by GNU Autoconf 2.61,
22262
22651
  with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
22263
22652
 
22264
22653
Copyright (C) 2006 Free Software Foundation, Inc.
22268
22657
ac_pwd='$ac_pwd'
22269
22658
srcdir='$srcdir'
22270
22659
INSTALL='$INSTALL'
 
22660
MKDIR_P='$MKDIR_P'
22271
22661
_ACEOF
22272
22662
 
22273
22663
cat >>$CONFIG_STATUS <<\_ACEOF
22373
22763
    "src/include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS src/include/config.h" ;;
22374
22764
    "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
22375
22765
    "data/install.nsi") CONFIG_FILES="$CONFIG_FILES data/install.nsi" ;;
 
22766
    "data/makezip.sh") CONFIG_FILES="$CONFIG_FILES data/makezip.sh" ;;
22376
22767
    "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
22377
22768
    "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
22378
22769
    "src/engine/Makefile") CONFIG_FILES="$CONFIG_FILES src/engine/Makefile" ;;
22386
22777
    "data/Makefile") CONFIG_FILES="$CONFIG_FILES data/Makefile" ;;
22387
22778
    "src/interface/resources/cyril/Makefile") CONFIG_FILES="$CONFIG_FILES src/interface/resources/cyril/Makefile" ;;
22388
22779
    "src/interface/resources/cyril/16x16/Makefile") CONFIG_FILES="$CONFIG_FILES src/interface/resources/cyril/16x16/Makefile" ;;
 
22780
    "src/interface/resources/blukis/Makefile") CONFIG_FILES="$CONFIG_FILES src/interface/resources/blukis/Makefile" ;;
22389
22781
    "src/putty/Makefile") CONFIG_FILES="$CONFIG_FILES src/putty/Makefile" ;;
22390
22782
    "src/putty/unix/Makefile") CONFIG_FILES="$CONFIG_FILES src/putty/unix/Makefile" ;;
22391
22783
    "src/putty/windows/Makefile") CONFIG_FILES="$CONFIG_FILES src/putty/windows/Makefile" ;;
22392
22784
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
22393
22785
    "src/interface/resources/version.rc") CONFIG_FILES="$CONFIG_FILES src/interface/resources/version.rc" ;;
 
22786
    "src/interface/resources/MacInfo.plist") CONFIG_FILES="$CONFIG_FILES src/interface/resources/MacInfo.plist" ;;
 
22787
    "src/fzshellext/Makefile") CONFIG_FILES="$CONFIG_FILES src/fzshellext/Makefile" ;;
 
22788
    "src/fzshellext/version.rc") CONFIG_FILES="$CONFIG_FILES src/fzshellext/version.rc" ;;
22394
22789
 
22395
22790
  *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
22396
22791
echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
22493
22888
INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
22494
22889
INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
22495
22890
INSTALL_DATA!$INSTALL_DATA$ac_delim
 
22891
am__isrc!$am__isrc$ac_delim
22496
22892
CYGPATH_W!$CYGPATH_W$ac_delim
22497
22893
PACKAGE!$PACKAGE$ac_delim
22498
22894
VERSION!$VERSION$ac_delim
22541
22937
CCDEPMODE!$CCDEPMODE$ac_delim
22542
22938
am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
22543
22939
am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
 
22940
SED!$SED$ac_delim
22544
22941
GREP!$GREP$ac_delim
22545
22942
EGREP!$EGREP$ac_delim
22546
22943
LN_S!$LN_S$ac_delim
22548
22945
AR!$AR$ac_delim
22549
22946
RANLIB!$RANLIB$ac_delim
22550
22947
CPP!$CPP$ac_delim
 
22948
_ACEOF
 
22949
 
 
22950
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
 
22951
    break
 
22952
  elif $ac_last_try; then
 
22953
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
 
22954
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
 
22955
   { (exit 1); exit 1; }; }
 
22956
  else
 
22957
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
 
22958
  fi
 
22959
done
 
22960
 
 
22961
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
 
22962
if test -n "$ac_eof"; then
 
22963
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
 
22964
  ac_eof=`expr $ac_eof + 1`
 
22965
fi
 
22966
 
 
22967
cat >>$CONFIG_STATUS <<_ACEOF
 
22968
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
 
22969
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
 
22970
_ACEOF
 
22971
sed '
 
22972
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
 
22973
s/^/s,@/; s/!/@,|#_!!_#|/
 
22974
:n
 
22975
t n
 
22976
s/'"$ac_delim"'$/,g/; t
 
22977
s/$/\\/; p
 
22978
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
 
22979
' >>$CONFIG_STATUS <conf$$subs.sed
 
22980
rm -f conf$$subs.sed
 
22981
cat >>$CONFIG_STATUS <<_ACEOF
 
22982
CEOF$ac_eof
 
22983
_ACEOF
 
22984
 
 
22985
 
 
22986
ac_delim='%!_!# '
 
22987
for ac_last_try in false false false false false :; do
 
22988
  cat >conf$$subs.sed <<_ACEOF
22551
22989
CXXCPP!$CXXCPP$ac_delim
22552
22990
F77!$F77$ac_delim
22553
 
_ACEOF
22554
 
 
22555
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
22556
 
    break
22557
 
  elif $ac_last_try; then
22558
 
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22559
 
echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
22560
 
   { (exit 1); exit 1; }; }
22561
 
  else
22562
 
    ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22563
 
  fi
22564
 
done
22565
 
 
22566
 
ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
22567
 
if test -n "$ac_eof"; then
22568
 
  ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
22569
 
  ac_eof=`expr $ac_eof + 1`
22570
 
fi
22571
 
 
22572
 
cat >>$CONFIG_STATUS <<_ACEOF
22573
 
cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
22574
 
/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22575
 
_ACEOF
22576
 
sed '
22577
 
s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
22578
 
s/^/s,@/; s/!/@,|#_!!_#|/
22579
 
:n
22580
 
t n
22581
 
s/'"$ac_delim"'$/,g/; t
22582
 
s/$/\\/; p
22583
 
N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
22584
 
' >>$CONFIG_STATUS <conf$$subs.sed
22585
 
rm -f conf$$subs.sed
22586
 
cat >>$CONFIG_STATUS <<_ACEOF
22587
 
CEOF$ac_eof
22588
 
_ACEOF
22589
 
 
22590
 
 
22591
 
ac_delim='%!_!# '
22592
 
for ac_last_try in false false false false false :; do
22593
 
  cat >conf$$subs.sed <<_ACEOF
22594
22991
FFLAGS!$FFLAGS$ac_delim
22595
22992
ac_ct_F77!$ac_ct_F77$ac_delim
22596
22993
LIBTOOL!$LIBTOOL$ac_delim
22615
23012
CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
22616
23013
CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
22617
23014
CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
 
23015
LIBGNUTLS_CONFIG!$LIBGNUTLS_CONFIG$ac_delim
 
23016
LIBGNUTLS_CFLAGS!$LIBGNUTLS_CFLAGS$ac_delim
 
23017
LIBGNUTLS_LIBS!$LIBGNUTLS_LIBS$ac_delim
22618
23018
xgettext!$xgettext$ac_delim
22619
23019
msgfmt!$msgfmt$ac_delim
22620
23020
msgmerge!$msgmerge$ac_delim
22624
23024
FILEZILLA_LINGUAS_PO!$FILEZILLA_LINGUAS_PO$ac_delim
22625
23025
FILEZILLA_LINGUAS_PO_NEW!$FILEZILLA_LINGUAS_PO_NEW$ac_delim
22626
23026
FILEZILLA_LINGUAS_MO!$FILEZILLA_LINGUAS_MO$ac_delim
 
23027
MINGW_TRUE!$MINGW_TRUE$ac_delim
 
23028
MINGW_FALSE!$MINGW_FALSE$ac_delim
22627
23029
LOCALES_ONLY_TRUE!$LOCALES_ONLY_TRUE$ac_delim
22628
23030
LOCALES_ONLY_FALSE!$LOCALES_ONLY_FALSE$ac_delim
22629
23031
LOCALES_TRUE!$LOCALES_TRUE$ac_delim
22648
23050
LTLIBOBJS!$LTLIBOBJS$ac_delim
22649
23051
_ACEOF
22650
23052
 
22651
 
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 55; then
 
23053
  if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 62; then
22652
23054
    break
22653
23055
  elif $ac_last_try; then
22654
23056
    { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
22875
23277
  [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
22876
23278
  *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
22877
23279
  esac
 
23280
  ac_MKDIR_P=$MKDIR_P
 
23281
  case $MKDIR_P in
 
23282
  [\\/$]* | ?:[\\/]* ) ;;
 
23283
  */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
 
23284
  esac
22878
23285
_ACEOF
22879
23286
 
22880
23287
cat >>$CONFIG_STATUS <<\_ACEOF
22928
23335
s&@abs_builddir@&$ac_abs_builddir&;t t
22929
23336
s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22930
23337
s&@INSTALL@&$ac_INSTALL&;t t
 
23338
s&@MKDIR_P@&$ac_MKDIR_P&;t t
22931
23339
$ac_datarootdir_hack
22932
23340
" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
22933
23341
 
23092
23500
  # some people rename them; so instead we look at the file content.
23093
23501
  # Grep'ing the first line is not enough: some people post-process
23094
23502
  # each Makefile.in and add a new line on top of each file to say so.
23095
 
  # So let's grep whole file.
23096
 
  if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
 
23503
  # Grep'ing the whole file is not good either: AIX grep has a line
 
23504
  # limit of 2048, but all sed's we know have understand at least 4000.
 
23505
  if sed 10q "$mf" | grep '^#.*generated by automake' > /dev/null 2>&1; then
23097
23506
    dirpart=`$as_dirname -- "$mf" ||
23098
23507
$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23099
23508
         X"$mf" : 'X\(//\)[^/]' \| \