~ubuntu-branches/debian/sid/gnote/sid

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Vincent Cheng
  • Date: 2011-07-30 16:48:32 UTC
  • mfrom: (1.3.10 upstream)
  • Revision ID: james.westby@ubuntu.com-20110730164832-u2xq6ywe0aduil1r
Tags: 0.7.5-1
* New upstream release.
* Remove "Provides: tomboy" from debian/control. (Closes: #627347)
* Update debian/rules to dh 7 "rules.tiny" style.
  - Drop cdbs from build dependencies.
* Really update Standards version from 3.9.1 to 3.9.2, no updates required.
* Update debhelper compatiblity level from 7 to 8.
* Add Vcs-* fields to debian/control.
* Update debian/copyright to fully conform with DEP-5.
* Remove unneeded debian/fdl-1.2.txt; a copy of the GFDL can be found in
  /usr/share/common-licenses/GFDL-1.2.

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.66 for gnote 0.7.4.
 
3
# Generated by GNU Autoconf 2.68 for gnote 0.7.5.
4
4
#
5
5
#
6
6
# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
89
89
IFS=" ""        $as_nl"
90
90
 
91
91
# Find who we are.  Look in the path if we contain no directory separator.
 
92
as_myself=
92
93
case $0 in #((
93
94
  *[\\/]* ) as_myself=$0 ;;
94
95
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
222
223
  # We cannot yet assume a decent shell, so we have to provide a
223
224
        # neutralization value for shells without unset; and this also
224
225
        # works around shells that cannot unset nonexistent variables.
 
226
        # Preserve -v and -x to the replacement shell.
225
227
        BASH_ENV=/dev/null
226
228
        ENV=/dev/null
227
229
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
228
230
        export CONFIG_SHELL
229
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
231
        case $- in # ((((
 
232
          *v*x* | *x*v* ) as_opts=-vx ;;
 
233
          *v* ) as_opts=-v ;;
 
234
          *x* ) as_opts=-x ;;
 
235
          * ) as_opts= ;;
 
236
        esac
 
237
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230
238
fi
231
239
 
232
240
    if test x$as_have_required = xno; then :
559
567
# Identity of this package.
560
568
PACKAGE_NAME='gnote'
561
569
PACKAGE_TARNAME='gnote'
562
 
PACKAGE_VERSION='0.7.4'
563
 
PACKAGE_STRING='gnote 0.7.4'
 
570
PACKAGE_VERSION='0.7.5'
 
571
PACKAGE_STRING='gnote 0.7.5'
564
572
PACKAGE_BUGREPORT=''
565
573
PACKAGE_URL=''
566
574
 
701
709
LIPO
702
710
NMEDIT
703
711
DSYMUTIL
 
712
MANIFEST_TOOL
704
713
RANLIB
 
714
ac_ct_AR
705
715
AR
 
716
DLLTOOL
706
717
OBJDUMP
707
718
NM
708
719
ac_ct_DUMPBIN
839
850
with_pic
840
851
enable_fast_install
841
852
with_gnu_ld
 
853
with_sysroot
842
854
enable_libtool_lock
843
855
enable_applet
844
856
with_boost
949
961
  fi
950
962
 
951
963
  case $ac_option in
952
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
953
 
  *)    ac_optarg=yes ;;
 
964
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
965
  *=)   ac_optarg= ;;
 
966
  *)    ac_optarg=yes ;;
954
967
  esac
955
968
 
956
969
  # Accept the important Cygnus configure options, so we can diagnose typos.
1290
1303
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1291
1304
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1292
1305
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1293
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1306
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1294
1307
    ;;
1295
1308
 
1296
1309
  esac
1428
1441
  # Omit some internal or obsolete options to make the list less imposing.
1429
1442
  # This message is too long to be a string in the A/UX 3.1 sh.
1430
1443
  cat <<_ACEOF
1431
 
\`configure' configures gnote 0.7.4 to adapt to many kinds of systems.
 
1444
\`configure' configures gnote 0.7.5 to adapt to many kinds of systems.
1432
1445
 
1433
1446
Usage: $0 [OPTION]... [VAR=VALUE]...
1434
1447
 
1498
1511
 
1499
1512
if test -n "$ac_init_help"; then
1500
1513
  case $ac_init_help in
1501
 
     short | recursive ) echo "Configuration of gnote 0.7.4:";;
 
1514
     short | recursive ) echo "Configuration of gnote 0.7.5:";;
1502
1515
   esac
1503
1516
  cat <<\_ACEOF
1504
1517
 
1535
1548
  --with-pic              try to use only PIC/non-PIC objects [default=use
1536
1549
                          both]
1537
1550
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1551
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1552
                        (or the compiler's sysroot if not specified).
1538
1553
  --with-boost=DIR        prefix of Boost $BOOST_VERSION [guess]
1539
1554
  --with-dbus-service-dir=DIR            Where to install Gnote's DBus service file.
1540
1555
  --with-gconf-source=sourceaddress
1659
1674
test -n "$ac_init_help" && exit $ac_status
1660
1675
if $ac_init_version; then
1661
1676
  cat <<\_ACEOF
1662
 
gnote configure 0.7.4
1663
 
generated by GNU Autoconf 2.66
 
1677
gnote configure 0.7.5
 
1678
generated by GNU Autoconf 2.68
1664
1679
 
1665
1680
Copyright (C) 2010 Free Software Foundation, Inc.
1666
1681
This configure script is free software; the Free Software Foundation
1706
1721
 
1707
1722
        ac_retval=1
1708
1723
fi
1709
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1724
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1710
1725
  as_fn_set_status $ac_retval
1711
1726
 
1712
1727
} # ac_fn_cxx_try_compile
1744
1759
 
1745
1760
        ac_retval=1
1746
1761
fi
1747
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1762
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1748
1763
  as_fn_set_status $ac_retval
1749
1764
 
1750
1765
} # ac_fn_c_try_compile
1770
1785
    mv -f conftest.er1 conftest.err
1771
1786
  fi
1772
1787
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1773
 
  test $ac_status = 0; } >/dev/null && {
 
1788
  test $ac_status = 0; } > conftest.i && {
1774
1789
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1775
1790
         test ! -s conftest.err
1776
1791
       }; then :
1781
1796
 
1782
1797
    ac_retval=1
1783
1798
fi
1784
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1799
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1785
1800
  as_fn_set_status $ac_retval
1786
1801
 
1787
1802
} # ac_fn_c_try_cpp
1794
1809
ac_fn_c_check_header_mongrel ()
1795
1810
{
1796
1811
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1797
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1812
  if eval \${$3+:} false; then :
1798
1813
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1799
1814
$as_echo_n "checking for $2... " >&6; }
1800
 
if eval "test \"\${$3+set}\"" = set; then :
 
1815
if eval \${$3+:} false; then :
1801
1816
  $as_echo_n "(cached) " >&6
1802
1817
fi
1803
1818
eval ac_res=\$$3
1833
1848
else
1834
1849
  ac_header_preproc=no
1835
1850
fi
1836
 
rm -f conftest.err conftest.$ac_ext
 
1851
rm -f conftest.err conftest.i conftest.$ac_ext
1837
1852
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1838
1853
$as_echo "$ac_header_preproc" >&6; }
1839
1854
 
1860
1875
esac
1861
1876
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1862
1877
$as_echo_n "checking for $2... " >&6; }
1863
 
if eval "test \"\${$3+set}\"" = set; then :
 
1878
if eval \${$3+:} false; then :
1864
1879
  $as_echo_n "(cached) " >&6
1865
1880
else
1866
1881
  eval "$3=\$ac_header_compiler"
1869
1884
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1870
1885
$as_echo "$ac_res" >&6; }
1871
1886
fi
1872
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1887
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1873
1888
 
1874
1889
} # ac_fn_c_check_header_mongrel
1875
1890
 
1910
1925
       ac_retval=$ac_status
1911
1926
fi
1912
1927
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1913
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1928
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1914
1929
  as_fn_set_status $ac_retval
1915
1930
 
1916
1931
} # ac_fn_c_try_run
1924
1939
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1925
1940
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1926
1941
$as_echo_n "checking for $2... " >&6; }
1927
 
if eval "test \"\${$3+set}\"" = set; then :
 
1942
if eval \${$3+:} false; then :
1928
1943
  $as_echo_n "(cached) " >&6
1929
1944
else
1930
1945
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1942
1957
eval ac_res=\$$3
1943
1958
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1944
1959
$as_echo "$ac_res" >&6; }
1945
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1960
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1946
1961
 
1947
1962
} # ac_fn_c_check_header_compile
1948
1963
 
1987
2002
  # interfere with the next link command; also delete a directory that is
1988
2003
  # left behind by Apple's compiler.  We do this before executing the actions.
1989
2004
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1990
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2005
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1991
2006
  as_fn_set_status $ac_retval
1992
2007
 
1993
2008
} # ac_fn_c_try_link
2000
2015
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2001
2016
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2002
2017
$as_echo_n "checking for $2... " >&6; }
2003
 
if eval "test \"\${$3+set}\"" = set; then :
 
2018
if eval \${$3+:} false; then :
2004
2019
  $as_echo_n "(cached) " >&6
2005
2020
else
2006
2021
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2055
2070
eval ac_res=\$$3
2056
2071
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2057
2072
$as_echo "$ac_res" >&6; }
2058
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2073
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2059
2074
 
2060
2075
} # ac_fn_c_check_func
2061
2076
 
2080
2095
    mv -f conftest.er1 conftest.err
2081
2096
  fi
2082
2097
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2083
 
  test $ac_status = 0; } >/dev/null && {
 
2098
  test $ac_status = 0; } > conftest.i && {
2084
2099
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2085
2100
         test ! -s conftest.err
2086
2101
       }; then :
2091
2106
 
2092
2107
    ac_retval=1
2093
2108
fi
2094
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2109
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2095
2110
  as_fn_set_status $ac_retval
2096
2111
 
2097
2112
} # ac_fn_cxx_try_cpp
2137
2152
  # interfere with the next link command; also delete a directory that is
2138
2153
  # left behind by Apple's compiler.  We do this before executing the actions.
2139
2154
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2140
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2155
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2141
2156
  as_fn_set_status $ac_retval
2142
2157
 
2143
2158
} # ac_fn_cxx_try_link
2150
2165
ac_fn_cxx_check_header_mongrel ()
2151
2166
{
2152
2167
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2153
 
  if eval "test \"\${$3+set}\"" = set; then :
 
2168
  if eval \${$3+:} false; then :
2154
2169
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2155
2170
$as_echo_n "checking for $2... " >&6; }
2156
 
if eval "test \"\${$3+set}\"" = set; then :
 
2171
if eval \${$3+:} false; then :
2157
2172
  $as_echo_n "(cached) " >&6
2158
2173
fi
2159
2174
eval ac_res=\$$3
2189
2204
else
2190
2205
  ac_header_preproc=no
2191
2206
fi
2192
 
rm -f conftest.err conftest.$ac_ext
 
2207
rm -f conftest.err conftest.i conftest.$ac_ext
2193
2208
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2194
2209
$as_echo "$ac_header_preproc" >&6; }
2195
2210
 
2216
2231
esac
2217
2232
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2218
2233
$as_echo_n "checking for $2... " >&6; }
2219
 
if eval "test \"\${$3+set}\"" = set; then :
 
2234
if eval \${$3+:} false; then :
2220
2235
  $as_echo_n "(cached) " >&6
2221
2236
else
2222
2237
  eval "$3=\$ac_header_compiler"
2225
2240
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2226
2241
$as_echo "$ac_res" >&6; }
2227
2242
fi
2228
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2243
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2229
2244
 
2230
2245
} # ac_fn_cxx_check_header_mongrel
2231
2246
 
2237
2252
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2238
2253
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2239
2254
$as_echo_n "checking for $2... " >&6; }
2240
 
if eval "test \"\${$3+set}\"" = set; then :
 
2255
if eval \${$3+:} false; then :
2241
2256
  $as_echo_n "(cached) " >&6
2242
2257
else
2243
2258
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292
2307
eval ac_res=\$$3
2293
2308
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2294
2309
$as_echo "$ac_res" >&6; }
2295
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2310
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2296
2311
 
2297
2312
} # ac_fn_cxx_check_func
2298
2313
cat >config.log <<_ACEOF
2299
2314
This file contains any messages produced by compilers while
2300
2315
running configure, to aid debugging if configure makes a mistake.
2301
2316
 
2302
 
It was created by gnote $as_me 0.7.4, which was
2303
 
generated by GNU Autoconf 2.66.  Invocation command line was
 
2317
It was created by gnote $as_me 0.7.5, which was
 
2318
generated by GNU Autoconf 2.68.  Invocation command line was
2304
2319
 
2305
2320
  $ $0 $@
2306
2321
 
2697
2712
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2698
2713
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2699
2714
if test -z "$INSTALL"; then
2700
 
if test "${ac_cv_path_install+set}" = set; then :
 
2715
if ${ac_cv_path_install+:} false; then :
2701
2716
  $as_echo_n "(cached) " >&6
2702
2717
else
2703
2718
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2874
2889
set dummy ${ac_tool_prefix}strip; ac_word=$2
2875
2890
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2876
2891
$as_echo_n "checking for $ac_word... " >&6; }
2877
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2892
if ${ac_cv_prog_STRIP+:} false; then :
2878
2893
  $as_echo_n "(cached) " >&6
2879
2894
else
2880
2895
  if test -n "$STRIP"; then
2914
2929
set dummy strip; ac_word=$2
2915
2930
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2916
2931
$as_echo_n "checking for $ac_word... " >&6; }
2917
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2932
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2918
2933
  $as_echo_n "(cached) " >&6
2919
2934
else
2920
2935
  if test -n "$ac_ct_STRIP"; then
2967
2982
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2968
2983
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2969
2984
if test -z "$MKDIR_P"; then
2970
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2985
  if ${ac_cv_path_mkdir+:} false; then :
2971
2986
  $as_echo_n "(cached) " >&6
2972
2987
else
2973
2988
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3018
3033
set dummy $ac_prog; ac_word=$2
3019
3034
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3020
3035
$as_echo_n "checking for $ac_word... " >&6; }
3021
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3036
if ${ac_cv_prog_AWK+:} false; then :
3022
3037
  $as_echo_n "(cached) " >&6
3023
3038
else
3024
3039
  if test -n "$AWK"; then
3058
3073
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3059
3074
set x ${MAKE-make}
3060
3075
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3061
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3076
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3062
3077
  $as_echo_n "(cached) " >&6
3063
3078
else
3064
3079
  cat >conftest.make <<\_ACEOF
3116
3131
 
3117
3132
# Define the identity of the package.
3118
3133
 PACKAGE='gnote'
3119
 
 VERSION='0.7.4'
 
3134
 VERSION='0.7.5'
3120
3135
 
3121
3136
 
3122
3137
cat >>confdefs.h <<_ACEOF
3213
3228
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
3214
3229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3215
3230
$as_echo_n "checking for $ac_word... " >&6; }
3216
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
3231
if ${ac_cv_path_PKG_CONFIG+:} false; then :
3217
3232
  $as_echo_n "(cached) " >&6
3218
3233
else
3219
3234
  case $PKG_CONFIG in
3256
3271
set dummy pkg-config; ac_word=$2
3257
3272
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3258
3273
$as_echo_n "checking for $ac_word... " >&6; }
3259
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
3274
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
3260
3275
  $as_echo_n "(cached) " >&6
3261
3276
else
3262
3277
  case $ac_pt_PKG_CONFIG in
3418
3433
 
3419
3434
MAJOR_VERSION=0
3420
3435
MINOR_VERSION=7
3421
 
MICRO_VERSION=4
 
3436
MICRO_VERSION=5
3422
3437
 
3423
3438
GNOTE_VERSION="$MAJOR_VERSION.$MINOR_VERSION.$MICRO_VERSION"
3424
3439
 
3450
3465
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3451
3466
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3452
3467
$as_echo_n "checking for $ac_word... " >&6; }
3453
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
3468
if ${ac_cv_prog_CXX+:} false; then :
3454
3469
  $as_echo_n "(cached) " >&6
3455
3470
else
3456
3471
  if test -n "$CXX"; then
3494
3509
set dummy $ac_prog; ac_word=$2
3495
3510
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3496
3511
$as_echo_n "checking for $ac_word... " >&6; }
3497
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
3512
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
3498
3513
  $as_echo_n "(cached) " >&6
3499
3514
else
3500
3515
  if test -n "$ac_ct_CXX"; then
3771
3786
ac_clean_files=$ac_clean_files_save
3772
3787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3773
3788
$as_echo_n "checking for suffix of object files... " >&6; }
3774
 
if test "${ac_cv_objext+set}" = set; then :
 
3789
if ${ac_cv_objext+:} false; then :
3775
3790
  $as_echo_n "(cached) " >&6
3776
3791
else
3777
3792
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3822
3837
ac_objext=$OBJEXT
3823
3838
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3824
3839
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3825
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
3840
if ${ac_cv_cxx_compiler_gnu+:} false; then :
3826
3841
  $as_echo_n "(cached) " >&6
3827
3842
else
3828
3843
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3859
3874
ac_save_CXXFLAGS=$CXXFLAGS
3860
3875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3861
3876
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
3862
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
3877
if ${ac_cv_prog_cxx_g+:} false; then :
3863
3878
  $as_echo_n "(cached) " >&6
3864
3879
else
3865
3880
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4007
4022
 
4008
4023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4009
4024
$as_echo_n "checking dependency style of $depcc... " >&6; }
4010
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
4025
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
4011
4026
  $as_echo_n "(cached) " >&6
4012
4027
else
4013
4028
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4140
4155
set dummy ${ac_tool_prefix}gcc; ac_word=$2
4141
4156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4142
4157
$as_echo_n "checking for $ac_word... " >&6; }
4143
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4158
if ${ac_cv_prog_CC+:} false; then :
4144
4159
  $as_echo_n "(cached) " >&6
4145
4160
else
4146
4161
  if test -n "$CC"; then
4180
4195
set dummy gcc; ac_word=$2
4181
4196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4182
4197
$as_echo_n "checking for $ac_word... " >&6; }
4183
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4198
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4184
4199
  $as_echo_n "(cached) " >&6
4185
4200
else
4186
4201
  if test -n "$ac_ct_CC"; then
4233
4248
set dummy ${ac_tool_prefix}cc; ac_word=$2
4234
4249
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4235
4250
$as_echo_n "checking for $ac_word... " >&6; }
4236
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4251
if ${ac_cv_prog_CC+:} false; then :
4237
4252
  $as_echo_n "(cached) " >&6
4238
4253
else
4239
4254
  if test -n "$CC"; then
4273
4288
set dummy cc; ac_word=$2
4274
4289
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4275
4290
$as_echo_n "checking for $ac_word... " >&6; }
4276
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4291
if ${ac_cv_prog_CC+:} false; then :
4277
4292
  $as_echo_n "(cached) " >&6
4278
4293
else
4279
4294
  if test -n "$CC"; then
4332
4347
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4333
4348
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4334
4349
$as_echo_n "checking for $ac_word... " >&6; }
4335
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4350
if ${ac_cv_prog_CC+:} false; then :
4336
4351
  $as_echo_n "(cached) " >&6
4337
4352
else
4338
4353
  if test -n "$CC"; then
4376
4391
set dummy $ac_prog; ac_word=$2
4377
4392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4378
4393
$as_echo_n "checking for $ac_word... " >&6; }
4379
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4394
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4380
4395
  $as_echo_n "(cached) " >&6
4381
4396
else
4382
4397
  if test -n "$ac_ct_CC"; then
4460
4475
 
4461
4476
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4462
4477
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4463
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4478
if ${ac_cv_c_compiler_gnu+:} false; then :
4464
4479
  $as_echo_n "(cached) " >&6
4465
4480
else
4466
4481
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4497
4512
ac_save_CFLAGS=$CFLAGS
4498
4513
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4499
4514
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4500
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4515
if ${ac_cv_prog_cc_g+:} false; then :
4501
4516
  $as_echo_n "(cached) " >&6
4502
4517
else
4503
4518
  ac_save_c_werror_flag=$ac_c_werror_flag
4575
4590
fi
4576
4591
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4577
4592
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4578
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4593
if ${ac_cv_prog_cc_c89+:} false; then :
4579
4594
  $as_echo_n "(cached) " >&6
4580
4595
else
4581
4596
  ac_cv_prog_cc_c89=no
4674
4689
 
4675
4690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4676
4691
$as_echo_n "checking dependency style of $depcc... " >&6; }
4677
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4692
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4678
4693
  $as_echo_n "(cached) " >&6
4679
4694
else
4680
4695
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4810
4825
  CPP=
4811
4826
fi
4812
4827
if test -z "$CPP"; then
4813
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4828
  if ${ac_cv_prog_CPP+:} false; then :
4814
4829
  $as_echo_n "(cached) " >&6
4815
4830
else
4816
4831
      # Double quotes because CPP needs to be expanded
4840
4855
  # Broken: fails on valid input.
4841
4856
continue
4842
4857
fi
4843
 
rm -f conftest.err conftest.$ac_ext
 
4858
rm -f conftest.err conftest.i conftest.$ac_ext
4844
4859
 
4845
4860
  # OK, works on sane cases.  Now check whether nonexistent headers
4846
4861
  # can be detected and how.
4856
4871
ac_preproc_ok=:
4857
4872
break
4858
4873
fi
4859
 
rm -f conftest.err conftest.$ac_ext
 
4874
rm -f conftest.err conftest.i conftest.$ac_ext
4860
4875
 
4861
4876
done
4862
4877
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4863
 
rm -f conftest.err conftest.$ac_ext
 
4878
rm -f conftest.i conftest.err conftest.$ac_ext
4864
4879
if $ac_preproc_ok; then :
4865
4880
  break
4866
4881
fi
4899
4914
  # Broken: fails on valid input.
4900
4915
continue
4901
4916
fi
4902
 
rm -f conftest.err conftest.$ac_ext
 
4917
rm -f conftest.err conftest.i conftest.$ac_ext
4903
4918
 
4904
4919
  # OK, works on sane cases.  Now check whether nonexistent headers
4905
4920
  # can be detected and how.
4915
4930
ac_preproc_ok=:
4916
4931
break
4917
4932
fi
4918
 
rm -f conftest.err conftest.$ac_ext
 
4933
rm -f conftest.err conftest.i conftest.$ac_ext
4919
4934
 
4920
4935
done
4921
4936
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4922
 
rm -f conftest.err conftest.$ac_ext
 
4937
rm -f conftest.i conftest.err conftest.$ac_ext
4923
4938
if $ac_preproc_ok; then :
4924
4939
 
4925
4940
else
4938
4953
 
4939
4954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4940
4955
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4941
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4956
if ${ac_cv_path_GREP+:} false; then :
4942
4957
  $as_echo_n "(cached) " >&6
4943
4958
else
4944
4959
  if test -z "$GREP"; then
5001
5016
 
5002
5017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5003
5018
$as_echo_n "checking for egrep... " >&6; }
5004
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5019
if ${ac_cv_path_EGREP+:} false; then :
5005
5020
  $as_echo_n "(cached) " >&6
5006
5021
else
5007
5022
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5068
5083
 
5069
5084
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5070
5085
$as_echo_n "checking for ANSI C header files... " >&6; }
5071
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
5086
if ${ac_cv_header_stdc+:} false; then :
5072
5087
  $as_echo_n "(cached) " >&6
5073
5088
else
5074
5089
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5197
5212
 
5198
5213
 
5199
5214
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5200
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
5215
if test "x$ac_cv_header_minix_config_h" = xyes; then :
5201
5216
  MINIX=yes
5202
5217
else
5203
5218
  MINIX=
5219
5234
 
5220
5235
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5221
5236
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5222
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
5237
if ${ac_cv_safe_to_define___extensions__+:} false; then :
5223
5238
  $as_echo_n "(cached) " >&6
5224
5239
else
5225
5240
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5300
5315
 
5301
5316
 
5302
5317
 
5303
 
macro_version='2.2.10'
5304
 
macro_revision='1.3175'
 
5318
macro_version='2.4'
 
5319
macro_revision='1.3293'
5305
5320
 
5306
5321
 
5307
5322
 
5323
5338
 
5324
5339
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5325
5340
$as_echo_n "checking build system type... " >&6; }
5326
 
if test "${ac_cv_build+set}" = set; then :
 
5341
if ${ac_cv_build+:} false; then :
5327
5342
  $as_echo_n "(cached) " >&6
5328
5343
else
5329
5344
  ac_build_alias=$build_alias
5357
5372
 
5358
5373
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5359
5374
$as_echo_n "checking host system type... " >&6; }
5360
 
if test "${ac_cv_host+set}" = set; then :
 
5375
if ${ac_cv_host+:} false; then :
5361
5376
  $as_echo_n "(cached) " >&6
5362
5377
else
5363
5378
  if test "x$host_alias" = x; then
5412
5427
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5413
5428
$as_echo_n "checking how to print strings... " >&6; }
5414
5429
# Test print first, because it will be a builtin if present.
5415
 
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
5430
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5416
5431
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5417
5432
  ECHO='print -r --'
5418
5433
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5459
5474
 
5460
5475
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5461
5476
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5462
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5477
if ${ac_cv_path_SED+:} false; then :
5463
5478
  $as_echo_n "(cached) " >&6
5464
5479
else
5465
5480
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5541
5556
 
5542
5557
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5543
5558
$as_echo_n "checking for fgrep... " >&6; }
5544
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5559
if ${ac_cv_path_FGREP+:} false; then :
5545
5560
  $as_echo_n "(cached) " >&6
5546
5561
else
5547
5562
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5672
5687
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5673
5688
$as_echo_n "checking for non-GNU ld... " >&6; }
5674
5689
fi
5675
 
if test "${lt_cv_path_LD+set}" = set; then :
 
5690
if ${lt_cv_path_LD+:} false; then :
5676
5691
  $as_echo_n "(cached) " >&6
5677
5692
else
5678
5693
  if test -z "$LD"; then
5712
5727
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5713
5728
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5714
5729
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5715
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5730
if ${lt_cv_prog_gnu_ld+:} false; then :
5716
5731
  $as_echo_n "(cached) " >&6
5717
5732
else
5718
5733
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5739
5754
 
5740
5755
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5741
5756
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5742
 
if test "${lt_cv_path_NM+set}" = set; then :
 
5757
if ${lt_cv_path_NM+:} false; then :
5743
5758
  $as_echo_n "(cached) " >&6
5744
5759
else
5745
5760
  if test -n "$NM"; then
5802
5817
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5803
5818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5804
5819
$as_echo_n "checking for $ac_word... " >&6; }
5805
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5820
if ${ac_cv_prog_DUMPBIN+:} false; then :
5806
5821
  $as_echo_n "(cached) " >&6
5807
5822
else
5808
5823
  if test -n "$DUMPBIN"; then
5846
5861
set dummy $ac_prog; ac_word=$2
5847
5862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5848
5863
$as_echo_n "checking for $ac_word... " >&6; }
5849
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5864
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5850
5865
  $as_echo_n "(cached) " >&6
5851
5866
else
5852
5867
  if test -n "$ac_ct_DUMPBIN"; then
5918
5933
 
5919
5934
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5920
5935
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5921
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
5936
if ${lt_cv_nm_interface+:} false; then :
5922
5937
  $as_echo_n "(cached) " >&6
5923
5938
else
5924
5939
  lt_cv_nm_interface="BSD nm"
5942
5957
# find the maximum length of command line arguments
5943
5958
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5944
5959
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5945
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5960
if ${lt_cv_sys_max_cmd_len+:} false; then :
5946
5961
  $as_echo_n "(cached) " >&6
5947
5962
else
5948
5963
    i=0
6087
6102
# Try some XSI features
6088
6103
xsi_shell=no
6089
6104
( _lt_dummy="a/b/c"
6090
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6091
 
      = c,a/b,, \
 
6105
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6106
      = c,a/b,b/c, \
6092
6107
    && eval 'test $(( 1 + 1 )) -eq 2 \
6093
6108
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6094
6109
  && xsi_shell=yes
6137
6152
 
6138
6153
 
6139
6154
 
 
6155
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6156
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6157
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6158
  $as_echo_n "(cached) " >&6
 
6159
else
 
6160
  case $host in
 
6161
  *-*-mingw* )
 
6162
    case $build in
 
6163
      *-*-mingw* ) # actually msys
 
6164
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6165
        ;;
 
6166
      *-*-cygwin* )
 
6167
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6168
        ;;
 
6169
      * ) # otherwise, assume *nix
 
6170
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6171
        ;;
 
6172
    esac
 
6173
    ;;
 
6174
  *-*-cygwin* )
 
6175
    case $build in
 
6176
      *-*-mingw* ) # actually msys
 
6177
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6178
        ;;
 
6179
      *-*-cygwin* )
 
6180
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6181
        ;;
 
6182
      * ) # otherwise, assume *nix
 
6183
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6184
        ;;
 
6185
    esac
 
6186
    ;;
 
6187
  * ) # unhandled hosts (and "normal" native builds)
 
6188
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6189
    ;;
 
6190
esac
 
6191
 
 
6192
fi
 
6193
 
 
6194
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6196
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6197
 
 
6198
 
 
6199
 
 
6200
 
 
6201
 
 
6202
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6203
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6204
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6205
  $as_echo_n "(cached) " >&6
 
6206
else
 
6207
  #assume ordinary cross tools, or native build.
 
6208
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6209
case $host in
 
6210
  *-*-mingw* )
 
6211
    case $build in
 
6212
      *-*-mingw* ) # actually msys
 
6213
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6214
        ;;
 
6215
    esac
 
6216
    ;;
 
6217
esac
 
6218
 
 
6219
fi
 
6220
 
 
6221
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6222
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6223
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6224
 
 
6225
 
 
6226
 
 
6227
 
 
6228
 
6140
6229
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6141
6230
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6142
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6231
if ${lt_cv_ld_reload_flag+:} false; then :
6143
6232
  $as_echo_n "(cached) " >&6
6144
6233
else
6145
6234
  lt_cv_ld_reload_flag='-r'
6153
6242
esac
6154
6243
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6155
6244
case $host_os in
 
6245
  cygwin* | mingw* | pw32* | cegcc*)
 
6246
    if test "$GCC" != yes; then
 
6247
      reload_cmds=false
 
6248
    fi
 
6249
    ;;
6156
6250
  darwin*)
6157
6251
    if test "$GCC" = yes; then
6158
6252
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6175
6269
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6176
6270
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6177
6271
$as_echo_n "checking for $ac_word... " >&6; }
6178
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6272
if ${ac_cv_prog_OBJDUMP+:} false; then :
6179
6273
  $as_echo_n "(cached) " >&6
6180
6274
else
6181
6275
  if test -n "$OBJDUMP"; then
6215
6309
set dummy objdump; ac_word=$2
6216
6310
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6217
6311
$as_echo_n "checking for $ac_word... " >&6; }
6218
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6312
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6219
6313
  $as_echo_n "(cached) " >&6
6220
6314
else
6221
6315
  if test -n "$ac_ct_OBJDUMP"; then
6274
6368
 
6275
6369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6276
6370
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6277
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6371
if ${lt_cv_deplibs_check_method+:} false; then :
6278
6372
  $as_echo_n "(cached) " >&6
6279
6373
else
6280
6374
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6476
6570
fi
6477
6571
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6478
6572
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6573
 
 
6574
file_magic_glob=
 
6575
want_nocaseglob=no
 
6576
if test "$build" = "$host"; then
 
6577
  case $host_os in
 
6578
  mingw* | pw32*)
 
6579
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6580
      want_nocaseglob=yes
 
6581
    else
 
6582
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6583
    fi
 
6584
    ;;
 
6585
  esac
 
6586
fi
 
6587
 
6479
6588
file_magic_cmd=$lt_cv_file_magic_cmd
6480
6589
deplibs_check_method=$lt_cv_deplibs_check_method
6481
6590
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6491
6600
 
6492
6601
 
6493
6602
 
6494
 
if test -n "$ac_tool_prefix"; then
6495
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6496
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6497
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498
 
$as_echo_n "checking for $ac_word... " >&6; }
6499
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
6603
 
 
6604
 
 
6605
 
 
6606
 
 
6607
 
 
6608
 
 
6609
 
 
6610
 
 
6611
 
 
6612
 
 
6613
if test -n "$ac_tool_prefix"; then
 
6614
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6615
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6617
$as_echo_n "checking for $ac_word... " >&6; }
 
6618
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
6619
  $as_echo_n "(cached) " >&6
 
6620
else
 
6621
  if test -n "$DLLTOOL"; then
 
6622
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6623
else
 
6624
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6625
for as_dir in $PATH
 
6626
do
 
6627
  IFS=$as_save_IFS
 
6628
  test -z "$as_dir" && as_dir=.
 
6629
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6630
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6631
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6632
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6633
    break 2
 
6634
  fi
 
6635
done
 
6636
  done
 
6637
IFS=$as_save_IFS
 
6638
 
 
6639
fi
 
6640
fi
 
6641
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6642
if test -n "$DLLTOOL"; then
 
6643
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6644
$as_echo "$DLLTOOL" >&6; }
 
6645
else
 
6646
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6647
$as_echo "no" >&6; }
 
6648
fi
 
6649
 
 
6650
 
 
6651
fi
 
6652
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6653
  ac_ct_DLLTOOL=$DLLTOOL
 
6654
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6655
set dummy dlltool; ac_word=$2
 
6656
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6657
$as_echo_n "checking for $ac_word... " >&6; }
 
6658
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6659
  $as_echo_n "(cached) " >&6
 
6660
else
 
6661
  if test -n "$ac_ct_DLLTOOL"; then
 
6662
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6663
else
 
6664
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6665
for as_dir in $PATH
 
6666
do
 
6667
  IFS=$as_save_IFS
 
6668
  test -z "$as_dir" && as_dir=.
 
6669
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6670
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6671
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6672
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6673
    break 2
 
6674
  fi
 
6675
done
 
6676
  done
 
6677
IFS=$as_save_IFS
 
6678
 
 
6679
fi
 
6680
fi
 
6681
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6682
if test -n "$ac_ct_DLLTOOL"; then
 
6683
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6684
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6685
else
 
6686
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6687
$as_echo "no" >&6; }
 
6688
fi
 
6689
 
 
6690
  if test "x$ac_ct_DLLTOOL" = x; then
 
6691
    DLLTOOL="false"
 
6692
  else
 
6693
    case $cross_compiling:$ac_tool_warned in
 
6694
yes:)
 
6695
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6696
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6697
ac_tool_warned=yes ;;
 
6698
esac
 
6699
    DLLTOOL=$ac_ct_DLLTOOL
 
6700
  fi
 
6701
else
 
6702
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6703
fi
 
6704
 
 
6705
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6706
 
 
6707
 
 
6708
 
 
6709
 
 
6710
 
 
6711
 
 
6712
 
 
6713
 
 
6714
 
 
6715
 
 
6716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6717
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6718
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
6719
  $as_echo_n "(cached) " >&6
 
6720
else
 
6721
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6722
 
 
6723
case $host_os in
 
6724
cygwin* | mingw* | pw32* | cegcc*)
 
6725
  # two different shell functions defined in ltmain.sh
 
6726
  # decide which to use based on capabilities of $DLLTOOL
 
6727
  case `$DLLTOOL --help 2>&1` in
 
6728
  *--identify-strict*)
 
6729
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6730
    ;;
 
6731
  *)
 
6732
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6733
    ;;
 
6734
  esac
 
6735
  ;;
 
6736
*)
 
6737
  # fallback: assume linklib IS sharedlib
 
6738
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6739
  ;;
 
6740
esac
 
6741
 
 
6742
fi
 
6743
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6744
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6745
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6746
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6747
 
 
6748
 
 
6749
 
 
6750
 
 
6751
 
 
6752
 
 
6753
 
 
6754
if test -n "$ac_tool_prefix"; then
 
6755
  for ac_prog in ar
 
6756
  do
 
6757
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6758
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6759
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6760
$as_echo_n "checking for $ac_word... " >&6; }
 
6761
if ${ac_cv_prog_AR+:} false; then :
6500
6762
  $as_echo_n "(cached) " >&6
6501
6763
else
6502
6764
  if test -n "$AR"; then
6509
6771
  test -z "$as_dir" && as_dir=.
6510
6772
    for ac_exec_ext in '' $ac_executable_extensions; do
6511
6773
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6512
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6774
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6513
6775
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6514
6776
    break 2
6515
6777
  fi
6529
6791
fi
6530
6792
 
6531
6793
 
 
6794
    test -n "$AR" && break
 
6795
  done
6532
6796
fi
6533
 
if test -z "$ac_cv_prog_AR"; then
 
6797
if test -z "$AR"; then
6534
6798
  ac_ct_AR=$AR
6535
 
  # Extract the first word of "ar", so it can be a program name with args.
6536
 
set dummy ar; ac_word=$2
 
6799
  for ac_prog in ar
 
6800
do
 
6801
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6802
set dummy $ac_prog; ac_word=$2
6537
6803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6538
6804
$as_echo_n "checking for $ac_word... " >&6; }
6539
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6805
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6540
6806
  $as_echo_n "(cached) " >&6
6541
6807
else
6542
6808
  if test -n "$ac_ct_AR"; then
6549
6815
  test -z "$as_dir" && as_dir=.
6550
6816
    for ac_exec_ext in '' $ac_executable_extensions; do
6551
6817
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6552
 
    ac_cv_prog_ac_ct_AR="ar"
 
6818
    ac_cv_prog_ac_ct_AR="$ac_prog"
6553
6819
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6554
6820
    break 2
6555
6821
  fi
6568
6834
$as_echo "no" >&6; }
6569
6835
fi
6570
6836
 
 
6837
 
 
6838
  test -n "$ac_ct_AR" && break
 
6839
done
 
6840
 
6571
6841
  if test "x$ac_ct_AR" = x; then
6572
6842
    AR="false"
6573
6843
  else
6579
6849
esac
6580
6850
    AR=$ac_ct_AR
6581
6851
  fi
6582
 
else
6583
 
  AR="$ac_cv_prog_AR"
6584
 
fi
6585
 
 
6586
 
test -z "$AR" && AR=ar
6587
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6588
 
 
6589
 
 
6590
 
 
6591
 
 
 
6852
fi
 
6853
 
 
6854
: ${AR=ar}
 
6855
: ${AR_FLAGS=cru}
 
6856
 
 
6857
 
 
6858
 
 
6859
 
 
6860
 
 
6861
 
 
6862
 
 
6863
 
 
6864
 
 
6865
 
 
6866
 
 
6867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6868
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6869
if ${lt_cv_ar_at_file+:} false; then :
 
6870
  $as_echo_n "(cached) " >&6
 
6871
else
 
6872
  lt_cv_ar_at_file=no
 
6873
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6874
/* end confdefs.h.  */
 
6875
 
 
6876
int
 
6877
main ()
 
6878
{
 
6879
 
 
6880
  ;
 
6881
  return 0;
 
6882
}
 
6883
_ACEOF
 
6884
if ac_fn_c_try_compile "$LINENO"; then :
 
6885
  echo conftest.$ac_objext > conftest.lst
 
6886
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6887
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6888
  (eval $lt_ar_try) 2>&5
 
6889
  ac_status=$?
 
6890
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6891
  test $ac_status = 0; }
 
6892
      if test "$ac_status" -eq 0; then
 
6893
        # Ensure the archiver fails upon bogus file names.
 
6894
        rm -f conftest.$ac_objext libconftest.a
 
6895
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6896
  (eval $lt_ar_try) 2>&5
 
6897
  ac_status=$?
 
6898
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6899
  test $ac_status = 0; }
 
6900
        if test "$ac_status" -ne 0; then
 
6901
          lt_cv_ar_at_file=@
 
6902
        fi
 
6903
      fi
 
6904
      rm -f conftest.* libconftest.a
 
6905
 
 
6906
fi
 
6907
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6908
 
 
6909
fi
 
6910
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6911
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6912
 
 
6913
if test "x$lt_cv_ar_at_file" = xno; then
 
6914
  archiver_list_spec=
 
6915
else
 
6916
  archiver_list_spec=$lt_cv_ar_at_file
 
6917
fi
6592
6918
 
6593
6919
 
6594
6920
 
6601
6927
set dummy ${ac_tool_prefix}strip; ac_word=$2
6602
6928
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6603
6929
$as_echo_n "checking for $ac_word... " >&6; }
6604
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6930
if ${ac_cv_prog_STRIP+:} false; then :
6605
6931
  $as_echo_n "(cached) " >&6
6606
6932
else
6607
6933
  if test -n "$STRIP"; then
6641
6967
set dummy strip; ac_word=$2
6642
6968
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6643
6969
$as_echo_n "checking for $ac_word... " >&6; }
6644
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6970
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6645
6971
  $as_echo_n "(cached) " >&6
6646
6972
else
6647
6973
  if test -n "$ac_ct_STRIP"; then
6700
7026
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6701
7027
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6702
7028
$as_echo_n "checking for $ac_word... " >&6; }
6703
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7029
if ${ac_cv_prog_RANLIB+:} false; then :
6704
7030
  $as_echo_n "(cached) " >&6
6705
7031
else
6706
7032
  if test -n "$RANLIB"; then
6740
7066
set dummy ranlib; ac_word=$2
6741
7067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6742
7068
$as_echo_n "checking for $ac_word... " >&6; }
6743
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7069
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6744
7070
  $as_echo_n "(cached) " >&6
6745
7071
else
6746
7072
  if test -n "$ac_ct_RANLIB"; then
6869
7195
# Check for command to grab the raw symbol name followed by C symbol from nm.
6870
7196
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6871
7197
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6872
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7198
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6873
7199
  $as_echo_n "(cached) " >&6
6874
7200
else
6875
7201
 
6930
7256
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6931
7257
 
6932
7258
# Transform an extracted symbol line into symbol name and symbol address
6933
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6934
 
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
 
7259
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7260
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/  {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"lib\2\", (void *) \&\2},/p'"
6935
7261
 
6936
7262
# Handle CRLF in mingw tool chain
6937
7263
opt_cr=
6967
7293
  else
6968
7294
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6969
7295
  fi
 
7296
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6970
7297
 
6971
7298
  # Check to see that the pipe works correctly.
6972
7299
  pipe_works=no
7008
7335
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7009
7336
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7010
7337
          cat <<_LT_EOF > conftest.$ac_ext
 
7338
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7339
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7340
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7341
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7342
# define LT_DLSYM_CONST
 
7343
#elif defined(__osf__)
 
7344
/* This system does not cope well with relocations in const data.  */
 
7345
# define LT_DLSYM_CONST
 
7346
#else
 
7347
# define LT_DLSYM_CONST const
 
7348
#endif
 
7349
 
7011
7350
#ifdef __cplusplus
7012
7351
extern "C" {
7013
7352
#endif
7019
7358
          cat <<_LT_EOF >> conftest.$ac_ext
7020
7359
 
7021
7360
/* The mapping between symbol names and symbols.  */
7022
 
const struct {
 
7361
LT_DLSYM_CONST struct {
7023
7362
  const char *name;
7024
7363
  void       *address;
7025
7364
}
7045
7384
_LT_EOF
7046
7385
          # Now try linking the two files.
7047
7386
          mv conftest.$ac_objext conftstm.$ac_objext
7048
 
          lt_save_LIBS="$LIBS"
7049
 
          lt_save_CFLAGS="$CFLAGS"
 
7387
          lt_globsym_save_LIBS=$LIBS
 
7388
          lt_globsym_save_CFLAGS=$CFLAGS
7050
7389
          LIBS="conftstm.$ac_objext"
7051
7390
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7052
7391
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7056
7395
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7057
7396
            pipe_works=yes
7058
7397
          fi
7059
 
          LIBS="$lt_save_LIBS"
7060
 
          CFLAGS="$lt_save_CFLAGS"
 
7398
          LIBS=$lt_globsym_save_LIBS
 
7399
          CFLAGS=$lt_globsym_save_CFLAGS
7061
7400
        else
7062
7401
          echo "cannot find nm_test_func in $nlist" >&5
7063
7402
        fi
7094
7433
$as_echo "ok" >&6; }
7095
7434
fi
7096
7435
 
7097
 
 
7098
 
 
7099
 
 
7100
 
 
7101
 
 
7102
 
 
7103
 
 
7104
 
 
7105
 
 
7106
 
 
7107
 
 
7108
 
 
7109
 
 
7110
 
 
7111
 
 
7112
 
 
 
7436
# Response file support.
 
7437
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7438
  nm_file_list_spec='@'
 
7439
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7440
  nm_file_list_spec='@'
 
7441
fi
 
7442
 
 
7443
 
 
7444
 
 
7445
 
 
7446
 
 
7447
 
 
7448
 
 
7449
 
 
7450
 
 
7451
 
 
7452
 
 
7453
 
 
7454
 
 
7455
 
 
7456
 
 
7457
 
 
7458
 
 
7459
 
 
7460
 
 
7461
 
 
7462
 
 
7463
 
 
7464
 
 
7465
 
 
7466
 
 
7467
 
 
7468
 
 
7469
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7470
$as_echo_n "checking for sysroot... " >&6; }
 
7471
 
 
7472
# Check whether --with-sysroot was given.
 
7473
if test "${with_sysroot+set}" = set; then :
 
7474
  withval=$with_sysroot;
 
7475
else
 
7476
  with_sysroot=no
 
7477
fi
 
7478
 
 
7479
 
 
7480
lt_sysroot=
 
7481
case ${with_sysroot} in #(
 
7482
 yes)
 
7483
   if test "$GCC" = yes; then
 
7484
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7485
   fi
 
7486
   ;; #(
 
7487
 /*)
 
7488
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7489
   ;; #(
 
7490
 no|'')
 
7491
   ;; #(
 
7492
 *)
 
7493
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7494
$as_echo "${with_sysroot}" >&6; }
 
7495
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7496
   ;;
 
7497
esac
 
7498
 
 
7499
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7500
$as_echo "${lt_sysroot:-no}" >&6; }
7113
7501
 
7114
7502
 
7115
7503
 
7240
7628
  CFLAGS="$CFLAGS -belf"
7241
7629
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7242
7630
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7243
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7631
if ${lt_cv_cc_needs_belf+:} false; then :
7244
7632
  $as_echo_n "(cached) " >&6
7245
7633
else
7246
7634
  ac_ext=c
7308
7696
 
7309
7697
need_locks="$enable_libtool_lock"
7310
7698
 
 
7699
if test -n "$ac_tool_prefix"; then
 
7700
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7701
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7702
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7703
$as_echo_n "checking for $ac_word... " >&6; }
 
7704
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
7705
  $as_echo_n "(cached) " >&6
 
7706
else
 
7707
  if test -n "$MANIFEST_TOOL"; then
 
7708
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7709
else
 
7710
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7711
for as_dir in $PATH
 
7712
do
 
7713
  IFS=$as_save_IFS
 
7714
  test -z "$as_dir" && as_dir=.
 
7715
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7716
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7717
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7718
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7719
    break 2
 
7720
  fi
 
7721
done
 
7722
  done
 
7723
IFS=$as_save_IFS
 
7724
 
 
7725
fi
 
7726
fi
 
7727
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7728
if test -n "$MANIFEST_TOOL"; then
 
7729
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7730
$as_echo "$MANIFEST_TOOL" >&6; }
 
7731
else
 
7732
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7733
$as_echo "no" >&6; }
 
7734
fi
 
7735
 
 
7736
 
 
7737
fi
 
7738
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7739
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7740
  # Extract the first word of "mt", so it can be a program name with args.
 
7741
set dummy mt; ac_word=$2
 
7742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7743
$as_echo_n "checking for $ac_word... " >&6; }
 
7744
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7745
  $as_echo_n "(cached) " >&6
 
7746
else
 
7747
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7748
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7749
else
 
7750
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7751
for as_dir in $PATH
 
7752
do
 
7753
  IFS=$as_save_IFS
 
7754
  test -z "$as_dir" && as_dir=.
 
7755
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7756
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7757
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7758
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7759
    break 2
 
7760
  fi
 
7761
done
 
7762
  done
 
7763
IFS=$as_save_IFS
 
7764
 
 
7765
fi
 
7766
fi
 
7767
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7768
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7769
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7770
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7771
else
 
7772
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7773
$as_echo "no" >&6; }
 
7774
fi
 
7775
 
 
7776
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7777
    MANIFEST_TOOL=":"
 
7778
  else
 
7779
    case $cross_compiling:$ac_tool_warned in
 
7780
yes:)
 
7781
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7782
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7783
ac_tool_warned=yes ;;
 
7784
esac
 
7785
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7786
  fi
 
7787
else
 
7788
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7789
fi
 
7790
 
 
7791
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7792
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7793
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7794
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7795
  $as_echo_n "(cached) " >&6
 
7796
else
 
7797
  lt_cv_path_mainfest_tool=no
 
7798
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7799
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7800
  cat conftest.err >&5
 
7801
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7802
    lt_cv_path_mainfest_tool=yes
 
7803
  fi
 
7804
  rm -f conftest*
 
7805
fi
 
7806
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7807
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7808
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7809
  MANIFEST_TOOL=:
 
7810
fi
 
7811
 
 
7812
 
 
7813
 
 
7814
 
 
7815
 
7311
7816
 
7312
7817
  case $host_os in
7313
7818
    rhapsody* | darwin*)
7316
7821
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7317
7822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7318
7823
$as_echo_n "checking for $ac_word... " >&6; }
7319
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7824
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7320
7825
  $as_echo_n "(cached) " >&6
7321
7826
else
7322
7827
  if test -n "$DSYMUTIL"; then
7356
7861
set dummy dsymutil; ac_word=$2
7357
7862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7358
7863
$as_echo_n "checking for $ac_word... " >&6; }
7359
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7864
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7360
7865
  $as_echo_n "(cached) " >&6
7361
7866
else
7362
7867
  if test -n "$ac_ct_DSYMUTIL"; then
7408
7913
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7409
7914
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7410
7915
$as_echo_n "checking for $ac_word... " >&6; }
7411
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7916
if ${ac_cv_prog_NMEDIT+:} false; then :
7412
7917
  $as_echo_n "(cached) " >&6
7413
7918
else
7414
7919
  if test -n "$NMEDIT"; then
7448
7953
set dummy nmedit; ac_word=$2
7449
7954
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7450
7955
$as_echo_n "checking for $ac_word... " >&6; }
7451
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7956
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7452
7957
  $as_echo_n "(cached) " >&6
7453
7958
else
7454
7959
  if test -n "$ac_ct_NMEDIT"; then
7500
8005
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7501
8006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7502
8007
$as_echo_n "checking for $ac_word... " >&6; }
7503
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8008
if ${ac_cv_prog_LIPO+:} false; then :
7504
8009
  $as_echo_n "(cached) " >&6
7505
8010
else
7506
8011
  if test -n "$LIPO"; then
7540
8045
set dummy lipo; ac_word=$2
7541
8046
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7542
8047
$as_echo_n "checking for $ac_word... " >&6; }
7543
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8048
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7544
8049
  $as_echo_n "(cached) " >&6
7545
8050
else
7546
8051
  if test -n "$ac_ct_LIPO"; then
7592
8097
set dummy ${ac_tool_prefix}otool; ac_word=$2
7593
8098
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7594
8099
$as_echo_n "checking for $ac_word... " >&6; }
7595
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8100
if ${ac_cv_prog_OTOOL+:} false; then :
7596
8101
  $as_echo_n "(cached) " >&6
7597
8102
else
7598
8103
  if test -n "$OTOOL"; then
7632
8137
set dummy otool; ac_word=$2
7633
8138
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7634
8139
$as_echo_n "checking for $ac_word... " >&6; }
7635
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8140
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7636
8141
  $as_echo_n "(cached) " >&6
7637
8142
else
7638
8143
  if test -n "$ac_ct_OTOOL"; then
7684
8189
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7685
8190
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7686
8191
$as_echo_n "checking for $ac_word... " >&6; }
7687
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8192
if ${ac_cv_prog_OTOOL64+:} false; then :
7688
8193
  $as_echo_n "(cached) " >&6
7689
8194
else
7690
8195
  if test -n "$OTOOL64"; then
7724
8229
set dummy otool64; ac_word=$2
7725
8230
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7726
8231
$as_echo_n "checking for $ac_word... " >&6; }
7727
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8232
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7728
8233
  $as_echo_n "(cached) " >&6
7729
8234
else
7730
8235
  if test -n "$ac_ct_OTOOL64"; then
7799
8304
 
7800
8305
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7801
8306
$as_echo_n "checking for -single_module linker flag... " >&6; }
7802
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8307
if ${lt_cv_apple_cc_single_mod+:} false; then :
7803
8308
  $as_echo_n "(cached) " >&6
7804
8309
else
7805
8310
  lt_cv_apple_cc_single_mod=no
7828
8333
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7829
8334
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7830
8335
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7831
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8336
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7832
8337
  $as_echo_n "(cached) " >&6
7833
8338
else
7834
8339
  lt_cv_ld_exported_symbols_list=no
7860
8365
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7861
8366
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7862
8367
$as_echo_n "checking for -force_load linker flag... " >&6; }
7863
 
if test "${lt_cv_ld_force_load+set}" = set; then :
 
8368
if ${lt_cv_ld_force_load+:} false; then :
7864
8369
  $as_echo_n "(cached) " >&6
7865
8370
else
7866
8371
  lt_cv_ld_force_load=no
7929
8434
do :
7930
8435
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7931
8436
"
7932
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8437
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7933
8438
  cat >>confdefs.h <<_ACEOF
7934
8439
#define HAVE_DLFCN_H 1
7935
8440
_ACEOF
7941
8446
 
7942
8447
 
7943
8448
 
 
8449
func_stripname_cnf ()
 
8450
{
 
8451
  case ${2} in
 
8452
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
8453
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
8454
  esac
 
8455
} # func_stripname_cnf
 
8456
 
 
8457
 
 
8458
 
7944
8459
 
7945
8460
 
7946
8461
# Set options
8117
8632
 
8118
8633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8119
8634
$as_echo_n "checking for objdir... " >&6; }
8120
 
if test "${lt_cv_objdir+set}" = set; then :
 
8635
if ${lt_cv_objdir+:} false; then :
8121
8636
  $as_echo_n "(cached) " >&6
8122
8637
else
8123
8638
  rm -f .libs 2>/dev/null
8195
8710
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8196
8711
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8197
8712
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8198
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8713
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8199
8714
  $as_echo_n "(cached) " >&6
8200
8715
else
8201
8716
  case $MAGIC_CMD in
8261
8776
  if test -n "$ac_tool_prefix"; then
8262
8777
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8263
8778
$as_echo_n "checking for file... " >&6; }
8264
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8779
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8265
8780
  $as_echo_n "(cached) " >&6
8266
8781
else
8267
8782
  case $MAGIC_CMD in
8403
8918
 
8404
8919
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8405
8920
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8406
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8921
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8407
8922
  $as_echo_n "(cached) " >&6
8408
8923
else
8409
8924
  lt_cv_prog_compiler_rtti_exceptions=no
8456
8971
lt_prog_compiler_pic=
8457
8972
lt_prog_compiler_static=
8458
8973
 
8459
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8460
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8461
8974
 
8462
8975
  if test "$GCC" = yes; then
8463
8976
    lt_prog_compiler_wl='-Wl,'
8622
9135
        lt_prog_compiler_pic='--shared'
8623
9136
        lt_prog_compiler_static='--static'
8624
9137
        ;;
 
9138
      nagfor*)
 
9139
        # NAG Fortran compiler
 
9140
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9141
        lt_prog_compiler_pic='-PIC'
 
9142
        lt_prog_compiler_static='-Bstatic'
 
9143
        ;;
8625
9144
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8626
9145
        # Portland Group compilers (*not* the Pentium gcc compiler,
8627
9146
        # which looks to be a dead project)
8741
9260
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8742
9261
    ;;
8743
9262
esac
8744
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8745
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8746
 
 
8747
 
 
8748
 
 
8749
 
 
8750
 
 
 
9263
 
 
9264
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9265
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9266
if ${lt_cv_prog_compiler_pic+:} false; then :
 
9267
  $as_echo_n "(cached) " >&6
 
9268
else
 
9269
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9270
fi
 
9271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9272
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9273
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8751
9274
 
8752
9275
#
8753
9276
# Check to make sure the PIC flag actually works.
8755
9278
if test -n "$lt_prog_compiler_pic"; then
8756
9279
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8757
9280
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8758
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9281
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8759
9282
  $as_echo_n "(cached) " >&6
8760
9283
else
8761
9284
  lt_cv_prog_compiler_pic_works=no
8808
9331
 
8809
9332
 
8810
9333
 
 
9334
 
 
9335
 
 
9336
 
 
9337
 
 
9338
 
8811
9339
#
8812
9340
# Check to make sure the static flag actually works.
8813
9341
#
8814
9342
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8815
9343
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8816
9344
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8817
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9345
if ${lt_cv_prog_compiler_static_works+:} false; then :
8818
9346
  $as_echo_n "(cached) " >&6
8819
9347
else
8820
9348
  lt_cv_prog_compiler_static_works=no
8857
9385
 
8858
9386
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8859
9387
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8860
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9388
if ${lt_cv_prog_compiler_c_o+:} false; then :
8861
9389
  $as_echo_n "(cached) " >&6
8862
9390
else
8863
9391
  lt_cv_prog_compiler_c_o=no
8912
9440
 
8913
9441
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8914
9442
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8915
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9443
if ${lt_cv_prog_compiler_c_o+:} false; then :
8916
9444
  $as_echo_n "(cached) " >&6
8917
9445
else
8918
9446
  lt_cv_prog_compiler_c_o=no
9158
9686
      allow_undefined_flag=unsupported
9159
9687
      always_export_symbols=no
9160
9688
      enable_shared_with_static_runtimes=yes
9161
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9689
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
9690
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9162
9691
 
9163
9692
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9164
9693
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9206
9735
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9207
9736
         && test "$tmp_diet" = no
9208
9737
      then
9209
 
        tmp_addflag=
 
9738
        tmp_addflag=' $pic_flag'
9210
9739
        tmp_sharedflag='-shared'
9211
9740
        case $cc_basename,$host_cpu in
9212
9741
        pgcc*)                          # Portland Group C compiler
9276
9805
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9277
9806
        wlarc=
9278
9807
      else
9279
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9280
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9808
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9809
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9281
9810
      fi
9282
9811
      ;;
9283
9812
 
9295
9824
 
9296
9825
_LT_EOF
9297
9826
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9298
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9299
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9827
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9828
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9300
9829
      else
9301
9830
        ld_shlibs=no
9302
9831
      fi
9342
9871
 
9343
9872
    *)
9344
9873
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9345
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9346
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9874
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9875
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9347
9876
      else
9348
9877
        ld_shlibs=no
9349
9878
      fi
9473
10002
        allow_undefined_flag='-berok'
9474
10003
        # Determine the default libpath from the value encoded in an
9475
10004
        # empty executable.
9476
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10005
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10006
  aix_libpath=$lt_cv_aix_libpath
 
10007
else
 
10008
  if ${lt_cv_aix_libpath_+:} false; then :
 
10009
  $as_echo_n "(cached) " >&6
 
10010
else
 
10011
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9477
10012
/* end confdefs.h.  */
9478
10013
 
9479
10014
int
9486
10021
_ACEOF
9487
10022
if ac_fn_c_try_link "$LINENO"; then :
9488
10023
 
9489
 
lt_aix_libpath_sed='
9490
 
    /Import File Strings/,/^$/ {
9491
 
        /^0/ {
9492
 
            s/^0  *\(.*\)$/\1/
9493
 
            p
9494
 
        }
9495
 
    }'
9496
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9497
 
# Check for a 64-bit object if we didn't find anything.
9498
 
if test -z "$aix_libpath"; then
9499
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9500
 
fi
 
10024
  lt_aix_libpath_sed='
 
10025
      /Import File Strings/,/^$/ {
 
10026
          /^0/ {
 
10027
              s/^0  *\([^ ]*\) *$/\1/
 
10028
              p
 
10029
          }
 
10030
      }'
 
10031
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10032
  # Check for a 64-bit object if we didn't find anything.
 
10033
  if test -z "$lt_cv_aix_libpath_"; then
 
10034
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10035
  fi
9501
10036
fi
9502
10037
rm -f core conftest.err conftest.$ac_objext \
9503
10038
    conftest$ac_exeext conftest.$ac_ext
9504
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10039
  if test -z "$lt_cv_aix_libpath_"; then
 
10040
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10041
  fi
 
10042
 
 
10043
fi
 
10044
 
 
10045
  aix_libpath=$lt_cv_aix_libpath_
 
10046
fi
9505
10047
 
9506
10048
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9507
10049
        archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then func_echo_all "${wl}${allow_undefined_flag}"; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
9513
10055
        else
9514
10056
         # Determine the default libpath from the value encoded in an
9515
10057
         # empty executable.
9516
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10058
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10059
  aix_libpath=$lt_cv_aix_libpath
 
10060
else
 
10061
  if ${lt_cv_aix_libpath_+:} false; then :
 
10062
  $as_echo_n "(cached) " >&6
 
10063
else
 
10064
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517
10065
/* end confdefs.h.  */
9518
10066
 
9519
10067
int
9526
10074
_ACEOF
9527
10075
if ac_fn_c_try_link "$LINENO"; then :
9528
10076
 
9529
 
lt_aix_libpath_sed='
9530
 
    /Import File Strings/,/^$/ {
9531
 
        /^0/ {
9532
 
            s/^0  *\(.*\)$/\1/
9533
 
            p
9534
 
        }
9535
 
    }'
9536
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9537
 
# Check for a 64-bit object if we didn't find anything.
9538
 
if test -z "$aix_libpath"; then
9539
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9540
 
fi
 
10077
  lt_aix_libpath_sed='
 
10078
      /Import File Strings/,/^$/ {
 
10079
          /^0/ {
 
10080
              s/^0  *\([^ ]*\) *$/\1/
 
10081
              p
 
10082
          }
 
10083
      }'
 
10084
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10085
  # Check for a 64-bit object if we didn't find anything.
 
10086
  if test -z "$lt_cv_aix_libpath_"; then
 
10087
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10088
  fi
9541
10089
fi
9542
10090
rm -f core conftest.err conftest.$ac_objext \
9543
10091
    conftest$ac_exeext conftest.$ac_ext
9544
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10092
  if test -z "$lt_cv_aix_libpath_"; then
 
10093
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10094
  fi
 
10095
 
 
10096
fi
 
10097
 
 
10098
  aix_libpath=$lt_cv_aix_libpath_
 
10099
fi
9545
10100
 
9546
10101
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9547
10102
          # Warning - without using the other run time loading flags,
9586
10141
      # Microsoft Visual C++.
9587
10142
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9588
10143
      # no search path for DLLs.
9589
 
      hardcode_libdir_flag_spec=' '
9590
 
      allow_undefined_flag=unsupported
9591
 
      # Tell ltmain to make .lib files, not .a files.
9592
 
      libext=lib
9593
 
      # Tell ltmain to make .dll files, not .so files.
9594
 
      shrext_cmds=".dll"
9595
 
      # FIXME: Setting linknames here is a bad hack.
9596
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9597
 
      # The linker will automatically build a .lib file if we build a DLL.
9598
 
      old_archive_from_new_cmds='true'
9599
 
      # FIXME: Should let the user specify the lib program.
9600
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9601
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9602
 
      enable_shared_with_static_runtimes=yes
 
10144
      case $cc_basename in
 
10145
      cl*)
 
10146
        # Native MSVC
 
10147
        hardcode_libdir_flag_spec=' '
 
10148
        allow_undefined_flag=unsupported
 
10149
        always_export_symbols=yes
 
10150
        file_list_spec='@'
 
10151
        # Tell ltmain to make .lib files, not .a files.
 
10152
        libext=lib
 
10153
        # Tell ltmain to make .dll files, not .so files.
 
10154
        shrext_cmds=".dll"
 
10155
        # FIXME: Setting linknames here is a bad hack.
 
10156
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10157
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10158
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10159
          else
 
10160
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10161
          fi~
 
10162
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10163
          linknames='
 
10164
        # The linker will not automatically build a static lib if we build a DLL.
 
10165
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10166
        enable_shared_with_static_runtimes=yes
 
10167
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10168
        # Don't use ranlib
 
10169
        old_postinstall_cmds='chmod 644 $oldlib'
 
10170
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10171
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10172
          case $lt_outputfile in
 
10173
            *.exe|*.EXE) ;;
 
10174
            *)
 
10175
              lt_outputfile="$lt_outputfile.exe"
 
10176
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10177
              ;;
 
10178
          esac~
 
10179
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10180
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10181
            $RM "$lt_outputfile.manifest";
 
10182
          fi'
 
10183
        ;;
 
10184
      *)
 
10185
        # Assume MSVC wrapper
 
10186
        hardcode_libdir_flag_spec=' '
 
10187
        allow_undefined_flag=unsupported
 
10188
        # Tell ltmain to make .lib files, not .a files.
 
10189
        libext=lib
 
10190
        # Tell ltmain to make .dll files, not .so files.
 
10191
        shrext_cmds=".dll"
 
10192
        # FIXME: Setting linknames here is a bad hack.
 
10193
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10194
        # The linker will automatically build a .lib file if we build a DLL.
 
10195
        old_archive_from_new_cmds='true'
 
10196
        # FIXME: Should let the user specify the lib program.
 
10197
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10198
        enable_shared_with_static_runtimes=yes
 
10199
        ;;
 
10200
      esac
9603
10201
      ;;
9604
10202
 
9605
10203
    darwin* | rhapsody*)
9664
10262
 
9665
10263
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9666
10264
    freebsd* | dragonfly*)
9667
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
10265
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9668
10266
      hardcode_libdir_flag_spec='-R$libdir'
9669
10267
      hardcode_direct=yes
9670
10268
      hardcode_shlibpath_var=no
9672
10270
 
9673
10271
    hpux9*)
9674
10272
      if test "$GCC" = yes; then
9675
 
        archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
10273
        archive_cmds='$RM $output_objdir/$soname~$CC -shared $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9676
10274
      else
9677
10275
        archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
9678
10276
      fi
9688
10286
 
9689
10287
    hpux10*)
9690
10288
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9691
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10289
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9692
10290
      else
9693
10291
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9694
10292
      fi
9712
10310
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9713
10311
          ;;
9714
10312
        ia64*)
9715
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10313
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9716
10314
          ;;
9717
10315
        *)
9718
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10316
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9719
10317
          ;;
9720
10318
        esac
9721
10319
      else
9732
10330
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9733
10331
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9734
10332
$as_echo_n "checking if $CC understands -b... " >&6; }
9735
 
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
10333
if ${lt_cv_prog_compiler__b+:} false; then :
9736
10334
  $as_echo_n "(cached) " >&6
9737
10335
else
9738
10336
  lt_cv_prog_compiler__b=no
9794
10392
 
9795
10393
    irix5* | irix6* | nonstopux*)
9796
10394
      if test "$GCC" = yes; then
9797
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10395
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9798
10396
        # Try to use the -exported_symbol ld option, if it does not
9799
10397
        # work, assume that -exports_file does not work either and
9800
10398
        # implicitly export all symbols.
9801
 
        save_LDFLAGS="$LDFLAGS"
9802
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9803
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10399
        # This should be the same for all languages, so no per-tag cache variable.
 
10400
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10401
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10402
if ${lt_cv_irix_exported_symbol+:} false; then :
 
10403
  $as_echo_n "(cached) " >&6
 
10404
else
 
10405
  save_LDFLAGS="$LDFLAGS"
 
10406
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10407
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9804
10408
/* end confdefs.h.  */
9805
 
int foo(void) {}
 
10409
int foo (void) { return 0; }
9806
10410
_ACEOF
9807
10411
if ac_fn_c_try_link "$LINENO"; then :
9808
 
  archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
9809
 
 
 
10412
  lt_cv_irix_exported_symbol=yes
 
10413
else
 
10414
  lt_cv_irix_exported_symbol=no
9810
10415
fi
9811
10416
rm -f core conftest.err conftest.$ac_objext \
9812
10417
    conftest$ac_exeext conftest.$ac_ext
9813
 
        LDFLAGS="$save_LDFLAGS"
 
10418
           LDFLAGS="$save_LDFLAGS"
 
10419
fi
 
10420
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10421
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10422
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10423
          archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
 
10424
        fi
9814
10425
      else
9815
10426
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -o $lib'
9816
10427
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && func_echo_all "-set_version $verstring"` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
9895
10506
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9896
10507
      if test "$GCC" = yes; then
9897
10508
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9898
 
        archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
10509
        archive_cmds='$CC -shared${allow_undefined_flag} $pic_flag $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
9899
10510
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9900
10511
      else
9901
10512
        allow_undefined_flag=' -expect_unresolved \*'
9914
10525
      no_undefined_flag=' -z defs'
9915
10526
      if test "$GCC" = yes; then
9916
10527
        wlarc='${wl}'
9917
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10528
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9918
10529
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9919
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10530
          $CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
9920
10531
      else
9921
10532
        case `$CC -V 2>&1` in
9922
10533
        *"Compilers 5.0"*)
10104
10715
      # to ld, don't add -lc before -lgcc.
10105
10716
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10106
10717
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10107
 
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
10718
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10108
10719
  $as_echo_n "(cached) " >&6
10109
10720
else
10110
10721
  $RM conftest*
10492
11103
  need_version=no
10493
11104
  need_lib_prefix=no
10494
11105
 
10495
 
  case $GCC,$host_os in
10496
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11106
  case $GCC,$cc_basename in
 
11107
  yes,*)
 
11108
    # gcc
10497
11109
    library_names_spec='$libname.dll.a'
10498
11110
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10499
11111
    postinstall_cmds='base_file=`basename \${file}`~
10526
11138
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10527
11139
      ;;
10528
11140
    esac
 
11141
    dynamic_linker='Win32 ld.exe'
 
11142
    ;;
 
11143
 
 
11144
  *,cl*)
 
11145
    # Native MSVC
 
11146
    libname_spec='$name'
 
11147
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11148
    library_names_spec='${libname}.dll.lib'
 
11149
 
 
11150
    case $build_os in
 
11151
    mingw*)
 
11152
      sys_lib_search_path_spec=
 
11153
      lt_save_ifs=$IFS
 
11154
      IFS=';'
 
11155
      for lt_path in $LIB
 
11156
      do
 
11157
        IFS=$lt_save_ifs
 
11158
        # Let DOS variable expansion print the short 8.3 style file name.
 
11159
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11160
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11161
      done
 
11162
      IFS=$lt_save_ifs
 
11163
      # Convert to MSYS style.
 
11164
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11165
      ;;
 
11166
    cygwin*)
 
11167
      # Convert to unix form, then to dos form, then back to unix form
 
11168
      # but this time dos style (no spaces!) so that the unix form looks
 
11169
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11170
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11171
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11172
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11173
      ;;
 
11174
    *)
 
11175
      sys_lib_search_path_spec="$LIB"
 
11176
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11177
        # It is most probably a Windows format PATH.
 
11178
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11179
      else
 
11180
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11181
      fi
 
11182
      # FIXME: find the short name or the path components, as spaces are
 
11183
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11184
      ;;
 
11185
    esac
 
11186
 
 
11187
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11188
    postinstall_cmds='base_file=`basename \${file}`~
 
11189
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11190
      dldir=$destdir/`dirname \$dlpath`~
 
11191
      test -d \$dldir || mkdir -p \$dldir~
 
11192
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11193
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11194
      dlpath=$dir/\$dldll~
 
11195
       $RM \$dlpath'
 
11196
    shlibpath_overrides_runpath=yes
 
11197
    dynamic_linker='Win32 link.exe'
10529
11198
    ;;
10530
11199
 
10531
11200
  *)
 
11201
    # Assume MSVC wrapper
10532
11202
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11203
    dynamic_linker='Win32 ld.exe'
10533
11204
    ;;
10534
11205
  esac
10535
 
  dynamic_linker='Win32 ld.exe'
10536
11206
  # FIXME: first we should search . and the directory the executable is in
10537
11207
  shlibpath_var=PATH
10538
11208
  ;;
10746
11416
  shlibpath_overrides_runpath=no
10747
11417
 
10748
11418
  # Some binutils ld are patched to set DT_RUNPATH
10749
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
11419
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10750
11420
  $as_echo_n "(cached) " >&6
10751
11421
else
10752
11422
  lt_cv_shlibpath_overrides_runpath=no
11170
11840
  # if libdl is installed we need to link against it
11171
11841
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11172
11842
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11173
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11843
if ${ac_cv_lib_dl_dlopen+:} false; then :
11174
11844
  $as_echo_n "(cached) " >&6
11175
11845
else
11176
11846
  ac_check_lib_save_LIBS=$LIBS
11204
11874
fi
11205
11875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11206
11876
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11207
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11877
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11208
11878
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11209
11879
else
11210
11880
 
11218
11888
 
11219
11889
  *)
11220
11890
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11221
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11891
if test "x$ac_cv_func_shl_load" = xyes; then :
11222
11892
  lt_cv_dlopen="shl_load"
11223
11893
else
11224
11894
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11225
11895
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11226
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11896
if ${ac_cv_lib_dld_shl_load+:} false; then :
11227
11897
  $as_echo_n "(cached) " >&6
11228
11898
else
11229
11899
  ac_check_lib_save_LIBS=$LIBS
11257
11927
fi
11258
11928
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11259
11929
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11260
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11930
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11261
11931
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11262
11932
else
11263
11933
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11264
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11934
if test "x$ac_cv_func_dlopen" = xyes; then :
11265
11935
  lt_cv_dlopen="dlopen"
11266
11936
else
11267
11937
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11268
11938
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11269
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11939
if ${ac_cv_lib_dl_dlopen+:} false; then :
11270
11940
  $as_echo_n "(cached) " >&6
11271
11941
else
11272
11942
  ac_check_lib_save_LIBS=$LIBS
11300
11970
fi
11301
11971
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11302
11972
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11303
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11973
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11304
11974
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11305
11975
else
11306
11976
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11307
11977
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11308
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11978
if ${ac_cv_lib_svld_dlopen+:} false; then :
11309
11979
  $as_echo_n "(cached) " >&6
11310
11980
else
11311
11981
  ac_check_lib_save_LIBS=$LIBS
11339
12009
fi
11340
12010
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11341
12011
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11342
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12012
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11343
12013
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11344
12014
else
11345
12015
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11346
12016
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11347
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12017
if ${ac_cv_lib_dld_dld_link+:} false; then :
11348
12018
  $as_echo_n "(cached) " >&6
11349
12019
else
11350
12020
  ac_check_lib_save_LIBS=$LIBS
11378
12048
fi
11379
12049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11380
12050
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11381
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12051
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11382
12052
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11383
12053
fi
11384
12054
 
11419
12089
 
11420
12090
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11421
12091
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11422
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12092
if ${lt_cv_dlopen_self+:} false; then :
11423
12093
  $as_echo_n "(cached) " >&6
11424
12094
else
11425
12095
          if test "$cross_compiling" = yes; then :
11472
12142
/* When -fvisbility=hidden is used, assume the code has been annotated
11473
12143
   correspondingly for the symbols needed.  */
11474
12144
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11475
 
void fnord () __attribute__((visibility("default")));
 
12145
int fnord () __attribute__((visibility("default")));
11476
12146
#endif
11477
12147
 
11478
 
void fnord () { int i=42; }
 
12148
int fnord () { return 42; }
11479
12149
int main ()
11480
12150
{
11481
12151
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11525
12195
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11526
12196
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11527
12197
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11528
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12198
if ${lt_cv_dlopen_self_static+:} false; then :
11529
12199
  $as_echo_n "(cached) " >&6
11530
12200
else
11531
12201
          if test "$cross_compiling" = yes; then :
11578
12248
/* When -fvisbility=hidden is used, assume the code has been annotated
11579
12249
   correspondingly for the symbols needed.  */
11580
12250
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11581
 
void fnord () __attribute__((visibility("default")));
 
12251
int fnord () __attribute__((visibility("default")));
11582
12252
#endif
11583
12253
 
11584
 
void fnord () { int i=42; }
 
12254
int fnord () { return 42; }
11585
12255
int main ()
11586
12256
{
11587
12257
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11762
12432
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11763
12433
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11764
12434
if test -z "$CXXCPP"; then
11765
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
12435
  if ${ac_cv_prog_CXXCPP+:} false; then :
11766
12436
  $as_echo_n "(cached) " >&6
11767
12437
else
11768
12438
      # Double quotes because CXXCPP needs to be expanded
11792
12462
  # Broken: fails on valid input.
11793
12463
continue
11794
12464
fi
11795
 
rm -f conftest.err conftest.$ac_ext
 
12465
rm -f conftest.err conftest.i conftest.$ac_ext
11796
12466
 
11797
12467
  # OK, works on sane cases.  Now check whether nonexistent headers
11798
12468
  # can be detected and how.
11808
12478
ac_preproc_ok=:
11809
12479
break
11810
12480
fi
11811
 
rm -f conftest.err conftest.$ac_ext
 
12481
rm -f conftest.err conftest.i conftest.$ac_ext
11812
12482
 
11813
12483
done
11814
12484
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11815
 
rm -f conftest.err conftest.$ac_ext
 
12485
rm -f conftest.i conftest.err conftest.$ac_ext
11816
12486
if $ac_preproc_ok; then :
11817
12487
  break
11818
12488
fi
11851
12521
  # Broken: fails on valid input.
11852
12522
continue
11853
12523
fi
11854
 
rm -f conftest.err conftest.$ac_ext
 
12524
rm -f conftest.err conftest.i conftest.$ac_ext
11855
12525
 
11856
12526
  # OK, works on sane cases.  Now check whether nonexistent headers
11857
12527
  # can be detected and how.
11867
12537
ac_preproc_ok=:
11868
12538
break
11869
12539
fi
11870
 
rm -f conftest.err conftest.$ac_ext
 
12540
rm -f conftest.err conftest.i conftest.$ac_ext
11871
12541
 
11872
12542
done
11873
12543
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11874
 
rm -f conftest.err conftest.$ac_ext
 
12544
rm -f conftest.i conftest.err conftest.$ac_ext
11875
12545
if $ac_preproc_ok; then :
11876
12546
 
11877
12547
else
11973
12643
 
11974
12644
  # Allow CC to be a program name with arguments.
11975
12645
  lt_save_CC=$CC
 
12646
  lt_save_CFLAGS=$CFLAGS
11976
12647
  lt_save_LD=$LD
11977
12648
  lt_save_GCC=$GCC
11978
12649
  GCC=$GXX
11990
12661
  fi
11991
12662
  test -z "${LDCXX+set}" || LD=$LDCXX
11992
12663
  CC=${CXX-"c++"}
 
12664
  CFLAGS=$CXXFLAGS
11993
12665
  compiler=$CC
11994
12666
  compiler_CXX=$CC
11995
12667
  for cc_temp in $compiler""; do
12063
12735
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12064
12736
$as_echo_n "checking for non-GNU ld... " >&6; }
12065
12737
fi
12066
 
if test "${lt_cv_path_LD+set}" = set; then :
 
12738
if ${lt_cv_path_LD+:} false; then :
12067
12739
  $as_echo_n "(cached) " >&6
12068
12740
else
12069
12741
  if test -z "$LD"; then
12103
12775
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12104
12776
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12105
12777
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12106
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12778
if ${lt_cv_prog_gnu_ld+:} false; then :
12107
12779
  $as_echo_n "(cached) " >&6
12108
12780
else
12109
12781
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12129
12801
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12130
12802
      # archiving commands below assume that GNU ld is being used.
12131
12803
      if test "$with_gnu_ld" = yes; then
12132
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12133
 
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
12804
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12805
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12134
12806
 
12135
12807
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12136
12808
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12272
12944
          allow_undefined_flag_CXX='-berok'
12273
12945
          # Determine the default libpath from the value encoded in an empty
12274
12946
          # executable.
12275
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12947
          if test "${lt_cv_aix_libpath+set}" = set; then
 
12948
  aix_libpath=$lt_cv_aix_libpath
 
12949
else
 
12950
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
12951
  $as_echo_n "(cached) " >&6
 
12952
else
 
12953
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276
12954
/* end confdefs.h.  */
12277
12955
 
12278
12956
int
12285
12963
_ACEOF
12286
12964
if ac_fn_cxx_try_link "$LINENO"; then :
12287
12965
 
12288
 
lt_aix_libpath_sed='
12289
 
    /Import File Strings/,/^$/ {
12290
 
        /^0/ {
12291
 
            s/^0  *\(.*\)$/\1/
12292
 
            p
12293
 
        }
12294
 
    }'
12295
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12296
 
# Check for a 64-bit object if we didn't find anything.
12297
 
if test -z "$aix_libpath"; then
12298
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12299
 
fi
 
12966
  lt_aix_libpath_sed='
 
12967
      /Import File Strings/,/^$/ {
 
12968
          /^0/ {
 
12969
              s/^0  *\([^ ]*\) *$/\1/
 
12970
              p
 
12971
          }
 
12972
      }'
 
12973
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12974
  # Check for a 64-bit object if we didn't find anything.
 
12975
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12976
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
12977
  fi
12300
12978
fi
12301
12979
rm -f core conftest.err conftest.$ac_objext \
12302
12980
    conftest$ac_exeext conftest.$ac_ext
12303
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
12981
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
12982
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
12983
  fi
 
12984
 
 
12985
fi
 
12986
 
 
12987
  aix_libpath=$lt_cv_aix_libpath__CXX
 
12988
fi
12304
12989
 
12305
12990
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12306
12991
 
12313
12998
          else
12314
12999
            # Determine the default libpath from the value encoded in an
12315
13000
            # empty executable.
12316
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13001
            if test "${lt_cv_aix_libpath+set}" = set; then
 
13002
  aix_libpath=$lt_cv_aix_libpath
 
13003
else
 
13004
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13005
  $as_echo_n "(cached) " >&6
 
13006
else
 
13007
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12317
13008
/* end confdefs.h.  */
12318
13009
 
12319
13010
int
12326
13017
_ACEOF
12327
13018
if ac_fn_cxx_try_link "$LINENO"; then :
12328
13019
 
12329
 
lt_aix_libpath_sed='
12330
 
    /Import File Strings/,/^$/ {
12331
 
        /^0/ {
12332
 
            s/^0  *\(.*\)$/\1/
12333
 
            p
12334
 
        }
12335
 
    }'
12336
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12337
 
# Check for a 64-bit object if we didn't find anything.
12338
 
if test -z "$aix_libpath"; then
12339
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12340
 
fi
 
13020
  lt_aix_libpath_sed='
 
13021
      /Import File Strings/,/^$/ {
 
13022
          /^0/ {
 
13023
              s/^0  *\([^ ]*\) *$/\1/
 
13024
              p
 
13025
          }
 
13026
      }'
 
13027
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13028
  # Check for a 64-bit object if we didn't find anything.
 
13029
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13030
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13031
  fi
12341
13032
fi
12342
13033
rm -f core conftest.err conftest.$ac_objext \
12343
13034
    conftest$ac_exeext conftest.$ac_ext
12344
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13035
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13036
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13037
  fi
 
13038
 
 
13039
fi
 
13040
 
 
13041
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13042
fi
12345
13043
 
12346
13044
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12347
13045
            # Warning - without using the other run time loading flags,
12384
13082
        ;;
12385
13083
 
12386
13084
      cygwin* | mingw* | pw32* | cegcc*)
12387
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12388
 
        # as there is no search path for DLLs.
12389
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
12390
 
        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12391
 
        allow_undefined_flag_CXX=unsupported
12392
 
        always_export_symbols_CXX=no
12393
 
        enable_shared_with_static_runtimes_CXX=yes
 
13085
        case $GXX,$cc_basename in
 
13086
        ,cl* | no,cl*)
 
13087
          # Native MSVC
 
13088
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
13089
          # no search path for DLLs.
 
13090
          hardcode_libdir_flag_spec_CXX=' '
 
13091
          allow_undefined_flag_CXX=unsupported
 
13092
          always_export_symbols_CXX=yes
 
13093
          file_list_spec_CXX='@'
 
13094
          # Tell ltmain to make .lib files, not .a files.
 
13095
          libext=lib
 
13096
          # Tell ltmain to make .dll files, not .so files.
 
13097
          shrext_cmds=".dll"
 
13098
          # FIXME: Setting linknames here is a bad hack.
 
13099
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
13100
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13101
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
13102
            else
 
13103
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
13104
            fi~
 
13105
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
13106
            linknames='
 
13107
          # The linker will not automatically build a static lib if we build a DLL.
 
13108
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
13109
          enable_shared_with_static_runtimes_CXX=yes
 
13110
          # Don't use ranlib
 
13111
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
13112
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
13113
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
13114
            case $lt_outputfile in
 
13115
              *.exe|*.EXE) ;;
 
13116
              *)
 
13117
                lt_outputfile="$lt_outputfile.exe"
 
13118
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
13119
                ;;
 
13120
            esac~
 
13121
            func_to_tool_file "$lt_outputfile"~
 
13122
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
13123
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
13124
              $RM "$lt_outputfile.manifest";
 
13125
            fi'
 
13126
          ;;
 
13127
        *)
 
13128
          # g++
 
13129
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
13130
          # as there is no search path for DLLs.
 
13131
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13132
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
13133
          allow_undefined_flag_CXX=unsupported
 
13134
          always_export_symbols_CXX=no
 
13135
          enable_shared_with_static_runtimes_CXX=yes
12394
13136
 
12395
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12396
 
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12397
 
          # If the export-symbols file already is a .def file (1st line
12398
 
          # is EXPORTS), use it as is; otherwise, prepend...
12399
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12400
 
            cp $export_symbols $output_objdir/$soname.def;
12401
 
          else
12402
 
            echo EXPORTS > $output_objdir/$soname.def;
12403
 
            cat $export_symbols >> $output_objdir/$soname.def;
12404
 
          fi~
12405
 
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
12406
 
        else
12407
 
          ld_shlibs_CXX=no
12408
 
        fi
12409
 
        ;;
 
13137
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
13138
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13139
            # If the export-symbols file already is a .def file (1st line
 
13140
            # is EXPORTS), use it as is; otherwise, prepend...
 
13141
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13142
              cp $export_symbols $output_objdir/$soname.def;
 
13143
            else
 
13144
              echo EXPORTS > $output_objdir/$soname.def;
 
13145
              cat $export_symbols >> $output_objdir/$soname.def;
 
13146
            fi~
 
13147
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
13148
          else
 
13149
            ld_shlibs_CXX=no
 
13150
          fi
 
13151
          ;;
 
13152
        esac
 
13153
        ;;
12410
13154
      darwin* | rhapsody*)
12411
13155
 
12412
13156
 
12512
13256
            ;;
12513
13257
          *)
12514
13258
            if test "$GXX" = yes; then
12515
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
13259
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
12516
13260
            else
12517
13261
              # FIXME: insert proper C++ library support
12518
13262
              ld_shlibs_CXX=no
12583
13327
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12584
13328
                    ;;
12585
13329
                  ia64*)
12586
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13330
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12587
13331
                    ;;
12588
13332
                  *)
12589
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13333
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12590
13334
                    ;;
12591
13335
                esac
12592
13336
              fi
12627
13371
          *)
12628
13372
            if test "$GXX" = yes; then
12629
13373
              if test "$with_gnu_ld" = no; then
12630
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13374
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12631
13375
              else
12632
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
 
13376
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
12633
13377
              fi
12634
13378
            fi
12635
13379
            link_all_deplibs_CXX=yes
12907
13651
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12908
13652
                  ;;
12909
13653
                *)
12910
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
13654
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
12911
13655
                  ;;
12912
13656
              esac
12913
13657
 
12994
13738
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
12995
13739
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
12996
13740
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
12997
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13741
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
12998
13742
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
12999
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13743
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13000
13744
 
13001
13745
                # Commands to make compiler produce verbose output that lists
13002
13746
                # what "hidden" libraries, object files and flags are used when
13131
13875
};
13132
13876
_LT_EOF
13133
13877
 
 
13878
 
 
13879
_lt_libdeps_save_CFLAGS=$CFLAGS
 
13880
case "$CC $CFLAGS " in #(
 
13881
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
13882
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
13883
esac
 
13884
 
13134
13885
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13135
13886
  (eval $ac_compile) 2>&5
13136
13887
  ac_status=$?
13144
13895
  pre_test_object_deps_done=no
13145
13896
 
13146
13897
  for p in `eval "$output_verbose_link_cmd"`; do
13147
 
    case $p in
 
13898
    case ${prev}${p} in
13148
13899
 
13149
13900
    -L* | -R* | -l*)
13150
13901
       # Some compilers place space between "-{L,R}" and the path.
13153
13904
          test $p = "-R"; then
13154
13905
         prev=$p
13155
13906
         continue
13156
 
       else
13157
 
         prev=
13158
13907
       fi
13159
13908
 
 
13909
       # Expand the sysroot to ease extracting the directories later.
 
13910
       if test -z "$prev"; then
 
13911
         case $p in
 
13912
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
13913
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
13914
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
13915
         esac
 
13916
       fi
 
13917
       case $p in
 
13918
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
13919
       esac
13160
13920
       if test "$pre_test_object_deps_done" = no; then
13161
 
         case $p in
13162
 
         -L* | -R*)
 
13921
         case ${prev} in
 
13922
         -L | -R)
13163
13923
           # Internal compiler library paths should come after those
13164
13924
           # provided the user.  The postdeps already come after the
13165
13925
           # user supplied libs so there is no need to process them.
13179
13939
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13180
13940
         fi
13181
13941
       fi
 
13942
       prev=
13182
13943
       ;;
13183
13944
 
 
13945
    *.lto.$objext) ;; # Ignore GCC LTO objects
13184
13946
    *.$objext)
13185
13947
       # This assumes that the test object file only shows up
13186
13948
       # once in the compiler output.
13216
13978
fi
13217
13979
 
13218
13980
$RM -f confest.$objext
 
13981
CFLAGS=$_lt_libdeps_save_CFLAGS
13219
13982
 
13220
13983
# PORTME: override above test on systems where it is broken
13221
13984
case $host_os in
13316
14079
lt_prog_compiler_pic_CXX=
13317
14080
lt_prog_compiler_static_CXX=
13318
14081
 
13319
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13320
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13321
14082
 
13322
14083
  # C++ specific cases for pic, static, wl, etc.
13323
14084
  if test "$GXX" = yes; then
13421
14182
          ;;
13422
14183
        esac
13423
14184
        ;;
 
14185
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
14186
        # This hack is so that the source file can tell whether it is being
 
14187
        # built for inclusion in a dll (and should export symbols for example).
 
14188
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
14189
        ;;
13424
14190
      dgux*)
13425
14191
        case $cc_basename in
13426
14192
          ec++*)
13638
14404
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13639
14405
    ;;
13640
14406
esac
13641
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13642
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13643
 
 
13644
 
 
 
14407
 
 
14408
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
14409
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
14410
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
14411
  $as_echo_n "(cached) " >&6
 
14412
else
 
14413
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
14414
fi
 
14415
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
14416
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
14417
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13645
14418
 
13646
14419
#
13647
14420
# Check to make sure the PIC flag actually works.
13649
14422
if test -n "$lt_prog_compiler_pic_CXX"; then
13650
14423
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13651
14424
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13652
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
14425
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13653
14426
  $as_echo_n "(cached) " >&6
13654
14427
else
13655
14428
  lt_cv_prog_compiler_pic_works_CXX=no
13699
14472
 
13700
14473
 
13701
14474
 
 
14475
 
 
14476
 
13702
14477
#
13703
14478
# Check to make sure the static flag actually works.
13704
14479
#
13705
14480
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13706
14481
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13707
14482
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13708
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
14483
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13709
14484
  $as_echo_n "(cached) " >&6
13710
14485
else
13711
14486
  lt_cv_prog_compiler_static_works_CXX=no
13745
14520
 
13746
14521
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13747
14522
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13748
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14523
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13749
14524
  $as_echo_n "(cached) " >&6
13750
14525
else
13751
14526
  lt_cv_prog_compiler_c_o_CXX=no
13797
14572
 
13798
14573
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13799
14574
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13800
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14575
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13801
14576
  $as_echo_n "(cached) " >&6
13802
14577
else
13803
14578
  lt_cv_prog_compiler_c_o_CXX=no
13876
14651
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13877
14652
 
13878
14653
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14654
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13879
14655
  case $host_os in
13880
14656
  aix[4-9]*)
13881
14657
    # If we're using GNU nm, then we don't want the "-C" option.
13890
14666
    ;;
13891
14667
  pw32*)
13892
14668
    export_symbols_cmds_CXX="$ltdll_cmds"
13893
 
  ;;
 
14669
    ;;
13894
14670
  cygwin* | mingw* | cegcc*)
13895
 
    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'
13896
 
  ;;
 
14671
    case $cc_basename in
 
14672
    cl*) ;;
 
14673
    *)
 
14674
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
14675
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
14676
      ;;
 
14677
    esac
 
14678
    ;;
13897
14679
  *)
13898
14680
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13899
 
  ;;
 
14681
    ;;
13900
14682
  esac
13901
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13902
14683
 
13903
14684
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13904
14685
$as_echo "$ld_shlibs_CXX" >&6; }
13930
14711
      # to ld, don't add -lc before -lgcc.
13931
14712
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13932
14713
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13933
 
if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
 
14714
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
13934
14715
  $as_echo_n "(cached) " >&6
13935
14716
else
13936
14717
  $RM conftest*
14161
14942
  need_version=no
14162
14943
  need_lib_prefix=no
14163
14944
 
14164
 
  case $GCC,$host_os in
14165
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
14945
  case $GCC,$cc_basename in
 
14946
  yes,*)
 
14947
    # gcc
14166
14948
    library_names_spec='$libname.dll.a'
14167
14949
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14168
14950
    postinstall_cmds='base_file=`basename \${file}`~
14194
14976
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14195
14977
      ;;
14196
14978
    esac
 
14979
    dynamic_linker='Win32 ld.exe'
 
14980
    ;;
 
14981
 
 
14982
  *,cl*)
 
14983
    # Native MSVC
 
14984
    libname_spec='$name'
 
14985
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
14986
    library_names_spec='${libname}.dll.lib'
 
14987
 
 
14988
    case $build_os in
 
14989
    mingw*)
 
14990
      sys_lib_search_path_spec=
 
14991
      lt_save_ifs=$IFS
 
14992
      IFS=';'
 
14993
      for lt_path in $LIB
 
14994
      do
 
14995
        IFS=$lt_save_ifs
 
14996
        # Let DOS variable expansion print the short 8.3 style file name.
 
14997
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
14998
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
14999
      done
 
15000
      IFS=$lt_save_ifs
 
15001
      # Convert to MSYS style.
 
15002
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
15003
      ;;
 
15004
    cygwin*)
 
15005
      # Convert to unix form, then to dos form, then back to unix form
 
15006
      # but this time dos style (no spaces!) so that the unix form looks
 
15007
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
15008
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
15009
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
15010
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15011
      ;;
 
15012
    *)
 
15013
      sys_lib_search_path_spec="$LIB"
 
15014
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
15015
        # It is most probably a Windows format PATH.
 
15016
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
15017
      else
 
15018
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15019
      fi
 
15020
      # FIXME: find the short name or the path components, as spaces are
 
15021
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
15022
      ;;
 
15023
    esac
 
15024
 
 
15025
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
15026
    postinstall_cmds='base_file=`basename \${file}`~
 
15027
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
15028
      dldir=$destdir/`dirname \$dlpath`~
 
15029
      test -d \$dldir || mkdir -p \$dldir~
 
15030
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15031
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
15032
      dlpath=$dir/\$dldll~
 
15033
       $RM \$dlpath'
 
15034
    shlibpath_overrides_runpath=yes
 
15035
    dynamic_linker='Win32 link.exe'
14197
15036
    ;;
14198
15037
 
14199
15038
  *)
 
15039
    # Assume MSVC wrapper
14200
15040
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
15041
    dynamic_linker='Win32 ld.exe'
14201
15042
    ;;
14202
15043
  esac
14203
 
  dynamic_linker='Win32 ld.exe'
14204
15044
  # FIXME: first we should search . and the directory the executable is in
14205
15045
  shlibpath_var=PATH
14206
15046
  ;;
14413
15253
  shlibpath_overrides_runpath=no
14414
15254
 
14415
15255
  # Some binutils ld are patched to set DT_RUNPATH
14416
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
15256
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14417
15257
  $as_echo_n "(cached) " >&6
14418
15258
else
14419
15259
  lt_cv_shlibpath_overrides_runpath=no
14758
15598
  fi # test -n "$compiler"
14759
15599
 
14760
15600
  CC=$lt_save_CC
 
15601
  CFLAGS=$lt_save_CFLAGS
14761
15602
  LDCXX=$LD
14762
15603
  LD=$lt_save_LD
14763
15604
  GCC=$lt_save_GCC
15454
16295
 
15455
16296
 
15456
16297
ac_fn_cxx_check_header_mongrel "$LINENO" "uuid/uuid.h" "ac_cv_header_uuid_uuid_h" "$ac_includes_default"
15457
 
if test "x$ac_cv_header_uuid_uuid_h" = x""yes; then :
 
16298
if test "x$ac_cv_header_uuid_uuid_h" = xyes; then :
15458
16299
 
15459
16300
else
15460
16301
  as_fn_error $? "\"uuid header is missing\"" "$LINENO" 5
15463
16304
 
15464
16305
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for uuid_unparse_lower in -luuid" >&5
15465
16306
$as_echo_n "checking for uuid_unparse_lower in -luuid... " >&6; }
15466
 
if test "${ac_cv_lib_uuid_uuid_unparse_lower+set}" = set; then :
 
16307
if ${ac_cv_lib_uuid_uuid_unparse_lower+:} false; then :
15467
16308
  $as_echo_n "(cached) " >&6
15468
16309
else
15469
16310
  ac_check_lib_save_LIBS=$LIBS
15497
16338
fi
15498
16339
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_uuid_uuid_unparse_lower" >&5
15499
16340
$as_echo "$ac_cv_lib_uuid_uuid_unparse_lower" >&6; }
15500
 
if test "x$ac_cv_lib_uuid_uuid_unparse_lower" = x""yes; then :
 
16341
if test "x$ac_cv_lib_uuid_uuid_unparse_lower" = xyes; then :
15501
16342
  cat >>confdefs.h <<_ACEOF
15502
16343
#define HAVE_LIBUUID 1
15503
16344
_ACEOF
15771
16612
boost_save_CPPFLAGS=$CPPFLAGS
15772
16613
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost headers version >= $boost_version_req_string" >&5
15773
16614
$as_echo_n "checking for Boost headers version >= $boost_version_req_string... " >&6; }
15774
 
if test "${boost_cv_inc_path+set}" = set; then :
 
16615
if ${boost_cv_inc_path+:} false; then :
15775
16616
  $as_echo_n "(cached) " >&6
15776
16617
else
15777
16618
  boost_cv_inc_path=no
15882
16723
 
15883
16724
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Boost's header version" >&5
15884
16725
$as_echo_n "checking for Boost's header version... " >&6; }
15885
 
if test "${boost_cv_lib_version+set}" = set; then :
 
16726
if ${boost_cv_lib_version+:} false; then :
15886
16727
  $as_echo_n "(cached) " >&6
15887
16728
else
15888
16729
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15922
16763
boost_save_CPPFLAGS=$CPPFLAGS
15923
16764
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
15924
16765
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/bind.hpp" "ac_cv_header_boost_bind_hpp" "$ac_includes_default"
15925
 
if test "x$ac_cv_header_boost_bind_hpp" = x""yes; then :
 
16766
if test "x$ac_cv_header_boost_bind_hpp" = xyes; then :
15926
16767
 
15927
16768
$as_echo "#define HAVE_BOOST_BIND_HPP 1" >>confdefs.h
15928
16769
 
15952
16793
boost_save_CPPFLAGS=$CPPFLAGS
15953
16794
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
15954
16795
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/cast.hpp" "ac_cv_header_boost_cast_hpp" "$ac_includes_default"
15955
 
if test "x$ac_cv_header_boost_cast_hpp" = x""yes; then :
 
16796
if test "x$ac_cv_header_boost_cast_hpp" = xyes; then :
15956
16797
 
15957
16798
$as_echo "#define HAVE_BOOST_CAST_HPP 1" >>confdefs.h
15958
16799
 
15981
16822
boost_save_CPPFLAGS=$CPPFLAGS
15982
16823
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
15983
16824
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/lexical_cast.hpp" "ac_cv_header_boost_lexical_cast_hpp" "$ac_includes_default"
15984
 
if test "x$ac_cv_header_boost_lexical_cast_hpp" = x""yes; then :
 
16825
if test "x$ac_cv_header_boost_lexical_cast_hpp" = xyes; then :
15985
16826
 
15986
16827
$as_echo "#define HAVE_BOOST_LEXICAL_CAST_HPP 1" >>confdefs.h
15987
16828
 
16012
16853
boost_save_CPPFLAGS=$CPPFLAGS
16013
16854
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16014
16855
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/format.hpp" "ac_cv_header_boost_format_hpp" "$ac_includes_default"
16015
 
if test "x$ac_cv_header_boost_format_hpp" = x""yes; then :
 
16856
if test "x$ac_cv_header_boost_format_hpp" = xyes; then :
16016
16857
 
16017
16858
$as_echo "#define HAVE_BOOST_FORMAT_HPP 1" >>confdefs.h
16018
16859
 
16032
16873
 
16033
16874
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the toolset name used by Boost for $CXX" >&5
16034
16875
$as_echo_n "checking for the toolset name used by Boost for $CXX... " >&6; }
16035
 
if test "${boost_cv_lib_tag+set}" = set; then :
 
16876
if ${boost_cv_lib_tag+:} false; then :
16036
16877
  $as_echo_n "(cached) " >&6
16037
16878
else
16038
16879
  boost_cv_lib_tag=unknown
16193
17034
boost_save_CPPFLAGS=$CPPFLAGS
16194
17035
CPPFLAGS="$CPPFLAGS $BOOST_CPPFLAGS"
16195
17036
ac_fn_cxx_check_header_mongrel "$LINENO" "boost/test/unit_test.hpp" "ac_cv_header_boost_test_unit_test_hpp" "$ac_includes_default"
16196
 
if test "x$ac_cv_header_boost_test_unit_test_hpp" = x""yes; then :
 
17037
if test "x$ac_cv_header_boost_test_unit_test_hpp" = xyes; then :
16197
17038
 
16198
17039
$as_echo "#define HAVE_BOOST_TEST_UNIT_TEST_HPP 1" >>confdefs.h
16199
17040
 
16221
17062
# but there's -obviously- libboost_threads-mt.dylib).
16222
17063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for the Boost unit_test_framework library" >&5
16223
17064
$as_echo_n "checking for the Boost unit_test_framework library... " >&6; }
16224
 
if test "${boost_cv_lib_unit_test_framework+set}" = set; then :
 
17065
if ${boost_cv_lib_unit_test_framework+:} false; then :
16225
17066
  $as_echo_n "(cached) " >&6
16226
17067
else
16227
17068
  boost_cv_lib_unit_test_framework=no
16393
17234
 
16394
17235
 
16395
17236
ac_fn_cxx_check_header_mongrel "$LINENO" "tr1/memory" "ac_cv_header_tr1_memory" "$ac_includes_default"
16396
 
if test "x$ac_cv_header_tr1_memory" = x""yes; then :
 
17237
if test "x$ac_cv_header_tr1_memory" = xyes; then :
16397
17238
 
16398
17239
else
16399
17240
 
16618
17459
set dummy intltool-update; ac_word=$2
16619
17460
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16620
17461
$as_echo_n "checking for $ac_word... " >&6; }
16621
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
17462
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
16622
17463
  $as_echo_n "(cached) " >&6
16623
17464
else
16624
17465
  case $INTLTOOL_UPDATE in
16658
17499
set dummy intltool-merge; ac_word=$2
16659
17500
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16660
17501
$as_echo_n "checking for $ac_word... " >&6; }
16661
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
17502
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
16662
17503
  $as_echo_n "(cached) " >&6
16663
17504
else
16664
17505
  case $INTLTOOL_MERGE in
16698
17539
set dummy intltool-extract; ac_word=$2
16699
17540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16700
17541
$as_echo_n "checking for $ac_word... " >&6; }
16701
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
17542
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
16702
17543
  $as_echo_n "(cached) " >&6
16703
17544
else
16704
17545
  case $INTLTOOL_EXTRACT in
16859
17700
set dummy xgettext; ac_word=$2
16860
17701
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16861
17702
$as_echo_n "checking for $ac_word... " >&6; }
16862
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
17703
if ${ac_cv_path_XGETTEXT+:} false; then :
16863
17704
  $as_echo_n "(cached) " >&6
16864
17705
else
16865
17706
  case $XGETTEXT in
16899
17740
set dummy msgmerge; ac_word=$2
16900
17741
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16901
17742
$as_echo_n "checking for $ac_word... " >&6; }
16902
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
17743
if ${ac_cv_path_MSGMERGE+:} false; then :
16903
17744
  $as_echo_n "(cached) " >&6
16904
17745
else
16905
17746
  case $MSGMERGE in
16939
17780
set dummy msgfmt; ac_word=$2
16940
17781
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16941
17782
$as_echo_n "checking for $ac_word... " >&6; }
16942
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
17783
if ${ac_cv_path_MSGFMT+:} false; then :
16943
17784
  $as_echo_n "(cached) " >&6
16944
17785
else
16945
17786
  case $MSGFMT in
16979
17820
set dummy gmsgfmt; ac_word=$2
16980
17821
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16981
17822
$as_echo_n "checking for $ac_word... " >&6; }
16982
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
17823
if ${ac_cv_path_GMSGFMT+:} false; then :
16983
17824
  $as_echo_n "(cached) " >&6
16984
17825
else
16985
17826
  case $GMSGFMT in
17030
17871
set dummy perl; ac_word=$2
17031
17872
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17032
17873
$as_echo_n "checking for $ac_word... " >&6; }
17033
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
17874
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
17034
17875
  $as_echo_n "(cached) " >&6
17035
17876
else
17036
17877
  case $INTLTOOL_PERL in
17114
17955
  case $host in
17115
17956
    *-*-solaris*)
17116
17957
                        ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17117
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
17958
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17118
17959
  DATADIRNAME=share
17119
17960
else
17120
17961
  DATADIRNAME=lib
17146
17987
   for ac_header in locale.h
17147
17988
do :
17148
17989
  ac_fn_cxx_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
17149
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
17990
if test "x$ac_cv_header_locale_h" = xyes; then :
17150
17991
  cat >>confdefs.h <<_ACEOF
17151
17992
#define HAVE_LOCALE_H 1
17152
17993
_ACEOF
17158
17999
    if test $ac_cv_header_locale_h = yes; then
17159
18000
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
17160
18001
$as_echo_n "checking for LC_MESSAGES... " >&6; }
17161
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
18002
if ${am_cv_val_LC_MESSAGES+:} false; then :
17162
18003
  $as_echo_n "(cached) " >&6
17163
18004
else
17164
18005
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17198
18039
    INTLLIBS=
17199
18040
 
17200
18041
    ac_fn_cxx_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
17201
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
18042
if test "x$ac_cv_header_libintl_h" = xyes; then :
17202
18043
  gt_cv_func_dgettext_libintl="no"
17203
18044
      libintl_extra_libs=""
17204
18045
 
17207
18048
      #
17208
18049
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
17209
18050
$as_echo_n "checking for ngettext in libc... " >&6; }
17210
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
18051
if ${gt_cv_func_ngettext_libc+:} false; then :
17211
18052
  $as_echo_n "(cached) " >&6
17212
18053
else
17213
18054
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17238
18079
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
17239
18080
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
17240
18081
$as_echo_n "checking for dgettext in libc... " >&6; }
17241
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
18082
if ${gt_cv_func_dgettext_libc+:} false; then :
17242
18083
  $as_echo_n "(cached) " >&6
17243
18084
else
17244
18085
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17271
18112
        for ac_func in bind_textdomain_codeset
17272
18113
do :
17273
18114
  ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17274
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
18115
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17275
18116
  cat >>confdefs.h <<_ACEOF
17276
18117
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
17277
18118
_ACEOF
17290
18131
 
17291
18132
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
17292
18133
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
17293
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
18134
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
17294
18135
  $as_echo_n "(cached) " >&6
17295
18136
else
17296
18137
  ac_check_lib_save_LIBS=$LIBS
17324
18165
fi
17325
18166
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
17326
18167
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
17327
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
18168
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
17328
18169
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17329
18170
$as_echo_n "checking for ngettext in -lintl... " >&6; }
17330
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
18171
if ${ac_cv_lib_intl_ngettext+:} false; then :
17331
18172
  $as_echo_n "(cached) " >&6
17332
18173
else
17333
18174
  ac_check_lib_save_LIBS=$LIBS
17361
18202
fi
17362
18203
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17363
18204
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17364
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
18205
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17365
18206
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
17366
18207
$as_echo_n "checking for dgettext in -lintl... " >&6; }
17367
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
18208
if ${ac_cv_lib_intl_dgettext+:} false; then :
17368
18209
  $as_echo_n "(cached) " >&6
17369
18210
else
17370
18211
  ac_check_lib_save_LIBS=$LIBS
17398
18239
fi
17399
18240
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
17400
18241
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
17401
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
18242
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
17402
18243
  gt_cv_func_dgettext_libintl=yes
17403
18244
fi
17404
18245
 
17414
18255
$as_echo "" >&6; }
17415
18256
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
17416
18257
$as_echo_n "checking for ngettext in -lintl... " >&6; }
17417
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
18258
if ${ac_cv_lib_intl_ngettext+:} false; then :
17418
18259
  $as_echo_n "(cached) " >&6
17419
18260
else
17420
18261
  ac_check_lib_save_LIBS=$LIBS
17448
18289
fi
17449
18290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
17450
18291
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
17451
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
18292
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
17452
18293
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
17453
18294
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
17454
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
18295
if ${ac_cv_lib_intl_dcgettext+:} false; then :
17455
18296
  $as_echo_n "(cached) " >&6
17456
18297
else
17457
18298
  ac_check_lib_save_LIBS=$LIBS
17485
18326
fi
17486
18327
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
17487
18328
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
17488
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
18329
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
17489
18330
  gt_cv_func_dgettext_libintl=yes
17490
18331
                        libintl_extra_libs=-liconv
17491
18332
else
17510
18351
          for ac_func in bind_textdomain_codeset
17511
18352
do :
17512
18353
  ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17513
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
18354
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17514
18355
  cat >>confdefs.h <<_ACEOF
17515
18356
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
17516
18357
_ACEOF
17548
18389
set dummy msgfmt; ac_word=$2
17549
18390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17550
18391
$as_echo_n "checking for $ac_word... " >&6; }
17551
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
18392
if ${ac_cv_path_MSGFMT+:} false; then :
17552
18393
  $as_echo_n "(cached) " >&6
17553
18394
else
17554
18395
  case "$MSGFMT" in
17585
18426
          for ac_func in dcgettext
17586
18427
do :
17587
18428
  ac_fn_cxx_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
17588
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
18429
if test "x$ac_cv_func_dcgettext" = xyes; then :
17589
18430
  cat >>confdefs.h <<_ACEOF
17590
18431
#define HAVE_DCGETTEXT 1
17591
18432
_ACEOF
17626
18467
set dummy gmsgfmt; ac_word=$2
17627
18468
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17628
18469
$as_echo_n "checking for $ac_word... " >&6; }
17629
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
18470
if ${ac_cv_path_GMSGFMT+:} false; then :
17630
18471
  $as_echo_n "(cached) " >&6
17631
18472
else
17632
18473
  case $GMSGFMT in
17667
18508
set dummy xgettext; ac_word=$2
17668
18509
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17669
18510
$as_echo_n "checking for $ac_word... " >&6; }
17670
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
18511
if ${ac_cv_path_XGETTEXT+:} false; then :
17671
18512
  $as_echo_n "(cached) " >&6
17672
18513
else
17673
18514
  case "$XGETTEXT" in
17718
18559
  case $host in
17719
18560
            *-*-solaris*)
17720
18561
                                                                ac_fn_cxx_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
17721
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
18562
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
17722
18563
  CATOBJEXT=.gmo
17723
18564
               DATADIRNAME=share
17724
18565
else
17854
18695
set dummy gconftool-2; ac_word=$2
17855
18696
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17856
18697
$as_echo_n "checking for $ac_word... " >&6; }
17857
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
 
18698
if ${ac_cv_path_GCONFTOOL+:} false; then :
17858
18699
  $as_echo_n "(cached) " >&6
17859
18700
else
17860
18701
  case $GCONFTOOL in
17961
18802
set dummy sed; ac_word=$2
17962
18803
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
17963
18804
$as_echo_n "checking for $ac_word... " >&6; }
17964
 
if test "${ac_cv_prog_SED+set}" = set; then :
 
18805
if ${ac_cv_prog_SED+:} false; then :
17965
18806
  $as_echo_n "(cached) " >&6
17966
18807
else
17967
18808
  if test -n "$SED"; then
18077
18918
     :end' >>confcache
18078
18919
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
18079
18920
  if test -w "$cache_file"; then
18080
 
    test "x$cache_file" != "x/dev/null" &&
 
18921
    if test "x$cache_file" != "x/dev/null"; then
18081
18922
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
18082
18923
$as_echo "$as_me: updating cache $cache_file" >&6;}
18083
 
    cat confcache >$cache_file
 
18924
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
18925
        cat confcache >"$cache_file"
 
18926
      else
 
18927
        case $cache_file in #(
 
18928
        */* | ?:*)
 
18929
          mv -f confcache "$cache_file"$$ &&
 
18930
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
18931
        *)
 
18932
          mv -f confcache "$cache_file" ;;
 
18933
        esac
 
18934
      fi
 
18935
    fi
18084
18936
  else
18085
18937
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
18086
18938
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
18172
19024
Usually this means the macro was only invoked conditionally." "$LINENO" 5
18173
19025
fi
18174
19026
 
18175
 
: ${CONFIG_STATUS=./config.status}
 
19027
: "${CONFIG_STATUS=./config.status}"
18176
19028
ac_write_fail=0
18177
19029
ac_clean_files_save=$ac_clean_files
18178
19030
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18273
19125
IFS=" ""        $as_nl"
18274
19126
 
18275
19127
# Find who we are.  Look in the path if we contain no directory separator.
 
19128
as_myself=
18276
19129
case $0 in #((
18277
19130
  *[\\/]* ) as_myself=$0 ;;
18278
19131
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
18579
19432
# report actual input values of CONFIG_FILES etc. instead of their
18580
19433
# values after options handling.
18581
19434
ac_log="
18582
 
This file was extended by gnote $as_me 0.7.4, which was
18583
 
generated by GNU Autoconf 2.66.  Invocation command line was
 
19435
This file was extended by gnote $as_me 0.7.5, which was
 
19436
generated by GNU Autoconf 2.68.  Invocation command line was
18584
19437
 
18585
19438
  CONFIG_FILES    = $CONFIG_FILES
18586
19439
  CONFIG_HEADERS  = $CONFIG_HEADERS
18645
19498
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
18646
19499
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
18647
19500
ac_cs_version="\\
18648
 
gnote config.status 0.7.4
18649
 
configured by $0, generated by GNU Autoconf 2.66,
 
19501
gnote config.status 0.7.5
 
19502
configured by $0, generated by GNU Autoconf 2.68,
18650
19503
  with options \\"\$ac_cs_config\\"
18651
19504
 
18652
19505
Copyright (C) 2010 Free Software Foundation, Inc.
18667
19520
while test $# != 0
18668
19521
do
18669
19522
  case $1 in
18670
 
  --*=*)
 
19523
  --*=?*)
18671
19524
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
18672
19525
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
18673
19526
    ac_shift=:
18674
19527
    ;;
 
19528
  --*=)
 
19529
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
19530
    ac_optarg=
 
19531
    ac_shift=:
 
19532
    ;;
18675
19533
  *)
18676
19534
    ac_option=$1
18677
19535
    ac_optarg=$2
18693
19551
    $ac_shift
18694
19552
    case $ac_optarg in
18695
19553
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
19554
    '') as_fn_error $? "missing file argument" ;;
18696
19555
    esac
18697
19556
    as_fn_append CONFIG_FILES " '$ac_optarg'"
18698
19557
    ac_need_defaults=false;;
18796
19655
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
18797
19656
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
18798
19657
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
19658
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
19659
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
18799
19660
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
18800
19661
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
18801
19662
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
18802
19663
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
18803
19664
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
19665
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
19666
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
19667
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
19668
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
18804
19669
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
18805
19670
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
19671
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
18806
19672
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
18807
19673
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
18808
19674
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
18817
19683
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
18818
19684
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
18819
19685
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $SED "$delay_single_quote_subst"`'
 
19686
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
19687
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
18820
19688
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
18821
19689
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
18822
19690
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
19691
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18823
19692
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
18824
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
18825
19693
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
18826
19694
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
18827
19695
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
19696
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
18828
19697
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
18829
19698
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
18830
19699
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
18857
19726
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
18858
19727
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
18859
19728
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
18860
 
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
18861
19729
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
18862
19730
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
18863
19731
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
18864
19732
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
18865
19733
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
19734
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
18866
19735
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
18867
19736
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
18868
19737
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
18901
19770
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
18902
19771
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
18903
19772
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
19773
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18904
19774
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
18905
 
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
18906
19775
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
18907
19776
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
18908
19777
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
18929
19798
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
18930
19799
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
18931
19800
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
18932
 
fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
18933
19801
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
18934
19802
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18935
19803
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18936
19804
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
18937
19805
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
19806
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
18938
19807
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
18939
19808
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
18940
19809
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
18972
19841
OBJDUMP \
18973
19842
deplibs_check_method \
18974
19843
file_magic_cmd \
 
19844
file_magic_glob \
 
19845
want_nocaseglob \
 
19846
DLLTOOL \
 
19847
sharedlib_from_linklib_cmd \
18975
19848
AR \
18976
19849
AR_FLAGS \
 
19850
archiver_list_spec \
18977
19851
STRIP \
18978
19852
RANLIB \
18979
19853
CC \
18983
19857
lt_cv_sys_global_symbol_to_cdecl \
18984
19858
lt_cv_sys_global_symbol_to_c_name_address \
18985
19859
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
19860
nm_file_list_spec \
18986
19861
lt_prog_compiler_no_builtin_flag \
 
19862
lt_prog_compiler_pic \
18987
19863
lt_prog_compiler_wl \
18988
 
lt_prog_compiler_pic \
18989
19864
lt_prog_compiler_static \
18990
19865
lt_cv_prog_compiler_c_o \
18991
19866
need_locks \
 
19867
MANIFEST_TOOL \
18992
19868
DSYMUTIL \
18993
19869
NMEDIT \
18994
19870
LIPO \
19004
19880
hardcode_libdir_flag_spec \
19005
19881
hardcode_libdir_flag_spec_ld \
19006
19882
hardcode_libdir_separator \
19007
 
fix_srcfile_path \
19008
19883
exclude_expsyms \
19009
19884
include_expsyms \
19010
19885
file_list_spec \
19026
19901
reload_flag_CXX \
19027
19902
compiler_CXX \
19028
19903
lt_prog_compiler_no_builtin_flag_CXX \
 
19904
lt_prog_compiler_pic_CXX \
19029
19905
lt_prog_compiler_wl_CXX \
19030
 
lt_prog_compiler_pic_CXX \
19031
19906
lt_prog_compiler_static_CXX \
19032
19907
lt_cv_prog_compiler_c_o_CXX \
19033
19908
export_dynamic_flag_spec_CXX \
19039
19914
hardcode_libdir_flag_spec_CXX \
19040
19915
hardcode_libdir_flag_spec_ld_CXX \
19041
19916
hardcode_libdir_separator_CXX \
19042
 
fix_srcfile_path_CXX \
19043
19917
exclude_expsyms_CXX \
19044
19918
include_expsyms_CXX \
19045
19919
file_list_spec_CXX \
19073
19947
module_expsym_cmds \
19074
19948
export_symbols_cmds \
19075
19949
prelink_cmds \
 
19950
postlink_cmds \
19076
19951
postinstall_cmds \
19077
19952
postuninstall_cmds \
19078
19953
finish_cmds \
19087
19962
module_cmds_CXX \
19088
19963
module_expsym_cmds_CXX \
19089
19964
export_symbols_cmds_CXX \
19090
 
prelink_cmds_CXX; do
 
19965
prelink_cmds_CXX \
 
19966
postlink_cmds_CXX; do
19091
19967
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
19092
19968
    *[\\\\\\\`\\"\\\$]*)
19093
19969
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
19182
20058
# after its creation but before its name has been assigned to `$tmp'.
19183
20059
$debug ||
19184
20060
{
19185
 
  tmp=
 
20061
  tmp= ac_tmp=
19186
20062
  trap 'exit_status=$?
19187
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
20063
  : "${ac_tmp:=$tmp}"
 
20064
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
19188
20065
' 0
19189
20066
  trap 'as_fn_exit 1' 1 2 13 15
19190
20067
}
19192
20069
 
19193
20070
{
19194
20071
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
19195
 
  test -n "$tmp" && test -d "$tmp"
 
20072
  test -d "$tmp"
19196
20073
}  ||
19197
20074
{
19198
20075
  tmp=./conf$$-$RANDOM
19199
20076
  (umask 077 && mkdir "$tmp")
19200
20077
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
20078
ac_tmp=$tmp
19201
20079
 
19202
20080
# Set up the scripts for CONFIG_FILES section.
19203
20081
# No need to generate them if there are no CONFIG_FILES.
19219
20097
  ac_cs_awk_cr=$ac_cr
19220
20098
fi
19221
20099
 
19222
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
20100
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
19223
20101
_ACEOF
19224
20102
 
19225
20103
 
19247
20125
rm -f conf$$subs.sh
19248
20126
 
19249
20127
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19250
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
20128
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
19251
20129
_ACEOF
19252
20130
sed -n '
19253
20131
h
19295
20173
rm -f conf$$subs.awk
19296
20174
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19297
20175
_ACAWK
19298
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
20176
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
19299
20177
  for (key in S) S_is_set[key] = 1
19300
20178
  FS = ""
19301
20179
 
19327
20205
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
19328
20206
else
19329
20207
  cat
19330
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
20208
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
19331
20209
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
19332
20210
_ACEOF
19333
20211
 
19361
20239
# No need to generate them if there are no CONFIG_HEADERS.
19362
20240
# This happens for instance with `./config.status Makefile'.
19363
20241
if test -n "$CONFIG_HEADERS"; then
19364
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
20242
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
19365
20243
BEGIN {
19366
20244
_ACEOF
19367
20245
 
19373
20251
# handling of long lines.
19374
20252
ac_delim='%!_!# '
19375
20253
for ac_last_try in false false :; do
19376
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
19377
 
  if test -z "$ac_t"; then
 
20254
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
20255
  if test -z "$ac_tt"; then
19378
20256
    break
19379
20257
  elif $ac_last_try; then
19380
20258
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
19494
20372
    for ac_f
19495
20373
    do
19496
20374
      case $ac_f in
19497
 
      -) ac_f="$tmp/stdin";;
 
20375
      -) ac_f="$ac_tmp/stdin";;
19498
20376
      *) # Look for the file first in the build tree, then in the source tree
19499
20377
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
19500
20378
         # because $ac_f cannot contain `:'.
19529
20407
    esac
19530
20408
 
19531
20409
    case $ac_tag in
19532
 
    *:-:* | *:-) cat >"$tmp/stdin" \
 
20410
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
19533
20411
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
19534
20412
    esac
19535
20413
    ;;
19666
20544
s&@MKDIR_P@&$ac_MKDIR_P&;t t
19667
20545
$ac_datarootdir_hack
19668
20546
"
19669
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19670
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
20547
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
20548
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19671
20549
 
19672
20550
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
19673
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
19674
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
20551
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
20552
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
20553
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
19675
20554
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19676
20555
which seems to be undefined.  Please make sure it is defined" >&5
19677
20556
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
19678
20557
which seems to be undefined.  Please make sure it is defined" >&2;}
19679
20558
 
19680
 
  rm -f "$tmp/stdin"
 
20559
  rm -f "$ac_tmp/stdin"
19681
20560
  case $ac_file in
19682
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
19683
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
20561
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
20562
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
19684
20563
  esac \
19685
20564
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19686
20565
 ;;
19691
20570
  if test x"$ac_file" != x-; then
19692
20571
    {
19693
20572
      $as_echo "/* $configure_input  */" \
19694
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
19695
 
    } >"$tmp/config.h" \
 
20573
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
20574
    } >"$ac_tmp/config.h" \
19696
20575
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19697
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
20576
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
19698
20577
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
19699
20578
$as_echo "$as_me: $ac_file is unchanged" >&6;}
19700
20579
    else
19701
20580
      rm -f "$ac_file"
19702
 
      mv "$tmp/config.h" "$ac_file" \
 
20581
      mv "$ac_tmp/config.h" "$ac_file" \
19703
20582
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
19704
20583
    fi
19705
20584
  else
19706
20585
    $as_echo "/* $configure_input  */" \
19707
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
20586
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
19708
20587
      || as_fn_error $? "could not create -" "$LINENO" 5
19709
20588
  fi
19710
20589
# Compute "$ac_file"'s index in $config_headers.
19970
20849
# turn newlines into spaces.
19971
20850
NL2SP=$lt_lt_NL2SP
19972
20851
 
 
20852
# convert \$build file names to \$host format.
 
20853
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
20854
 
 
20855
# convert \$build files to toolchain format.
 
20856
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
20857
 
19973
20858
# An object symbol dumper.
19974
20859
OBJDUMP=$lt_OBJDUMP
19975
20860
 
19976
20861
# Method to check whether dependent libraries are shared objects.
19977
20862
deplibs_check_method=$lt_deplibs_check_method
19978
20863
 
19979
 
# Command to use when deplibs_check_method == "file_magic".
 
20864
# Command to use when deplibs_check_method = "file_magic".
19980
20865
file_magic_cmd=$lt_file_magic_cmd
19981
20866
 
 
20867
# How to find potential files when deplibs_check_method = "file_magic".
 
20868
file_magic_glob=$lt_file_magic_glob
 
20869
 
 
20870
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
20871
want_nocaseglob=$lt_want_nocaseglob
 
20872
 
 
20873
# DLL creation program.
 
20874
DLLTOOL=$lt_DLLTOOL
 
20875
 
 
20876
# Command to associate shared and link libraries.
 
20877
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
20878
 
19982
20879
# The archiver.
19983
20880
AR=$lt_AR
 
20881
 
 
20882
# Flags to create an archive.
19984
20883
AR_FLAGS=$lt_AR_FLAGS
19985
20884
 
 
20885
# How to feed a file listing to the archiver.
 
20886
archiver_list_spec=$lt_archiver_list_spec
 
20887
 
19986
20888
# A symbol stripping program.
19987
20889
STRIP=$lt_STRIP
19988
20890
 
20012
20914
# Transform the output of nm in a C name address pair when lib prefix is needed.
20013
20915
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
20014
20916
 
 
20917
# Specify filename containing input files for \$NM.
 
20918
nm_file_list_spec=$lt_nm_file_list_spec
 
20919
 
 
20920
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
20921
lt_sysroot=$lt_sysroot
 
20922
 
20015
20923
# The name of the directory that contains temporary libtool files.
20016
20924
objdir=$objdir
20017
20925
 
20021
20929
# Must we lock files when doing compilation?
20022
20930
need_locks=$lt_need_locks
20023
20931
 
 
20932
# Manifest tool.
 
20933
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
20934
 
20024
20935
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
20025
20936
DSYMUTIL=$lt_DSYMUTIL
20026
20937
 
20135
21046
# Compiler flag to turn off builtin functions.
20136
21047
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
20137
21048
 
 
21049
# Additional compiler flags for building library objects.
 
21050
pic_flag=$lt_lt_prog_compiler_pic
 
21051
 
20138
21052
# How to pass a linker flag through the compiler.
20139
21053
wl=$lt_lt_prog_compiler_wl
20140
21054
 
20141
 
# Additional compiler flags for building library objects.
20142
 
pic_flag=$lt_lt_prog_compiler_pic
20143
 
 
20144
21055
# Compiler flag to prevent dynamic linking.
20145
21056
link_static_flag=$lt_lt_prog_compiler_static
20146
21057
 
20227
21138
# Whether libtool must link a program against all its dependency libraries.
20228
21139
link_all_deplibs=$link_all_deplibs
20229
21140
 
20230
 
# Fix the shell variable \$srcfile for the compiler.
20231
 
fix_srcfile_path=$lt_fix_srcfile_path
20232
 
 
20233
21141
# Set to "yes" if exported symbols are required.
20234
21142
always_export_symbols=$always_export_symbols
20235
21143
 
20245
21153
# Commands necessary for linking programs (against libraries) with templates.
20246
21154
prelink_cmds=$lt_prelink_cmds
20247
21155
 
 
21156
# Commands necessary for finishing linking programs.
 
21157
postlink_cmds=$lt_postlink_cmds
 
21158
 
20248
21159
# Specify filename containing input files.
20249
21160
file_list_spec=$lt_file_list_spec
20250
21161
 
20291
21202
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
20292
21203
  # text mode, it properly converts lines to CR/LF.  This bash problem
20293
21204
  # is reportedly fixed, but why not run on old versions too?
20294
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
20295
 
    || (rm -f "$cfgfile"; exit 1)
20296
 
 
20297
 
  case $xsi_shell in
20298
 
  yes)
20299
 
    cat << \_LT_EOF >> "$cfgfile"
20300
 
 
20301
 
# func_dirname file append nondir_replacement
20302
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20303
 
# otherwise set result to NONDIR_REPLACEMENT.
20304
 
func_dirname ()
20305
 
{
20306
 
  case ${1} in
20307
 
    */*) func_dirname_result="${1%/*}${2}" ;;
20308
 
    *  ) func_dirname_result="${3}" ;;
20309
 
  esac
20310
 
}
20311
 
 
20312
 
# func_basename file
20313
 
func_basename ()
20314
 
{
20315
 
  func_basename_result="${1##*/}"
20316
 
}
20317
 
 
20318
 
# func_dirname_and_basename file append nondir_replacement
20319
 
# perform func_basename and func_dirname in a single function
20320
 
# call:
20321
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
20322
 
#             add APPEND to the result, otherwise set result
20323
 
#             to NONDIR_REPLACEMENT.
20324
 
#             value returned in "$func_dirname_result"
20325
 
#   basename: Compute filename of FILE.
20326
 
#             value retuned in "$func_basename_result"
20327
 
# Implementation must be kept synchronized with func_dirname
20328
 
# and func_basename. For efficiency, we do not delegate to
20329
 
# those functions but instead duplicate the functionality here.
20330
 
func_dirname_and_basename ()
20331
 
{
20332
 
  case ${1} in
20333
 
    */*) func_dirname_result="${1%/*}${2}" ;;
20334
 
    *  ) func_dirname_result="${3}" ;;
20335
 
  esac
20336
 
  func_basename_result="${1##*/}"
20337
 
}
20338
 
 
20339
 
# func_stripname prefix suffix name
20340
 
# strip PREFIX and SUFFIX off of NAME.
20341
 
# PREFIX and SUFFIX must not contain globbing or regex special
20342
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
20343
 
# dot (in which case that matches only a dot).
20344
 
func_stripname ()
20345
 
{
20346
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
20347
 
  # positional parameters, so assign one to ordinary parameter first.
20348
 
  func_stripname_result=${3}
20349
 
  func_stripname_result=${func_stripname_result#"${1}"}
20350
 
  func_stripname_result=${func_stripname_result%"${2}"}
20351
 
}
20352
 
 
20353
 
# func_opt_split
20354
 
func_opt_split ()
20355
 
{
20356
 
  func_opt_split_opt=${1%%=*}
20357
 
  func_opt_split_arg=${1#*=}
20358
 
}
20359
 
 
20360
 
# func_lo2o object
20361
 
func_lo2o ()
20362
 
{
20363
 
  case ${1} in
20364
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
20365
 
    *)    func_lo2o_result=${1} ;;
20366
 
  esac
20367
 
}
20368
 
 
20369
 
# func_xform libobj-or-source
20370
 
func_xform ()
20371
 
{
20372
 
  func_xform_result=${1%.*}.lo
20373
 
}
20374
 
 
20375
 
# func_arith arithmetic-term...
20376
 
func_arith ()
20377
 
{
20378
 
  func_arith_result=$(( $* ))
20379
 
}
20380
 
 
20381
 
# func_len string
20382
 
# STRING may not start with a hyphen.
20383
 
func_len ()
20384
 
{
20385
 
  func_len_result=${#1}
20386
 
}
20387
 
 
20388
 
_LT_EOF
20389
 
    ;;
20390
 
  *) # Bourne compatible functions.
20391
 
    cat << \_LT_EOF >> "$cfgfile"
20392
 
 
20393
 
# func_dirname file append nondir_replacement
20394
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
20395
 
# otherwise set result to NONDIR_REPLACEMENT.
20396
 
func_dirname ()
20397
 
{
20398
 
  # Extract subdirectory from the argument.
20399
 
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
20400
 
  if test "X$func_dirname_result" = "X${1}"; then
20401
 
    func_dirname_result="${3}"
20402
 
  else
20403
 
    func_dirname_result="$func_dirname_result${2}"
20404
 
  fi
20405
 
}
20406
 
 
20407
 
# func_basename file
20408
 
func_basename ()
20409
 
{
20410
 
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
20411
 
}
20412
 
 
20413
 
 
20414
 
# func_stripname prefix suffix name
20415
 
# strip PREFIX and SUFFIX off of NAME.
20416
 
# PREFIX and SUFFIX must not contain globbing or regex special
20417
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
20418
 
# dot (in which case that matches only a dot).
20419
 
# func_strip_suffix prefix name
20420
 
func_stripname ()
20421
 
{
20422
 
  case ${2} in
20423
 
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
20424
 
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
20425
 
  esac
20426
 
}
20427
 
 
20428
 
# sed scripts:
20429
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
20430
 
my_sed_long_arg='1s/^-[^=]*=//'
20431
 
 
20432
 
# func_opt_split
20433
 
func_opt_split ()
20434
 
{
20435
 
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
20436
 
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
20437
 
}
20438
 
 
20439
 
# func_lo2o object
20440
 
func_lo2o ()
20441
 
{
20442
 
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
20443
 
}
20444
 
 
20445
 
# func_xform libobj-or-source
20446
 
func_xform ()
20447
 
{
20448
 
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
20449
 
}
20450
 
 
20451
 
# func_arith arithmetic-term...
20452
 
func_arith ()
20453
 
{
20454
 
  func_arith_result=`expr "$@"`
20455
 
}
20456
 
 
20457
 
# func_len string
20458
 
# STRING may not start with a hyphen.
20459
 
func_len ()
20460
 
{
20461
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
20462
 
}
20463
 
 
20464
 
_LT_EOF
20465
 
esac
20466
 
 
20467
 
case $lt_shell_append in
20468
 
  yes)
20469
 
    cat << \_LT_EOF >> "$cfgfile"
20470
 
 
20471
 
# func_append var value
20472
 
# Append VALUE to the end of shell variable VAR.
20473
 
func_append ()
20474
 
{
20475
 
  eval "$1+=\$2"
20476
 
}
20477
 
_LT_EOF
20478
 
    ;;
20479
 
  *)
20480
 
    cat << \_LT_EOF >> "$cfgfile"
20481
 
 
20482
 
# func_append var value
20483
 
# Append VALUE to the end of shell variable VAR.
20484
 
func_append ()
20485
 
{
20486
 
  eval "$1=\$$1\$2"
20487
 
}
20488
 
 
20489
 
_LT_EOF
20490
 
    ;;
20491
 
  esac
20492
 
 
20493
 
 
20494
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
20495
 
    || (rm -f "$cfgfile"; exit 1)
20496
 
 
20497
 
  mv -f "$cfgfile" "$ofile" ||
 
21205
  sed '$q' "$ltmain" >> "$cfgfile" \
 
21206
     || (rm -f "$cfgfile"; exit 1)
 
21207
 
 
21208
  if test x"$xsi_shell" = xyes; then
 
21209
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
21210
func_dirname ()\
 
21211
{\
 
21212
\    case ${1} in\
 
21213
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
21214
\      *  ) func_dirname_result="${3}" ;;\
 
21215
\    esac\
 
21216
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
21217
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21218
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21219
test 0 -eq $? || _lt_function_replace_fail=:
 
21220
 
 
21221
 
 
21222
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
21223
func_basename ()\
 
21224
{\
 
21225
\    func_basename_result="${1##*/}"\
 
21226
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
21227
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21228
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21229
test 0 -eq $? || _lt_function_replace_fail=:
 
21230
 
 
21231
 
 
21232
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
21233
func_dirname_and_basename ()\
 
21234
{\
 
21235
\    case ${1} in\
 
21236
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
21237
\      *  ) func_dirname_result="${3}" ;;\
 
21238
\    esac\
 
21239
\    func_basename_result="${1##*/}"\
 
21240
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
21241
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21242
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21243
test 0 -eq $? || _lt_function_replace_fail=:
 
21244
 
 
21245
 
 
21246
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
21247
func_stripname ()\
 
21248
{\
 
21249
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
21250
\    # positional parameters, so assign one to ordinary parameter first.\
 
21251
\    func_stripname_result=${3}\
 
21252
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
21253
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
21254
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
21255
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21256
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21257
test 0 -eq $? || _lt_function_replace_fail=:
 
21258
 
 
21259
 
 
21260
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
21261
func_split_long_opt ()\
 
21262
{\
 
21263
\    func_split_long_opt_name=${1%%=*}\
 
21264
\    func_split_long_opt_arg=${1#*=}\
 
21265
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
21266
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21267
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21268
test 0 -eq $? || _lt_function_replace_fail=:
 
21269
 
 
21270
 
 
21271
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
21272
func_split_short_opt ()\
 
21273
{\
 
21274
\    func_split_short_opt_arg=${1#??}\
 
21275
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
21276
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
21277
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21278
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21279
test 0 -eq $? || _lt_function_replace_fail=:
 
21280
 
 
21281
 
 
21282
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
21283
func_lo2o ()\
 
21284
{\
 
21285
\    case ${1} in\
 
21286
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
21287
\      *)    func_lo2o_result=${1} ;;\
 
21288
\    esac\
 
21289
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
21290
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21291
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21292
test 0 -eq $? || _lt_function_replace_fail=:
 
21293
 
 
21294
 
 
21295
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
21296
func_xform ()\
 
21297
{\
 
21298
    func_xform_result=${1%.*}.lo\
 
21299
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
21300
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21301
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21302
test 0 -eq $? || _lt_function_replace_fail=:
 
21303
 
 
21304
 
 
21305
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
21306
func_arith ()\
 
21307
{\
 
21308
    func_arith_result=$(( $* ))\
 
21309
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
21310
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21311
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21312
test 0 -eq $? || _lt_function_replace_fail=:
 
21313
 
 
21314
 
 
21315
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
21316
func_len ()\
 
21317
{\
 
21318
    func_len_result=${#1}\
 
21319
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
21320
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21321
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21322
test 0 -eq $? || _lt_function_replace_fail=:
 
21323
 
 
21324
fi
 
21325
 
 
21326
if test x"$lt_shell_append" = xyes; then
 
21327
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
21328
func_append ()\
 
21329
{\
 
21330
    eval "${1}+=\\${2}"\
 
21331
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
21332
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21333
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21334
test 0 -eq $? || _lt_function_replace_fail=:
 
21335
 
 
21336
 
 
21337
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
21338
func_append_quoted ()\
 
21339
{\
 
21340
\    func_quote_for_eval "${2}"\
 
21341
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
21342
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
21343
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21344
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21345
test 0 -eq $? || _lt_function_replace_fail=:
 
21346
 
 
21347
 
 
21348
  # Save a `func_append' function call where possible by direct use of '+='
 
21349
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
21350
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21351
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21352
  test 0 -eq $? || _lt_function_replace_fail=:
 
21353
else
 
21354
  # Save a `func_append' function call even when '+=' is not available
 
21355
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
21356
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
21357
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
21358
  test 0 -eq $? || _lt_function_replace_fail=:
 
21359
fi
 
21360
 
 
21361
if test x"$_lt_function_replace_fail" = x":"; then
 
21362
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
21363
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
21364
fi
 
21365
 
 
21366
 
 
21367
   mv -f "$cfgfile" "$ofile" ||
20498
21368
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
20499
21369
  chmod +x "$ofile"
20500
21370
 
20522
21392
# Compiler flag to turn off builtin functions.
20523
21393
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
20524
21394
 
 
21395
# Additional compiler flags for building library objects.
 
21396
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
21397
 
20525
21398
# How to pass a linker flag through the compiler.
20526
21399
wl=$lt_lt_prog_compiler_wl_CXX
20527
21400
 
20528
 
# Additional compiler flags for building library objects.
20529
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
20530
 
 
20531
21401
# Compiler flag to prevent dynamic linking.
20532
21402
link_static_flag=$lt_lt_prog_compiler_static_CXX
20533
21403
 
20614
21484
# Whether libtool must link a program against all its dependency libraries.
20615
21485
link_all_deplibs=$link_all_deplibs_CXX
20616
21486
 
20617
 
# Fix the shell variable \$srcfile for the compiler.
20618
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
20619
 
 
20620
21487
# Set to "yes" if exported symbols are required.
20621
21488
always_export_symbols=$always_export_symbols_CXX
20622
21489
 
20632
21499
# Commands necessary for linking programs (against libraries) with templates.
20633
21500
prelink_cmds=$lt_prelink_cmds_CXX
20634
21501
 
 
21502
# Commands necessary for finishing linking programs.
 
21503
postlink_cmds=$lt_postlink_cmds_CXX
 
21504
 
20635
21505
# Specify filename containing input files.
20636
21506
file_list_spec=$lt_file_list_spec_CXX
20637
21507