~ubuntu-branches/ubuntu/natty/gdm/natty

« back to all changes in this revision

Viewing changes to configure

  • Committer: Bazaar Package Importer
  • Author(s): Robert Ancell
  • Date: 2011-04-08 16:35:19 UTC
  • mfrom: (1.4.48 upstream)
  • Revision ID: james.westby@ubuntu.com-20110408163519-nd6602f2j3c2n2qc
Tags: 2.32.1-0ubuntu1
* New upstream release
* debian/patches/01git_xdmcp_ipv6.patch:
* debian/patches/43_CVE-2011-0727.patch:
  - Applied upstream

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 gdm 2.32.0.
 
3
# Generated by GNU Autoconf 2.68 for gdm 2.32.1.
4
4
#
5
5
# Report bugs to <http://bugzilla.gnome.org/enter_bug.cgi?product=gdm>.
6
6
#
91
91
IFS=" ""        $as_nl"
92
92
 
93
93
# Find who we are.  Look in the path if we contain no directory separator.
 
94
as_myself=
94
95
case $0 in #((
95
96
  *[\\/]* ) as_myself=$0 ;;
96
97
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
224
225
  # We cannot yet assume a decent shell, so we have to provide a
225
226
        # neutralization value for shells without unset; and this also
226
227
        # works around shells that cannot unset nonexistent variables.
 
228
        # Preserve -v and -x to the replacement shell.
227
229
        BASH_ENV=/dev/null
228
230
        ENV=/dev/null
229
231
        (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
230
232
        export CONFIG_SHELL
231
 
        exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
 
233
        case $- in # ((((
 
234
          *v*x* | *x*v* ) as_opts=-vx ;;
 
235
          *v* ) as_opts=-v ;;
 
236
          *x* ) as_opts=-x ;;
 
237
          * ) as_opts= ;;
 
238
        esac
 
239
        exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
232
240
fi
233
241
 
234
242
    if test x$as_have_required = xno; then :
563
571
# Identity of this package.
564
572
PACKAGE_NAME='gdm'
565
573
PACKAGE_TARNAME='gdm'
566
 
PACKAGE_VERSION='2.32.0'
567
 
PACKAGE_STRING='gdm 2.32.0'
 
574
PACKAGE_VERSION='2.32.1'
 
575
PACKAGE_STRING='gdm 2.32.1'
568
576
PACKAGE_BUGREPORT='http://bugzilla.gnome.org/enter_bug.cgi?product=gdm'
569
577
PACKAGE_URL=''
570
578
 
782
790
LIPO
783
791
NMEDIT
784
792
DSYMUTIL
 
793
MANIFEST_TOOL
785
794
RANLIB
 
795
ac_ct_AR
786
796
AR
 
797
DLLTOOL
787
798
OBJDUMP
788
799
LN_S
789
800
NM
903
914
with_pic
904
915
enable_fast_install
905
916
with_gnu_ld
 
917
with_sysroot
906
918
enable_libtool_lock
907
919
with_gnu_ld
908
920
enable_nls
1059
1071
  fi
1060
1072
 
1061
1073
  case $ac_option in
1062
 
  *=*)  ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1063
 
  *)    ac_optarg=yes ;;
 
1074
  *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
 
1075
  *=)   ac_optarg= ;;
 
1076
  *)    ac_optarg=yes ;;
1064
1077
  esac
1065
1078
 
1066
1079
  # Accept the important Cygnus configure options, so we can diagnose typos.
1400
1413
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1401
1414
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1402
1415
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1403
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1416
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1404
1417
    ;;
1405
1418
 
1406
1419
  esac
1538
1551
  # Omit some internal or obsolete options to make the list less imposing.
1539
1552
  # This message is too long to be a string in the A/UX 3.1 sh.
1540
1553
  cat <<_ACEOF
1541
 
\`configure' configures gdm 2.32.0 to adapt to many kinds of systems.
 
1554
\`configure' configures gdm 2.32.1 to adapt to many kinds of systems.
1542
1555
 
1543
1556
Usage: $0 [OPTION]... [VAR=VALUE]...
1544
1557
 
1612
1625
 
1613
1626
if test -n "$ac_init_help"; then
1614
1627
  case $ac_init_help in
1615
 
     short | recursive ) echo "Configuration of gdm 2.32.0:";;
 
1628
     short | recursive ) echo "Configuration of gdm 2.32.1:";;
1616
1629
   esac
1617
1630
  cat <<\_ACEOF
1618
1631
 
1656
1669
  --with-pic              try to use only PIC/non-PIC objects [default=use
1657
1670
                          both]
1658
1671
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1672
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1673
                        (or the compiler's sysroot if not specified).
1659
1674
  --with-help-dir=DIR     path to help docs
1660
1675
  --with-omf-dir=DIR      path to OMF files
1661
1676
  --with-help-formats=FORMATS
1835
1850
test -n "$ac_init_help" && exit $ac_status
1836
1851
if $ac_init_version; then
1837
1852
  cat <<\_ACEOF
1838
 
gdm configure 2.32.0
1839
 
generated by GNU Autoconf 2.66
 
1853
gdm configure 2.32.1
 
1854
generated by GNU Autoconf 2.68
1840
1855
 
1841
1856
Copyright (C) 2010 Free Software Foundation, Inc.
1842
1857
This configure script is free software; the Free Software Foundation
1882
1897
 
1883
1898
        ac_retval=1
1884
1899
fi
1885
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1900
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1886
1901
  as_fn_set_status $ac_retval
1887
1902
 
1888
1903
} # ac_fn_c_try_compile
1908
1923
    mv -f conftest.er1 conftest.err
1909
1924
  fi
1910
1925
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1911
 
  test $ac_status = 0; } >/dev/null && {
 
1926
  test $ac_status = 0; } > conftest.i && {
1912
1927
         test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1913
1928
         test ! -s conftest.err
1914
1929
       }; then :
1919
1934
 
1920
1935
    ac_retval=1
1921
1936
fi
1922
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1937
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923
1938
  as_fn_set_status $ac_retval
1924
1939
 
1925
1940
} # ac_fn_c_try_cpp
1932
1947
ac_fn_c_check_header_mongrel ()
1933
1948
{
1934
1949
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1935
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1950
  if eval \${$3+:} false; then :
1936
1951
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1937
1952
$as_echo_n "checking for $2... " >&6; }
1938
 
if eval "test \"\${$3+set}\"" = set; then :
 
1953
if eval \${$3+:} false; then :
1939
1954
  $as_echo_n "(cached) " >&6
1940
1955
fi
1941
1956
eval ac_res=\$$3
1971
1986
else
1972
1987
  ac_header_preproc=no
1973
1988
fi
1974
 
rm -f conftest.err conftest.$ac_ext
 
1989
rm -f conftest.err conftest.i conftest.$ac_ext
1975
1990
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1976
1991
$as_echo "$ac_header_preproc" >&6; }
1977
1992
 
2002
2017
esac
2003
2018
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2004
2019
$as_echo_n "checking for $2... " >&6; }
2005
 
if eval "test \"\${$3+set}\"" = set; then :
 
2020
if eval \${$3+:} false; then :
2006
2021
  $as_echo_n "(cached) " >&6
2007
2022
else
2008
2023
  eval "$3=\$ac_header_compiler"
2011
2026
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2012
2027
$as_echo "$ac_res" >&6; }
2013
2028
fi
2014
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2029
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2015
2030
 
2016
2031
} # ac_fn_c_check_header_mongrel
2017
2032
 
2052
2067
       ac_retval=$ac_status
2053
2068
fi
2054
2069
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2055
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2070
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2056
2071
  as_fn_set_status $ac_retval
2057
2072
 
2058
2073
} # ac_fn_c_try_run
2066
2081
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2067
2082
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2068
2083
$as_echo_n "checking for $2... " >&6; }
2069
 
if eval "test \"\${$3+set}\"" = set; then :
 
2084
if eval \${$3+:} false; then :
2070
2085
  $as_echo_n "(cached) " >&6
2071
2086
else
2072
2087
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2084
2099
eval ac_res=\$$3
2085
2100
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2086
2101
$as_echo "$ac_res" >&6; }
2087
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2102
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2088
2103
 
2089
2104
} # ac_fn_c_check_header_compile
2090
2105
 
2121
2136
 
2122
2137
        ac_retval=1
2123
2138
fi
2124
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2139
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2125
2140
  as_fn_set_status $ac_retval
2126
2141
 
2127
2142
} # ac_fn_cxx_try_compile
2167
2182
  # interfere with the next link command; also delete a directory that is
2168
2183
  # left behind by Apple's compiler.  We do this before executing the actions.
2169
2184
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2170
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2185
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2171
2186
  as_fn_set_status $ac_retval
2172
2187
 
2173
2188
} # ac_fn_c_try_link
2180
2195
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2181
2196
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2182
2197
$as_echo_n "checking for $2... " >&6; }
2183
 
if eval "test \"\${$3+set}\"" = set; then :
 
2198
if eval \${$3+:} false; then :
2184
2199
  $as_echo_n "(cached) " >&6
2185
2200
else
2186
2201
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2235
2250
eval ac_res=\$$3
2236
2251
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2237
2252
$as_echo "$ac_res" >&6; }
2238
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2253
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2239
2254
 
2240
2255
} # ac_fn_c_check_func
2241
2256
 
2260
2275
    mv -f conftest.er1 conftest.err
2261
2276
  fi
2262
2277
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2263
 
  test $ac_status = 0; } >/dev/null && {
 
2278
  test $ac_status = 0; } > conftest.i && {
2264
2279
         test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2265
2280
         test ! -s conftest.err
2266
2281
       }; then :
2271
2286
 
2272
2287
    ac_retval=1
2273
2288
fi
2274
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2289
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2275
2290
  as_fn_set_status $ac_retval
2276
2291
 
2277
2292
} # ac_fn_cxx_try_cpp
2317
2332
  # interfere with the next link command; also delete a directory that is
2318
2333
  # left behind by Apple's compiler.  We do this before executing the actions.
2319
2334
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2320
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2335
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2321
2336
  as_fn_set_status $ac_retval
2322
2337
 
2323
2338
} # ac_fn_cxx_try_link
2331
2346
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2332
2347
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2333
2348
$as_echo_n "checking for $2... " >&6; }
2334
 
if eval "test \"\${$3+set}\"" = set; then :
 
2349
if eval \${$3+:} false; then :
2335
2350
  $as_echo_n "(cached) " >&6
2336
2351
else
2337
2352
  eval "$3=no"
2372
2387
eval ac_res=\$$3
2373
2388
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2374
2389
$as_echo "$ac_res" >&6; }
2375
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2390
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2376
2391
 
2377
2392
} # ac_fn_c_check_type
2378
2393
cat >config.log <<_ACEOF
2379
2394
This file contains any messages produced by compilers while
2380
2395
running configure, to aid debugging if configure makes a mistake.
2381
2396
 
2382
 
It was created by gdm $as_me 2.32.0, which was
2383
 
generated by GNU Autoconf 2.66.  Invocation command line was
 
2397
It was created by gdm $as_me 2.32.1, which was
 
2398
generated by GNU Autoconf 2.68.  Invocation command line was
2384
2399
 
2385
2400
  $ $0 $@
2386
2401
 
2778
2793
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2779
2794
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2780
2795
if test -z "$INSTALL"; then
2781
 
if test "${ac_cv_path_install+set}" = set; then :
 
2796
if ${ac_cv_path_install+:} false; then :
2782
2797
  $as_echo_n "(cached) " >&6
2783
2798
else
2784
2799
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955
2970
set dummy ${ac_tool_prefix}strip; ac_word=$2
2956
2971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2957
2972
$as_echo_n "checking for $ac_word... " >&6; }
2958
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2973
if ${ac_cv_prog_STRIP+:} false; then :
2959
2974
  $as_echo_n "(cached) " >&6
2960
2975
else
2961
2976
  if test -n "$STRIP"; then
2995
3010
set dummy strip; ac_word=$2
2996
3011
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2997
3012
$as_echo_n "checking for $ac_word... " >&6; }
2998
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3013
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2999
3014
  $as_echo_n "(cached) " >&6
3000
3015
else
3001
3016
  if test -n "$ac_ct_STRIP"; then
3048
3063
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3049
3064
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3050
3065
if test -z "$MKDIR_P"; then
3051
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3066
  if ${ac_cv_path_mkdir+:} false; then :
3052
3067
  $as_echo_n "(cached) " >&6
3053
3068
else
3054
3069
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3099
3114
set dummy $ac_prog; ac_word=$2
3100
3115
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101
3116
$as_echo_n "checking for $ac_word... " >&6; }
3102
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3117
if ${ac_cv_prog_AWK+:} false; then :
3103
3118
  $as_echo_n "(cached) " >&6
3104
3119
else
3105
3120
  if test -n "$AWK"; then
3139
3154
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3140
3155
set x ${MAKE-make}
3141
3156
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3142
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3157
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3143
3158
  $as_echo_n "(cached) " >&6
3144
3159
else
3145
3160
  cat >conftest.make <<\_ACEOF
3197
3212
 
3198
3213
# Define the identity of the package.
3199
3214
 PACKAGE='gdm'
3200
 
 VERSION='2.32.0'
 
3215
 VERSION='2.32.1'
3201
3216
 
3202
3217
 
3203
3218
cat >>confdefs.h <<_ACEOF
3346
3361
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3347
3362
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3348
3363
$as_echo_n "checking for $ac_word... " >&6; }
3349
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3364
if ${ac_cv_prog_CC+:} false; then :
3350
3365
  $as_echo_n "(cached) " >&6
3351
3366
else
3352
3367
  if test -n "$CC"; then
3386
3401
set dummy gcc; ac_word=$2
3387
3402
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3388
3403
$as_echo_n "checking for $ac_word... " >&6; }
3389
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3404
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3390
3405
  $as_echo_n "(cached) " >&6
3391
3406
else
3392
3407
  if test -n "$ac_ct_CC"; then
3439
3454
set dummy ${ac_tool_prefix}cc; ac_word=$2
3440
3455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3441
3456
$as_echo_n "checking for $ac_word... " >&6; }
3442
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3457
if ${ac_cv_prog_CC+:} false; then :
3443
3458
  $as_echo_n "(cached) " >&6
3444
3459
else
3445
3460
  if test -n "$CC"; then
3479
3494
set dummy cc; ac_word=$2
3480
3495
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3481
3496
$as_echo_n "checking for $ac_word... " >&6; }
3482
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3497
if ${ac_cv_prog_CC+:} false; then :
3483
3498
  $as_echo_n "(cached) " >&6
3484
3499
else
3485
3500
  if test -n "$CC"; then
3538
3553
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3539
3554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540
3555
$as_echo_n "checking for $ac_word... " >&6; }
3541
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3556
if ${ac_cv_prog_CC+:} false; then :
3542
3557
  $as_echo_n "(cached) " >&6
3543
3558
else
3544
3559
  if test -n "$CC"; then
3582
3597
set dummy $ac_prog; ac_word=$2
3583
3598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3584
3599
$as_echo_n "checking for $ac_word... " >&6; }
3585
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3600
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3586
3601
  $as_echo_n "(cached) " >&6
3587
3602
else
3588
3603
  if test -n "$ac_ct_CC"; then
3865
3880
ac_clean_files=$ac_clean_files_save
3866
3881
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3867
3882
$as_echo_n "checking for suffix of object files... " >&6; }
3868
 
if test "${ac_cv_objext+set}" = set; then :
 
3883
if ${ac_cv_objext+:} false; then :
3869
3884
  $as_echo_n "(cached) " >&6
3870
3885
else
3871
3886
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3916
3931
ac_objext=$OBJEXT
3917
3932
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3918
3933
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3919
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3934
if ${ac_cv_c_compiler_gnu+:} false; then :
3920
3935
  $as_echo_n "(cached) " >&6
3921
3936
else
3922
3937
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3953
3968
ac_save_CFLAGS=$CFLAGS
3954
3969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3955
3970
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3956
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3971
if ${ac_cv_prog_cc_g+:} false; then :
3957
3972
  $as_echo_n "(cached) " >&6
3958
3973
else
3959
3974
  ac_save_c_werror_flag=$ac_c_werror_flag
4031
4046
fi
4032
4047
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4033
4048
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4034
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4049
if ${ac_cv_prog_cc_c89+:} false; then :
4035
4050
  $as_echo_n "(cached) " >&6
4036
4051
else
4037
4052
  ac_cv_prog_cc_c89=no
4130
4145
 
4131
4146
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4132
4147
$as_echo_n "checking dependency style of $depcc... " >&6; }
4133
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4148
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4134
4149
  $as_echo_n "(cached) " >&6
4135
4150
else
4136
4151
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4266
4281
  CPP=
4267
4282
fi
4268
4283
if test -z "$CPP"; then
4269
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4284
  if ${ac_cv_prog_CPP+:} false; then :
4270
4285
  $as_echo_n "(cached) " >&6
4271
4286
else
4272
4287
      # Double quotes because CPP needs to be expanded
4296
4311
  # Broken: fails on valid input.
4297
4312
continue
4298
4313
fi
4299
 
rm -f conftest.err conftest.$ac_ext
 
4314
rm -f conftest.err conftest.i conftest.$ac_ext
4300
4315
 
4301
4316
  # OK, works on sane cases.  Now check whether nonexistent headers
4302
4317
  # can be detected and how.
4312
4327
ac_preproc_ok=:
4313
4328
break
4314
4329
fi
4315
 
rm -f conftest.err conftest.$ac_ext
 
4330
rm -f conftest.err conftest.i conftest.$ac_ext
4316
4331
 
4317
4332
done
4318
4333
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4319
 
rm -f conftest.err conftest.$ac_ext
 
4334
rm -f conftest.i conftest.err conftest.$ac_ext
4320
4335
if $ac_preproc_ok; then :
4321
4336
  break
4322
4337
fi
4355
4370
  # Broken: fails on valid input.
4356
4371
continue
4357
4372
fi
4358
 
rm -f conftest.err conftest.$ac_ext
 
4373
rm -f conftest.err conftest.i conftest.$ac_ext
4359
4374
 
4360
4375
  # OK, works on sane cases.  Now check whether nonexistent headers
4361
4376
  # can be detected and how.
4371
4386
ac_preproc_ok=:
4372
4387
break
4373
4388
fi
4374
 
rm -f conftest.err conftest.$ac_ext
 
4389
rm -f conftest.err conftest.i conftest.$ac_ext
4375
4390
 
4376
4391
done
4377
4392
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4378
 
rm -f conftest.err conftest.$ac_ext
 
4393
rm -f conftest.i conftest.err conftest.$ac_ext
4379
4394
if $ac_preproc_ok; then :
4380
4395
 
4381
4396
else
4394
4409
 
4395
4410
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4396
4411
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4397
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4412
if ${ac_cv_path_GREP+:} false; then :
4398
4413
  $as_echo_n "(cached) " >&6
4399
4414
else
4400
4415
  if test -z "$GREP"; then
4457
4472
 
4458
4473
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4459
4474
$as_echo_n "checking for egrep... " >&6; }
4460
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4475
if ${ac_cv_path_EGREP+:} false; then :
4461
4476
  $as_echo_n "(cached) " >&6
4462
4477
else
4463
4478
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4524
4539
 
4525
4540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4526
4541
$as_echo_n "checking for ANSI C header files... " >&6; }
4527
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4542
if ${ac_cv_header_stdc+:} false; then :
4528
4543
  $as_echo_n "(cached) " >&6
4529
4544
else
4530
4545
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653
4668
 
4654
4669
 
4655
4670
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4656
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
4671
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4657
4672
  MINIX=yes
4658
4673
else
4659
4674
  MINIX=
4675
4690
 
4676
4691
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4677
4692
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4678
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
4693
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4679
4694
  $as_echo_n "(cached) " >&6
4680
4695
else
4681
4696
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4716
4731
 
4717
4732
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4718
4733
$as_echo_n "checking for ANSI C header files... " >&6; }
4719
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4734
if ${ac_cv_header_stdc+:} false; then :
4720
4735
  $as_echo_n "(cached) " >&6
4721
4736
else
4722
4737
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4842
4857
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4843
4858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4844
4859
$as_echo_n "checking for $ac_word... " >&6; }
4845
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
4860
if ${ac_cv_prog_CXX+:} false; then :
4846
4861
  $as_echo_n "(cached) " >&6
4847
4862
else
4848
4863
  if test -n "$CXX"; then
4886
4901
set dummy $ac_prog; ac_word=$2
4887
4902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4888
4903
$as_echo_n "checking for $ac_word... " >&6; }
4889
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
4904
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4890
4905
  $as_echo_n "(cached) " >&6
4891
4906
else
4892
4907
  if test -n "$ac_ct_CXX"; then
4964
4979
 
4965
4980
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4966
4981
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4967
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
4982
if ${ac_cv_cxx_compiler_gnu+:} false; then :
4968
4983
  $as_echo_n "(cached) " >&6
4969
4984
else
4970
4985
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5001
5016
ac_save_CXXFLAGS=$CXXFLAGS
5002
5017
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5003
5018
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
5004
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
5019
if ${ac_cv_prog_cxx_g+:} false; then :
5005
5020
  $as_echo_n "(cached) " >&6
5006
5021
else
5007
5022
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5087
5102
 
5088
5103
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5089
5104
$as_echo_n "checking dependency style of $depcc... " >&6; }
5090
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
5105
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
5091
5106
  $as_echo_n "(cached) " >&6
5092
5107
else
5093
5108
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5219
5234
fi
5220
5235
set dummy $CC; ac_cc=`$as_echo "$2" |
5221
5236
                      sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
5222
 
if eval "test \"\${ac_cv_prog_cc_${ac_cc}_c_o+set}\"" = set; then :
 
5237
if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
5223
5238
  $as_echo_n "(cached) " >&6
5224
5239
else
5225
5240
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344
5359
 
5345
5360
 
5346
5361
 
5347
 
macro_version='2.2.10'
5348
 
macro_revision='1.3175'
 
5362
macro_version='2.4'
 
5363
macro_revision='1.3293'
5349
5364
 
5350
5365
 
5351
5366
 
5367
5382
 
5368
5383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5369
5384
$as_echo_n "checking build system type... " >&6; }
5370
 
if test "${ac_cv_build+set}" = set; then :
 
5385
if ${ac_cv_build+:} false; then :
5371
5386
  $as_echo_n "(cached) " >&6
5372
5387
else
5373
5388
  ac_build_alias=$build_alias
5401
5416
 
5402
5417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5403
5418
$as_echo_n "checking host system type... " >&6; }
5404
 
if test "${ac_cv_host+set}" = set; then :
 
5419
if ${ac_cv_host+:} false; then :
5405
5420
  $as_echo_n "(cached) " >&6
5406
5421
else
5407
5422
  if test "x$host_alias" = x; then
5456
5471
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5457
5472
$as_echo_n "checking how to print strings... " >&6; }
5458
5473
# Test print first, because it will be a builtin if present.
5459
 
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
5474
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5460
5475
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5461
5476
  ECHO='print -r --'
5462
5477
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5503
5518
 
5504
5519
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5505
5520
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5506
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5521
if ${ac_cv_path_SED+:} false; then :
5507
5522
  $as_echo_n "(cached) " >&6
5508
5523
else
5509
5524
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5585
5600
 
5586
5601
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5587
5602
$as_echo_n "checking for fgrep... " >&6; }
5588
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5603
if ${ac_cv_path_FGREP+:} false; then :
5589
5604
  $as_echo_n "(cached) " >&6
5590
5605
else
5591
5606
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5716
5731
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5717
5732
$as_echo_n "checking for non-GNU ld... " >&6; }
5718
5733
fi
5719
 
if test "${lt_cv_path_LD+set}" = set; then :
 
5734
if ${lt_cv_path_LD+:} false; then :
5720
5735
  $as_echo_n "(cached) " >&6
5721
5736
else
5722
5737
  if test -z "$LD"; then
5756
5771
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5757
5772
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5758
5773
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5759
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5774
if ${lt_cv_prog_gnu_ld+:} false; then :
5760
5775
  $as_echo_n "(cached) " >&6
5761
5776
else
5762
5777
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5783
5798
 
5784
5799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5785
5800
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5786
 
if test "${lt_cv_path_NM+set}" = set; then :
 
5801
if ${lt_cv_path_NM+:} false; then :
5787
5802
  $as_echo_n "(cached) " >&6
5788
5803
else
5789
5804
  if test -n "$NM"; then
5846
5861
set dummy $ac_tool_prefix$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_DUMPBIN+set}" = set; then :
 
5864
if ${ac_cv_prog_DUMPBIN+:} false; then :
5850
5865
  $as_echo_n "(cached) " >&6
5851
5866
else
5852
5867
  if test -n "$DUMPBIN"; then
5890
5905
set dummy $ac_prog; ac_word=$2
5891
5906
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5892
5907
$as_echo_n "checking for $ac_word... " >&6; }
5893
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5908
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5894
5909
  $as_echo_n "(cached) " >&6
5895
5910
else
5896
5911
  if test -n "$ac_ct_DUMPBIN"; then
5962
5977
 
5963
5978
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5964
5979
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5965
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
5980
if ${lt_cv_nm_interface+:} false; then :
5966
5981
  $as_echo_n "(cached) " >&6
5967
5982
else
5968
5983
  lt_cv_nm_interface="BSD nm"
5997
6012
# find the maximum length of command line arguments
5998
6013
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5999
6014
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
6000
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
6015
if ${lt_cv_sys_max_cmd_len+:} false; then :
6001
6016
  $as_echo_n "(cached) " >&6
6002
6017
else
6003
6018
    i=0
6142
6157
# Try some XSI features
6143
6158
xsi_shell=no
6144
6159
( _lt_dummy="a/b/c"
6145
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6146
 
      = c,a/b,, \
 
6160
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
6161
      = c,a/b,b/c, \
6147
6162
    && eval 'test $(( 1 + 1 )) -eq 2 \
6148
6163
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6149
6164
  && xsi_shell=yes
6192
6207
 
6193
6208
 
6194
6209
 
 
6210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
6211
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
6212
if ${lt_cv_to_host_file_cmd+:} false; then :
 
6213
  $as_echo_n "(cached) " >&6
 
6214
else
 
6215
  case $host in
 
6216
  *-*-mingw* )
 
6217
    case $build in
 
6218
      *-*-mingw* ) # actually msys
 
6219
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
6220
        ;;
 
6221
      *-*-cygwin* )
 
6222
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
6223
        ;;
 
6224
      * ) # otherwise, assume *nix
 
6225
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
6226
        ;;
 
6227
    esac
 
6228
    ;;
 
6229
  *-*-cygwin* )
 
6230
    case $build in
 
6231
      *-*-mingw* ) # actually msys
 
6232
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
6233
        ;;
 
6234
      *-*-cygwin* )
 
6235
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
6236
        ;;
 
6237
      * ) # otherwise, assume *nix
 
6238
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
6239
        ;;
 
6240
    esac
 
6241
    ;;
 
6242
  * ) # unhandled hosts (and "normal" native builds)
 
6243
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
6244
    ;;
 
6245
esac
 
6246
 
 
6247
fi
 
6248
 
 
6249
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
6250
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
6251
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
6252
 
 
6253
 
 
6254
 
 
6255
 
 
6256
 
 
6257
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
6258
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
6259
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
6260
  $as_echo_n "(cached) " >&6
 
6261
else
 
6262
  #assume ordinary cross tools, or native build.
 
6263
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
6264
case $host in
 
6265
  *-*-mingw* )
 
6266
    case $build in
 
6267
      *-*-mingw* ) # actually msys
 
6268
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
6269
        ;;
 
6270
    esac
 
6271
    ;;
 
6272
esac
 
6273
 
 
6274
fi
 
6275
 
 
6276
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
6277
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
6278
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
6279
 
 
6280
 
 
6281
 
 
6282
 
 
6283
 
6195
6284
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6196
6285
$as_echo_n "checking for $LD option to reload object files... " >&6; }
6197
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
6286
if ${lt_cv_ld_reload_flag+:} false; then :
6198
6287
  $as_echo_n "(cached) " >&6
6199
6288
else
6200
6289
  lt_cv_ld_reload_flag='-r'
6208
6297
esac
6209
6298
reload_cmds='$LD$reload_flag -o $output$reload_objs'
6210
6299
case $host_os in
 
6300
  cygwin* | mingw* | pw32* | cegcc*)
 
6301
    if test "$GCC" != yes; then
 
6302
      reload_cmds=false
 
6303
    fi
 
6304
    ;;
6211
6305
  darwin*)
6212
6306
    if test "$GCC" = yes; then
6213
6307
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6230
6324
set dummy ${ac_tool_prefix}objdump; ac_word=$2
6231
6325
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6232
6326
$as_echo_n "checking for $ac_word... " >&6; }
6233
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
6327
if ${ac_cv_prog_OBJDUMP+:} false; then :
6234
6328
  $as_echo_n "(cached) " >&6
6235
6329
else
6236
6330
  if test -n "$OBJDUMP"; then
6270
6364
set dummy objdump; ac_word=$2
6271
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6272
6366
$as_echo_n "checking for $ac_word... " >&6; }
6273
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
6367
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6274
6368
  $as_echo_n "(cached) " >&6
6275
6369
else
6276
6370
  if test -n "$ac_ct_OBJDUMP"; then
6329
6423
 
6330
6424
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6331
6425
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
6332
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6426
if ${lt_cv_deplibs_check_method+:} false; then :
6333
6427
  $as_echo_n "(cached) " >&6
6334
6428
else
6335
6429
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6531
6625
fi
6532
6626
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6533
6627
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6628
 
 
6629
file_magic_glob=
 
6630
want_nocaseglob=no
 
6631
if test "$build" = "$host"; then
 
6632
  case $host_os in
 
6633
  mingw* | pw32*)
 
6634
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6635
      want_nocaseglob=yes
 
6636
    else
 
6637
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6638
    fi
 
6639
    ;;
 
6640
  esac
 
6641
fi
 
6642
 
6534
6643
file_magic_cmd=$lt_cv_file_magic_cmd
6535
6644
deplibs_check_method=$lt_cv_deplibs_check_method
6536
6645
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6546
6655
 
6547
6656
 
6548
6657
 
6549
 
if test -n "$ac_tool_prefix"; then
6550
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6551
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6552
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6553
 
$as_echo_n "checking for $ac_word... " >&6; }
6554
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
6658
 
 
6659
 
 
6660
 
 
6661
 
 
6662
 
 
6663
 
 
6664
 
 
6665
 
 
6666
 
 
6667
 
 
6668
if test -n "$ac_tool_prefix"; then
 
6669
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6670
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6671
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6672
$as_echo_n "checking for $ac_word... " >&6; }
 
6673
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
6674
  $as_echo_n "(cached) " >&6
 
6675
else
 
6676
  if test -n "$DLLTOOL"; then
 
6677
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6678
else
 
6679
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6680
for as_dir in $PATH
 
6681
do
 
6682
  IFS=$as_save_IFS
 
6683
  test -z "$as_dir" && as_dir=.
 
6684
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6685
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6686
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6687
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6688
    break 2
 
6689
  fi
 
6690
done
 
6691
  done
 
6692
IFS=$as_save_IFS
 
6693
 
 
6694
fi
 
6695
fi
 
6696
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6697
if test -n "$DLLTOOL"; then
 
6698
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6699
$as_echo "$DLLTOOL" >&6; }
 
6700
else
 
6701
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6702
$as_echo "no" >&6; }
 
6703
fi
 
6704
 
 
6705
 
 
6706
fi
 
6707
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6708
  ac_ct_DLLTOOL=$DLLTOOL
 
6709
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6710
set dummy dlltool; ac_word=$2
 
6711
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6712
$as_echo_n "checking for $ac_word... " >&6; }
 
6713
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6714
  $as_echo_n "(cached) " >&6
 
6715
else
 
6716
  if test -n "$ac_ct_DLLTOOL"; then
 
6717
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6718
else
 
6719
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6720
for as_dir in $PATH
 
6721
do
 
6722
  IFS=$as_save_IFS
 
6723
  test -z "$as_dir" && as_dir=.
 
6724
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6725
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6726
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6727
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6728
    break 2
 
6729
  fi
 
6730
done
 
6731
  done
 
6732
IFS=$as_save_IFS
 
6733
 
 
6734
fi
 
6735
fi
 
6736
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6737
if test -n "$ac_ct_DLLTOOL"; then
 
6738
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6739
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6740
else
 
6741
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6742
$as_echo "no" >&6; }
 
6743
fi
 
6744
 
 
6745
  if test "x$ac_ct_DLLTOOL" = x; then
 
6746
    DLLTOOL="false"
 
6747
  else
 
6748
    case $cross_compiling:$ac_tool_warned in
 
6749
yes:)
 
6750
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6751
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6752
ac_tool_warned=yes ;;
 
6753
esac
 
6754
    DLLTOOL=$ac_ct_DLLTOOL
 
6755
  fi
 
6756
else
 
6757
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6758
fi
 
6759
 
 
6760
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6761
 
 
6762
 
 
6763
 
 
6764
 
 
6765
 
 
6766
 
 
6767
 
 
6768
 
 
6769
 
 
6770
 
 
6771
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6772
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6773
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
6774
  $as_echo_n "(cached) " >&6
 
6775
else
 
6776
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6777
 
 
6778
case $host_os in
 
6779
cygwin* | mingw* | pw32* | cegcc*)
 
6780
  # two different shell functions defined in ltmain.sh
 
6781
  # decide which to use based on capabilities of $DLLTOOL
 
6782
  case `$DLLTOOL --help 2>&1` in
 
6783
  *--identify-strict*)
 
6784
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6785
    ;;
 
6786
  *)
 
6787
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6788
    ;;
 
6789
  esac
 
6790
  ;;
 
6791
*)
 
6792
  # fallback: assume linklib IS sharedlib
 
6793
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6794
  ;;
 
6795
esac
 
6796
 
 
6797
fi
 
6798
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6799
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6800
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6801
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6802
 
 
6803
 
 
6804
 
 
6805
 
 
6806
 
 
6807
 
 
6808
 
 
6809
if test -n "$ac_tool_prefix"; then
 
6810
  for ac_prog in ar
 
6811
  do
 
6812
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6813
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6814
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6815
$as_echo_n "checking for $ac_word... " >&6; }
 
6816
if ${ac_cv_prog_AR+:} false; then :
6555
6817
  $as_echo_n "(cached) " >&6
6556
6818
else
6557
6819
  if test -n "$AR"; then
6564
6826
  test -z "$as_dir" && as_dir=.
6565
6827
    for ac_exec_ext in '' $ac_executable_extensions; do
6566
6828
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6567
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6829
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6568
6830
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6569
6831
    break 2
6570
6832
  fi
6584
6846
fi
6585
6847
 
6586
6848
 
 
6849
    test -n "$AR" && break
 
6850
  done
6587
6851
fi
6588
 
if test -z "$ac_cv_prog_AR"; then
 
6852
if test -z "$AR"; then
6589
6853
  ac_ct_AR=$AR
6590
 
  # Extract the first word of "ar", so it can be a program name with args.
6591
 
set dummy ar; ac_word=$2
 
6854
  for ac_prog in ar
 
6855
do
 
6856
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6857
set dummy $ac_prog; ac_word=$2
6592
6858
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6593
6859
$as_echo_n "checking for $ac_word... " >&6; }
6594
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6860
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6595
6861
  $as_echo_n "(cached) " >&6
6596
6862
else
6597
6863
  if test -n "$ac_ct_AR"; then
6604
6870
  test -z "$as_dir" && as_dir=.
6605
6871
    for ac_exec_ext in '' $ac_executable_extensions; do
6606
6872
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6607
 
    ac_cv_prog_ac_ct_AR="ar"
 
6873
    ac_cv_prog_ac_ct_AR="$ac_prog"
6608
6874
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6609
6875
    break 2
6610
6876
  fi
6623
6889
$as_echo "no" >&6; }
6624
6890
fi
6625
6891
 
 
6892
 
 
6893
  test -n "$ac_ct_AR" && break
 
6894
done
 
6895
 
6626
6896
  if test "x$ac_ct_AR" = x; then
6627
6897
    AR="false"
6628
6898
  else
6634
6904
esac
6635
6905
    AR=$ac_ct_AR
6636
6906
  fi
6637
 
else
6638
 
  AR="$ac_cv_prog_AR"
6639
 
fi
6640
 
 
6641
 
test -z "$AR" && AR=ar
6642
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6643
 
 
6644
 
 
6645
 
 
6646
 
 
 
6907
fi
 
6908
 
 
6909
: ${AR=ar}
 
6910
: ${AR_FLAGS=cru}
 
6911
 
 
6912
 
 
6913
 
 
6914
 
 
6915
 
 
6916
 
 
6917
 
 
6918
 
 
6919
 
 
6920
 
 
6921
 
 
6922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6923
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6924
if ${lt_cv_ar_at_file+:} false; then :
 
6925
  $as_echo_n "(cached) " >&6
 
6926
else
 
6927
  lt_cv_ar_at_file=no
 
6928
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6929
/* end confdefs.h.  */
 
6930
 
 
6931
int
 
6932
main ()
 
6933
{
 
6934
 
 
6935
  ;
 
6936
  return 0;
 
6937
}
 
6938
_ACEOF
 
6939
if ac_fn_c_try_compile "$LINENO"; then :
 
6940
  echo conftest.$ac_objext > conftest.lst
 
6941
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6942
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6943
  (eval $lt_ar_try) 2>&5
 
6944
  ac_status=$?
 
6945
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6946
  test $ac_status = 0; }
 
6947
      if test "$ac_status" -eq 0; then
 
6948
        # Ensure the archiver fails upon bogus file names.
 
6949
        rm -f conftest.$ac_objext libconftest.a
 
6950
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6951
  (eval $lt_ar_try) 2>&5
 
6952
  ac_status=$?
 
6953
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6954
  test $ac_status = 0; }
 
6955
        if test "$ac_status" -ne 0; then
 
6956
          lt_cv_ar_at_file=@
 
6957
        fi
 
6958
      fi
 
6959
      rm -f conftest.* libconftest.a
 
6960
 
 
6961
fi
 
6962
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6963
 
 
6964
fi
 
6965
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6966
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6967
 
 
6968
if test "x$lt_cv_ar_at_file" = xno; then
 
6969
  archiver_list_spec=
 
6970
else
 
6971
  archiver_list_spec=$lt_cv_ar_at_file
 
6972
fi
6647
6973
 
6648
6974
 
6649
6975
 
6656
6982
set dummy ${ac_tool_prefix}strip; ac_word=$2
6657
6983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6658
6984
$as_echo_n "checking for $ac_word... " >&6; }
6659
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6985
if ${ac_cv_prog_STRIP+:} false; then :
6660
6986
  $as_echo_n "(cached) " >&6
6661
6987
else
6662
6988
  if test -n "$STRIP"; then
6696
7022
set dummy strip; ac_word=$2
6697
7023
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698
7024
$as_echo_n "checking for $ac_word... " >&6; }
6699
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
7025
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6700
7026
  $as_echo_n "(cached) " >&6
6701
7027
else
6702
7028
  if test -n "$ac_ct_STRIP"; then
6755
7081
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6756
7082
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6757
7083
$as_echo_n "checking for $ac_word... " >&6; }
6758
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
7084
if ${ac_cv_prog_RANLIB+:} false; then :
6759
7085
  $as_echo_n "(cached) " >&6
6760
7086
else
6761
7087
  if test -n "$RANLIB"; then
6795
7121
set dummy ranlib; ac_word=$2
6796
7122
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6797
7123
$as_echo_n "checking for $ac_word... " >&6; }
6798
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
7124
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6799
7125
  $as_echo_n "(cached) " >&6
6800
7126
else
6801
7127
  if test -n "$ac_ct_RANLIB"; then
6924
7250
# Check for command to grab the raw symbol name followed by C symbol from nm.
6925
7251
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6926
7252
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6927
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
7253
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6928
7254
  $as_echo_n "(cached) " >&6
6929
7255
else
6930
7256
 
6985
7311
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6986
7312
 
6987
7313
# Transform an extracted symbol line into symbol name and symbol address
6988
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6989
 
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'"
 
7314
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
7315
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'"
6990
7316
 
6991
7317
# Handle CRLF in mingw tool chain
6992
7318
opt_cr=
7022
7348
  else
7023
7349
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7024
7350
  fi
 
7351
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
7025
7352
 
7026
7353
  # Check to see that the pipe works correctly.
7027
7354
  pipe_works=no
7063
7390
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7064
7391
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7065
7392
          cat <<_LT_EOF > conftest.$ac_ext
 
7393
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7394
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7395
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7396
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7397
# define LT_DLSYM_CONST
 
7398
#elif defined(__osf__)
 
7399
/* This system does not cope well with relocations in const data.  */
 
7400
# define LT_DLSYM_CONST
 
7401
#else
 
7402
# define LT_DLSYM_CONST const
 
7403
#endif
 
7404
 
7066
7405
#ifdef __cplusplus
7067
7406
extern "C" {
7068
7407
#endif
7074
7413
          cat <<_LT_EOF >> conftest.$ac_ext
7075
7414
 
7076
7415
/* The mapping between symbol names and symbols.  */
7077
 
const struct {
 
7416
LT_DLSYM_CONST struct {
7078
7417
  const char *name;
7079
7418
  void       *address;
7080
7419
}
7100
7439
_LT_EOF
7101
7440
          # Now try linking the two files.
7102
7441
          mv conftest.$ac_objext conftstm.$ac_objext
7103
 
          lt_save_LIBS="$LIBS"
7104
 
          lt_save_CFLAGS="$CFLAGS"
 
7442
          lt_globsym_save_LIBS=$LIBS
 
7443
          lt_globsym_save_CFLAGS=$CFLAGS
7105
7444
          LIBS="conftstm.$ac_objext"
7106
7445
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7107
7446
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7111
7450
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7112
7451
            pipe_works=yes
7113
7452
          fi
7114
 
          LIBS="$lt_save_LIBS"
7115
 
          CFLAGS="$lt_save_CFLAGS"
 
7453
          LIBS=$lt_globsym_save_LIBS
 
7454
          CFLAGS=$lt_globsym_save_CFLAGS
7116
7455
        else
7117
7456
          echo "cannot find nm_test_func in $nlist" >&5
7118
7457
        fi
7149
7488
$as_echo "ok" >&6; }
7150
7489
fi
7151
7490
 
7152
 
 
7153
 
 
7154
 
 
7155
 
 
7156
 
 
7157
 
 
7158
 
 
7159
 
 
7160
 
 
7161
 
 
7162
 
 
7163
 
 
7164
 
 
7165
 
 
7166
 
 
7167
 
 
 
7491
# Response file support.
 
7492
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7493
  nm_file_list_spec='@'
 
7494
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7495
  nm_file_list_spec='@'
 
7496
fi
 
7497
 
 
7498
 
 
7499
 
 
7500
 
 
7501
 
 
7502
 
 
7503
 
 
7504
 
 
7505
 
 
7506
 
 
7507
 
 
7508
 
 
7509
 
 
7510
 
 
7511
 
 
7512
 
 
7513
 
 
7514
 
 
7515
 
 
7516
 
 
7517
 
 
7518
 
 
7519
 
 
7520
 
 
7521
 
 
7522
 
 
7523
 
 
7524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7525
$as_echo_n "checking for sysroot... " >&6; }
 
7526
 
 
7527
# Check whether --with-sysroot was given.
 
7528
if test "${with_sysroot+set}" = set; then :
 
7529
  withval=$with_sysroot;
 
7530
else
 
7531
  with_sysroot=no
 
7532
fi
 
7533
 
 
7534
 
 
7535
lt_sysroot=
 
7536
case ${with_sysroot} in #(
 
7537
 yes)
 
7538
   if test "$GCC" = yes; then
 
7539
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7540
   fi
 
7541
   ;; #(
 
7542
 /*)
 
7543
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7544
   ;; #(
 
7545
 no|'')
 
7546
   ;; #(
 
7547
 *)
 
7548
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7549
$as_echo "${with_sysroot}" >&6; }
 
7550
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7551
   ;;
 
7552
esac
 
7553
 
 
7554
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7555
$as_echo "${lt_sysroot:-no}" >&6; }
7168
7556
 
7169
7557
 
7170
7558
 
7295
7683
  CFLAGS="$CFLAGS -belf"
7296
7684
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7297
7685
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7298
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7686
if ${lt_cv_cc_needs_belf+:} false; then :
7299
7687
  $as_echo_n "(cached) " >&6
7300
7688
else
7301
7689
  ac_ext=c
7363
7751
 
7364
7752
need_locks="$enable_libtool_lock"
7365
7753
 
 
7754
if test -n "$ac_tool_prefix"; then
 
7755
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7756
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7757
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7758
$as_echo_n "checking for $ac_word... " >&6; }
 
7759
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
7760
  $as_echo_n "(cached) " >&6
 
7761
else
 
7762
  if test -n "$MANIFEST_TOOL"; then
 
7763
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7764
else
 
7765
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7766
for as_dir in $PATH
 
7767
do
 
7768
  IFS=$as_save_IFS
 
7769
  test -z "$as_dir" && as_dir=.
 
7770
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7771
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7772
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7773
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7774
    break 2
 
7775
  fi
 
7776
done
 
7777
  done
 
7778
IFS=$as_save_IFS
 
7779
 
 
7780
fi
 
7781
fi
 
7782
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7783
if test -n "$MANIFEST_TOOL"; then
 
7784
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7785
$as_echo "$MANIFEST_TOOL" >&6; }
 
7786
else
 
7787
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7788
$as_echo "no" >&6; }
 
7789
fi
 
7790
 
 
7791
 
 
7792
fi
 
7793
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7794
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7795
  # Extract the first word of "mt", so it can be a program name with args.
 
7796
set dummy mt; ac_word=$2
 
7797
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7798
$as_echo_n "checking for $ac_word... " >&6; }
 
7799
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7800
  $as_echo_n "(cached) " >&6
 
7801
else
 
7802
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7803
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7804
else
 
7805
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7806
for as_dir in $PATH
 
7807
do
 
7808
  IFS=$as_save_IFS
 
7809
  test -z "$as_dir" && as_dir=.
 
7810
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7811
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7812
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7813
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7814
    break 2
 
7815
  fi
 
7816
done
 
7817
  done
 
7818
IFS=$as_save_IFS
 
7819
 
 
7820
fi
 
7821
fi
 
7822
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7823
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7824
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7825
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7826
else
 
7827
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7828
$as_echo "no" >&6; }
 
7829
fi
 
7830
 
 
7831
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7832
    MANIFEST_TOOL=":"
 
7833
  else
 
7834
    case $cross_compiling:$ac_tool_warned in
 
7835
yes:)
 
7836
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7837
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7838
ac_tool_warned=yes ;;
 
7839
esac
 
7840
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7841
  fi
 
7842
else
 
7843
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7844
fi
 
7845
 
 
7846
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7847
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7848
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7849
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7850
  $as_echo_n "(cached) " >&6
 
7851
else
 
7852
  lt_cv_path_mainfest_tool=no
 
7853
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7854
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7855
  cat conftest.err >&5
 
7856
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7857
    lt_cv_path_mainfest_tool=yes
 
7858
  fi
 
7859
  rm -f conftest*
 
7860
fi
 
7861
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7862
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7863
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7864
  MANIFEST_TOOL=:
 
7865
fi
 
7866
 
 
7867
 
 
7868
 
 
7869
 
 
7870
 
7366
7871
 
7367
7872
  case $host_os in
7368
7873
    rhapsody* | darwin*)
7371
7876
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7372
7877
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7373
7878
$as_echo_n "checking for $ac_word... " >&6; }
7374
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7879
if ${ac_cv_prog_DSYMUTIL+:} false; then :
7375
7880
  $as_echo_n "(cached) " >&6
7376
7881
else
7377
7882
  if test -n "$DSYMUTIL"; then
7411
7916
set dummy dsymutil; ac_word=$2
7412
7917
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413
7918
$as_echo_n "checking for $ac_word... " >&6; }
7414
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7919
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7415
7920
  $as_echo_n "(cached) " >&6
7416
7921
else
7417
7922
  if test -n "$ac_ct_DSYMUTIL"; then
7463
7968
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7464
7969
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7465
7970
$as_echo_n "checking for $ac_word... " >&6; }
7466
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7971
if ${ac_cv_prog_NMEDIT+:} false; then :
7467
7972
  $as_echo_n "(cached) " >&6
7468
7973
else
7469
7974
  if test -n "$NMEDIT"; then
7503
8008
set dummy nmedit; ac_word=$2
7504
8009
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7505
8010
$as_echo_n "checking for $ac_word... " >&6; }
7506
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
8011
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7507
8012
  $as_echo_n "(cached) " >&6
7508
8013
else
7509
8014
  if test -n "$ac_ct_NMEDIT"; then
7555
8060
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7556
8061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7557
8062
$as_echo_n "checking for $ac_word... " >&6; }
7558
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
8063
if ${ac_cv_prog_LIPO+:} false; then :
7559
8064
  $as_echo_n "(cached) " >&6
7560
8065
else
7561
8066
  if test -n "$LIPO"; then
7595
8100
set dummy lipo; ac_word=$2
7596
8101
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7597
8102
$as_echo_n "checking for $ac_word... " >&6; }
7598
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
8103
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7599
8104
  $as_echo_n "(cached) " >&6
7600
8105
else
7601
8106
  if test -n "$ac_ct_LIPO"; then
7647
8152
set dummy ${ac_tool_prefix}otool; ac_word=$2
7648
8153
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7649
8154
$as_echo_n "checking for $ac_word... " >&6; }
7650
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
8155
if ${ac_cv_prog_OTOOL+:} false; then :
7651
8156
  $as_echo_n "(cached) " >&6
7652
8157
else
7653
8158
  if test -n "$OTOOL"; then
7687
8192
set dummy otool; ac_word=$2
7688
8193
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7689
8194
$as_echo_n "checking for $ac_word... " >&6; }
7690
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
8195
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7691
8196
  $as_echo_n "(cached) " >&6
7692
8197
else
7693
8198
  if test -n "$ac_ct_OTOOL"; then
7739
8244
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7740
8245
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7741
8246
$as_echo_n "checking for $ac_word... " >&6; }
7742
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
8247
if ${ac_cv_prog_OTOOL64+:} false; then :
7743
8248
  $as_echo_n "(cached) " >&6
7744
8249
else
7745
8250
  if test -n "$OTOOL64"; then
7779
8284
set dummy otool64; ac_word=$2
7780
8285
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7781
8286
$as_echo_n "checking for $ac_word... " >&6; }
7782
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
8287
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7783
8288
  $as_echo_n "(cached) " >&6
7784
8289
else
7785
8290
  if test -n "$ac_ct_OTOOL64"; then
7854
8359
 
7855
8360
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7856
8361
$as_echo_n "checking for -single_module linker flag... " >&6; }
7857
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
8362
if ${lt_cv_apple_cc_single_mod+:} false; then :
7858
8363
  $as_echo_n "(cached) " >&6
7859
8364
else
7860
8365
  lt_cv_apple_cc_single_mod=no
7883
8388
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7884
8389
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7885
8390
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7886
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8391
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7887
8392
  $as_echo_n "(cached) " >&6
7888
8393
else
7889
8394
  lt_cv_ld_exported_symbols_list=no
7915
8420
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7916
8421
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7917
8422
$as_echo_n "checking for -force_load linker flag... " >&6; }
7918
 
if test "${lt_cv_ld_force_load+set}" = set; then :
 
8423
if ${lt_cv_ld_force_load+:} false; then :
7919
8424
  $as_echo_n "(cached) " >&6
7920
8425
else
7921
8426
  lt_cv_ld_force_load=no
7984
8489
do :
7985
8490
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7986
8491
"
7987
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8492
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7988
8493
  cat >>confdefs.h <<_ACEOF
7989
8494
#define HAVE_DLFCN_H 1
7990
8495
_ACEOF
7996
8501
 
7997
8502
 
7998
8503
 
 
8504
func_stripname_cnf ()
 
8505
{
 
8506
  case ${2} in
 
8507
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
8508
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
8509
  esac
 
8510
} # func_stripname_cnf
 
8511
 
 
8512
 
 
8513
 
7999
8514
 
8000
8515
 
8001
8516
# Set options
8172
8687
 
8173
8688
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8174
8689
$as_echo_n "checking for objdir... " >&6; }
8175
 
if test "${lt_cv_objdir+set}" = set; then :
 
8690
if ${lt_cv_objdir+:} false; then :
8176
8691
  $as_echo_n "(cached) " >&6
8177
8692
else
8178
8693
  rm -f .libs 2>/dev/null
8250
8765
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8251
8766
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8252
8767
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8253
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8768
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8254
8769
  $as_echo_n "(cached) " >&6
8255
8770
else
8256
8771
  case $MAGIC_CMD in
8316
8831
  if test -n "$ac_tool_prefix"; then
8317
8832
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8318
8833
$as_echo_n "checking for file... " >&6; }
8319
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8834
if ${lt_cv_path_MAGIC_CMD+:} false; then :
8320
8835
  $as_echo_n "(cached) " >&6
8321
8836
else
8322
8837
  case $MAGIC_CMD in
8454
8969
 
8455
8970
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8456
8971
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8457
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8972
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8458
8973
  $as_echo_n "(cached) " >&6
8459
8974
else
8460
8975
  lt_cv_prog_compiler_rtti_exceptions=no
8507
9022
lt_prog_compiler_pic=
8508
9023
lt_prog_compiler_static=
8509
9024
 
8510
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8511
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8512
9025
 
8513
9026
  if test "$GCC" = yes; then
8514
9027
    lt_prog_compiler_wl='-Wl,'
8673
9186
        lt_prog_compiler_pic='--shared'
8674
9187
        lt_prog_compiler_static='--static'
8675
9188
        ;;
 
9189
      nagfor*)
 
9190
        # NAG Fortran compiler
 
9191
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
9192
        lt_prog_compiler_pic='-PIC'
 
9193
        lt_prog_compiler_static='-Bstatic'
 
9194
        ;;
8676
9195
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8677
9196
        # Portland Group compilers (*not* the Pentium gcc compiler,
8678
9197
        # which looks to be a dead project)
8792
9311
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8793
9312
    ;;
8794
9313
esac
8795
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8796
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8797
 
 
8798
 
 
8799
 
 
8800
 
 
8801
 
 
 
9314
 
 
9315
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
9316
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
9317
if ${lt_cv_prog_compiler_pic+:} false; then :
 
9318
  $as_echo_n "(cached) " >&6
 
9319
else
 
9320
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
9321
fi
 
9322
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
9323
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
9324
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8802
9325
 
8803
9326
#
8804
9327
# Check to make sure the PIC flag actually works.
8806
9329
if test -n "$lt_prog_compiler_pic"; then
8807
9330
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8808
9331
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8809
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
9332
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8810
9333
  $as_echo_n "(cached) " >&6
8811
9334
else
8812
9335
  lt_cv_prog_compiler_pic_works=no
8859
9382
 
8860
9383
 
8861
9384
 
 
9385
 
 
9386
 
 
9387
 
 
9388
 
 
9389
 
8862
9390
#
8863
9391
# Check to make sure the static flag actually works.
8864
9392
#
8865
9393
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8866
9394
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8867
9395
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8868
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
9396
if ${lt_cv_prog_compiler_static_works+:} false; then :
8869
9397
  $as_echo_n "(cached) " >&6
8870
9398
else
8871
9399
  lt_cv_prog_compiler_static_works=no
8908
9436
 
8909
9437
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8910
9438
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8911
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9439
if ${lt_cv_prog_compiler_c_o+:} false; then :
8912
9440
  $as_echo_n "(cached) " >&6
8913
9441
else
8914
9442
  lt_cv_prog_compiler_c_o=no
8963
9491
 
8964
9492
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8965
9493
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8966
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9494
if ${lt_cv_prog_compiler_c_o+:} false; then :
8967
9495
  $as_echo_n "(cached) " >&6
8968
9496
else
8969
9497
  lt_cv_prog_compiler_c_o=no
9209
9737
      allow_undefined_flag=unsupported
9210
9738
      always_export_symbols=no
9211
9739
      enable_shared_with_static_runtimes=yes
9212
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9740
      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'
 
9741
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
9213
9742
 
9214
9743
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9215
9744
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9257
9786
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9258
9787
         && test "$tmp_diet" = no
9259
9788
      then
9260
 
        tmp_addflag=
 
9789
        tmp_addflag=' $pic_flag'
9261
9790
        tmp_sharedflag='-shared'
9262
9791
        case $cc_basename,$host_cpu in
9263
9792
        pgcc*)                          # Portland Group C compiler
9327
9856
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9328
9857
        wlarc=
9329
9858
      else
9330
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9331
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9859
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9860
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9332
9861
      fi
9333
9862
      ;;
9334
9863
 
9346
9875
 
9347
9876
_LT_EOF
9348
9877
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9349
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9350
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9878
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9879
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9351
9880
      else
9352
9881
        ld_shlibs=no
9353
9882
      fi
9393
9922
 
9394
9923
    *)
9395
9924
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9396
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9397
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9925
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9926
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9398
9927
      else
9399
9928
        ld_shlibs=no
9400
9929
      fi
9524
10053
        allow_undefined_flag='-berok'
9525
10054
        # Determine the default libpath from the value encoded in an
9526
10055
        # empty executable.
9527
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10056
        if test "${lt_cv_aix_libpath+set}" = set; then
 
10057
  aix_libpath=$lt_cv_aix_libpath
 
10058
else
 
10059
  if ${lt_cv_aix_libpath_+:} false; then :
 
10060
  $as_echo_n "(cached) " >&6
 
10061
else
 
10062
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9528
10063
/* end confdefs.h.  */
9529
10064
 
9530
10065
int
9537
10072
_ACEOF
9538
10073
if ac_fn_c_try_link "$LINENO"; then :
9539
10074
 
9540
 
lt_aix_libpath_sed='
9541
 
    /Import File Strings/,/^$/ {
9542
 
        /^0/ {
9543
 
            s/^0  *\(.*\)$/\1/
9544
 
            p
9545
 
        }
9546
 
    }'
9547
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9548
 
# Check for a 64-bit object if we didn't find anything.
9549
 
if test -z "$aix_libpath"; then
9550
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9551
 
fi
 
10075
  lt_aix_libpath_sed='
 
10076
      /Import File Strings/,/^$/ {
 
10077
          /^0/ {
 
10078
              s/^0  *\([^ ]*\) *$/\1/
 
10079
              p
 
10080
          }
 
10081
      }'
 
10082
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10083
  # Check for a 64-bit object if we didn't find anything.
 
10084
  if test -z "$lt_cv_aix_libpath_"; then
 
10085
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10086
  fi
9552
10087
fi
9553
10088
rm -f core conftest.err conftest.$ac_objext \
9554
10089
    conftest$ac_exeext conftest.$ac_ext
9555
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10090
  if test -z "$lt_cv_aix_libpath_"; then
 
10091
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10092
  fi
 
10093
 
 
10094
fi
 
10095
 
 
10096
  aix_libpath=$lt_cv_aix_libpath_
 
10097
fi
9556
10098
 
9557
10099
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9558
10100
        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"
9564
10106
        else
9565
10107
         # Determine the default libpath from the value encoded in an
9566
10108
         # empty executable.
9567
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10109
         if test "${lt_cv_aix_libpath+set}" = set; then
 
10110
  aix_libpath=$lt_cv_aix_libpath
 
10111
else
 
10112
  if ${lt_cv_aix_libpath_+:} false; then :
 
10113
  $as_echo_n "(cached) " >&6
 
10114
else
 
10115
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9568
10116
/* end confdefs.h.  */
9569
10117
 
9570
10118
int
9577
10125
_ACEOF
9578
10126
if ac_fn_c_try_link "$LINENO"; then :
9579
10127
 
9580
 
lt_aix_libpath_sed='
9581
 
    /Import File Strings/,/^$/ {
9582
 
        /^0/ {
9583
 
            s/^0  *\(.*\)$/\1/
9584
 
            p
9585
 
        }
9586
 
    }'
9587
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9588
 
# Check for a 64-bit object if we didn't find anything.
9589
 
if test -z "$aix_libpath"; then
9590
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9591
 
fi
 
10128
  lt_aix_libpath_sed='
 
10129
      /Import File Strings/,/^$/ {
 
10130
          /^0/ {
 
10131
              s/^0  *\([^ ]*\) *$/\1/
 
10132
              p
 
10133
          }
 
10134
      }'
 
10135
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10136
  # Check for a 64-bit object if we didn't find anything.
 
10137
  if test -z "$lt_cv_aix_libpath_"; then
 
10138
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
10139
  fi
9592
10140
fi
9593
10141
rm -f core conftest.err conftest.$ac_objext \
9594
10142
    conftest$ac_exeext conftest.$ac_ext
9595
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
10143
  if test -z "$lt_cv_aix_libpath_"; then
 
10144
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
10145
  fi
 
10146
 
 
10147
fi
 
10148
 
 
10149
  aix_libpath=$lt_cv_aix_libpath_
 
10150
fi
9596
10151
 
9597
10152
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9598
10153
          # Warning - without using the other run time loading flags,
9637
10192
      # Microsoft Visual C++.
9638
10193
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9639
10194
      # no search path for DLLs.
9640
 
      hardcode_libdir_flag_spec=' '
9641
 
      allow_undefined_flag=unsupported
9642
 
      # Tell ltmain to make .lib files, not .a files.
9643
 
      libext=lib
9644
 
      # Tell ltmain to make .dll files, not .so files.
9645
 
      shrext_cmds=".dll"
9646
 
      # FIXME: Setting linknames here is a bad hack.
9647
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9648
 
      # The linker will automatically build a .lib file if we build a DLL.
9649
 
      old_archive_from_new_cmds='true'
9650
 
      # FIXME: Should let the user specify the lib program.
9651
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9652
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9653
 
      enable_shared_with_static_runtimes=yes
 
10195
      case $cc_basename in
 
10196
      cl*)
 
10197
        # Native MSVC
 
10198
        hardcode_libdir_flag_spec=' '
 
10199
        allow_undefined_flag=unsupported
 
10200
        always_export_symbols=yes
 
10201
        file_list_spec='@'
 
10202
        # Tell ltmain to make .lib files, not .a files.
 
10203
        libext=lib
 
10204
        # Tell ltmain to make .dll files, not .so files.
 
10205
        shrext_cmds=".dll"
 
10206
        # FIXME: Setting linknames here is a bad hack.
 
10207
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
10208
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
10209
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
10210
          else
 
10211
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
10212
          fi~
 
10213
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
10214
          linknames='
 
10215
        # The linker will not automatically build a static lib if we build a DLL.
 
10216
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
10217
        enable_shared_with_static_runtimes=yes
 
10218
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
10219
        # Don't use ranlib
 
10220
        old_postinstall_cmds='chmod 644 $oldlib'
 
10221
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
10222
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
10223
          case $lt_outputfile in
 
10224
            *.exe|*.EXE) ;;
 
10225
            *)
 
10226
              lt_outputfile="$lt_outputfile.exe"
 
10227
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
10228
              ;;
 
10229
          esac~
 
10230
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
10231
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
10232
            $RM "$lt_outputfile.manifest";
 
10233
          fi'
 
10234
        ;;
 
10235
      *)
 
10236
        # Assume MSVC wrapper
 
10237
        hardcode_libdir_flag_spec=' '
 
10238
        allow_undefined_flag=unsupported
 
10239
        # Tell ltmain to make .lib files, not .a files.
 
10240
        libext=lib
 
10241
        # Tell ltmain to make .dll files, not .so files.
 
10242
        shrext_cmds=".dll"
 
10243
        # FIXME: Setting linknames here is a bad hack.
 
10244
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
10245
        # The linker will automatically build a .lib file if we build a DLL.
 
10246
        old_archive_from_new_cmds='true'
 
10247
        # FIXME: Should let the user specify the lib program.
 
10248
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
10249
        enable_shared_with_static_runtimes=yes
 
10250
        ;;
 
10251
      esac
9654
10252
      ;;
9655
10253
 
9656
10254
    darwin* | rhapsody*)
9715
10313
 
9716
10314
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9717
10315
    freebsd* | dragonfly*)
9718
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
10316
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9719
10317
      hardcode_libdir_flag_spec='-R$libdir'
9720
10318
      hardcode_direct=yes
9721
10319
      hardcode_shlibpath_var=no
9723
10321
 
9724
10322
    hpux9*)
9725
10323
      if test "$GCC" = yes; then
9726
 
        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'
 
10324
        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'
9727
10325
      else
9728
10326
        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'
9729
10327
      fi
9739
10337
 
9740
10338
    hpux10*)
9741
10339
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9742
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10340
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9743
10341
      else
9744
10342
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9745
10343
      fi
9763
10361
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9764
10362
          ;;
9765
10363
        ia64*)
9766
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
10364
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9767
10365
          ;;
9768
10366
        *)
9769
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
10367
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9770
10368
          ;;
9771
10369
        esac
9772
10370
      else
9783
10381
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9784
10382
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9785
10383
$as_echo_n "checking if $CC understands -b... " >&6; }
9786
 
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
10384
if ${lt_cv_prog_compiler__b+:} false; then :
9787
10385
  $as_echo_n "(cached) " >&6
9788
10386
else
9789
10387
  lt_cv_prog_compiler__b=no
9845
10443
 
9846
10444
    irix5* | irix6* | nonstopux*)
9847
10445
      if test "$GCC" = yes; then
9848
 
        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'
 
10446
        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'
9849
10447
        # Try to use the -exported_symbol ld option, if it does not
9850
10448
        # work, assume that -exports_file does not work either and
9851
10449
        # implicitly export all symbols.
9852
 
        save_LDFLAGS="$LDFLAGS"
9853
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9854
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10450
        # This should be the same for all languages, so no per-tag cache variable.
 
10451
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10452
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10453
if ${lt_cv_irix_exported_symbol+:} false; then :
 
10454
  $as_echo_n "(cached) " >&6
 
10455
else
 
10456
  save_LDFLAGS="$LDFLAGS"
 
10457
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10458
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855
10459
/* end confdefs.h.  */
9856
 
int foo(void) {}
 
10460
int foo (void) { return 0; }
9857
10461
_ACEOF
9858
10462
if ac_fn_c_try_link "$LINENO"; then :
9859
 
  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'
9860
 
 
 
10463
  lt_cv_irix_exported_symbol=yes
 
10464
else
 
10465
  lt_cv_irix_exported_symbol=no
9861
10466
fi
9862
10467
rm -f core conftest.err conftest.$ac_objext \
9863
10468
    conftest$ac_exeext conftest.$ac_ext
9864
 
        LDFLAGS="$save_LDFLAGS"
 
10469
           LDFLAGS="$save_LDFLAGS"
 
10470
fi
 
10471
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10472
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10473
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10474
          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'
 
10475
        fi
9865
10476
      else
9866
10477
        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'
9867
10478
        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'
9946
10557
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9947
10558
      if test "$GCC" = yes; then
9948
10559
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9949
 
        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'
 
10560
        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'
9950
10561
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9951
10562
      else
9952
10563
        allow_undefined_flag=' -expect_unresolved \*'
9965
10576
      no_undefined_flag=' -z defs'
9966
10577
      if test "$GCC" = yes; then
9967
10578
        wlarc='${wl}'
9968
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10579
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9969
10580
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9970
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10581
          $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'
9971
10582
      else
9972
10583
        case `$CC -V 2>&1` in
9973
10584
        *"Compilers 5.0"*)
10155
10766
      # to ld, don't add -lc before -lgcc.
10156
10767
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10157
10768
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10158
 
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
10769
if ${lt_cv_archive_cmds_need_lc+:} false; then :
10159
10770
  $as_echo_n "(cached) " >&6
10160
10771
else
10161
10772
  $RM conftest*
10543
11154
  need_version=no
10544
11155
  need_lib_prefix=no
10545
11156
 
10546
 
  case $GCC,$host_os in
10547
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
11157
  case $GCC,$cc_basename in
 
11158
  yes,*)
 
11159
    # gcc
10548
11160
    library_names_spec='$libname.dll.a'
10549
11161
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10550
11162
    postinstall_cmds='base_file=`basename \${file}`~
10577
11189
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10578
11190
      ;;
10579
11191
    esac
 
11192
    dynamic_linker='Win32 ld.exe'
 
11193
    ;;
 
11194
 
 
11195
  *,cl*)
 
11196
    # Native MSVC
 
11197
    libname_spec='$name'
 
11198
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
11199
    library_names_spec='${libname}.dll.lib'
 
11200
 
 
11201
    case $build_os in
 
11202
    mingw*)
 
11203
      sys_lib_search_path_spec=
 
11204
      lt_save_ifs=$IFS
 
11205
      IFS=';'
 
11206
      for lt_path in $LIB
 
11207
      do
 
11208
        IFS=$lt_save_ifs
 
11209
        # Let DOS variable expansion print the short 8.3 style file name.
 
11210
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
11211
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
11212
      done
 
11213
      IFS=$lt_save_ifs
 
11214
      # Convert to MSYS style.
 
11215
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
11216
      ;;
 
11217
    cygwin*)
 
11218
      # Convert to unix form, then to dos form, then back to unix form
 
11219
      # but this time dos style (no spaces!) so that the unix form looks
 
11220
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
11221
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
11222
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
11223
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11224
      ;;
 
11225
    *)
 
11226
      sys_lib_search_path_spec="$LIB"
 
11227
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
11228
        # It is most probably a Windows format PATH.
 
11229
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
11230
      else
 
11231
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
11232
      fi
 
11233
      # FIXME: find the short name or the path components, as spaces are
 
11234
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
11235
      ;;
 
11236
    esac
 
11237
 
 
11238
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
11239
    postinstall_cmds='base_file=`basename \${file}`~
 
11240
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
11241
      dldir=$destdir/`dirname \$dlpath`~
 
11242
      test -d \$dldir || mkdir -p \$dldir~
 
11243
      $install_prog $dir/$dlname \$dldir/$dlname'
 
11244
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
11245
      dlpath=$dir/\$dldll~
 
11246
       $RM \$dlpath'
 
11247
    shlibpath_overrides_runpath=yes
 
11248
    dynamic_linker='Win32 link.exe'
10580
11249
    ;;
10581
11250
 
10582
11251
  *)
 
11252
    # Assume MSVC wrapper
10583
11253
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
11254
    dynamic_linker='Win32 ld.exe'
10584
11255
    ;;
10585
11256
  esac
10586
 
  dynamic_linker='Win32 ld.exe'
10587
11257
  # FIXME: first we should search . and the directory the executable is in
10588
11258
  shlibpath_var=PATH
10589
11259
  ;;
10797
11467
  shlibpath_overrides_runpath=no
10798
11468
 
10799
11469
  # Some binutils ld are patched to set DT_RUNPATH
10800
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
11470
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10801
11471
  $as_echo_n "(cached) " >&6
10802
11472
else
10803
11473
  lt_cv_shlibpath_overrides_runpath=no
11221
11891
  # if libdl is installed we need to link against it
11222
11892
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11223
11893
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11224
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11894
if ${ac_cv_lib_dl_dlopen+:} false; then :
11225
11895
  $as_echo_n "(cached) " >&6
11226
11896
else
11227
11897
  ac_check_lib_save_LIBS=$LIBS
11255
11925
fi
11256
11926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11257
11927
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11258
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11928
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11259
11929
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11260
11930
else
11261
11931
 
11269
11939
 
11270
11940
  *)
11271
11941
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11272
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11942
if test "x$ac_cv_func_shl_load" = xyes; then :
11273
11943
  lt_cv_dlopen="shl_load"
11274
11944
else
11275
11945
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11276
11946
$as_echo_n "checking for shl_load in -ldld... " >&6; }
11277
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11947
if ${ac_cv_lib_dld_shl_load+:} false; then :
11278
11948
  $as_echo_n "(cached) " >&6
11279
11949
else
11280
11950
  ac_check_lib_save_LIBS=$LIBS
11308
11978
fi
11309
11979
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11310
11980
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11311
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11981
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11312
11982
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11313
11983
else
11314
11984
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11315
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11985
if test "x$ac_cv_func_dlopen" = xyes; then :
11316
11986
  lt_cv_dlopen="dlopen"
11317
11987
else
11318
11988
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11319
11989
$as_echo_n "checking for dlopen in -ldl... " >&6; }
11320
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11990
if ${ac_cv_lib_dl_dlopen+:} false; then :
11321
11991
  $as_echo_n "(cached) " >&6
11322
11992
else
11323
11993
  ac_check_lib_save_LIBS=$LIBS
11351
12021
fi
11352
12022
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11353
12023
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11354
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
12024
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11355
12025
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11356
12026
else
11357
12027
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11358
12028
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
11359
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
12029
if ${ac_cv_lib_svld_dlopen+:} false; then :
11360
12030
  $as_echo_n "(cached) " >&6
11361
12031
else
11362
12032
  ac_check_lib_save_LIBS=$LIBS
11390
12060
fi
11391
12061
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11392
12062
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11393
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
12063
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11394
12064
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11395
12065
else
11396
12066
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11397
12067
$as_echo_n "checking for dld_link in -ldld... " >&6; }
11398
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
12068
if ${ac_cv_lib_dld_dld_link+:} false; then :
11399
12069
  $as_echo_n "(cached) " >&6
11400
12070
else
11401
12071
  ac_check_lib_save_LIBS=$LIBS
11429
12099
fi
11430
12100
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11431
12101
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11432
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
12102
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11433
12103
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11434
12104
fi
11435
12105
 
11470
12140
 
11471
12141
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11472
12142
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11473
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
12143
if ${lt_cv_dlopen_self+:} false; then :
11474
12144
  $as_echo_n "(cached) " >&6
11475
12145
else
11476
12146
          if test "$cross_compiling" = yes; then :
11523
12193
/* When -fvisbility=hidden is used, assume the code has been annotated
11524
12194
   correspondingly for the symbols needed.  */
11525
12195
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11526
 
void fnord () __attribute__((visibility("default")));
 
12196
int fnord () __attribute__((visibility("default")));
11527
12197
#endif
11528
12198
 
11529
 
void fnord () { int i=42; }
 
12199
int fnord () { return 42; }
11530
12200
int main ()
11531
12201
{
11532
12202
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11576
12246
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11577
12247
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11578
12248
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11579
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
12249
if ${lt_cv_dlopen_self_static+:} false; then :
11580
12250
  $as_echo_n "(cached) " >&6
11581
12251
else
11582
12252
          if test "$cross_compiling" = yes; then :
11629
12299
/* When -fvisbility=hidden is used, assume the code has been annotated
11630
12300
   correspondingly for the symbols needed.  */
11631
12301
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11632
 
void fnord () __attribute__((visibility("default")));
 
12302
int fnord () __attribute__((visibility("default")));
11633
12303
#endif
11634
12304
 
11635
 
void fnord () { int i=42; }
 
12305
int fnord () { return 42; }
11636
12306
int main ()
11637
12307
{
11638
12308
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11813
12483
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
11814
12484
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
11815
12485
if test -z "$CXXCPP"; then
11816
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
12486
  if ${ac_cv_prog_CXXCPP+:} false; then :
11817
12487
  $as_echo_n "(cached) " >&6
11818
12488
else
11819
12489
      # Double quotes because CXXCPP needs to be expanded
11843
12513
  # Broken: fails on valid input.
11844
12514
continue
11845
12515
fi
11846
 
rm -f conftest.err conftest.$ac_ext
 
12516
rm -f conftest.err conftest.i conftest.$ac_ext
11847
12517
 
11848
12518
  # OK, works on sane cases.  Now check whether nonexistent headers
11849
12519
  # can be detected and how.
11859
12529
ac_preproc_ok=:
11860
12530
break
11861
12531
fi
11862
 
rm -f conftest.err conftest.$ac_ext
 
12532
rm -f conftest.err conftest.i conftest.$ac_ext
11863
12533
 
11864
12534
done
11865
12535
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11866
 
rm -f conftest.err conftest.$ac_ext
 
12536
rm -f conftest.i conftest.err conftest.$ac_ext
11867
12537
if $ac_preproc_ok; then :
11868
12538
  break
11869
12539
fi
11902
12572
  # Broken: fails on valid input.
11903
12573
continue
11904
12574
fi
11905
 
rm -f conftest.err conftest.$ac_ext
 
12575
rm -f conftest.err conftest.i conftest.$ac_ext
11906
12576
 
11907
12577
  # OK, works on sane cases.  Now check whether nonexistent headers
11908
12578
  # can be detected and how.
11918
12588
ac_preproc_ok=:
11919
12589
break
11920
12590
fi
11921
 
rm -f conftest.err conftest.$ac_ext
 
12591
rm -f conftest.err conftest.i conftest.$ac_ext
11922
12592
 
11923
12593
done
11924
12594
# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
11925
 
rm -f conftest.err conftest.$ac_ext
 
12595
rm -f conftest.i conftest.err conftest.$ac_ext
11926
12596
if $ac_preproc_ok; then :
11927
12597
 
11928
12598
else
12024
12694
 
12025
12695
  # Allow CC to be a program name with arguments.
12026
12696
  lt_save_CC=$CC
 
12697
  lt_save_CFLAGS=$CFLAGS
12027
12698
  lt_save_LD=$LD
12028
12699
  lt_save_GCC=$GCC
12029
12700
  GCC=$GXX
12041
12712
  fi
12042
12713
  test -z "${LDCXX+set}" || LD=$LDCXX
12043
12714
  CC=${CXX-"c++"}
 
12715
  CFLAGS=$CXXFLAGS
12044
12716
  compiler=$CC
12045
12717
  compiler_CXX=$CC
12046
12718
  for cc_temp in $compiler""; do
12114
12786
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12115
12787
$as_echo_n "checking for non-GNU ld... " >&6; }
12116
12788
fi
12117
 
if test "${lt_cv_path_LD+set}" = set; then :
 
12789
if ${lt_cv_path_LD+:} false; then :
12118
12790
  $as_echo_n "(cached) " >&6
12119
12791
else
12120
12792
  if test -z "$LD"; then
12154
12826
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12155
12827
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12156
12828
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12157
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
12829
if ${lt_cv_prog_gnu_ld+:} false; then :
12158
12830
  $as_echo_n "(cached) " >&6
12159
12831
else
12160
12832
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
12180
12852
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
12181
12853
      # archiving commands below assume that GNU ld is being used.
12182
12854
      if test "$with_gnu_ld" = yes; then
12183
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12184
 
        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'
 
12855
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
12856
        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'
12185
12857
 
12186
12858
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12187
12859
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12323
12995
          allow_undefined_flag_CXX='-berok'
12324
12996
          # Determine the default libpath from the value encoded in an empty
12325
12997
          # executable.
12326
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12998
          if test "${lt_cv_aix_libpath+set}" = set; then
 
12999
  aix_libpath=$lt_cv_aix_libpath
 
13000
else
 
13001
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13002
  $as_echo_n "(cached) " >&6
 
13003
else
 
13004
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12327
13005
/* end confdefs.h.  */
12328
13006
 
12329
13007
int
12336
13014
_ACEOF
12337
13015
if ac_fn_cxx_try_link "$LINENO"; then :
12338
13016
 
12339
 
lt_aix_libpath_sed='
12340
 
    /Import File Strings/,/^$/ {
12341
 
        /^0/ {
12342
 
            s/^0  *\(.*\)$/\1/
12343
 
            p
12344
 
        }
12345
 
    }'
12346
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12347
 
# Check for a 64-bit object if we didn't find anything.
12348
 
if test -z "$aix_libpath"; then
12349
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12350
 
fi
 
13017
  lt_aix_libpath_sed='
 
13018
      /Import File Strings/,/^$/ {
 
13019
          /^0/ {
 
13020
              s/^0  *\([^ ]*\) *$/\1/
 
13021
              p
 
13022
          }
 
13023
      }'
 
13024
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13025
  # Check for a 64-bit object if we didn't find anything.
 
13026
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13027
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13028
  fi
12351
13029
fi
12352
13030
rm -f core conftest.err conftest.$ac_objext \
12353
13031
    conftest$ac_exeext conftest.$ac_ext
12354
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13032
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13033
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13034
  fi
 
13035
 
 
13036
fi
 
13037
 
 
13038
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13039
fi
12355
13040
 
12356
13041
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12357
13042
 
12364
13049
          else
12365
13050
            # Determine the default libpath from the value encoded in an
12366
13051
            # empty executable.
12367
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13052
            if test "${lt_cv_aix_libpath+set}" = set; then
 
13053
  aix_libpath=$lt_cv_aix_libpath
 
13054
else
 
13055
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
13056
  $as_echo_n "(cached) " >&6
 
13057
else
 
13058
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12368
13059
/* end confdefs.h.  */
12369
13060
 
12370
13061
int
12377
13068
_ACEOF
12378
13069
if ac_fn_cxx_try_link "$LINENO"; then :
12379
13070
 
12380
 
lt_aix_libpath_sed='
12381
 
    /Import File Strings/,/^$/ {
12382
 
        /^0/ {
12383
 
            s/^0  *\(.*\)$/\1/
12384
 
            p
12385
 
        }
12386
 
    }'
12387
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12388
 
# Check for a 64-bit object if we didn't find anything.
12389
 
if test -z "$aix_libpath"; then
12390
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12391
 
fi
 
13071
  lt_aix_libpath_sed='
 
13072
      /Import File Strings/,/^$/ {
 
13073
          /^0/ {
 
13074
              s/^0  *\([^ ]*\) *$/\1/
 
13075
              p
 
13076
          }
 
13077
      }'
 
13078
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13079
  # Check for a 64-bit object if we didn't find anything.
 
13080
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13081
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
13082
  fi
12392
13083
fi
12393
13084
rm -f core conftest.err conftest.$ac_objext \
12394
13085
    conftest$ac_exeext conftest.$ac_ext
12395
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
13086
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
13087
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
13088
  fi
 
13089
 
 
13090
fi
 
13091
 
 
13092
  aix_libpath=$lt_cv_aix_libpath__CXX
 
13093
fi
12396
13094
 
12397
13095
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12398
13096
            # Warning - without using the other run time loading flags,
12435
13133
        ;;
12436
13134
 
12437
13135
      cygwin* | mingw* | pw32* | cegcc*)
12438
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12439
 
        # as there is no search path for DLLs.
12440
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
12441
 
        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12442
 
        allow_undefined_flag_CXX=unsupported
12443
 
        always_export_symbols_CXX=no
12444
 
        enable_shared_with_static_runtimes_CXX=yes
 
13136
        case $GXX,$cc_basename in
 
13137
        ,cl* | no,cl*)
 
13138
          # Native MSVC
 
13139
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
13140
          # no search path for DLLs.
 
13141
          hardcode_libdir_flag_spec_CXX=' '
 
13142
          allow_undefined_flag_CXX=unsupported
 
13143
          always_export_symbols_CXX=yes
 
13144
          file_list_spec_CXX='@'
 
13145
          # Tell ltmain to make .lib files, not .a files.
 
13146
          libext=lib
 
13147
          # Tell ltmain to make .dll files, not .so files.
 
13148
          shrext_cmds=".dll"
 
13149
          # FIXME: Setting linknames here is a bad hack.
 
13150
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
13151
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13152
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
13153
            else
 
13154
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
13155
            fi~
 
13156
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
13157
            linknames='
 
13158
          # The linker will not automatically build a static lib if we build a DLL.
 
13159
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
13160
          enable_shared_with_static_runtimes_CXX=yes
 
13161
          # Don't use ranlib
 
13162
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
13163
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
13164
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
13165
            case $lt_outputfile in
 
13166
              *.exe|*.EXE) ;;
 
13167
              *)
 
13168
                lt_outputfile="$lt_outputfile.exe"
 
13169
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
13170
                ;;
 
13171
            esac~
 
13172
            func_to_tool_file "$lt_outputfile"~
 
13173
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
13174
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
13175
              $RM "$lt_outputfile.manifest";
 
13176
            fi'
 
13177
          ;;
 
13178
        *)
 
13179
          # g++
 
13180
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
13181
          # as there is no search path for DLLs.
 
13182
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
13183
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
13184
          allow_undefined_flag_CXX=unsupported
 
13185
          always_export_symbols_CXX=no
 
13186
          enable_shared_with_static_runtimes_CXX=yes
12445
13187
 
12446
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12447
 
          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'
12448
 
          # If the export-symbols file already is a .def file (1st line
12449
 
          # is EXPORTS), use it as is; otherwise, prepend...
12450
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12451
 
            cp $export_symbols $output_objdir/$soname.def;
12452
 
          else
12453
 
            echo EXPORTS > $output_objdir/$soname.def;
12454
 
            cat $export_symbols >> $output_objdir/$soname.def;
12455
 
          fi~
12456
 
          $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'
12457
 
        else
12458
 
          ld_shlibs_CXX=no
12459
 
        fi
12460
 
        ;;
 
13188
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
13189
            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'
 
13190
            # If the export-symbols file already is a .def file (1st line
 
13191
            # is EXPORTS), use it as is; otherwise, prepend...
 
13192
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
13193
              cp $export_symbols $output_objdir/$soname.def;
 
13194
            else
 
13195
              echo EXPORTS > $output_objdir/$soname.def;
 
13196
              cat $export_symbols >> $output_objdir/$soname.def;
 
13197
            fi~
 
13198
            $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'
 
13199
          else
 
13200
            ld_shlibs_CXX=no
 
13201
          fi
 
13202
          ;;
 
13203
        esac
 
13204
        ;;
12461
13205
      darwin* | rhapsody*)
12462
13206
 
12463
13207
 
12563
13307
            ;;
12564
13308
          *)
12565
13309
            if test "$GXX" = yes; then
12566
 
              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'
 
13310
              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'
12567
13311
            else
12568
13312
              # FIXME: insert proper C++ library support
12569
13313
              ld_shlibs_CXX=no
12634
13378
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12635
13379
                    ;;
12636
13380
                  ia64*)
12637
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
13381
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12638
13382
                    ;;
12639
13383
                  *)
12640
 
                    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'
 
13384
                    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'
12641
13385
                    ;;
12642
13386
                esac
12643
13387
              fi
12678
13422
          *)
12679
13423
            if test "$GXX" = yes; then
12680
13424
              if test "$with_gnu_ld" = no; then
12681
 
                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'
 
13425
                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'
12682
13426
              else
12683
 
                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'
 
13427
                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'
12684
13428
              fi
12685
13429
            fi
12686
13430
            link_all_deplibs_CXX=yes
12958
13702
                  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'
12959
13703
                  ;;
12960
13704
                *)
12961
 
                  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'
 
13705
                  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'
12962
13706
                  ;;
12963
13707
              esac
12964
13708
 
13045
13789
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13046
13790
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13047
13791
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13048
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
13792
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13049
13793
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13050
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
13794
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13051
13795
 
13052
13796
                # Commands to make compiler produce verbose output that lists
13053
13797
                # what "hidden" libraries, object files and flags are used when
13182
13926
};
13183
13927
_LT_EOF
13184
13928
 
 
13929
 
 
13930
_lt_libdeps_save_CFLAGS=$CFLAGS
 
13931
case "$CC $CFLAGS " in #(
 
13932
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
13933
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
13934
esac
 
13935
 
13185
13936
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13186
13937
  (eval $ac_compile) 2>&5
13187
13938
  ac_status=$?
13195
13946
  pre_test_object_deps_done=no
13196
13947
 
13197
13948
  for p in `eval "$output_verbose_link_cmd"`; do
13198
 
    case $p in
 
13949
    case ${prev}${p} in
13199
13950
 
13200
13951
    -L* | -R* | -l*)
13201
13952
       # Some compilers place space between "-{L,R}" and the path.
13204
13955
          test $p = "-R"; then
13205
13956
         prev=$p
13206
13957
         continue
13207
 
       else
13208
 
         prev=
13209
13958
       fi
13210
13959
 
 
13960
       # Expand the sysroot to ease extracting the directories later.
 
13961
       if test -z "$prev"; then
 
13962
         case $p in
 
13963
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
13964
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
13965
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
13966
         esac
 
13967
       fi
 
13968
       case $p in
 
13969
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
13970
       esac
13211
13971
       if test "$pre_test_object_deps_done" = no; then
13212
 
         case $p in
13213
 
         -L* | -R*)
 
13972
         case ${prev} in
 
13973
         -L | -R)
13214
13974
           # Internal compiler library paths should come after those
13215
13975
           # provided the user.  The postdeps already come after the
13216
13976
           # user supplied libs so there is no need to process them.
13230
13990
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13231
13991
         fi
13232
13992
       fi
 
13993
       prev=
13233
13994
       ;;
13234
13995
 
 
13996
    *.lto.$objext) ;; # Ignore GCC LTO objects
13235
13997
    *.$objext)
13236
13998
       # This assumes that the test object file only shows up
13237
13999
       # once in the compiler output.
13267
14029
fi
13268
14030
 
13269
14031
$RM -f confest.$objext
 
14032
CFLAGS=$_lt_libdeps_save_CFLAGS
13270
14033
 
13271
14034
# PORTME: override above test on systems where it is broken
13272
14035
case $host_os in
13367
14130
lt_prog_compiler_pic_CXX=
13368
14131
lt_prog_compiler_static_CXX=
13369
14132
 
13370
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13371
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13372
14133
 
13373
14134
  # C++ specific cases for pic, static, wl, etc.
13374
14135
  if test "$GXX" = yes; then
13472
14233
          ;;
13473
14234
        esac
13474
14235
        ;;
 
14236
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
14237
        # This hack is so that the source file can tell whether it is being
 
14238
        # built for inclusion in a dll (and should export symbols for example).
 
14239
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
14240
        ;;
13475
14241
      dgux*)
13476
14242
        case $cc_basename in
13477
14243
          ec++*)
13689
14455
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
13690
14456
    ;;
13691
14457
esac
13692
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
13693
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
13694
 
 
13695
 
 
 
14458
 
 
14459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
14460
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
14461
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
14462
  $as_echo_n "(cached) " >&6
 
14463
else
 
14464
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
14465
fi
 
14466
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
14467
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
14468
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
13696
14469
 
13697
14470
#
13698
14471
# Check to make sure the PIC flag actually works.
13700
14473
if test -n "$lt_prog_compiler_pic_CXX"; then
13701
14474
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13702
14475
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
13703
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
14476
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
13704
14477
  $as_echo_n "(cached) " >&6
13705
14478
else
13706
14479
  lt_cv_prog_compiler_pic_works_CXX=no
13750
14523
 
13751
14524
 
13752
14525
 
 
14526
 
 
14527
 
13753
14528
#
13754
14529
# Check to make sure the static flag actually works.
13755
14530
#
13756
14531
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
13757
14532
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13758
14533
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13759
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
14534
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
13760
14535
  $as_echo_n "(cached) " >&6
13761
14536
else
13762
14537
  lt_cv_prog_compiler_static_works_CXX=no
13796
14571
 
13797
14572
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13798
14573
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13799
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14574
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13800
14575
  $as_echo_n "(cached) " >&6
13801
14576
else
13802
14577
  lt_cv_prog_compiler_c_o_CXX=no
13848
14623
 
13849
14624
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13850
14625
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13851
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
14626
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
13852
14627
  $as_echo_n "(cached) " >&6
13853
14628
else
13854
14629
  lt_cv_prog_compiler_c_o_CXX=no
13927
14702
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
13928
14703
 
13929
14704
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
14705
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13930
14706
  case $host_os in
13931
14707
  aix[4-9]*)
13932
14708
    # If we're using GNU nm, then we don't want the "-C" option.
13941
14717
    ;;
13942
14718
  pw32*)
13943
14719
    export_symbols_cmds_CXX="$ltdll_cmds"
13944
 
  ;;
 
14720
    ;;
13945
14721
  cygwin* | mingw* | cegcc*)
13946
 
    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'
13947
 
  ;;
 
14722
    case $cc_basename in
 
14723
    cl*) ;;
 
14724
    *)
 
14725
      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'
 
14726
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
14727
      ;;
 
14728
    esac
 
14729
    ;;
13948
14730
  *)
13949
14731
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
13950
 
  ;;
 
14732
    ;;
13951
14733
  esac
13952
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
13953
14734
 
13954
14735
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13955
14736
$as_echo "$ld_shlibs_CXX" >&6; }
13981
14762
      # to ld, don't add -lc before -lgcc.
13982
14763
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
13983
14764
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
13984
 
if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
 
14765
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
13985
14766
  $as_echo_n "(cached) " >&6
13986
14767
else
13987
14768
  $RM conftest*
14212
14993
  need_version=no
14213
14994
  need_lib_prefix=no
14214
14995
 
14215
 
  case $GCC,$host_os in
14216
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
14996
  case $GCC,$cc_basename in
 
14997
  yes,*)
 
14998
    # gcc
14217
14999
    library_names_spec='$libname.dll.a'
14218
15000
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
14219
15001
    postinstall_cmds='base_file=`basename \${file}`~
14245
15027
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14246
15028
      ;;
14247
15029
    esac
 
15030
    dynamic_linker='Win32 ld.exe'
 
15031
    ;;
 
15032
 
 
15033
  *,cl*)
 
15034
    # Native MSVC
 
15035
    libname_spec='$name'
 
15036
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
15037
    library_names_spec='${libname}.dll.lib'
 
15038
 
 
15039
    case $build_os in
 
15040
    mingw*)
 
15041
      sys_lib_search_path_spec=
 
15042
      lt_save_ifs=$IFS
 
15043
      IFS=';'
 
15044
      for lt_path in $LIB
 
15045
      do
 
15046
        IFS=$lt_save_ifs
 
15047
        # Let DOS variable expansion print the short 8.3 style file name.
 
15048
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
15049
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
15050
      done
 
15051
      IFS=$lt_save_ifs
 
15052
      # Convert to MSYS style.
 
15053
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
15054
      ;;
 
15055
    cygwin*)
 
15056
      # Convert to unix form, then to dos form, then back to unix form
 
15057
      # but this time dos style (no spaces!) so that the unix form looks
 
15058
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
15059
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
15060
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
15061
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15062
      ;;
 
15063
    *)
 
15064
      sys_lib_search_path_spec="$LIB"
 
15065
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
15066
        # It is most probably a Windows format PATH.
 
15067
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
15068
      else
 
15069
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
15070
      fi
 
15071
      # FIXME: find the short name or the path components, as spaces are
 
15072
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
15073
      ;;
 
15074
    esac
 
15075
 
 
15076
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
15077
    postinstall_cmds='base_file=`basename \${file}`~
 
15078
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
15079
      dldir=$destdir/`dirname \$dlpath`~
 
15080
      test -d \$dldir || mkdir -p \$dldir~
 
15081
      $install_prog $dir/$dlname \$dldir/$dlname'
 
15082
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
15083
      dlpath=$dir/\$dldll~
 
15084
       $RM \$dlpath'
 
15085
    shlibpath_overrides_runpath=yes
 
15086
    dynamic_linker='Win32 link.exe'
14248
15087
    ;;
14249
15088
 
14250
15089
  *)
 
15090
    # Assume MSVC wrapper
14251
15091
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
15092
    dynamic_linker='Win32 ld.exe'
14252
15093
    ;;
14253
15094
  esac
14254
 
  dynamic_linker='Win32 ld.exe'
14255
15095
  # FIXME: first we should search . and the directory the executable is in
14256
15096
  shlibpath_var=PATH
14257
15097
  ;;
14464
15304
  shlibpath_overrides_runpath=no
14465
15305
 
14466
15306
  # Some binutils ld are patched to set DT_RUNPATH
14467
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
15307
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14468
15308
  $as_echo_n "(cached) " >&6
14469
15309
else
14470
15310
  lt_cv_shlibpath_overrides_runpath=no
14809
15649
  fi # test -n "$compiler"
14810
15650
 
14811
15651
  CC=$lt_save_CC
 
15652
  CFLAGS=$lt_save_CFLAGS
14812
15653
  LDCXX=$LD
14813
15654
  LD=$lt_save_LD
14814
15655
  GCC=$lt_save_GCC
14848
15689
 
14849
15690
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
14850
15691
$as_echo_n "checking for ANSI C header files... " >&6; }
14851
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
15692
if ${ac_cv_header_stdc+:} false; then :
14852
15693
  $as_echo_n "(cached) " >&6
14853
15694
else
14854
15695
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15007
15848
set dummy intltool-update; ac_word=$2
15008
15849
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15009
15850
$as_echo_n "checking for $ac_word... " >&6; }
15010
 
if test "${ac_cv_path_INTLTOOL_UPDATE+set}" = set; then :
 
15851
if ${ac_cv_path_INTLTOOL_UPDATE+:} false; then :
15011
15852
  $as_echo_n "(cached) " >&6
15012
15853
else
15013
15854
  case $INTLTOOL_UPDATE in
15047
15888
set dummy intltool-merge; ac_word=$2
15048
15889
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15049
15890
$as_echo_n "checking for $ac_word... " >&6; }
15050
 
if test "${ac_cv_path_INTLTOOL_MERGE+set}" = set; then :
 
15891
if ${ac_cv_path_INTLTOOL_MERGE+:} false; then :
15051
15892
  $as_echo_n "(cached) " >&6
15052
15893
else
15053
15894
  case $INTLTOOL_MERGE in
15087
15928
set dummy intltool-extract; ac_word=$2
15088
15929
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15089
15930
$as_echo_n "checking for $ac_word... " >&6; }
15090
 
if test "${ac_cv_path_INTLTOOL_EXTRACT+set}" = set; then :
 
15931
if ${ac_cv_path_INTLTOOL_EXTRACT+:} false; then :
15091
15932
  $as_echo_n "(cached) " >&6
15092
15933
else
15093
15934
  case $INTLTOOL_EXTRACT in
15248
16089
set dummy xgettext; ac_word=$2
15249
16090
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15250
16091
$as_echo_n "checking for $ac_word... " >&6; }
15251
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
16092
if ${ac_cv_path_XGETTEXT+:} false; then :
15252
16093
  $as_echo_n "(cached) " >&6
15253
16094
else
15254
16095
  case $XGETTEXT in
15288
16129
set dummy msgmerge; ac_word=$2
15289
16130
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15290
16131
$as_echo_n "checking for $ac_word... " >&6; }
15291
 
if test "${ac_cv_path_MSGMERGE+set}" = set; then :
 
16132
if ${ac_cv_path_MSGMERGE+:} false; then :
15292
16133
  $as_echo_n "(cached) " >&6
15293
16134
else
15294
16135
  case $MSGMERGE in
15328
16169
set dummy msgfmt; ac_word=$2
15329
16170
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15330
16171
$as_echo_n "checking for $ac_word... " >&6; }
15331
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
16172
if ${ac_cv_path_MSGFMT+:} false; then :
15332
16173
  $as_echo_n "(cached) " >&6
15333
16174
else
15334
16175
  case $MSGFMT in
15368
16209
set dummy gmsgfmt; ac_word=$2
15369
16210
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15370
16211
$as_echo_n "checking for $ac_word... " >&6; }
15371
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
16212
if ${ac_cv_path_GMSGFMT+:} false; then :
15372
16213
  $as_echo_n "(cached) " >&6
15373
16214
else
15374
16215
  case $GMSGFMT in
15419
16260
set dummy perl; ac_word=$2
15420
16261
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15421
16262
$as_echo_n "checking for $ac_word... " >&6; }
15422
 
if test "${ac_cv_path_INTLTOOL_PERL+set}" = set; then :
 
16263
if ${ac_cv_path_INTLTOOL_PERL+:} false; then :
15423
16264
  $as_echo_n "(cached) " >&6
15424
16265
else
15425
16266
  case $INTLTOOL_PERL in
15503
16344
  case $host in
15504
16345
    *-*-solaris*)
15505
16346
                        ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15506
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
16347
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15507
16348
  DATADIRNAME=share
15508
16349
else
15509
16350
  DATADIRNAME=lib
15536
16377
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
15537
16378
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15538
16379
$as_echo_n "checking for $ac_word... " >&6; }
15539
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
16380
if ${ac_cv_path_PKG_CONFIG+:} false; then :
15540
16381
  $as_echo_n "(cached) " >&6
15541
16382
else
15542
16383
  case $PKG_CONFIG in
15579
16420
set dummy pkg-config; ac_word=$2
15580
16421
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
15581
16422
$as_echo_n "checking for $ac_word... " >&6; }
15582
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
16423
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
15583
16424
  $as_echo_n "(cached) " >&6
15584
16425
else
15585
16426
  case $ac_pt_PKG_CONFIG in
15745
16586
   for ac_header in locale.h
15746
16587
do :
15747
16588
  ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
15748
 
if test "x$ac_cv_header_locale_h" = x""yes; then :
 
16589
if test "x$ac_cv_header_locale_h" = xyes; then :
15749
16590
  cat >>confdefs.h <<_ACEOF
15750
16591
#define HAVE_LOCALE_H 1
15751
16592
_ACEOF
15757
16598
    if test $ac_cv_header_locale_h = yes; then
15758
16599
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
15759
16600
$as_echo_n "checking for LC_MESSAGES... " >&6; }
15760
 
if test "${am_cv_val_LC_MESSAGES+set}" = set; then :
 
16601
if ${am_cv_val_LC_MESSAGES+:} false; then :
15761
16602
  $as_echo_n "(cached) " >&6
15762
16603
else
15763
16604
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15797
16638
    INTLLIBS=
15798
16639
 
15799
16640
    ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
15800
 
if test "x$ac_cv_header_libintl_h" = x""yes; then :
 
16641
if test "x$ac_cv_header_libintl_h" = xyes; then :
15801
16642
  gt_cv_func_dgettext_libintl="no"
15802
16643
      libintl_extra_libs=""
15803
16644
 
15806
16647
      #
15807
16648
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in libc" >&5
15808
16649
$as_echo_n "checking for ngettext in libc... " >&6; }
15809
 
if test "${gt_cv_func_ngettext_libc+set}" = set; then :
 
16650
if ${gt_cv_func_ngettext_libc+:} false; then :
15810
16651
  $as_echo_n "(cached) " >&6
15811
16652
else
15812
16653
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837
16678
      if test "$gt_cv_func_ngettext_libc" = "yes" ; then
15838
16679
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in libc" >&5
15839
16680
$as_echo_n "checking for dgettext in libc... " >&6; }
15840
 
if test "${gt_cv_func_dgettext_libc+set}" = set; then :
 
16681
if ${gt_cv_func_dgettext_libc+:} false; then :
15841
16682
  $as_echo_n "(cached) " >&6
15842
16683
else
15843
16684
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870
16711
        for ac_func in bind_textdomain_codeset
15871
16712
do :
15872
16713
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
15873
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
16714
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
15874
16715
  cat >>confdefs.h <<_ACEOF
15875
16716
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
15876
16717
_ACEOF
15889
16730
 
15890
16731
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bindtextdomain in -lintl" >&5
15891
16732
$as_echo_n "checking for bindtextdomain in -lintl... " >&6; }
15892
 
if test "${ac_cv_lib_intl_bindtextdomain+set}" = set; then :
 
16733
if ${ac_cv_lib_intl_bindtextdomain+:} false; then :
15893
16734
  $as_echo_n "(cached) " >&6
15894
16735
else
15895
16736
  ac_check_lib_save_LIBS=$LIBS
15923
16764
fi
15924
16765
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_bindtextdomain" >&5
15925
16766
$as_echo "$ac_cv_lib_intl_bindtextdomain" >&6; }
15926
 
if test "x$ac_cv_lib_intl_bindtextdomain" = x""yes; then :
 
16767
if test "x$ac_cv_lib_intl_bindtextdomain" = xyes; then :
15927
16768
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
15928
16769
$as_echo_n "checking for ngettext in -lintl... " >&6; }
15929
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
16770
if ${ac_cv_lib_intl_ngettext+:} false; then :
15930
16771
  $as_echo_n "(cached) " >&6
15931
16772
else
15932
16773
  ac_check_lib_save_LIBS=$LIBS
15960
16801
fi
15961
16802
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
15962
16803
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
15963
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
16804
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
15964
16805
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dgettext in -lintl" >&5
15965
16806
$as_echo_n "checking for dgettext in -lintl... " >&6; }
15966
 
if test "${ac_cv_lib_intl_dgettext+set}" = set; then :
 
16807
if ${ac_cv_lib_intl_dgettext+:} false; then :
15967
16808
  $as_echo_n "(cached) " >&6
15968
16809
else
15969
16810
  ac_check_lib_save_LIBS=$LIBS
15997
16838
fi
15998
16839
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dgettext" >&5
15999
16840
$as_echo "$ac_cv_lib_intl_dgettext" >&6; }
16000
 
if test "x$ac_cv_lib_intl_dgettext" = x""yes; then :
 
16841
if test "x$ac_cv_lib_intl_dgettext" = xyes; then :
16001
16842
  gt_cv_func_dgettext_libintl=yes
16002
16843
fi
16003
16844
 
16013
16854
$as_echo "" >&6; }
16014
16855
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ngettext in -lintl" >&5
16015
16856
$as_echo_n "checking for ngettext in -lintl... " >&6; }
16016
 
if test "${ac_cv_lib_intl_ngettext+set}" = set; then :
 
16857
if ${ac_cv_lib_intl_ngettext+:} false; then :
16017
16858
  $as_echo_n "(cached) " >&6
16018
16859
else
16019
16860
  ac_check_lib_save_LIBS=$LIBS
16047
16888
fi
16048
16889
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_ngettext" >&5
16049
16890
$as_echo "$ac_cv_lib_intl_ngettext" >&6; }
16050
 
if test "x$ac_cv_lib_intl_ngettext" = x""yes; then :
 
16891
if test "x$ac_cv_lib_intl_ngettext" = xyes; then :
16051
16892
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dcgettext in -lintl" >&5
16052
16893
$as_echo_n "checking for dcgettext in -lintl... " >&6; }
16053
 
if test "${ac_cv_lib_intl_dcgettext+set}" = set; then :
 
16894
if ${ac_cv_lib_intl_dcgettext+:} false; then :
16054
16895
  $as_echo_n "(cached) " >&6
16055
16896
else
16056
16897
  ac_check_lib_save_LIBS=$LIBS
16084
16925
fi
16085
16926
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_intl_dcgettext" >&5
16086
16927
$as_echo "$ac_cv_lib_intl_dcgettext" >&6; }
16087
 
if test "x$ac_cv_lib_intl_dcgettext" = x""yes; then :
 
16928
if test "x$ac_cv_lib_intl_dcgettext" = xyes; then :
16088
16929
  gt_cv_func_dgettext_libintl=yes
16089
16930
                        libintl_extra_libs=-liconv
16090
16931
else
16109
16950
          for ac_func in bind_textdomain_codeset
16110
16951
do :
16111
16952
  ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
16112
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
16953
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
16113
16954
  cat >>confdefs.h <<_ACEOF
16114
16955
#define HAVE_BIND_TEXTDOMAIN_CODESET 1
16115
16956
_ACEOF
16147
16988
set dummy msgfmt; ac_word=$2
16148
16989
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16149
16990
$as_echo_n "checking for $ac_word... " >&6; }
16150
 
if test "${ac_cv_path_MSGFMT+set}" = set; then :
 
16991
if ${ac_cv_path_MSGFMT+:} false; then :
16151
16992
  $as_echo_n "(cached) " >&6
16152
16993
else
16153
16994
  case "$MSGFMT" in
16184
17025
          for ac_func in dcgettext
16185
17026
do :
16186
17027
  ac_fn_c_check_func "$LINENO" "dcgettext" "ac_cv_func_dcgettext"
16187
 
if test "x$ac_cv_func_dcgettext" = x""yes; then :
 
17028
if test "x$ac_cv_func_dcgettext" = xyes; then :
16188
17029
  cat >>confdefs.h <<_ACEOF
16189
17030
#define HAVE_DCGETTEXT 1
16190
17031
_ACEOF
16225
17066
set dummy gmsgfmt; ac_word=$2
16226
17067
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16227
17068
$as_echo_n "checking for $ac_word... " >&6; }
16228
 
if test "${ac_cv_path_GMSGFMT+set}" = set; then :
 
17069
if ${ac_cv_path_GMSGFMT+:} false; then :
16229
17070
  $as_echo_n "(cached) " >&6
16230
17071
else
16231
17072
  case $GMSGFMT in
16266
17107
set dummy xgettext; ac_word=$2
16267
17108
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16268
17109
$as_echo_n "checking for $ac_word... " >&6; }
16269
 
if test "${ac_cv_path_XGETTEXT+set}" = set; then :
 
17110
if ${ac_cv_path_XGETTEXT+:} false; then :
16270
17111
  $as_echo_n "(cached) " >&6
16271
17112
else
16272
17113
  case "$XGETTEXT" in
16317
17158
  case $host in
16318
17159
            *-*-solaris*)
16319
17160
                                                                ac_fn_c_check_func "$LINENO" "bind_textdomain_codeset" "ac_cv_func_bind_textdomain_codeset"
16320
 
if test "x$ac_cv_func_bind_textdomain_codeset" = x""yes; then :
 
17161
if test "x$ac_cv_func_bind_textdomain_codeset" = xyes; then :
16321
17162
  CATOBJEXT=.gmo
16322
17163
               DATADIRNAME=share
16323
17164
else
16919
17760
else
16920
17761
  case $x_includes,$x_libraries in #(
16921
17762
    *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
16922
 
    *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then :
 
17763
    *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
16923
17764
  $as_echo_n "(cached) " >&6
16924
17765
else
16925
17766
  # One or both of the vars are not set, and there is no cached value.
17022
17863
  fi
17023
17864
done
17024
17865
fi
17025
 
rm -f conftest.err conftest.$ac_ext
 
17866
rm -f conftest.err conftest.i conftest.$ac_ext
17026
17867
fi # $ac_x_includes = no
17027
17868
 
17028
17869
if test "$ac_x_libraries" = no; then
17253
18094
else
17254
18095
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
17255
18096
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
17256
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
18097
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
17257
18098
  $as_echo_n "(cached) " >&6
17258
18099
else
17259
18100
  ac_check_lib_save_LIBS=$LIBS
17287
18128
fi
17288
18129
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
17289
18130
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
17290
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 
18131
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
17291
18132
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
17292
18133
fi
17293
18134
 
17294
18135
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
17295
18136
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
17296
18137
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
17297
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
18138
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
17298
18139
  $as_echo_n "(cached) " >&6
17299
18140
else
17300
18141
  ac_check_lib_save_LIBS=$LIBS
17328
18169
fi
17329
18170
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
17330
18171
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
17331
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 
18172
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
17332
18173
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
17333
18174
fi
17334
18175
 
17347
18188
    # The functions gethostbyname, getservbyname, and inet_addr are
17348
18189
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
17349
18190
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
17350
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
18191
if test "x$ac_cv_func_gethostbyname" = xyes; then :
17351
18192
 
17352
18193
fi
17353
18194
 
17354
18195
    if test $ac_cv_func_gethostbyname = no; then
17355
18196
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
17356
18197
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
17357
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
18198
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
17358
18199
  $as_echo_n "(cached) " >&6
17359
18200
else
17360
18201
  ac_check_lib_save_LIBS=$LIBS
17388
18229
fi
17389
18230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
17390
18231
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
17391
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 
18232
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
17392
18233
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
17393
18234
fi
17394
18235
 
17395
18236
      if test $ac_cv_lib_nsl_gethostbyname = no; then
17396
18237
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
17397
18238
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
17398
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
18239
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
17399
18240
  $as_echo_n "(cached) " >&6
17400
18241
else
17401
18242
  ac_check_lib_save_LIBS=$LIBS
17429
18270
fi
17430
18271
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
17431
18272
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
17432
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 
18273
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
17433
18274
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
17434
18275
fi
17435
18276
 
17444
18285
    # must be given before -lnsl if both are needed.  We assume that
17445
18286
    # if connect needs -lnsl, so does gethostbyname.
17446
18287
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
17447
 
if test "x$ac_cv_func_connect" = x""yes; then :
 
18288
if test "x$ac_cv_func_connect" = xyes; then :
17448
18289
 
17449
18290
fi
17450
18291
 
17451
18292
    if test $ac_cv_func_connect = no; then
17452
18293
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
17453
18294
$as_echo_n "checking for connect in -lsocket... " >&6; }
17454
 
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
18295
if ${ac_cv_lib_socket_connect+:} 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_socket_connect" >&5
17487
18328
$as_echo "$ac_cv_lib_socket_connect" >&6; }
17488
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 
18329
if test "x$ac_cv_lib_socket_connect" = xyes; then :
17489
18330
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
17490
18331
fi
17491
18332
 
17493
18334
 
17494
18335
    # Guillermo Gomez says -lposix is necessary on A/UX.
17495
18336
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
17496
 
if test "x$ac_cv_func_remove" = x""yes; then :
 
18337
if test "x$ac_cv_func_remove" = xyes; then :
17497
18338
 
17498
18339
fi
17499
18340
 
17500
18341
    if test $ac_cv_func_remove = no; then
17501
18342
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
17502
18343
$as_echo_n "checking for remove in -lposix... " >&6; }
17503
 
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
18344
if ${ac_cv_lib_posix_remove+:} false; then :
17504
18345
  $as_echo_n "(cached) " >&6
17505
18346
else
17506
18347
  ac_check_lib_save_LIBS=$LIBS
17534
18375
fi
17535
18376
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
17536
18377
$as_echo "$ac_cv_lib_posix_remove" >&6; }
17537
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 
18378
if test "x$ac_cv_lib_posix_remove" = xyes; then :
17538
18379
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
17539
18380
fi
17540
18381
 
17542
18383
 
17543
18384
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
17544
18385
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
17545
 
if test "x$ac_cv_func_shmat" = x""yes; then :
 
18386
if test "x$ac_cv_func_shmat" = xyes; then :
17546
18387
 
17547
18388
fi
17548
18389
 
17549
18390
    if test $ac_cv_func_shmat = no; then
17550
18391
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
17551
18392
$as_echo_n "checking for shmat in -lipc... " >&6; }
17552
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
18393
if ${ac_cv_lib_ipc_shmat+:} false; then :
17553
18394
  $as_echo_n "(cached) " >&6
17554
18395
else
17555
18396
  ac_check_lib_save_LIBS=$LIBS
17583
18424
fi
17584
18425
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
17585
18426
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
17586
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 
18427
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
17587
18428
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
17588
18429
fi
17589
18430
 
17601
18442
  # John Interrante, Karl Berry
17602
18443
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
17603
18444
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
17604
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
18445
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
17605
18446
  $as_echo_n "(cached) " >&6
17606
18447
else
17607
18448
  ac_check_lib_save_LIBS=$LIBS
17635
18476
fi
17636
18477
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
17637
18478
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
17638
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 
18479
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
17639
18480
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
17640
18481
fi
17641
18482
 
17752
18593
else
17753
18594
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
17754
18595
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
17755
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
18596
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
17756
18597
  $as_echo_n "(cached) " >&6
17757
18598
else
17758
18599
  ac_check_lib_save_LIBS=$LIBS
17786
18627
fi
17787
18628
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
17788
18629
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
17789
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 
18630
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
17790
18631
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
17791
18632
fi
17792
18633
 
17793
18634
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
17794
18635
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
17795
18636
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
17796
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
18637
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
17797
18638
  $as_echo_n "(cached) " >&6
17798
18639
else
17799
18640
  ac_check_lib_save_LIBS=$LIBS
17827
18668
fi
17828
18669
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
17829
18670
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
17830
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 
18671
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
17831
18672
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
17832
18673
fi
17833
18674
 
17846
18687
    # The functions gethostbyname, getservbyname, and inet_addr are
17847
18688
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
17848
18689
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
17849
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
18690
if test "x$ac_cv_func_gethostbyname" = xyes; then :
17850
18691
 
17851
18692
fi
17852
18693
 
17853
18694
    if test $ac_cv_func_gethostbyname = no; then
17854
18695
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
17855
18696
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
17856
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
18697
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
17857
18698
  $as_echo_n "(cached) " >&6
17858
18699
else
17859
18700
  ac_check_lib_save_LIBS=$LIBS
17887
18728
fi
17888
18729
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
17889
18730
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
17890
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 
18731
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
17891
18732
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
17892
18733
fi
17893
18734
 
17894
18735
      if test $ac_cv_lib_nsl_gethostbyname = no; then
17895
18736
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
17896
18737
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
17897
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
18738
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
17898
18739
  $as_echo_n "(cached) " >&6
17899
18740
else
17900
18741
  ac_check_lib_save_LIBS=$LIBS
17928
18769
fi
17929
18770
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
17930
18771
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
17931
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 
18772
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
17932
18773
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
17933
18774
fi
17934
18775
 
17943
18784
    # must be given before -lnsl if both are needed.  We assume that
17944
18785
    # if connect needs -lnsl, so does gethostbyname.
17945
18786
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
17946
 
if test "x$ac_cv_func_connect" = x""yes; then :
 
18787
if test "x$ac_cv_func_connect" = xyes; then :
17947
18788
 
17948
18789
fi
17949
18790
 
17950
18791
    if test $ac_cv_func_connect = no; then
17951
18792
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
17952
18793
$as_echo_n "checking for connect in -lsocket... " >&6; }
17953
 
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
18794
if ${ac_cv_lib_socket_connect+:} false; then :
17954
18795
  $as_echo_n "(cached) " >&6
17955
18796
else
17956
18797
  ac_check_lib_save_LIBS=$LIBS
17984
18825
fi
17985
18826
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
17986
18827
$as_echo "$ac_cv_lib_socket_connect" >&6; }
17987
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 
18828
if test "x$ac_cv_lib_socket_connect" = xyes; then :
17988
18829
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
17989
18830
fi
17990
18831
 
17992
18833
 
17993
18834
    # Guillermo Gomez says -lposix is necessary on A/UX.
17994
18835
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
17995
 
if test "x$ac_cv_func_remove" = x""yes; then :
 
18836
if test "x$ac_cv_func_remove" = xyes; then :
17996
18837
 
17997
18838
fi
17998
18839
 
17999
18840
    if test $ac_cv_func_remove = no; then
18000
18841
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
18001
18842
$as_echo_n "checking for remove in -lposix... " >&6; }
18002
 
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
18843
if ${ac_cv_lib_posix_remove+:} false; then :
18003
18844
  $as_echo_n "(cached) " >&6
18004
18845
else
18005
18846
  ac_check_lib_save_LIBS=$LIBS
18033
18874
fi
18034
18875
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
18035
18876
$as_echo "$ac_cv_lib_posix_remove" >&6; }
18036
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 
18877
if test "x$ac_cv_lib_posix_remove" = xyes; then :
18037
18878
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
18038
18879
fi
18039
18880
 
18041
18882
 
18042
18883
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
18043
18884
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
18044
 
if test "x$ac_cv_func_shmat" = x""yes; then :
 
18885
if test "x$ac_cv_func_shmat" = xyes; then :
18045
18886
 
18046
18887
fi
18047
18888
 
18048
18889
    if test $ac_cv_func_shmat = no; then
18049
18890
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
18050
18891
$as_echo_n "checking for shmat in -lipc... " >&6; }
18051
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
18892
if ${ac_cv_lib_ipc_shmat+:} false; then :
18052
18893
  $as_echo_n "(cached) " >&6
18053
18894
else
18054
18895
  ac_check_lib_save_LIBS=$LIBS
18082
18923
fi
18083
18924
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
18084
18925
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
18085
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 
18926
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
18086
18927
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
18087
18928
fi
18088
18929
 
18100
18941
  # John Interrante, Karl Berry
18101
18942
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
18102
18943
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
18103
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
18944
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
18104
18945
  $as_echo_n "(cached) " >&6
18105
18946
else
18106
18947
  ac_check_lib_save_LIBS=$LIBS
18134
18975
fi
18135
18976
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
18136
18977
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
18137
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 
18978
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
18138
18979
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
18139
18980
fi
18140
18981
 
19020
19861
set dummy glib-genmarshal; ac_word=$2
19021
19862
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19022
19863
$as_echo_n "checking for $ac_word... " >&6; }
19023
 
if test "${ac_cv_path_GLIB_GENMARSHAL+set}" = set; then :
 
19864
if ${ac_cv_path_GLIB_GENMARSHAL+:} false; then :
19024
19865
  $as_echo_n "(cached) " >&6
19025
19866
else
19026
19867
  case $GLIB_GENMARSHAL in
19156
19997
else
19157
19998
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
19158
19999
$as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
19159
 
if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then :
 
20000
if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
19160
20001
  $as_echo_n "(cached) " >&6
19161
20002
else
19162
20003
  ac_check_lib_save_LIBS=$LIBS
19190
20031
fi
19191
20032
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
19192
20033
$as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
19193
 
if test "x$ac_cv_lib_dnet_dnet_ntoa" = x""yes; then :
 
20034
if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
19194
20035
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
19195
20036
fi
19196
20037
 
19197
20038
    if test $ac_cv_lib_dnet_dnet_ntoa = no; then
19198
20039
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
19199
20040
$as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
19200
 
if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then :
 
20041
if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
19201
20042
  $as_echo_n "(cached) " >&6
19202
20043
else
19203
20044
  ac_check_lib_save_LIBS=$LIBS
19231
20072
fi
19232
20073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
19233
20074
$as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
19234
 
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = x""yes; then :
 
20075
if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
19235
20076
  X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
19236
20077
fi
19237
20078
 
19250
20091
    # The functions gethostbyname, getservbyname, and inet_addr are
19251
20092
    # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
19252
20093
    ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
19253
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
20094
if test "x$ac_cv_func_gethostbyname" = xyes; then :
19254
20095
 
19255
20096
fi
19256
20097
 
19257
20098
    if test $ac_cv_func_gethostbyname = no; then
19258
20099
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
19259
20100
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
19260
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
20101
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
19261
20102
  $as_echo_n "(cached) " >&6
19262
20103
else
19263
20104
  ac_check_lib_save_LIBS=$LIBS
19291
20132
fi
19292
20133
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
19293
20134
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
19294
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 
20135
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
19295
20136
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
19296
20137
fi
19297
20138
 
19298
20139
      if test $ac_cv_lib_nsl_gethostbyname = no; then
19299
20140
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
19300
20141
$as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
19301
 
if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then :
 
20142
if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
19302
20143
  $as_echo_n "(cached) " >&6
19303
20144
else
19304
20145
  ac_check_lib_save_LIBS=$LIBS
19332
20173
fi
19333
20174
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
19334
20175
$as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
19335
 
if test "x$ac_cv_lib_bsd_gethostbyname" = x""yes; then :
 
20176
if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
19336
20177
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
19337
20178
fi
19338
20179
 
19347
20188
    # must be given before -lnsl if both are needed.  We assume that
19348
20189
    # if connect needs -lnsl, so does gethostbyname.
19349
20190
    ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
19350
 
if test "x$ac_cv_func_connect" = x""yes; then :
 
20191
if test "x$ac_cv_func_connect" = xyes; then :
19351
20192
 
19352
20193
fi
19353
20194
 
19354
20195
    if test $ac_cv_func_connect = no; then
19355
20196
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
19356
20197
$as_echo_n "checking for connect in -lsocket... " >&6; }
19357
 
if test "${ac_cv_lib_socket_connect+set}" = set; then :
 
20198
if ${ac_cv_lib_socket_connect+:} false; then :
19358
20199
  $as_echo_n "(cached) " >&6
19359
20200
else
19360
20201
  ac_check_lib_save_LIBS=$LIBS
19388
20229
fi
19389
20230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
19390
20231
$as_echo "$ac_cv_lib_socket_connect" >&6; }
19391
 
if test "x$ac_cv_lib_socket_connect" = x""yes; then :
 
20232
if test "x$ac_cv_lib_socket_connect" = xyes; then :
19392
20233
  X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
19393
20234
fi
19394
20235
 
19396
20237
 
19397
20238
    # Guillermo Gomez says -lposix is necessary on A/UX.
19398
20239
    ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
19399
 
if test "x$ac_cv_func_remove" = x""yes; then :
 
20240
if test "x$ac_cv_func_remove" = xyes; then :
19400
20241
 
19401
20242
fi
19402
20243
 
19403
20244
    if test $ac_cv_func_remove = no; then
19404
20245
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
19405
20246
$as_echo_n "checking for remove in -lposix... " >&6; }
19406
 
if test "${ac_cv_lib_posix_remove+set}" = set; then :
 
20247
if ${ac_cv_lib_posix_remove+:} false; then :
19407
20248
  $as_echo_n "(cached) " >&6
19408
20249
else
19409
20250
  ac_check_lib_save_LIBS=$LIBS
19437
20278
fi
19438
20279
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
19439
20280
$as_echo "$ac_cv_lib_posix_remove" >&6; }
19440
 
if test "x$ac_cv_lib_posix_remove" = x""yes; then :
 
20281
if test "x$ac_cv_lib_posix_remove" = xyes; then :
19441
20282
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
19442
20283
fi
19443
20284
 
19445
20286
 
19446
20287
    # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
19447
20288
    ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
19448
 
if test "x$ac_cv_func_shmat" = x""yes; then :
 
20289
if test "x$ac_cv_func_shmat" = xyes; then :
19449
20290
 
19450
20291
fi
19451
20292
 
19452
20293
    if test $ac_cv_func_shmat = no; then
19453
20294
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
19454
20295
$as_echo_n "checking for shmat in -lipc... " >&6; }
19455
 
if test "${ac_cv_lib_ipc_shmat+set}" = set; then :
 
20296
if ${ac_cv_lib_ipc_shmat+:} false; then :
19456
20297
  $as_echo_n "(cached) " >&6
19457
20298
else
19458
20299
  ac_check_lib_save_LIBS=$LIBS
19486
20327
fi
19487
20328
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
19488
20329
$as_echo "$ac_cv_lib_ipc_shmat" >&6; }
19489
 
if test "x$ac_cv_lib_ipc_shmat" = x""yes; then :
 
20330
if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
19490
20331
  X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
19491
20332
fi
19492
20333
 
19504
20345
  # John Interrante, Karl Berry
19505
20346
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
19506
20347
$as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
19507
 
if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then :
 
20348
if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
19508
20349
  $as_echo_n "(cached) " >&6
19509
20350
else
19510
20351
  ac_check_lib_save_LIBS=$LIBS
19538
20379
fi
19539
20380
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
19540
20381
$as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
19541
 
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = x""yes; then :
 
20382
if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
19542
20383
  X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
19543
20384
fi
19544
20385
 
19630
20471
set dummy gconftool-2; ac_word=$2
19631
20472
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
19632
20473
$as_echo_n "checking for $ac_word... " >&6; }
19633
 
if test "${ac_cv_path_GCONFTOOL+set}" = set; then :
 
20474
if ${ac_cv_path_GCONFTOOL+:} false; then :
19634
20475
  $as_echo_n "(cached) " >&6
19635
20476
else
19636
20477
  case $GCONFTOOL in
19876
20717
for ac_header in stropts.h
19877
20718
do :
19878
20719
  ac_fn_c_check_header_mongrel "$LINENO" "stropts.h" "ac_cv_header_stropts_h" "$ac_includes_default"
19879
 
if test "x$ac_cv_header_stropts_h" = x""yes; then :
 
20720
if test "x$ac_cv_header_stropts_h" = xyes; then :
19880
20721
  cat >>confdefs.h <<_ACEOF
19881
20722
#define HAVE_STROPTS_H 1
19882
20723
_ACEOF
19889
20730
for ac_header in sys/socket.h
19890
20731
do :
19891
20732
  ac_fn_c_check_header_mongrel "$LINENO" "sys/socket.h" "ac_cv_header_sys_socket_h" "$ac_includes_default"
19892
 
if test "x$ac_cv_header_sys_socket_h" = x""yes; then :
 
20733
if test "x$ac_cv_header_sys_socket_h" = xyes; then :
19893
20734
  cat >>confdefs.h <<_ACEOF
19894
20735
#define HAVE_SYS_SOCKET_H 1
19895
20736
_ACEOF
19904
20745
#endif
19905
20746
 
19906
20747
"
19907
 
if test "x$ac_cv_type_socklen_t" = x""yes; then :
 
20748
if test "x$ac_cv_type_socklen_t" = xyes; then :
19908
20749
 
19909
20750
else
19910
20751
 
19915
20756
for ac_header in sys/sockio.h
19916
20757
do :
19917
20758
  ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
19918
 
if test "x$ac_cv_header_sys_sockio_h" = x""yes; then :
 
20759
if test "x$ac_cv_header_sys_sockio_h" = xyes; then :
19919
20760
  cat >>confdefs.h <<_ACEOF
19920
20761
#define HAVE_SYS_SOCKIO_H 1
19921
20762
_ACEOF
19940
20781
for ac_header in crt_externs.h
19941
20782
do :
19942
20783
  ac_fn_c_check_header_mongrel "$LINENO" "crt_externs.h" "ac_cv_header_crt_externs_h" "$ac_includes_default"
19943
 
if test "x$ac_cv_header_crt_externs_h" = x""yes; then :
 
20784
if test "x$ac_cv_header_crt_externs_h" = xyes; then :
19944
20785
  cat >>confdefs.h <<_ACEOF
19945
20786
#define HAVE_CRT_EXTERNS_H 1
19946
20787
_ACEOF
19952
20793
for ac_func in _NSGetEnviron
19953
20794
do :
19954
20795
  ac_fn_c_check_func "$LINENO" "_NSGetEnviron" "ac_cv_func__NSGetEnviron"
19955
 
if test "x$ac_cv_func__NSGetEnviron" = x""yes; then :
 
20796
if test "x$ac_cv_func__NSGetEnviron" = xyes; then :
19956
20797
  cat >>confdefs.h <<_ACEOF
19957
20798
#define HAVE__NSGETENVIRON 1
19958
20799
_ACEOF
19972
20813
EXTRA_GREETER_LIBS=""
19973
20814
 
19974
20815
ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
19975
 
if test "x$ac_cv_func_socket" = x""yes; then :
 
20816
if test "x$ac_cv_func_socket" = xyes; then :
19976
20817
 
19977
20818
else
19978
20819
 
19979
20820
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
19980
20821
$as_echo_n "checking for socket in -lsocket... " >&6; }
19981
 
if test "${ac_cv_lib_socket_socket+set}" = set; then :
 
20822
if ${ac_cv_lib_socket_socket+:} false; then :
19982
20823
  $as_echo_n "(cached) " >&6
19983
20824
else
19984
20825
  ac_check_lib_save_LIBS=$LIBS
20012
20853
fi
20013
20854
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
20014
20855
$as_echo "$ac_cv_lib_socket_socket" >&6; }
20015
 
if test "x$ac_cv_lib_socket_socket" = x""yes; then :
 
20856
if test "x$ac_cv_lib_socket_socket" = xyes; then :
20016
20857
 
20017
20858
                           EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lsocket"
20018
20859
                           EXTRA_SLAVE_LIBS="$EXTRA_SLAVE_LIBS -lsocket"
20027
20868
fi
20028
20869
 
20029
20870
ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20030
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
20871
if test "x$ac_cv_func_gethostbyname" = xyes; then :
20031
20872
 
20032
20873
else
20033
20874
 
20034
20875
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
20035
20876
$as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
20036
 
if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then :
 
20877
if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
20037
20878
  $as_echo_n "(cached) " >&6
20038
20879
else
20039
20880
  ac_check_lib_save_LIBS=$LIBS
20067
20908
fi
20068
20909
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
20069
20910
$as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
20070
 
if test "x$ac_cv_lib_nsl_gethostbyname" = x""yes; then :
 
20911
if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
20071
20912
 
20072
20913
                           EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lnsl"
20073
20914
                           EXTRA_SLAVE_LIBS="$EXTRA_SLAVE_LIBS -lnsl"
20079
20920
 
20080
20921
ac_fn_c_check_decl "$LINENO" "HOST_NAME_MAX" "ac_cv_have_decl_HOST_NAME_MAX" "#include <limits.h>
20081
20922
"
20082
 
if test "x$ac_cv_have_decl_HOST_NAME_MAX" = x""yes; then :
 
20923
if test "x$ac_cv_have_decl_HOST_NAME_MAX" = xyes; then :
20083
20924
 
20084
20925
else
20085
20926
 
20094
20935
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
20095
20936
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
20096
20937
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
20097
 
if eval "test \"\${$3+set}\"" = set; then :
 
20938
if eval \${$3+:} false; then :
20098
20939
  $as_echo_n "(cached) " >&6
20099
20940
else
20100
20941
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20125
20966
eval ac_res=\$$3
20126
20967
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
20127
20968
$as_echo "$ac_res" >&6; }
20128
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
20969
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
20129
20970
 
20130
20971
} # ac_fn_c_check_decl
20131
20972
ac_fn_c_check_decl "$LINENO" "_POSIX_HOST_NAME_MAX" "ac_cv_have_decl__POSIX_HOST_NAME_MAX" "#include <limits.h>
20132
20973
"
20133
 
if test "x$ac_cv_have_decl__POSIX_HOST_NAME_MAX" = x""yes; then :
 
20974
if test "x$ac_cv_have_decl__POSIX_HOST_NAME_MAX" = xyes; then :
20134
20975
  $as_echo "#define HOST_NAME_MAX _POSIX_HOST_NAME_MAX" >>confdefs.h
20135
20976
 
20136
20977
else
20142
20983
fi
20143
20984
 
20144
20985
ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
20145
 
if test "x$ac_cv_func_sched_yield" = x""yes; then :
 
20986
if test "x$ac_cv_func_sched_yield" = xyes; then :
20146
20987
 
20147
20988
 
20148
20989
$as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20151
20992
 
20152
20993
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lrt" >&5
20153
20994
$as_echo_n "checking for sched_yield in -lrt... " >&6; }
20154
 
if test "${ac_cv_lib_rt_sched_yield+set}" = set; then :
 
20995
if ${ac_cv_lib_rt_sched_yield+:} false; then :
20155
20996
  $as_echo_n "(cached) " >&6
20156
20997
else
20157
20998
  ac_check_lib_save_LIBS=$LIBS
20185
21026
fi
20186
21027
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_rt_sched_yield" >&5
20187
21028
$as_echo "$ac_cv_lib_rt_sched_yield" >&6; }
20188
 
if test "x$ac_cv_lib_rt_sched_yield" = x""yes; then :
 
21029
if test "x$ac_cv_lib_rt_sched_yield" = xyes; then :
20189
21030
 
20190
21031
 
20191
21032
$as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
20199
21040
fi
20200
21041
 
20201
21042
ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
20202
 
if test "x$ac_cv_func_inet_aton" = x""yes; then :
 
21043
if test "x$ac_cv_func_inet_aton" = xyes; then :
20203
21044
 
20204
21045
else
20205
21046
 
20206
21047
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -lresolv" >&5
20207
21048
$as_echo_n "checking for inet_aton in -lresolv... " >&6; }
20208
 
if test "${ac_cv_lib_resolv_inet_aton+set}" = set; then :
 
21049
if ${ac_cv_lib_resolv_inet_aton+:} false; then :
20209
21050
  $as_echo_n "(cached) " >&6
20210
21051
else
20211
21052
  ac_check_lib_save_LIBS=$LIBS
20239
21080
fi
20240
21081
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_aton" >&5
20241
21082
$as_echo "$ac_cv_lib_resolv_inet_aton" >&6; }
20242
 
if test "x$ac_cv_lib_resolv_inet_aton" = x""yes; then :
 
21083
if test "x$ac_cv_lib_resolv_inet_aton" = xyes; then :
20243
21084
 
20244
21085
                           EXTRA_CHOOSER_LIBS="$EXTRA_CHOOSER_LIBS -lresolv"
20245
21086
fi
20250
21091
 
20251
21092
mkdtemp_missing=false
20252
21093
ac_fn_c_check_func "$LINENO" "mkdtemp" "ac_cv_func_mkdtemp"
20253
 
if test "x$ac_cv_func_mkdtemp" = x""yes; then :
 
21094
if test "x$ac_cv_func_mkdtemp" = xyes; then :
20254
21095
 
20255
21096
$as_echo "#define HAVE_MKDTEMP 1" >>confdefs.h
20256
21097
 
20306
21147
    have_getaddrinfo=no
20307
21148
    have_inet_ntop=no
20308
21149
    ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20309
 
if test "x$ac_cv_func_getaddrinfo" = x""yes; then :
 
21150
if test "x$ac_cv_func_getaddrinfo" = xyes; then :
20310
21151
  have_getaddrinfo=yes
20311
21152
fi
20312
21153
 
20315
21156
        as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
20316
21157
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in -l$lib" >&5
20317
21158
$as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
20318
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
21159
if eval \${$as_ac_Lib+:} false; then :
20319
21160
  $as_echo_n "(cached) " >&6
20320
21161
else
20321
21162
  ac_check_lib_save_LIBS=$LIBS
20358
21199
    fi
20359
21200
 
20360
21201
    ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
20361
 
if test "x$ac_cv_func_inet_ntop" = x""yes; then :
 
21202
if test "x$ac_cv_func_inet_ntop" = xyes; then :
20362
21203
  have_inet_ntop=yes
20363
21204
fi
20364
21205
 
20367
21208
        as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_inet_ntop" | $as_tr_sh`
20368
21209
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntop in -l$lib" >&5
20369
21210
$as_echo_n "checking for inet_ntop in -l$lib... " >&6; }
20370
 
if eval "test \"\${$as_ac_Lib+set}\"" = set; then :
 
21211
if eval \${$as_ac_Lib+:} false; then :
20371
21212
  $as_echo_n "(cached) " >&6
20372
21213
else
20373
21214
  ac_check_lib_save_LIBS=$LIBS
20494
21335
have_pam=no
20495
21336
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_start in -lpam" >&5
20496
21337
$as_echo_n "checking for pam_start in -lpam... " >&6; }
20497
 
if test "${ac_cv_lib_pam_pam_start+set}" = set; then :
 
21338
if ${ac_cv_lib_pam_pam_start+:} false; then :
20498
21339
  $as_echo_n "(cached) " >&6
20499
21340
else
20500
21341
  ac_check_lib_save_LIBS=$LIBS
20528
21369
fi
20529
21370
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_start" >&5
20530
21371
$as_echo "$ac_cv_lib_pam_pam_start" >&6; }
20531
 
if test "x$ac_cv_lib_pam_pam_start" = x""yes; then :
 
21372
if test "x$ac_cv_lib_pam_pam_start" = xyes; then :
20532
21373
  have_pam=yes
20533
21374
fi
20534
21375
 
20556
21397
 
20557
21398
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pam_syslog in -lpam" >&5
20558
21399
$as_echo_n "checking for pam_syslog in -lpam... " >&6; }
20559
 
if test "${ac_cv_lib_pam_pam_syslog+set}" = set; then :
 
21400
if ${ac_cv_lib_pam_pam_syslog+:} false; then :
20560
21401
  $as_echo_n "(cached) " >&6
20561
21402
else
20562
21403
  ac_check_lib_save_LIBS=$LIBS
20590
21431
fi
20591
21432
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pam_pam_syslog" >&5
20592
21433
$as_echo "$ac_cv_lib_pam_pam_syslog" >&6; }
20593
 
if test "x$ac_cv_lib_pam_pam_syslog" = x""yes; then :
 
21434
if test "x$ac_cv_lib_pam_pam_syslog" = xyes; then :
20594
21435
 
20595
21436
$as_echo "#define HAVE_PAM_SYSLOG /**/" >>confdefs.h
20596
21437
 
20672
21513
# Can we use BSD's setusercontext
20673
21514
#
20674
21515
ac_fn_c_check_header_mongrel "$LINENO" "login_cap.h" "ac_cv_header_login_cap_h" "$ac_includes_default"
20675
 
if test "x$ac_cv_header_login_cap_h" = x""yes; then :
 
21516
if test "x$ac_cv_header_login_cap_h" = xyes; then :
20676
21517
 
20677
21518
                EXTRA_DAEMON_LIBS="$EXTRA_DAEMON_LIBS -lutil"
20678
21519
 
20688
21529
for ac_header in sys/sockio.h
20689
21530
do :
20690
21531
  ac_fn_c_check_header_mongrel "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
20691
 
if test "x$ac_cv_header_sys_sockio_h" = x""yes; then :
 
21532
if test "x$ac_cv_header_sys_sockio_h" = xyes; then :
20692
21533
  cat >>confdefs.h <<_ACEOF
20693
21534
#define HAVE_SYS_SOCKIO_H 1
20694
21535
_ACEOF
20707
21548
for ac_header in libgen.h
20708
21549
do :
20709
21550
  ac_fn_c_check_header_mongrel "$LINENO" "libgen.h" "ac_cv_header_libgen_h" "$ac_includes_default"
20710
 
if test "x$ac_cv_header_libgen_h" = x""yes; then :
 
21551
if test "x$ac_cv_header_libgen_h" = xyes; then :
20711
21552
  cat >>confdefs.h <<_ACEOF
20712
21553
#define HAVE_LIBGEN_H 1
20713
21554
_ACEOF
20736
21577
 
20737
21578
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix getpwnam_r" >&5
20738
21579
$as_echo_n "checking for posix getpwnam_r... " >&6; }
20739
 
if test "${ac_cv_func_posix_getpwnam_r+set}" = set; then :
 
21580
if ${ac_cv_func_posix_getpwnam_r+:} false; then :
20740
21581
  $as_echo_n "(cached) " >&6
20741
21582
else
20742
21583
  if test "$cross_compiling" = yes; then :
20793
21634
else
20794
21635
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nonposix getpwnam_r" >&5
20795
21636
$as_echo_n "checking for nonposix getpwnam_r... " >&6; }
20796
 
if test "${ac_cv_func_nonposix_getpwnam_r+set}" = set; then :
 
21637
if ${ac_cv_func_nonposix_getpwnam_r+:} false; then :
20797
21638
  $as_echo_n "(cached) " >&6
20798
21639
else
20799
21640
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856
21697
 
20857
21698
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for login in -lutil" >&5
20858
21699
$as_echo_n "checking for login in -lutil... " >&6; }
20859
 
if test "${ac_cv_lib_util_login+set}" = set; then :
 
21700
if ${ac_cv_lib_util_login+:} false; then :
20860
21701
  $as_echo_n "(cached) " >&6
20861
21702
else
20862
21703
  ac_check_lib_save_LIBS=$LIBS
20890
21731
fi
20891
21732
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_login" >&5
20892
21733
$as_echo "$ac_cv_lib_util_login" >&6; }
20893
 
if test "x$ac_cv_lib_util_login" = x""yes; then :
 
21734
if test "x$ac_cv_lib_util_login" = xyes; then :
20894
21735
 
20895
21736
 
20896
21737
$as_echo "#define HAVE_LOGIN 1" >>confdefs.h
20900
21741
 
20901
21742
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for logout in -lutil" >&5
20902
21743
$as_echo_n "checking for logout in -lutil... " >&6; }
20903
 
if test "${ac_cv_lib_util_logout+set}" = set; then :
 
21744
if ${ac_cv_lib_util_logout+:} false; then :
20904
21745
  $as_echo_n "(cached) " >&6
20905
21746
else
20906
21747
  ac_check_lib_save_LIBS=$LIBS
20934
21775
fi
20935
21776
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_logout" >&5
20936
21777
$as_echo "$ac_cv_lib_util_logout" >&6; }
20937
 
if test "x$ac_cv_lib_util_logout" = x""yes; then :
 
21778
if test "x$ac_cv_lib_util_logout" = xyes; then :
20938
21779
 
20939
21780
 
20940
21781
$as_echo "#define HAVE_LOGOUT 1" >>confdefs.h
20944
21785
 
20945
21786
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for logwtmp in -lutil" >&5
20946
21787
$as_echo_n "checking for logwtmp in -lutil... " >&6; }
20947
 
if test "${ac_cv_lib_util_logwtmp+set}" = set; then :
 
21788
if ${ac_cv_lib_util_logwtmp+:} false; then :
20948
21789
  $as_echo_n "(cached) " >&6
20949
21790
else
20950
21791
  ac_check_lib_save_LIBS=$LIBS
20978
21819
fi
20979
21820
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_logwtmp" >&5
20980
21821
$as_echo "$ac_cv_lib_util_logwtmp" >&6; }
20981
 
if test "x$ac_cv_lib_util_logwtmp" = x""yes; then :
 
21822
if test "x$ac_cv_lib_util_logwtmp" = xyes; then :
20982
21823
 
20983
21824
 
20984
21825
$as_echo "#define HAVE_LOGWTMP 1" >>confdefs.h
21003
21844
 
21004
21845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
21005
21846
$as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
21006
 
if test "${ac_cv_header_time+set}" = set; then :
 
21847
if ${ac_cv_header_time+:} false; then :
21007
21848
  $as_echo_n "(cached) " >&6
21008
21849
else
21009
21850
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21509
22350
        CPPFLAGS="$CPPFLAGS $X_CFLAGS"
21510
22351
        ac_fn_c_check_header_compile "$LINENO" "X11/Xdmcp.h" "ac_cv_header_X11_Xdmcp_h" "#include <X11/Xproto.h>
21511
22352
"
21512
 
if test "x$ac_cv_header_X11_Xdmcp_h" = x""yes; then :
 
22353
if test "x$ac_cv_header_X11_Xdmcp_h" = xyes; then :
21513
22354
 
21514
22355
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XdmcpFlush in -lXdmcp" >&5
21515
22356
$as_echo_n "checking for XdmcpFlush in -lXdmcp... " >&6; }
21516
 
if test "${ac_cv_lib_Xdmcp_XdmcpFlush+set}" = set; then :
 
22357
if ${ac_cv_lib_Xdmcp_XdmcpFlush+:} false; then :
21517
22358
  $as_echo_n "(cached) " >&6
21518
22359
else
21519
22360
  ac_check_lib_save_LIBS=$LIBS
21547
22388
fi
21548
22389
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xdmcp_XdmcpFlush" >&5
21549
22390
$as_echo "$ac_cv_lib_Xdmcp_XdmcpFlush" >&6; }
21550
 
if test "x$ac_cv_lib_Xdmcp_XdmcpFlush" = x""yes; then :
 
22391
if test "x$ac_cv_lib_Xdmcp_XdmcpFlush" = xyes; then :
21551
22392
 
21552
22393
 
21553
22394
$as_echo "#define HAVE_LIBXDMCP 1" >>confdefs.h
21649
22490
  else
21650
22491
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hosts_ctl in -lwrap" >&5
21651
22492
$as_echo_n "checking for hosts_ctl in -lwrap... " >&6; }
21652
 
if test "${ac_cv_lib_wrap_hosts_ctl+set}" = set; then :
 
22493
if ${ac_cv_lib_wrap_hosts_ctl+:} false; then :
21653
22494
  $as_echo_n "(cached) " >&6
21654
22495
else
21655
22496
  ac_check_lib_save_LIBS=$LIBS
21683
22524
fi
21684
22525
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_wrap_hosts_ctl" >&5
21685
22526
$as_echo "$ac_cv_lib_wrap_hosts_ctl" >&6; }
21686
 
if test "x$ac_cv_lib_wrap_hosts_ctl" = x""yes; then :
 
22527
if test "x$ac_cv_lib_wrap_hosts_ctl" = xyes; then :
21687
22528
 
21688
22529
        LIBWRAP_LIBS="-lwrap"
21689
22530
        LIBWRAP_PATH=auto
21783
22624
have_xinput=
21784
22625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for XOpenDevice in -lXi" >&5
21785
22626
$as_echo_n "checking for XOpenDevice in -lXi... " >&6; }
21786
 
if test "${ac_cv_lib_Xi_XOpenDevice+set}" = set; then :
 
22627
if ${ac_cv_lib_Xi_XOpenDevice+:} false; then :
21787
22628
  $as_echo_n "(cached) " >&6
21788
22629
else
21789
22630
  ac_check_lib_save_LIBS=$LIBS
21817
22658
fi
21818
22659
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xi_XOpenDevice" >&5
21819
22660
$as_echo "$ac_cv_lib_Xi_XOpenDevice" >&6; }
21820
 
if test "x$ac_cv_lib_Xi_XOpenDevice" = x""yes; then :
 
22661
if test "x$ac_cv_lib_Xi_XOpenDevice" = xyes; then :
21821
22662
  XINPUT_LIBS=-lXi
21822
22663
fi
21823
22664
 
21860
22701
  fi
21861
22702
fi
21862
22703
ac_fn_c_check_header_mongrel "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "$ac_includes_default"
21863
 
if test "x$ac_cv_header_X11_extensions_XInput_h" = x""yes; then :
 
22704
if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes; then :
21864
22705
  have_xinput=yes
21865
22706
fi
21866
22707
 
21886
22727
  use_xfree_xinerama=yes
21887
22728
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryExtension in -lXinerama" >&5
21888
22729
$as_echo_n "checking for XineramaQueryExtension in -lXinerama... " >&6; }
21889
 
if test "${ac_cv_lib_Xinerama_XineramaQueryExtension+set}" = set; then :
 
22730
if ${ac_cv_lib_Xinerama_XineramaQueryExtension+:} false; then :
21890
22731
  $as_echo_n "(cached) " >&6
21891
22732
else
21892
22733
  ac_check_lib_save_LIBS=$LIBS
21920
22761
fi
21921
22762
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryExtension" >&5
21922
22763
$as_echo "$ac_cv_lib_Xinerama_XineramaQueryExtension" >&6; }
21923
 
if test "x$ac_cv_lib_Xinerama_XineramaQueryExtension" = x""yes; then :
 
22764
if test "x$ac_cv_lib_Xinerama_XineramaQueryExtension" = xyes; then :
21924
22765
  ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#include <X11/Xlib.h>
21925
22766
"
21926
 
if test "x$ac_cv_header_X11_extensions_Xinerama_h" = x""yes; then :
 
22767
if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes; then :
21927
22768
  if test -z "`echo $ALL_X_LIBS | grep "\-lXext" 2> /dev/null`"; then
21928
22769
                          X_EXTRA_LIBS="-lXext $X_EXTRA_LIBS"
21929
22770
                       fi
21955
22796
        use_solaris_xinerama=yes
21956
22797
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaGetInfo in -lXext" >&5
21957
22798
$as_echo_n "checking for XineramaGetInfo in -lXext... " >&6; }
21958
 
if test "${ac_cv_lib_Xext_XineramaGetInfo+set}" = set; then :
 
22799
if ${ac_cv_lib_Xext_XineramaGetInfo+:} false; then :
21959
22800
  $as_echo_n "(cached) " >&6
21960
22801
else
21961
22802
  ac_check_lib_save_LIBS=$LIBS
21989
22830
fi
21990
22831
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XineramaGetInfo" >&5
21991
22832
$as_echo "$ac_cv_lib_Xext_XineramaGetInfo" >&6; }
21992
 
if test "x$ac_cv_lib_Xext_XineramaGetInfo" = x""yes; then :
 
22833
if test "x$ac_cv_lib_Xext_XineramaGetInfo" = xyes; then :
21993
22834
  use_solaris_xinerama=yes
21994
22835
else
21995
22836
  use_solaris_xinerama=no
21998
22839
        if test "x$use_solaris_xinerama" = "xyes"; then
21999
22840
            ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xinerama.h" "ac_cv_header_X11_extensions_xinerama_h" "#include <X11/Xlib.h>
22000
22841
"
22001
 
if test "x$ac_cv_header_X11_extensions_xinerama_h" = x""yes; then :
 
22842
if test "x$ac_cv_header_X11_extensions_xinerama_h" = xyes; then :
22002
22843
  if test -z "`echo $ALL_X_LIBS | grep "\-lXext" 2> /dev/null`"; then
22003
22844
                                X_EXTRA_LIBS="-lXext $X_EXTRA_LIBS"
22004
22845
                            fi
22036
22877
                LDFLAGS="$LDFLAGS -L/usr/local/selinux/lib"
22037
22878
        fi
22038
22879
        ac_fn_c_check_header_mongrel "$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
22039
 
if test "x$ac_cv_header_selinux_selinux_h" = x""yes; then :
 
22880
if test "x$ac_cv_header_selinux_selinux_h" = xyes; then :
22040
22881
 
22041
22882
fi
22042
22883
 
22043
22884
 
22044
22885
        ac_fn_c_check_header_mongrel "$LINENO" "selinux/get_context_list.h" "ac_cv_header_selinux_get_context_list_h" "$ac_includes_default"
22045
 
if test "x$ac_cv_header_selinux_get_context_list_h" = x""yes; then :
 
22886
if test "x$ac_cv_header_selinux_get_context_list_h" = xyes; then :
22046
22887
 
22047
22888
fi
22048
22889
 
22049
22890
 
22050
22891
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for attr_get in -lattr" >&5
22051
22892
$as_echo_n "checking for attr_get in -lattr... " >&6; }
22052
 
if test "${ac_cv_lib_attr_attr_get+set}" = set; then :
 
22893
if ${ac_cv_lib_attr_attr_get+:} false; then :
22053
22894
  $as_echo_n "(cached) " >&6
22054
22895
else
22055
22896
  ac_check_lib_save_LIBS=$LIBS
22083
22924
fi
22084
22925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_attr_attr_get" >&5
22085
22926
$as_echo "$ac_cv_lib_attr_attr_get" >&6; }
22086
 
if test "x$ac_cv_lib_attr_attr_get" = x""yes; then :
 
22927
if test "x$ac_cv_lib_attr_attr_get" = xyes; then :
22087
22928
  /bin/true
22088
22929
fi
22089
22930
 
22091
22932
        # so I check for all the ones we use
22092
22933
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_ordered_context_list in -lselinux" >&5
22093
22934
$as_echo_n "checking for get_ordered_context_list in -lselinux... " >&6; }
22094
 
if test "${ac_cv_lib_selinux_get_ordered_context_list+set}" = set; then :
 
22935
if ${ac_cv_lib_selinux_get_ordered_context_list+:} false; then :
22095
22936
  $as_echo_n "(cached) " >&6
22096
22937
else
22097
22938
  ac_check_lib_save_LIBS=$LIBS
22125
22966
fi
22126
22967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_get_ordered_context_list" >&5
22127
22968
$as_echo "$ac_cv_lib_selinux_get_ordered_context_list" >&6; }
22128
 
if test "x$ac_cv_lib_selinux_get_ordered_context_list" = x""yes; then :
 
22969
if test "x$ac_cv_lib_selinux_get_ordered_context_list" = xyes; then :
22129
22970
  /bin/true
22130
22971
fi
22131
22972
 
22132
22973
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freecon in -lselinux" >&5
22133
22974
$as_echo_n "checking for freecon in -lselinux... " >&6; }
22134
 
if test "${ac_cv_lib_selinux_freecon+set}" = set; then :
 
22975
if ${ac_cv_lib_selinux_freecon+:} false; then :
22135
22976
  $as_echo_n "(cached) " >&6
22136
22977
else
22137
22978
  ac_check_lib_save_LIBS=$LIBS
22165
23006
fi
22166
23007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_freecon" >&5
22167
23008
$as_echo "$ac_cv_lib_selinux_freecon" >&6; }
22168
 
if test "x$ac_cv_lib_selinux_freecon" = x""yes; then :
 
23009
if test "x$ac_cv_lib_selinux_freecon" = xyes; then :
22169
23010
  /bin/true
22170
23011
fi
22171
23012
 
22172
23013
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for freeconary in -lselinux" >&5
22173
23014
$as_echo_n "checking for freeconary in -lselinux... " >&6; }
22174
 
if test "${ac_cv_lib_selinux_freeconary+set}" = set; then :
 
23015
if ${ac_cv_lib_selinux_freeconary+:} false; then :
22175
23016
  $as_echo_n "(cached) " >&6
22176
23017
else
22177
23018
  ac_check_lib_save_LIBS=$LIBS
22205
23046
fi
22206
23047
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_freeconary" >&5
22207
23048
$as_echo "$ac_cv_lib_selinux_freeconary" >&6; }
22208
 
if test "x$ac_cv_lib_selinux_freeconary" = x""yes; then :
 
23049
if test "x$ac_cv_lib_selinux_freeconary" = xyes; then :
22209
23050
  /bin/true
22210
23051
fi
22211
23052
 
22212
23053
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setexeccon in -lselinux" >&5
22213
23054
$as_echo_n "checking for setexeccon in -lselinux... " >&6; }
22214
 
if test "${ac_cv_lib_selinux_setexeccon+set}" = set; then :
 
23055
if ${ac_cv_lib_selinux_setexeccon+:} false; then :
22215
23056
  $as_echo_n "(cached) " >&6
22216
23057
else
22217
23058
  ac_check_lib_save_LIBS=$LIBS
22245
23086
fi
22246
23087
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_setexeccon" >&5
22247
23088
$as_echo "$ac_cv_lib_selinux_setexeccon" >&6; }
22248
 
if test "x$ac_cv_lib_selinux_setexeccon" = x""yes; then :
 
23089
if test "x$ac_cv_lib_selinux_setexeccon" = xyes; then :
22249
23090
  /bin/true
22250
23091
fi
22251
23092
 
22252
23093
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for is_selinux_enabled in -lselinux" >&5
22253
23094
$as_echo_n "checking for is_selinux_enabled in -lselinux... " >&6; }
22254
 
if test "${ac_cv_lib_selinux_is_selinux_enabled+set}" = set; then :
 
23095
if ${ac_cv_lib_selinux_is_selinux_enabled+:} false; then :
22255
23096
  $as_echo_n "(cached) " >&6
22256
23097
else
22257
23098
  ac_check_lib_save_LIBS=$LIBS
22285
23126
fi
22286
23127
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_is_selinux_enabled" >&5
22287
23128
$as_echo "$ac_cv_lib_selinux_is_selinux_enabled" >&6; }
22288
 
if test "x$ac_cv_lib_selinux_is_selinux_enabled" = x""yes; then :
 
23129
if test "x$ac_cv_lib_selinux_is_selinux_enabled" = xyes; then :
22289
23130
  /bin/true
22290
23131
fi
22291
23132
 
22381
23222
for ac_header in execinfo.h
22382
23223
do :
22383
23224
  ac_fn_c_check_header_mongrel "$LINENO" "execinfo.h" "ac_cv_header_execinfo_h" "$ac_includes_default"
22384
 
if test "x$ac_cv_header_execinfo_h" = x""yes; then :
 
23225
if test "x$ac_cv_header_execinfo_h" = xyes; then :
22385
23226
  cat >>confdefs.h <<_ACEOF
22386
23227
#define HAVE_EXECINFO_H 1
22387
23228
_ACEOF
22395
23236
for ac_header in sys/prctl.h
22396
23237
do :
22397
23238
  ac_fn_c_check_header_mongrel "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
22398
 
if test "x$ac_cv_header_sys_prctl_h" = x""yes; then :
 
23239
if test "x$ac_cv_header_sys_prctl_h" = xyes; then :
22399
23240
  cat >>confdefs.h <<_ACEOF
22400
23241
#define HAVE_SYS_PRCTL_H 1
22401
23242
_ACEOF
22570
23411
    # See if we have audit daemon library
22571
23412
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for audit_log_user_message in -laudit" >&5
22572
23413
$as_echo_n "checking for audit_log_user_message in -laudit... " >&6; }
22573
 
if test "${ac_cv_lib_audit_audit_log_user_message+set}" = set; then :
 
23414
if ${ac_cv_lib_audit_audit_log_user_message+:} false; then :
22574
23415
  $as_echo_n "(cached) " >&6
22575
23416
else
22576
23417
  ac_check_lib_save_LIBS=$LIBS
22604
23445
fi
22605
23446
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_audit_audit_log_user_message" >&5
22606
23447
$as_echo "$ac_cv_lib_audit_audit_log_user_message" >&6; }
22607
 
if test "x$ac_cv_lib_audit_audit_log_user_message" = x""yes; then :
 
23448
if test "x$ac_cv_lib_audit_audit_log_user_message" = xyes; then :
22608
23449
  have_libaudit=yes
22609
23450
else
22610
23451
  have_libaudit=no
22645
23486
#
22646
23487
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for di_devperm_login in -ldevinfo" >&5
22647
23488
$as_echo_n "checking for di_devperm_login in -ldevinfo... " >&6; }
22648
 
if test "${ac_cv_lib_devinfo_di_devperm_login+set}" = set; then :
 
23489
if ${ac_cv_lib_devinfo_di_devperm_login+:} false; then :
22649
23490
  $as_echo_n "(cached) " >&6
22650
23491
else
22651
23492
  ac_check_lib_save_LIBS=$LIBS
22679
23520
fi
22680
23521
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_devinfo_di_devperm_login" >&5
22681
23522
$as_echo "$ac_cv_lib_devinfo_di_devperm_login" >&6; }
22682
 
if test "x$ac_cv_lib_devinfo_di_devperm_login" = x""yes; then :
 
23523
if test "x$ac_cv_lib_devinfo_di_devperm_login" = xyes; then :
22683
23524
 
22684
23525
                        $as_echo "#define HAVE_LOGINDEVPERM 1" >>confdefs.h
22685
23526
 
23288
24129
     :end' >>confcache
23289
24130
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
23290
24131
  if test -w "$cache_file"; then
23291
 
    test "x$cache_file" != "x/dev/null" &&
 
24132
    if test "x$cache_file" != "x/dev/null"; then
23292
24133
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
23293
24134
$as_echo "$as_me: updating cache $cache_file" >&6;}
23294
 
    cat confcache >$cache_file
 
24135
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
24136
        cat confcache >"$cache_file"
 
24137
      else
 
24138
        case $cache_file in #(
 
24139
        */* | ?:*)
 
24140
          mv -f confcache "$cache_file"$$ &&
 
24141
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
24142
        *)
 
24143
          mv -f confcache "$cache_file" ;;
 
24144
        esac
 
24145
      fi
 
24146
    fi
23295
24147
  else
23296
24148
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
23297
24149
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
23399
24251
Usually this means the macro was only invoked conditionally." "$LINENO" 5
23400
24252
fi
23401
24253
 
23402
 
: ${CONFIG_STATUS=./config.status}
 
24254
: "${CONFIG_STATUS=./config.status}"
23403
24255
ac_write_fail=0
23404
24256
ac_clean_files_save=$ac_clean_files
23405
24257
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
23500
24352
IFS=" ""        $as_nl"
23501
24353
 
23502
24354
# Find who we are.  Look in the path if we contain no directory separator.
 
24355
as_myself=
23503
24356
case $0 in #((
23504
24357
  *[\\/]* ) as_myself=$0 ;;
23505
24358
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23806
24659
# report actual input values of CONFIG_FILES etc. instead of their
23807
24660
# values after options handling.
23808
24661
ac_log="
23809
 
This file was extended by gdm $as_me 2.32.0, which was
23810
 
generated by GNU Autoconf 2.66.  Invocation command line was
 
24662
This file was extended by gdm $as_me 2.32.1, which was
 
24663
generated by GNU Autoconf 2.68.  Invocation command line was
23811
24664
 
23812
24665
  CONFIG_FILES    = $CONFIG_FILES
23813
24666
  CONFIG_HEADERS  = $CONFIG_HEADERS
23872
24725
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23873
24726
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
23874
24727
ac_cs_version="\\
23875
 
gdm config.status 2.32.0
23876
 
configured by $0, generated by GNU Autoconf 2.66,
 
24728
gdm config.status 2.32.1
 
24729
configured by $0, generated by GNU Autoconf 2.68,
23877
24730
  with options \\"\$ac_cs_config\\"
23878
24731
 
23879
24732
Copyright (C) 2010 Free Software Foundation, Inc.
23894
24747
while test $# != 0
23895
24748
do
23896
24749
  case $1 in
23897
 
  --*=*)
 
24750
  --*=?*)
23898
24751
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
23899
24752
    ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
23900
24753
    ac_shift=:
23901
24754
    ;;
 
24755
  --*=)
 
24756
    ac_option=`expr "X$1" : 'X\([^=]*\)='`
 
24757
    ac_optarg=
 
24758
    ac_shift=:
 
24759
    ;;
23902
24760
  *)
23903
24761
    ac_option=$1
23904
24762
    ac_optarg=$2
23920
24778
    $ac_shift
23921
24779
    case $ac_optarg in
23922
24780
    *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
 
24781
    '') as_fn_error $? "missing file argument" ;;
23923
24782
    esac
23924
24783
    as_fn_append CONFIG_FILES " '$ac_optarg'"
23925
24784
    ac_need_defaults=false;;
24023
24882
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
24024
24883
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
24025
24884
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
24885
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
24886
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
24026
24887
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
24027
24888
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
24028
24889
OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
24029
24890
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
24030
24891
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
24892
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
24893
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
24894
DLLTOOL='`$ECHO "$DLLTOOL" | $SED "$delay_single_quote_subst"`'
 
24895
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
24031
24896
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
24032
24897
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
24898
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
24033
24899
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
24034
24900
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
24035
24901
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
24044
24910
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
24045
24911
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
24046
24912
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"`'
 
24913
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
24914
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
24047
24915
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
24048
24916
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
24049
24917
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
24918
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24050
24919
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
24051
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
24052
24920
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
24053
24921
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
24054
24922
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
24923
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
24055
24924
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
24056
24925
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
24057
24926
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
24084
24953
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
24085
24954
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
24086
24955
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
24087
 
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
24088
24956
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
24089
24957
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
24090
24958
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
24091
24959
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
24092
24960
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
24961
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
24093
24962
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
24094
24963
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
24095
24964
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
24128
24997
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
24129
24998
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
24130
24999
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
25000
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24131
25001
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
24132
 
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
24133
25002
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
24134
25003
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
24135
25004
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
24156
25025
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
24157
25026
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
24158
25027
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
24159
 
fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
24160
25028
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
24161
25029
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24162
25030
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24163
25031
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
24164
25032
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
25033
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
24165
25034
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
24166
25035
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
24167
25036
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
24199
25068
OBJDUMP \
24200
25069
deplibs_check_method \
24201
25070
file_magic_cmd \
 
25071
file_magic_glob \
 
25072
want_nocaseglob \
 
25073
DLLTOOL \
 
25074
sharedlib_from_linklib_cmd \
24202
25075
AR \
24203
25076
AR_FLAGS \
 
25077
archiver_list_spec \
24204
25078
STRIP \
24205
25079
RANLIB \
24206
25080
CC \
24210
25084
lt_cv_sys_global_symbol_to_cdecl \
24211
25085
lt_cv_sys_global_symbol_to_c_name_address \
24212
25086
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
25087
nm_file_list_spec \
24213
25088
lt_prog_compiler_no_builtin_flag \
 
25089
lt_prog_compiler_pic \
24214
25090
lt_prog_compiler_wl \
24215
 
lt_prog_compiler_pic \
24216
25091
lt_prog_compiler_static \
24217
25092
lt_cv_prog_compiler_c_o \
24218
25093
need_locks \
 
25094
MANIFEST_TOOL \
24219
25095
DSYMUTIL \
24220
25096
NMEDIT \
24221
25097
LIPO \
24231
25107
hardcode_libdir_flag_spec \
24232
25108
hardcode_libdir_flag_spec_ld \
24233
25109
hardcode_libdir_separator \
24234
 
fix_srcfile_path \
24235
25110
exclude_expsyms \
24236
25111
include_expsyms \
24237
25112
file_list_spec \
24253
25128
reload_flag_CXX \
24254
25129
compiler_CXX \
24255
25130
lt_prog_compiler_no_builtin_flag_CXX \
 
25131
lt_prog_compiler_pic_CXX \
24256
25132
lt_prog_compiler_wl_CXX \
24257
 
lt_prog_compiler_pic_CXX \
24258
25133
lt_prog_compiler_static_CXX \
24259
25134
lt_cv_prog_compiler_c_o_CXX \
24260
25135
export_dynamic_flag_spec_CXX \
24266
25141
hardcode_libdir_flag_spec_CXX \
24267
25142
hardcode_libdir_flag_spec_ld_CXX \
24268
25143
hardcode_libdir_separator_CXX \
24269
 
fix_srcfile_path_CXX \
24270
25144
exclude_expsyms_CXX \
24271
25145
include_expsyms_CXX \
24272
25146
file_list_spec_CXX \
24300
25174
module_expsym_cmds \
24301
25175
export_symbols_cmds \
24302
25176
prelink_cmds \
 
25177
postlink_cmds \
24303
25178
postinstall_cmds \
24304
25179
postuninstall_cmds \
24305
25180
finish_cmds \
24314
25189
module_cmds_CXX \
24315
25190
module_expsym_cmds_CXX \
24316
25191
export_symbols_cmds_CXX \
24317
 
prelink_cmds_CXX; do
 
25192
prelink_cmds_CXX \
 
25193
postlink_cmds_CXX; do
24318
25194
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
24319
25195
    *[\\\\\\\`\\"\\\$]*)
24320
25196
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
24406
25282
# after its creation but before its name has been assigned to `$tmp'.
24407
25283
$debug ||
24408
25284
{
24409
 
  tmp=
 
25285
  tmp= ac_tmp=
24410
25286
  trap 'exit_status=$?
24411
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
25287
  : "${ac_tmp:=$tmp}"
 
25288
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
24412
25289
' 0
24413
25290
  trap 'as_fn_exit 1' 1 2 13 15
24414
25291
}
24416
25293
 
24417
25294
{
24418
25295
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
24419
 
  test -n "$tmp" && test -d "$tmp"
 
25296
  test -d "$tmp"
24420
25297
}  ||
24421
25298
{
24422
25299
  tmp=./conf$$-$RANDOM
24423
25300
  (umask 077 && mkdir "$tmp")
24424
25301
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
25302
ac_tmp=$tmp
24425
25303
 
24426
25304
# Set up the scripts for CONFIG_FILES section.
24427
25305
# No need to generate them if there are no CONFIG_FILES.
24443
25321
  ac_cs_awk_cr=$ac_cr
24444
25322
fi
24445
25323
 
24446
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
25324
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
24447
25325
_ACEOF
24448
25326
 
24449
25327
 
24471
25349
rm -f conf$$subs.sh
24472
25350
 
24473
25351
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24474
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
25352
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
24475
25353
_ACEOF
24476
25354
sed -n '
24477
25355
h
24519
25397
rm -f conf$$subs.awk
24520
25398
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
24521
25399
_ACAWK
24522
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
25400
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
24523
25401
  for (key in S) S_is_set[key] = 1
24524
25402
  FS = ""
24525
25403
 
24551
25429
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
24552
25430
else
24553
25431
  cat
24554
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
25432
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
24555
25433
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
24556
25434
_ACEOF
24557
25435
 
24585
25463
# No need to generate them if there are no CONFIG_HEADERS.
24586
25464
# This happens for instance with `./config.status Makefile'.
24587
25465
if test -n "$CONFIG_HEADERS"; then
24588
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
25466
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
24589
25467
BEGIN {
24590
25468
_ACEOF
24591
25469
 
24597
25475
# handling of long lines.
24598
25476
ac_delim='%!_!# '
24599
25477
for ac_last_try in false false :; do
24600
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
24601
 
  if test -z "$ac_t"; then
 
25478
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
25479
  if test -z "$ac_tt"; then
24602
25480
    break
24603
25481
  elif $ac_last_try; then
24604
25482
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
24718
25596
    for ac_f
24719
25597
    do
24720
25598
      case $ac_f in
24721
 
      -) ac_f="$tmp/stdin";;
 
25599
      -) ac_f="$ac_tmp/stdin";;
24722
25600
      *) # Look for the file first in the build tree, then in the source tree
24723
25601
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
24724
25602
         # because $ac_f cannot contain `:'.
24753
25631
    esac
24754
25632
 
24755
25633
    case $ac_tag in
24756
 
    *:-:* | *:-) cat >"$tmp/stdin" \
 
25634
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
24757
25635
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
24758
25636
    esac
24759
25637
    ;;
24890
25768
s&@MKDIR_P@&$ac_MKDIR_P&;t t
24891
25769
$ac_datarootdir_hack
24892
25770
"
24893
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
24894
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
25771
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
25772
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24895
25773
 
24896
25774
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
24897
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
24898
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
25775
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
25776
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
25777
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
24899
25778
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24900
25779
which seems to be undefined.  Please make sure it is defined" >&5
24901
25780
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
24902
25781
which seems to be undefined.  Please make sure it is defined" >&2;}
24903
25782
 
24904
 
  rm -f "$tmp/stdin"
 
25783
  rm -f "$ac_tmp/stdin"
24905
25784
  case $ac_file in
24906
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
24907
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
25785
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
25786
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
24908
25787
  esac \
24909
25788
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24910
25789
 ;;
24915
25794
  if test x"$ac_file" != x-; then
24916
25795
    {
24917
25796
      $as_echo "/* $configure_input  */" \
24918
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
24919
 
    } >"$tmp/config.h" \
 
25797
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
25798
    } >"$ac_tmp/config.h" \
24920
25799
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24921
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
25800
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
24922
25801
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
24923
25802
$as_echo "$as_me: $ac_file is unchanged" >&6;}
24924
25803
    else
24925
25804
      rm -f "$ac_file"
24926
 
      mv "$tmp/config.h" "$ac_file" \
 
25805
      mv "$ac_tmp/config.h" "$ac_file" \
24927
25806
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
24928
25807
    fi
24929
25808
  else
24930
25809
    $as_echo "/* $configure_input  */" \
24931
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
25810
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
24932
25811
      || as_fn_error $? "could not create -" "$LINENO" 5
24933
25812
  fi
24934
25813
# Compute "$ac_file"'s index in $config_headers.
25194
26073
# turn newlines into spaces.
25195
26074
NL2SP=$lt_lt_NL2SP
25196
26075
 
 
26076
# convert \$build file names to \$host format.
 
26077
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
26078
 
 
26079
# convert \$build files to toolchain format.
 
26080
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
26081
 
25197
26082
# An object symbol dumper.
25198
26083
OBJDUMP=$lt_OBJDUMP
25199
26084
 
25200
26085
# Method to check whether dependent libraries are shared objects.
25201
26086
deplibs_check_method=$lt_deplibs_check_method
25202
26087
 
25203
 
# Command to use when deplibs_check_method == "file_magic".
 
26088
# Command to use when deplibs_check_method = "file_magic".
25204
26089
file_magic_cmd=$lt_file_magic_cmd
25205
26090
 
 
26091
# How to find potential files when deplibs_check_method = "file_magic".
 
26092
file_magic_glob=$lt_file_magic_glob
 
26093
 
 
26094
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
26095
want_nocaseglob=$lt_want_nocaseglob
 
26096
 
 
26097
# DLL creation program.
 
26098
DLLTOOL=$lt_DLLTOOL
 
26099
 
 
26100
# Command to associate shared and link libraries.
 
26101
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
26102
 
25206
26103
# The archiver.
25207
26104
AR=$lt_AR
 
26105
 
 
26106
# Flags to create an archive.
25208
26107
AR_FLAGS=$lt_AR_FLAGS
25209
26108
 
 
26109
# How to feed a file listing to the archiver.
 
26110
archiver_list_spec=$lt_archiver_list_spec
 
26111
 
25210
26112
# A symbol stripping program.
25211
26113
STRIP=$lt_STRIP
25212
26114
 
25236
26138
# Transform the output of nm in a C name address pair when lib prefix is needed.
25237
26139
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
25238
26140
 
 
26141
# Specify filename containing input files for \$NM.
 
26142
nm_file_list_spec=$lt_nm_file_list_spec
 
26143
 
 
26144
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
26145
lt_sysroot=$lt_sysroot
 
26146
 
25239
26147
# The name of the directory that contains temporary libtool files.
25240
26148
objdir=$objdir
25241
26149
 
25245
26153
# Must we lock files when doing compilation?
25246
26154
need_locks=$lt_need_locks
25247
26155
 
 
26156
# Manifest tool.
 
26157
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
26158
 
25248
26159
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
25249
26160
DSYMUTIL=$lt_DSYMUTIL
25250
26161
 
25359
26270
# Compiler flag to turn off builtin functions.
25360
26271
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
25361
26272
 
 
26273
# Additional compiler flags for building library objects.
 
26274
pic_flag=$lt_lt_prog_compiler_pic
 
26275
 
25362
26276
# How to pass a linker flag through the compiler.
25363
26277
wl=$lt_lt_prog_compiler_wl
25364
26278
 
25365
 
# Additional compiler flags for building library objects.
25366
 
pic_flag=$lt_lt_prog_compiler_pic
25367
 
 
25368
26279
# Compiler flag to prevent dynamic linking.
25369
26280
link_static_flag=$lt_lt_prog_compiler_static
25370
26281
 
25451
26362
# Whether libtool must link a program against all its dependency libraries.
25452
26363
link_all_deplibs=$link_all_deplibs
25453
26364
 
25454
 
# Fix the shell variable \$srcfile for the compiler.
25455
 
fix_srcfile_path=$lt_fix_srcfile_path
25456
 
 
25457
26365
# Set to "yes" if exported symbols are required.
25458
26366
always_export_symbols=$always_export_symbols
25459
26367
 
25469
26377
# Commands necessary for linking programs (against libraries) with templates.
25470
26378
prelink_cmds=$lt_prelink_cmds
25471
26379
 
 
26380
# Commands necessary for finishing linking programs.
 
26381
postlink_cmds=$lt_postlink_cmds
 
26382
 
25472
26383
# Specify filename containing input files.
25473
26384
file_list_spec=$lt_file_list_spec
25474
26385
 
25515
26426
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
25516
26427
  # text mode, it properly converts lines to CR/LF.  This bash problem
25517
26428
  # is reportedly fixed, but why not run on old versions too?
25518
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
25519
 
    || (rm -f "$cfgfile"; exit 1)
25520
 
 
25521
 
  case $xsi_shell in
25522
 
  yes)
25523
 
    cat << \_LT_EOF >> "$cfgfile"
25524
 
 
25525
 
# func_dirname file append nondir_replacement
25526
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
25527
 
# otherwise set result to NONDIR_REPLACEMENT.
25528
 
func_dirname ()
25529
 
{
25530
 
  case ${1} in
25531
 
    */*) func_dirname_result="${1%/*}${2}" ;;
25532
 
    *  ) func_dirname_result="${3}" ;;
25533
 
  esac
25534
 
}
25535
 
 
25536
 
# func_basename file
25537
 
func_basename ()
25538
 
{
25539
 
  func_basename_result="${1##*/}"
25540
 
}
25541
 
 
25542
 
# func_dirname_and_basename file append nondir_replacement
25543
 
# perform func_basename and func_dirname in a single function
25544
 
# call:
25545
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
25546
 
#             add APPEND to the result, otherwise set result
25547
 
#             to NONDIR_REPLACEMENT.
25548
 
#             value returned in "$func_dirname_result"
25549
 
#   basename: Compute filename of FILE.
25550
 
#             value retuned in "$func_basename_result"
25551
 
# Implementation must be kept synchronized with func_dirname
25552
 
# and func_basename. For efficiency, we do not delegate to
25553
 
# those functions but instead duplicate the functionality here.
25554
 
func_dirname_and_basename ()
25555
 
{
25556
 
  case ${1} in
25557
 
    */*) func_dirname_result="${1%/*}${2}" ;;
25558
 
    *  ) func_dirname_result="${3}" ;;
25559
 
  esac
25560
 
  func_basename_result="${1##*/}"
25561
 
}
25562
 
 
25563
 
# func_stripname prefix suffix name
25564
 
# strip PREFIX and SUFFIX off of NAME.
25565
 
# PREFIX and SUFFIX must not contain globbing or regex special
25566
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
25567
 
# dot (in which case that matches only a dot).
25568
 
func_stripname ()
25569
 
{
25570
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
25571
 
  # positional parameters, so assign one to ordinary parameter first.
25572
 
  func_stripname_result=${3}
25573
 
  func_stripname_result=${func_stripname_result#"${1}"}
25574
 
  func_stripname_result=${func_stripname_result%"${2}"}
25575
 
}
25576
 
 
25577
 
# func_opt_split
25578
 
func_opt_split ()
25579
 
{
25580
 
  func_opt_split_opt=${1%%=*}
25581
 
  func_opt_split_arg=${1#*=}
25582
 
}
25583
 
 
25584
 
# func_lo2o object
25585
 
func_lo2o ()
25586
 
{
25587
 
  case ${1} in
25588
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
25589
 
    *)    func_lo2o_result=${1} ;;
25590
 
  esac
25591
 
}
25592
 
 
25593
 
# func_xform libobj-or-source
25594
 
func_xform ()
25595
 
{
25596
 
  func_xform_result=${1%.*}.lo
25597
 
}
25598
 
 
25599
 
# func_arith arithmetic-term...
25600
 
func_arith ()
25601
 
{
25602
 
  func_arith_result=$(( $* ))
25603
 
}
25604
 
 
25605
 
# func_len string
25606
 
# STRING may not start with a hyphen.
25607
 
func_len ()
25608
 
{
25609
 
  func_len_result=${#1}
25610
 
}
25611
 
 
25612
 
_LT_EOF
25613
 
    ;;
25614
 
  *) # Bourne compatible functions.
25615
 
    cat << \_LT_EOF >> "$cfgfile"
25616
 
 
25617
 
# func_dirname file append nondir_replacement
25618
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
25619
 
# otherwise set result to NONDIR_REPLACEMENT.
25620
 
func_dirname ()
25621
 
{
25622
 
  # Extract subdirectory from the argument.
25623
 
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
25624
 
  if test "X$func_dirname_result" = "X${1}"; then
25625
 
    func_dirname_result="${3}"
25626
 
  else
25627
 
    func_dirname_result="$func_dirname_result${2}"
25628
 
  fi
25629
 
}
25630
 
 
25631
 
# func_basename file
25632
 
func_basename ()
25633
 
{
25634
 
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
25635
 
}
25636
 
 
25637
 
 
25638
 
# func_stripname prefix suffix name
25639
 
# strip PREFIX and SUFFIX off of NAME.
25640
 
# PREFIX and SUFFIX must not contain globbing or regex special
25641
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
25642
 
# dot (in which case that matches only a dot).
25643
 
# func_strip_suffix prefix name
25644
 
func_stripname ()
25645
 
{
25646
 
  case ${2} in
25647
 
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
25648
 
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
25649
 
  esac
25650
 
}
25651
 
 
25652
 
# sed scripts:
25653
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
25654
 
my_sed_long_arg='1s/^-[^=]*=//'
25655
 
 
25656
 
# func_opt_split
25657
 
func_opt_split ()
25658
 
{
25659
 
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
25660
 
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
25661
 
}
25662
 
 
25663
 
# func_lo2o object
25664
 
func_lo2o ()
25665
 
{
25666
 
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
25667
 
}
25668
 
 
25669
 
# func_xform libobj-or-source
25670
 
func_xform ()
25671
 
{
25672
 
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
25673
 
}
25674
 
 
25675
 
# func_arith arithmetic-term...
25676
 
func_arith ()
25677
 
{
25678
 
  func_arith_result=`expr "$@"`
25679
 
}
25680
 
 
25681
 
# func_len string
25682
 
# STRING may not start with a hyphen.
25683
 
func_len ()
25684
 
{
25685
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
25686
 
}
25687
 
 
25688
 
_LT_EOF
25689
 
esac
25690
 
 
25691
 
case $lt_shell_append in
25692
 
  yes)
25693
 
    cat << \_LT_EOF >> "$cfgfile"
25694
 
 
25695
 
# func_append var value
25696
 
# Append VALUE to the end of shell variable VAR.
25697
 
func_append ()
25698
 
{
25699
 
  eval "$1+=\$2"
25700
 
}
25701
 
_LT_EOF
25702
 
    ;;
25703
 
  *)
25704
 
    cat << \_LT_EOF >> "$cfgfile"
25705
 
 
25706
 
# func_append var value
25707
 
# Append VALUE to the end of shell variable VAR.
25708
 
func_append ()
25709
 
{
25710
 
  eval "$1=\$$1\$2"
25711
 
}
25712
 
 
25713
 
_LT_EOF
25714
 
    ;;
25715
 
  esac
25716
 
 
25717
 
 
25718
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
25719
 
    || (rm -f "$cfgfile"; exit 1)
25720
 
 
25721
 
  mv -f "$cfgfile" "$ofile" ||
 
26429
  sed '$q' "$ltmain" >> "$cfgfile" \
 
26430
     || (rm -f "$cfgfile"; exit 1)
 
26431
 
 
26432
  if test x"$xsi_shell" = xyes; then
 
26433
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
26434
func_dirname ()\
 
26435
{\
 
26436
\    case ${1} in\
 
26437
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
26438
\      *  ) func_dirname_result="${3}" ;;\
 
26439
\    esac\
 
26440
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
26441
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26442
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26443
test 0 -eq $? || _lt_function_replace_fail=:
 
26444
 
 
26445
 
 
26446
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
26447
func_basename ()\
 
26448
{\
 
26449
\    func_basename_result="${1##*/}"\
 
26450
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
26451
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26452
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26453
test 0 -eq $? || _lt_function_replace_fail=:
 
26454
 
 
26455
 
 
26456
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
26457
func_dirname_and_basename ()\
 
26458
{\
 
26459
\    case ${1} in\
 
26460
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
26461
\      *  ) func_dirname_result="${3}" ;;\
 
26462
\    esac\
 
26463
\    func_basename_result="${1##*/}"\
 
26464
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
26465
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26466
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26467
test 0 -eq $? || _lt_function_replace_fail=:
 
26468
 
 
26469
 
 
26470
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
26471
func_stripname ()\
 
26472
{\
 
26473
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
26474
\    # positional parameters, so assign one to ordinary parameter first.\
 
26475
\    func_stripname_result=${3}\
 
26476
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
26477
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
26478
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
26479
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26480
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26481
test 0 -eq $? || _lt_function_replace_fail=:
 
26482
 
 
26483
 
 
26484
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
26485
func_split_long_opt ()\
 
26486
{\
 
26487
\    func_split_long_opt_name=${1%%=*}\
 
26488
\    func_split_long_opt_arg=${1#*=}\
 
26489
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
26490
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26491
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26492
test 0 -eq $? || _lt_function_replace_fail=:
 
26493
 
 
26494
 
 
26495
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
26496
func_split_short_opt ()\
 
26497
{\
 
26498
\    func_split_short_opt_arg=${1#??}\
 
26499
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
26500
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
26501
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26502
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26503
test 0 -eq $? || _lt_function_replace_fail=:
 
26504
 
 
26505
 
 
26506
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
26507
func_lo2o ()\
 
26508
{\
 
26509
\    case ${1} in\
 
26510
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
26511
\      *)    func_lo2o_result=${1} ;;\
 
26512
\    esac\
 
26513
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
26514
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26515
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26516
test 0 -eq $? || _lt_function_replace_fail=:
 
26517
 
 
26518
 
 
26519
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
26520
func_xform ()\
 
26521
{\
 
26522
    func_xform_result=${1%.*}.lo\
 
26523
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
26524
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26525
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26526
test 0 -eq $? || _lt_function_replace_fail=:
 
26527
 
 
26528
 
 
26529
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
26530
func_arith ()\
 
26531
{\
 
26532
    func_arith_result=$(( $* ))\
 
26533
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
26534
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26535
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26536
test 0 -eq $? || _lt_function_replace_fail=:
 
26537
 
 
26538
 
 
26539
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
26540
func_len ()\
 
26541
{\
 
26542
    func_len_result=${#1}\
 
26543
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
26544
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26545
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26546
test 0 -eq $? || _lt_function_replace_fail=:
 
26547
 
 
26548
fi
 
26549
 
 
26550
if test x"$lt_shell_append" = xyes; then
 
26551
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
26552
func_append ()\
 
26553
{\
 
26554
    eval "${1}+=\\${2}"\
 
26555
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
26556
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26557
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26558
test 0 -eq $? || _lt_function_replace_fail=:
 
26559
 
 
26560
 
 
26561
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
26562
func_append_quoted ()\
 
26563
{\
 
26564
\    func_quote_for_eval "${2}"\
 
26565
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
26566
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
26567
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26568
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26569
test 0 -eq $? || _lt_function_replace_fail=:
 
26570
 
 
26571
 
 
26572
  # Save a `func_append' function call where possible by direct use of '+='
 
26573
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
26574
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26575
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26576
  test 0 -eq $? || _lt_function_replace_fail=:
 
26577
else
 
26578
  # Save a `func_append' function call even when '+=' is not available
 
26579
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
26580
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
26581
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
26582
  test 0 -eq $? || _lt_function_replace_fail=:
 
26583
fi
 
26584
 
 
26585
if test x"$_lt_function_replace_fail" = x":"; then
 
26586
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
26587
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
26588
fi
 
26589
 
 
26590
 
 
26591
   mv -f "$cfgfile" "$ofile" ||
25722
26592
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
25723
26593
  chmod +x "$ofile"
25724
26594
 
25746
26616
# Compiler flag to turn off builtin functions.
25747
26617
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
25748
26618
 
 
26619
# Additional compiler flags for building library objects.
 
26620
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
26621
 
25749
26622
# How to pass a linker flag through the compiler.
25750
26623
wl=$lt_lt_prog_compiler_wl_CXX
25751
26624
 
25752
 
# Additional compiler flags for building library objects.
25753
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
25754
 
 
25755
26625
# Compiler flag to prevent dynamic linking.
25756
26626
link_static_flag=$lt_lt_prog_compiler_static_CXX
25757
26627
 
25838
26708
# Whether libtool must link a program against all its dependency libraries.
25839
26709
link_all_deplibs=$link_all_deplibs_CXX
25840
26710
 
25841
 
# Fix the shell variable \$srcfile for the compiler.
25842
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
25843
 
 
25844
26711
# Set to "yes" if exported symbols are required.
25845
26712
always_export_symbols=$always_export_symbols_CXX
25846
26713
 
25856
26723
# Commands necessary for linking programs (against libraries) with templates.
25857
26724
prelink_cmds=$lt_prelink_cmds_CXX
25858
26725
 
 
26726
# Commands necessary for finishing linking programs.
 
26727
postlink_cmds=$lt_postlink_cmds_CXX
 
26728
 
25859
26729
# Specify filename containing input files.
25860
26730
file_list_spec=$lt_file_list_spec_CXX
25861
26731