~ubuntu-branches/ubuntu/quantal/gnutls26/quantal-security

« back to all changes in this revision

Viewing changes to libextra/configure

  • Committer: Package Import Robot
  • Author(s): Andreas Metzler
  • Date: 2011-10-01 15:28:13 UTC
  • mfrom: (12.1.20 sid)
  • Revision ID: package-import@ubuntu.com-20111001152813-yygm1c4cxonfxhzy
Tags: 2.12.11-1
* New upstream version.
  + Allow CA importing of 0 certificates to succeed. Closes: #640639
* Add libp11-kit-dev to libgnutls-dev dependencies. (see #643811)
* [20_guiledocstring.diff] guile: Fix docstring extraction with CPP 4.5+.

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.67 for libgnutls-extra 2.10.5.
 
3
# Generated by GNU Autoconf 2.68 for libgnutls-extra 2.12.11.
4
4
#
5
5
# Report bugs to <bug-gnutls@gnu.org>.
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 :
562
570
# Identity of this package.
563
571
PACKAGE_NAME='libgnutls-extra'
564
572
PACKAGE_TARNAME='libgnutls-extra'
565
 
PACKAGE_VERSION='2.10.5'
566
 
PACKAGE_STRING='libgnutls-extra 2.10.5'
 
573
PACKAGE_VERSION='2.12.11'
 
574
PACKAGE_STRING='libgnutls-extra 2.12.11'
567
575
PACKAGE_BUGREPORT='bug-gnutls@gnu.org'
568
576
PACKAGE_URL=''
569
577
 
637
645
REPLACE_SLEEP
638
646
REPLACE_RMDIR
639
647
REPLACE_READLINK
 
648
REPLACE_READ
640
649
REPLACE_PWRITE
641
650
REPLACE_PREAD
642
651
REPLACE_LSEEK
645
654
REPLACE_LCHOWN
646
655
REPLACE_GETPAGESIZE
647
656
REPLACE_GETGROUPS
 
657
REPLACE_GETLOGIN_R
 
658
REPLACE_GETDOMAINNAME
648
659
REPLACE_GETCWD
649
660
REPLACE_FCHOWNAT
650
661
REPLACE_DUP2
653
664
REPLACE_CHOWN
654
665
HAVE_SYS_PARAM_H
655
666
HAVE_OS_H
 
667
HAVE_DECL_TTYNAME_R
656
668
HAVE_DECL_GETUSERSHELL
657
669
HAVE_DECL_GETPAGESIZE
658
670
HAVE_DECL_GETLOGIN_R
 
671
HAVE_DECL_GETDOMAINNAME
 
672
HAVE_DECL_FCHDIR
659
673
HAVE_DECL_ENVIRON
660
674
HAVE_USLEEP
661
675
HAVE_UNLINKAT
662
 
HAVE_TTYNAME_R
663
676
HAVE_SYMLINKAT
664
677
HAVE_SYMLINK
665
678
HAVE_SLEEP
668
681
HAVE_PWRITE
669
682
HAVE_PREAD
670
683
HAVE_PIPE2
 
684
HAVE_PIPE
671
685
HAVE_LINKAT
672
686
HAVE_LINK
673
687
HAVE_LCHOWN
 
688
HAVE_GROUP_MEMBER
674
689
HAVE_GETPAGESIZE
675
690
HAVE_GETLOGIN
676
691
HAVE_GETHOSTNAME
677
692
HAVE_GETGROUPS
678
693
HAVE_GETDTABLESIZE
679
 
HAVE_GETDOMAINNAME
680
694
HAVE_FTRUNCATE
681
695
HAVE_FSYNC
682
696
HAVE_FCHOWNAT
691
705
GNULIB_UNLINKAT
692
706
GNULIB_UNLINK
693
707
GNULIB_UNISTD_H_SIGPIPE
 
708
GNULIB_UNISTD_H_NONBLOCKING
694
709
GNULIB_UNISTD_H_GETOPT
695
710
GNULIB_TTYNAME_R
696
711
GNULIB_SYMLINKAT
699
714
GNULIB_RMDIR
700
715
GNULIB_READLINKAT
701
716
GNULIB_READLINK
 
717
GNULIB_READ
702
718
GNULIB_PWRITE
703
719
GNULIB_PREAD
704
720
GNULIB_PIPE2
 
721
GNULIB_PIPE
705
722
GNULIB_LSEEK
706
723
GNULIB_LINKAT
707
724
GNULIB_LINK
708
725
GNULIB_LCHOWN
 
726
GNULIB_GROUP_MEMBER
709
727
GNULIB_GETUSERSHELL
710
728
GNULIB_GETPAGESIZE
711
729
GNULIB_GETLOGIN_R
751
769
LTLIBTASN1
752
770
LIBTASN1
753
771
HAVE_LIBTASN1
 
772
ENABLE_NETTLE_FALSE
 
773
ENABLE_NETTLE_TRUE
 
774
NETTLE_LIBS
 
775
LIBNETTLE_PREFIX
 
776
LTLIBNETTLE
 
777
LIBNETTLE
 
778
HAVE_LIBNETTLE
754
779
LIBGCRYPT_PREFIX
755
780
LTLIBGCRYPT
756
781
LIBGCRYPT
757
782
HAVE_LIBGCRYPT
758
783
DLL_VERSION
 
784
CXX_LT_AGE
 
785
CXX_LT_REVISION
 
786
CXX_LT_CURRENT
 
787
LT_SSL_AGE
 
788
LT_SSL_REVISION
 
789
LT_SSL_CURRENT
759
790
LT_AGE
760
791
LT_REVISION
761
792
LT_CURRENT
764
795
LIPO
765
796
NMEDIT
766
797
DSYMUTIL
 
798
MANIFEST_TOOL
 
799
ac_ct_AR
767
800
AR
768
801
LN_S
769
802
NM
804
837
LDFLAGS
805
838
CFLAGS
806
839
CC
 
840
AM_BACKSLASH
 
841
AM_DEFAULT_VERBOSITY
807
842
am__untar
808
843
am__tar
809
844
AMTAR
868
903
ac_subst_files=''
869
904
ac_user_opts='
870
905
enable_option_checking
 
906
enable_silent_rules
871
907
enable_dependency_tracking
872
908
enable_shared
873
909
enable_static
874
910
with_pic
875
911
enable_fast_install
876
912
with_gnu_ld
 
913
with_sysroot
877
914
enable_libtool_lock
 
915
with_libgcrypt
878
916
enable_rpath
879
917
with_libgcrypt_prefix
 
918
with_libnettle_prefix
880
919
with_included_libtasn1
881
920
with_libtasn1_prefix
882
921
with_lzo
1305
1344
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1306
1345
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1307
1346
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1308
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1347
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1309
1348
    ;;
1310
1349
 
1311
1350
  esac
1443
1482
  # Omit some internal or obsolete options to make the list less imposing.
1444
1483
  # This message is too long to be a string in the A/UX 3.1 sh.
1445
1484
  cat <<_ACEOF
1446
 
\`configure' configures libgnutls-extra 2.10.5 to adapt to many kinds of systems.
 
1485
\`configure' configures libgnutls-extra 2.12.11 to adapt to many kinds of systems.
1447
1486
 
1448
1487
Usage: $0 [OPTION]... [VAR=VALUE]...
1449
1488
 
1513
1552
 
1514
1553
if test -n "$ac_init_help"; then
1515
1554
  case $ac_init_help in
1516
 
     short | recursive ) echo "Configuration of libgnutls-extra 2.10.5:";;
 
1555
     short | recursive ) echo "Configuration of libgnutls-extra 2.12.11:";;
1517
1556
   esac
1518
1557
  cat <<\_ACEOF
1519
1558
 
1521
1560
  --disable-option-checking  ignore unrecognized --enable/--with options
1522
1561
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
1523
1562
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
1563
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
1564
  --disable-silent-rules         verbose build output (undo: `make V=0')
1524
1565
  --disable-dependency-tracking  speeds up one-time build
1525
1566
  --enable-dependency-tracking   do not reject slow dependency extractors
1526
1567
  --enable-shared[=PKGS]  build shared libraries [default=yes]
1556
1597
  --with-pic              try to use only PIC/non-PIC objects [default=use
1557
1598
                          both]
1558
1599
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
1600
  --with-sysroot=DIR Search for dependent libraries within DIR
 
1601
                        (or the compiler's sysroot if not specified).
 
1602
  --with-libgcrypt        use libgcrypt as crypto library
1559
1603
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
1560
1604
  --with-libgcrypt-prefix[=DIR]  search for libgcrypt in DIR/include and DIR/lib
1561
1605
  --without-libgcrypt-prefix     don't search for libgcrypt in includedir and libdir
 
1606
  --with-libnettle-prefix[=DIR]  search for libnettle in DIR/include and DIR/lib
 
1607
  --without-libnettle-prefix     don't search for libnettle in includedir and libdir
1562
1608
  --with-included-libtasn1
1563
1609
                          use the included libtasn1
1564
1610
  --with-libtasn1-prefix[=DIR]  search for libtasn1 in DIR/include and DIR/lib
1641
1687
test -n "$ac_init_help" && exit $ac_status
1642
1688
if $ac_init_version; then
1643
1689
  cat <<\_ACEOF
1644
 
libgnutls-extra configure 2.10.5
1645
 
generated by GNU Autoconf 2.67
 
1690
libgnutls-extra configure 2.12.11
 
1691
generated by GNU Autoconf 2.68
1646
1692
 
1647
1693
Copyright (C) 2010 Free Software Foundation, Inc.
1648
1694
This configure script is free software; the Free Software Foundation
1688
1734
 
1689
1735
        ac_retval=1
1690
1736
fi
1691
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1737
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1692
1738
  as_fn_set_status $ac_retval
1693
1739
 
1694
1740
} # ac_fn_c_try_compile
1725
1771
 
1726
1772
    ac_retval=1
1727
1773
fi
1728
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1774
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1729
1775
  as_fn_set_status $ac_retval
1730
1776
 
1731
1777
} # ac_fn_c_try_cpp
1738
1784
ac_fn_c_check_header_mongrel ()
1739
1785
{
1740
1786
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1741
 
  if eval "test \"\${$3+set}\"" = set; then :
 
1787
  if eval \${$3+:} false; then :
1742
1788
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1743
1789
$as_echo_n "checking for $2... " >&6; }
1744
 
if eval "test \"\${$3+set}\"" = set; then :
 
1790
if eval \${$3+:} false; then :
1745
1791
  $as_echo_n "(cached) " >&6
1746
1792
fi
1747
1793
eval ac_res=\$$3
1808
1854
esac
1809
1855
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1810
1856
$as_echo_n "checking for $2... " >&6; }
1811
 
if eval "test \"\${$3+set}\"" = set; then :
 
1857
if eval \${$3+:} false; then :
1812
1858
  $as_echo_n "(cached) " >&6
1813
1859
else
1814
1860
  eval "$3=\$ac_header_compiler"
1817
1863
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1818
1864
$as_echo "$ac_res" >&6; }
1819
1865
fi
1820
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1866
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1821
1867
 
1822
1868
} # ac_fn_c_check_header_mongrel
1823
1869
 
1858
1904
       ac_retval=$ac_status
1859
1905
fi
1860
1906
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1861
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1907
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1862
1908
  as_fn_set_status $ac_retval
1863
1909
 
1864
1910
} # ac_fn_c_try_run
1872
1918
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1873
1919
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1874
1920
$as_echo_n "checking for $2... " >&6; }
1875
 
if eval "test \"\${$3+set}\"" = set; then :
 
1921
if eval \${$3+:} false; then :
1876
1922
  $as_echo_n "(cached) " >&6
1877
1923
else
1878
1924
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1890
1936
eval ac_res=\$$3
1891
1937
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1892
1938
$as_echo "$ac_res" >&6; }
1893
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1939
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894
1940
 
1895
1941
} # ac_fn_c_check_header_compile
1896
1942
 
1935
1981
  # interfere with the next link command; also delete a directory that is
1936
1982
  # left behind by Apple's compiler.  We do this before executing the actions.
1937
1983
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1938
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
1984
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1939
1985
  as_fn_set_status $ac_retval
1940
1986
 
1941
1987
} # ac_fn_c_try_link
1948
1994
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1949
1995
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1950
1996
$as_echo_n "checking for $2... " >&6; }
1951
 
if eval "test \"\${$3+set}\"" = set; then :
 
1997
if eval \${$3+:} false; then :
1952
1998
  $as_echo_n "(cached) " >&6
1953
1999
else
1954
2000
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2003
2049
eval ac_res=\$$3
2004
2050
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2005
2051
$as_echo "$ac_res" >&6; }
2006
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2052
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2007
2053
 
2008
2054
} # ac_fn_c_check_func
2009
2055
 
2180
2226
rm -f conftest.val
2181
2227
 
2182
2228
  fi
2183
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2229
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2184
2230
  as_fn_set_status $ac_retval
2185
2231
 
2186
2232
} # ac_fn_c_compute_int
2188
2234
This file contains any messages produced by compilers while
2189
2235
running configure, to aid debugging if configure makes a mistake.
2190
2236
 
2191
 
It was created by libgnutls-extra $as_me 2.10.5, which was
2192
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
2237
It was created by libgnutls-extra $as_me 2.12.11, which was
 
2238
generated by GNU Autoconf 2.68.  Invocation command line was
2193
2239
 
2194
2240
  $ $0 $@
2195
2241
 
2447
2493
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2448
2494
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2449
2495
as_fn_error $? "failed to load site script $ac_site_file
2450
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
2496
See \`config.log' for more details" "$LINENO" 5; }
2451
2497
  fi
2452
2498
done
2453
2499
 
2587
2633
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2588
2634
$as_echo_n "checking for a BSD-compatible install... " >&6; }
2589
2635
if test -z "$INSTALL"; then
2590
 
if test "${ac_cv_path_install+set}" = set; then :
 
2636
if ${ac_cv_path_install+:} false; then :
2591
2637
  $as_echo_n "(cached) " >&6
2592
2638
else
2593
2639
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2674
2720
'
2675
2721
case `pwd` in
2676
2722
  *[\\\"\#\$\&\'\`$am_lf]*)
2677
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
2723
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2678
2724
esac
2679
2725
case $srcdir in
2680
2726
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
2681
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
2727
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
2682
2728
esac
2683
2729
 
2684
2730
# Do `set' in a subshell so we don't clobber the current shell's
2764
2810
set dummy ${ac_tool_prefix}strip; ac_word=$2
2765
2811
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2766
2812
$as_echo_n "checking for $ac_word... " >&6; }
2767
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
2813
if ${ac_cv_prog_STRIP+:} false; then :
2768
2814
  $as_echo_n "(cached) " >&6
2769
2815
else
2770
2816
  if test -n "$STRIP"; then
2804
2850
set dummy strip; ac_word=$2
2805
2851
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2806
2852
$as_echo_n "checking for $ac_word... " >&6; }
2807
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
2853
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2808
2854
  $as_echo_n "(cached) " >&6
2809
2855
else
2810
2856
  if test -n "$ac_ct_STRIP"; then
2857
2903
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2858
2904
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2859
2905
if test -z "$MKDIR_P"; then
2860
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
2906
  if ${ac_cv_path_mkdir+:} false; then :
2861
2907
  $as_echo_n "(cached) " >&6
2862
2908
else
2863
2909
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2909
2955
set dummy $ac_prog; ac_word=$2
2910
2956
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2911
2957
$as_echo_n "checking for $ac_word... " >&6; }
2912
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
2958
if ${ac_cv_prog_AWK+:} false; then :
2913
2959
  $as_echo_n "(cached) " >&6
2914
2960
else
2915
2961
  if test -n "$AWK"; then
2949
2995
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2950
2996
set x ${MAKE-make}
2951
2997
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2952
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
2998
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2953
2999
  $as_echo_n "(cached) " >&6
2954
3000
else
2955
3001
  cat >conftest.make <<\_ACEOF
3007
3053
 
3008
3054
# Define the identity of the package.
3009
3055
 PACKAGE='libgnutls-extra'
3010
 
 VERSION='2.10.5'
 
3056
 VERSION='2.12.11'
3011
3057
 
3012
3058
 
3013
3059
cat >>confdefs.h <<_ACEOF
3047
3093
 
3048
3094
 
3049
3095
 
 
3096
# Check whether --enable-silent-rules was given.
 
3097
if test "${enable_silent_rules+set}" = set; then :
 
3098
  enableval=$enable_silent_rules;
 
3099
fi
 
3100
 
 
3101
case $enable_silent_rules in
 
3102
yes) AM_DEFAULT_VERBOSITY=0;;
 
3103
no)  AM_DEFAULT_VERBOSITY=1;;
 
3104
*)   AM_DEFAULT_VERBOSITY=0;;
 
3105
esac
 
3106
AM_BACKSLASH='\'
 
3107
 
3050
3108
ac_config_headers="$ac_config_headers config.h"
3051
3109
 
3052
3110
 
3060
3118
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3061
3119
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3062
3120
$as_echo_n "checking for $ac_word... " >&6; }
3063
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3121
if ${ac_cv_prog_CC+:} false; then :
3064
3122
  $as_echo_n "(cached) " >&6
3065
3123
else
3066
3124
  if test -n "$CC"; then
3100
3158
set dummy gcc; ac_word=$2
3101
3159
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3102
3160
$as_echo_n "checking for $ac_word... " >&6; }
3103
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3161
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3104
3162
  $as_echo_n "(cached) " >&6
3105
3163
else
3106
3164
  if test -n "$ac_ct_CC"; then
3153
3211
set dummy ${ac_tool_prefix}cc; ac_word=$2
3154
3212
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3155
3213
$as_echo_n "checking for $ac_word... " >&6; }
3156
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3214
if ${ac_cv_prog_CC+:} false; then :
3157
3215
  $as_echo_n "(cached) " >&6
3158
3216
else
3159
3217
  if test -n "$CC"; then
3193
3251
set dummy cc; ac_word=$2
3194
3252
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3195
3253
$as_echo_n "checking for $ac_word... " >&6; }
3196
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3254
if ${ac_cv_prog_CC+:} false; then :
3197
3255
  $as_echo_n "(cached) " >&6
3198
3256
else
3199
3257
  if test -n "$CC"; then
3252
3310
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3253
3311
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3254
3312
$as_echo_n "checking for $ac_word... " >&6; }
3255
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3313
if ${ac_cv_prog_CC+:} false; then :
3256
3314
  $as_echo_n "(cached) " >&6
3257
3315
else
3258
3316
  if test -n "$CC"; then
3296
3354
set dummy $ac_prog; ac_word=$2
3297
3355
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3298
3356
$as_echo_n "checking for $ac_word... " >&6; }
3299
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3357
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3300
3358
  $as_echo_n "(cached) " >&6
3301
3359
else
3302
3360
  if test -n "$ac_ct_CC"; then
3351
3409
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3352
3410
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3353
3411
as_fn_error $? "no acceptable C compiler found in \$PATH
3354
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3412
See \`config.log' for more details" "$LINENO" 5; }
3355
3413
 
3356
3414
# Provide some information about the compiler.
3357
3415
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3466
3524
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3467
3525
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3468
3526
as_fn_error 77 "C compiler cannot create executables
3469
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3527
See \`config.log' for more details" "$LINENO" 5; }
3470
3528
else
3471
3529
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3472
3530
$as_echo "yes" >&6; }
3509
3567
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3510
3568
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3511
3569
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3512
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3570
See \`config.log' for more details" "$LINENO" 5; }
3513
3571
fi
3514
3572
rm -f conftest conftest$ac_cv_exeext
3515
3573
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3568
3626
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3569
3627
as_fn_error $? "cannot run C compiled programs.
3570
3628
If you meant to cross compile, use \`--host'.
3571
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3629
See \`config.log' for more details" "$LINENO" 5; }
3572
3630
    fi
3573
3631
  fi
3574
3632
fi
3579
3637
ac_clean_files=$ac_clean_files_save
3580
3638
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3581
3639
$as_echo_n "checking for suffix of object files... " >&6; }
3582
 
if test "${ac_cv_objext+set}" = set; then :
 
3640
if ${ac_cv_objext+:} false; then :
3583
3641
  $as_echo_n "(cached) " >&6
3584
3642
else
3585
3643
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3620
3678
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3621
3679
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3622
3680
as_fn_error $? "cannot compute suffix of object files: cannot compile
3623
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3681
See \`config.log' for more details" "$LINENO" 5; }
3624
3682
fi
3625
3683
rm -f conftest.$ac_cv_objext conftest.$ac_ext
3626
3684
fi
3630
3688
ac_objext=$OBJEXT
3631
3689
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3632
3690
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3633
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
3691
if ${ac_cv_c_compiler_gnu+:} false; then :
3634
3692
  $as_echo_n "(cached) " >&6
3635
3693
else
3636
3694
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3667
3725
ac_save_CFLAGS=$CFLAGS
3668
3726
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3669
3727
$as_echo_n "checking whether $CC accepts -g... " >&6; }
3670
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
3728
if ${ac_cv_prog_cc_g+:} false; then :
3671
3729
  $as_echo_n "(cached) " >&6
3672
3730
else
3673
3731
  ac_save_c_werror_flag=$ac_c_werror_flag
3745
3803
fi
3746
3804
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3747
3805
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3748
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
3806
if ${ac_cv_prog_cc_c89+:} false; then :
3749
3807
  $as_echo_n "(cached) " >&6
3750
3808
else
3751
3809
  ac_cv_prog_cc_c89=no
3906
3964
 
3907
3965
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3908
3966
$as_echo_n "checking dependency style of $depcc... " >&6; }
3909
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
3967
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3910
3968
  $as_echo_n "(cached) " >&6
3911
3969
else
3912
3970
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4034
4092
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
4035
4093
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4036
4094
$as_echo_n "checking for $ac_word... " >&6; }
4037
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
4095
if ${ac_cv_prog_RANLIB+:} false; then :
4038
4096
  $as_echo_n "(cached) " >&6
4039
4097
else
4040
4098
  if test -n "$RANLIB"; then
4074
4132
set dummy ranlib; ac_word=$2
4075
4133
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4076
4134
$as_echo_n "checking for $ac_word... " >&6; }
4077
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
4135
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
4078
4136
  $as_echo_n "(cached) " >&6
4079
4137
else
4080
4138
  if test -n "$ac_ct_RANLIB"; then
4127
4185
 
4128
4186
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4129
4187
$as_echo_n "checking build system type... " >&6; }
4130
 
if test "${ac_cv_build+set}" = set; then :
 
4188
if ${ac_cv_build+:} false; then :
4131
4189
  $as_echo_n "(cached) " >&6
4132
4190
else
4133
4191
  ac_build_alias=$build_alias
4143
4201
$as_echo "$ac_cv_build" >&6; }
4144
4202
case $ac_cv_build in
4145
4203
*-*-*) ;;
4146
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
4204
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4147
4205
esac
4148
4206
build=$ac_cv_build
4149
4207
ac_save_IFS=$IFS; IFS='-'
4161
4219
 
4162
4220
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4163
4221
$as_echo_n "checking host system type... " >&6; }
4164
 
if test "${ac_cv_host+set}" = set; then :
 
4222
if ${ac_cv_host+:} false; then :
4165
4223
  $as_echo_n "(cached) " >&6
4166
4224
else
4167
4225
  if test "x$host_alias" = x; then
4176
4234
$as_echo "$ac_cv_host" >&6; }
4177
4235
case $ac_cv_host in
4178
4236
*-*-*) ;;
4179
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
4237
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4180
4238
esac
4181
4239
host=$ac_cv_host
4182
4240
ac_save_IFS=$IFS; IFS='-'
4205
4263
  CPP=
4206
4264
fi
4207
4265
if test -z "$CPP"; then
4208
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
4266
  if ${ac_cv_prog_CPP+:} false; then :
4209
4267
  $as_echo_n "(cached) " >&6
4210
4268
else
4211
4269
      # Double quotes because CPP needs to be expanded
4321
4379
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4322
4380
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4323
4381
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4324
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4382
See \`config.log' for more details" "$LINENO" 5; }
4325
4383
fi
4326
4384
 
4327
4385
ac_ext=c
4333
4391
 
4334
4392
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4335
4393
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4336
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
4394
if ${ac_cv_path_GREP+:} false; then :
4337
4395
  $as_echo_n "(cached) " >&6
4338
4396
else
4339
4397
  if test -z "$GREP"; then
4396
4454
 
4397
4455
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4398
4456
$as_echo_n "checking for egrep... " >&6; }
4399
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
4457
if ${ac_cv_path_EGREP+:} false; then :
4400
4458
  $as_echo_n "(cached) " >&6
4401
4459
else
4402
4460
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4463
4521
 
4464
4522
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4465
4523
$as_echo_n "checking for ANSI C header files... " >&6; }
4466
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
4524
if ${ac_cv_header_stdc+:} false; then :
4467
4525
  $as_echo_n "(cached) " >&6
4468
4526
else
4469
4527
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4594
4652
 
4595
4653
 
4596
4654
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4597
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
4655
if test "x$ac_cv_header_minix_config_h" = xyes; then :
4598
4656
  MINIX=yes
4599
4657
else
4600
4658
  MINIX=
4624
4682
 
4625
4683
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4626
4684
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4627
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
4685
if ${ac_cv_safe_to_define___extensions__+:} false; then :
4628
4686
  $as_echo_n "(cached) " >&6
4629
4687
else
4630
4688
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4688
4746
set dummy ${ac_tool_prefix}as; ac_word=$2
4689
4747
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4690
4748
$as_echo_n "checking for $ac_word... " >&6; }
4691
 
if test "${ac_cv_prog_AS+set}" = set; then :
 
4749
if ${ac_cv_prog_AS+:} false; then :
4692
4750
  $as_echo_n "(cached) " >&6
4693
4751
else
4694
4752
  if test -n "$AS"; then
4728
4786
set dummy as; ac_word=$2
4729
4787
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4730
4788
$as_echo_n "checking for $ac_word... " >&6; }
4731
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
 
4789
if ${ac_cv_prog_ac_ct_AS+:} false; then :
4732
4790
  $as_echo_n "(cached) " >&6
4733
4791
else
4734
4792
  if test -n "$ac_ct_AS"; then
4780
4838
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
4781
4839
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4782
4840
$as_echo_n "checking for $ac_word... " >&6; }
4783
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
4841
if ${ac_cv_prog_DLLTOOL+:} false; then :
4784
4842
  $as_echo_n "(cached) " >&6
4785
4843
else
4786
4844
  if test -n "$DLLTOOL"; then
4820
4878
set dummy dlltool; ac_word=$2
4821
4879
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4822
4880
$as_echo_n "checking for $ac_word... " >&6; }
4823
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
4881
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
4824
4882
  $as_echo_n "(cached) " >&6
4825
4883
else
4826
4884
  if test -n "$ac_ct_DLLTOOL"; then
4872
4930
set dummy ${ac_tool_prefix}objdump; ac_word=$2
4873
4931
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4874
4932
$as_echo_n "checking for $ac_word... " >&6; }
4875
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
4933
if ${ac_cv_prog_OBJDUMP+:} false; then :
4876
4934
  $as_echo_n "(cached) " >&6
4877
4935
else
4878
4936
  if test -n "$OBJDUMP"; then
4912
4970
set dummy objdump; ac_word=$2
4913
4971
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4914
4972
$as_echo_n "checking for $ac_word... " >&6; }
4915
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
4973
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
4916
4974
  $as_echo_n "(cached) " >&6
4917
4975
else
4918
4976
  if test -n "$ac_ct_OBJDUMP"; then
4990
5048
 
4991
5049
 
4992
5050
 
4993
 
macro_version='2.2.10'
4994
 
macro_revision='1.3175'
 
5051
macro_version='2.4'
 
5052
macro_revision='1.3293'
4995
5053
 
4996
5054
 
4997
5055
 
5031
5089
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5032
5090
$as_echo_n "checking how to print strings... " >&6; }
5033
5091
# Test print first, because it will be a builtin if present.
5034
 
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
5092
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
5035
5093
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5036
5094
  ECHO='print -r --'
5037
5095
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5078
5136
 
5079
5137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5080
5138
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
5081
 
if test "${ac_cv_path_SED+set}" = set; then :
 
5139
if ${ac_cv_path_SED+:} false; then :
5082
5140
  $as_echo_n "(cached) " >&6
5083
5141
else
5084
5142
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5160
5218
 
5161
5219
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5162
5220
$as_echo_n "checking for fgrep... " >&6; }
5163
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
5221
if ${ac_cv_path_FGREP+:} false; then :
5164
5222
  $as_echo_n "(cached) " >&6
5165
5223
else
5166
5224
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5291
5349
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5292
5350
$as_echo_n "checking for non-GNU ld... " >&6; }
5293
5351
fi
5294
 
if test "${lt_cv_path_LD+set}" = set; then :
 
5352
if ${lt_cv_path_LD+:} false; then :
5295
5353
  $as_echo_n "(cached) " >&6
5296
5354
else
5297
5355
  if test -z "$LD"; then
5331
5389
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5332
5390
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5333
5391
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5334
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
5392
if ${lt_cv_prog_gnu_ld+:} false; then :
5335
5393
  $as_echo_n "(cached) " >&6
5336
5394
else
5337
5395
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
5358
5416
 
5359
5417
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5360
5418
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5361
 
if test "${lt_cv_path_NM+set}" = set; then :
 
5419
if ${lt_cv_path_NM+:} false; then :
5362
5420
  $as_echo_n "(cached) " >&6
5363
5421
else
5364
5422
  if test -n "$NM"; then
5421
5479
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5422
5480
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5423
5481
$as_echo_n "checking for $ac_word... " >&6; }
5424
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
5482
if ${ac_cv_prog_DUMPBIN+:} false; then :
5425
5483
  $as_echo_n "(cached) " >&6
5426
5484
else
5427
5485
  if test -n "$DUMPBIN"; then
5465
5523
set dummy $ac_prog; ac_word=$2
5466
5524
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5467
5525
$as_echo_n "checking for $ac_word... " >&6; }
5468
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
5526
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
5469
5527
  $as_echo_n "(cached) " >&6
5470
5528
else
5471
5529
  if test -n "$ac_ct_DUMPBIN"; then
5537
5595
 
5538
5596
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
5539
5597
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
5540
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
5598
if ${lt_cv_nm_interface+:} false; then :
5541
5599
  $as_echo_n "(cached) " >&6
5542
5600
else
5543
5601
  lt_cv_nm_interface="BSD nm"
5572
5630
# find the maximum length of command line arguments
5573
5631
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
5574
5632
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
5575
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
5633
if ${lt_cv_sys_max_cmd_len+:} false; then :
5576
5634
  $as_echo_n "(cached) " >&6
5577
5635
else
5578
5636
    i=0
5717
5775
# Try some XSI features
5718
5776
xsi_shell=no
5719
5777
( _lt_dummy="a/b/c"
5720
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
5721
 
      = c,a/b,, \
 
5778
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
5779
      = c,a/b,b/c, \
5722
5780
    && eval 'test $(( 1 + 1 )) -eq 2 \
5723
5781
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
5724
5782
  && xsi_shell=yes
5767
5825
 
5768
5826
 
5769
5827
 
 
5828
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
5829
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
5830
if ${lt_cv_to_host_file_cmd+:} false; then :
 
5831
  $as_echo_n "(cached) " >&6
 
5832
else
 
5833
  case $host in
 
5834
  *-*-mingw* )
 
5835
    case $build in
 
5836
      *-*-mingw* ) # actually msys
 
5837
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
5838
        ;;
 
5839
      *-*-cygwin* )
 
5840
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
5841
        ;;
 
5842
      * ) # otherwise, assume *nix
 
5843
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
5844
        ;;
 
5845
    esac
 
5846
    ;;
 
5847
  *-*-cygwin* )
 
5848
    case $build in
 
5849
      *-*-mingw* ) # actually msys
 
5850
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
5851
        ;;
 
5852
      *-*-cygwin* )
 
5853
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
5854
        ;;
 
5855
      * ) # otherwise, assume *nix
 
5856
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
5857
        ;;
 
5858
    esac
 
5859
    ;;
 
5860
  * ) # unhandled hosts (and "normal" native builds)
 
5861
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
5862
    ;;
 
5863
esac
 
5864
 
 
5865
fi
 
5866
 
 
5867
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
5868
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
5869
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
5870
 
 
5871
 
 
5872
 
 
5873
 
 
5874
 
 
5875
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
5876
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
5877
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
5878
  $as_echo_n "(cached) " >&6
 
5879
else
 
5880
  #assume ordinary cross tools, or native build.
 
5881
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
5882
case $host in
 
5883
  *-*-mingw* )
 
5884
    case $build in
 
5885
      *-*-mingw* ) # actually msys
 
5886
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
5887
        ;;
 
5888
    esac
 
5889
    ;;
 
5890
esac
 
5891
 
 
5892
fi
 
5893
 
 
5894
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
5895
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
5896
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
5897
 
 
5898
 
 
5899
 
 
5900
 
 
5901
 
5770
5902
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
5771
5903
$as_echo_n "checking for $LD option to reload object files... " >&6; }
5772
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
5904
if ${lt_cv_ld_reload_flag+:} false; then :
5773
5905
  $as_echo_n "(cached) " >&6
5774
5906
else
5775
5907
  lt_cv_ld_reload_flag='-r'
5783
5915
esac
5784
5916
reload_cmds='$LD$reload_flag -o $output$reload_objs'
5785
5917
case $host_os in
 
5918
  cygwin* | mingw* | pw32* | cegcc*)
 
5919
    if test "$GCC" != yes; then
 
5920
      reload_cmds=false
 
5921
    fi
 
5922
    ;;
5786
5923
  darwin*)
5787
5924
    if test "$GCC" = yes; then
5788
5925
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
5805
5942
set dummy ${ac_tool_prefix}objdump; ac_word=$2
5806
5943
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5807
5944
$as_echo_n "checking for $ac_word... " >&6; }
5808
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
5945
if ${ac_cv_prog_OBJDUMP+:} false; then :
5809
5946
  $as_echo_n "(cached) " >&6
5810
5947
else
5811
5948
  if test -n "$OBJDUMP"; then
5845
5982
set dummy objdump; ac_word=$2
5846
5983
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5847
5984
$as_echo_n "checking for $ac_word... " >&6; }
5848
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
5985
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
5849
5986
  $as_echo_n "(cached) " >&6
5850
5987
else
5851
5988
  if test -n "$ac_ct_OBJDUMP"; then
5901
6038
 
5902
6039
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
5903
6040
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
5904
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
6041
if ${lt_cv_deplibs_check_method+:} false; then :
5905
6042
  $as_echo_n "(cached) " >&6
5906
6043
else
5907
6044
  lt_cv_file_magic_cmd='$MAGIC_CMD'
6026
6163
  lt_cv_deplibs_check_method=pass_all
6027
6164
  ;;
6028
6165
 
6029
 
netbsd*)
 
6166
netbsd* | netbsdelf*-gnu)
6030
6167
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6031
6168
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6032
6169
  else
6103
6240
fi
6104
6241
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6105
6242
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
6243
 
 
6244
file_magic_glob=
 
6245
want_nocaseglob=no
 
6246
if test "$build" = "$host"; then
 
6247
  case $host_os in
 
6248
  mingw* | pw32*)
 
6249
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
6250
      want_nocaseglob=yes
 
6251
    else
 
6252
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
6253
    fi
 
6254
    ;;
 
6255
  esac
 
6256
fi
 
6257
 
6106
6258
file_magic_cmd=$lt_cv_file_magic_cmd
6107
6259
deplibs_check_method=$lt_cv_deplibs_check_method
6108
6260
test -z "$deplibs_check_method" && deplibs_check_method=unknown
6118
6270
 
6119
6271
 
6120
6272
 
6121
 
if test -n "$ac_tool_prefix"; then
6122
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6123
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
6124
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6125
 
$as_echo_n "checking for $ac_word... " >&6; }
6126
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
6273
 
 
6274
 
 
6275
 
 
6276
 
 
6277
 
 
6278
 
 
6279
 
 
6280
 
 
6281
 
 
6282
 
 
6283
if test -n "$ac_tool_prefix"; then
 
6284
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
6285
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
6286
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6287
$as_echo_n "checking for $ac_word... " >&6; }
 
6288
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
6289
  $as_echo_n "(cached) " >&6
 
6290
else
 
6291
  if test -n "$DLLTOOL"; then
 
6292
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
6293
else
 
6294
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6295
for as_dir in $PATH
 
6296
do
 
6297
  IFS=$as_save_IFS
 
6298
  test -z "$as_dir" && as_dir=.
 
6299
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6300
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6301
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
6302
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6303
    break 2
 
6304
  fi
 
6305
done
 
6306
  done
 
6307
IFS=$as_save_IFS
 
6308
 
 
6309
fi
 
6310
fi
 
6311
DLLTOOL=$ac_cv_prog_DLLTOOL
 
6312
if test -n "$DLLTOOL"; then
 
6313
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
6314
$as_echo "$DLLTOOL" >&6; }
 
6315
else
 
6316
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6317
$as_echo "no" >&6; }
 
6318
fi
 
6319
 
 
6320
 
 
6321
fi
 
6322
if test -z "$ac_cv_prog_DLLTOOL"; then
 
6323
  ac_ct_DLLTOOL=$DLLTOOL
 
6324
  # Extract the first word of "dlltool", so it can be a program name with args.
 
6325
set dummy dlltool; ac_word=$2
 
6326
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6327
$as_echo_n "checking for $ac_word... " >&6; }
 
6328
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
6329
  $as_echo_n "(cached) " >&6
 
6330
else
 
6331
  if test -n "$ac_ct_DLLTOOL"; then
 
6332
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
6333
else
 
6334
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
6335
for as_dir in $PATH
 
6336
do
 
6337
  IFS=$as_save_IFS
 
6338
  test -z "$as_dir" && as_dir=.
 
6339
    for ac_exec_ext in '' $ac_executable_extensions; do
 
6340
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
6341
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
6342
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
6343
    break 2
 
6344
  fi
 
6345
done
 
6346
  done
 
6347
IFS=$as_save_IFS
 
6348
 
 
6349
fi
 
6350
fi
 
6351
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
6352
if test -n "$ac_ct_DLLTOOL"; then
 
6353
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
6354
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
6355
else
 
6356
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
6357
$as_echo "no" >&6; }
 
6358
fi
 
6359
 
 
6360
  if test "x$ac_ct_DLLTOOL" = x; then
 
6361
    DLLTOOL="false"
 
6362
  else
 
6363
    case $cross_compiling:$ac_tool_warned in
 
6364
yes:)
 
6365
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
6366
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
6367
ac_tool_warned=yes ;;
 
6368
esac
 
6369
    DLLTOOL=$ac_ct_DLLTOOL
 
6370
  fi
 
6371
else
 
6372
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
6373
fi
 
6374
 
 
6375
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
6376
 
 
6377
 
 
6378
 
 
6379
 
 
6380
 
 
6381
 
 
6382
 
 
6383
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
6384
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
6385
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
6386
  $as_echo_n "(cached) " >&6
 
6387
else
 
6388
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
6389
 
 
6390
case $host_os in
 
6391
cygwin* | mingw* | pw32* | cegcc*)
 
6392
  # two different shell functions defined in ltmain.sh
 
6393
  # decide which to use based on capabilities of $DLLTOOL
 
6394
  case `$DLLTOOL --help 2>&1` in
 
6395
  *--identify-strict*)
 
6396
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
6397
    ;;
 
6398
  *)
 
6399
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
6400
    ;;
 
6401
  esac
 
6402
  ;;
 
6403
*)
 
6404
  # fallback: assume linklib IS sharedlib
 
6405
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
6406
  ;;
 
6407
esac
 
6408
 
 
6409
fi
 
6410
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
6411
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
6412
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
6413
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
6414
 
 
6415
 
 
6416
 
 
6417
 
 
6418
 
 
6419
 
 
6420
 
 
6421
if test -n "$ac_tool_prefix"; then
 
6422
  for ac_prog in ar
 
6423
  do
 
6424
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
6425
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
6426
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
6427
$as_echo_n "checking for $ac_word... " >&6; }
 
6428
if ${ac_cv_prog_AR+:} false; then :
6127
6429
  $as_echo_n "(cached) " >&6
6128
6430
else
6129
6431
  if test -n "$AR"; then
6136
6438
  test -z "$as_dir" && as_dir=.
6137
6439
    for ac_exec_ext in '' $ac_executable_extensions; do
6138
6440
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6139
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
6441
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6140
6442
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6141
6443
    break 2
6142
6444
  fi
6156
6458
fi
6157
6459
 
6158
6460
 
 
6461
    test -n "$AR" && break
 
6462
  done
6159
6463
fi
6160
 
if test -z "$ac_cv_prog_AR"; then
 
6464
if test -z "$AR"; then
6161
6465
  ac_ct_AR=$AR
6162
 
  # Extract the first word of "ar", so it can be a program name with args.
6163
 
set dummy ar; ac_word=$2
 
6466
  for ac_prog in ar
 
6467
do
 
6468
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
6469
set dummy $ac_prog; ac_word=$2
6164
6470
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6165
6471
$as_echo_n "checking for $ac_word... " >&6; }
6166
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
6472
if ${ac_cv_prog_ac_ct_AR+:} false; then :
6167
6473
  $as_echo_n "(cached) " >&6
6168
6474
else
6169
6475
  if test -n "$ac_ct_AR"; then
6176
6482
  test -z "$as_dir" && as_dir=.
6177
6483
    for ac_exec_ext in '' $ac_executable_extensions; do
6178
6484
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
6179
 
    ac_cv_prog_ac_ct_AR="ar"
 
6485
    ac_cv_prog_ac_ct_AR="$ac_prog"
6180
6486
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6181
6487
    break 2
6182
6488
  fi
6195
6501
$as_echo "no" >&6; }
6196
6502
fi
6197
6503
 
 
6504
 
 
6505
  test -n "$ac_ct_AR" && break
 
6506
done
 
6507
 
6198
6508
  if test "x$ac_ct_AR" = x; then
6199
6509
    AR="false"
6200
6510
  else
6206
6516
esac
6207
6517
    AR=$ac_ct_AR
6208
6518
  fi
6209
 
else
6210
 
  AR="$ac_cv_prog_AR"
6211
 
fi
6212
 
 
6213
 
test -z "$AR" && AR=ar
6214
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
6215
 
 
6216
 
 
6217
 
 
6218
 
 
 
6519
fi
 
6520
 
 
6521
: ${AR=ar}
 
6522
: ${AR_FLAGS=cru}
 
6523
 
 
6524
 
 
6525
 
 
6526
 
 
6527
 
 
6528
 
 
6529
 
 
6530
 
 
6531
 
 
6532
 
 
6533
 
 
6534
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
6535
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
6536
if ${lt_cv_ar_at_file+:} false; then :
 
6537
  $as_echo_n "(cached) " >&6
 
6538
else
 
6539
  lt_cv_ar_at_file=no
 
6540
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
6541
/* end confdefs.h.  */
 
6542
 
 
6543
int
 
6544
main ()
 
6545
{
 
6546
 
 
6547
  ;
 
6548
  return 0;
 
6549
}
 
6550
_ACEOF
 
6551
if ac_fn_c_try_compile "$LINENO"; then :
 
6552
  echo conftest.$ac_objext > conftest.lst
 
6553
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
6554
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6555
  (eval $lt_ar_try) 2>&5
 
6556
  ac_status=$?
 
6557
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6558
  test $ac_status = 0; }
 
6559
      if test "$ac_status" -eq 0; then
 
6560
        # Ensure the archiver fails upon bogus file names.
 
6561
        rm -f conftest.$ac_objext libconftest.a
 
6562
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
6563
  (eval $lt_ar_try) 2>&5
 
6564
  ac_status=$?
 
6565
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
6566
  test $ac_status = 0; }
 
6567
        if test "$ac_status" -ne 0; then
 
6568
          lt_cv_ar_at_file=@
 
6569
        fi
 
6570
      fi
 
6571
      rm -f conftest.* libconftest.a
 
6572
 
 
6573
fi
 
6574
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
6575
 
 
6576
fi
 
6577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
6578
$as_echo "$lt_cv_ar_at_file" >&6; }
 
6579
 
 
6580
if test "x$lt_cv_ar_at_file" = xno; then
 
6581
  archiver_list_spec=
 
6582
else
 
6583
  archiver_list_spec=$lt_cv_ar_at_file
 
6584
fi
6219
6585
 
6220
6586
 
6221
6587
 
6228
6594
set dummy ${ac_tool_prefix}strip; ac_word=$2
6229
6595
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6230
6596
$as_echo_n "checking for $ac_word... " >&6; }
6231
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
6597
if ${ac_cv_prog_STRIP+:} false; then :
6232
6598
  $as_echo_n "(cached) " >&6
6233
6599
else
6234
6600
  if test -n "$STRIP"; then
6268
6634
set dummy strip; ac_word=$2
6269
6635
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6270
6636
$as_echo_n "checking for $ac_word... " >&6; }
6271
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
6637
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6272
6638
  $as_echo_n "(cached) " >&6
6273
6639
else
6274
6640
  if test -n "$ac_ct_STRIP"; then
6327
6693
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6328
6694
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6329
6695
$as_echo_n "checking for $ac_word... " >&6; }
6330
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
6696
if ${ac_cv_prog_RANLIB+:} false; then :
6331
6697
  $as_echo_n "(cached) " >&6
6332
6698
else
6333
6699
  if test -n "$RANLIB"; then
6367
6733
set dummy ranlib; ac_word=$2
6368
6734
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6369
6735
$as_echo_n "checking for $ac_word... " >&6; }
6370
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
6736
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6371
6737
  $as_echo_n "(cached) " >&6
6372
6738
else
6373
6739
  if test -n "$ac_ct_RANLIB"; then
6496
6862
# Check for command to grab the raw symbol name followed by C symbol from nm.
6497
6863
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
6498
6864
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6499
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
6865
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
6500
6866
  $as_echo_n "(cached) " >&6
6501
6867
else
6502
6868
 
6557
6923
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
6558
6924
 
6559
6925
# Transform an extracted symbol line into symbol name and symbol address
6560
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
6561
 
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'"
 
6926
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
6927
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'"
6562
6928
 
6563
6929
# Handle CRLF in mingw tool chain
6564
6930
opt_cr=
6594
6960
  else
6595
6961
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
6596
6962
  fi
 
6963
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
6597
6964
 
6598
6965
  # Check to see that the pipe works correctly.
6599
6966
  pipe_works=no
6635
7002
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
6636
7003
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
6637
7004
          cat <<_LT_EOF > conftest.$ac_ext
 
7005
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
7006
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
7007
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
7008
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
7009
# define LT_DLSYM_CONST
 
7010
#elif defined(__osf__)
 
7011
/* This system does not cope well with relocations in const data.  */
 
7012
# define LT_DLSYM_CONST
 
7013
#else
 
7014
# define LT_DLSYM_CONST const
 
7015
#endif
 
7016
 
6638
7017
#ifdef __cplusplus
6639
7018
extern "C" {
6640
7019
#endif
6646
7025
          cat <<_LT_EOF >> conftest.$ac_ext
6647
7026
 
6648
7027
/* The mapping between symbol names and symbols.  */
6649
 
const struct {
 
7028
LT_DLSYM_CONST struct {
6650
7029
  const char *name;
6651
7030
  void       *address;
6652
7031
}
6672
7051
_LT_EOF
6673
7052
          # Now try linking the two files.
6674
7053
          mv conftest.$ac_objext conftstm.$ac_objext
6675
 
          lt_save_LIBS="$LIBS"
6676
 
          lt_save_CFLAGS="$CFLAGS"
 
7054
          lt_globsym_save_LIBS=$LIBS
 
7055
          lt_globsym_save_CFLAGS=$CFLAGS
6677
7056
          LIBS="conftstm.$ac_objext"
6678
7057
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
6679
7058
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
6683
7062
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
6684
7063
            pipe_works=yes
6685
7064
          fi
6686
 
          LIBS="$lt_save_LIBS"
6687
 
          CFLAGS="$lt_save_CFLAGS"
 
7065
          LIBS=$lt_globsym_save_LIBS
 
7066
          CFLAGS=$lt_globsym_save_CFLAGS
6688
7067
        else
6689
7068
          echo "cannot find nm_test_func in $nlist" >&5
6690
7069
        fi
6721
7100
$as_echo "ok" >&6; }
6722
7101
fi
6723
7102
 
6724
 
 
6725
 
 
6726
 
 
6727
 
 
6728
 
 
6729
 
 
6730
 
 
6731
 
 
6732
 
 
6733
 
 
6734
 
 
6735
 
 
6736
 
 
6737
 
 
6738
 
 
6739
 
 
 
7103
# Response file support.
 
7104
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
7105
  nm_file_list_spec='@'
 
7106
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
7107
  nm_file_list_spec='@'
 
7108
fi
 
7109
 
 
7110
 
 
7111
 
 
7112
 
 
7113
 
 
7114
 
 
7115
 
 
7116
 
 
7117
 
 
7118
 
 
7119
 
 
7120
 
 
7121
 
 
7122
 
 
7123
 
 
7124
 
 
7125
 
 
7126
 
 
7127
 
 
7128
 
 
7129
 
 
7130
 
 
7131
 
 
7132
 
 
7133
 
 
7134
 
 
7135
 
 
7136
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
7137
$as_echo_n "checking for sysroot... " >&6; }
 
7138
 
 
7139
# Check whether --with-sysroot was given.
 
7140
if test "${with_sysroot+set}" = set; then :
 
7141
  withval=$with_sysroot;
 
7142
else
 
7143
  with_sysroot=no
 
7144
fi
 
7145
 
 
7146
 
 
7147
lt_sysroot=
 
7148
case ${with_sysroot} in #(
 
7149
 yes)
 
7150
   if test "$GCC" = yes; then
 
7151
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
7152
   fi
 
7153
   ;; #(
 
7154
 /*)
 
7155
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
7156
   ;; #(
 
7157
 no|'')
 
7158
   ;; #(
 
7159
 *)
 
7160
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
7161
$as_echo "${with_sysroot}" >&6; }
 
7162
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
7163
   ;;
 
7164
esac
 
7165
 
 
7166
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
7167
$as_echo "${lt_sysroot:-no}" >&6; }
6740
7168
 
6741
7169
 
6742
7170
 
6867
7295
  CFLAGS="$CFLAGS -belf"
6868
7296
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
6869
7297
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
6870
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
7298
if ${lt_cv_cc_needs_belf+:} false; then :
6871
7299
  $as_echo_n "(cached) " >&6
6872
7300
else
6873
7301
  ac_ext=c
6935
7363
 
6936
7364
need_locks="$enable_libtool_lock"
6937
7365
 
 
7366
if test -n "$ac_tool_prefix"; then
 
7367
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
7368
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
7369
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7370
$as_echo_n "checking for $ac_word... " >&6; }
 
7371
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
7372
  $as_echo_n "(cached) " >&6
 
7373
else
 
7374
  if test -n "$MANIFEST_TOOL"; then
 
7375
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
7376
else
 
7377
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7378
for as_dir in $PATH
 
7379
do
 
7380
  IFS=$as_save_IFS
 
7381
  test -z "$as_dir" && as_dir=.
 
7382
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7383
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7384
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
7385
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7386
    break 2
 
7387
  fi
 
7388
done
 
7389
  done
 
7390
IFS=$as_save_IFS
 
7391
 
 
7392
fi
 
7393
fi
 
7394
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
7395
if test -n "$MANIFEST_TOOL"; then
 
7396
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
7397
$as_echo "$MANIFEST_TOOL" >&6; }
 
7398
else
 
7399
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7400
$as_echo "no" >&6; }
 
7401
fi
 
7402
 
 
7403
 
 
7404
fi
 
7405
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
7406
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
7407
  # Extract the first word of "mt", so it can be a program name with args.
 
7408
set dummy mt; ac_word=$2
 
7409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
7410
$as_echo_n "checking for $ac_word... " >&6; }
 
7411
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
7412
  $as_echo_n "(cached) " >&6
 
7413
else
 
7414
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7415
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
7416
else
 
7417
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
7418
for as_dir in $PATH
 
7419
do
 
7420
  IFS=$as_save_IFS
 
7421
  test -z "$as_dir" && as_dir=.
 
7422
    for ac_exec_ext in '' $ac_executable_extensions; do
 
7423
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
7424
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
7425
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
7426
    break 2
 
7427
  fi
 
7428
done
 
7429
  done
 
7430
IFS=$as_save_IFS
 
7431
 
 
7432
fi
 
7433
fi
 
7434
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
7435
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
7436
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
7437
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
7438
else
 
7439
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
7440
$as_echo "no" >&6; }
 
7441
fi
 
7442
 
 
7443
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
7444
    MANIFEST_TOOL=":"
 
7445
  else
 
7446
    case $cross_compiling:$ac_tool_warned in
 
7447
yes:)
 
7448
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
7449
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
7450
ac_tool_warned=yes ;;
 
7451
esac
 
7452
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
7453
  fi
 
7454
else
 
7455
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
7456
fi
 
7457
 
 
7458
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
7459
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
7460
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
7461
if ${lt_cv_path_mainfest_tool+:} false; then :
 
7462
  $as_echo_n "(cached) " >&6
 
7463
else
 
7464
  lt_cv_path_mainfest_tool=no
 
7465
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
7466
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
7467
  cat conftest.err >&5
 
7468
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
7469
    lt_cv_path_mainfest_tool=yes
 
7470
  fi
 
7471
  rm -f conftest*
 
7472
fi
 
7473
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
7474
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
7475
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
7476
  MANIFEST_TOOL=:
 
7477
fi
 
7478
 
 
7479
 
 
7480
 
 
7481
 
 
7482
 
6938
7483
 
6939
7484
  case $host_os in
6940
7485
    rhapsody* | darwin*)
6943
7488
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
6944
7489
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6945
7490
$as_echo_n "checking for $ac_word... " >&6; }
6946
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
7491
if ${ac_cv_prog_DSYMUTIL+:} false; then :
6947
7492
  $as_echo_n "(cached) " >&6
6948
7493
else
6949
7494
  if test -n "$DSYMUTIL"; then
6983
7528
set dummy dsymutil; ac_word=$2
6984
7529
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6985
7530
$as_echo_n "checking for $ac_word... " >&6; }
6986
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
7531
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
6987
7532
  $as_echo_n "(cached) " >&6
6988
7533
else
6989
7534
  if test -n "$ac_ct_DSYMUTIL"; then
7035
7580
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7036
7581
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7037
7582
$as_echo_n "checking for $ac_word... " >&6; }
7038
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
7583
if ${ac_cv_prog_NMEDIT+:} false; then :
7039
7584
  $as_echo_n "(cached) " >&6
7040
7585
else
7041
7586
  if test -n "$NMEDIT"; then
7075
7620
set dummy nmedit; ac_word=$2
7076
7621
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7077
7622
$as_echo_n "checking for $ac_word... " >&6; }
7078
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
7623
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7079
7624
  $as_echo_n "(cached) " >&6
7080
7625
else
7081
7626
  if test -n "$ac_ct_NMEDIT"; then
7127
7672
set dummy ${ac_tool_prefix}lipo; ac_word=$2
7128
7673
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7129
7674
$as_echo_n "checking for $ac_word... " >&6; }
7130
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
7675
if ${ac_cv_prog_LIPO+:} false; then :
7131
7676
  $as_echo_n "(cached) " >&6
7132
7677
else
7133
7678
  if test -n "$LIPO"; then
7167
7712
set dummy lipo; ac_word=$2
7168
7713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7169
7714
$as_echo_n "checking for $ac_word... " >&6; }
7170
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
7715
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7171
7716
  $as_echo_n "(cached) " >&6
7172
7717
else
7173
7718
  if test -n "$ac_ct_LIPO"; then
7219
7764
set dummy ${ac_tool_prefix}otool; ac_word=$2
7220
7765
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7221
7766
$as_echo_n "checking for $ac_word... " >&6; }
7222
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
7767
if ${ac_cv_prog_OTOOL+:} false; then :
7223
7768
  $as_echo_n "(cached) " >&6
7224
7769
else
7225
7770
  if test -n "$OTOOL"; then
7259
7804
set dummy otool; ac_word=$2
7260
7805
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7261
7806
$as_echo_n "checking for $ac_word... " >&6; }
7262
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
7807
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7263
7808
  $as_echo_n "(cached) " >&6
7264
7809
else
7265
7810
  if test -n "$ac_ct_OTOOL"; then
7311
7856
set dummy ${ac_tool_prefix}otool64; ac_word=$2
7312
7857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7313
7858
$as_echo_n "checking for $ac_word... " >&6; }
7314
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
7859
if ${ac_cv_prog_OTOOL64+:} false; then :
7315
7860
  $as_echo_n "(cached) " >&6
7316
7861
else
7317
7862
  if test -n "$OTOOL64"; then
7351
7896
set dummy otool64; ac_word=$2
7352
7897
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353
7898
$as_echo_n "checking for $ac_word... " >&6; }
7354
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
7899
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
7355
7900
  $as_echo_n "(cached) " >&6
7356
7901
else
7357
7902
  if test -n "$ac_ct_OTOOL64"; then
7426
7971
 
7427
7972
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
7428
7973
$as_echo_n "checking for -single_module linker flag... " >&6; }
7429
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
7974
if ${lt_cv_apple_cc_single_mod+:} false; then :
7430
7975
  $as_echo_n "(cached) " >&6
7431
7976
else
7432
7977
  lt_cv_apple_cc_single_mod=no
7455
8000
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7456
8001
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
7457
8002
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7458
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
8003
if ${lt_cv_ld_exported_symbols_list+:} false; then :
7459
8004
  $as_echo_n "(cached) " >&6
7460
8005
else
7461
8006
  lt_cv_ld_exported_symbols_list=no
7487
8032
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
7488
8033
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
7489
8034
$as_echo_n "checking for -force_load linker flag... " >&6; }
7490
 
if test "${lt_cv_ld_force_load+set}" = set; then :
 
8035
if ${lt_cv_ld_force_load+:} false; then :
7491
8036
  $as_echo_n "(cached) " >&6
7492
8037
else
7493
8038
  lt_cv_ld_force_load=no
7556
8101
do :
7557
8102
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7558
8103
"
7559
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
8104
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
7560
8105
  cat >>confdefs.h <<_ACEOF
7561
8106
#define HAVE_DLFCN_H 1
7562
8107
_ACEOF
7741
8286
 
7742
8287
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
7743
8288
$as_echo_n "checking for objdir... " >&6; }
7744
 
if test "${lt_cv_objdir+set}" = set; then :
 
8289
if ${lt_cv_objdir+:} false; then :
7745
8290
  $as_echo_n "(cached) " >&6
7746
8291
else
7747
8292
  rm -f .libs 2>/dev/null
7819
8364
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
7820
8365
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
7821
8366
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
7822
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8367
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7823
8368
  $as_echo_n "(cached) " >&6
7824
8369
else
7825
8370
  case $MAGIC_CMD in
7885
8430
  if test -n "$ac_tool_prefix"; then
7886
8431
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
7887
8432
$as_echo_n "checking for file... " >&6; }
7888
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
8433
if ${lt_cv_path_MAGIC_CMD+:} false; then :
7889
8434
  $as_echo_n "(cached) " >&6
7890
8435
else
7891
8436
  case $MAGIC_CMD in
8027
8572
 
8028
8573
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8029
8574
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8030
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
8575
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8031
8576
  $as_echo_n "(cached) " >&6
8032
8577
else
8033
8578
  lt_cv_prog_compiler_rtti_exceptions=no
8080
8625
lt_prog_compiler_pic=
8081
8626
lt_prog_compiler_static=
8082
8627
 
8083
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8084
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8085
8628
 
8086
8629
  if test "$GCC" = yes; then
8087
8630
    lt_prog_compiler_wl='-Wl,'
8246
8789
        lt_prog_compiler_pic='--shared'
8247
8790
        lt_prog_compiler_static='--static'
8248
8791
        ;;
 
8792
      nagfor*)
 
8793
        # NAG Fortran compiler
 
8794
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
8795
        lt_prog_compiler_pic='-PIC'
 
8796
        lt_prog_compiler_static='-Bstatic'
 
8797
        ;;
8249
8798
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
8250
8799
        # Portland Group compilers (*not* the Pentium gcc compiler,
8251
8800
        # which looks to be a dead project)
8365
8914
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
8366
8915
    ;;
8367
8916
esac
8368
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
8369
 
$as_echo "$lt_prog_compiler_pic" >&6; }
8370
 
 
8371
 
 
8372
 
 
8373
 
 
8374
 
 
 
8917
 
 
8918
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
8919
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
8920
if ${lt_cv_prog_compiler_pic+:} false; then :
 
8921
  $as_echo_n "(cached) " >&6
 
8922
else
 
8923
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
8924
fi
 
8925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
8926
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
8927
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
8375
8928
 
8376
8929
#
8377
8930
# Check to make sure the PIC flag actually works.
8379
8932
if test -n "$lt_prog_compiler_pic"; then
8380
8933
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
8381
8934
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
8382
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
8935
if ${lt_cv_prog_compiler_pic_works+:} false; then :
8383
8936
  $as_echo_n "(cached) " >&6
8384
8937
else
8385
8938
  lt_cv_prog_compiler_pic_works=no
8432
8985
 
8433
8986
 
8434
8987
 
 
8988
 
 
8989
 
 
8990
 
 
8991
 
 
8992
 
8435
8993
#
8436
8994
# Check to make sure the static flag actually works.
8437
8995
#
8438
8996
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
8439
8997
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
8440
8998
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
8441
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
8999
if ${lt_cv_prog_compiler_static_works+:} false; then :
8442
9000
  $as_echo_n "(cached) " >&6
8443
9001
else
8444
9002
  lt_cv_prog_compiler_static_works=no
8481
9039
 
8482
9040
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8483
9041
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8484
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9042
if ${lt_cv_prog_compiler_c_o+:} false; then :
8485
9043
  $as_echo_n "(cached) " >&6
8486
9044
else
8487
9045
  lt_cv_prog_compiler_c_o=no
8536
9094
 
8537
9095
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
8538
9096
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
8539
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
9097
if ${lt_cv_prog_compiler_c_o+:} false; then :
8540
9098
  $as_echo_n "(cached) " >&6
8541
9099
else
8542
9100
  lt_cv_prog_compiler_c_o=no
8674
9232
  openbsd*)
8675
9233
    with_gnu_ld=no
8676
9234
    ;;
 
9235
  linux* | k*bsd*-gnu | gnu*)
 
9236
    link_all_deplibs=no
 
9237
    ;;
8677
9238
  esac
8678
9239
 
8679
9240
  ld_shlibs=yes
8782
9343
      allow_undefined_flag=unsupported
8783
9344
      always_export_symbols=no
8784
9345
      enable_shared_with_static_runtimes=yes
8785
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9346
      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'
 
9347
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
8786
9348
 
8787
9349
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
8788
9350
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
8830
9392
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
8831
9393
         && test "$tmp_diet" = no
8832
9394
      then
8833
 
        tmp_addflag=
 
9395
        tmp_addflag=' $pic_flag'
8834
9396
        tmp_sharedflag='-shared'
8835
9397
        case $cc_basename,$host_cpu in
8836
9398
        pgcc*)                          # Portland Group C compiler
8895
9457
      fi
8896
9458
      ;;
8897
9459
 
8898
 
    netbsd*)
 
9460
    netbsd* | netbsdelf*-gnu)
8899
9461
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
8900
9462
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
8901
9463
        wlarc=
8902
9464
      else
8903
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8904
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9465
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9466
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8905
9467
      fi
8906
9468
      ;;
8907
9469
 
8919
9481
 
8920
9482
_LT_EOF
8921
9483
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8922
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8923
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9484
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9485
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8924
9486
      else
8925
9487
        ld_shlibs=no
8926
9488
      fi
8966
9528
 
8967
9529
    *)
8968
9530
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
8969
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
8970
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
9531
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
9532
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
8971
9533
      else
8972
9534
        ld_shlibs=no
8973
9535
      fi
9072
9634
        if test "$aix_use_runtimelinking" = yes; then
9073
9635
          shared_flag="$shared_flag "'${wl}-G'
9074
9636
        fi
 
9637
        link_all_deplibs=no
9075
9638
      else
9076
9639
        # not using gcc
9077
9640
        if test "$host_cpu" = ia64; then
9097
9660
        allow_undefined_flag='-berok'
9098
9661
        # Determine the default libpath from the value encoded in an
9099
9662
        # empty executable.
9100
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9663
        if test "${lt_cv_aix_libpath+set}" = set; then
 
9664
  aix_libpath=$lt_cv_aix_libpath
 
9665
else
 
9666
  if ${lt_cv_aix_libpath_+:} false; then :
 
9667
  $as_echo_n "(cached) " >&6
 
9668
else
 
9669
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101
9670
/* end confdefs.h.  */
9102
9671
 
9103
9672
int
9110
9679
_ACEOF
9111
9680
if ac_fn_c_try_link "$LINENO"; then :
9112
9681
 
9113
 
lt_aix_libpath_sed='
9114
 
    /Import File Strings/,/^$/ {
9115
 
        /^0/ {
9116
 
            s/^0  *\(.*\)$/\1/
9117
 
            p
9118
 
        }
9119
 
    }'
9120
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9121
 
# Check for a 64-bit object if we didn't find anything.
9122
 
if test -z "$aix_libpath"; then
9123
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9124
 
fi
 
9682
  lt_aix_libpath_sed='
 
9683
      /Import File Strings/,/^$/ {
 
9684
          /^0/ {
 
9685
              s/^0  *\([^ ]*\) *$/\1/
 
9686
              p
 
9687
          }
 
9688
      }'
 
9689
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9690
  # Check for a 64-bit object if we didn't find anything.
 
9691
  if test -z "$lt_cv_aix_libpath_"; then
 
9692
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9693
  fi
9125
9694
fi
9126
9695
rm -f core conftest.err conftest.$ac_objext \
9127
9696
    conftest$ac_exeext conftest.$ac_ext
9128
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9697
  if test -z "$lt_cv_aix_libpath_"; then
 
9698
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9699
  fi
 
9700
 
 
9701
fi
 
9702
 
 
9703
  aix_libpath=$lt_cv_aix_libpath_
 
9704
fi
9129
9705
 
9130
9706
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9131
9707
        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"
9137
9713
        else
9138
9714
         # Determine the default libpath from the value encoded in an
9139
9715
         # empty executable.
9140
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9716
         if test "${lt_cv_aix_libpath+set}" = set; then
 
9717
  aix_libpath=$lt_cv_aix_libpath
 
9718
else
 
9719
  if ${lt_cv_aix_libpath_+:} false; then :
 
9720
  $as_echo_n "(cached) " >&6
 
9721
else
 
9722
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141
9723
/* end confdefs.h.  */
9142
9724
 
9143
9725
int
9150
9732
_ACEOF
9151
9733
if ac_fn_c_try_link "$LINENO"; then :
9152
9734
 
9153
 
lt_aix_libpath_sed='
9154
 
    /Import File Strings/,/^$/ {
9155
 
        /^0/ {
9156
 
            s/^0  *\(.*\)$/\1/
9157
 
            p
9158
 
        }
9159
 
    }'
9160
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9161
 
# Check for a 64-bit object if we didn't find anything.
9162
 
if test -z "$aix_libpath"; then
9163
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9164
 
fi
 
9735
  lt_aix_libpath_sed='
 
9736
      /Import File Strings/,/^$/ {
 
9737
          /^0/ {
 
9738
              s/^0  *\([^ ]*\) *$/\1/
 
9739
              p
 
9740
          }
 
9741
      }'
 
9742
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9743
  # Check for a 64-bit object if we didn't find anything.
 
9744
  if test -z "$lt_cv_aix_libpath_"; then
 
9745
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
9746
  fi
9165
9747
fi
9166
9748
rm -f core conftest.err conftest.$ac_objext \
9167
9749
    conftest$ac_exeext conftest.$ac_ext
9168
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
9750
  if test -z "$lt_cv_aix_libpath_"; then
 
9751
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
9752
  fi
 
9753
 
 
9754
fi
 
9755
 
 
9756
  aix_libpath=$lt_cv_aix_libpath_
 
9757
fi
9169
9758
 
9170
9759
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9171
9760
          # Warning - without using the other run time loading flags,
9210
9799
      # Microsoft Visual C++.
9211
9800
      # hardcode_libdir_flag_spec is actually meaningless, as there is
9212
9801
      # no search path for DLLs.
9213
 
      hardcode_libdir_flag_spec=' '
9214
 
      allow_undefined_flag=unsupported
9215
 
      # Tell ltmain to make .lib files, not .a files.
9216
 
      libext=lib
9217
 
      # Tell ltmain to make .dll files, not .so files.
9218
 
      shrext_cmds=".dll"
9219
 
      # FIXME: Setting linknames here is a bad hack.
9220
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
9221
 
      # The linker will automatically build a .lib file if we build a DLL.
9222
 
      old_archive_from_new_cmds='true'
9223
 
      # FIXME: Should let the user specify the lib program.
9224
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
9225
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
9226
 
      enable_shared_with_static_runtimes=yes
 
9802
      case $cc_basename in
 
9803
      cl*)
 
9804
        # Native MSVC
 
9805
        hardcode_libdir_flag_spec=' '
 
9806
        allow_undefined_flag=unsupported
 
9807
        always_export_symbols=yes
 
9808
        file_list_spec='@'
 
9809
        # Tell ltmain to make .lib files, not .a files.
 
9810
        libext=lib
 
9811
        # Tell ltmain to make .dll files, not .so files.
 
9812
        shrext_cmds=".dll"
 
9813
        # FIXME: Setting linknames here is a bad hack.
 
9814
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
9815
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
9816
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
9817
          else
 
9818
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
9819
          fi~
 
9820
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
9821
          linknames='
 
9822
        # The linker will not automatically build a static lib if we build a DLL.
 
9823
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
9824
        enable_shared_with_static_runtimes=yes
 
9825
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
9826
        # Don't use ranlib
 
9827
        old_postinstall_cmds='chmod 644 $oldlib'
 
9828
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
9829
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
9830
          case $lt_outputfile in
 
9831
            *.exe|*.EXE) ;;
 
9832
            *)
 
9833
              lt_outputfile="$lt_outputfile.exe"
 
9834
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
9835
              ;;
 
9836
          esac~
 
9837
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
9838
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
9839
            $RM "$lt_outputfile.manifest";
 
9840
          fi'
 
9841
        ;;
 
9842
      *)
 
9843
        # Assume MSVC wrapper
 
9844
        hardcode_libdir_flag_spec=' '
 
9845
        allow_undefined_flag=unsupported
 
9846
        # Tell ltmain to make .lib files, not .a files.
 
9847
        libext=lib
 
9848
        # Tell ltmain to make .dll files, not .so files.
 
9849
        shrext_cmds=".dll"
 
9850
        # FIXME: Setting linknames here is a bad hack.
 
9851
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
9852
        # The linker will automatically build a .lib file if we build a DLL.
 
9853
        old_archive_from_new_cmds='true'
 
9854
        # FIXME: Should let the user specify the lib program.
 
9855
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
9856
        enable_shared_with_static_runtimes=yes
 
9857
        ;;
 
9858
      esac
9227
9859
      ;;
9228
9860
 
9229
9861
    darwin* | rhapsody*)
9288
9920
 
9289
9921
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
9290
9922
    freebsd* | dragonfly*)
9291
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
9923
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
9292
9924
      hardcode_libdir_flag_spec='-R$libdir'
9293
9925
      hardcode_direct=yes
9294
9926
      hardcode_shlibpath_var=no
9296
9928
 
9297
9929
    hpux9*)
9298
9930
      if test "$GCC" = yes; then
9299
 
        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'
 
9931
        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'
9300
9932
      else
9301
9933
        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'
9302
9934
      fi
9312
9944
 
9313
9945
    hpux10*)
9314
9946
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
9315
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9947
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9316
9948
      else
9317
9949
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
9318
9950
      fi
9336
9968
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9337
9969
          ;;
9338
9970
        ia64*)
9339
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
9971
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
9340
9972
          ;;
9341
9973
        *)
9342
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
9974
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
9343
9975
          ;;
9344
9976
        esac
9345
9977
      else
9356
9988
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
9357
9989
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
9358
9990
$as_echo_n "checking if $CC understands -b... " >&6; }
9359
 
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
9991
if ${lt_cv_prog_compiler__b+:} false; then :
9360
9992
  $as_echo_n "(cached) " >&6
9361
9993
else
9362
9994
  lt_cv_prog_compiler__b=no
9418
10050
 
9419
10051
    irix5* | irix6* | nonstopux*)
9420
10052
      if test "$GCC" = yes; then
9421
 
        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'
 
10053
        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'
9422
10054
        # Try to use the -exported_symbol ld option, if it does not
9423
10055
        # work, assume that -exports_file does not work either and
9424
10056
        # implicitly export all symbols.
9425
 
        save_LDFLAGS="$LDFLAGS"
9426
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
9427
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
10057
        # This should be the same for all languages, so no per-tag cache variable.
 
10058
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
10059
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
10060
if ${lt_cv_irix_exported_symbol+:} false; then :
 
10061
  $as_echo_n "(cached) " >&6
 
10062
else
 
10063
  save_LDFLAGS="$LDFLAGS"
 
10064
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
10065
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9428
10066
/* end confdefs.h.  */
9429
 
int foo(void) {}
 
10067
int foo (void) { return 0; }
9430
10068
_ACEOF
9431
10069
if ac_fn_c_try_link "$LINENO"; then :
9432
 
  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'
9433
 
 
 
10070
  lt_cv_irix_exported_symbol=yes
 
10071
else
 
10072
  lt_cv_irix_exported_symbol=no
9434
10073
fi
9435
10074
rm -f core conftest.err conftest.$ac_objext \
9436
10075
    conftest$ac_exeext conftest.$ac_ext
9437
 
        LDFLAGS="$save_LDFLAGS"
 
10076
           LDFLAGS="$save_LDFLAGS"
 
10077
fi
 
10078
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
10079
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
10080
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
10081
          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'
 
10082
        fi
9438
10083
      else
9439
10084
        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'
9440
10085
        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'
9446
10091
      link_all_deplibs=yes
9447
10092
      ;;
9448
10093
 
9449
 
    netbsd*)
 
10094
    netbsd* | netbsdelf*-gnu)
9450
10095
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9451
10096
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
9452
10097
      else
9519
10164
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
9520
10165
      if test "$GCC" = yes; then
9521
10166
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
9522
 
        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'
 
10167
        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'
9523
10168
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9524
10169
      else
9525
10170
        allow_undefined_flag=' -expect_unresolved \*'
9538
10183
      no_undefined_flag=' -z defs'
9539
10184
      if test "$GCC" = yes; then
9540
10185
        wlarc='${wl}'
9541
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
10186
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
9542
10187
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
9543
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
10188
          $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'
9544
10189
      else
9545
10190
        case `$CC -V 2>&1` in
9546
10191
        *"Compilers 5.0"*)
9728
10373
      # to ld, don't add -lc before -lgcc.
9729
10374
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
9730
10375
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
9731
 
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
10376
if ${lt_cv_archive_cmds_need_lc+:} false; then :
9732
10377
  $as_echo_n "(cached) " >&6
9733
10378
else
9734
10379
  $RM conftest*
10116
10761
  need_version=no
10117
10762
  need_lib_prefix=no
10118
10763
 
10119
 
  case $GCC,$host_os in
10120
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
10764
  case $GCC,$cc_basename in
 
10765
  yes,*)
 
10766
    # gcc
10121
10767
    library_names_spec='$libname.dll.a'
10122
10768
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
10123
10769
    postinstall_cmds='base_file=`basename \${file}`~
10150
10796
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10151
10797
      ;;
10152
10798
    esac
 
10799
    dynamic_linker='Win32 ld.exe'
 
10800
    ;;
 
10801
 
 
10802
  *,cl*)
 
10803
    # Native MSVC
 
10804
    libname_spec='$name'
 
10805
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
10806
    library_names_spec='${libname}.dll.lib'
 
10807
 
 
10808
    case $build_os in
 
10809
    mingw*)
 
10810
      sys_lib_search_path_spec=
 
10811
      lt_save_ifs=$IFS
 
10812
      IFS=';'
 
10813
      for lt_path in $LIB
 
10814
      do
 
10815
        IFS=$lt_save_ifs
 
10816
        # Let DOS variable expansion print the short 8.3 style file name.
 
10817
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
10818
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
10819
      done
 
10820
      IFS=$lt_save_ifs
 
10821
      # Convert to MSYS style.
 
10822
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
10823
      ;;
 
10824
    cygwin*)
 
10825
      # Convert to unix form, then to dos form, then back to unix form
 
10826
      # but this time dos style (no spaces!) so that the unix form looks
 
10827
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
10828
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
10829
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
10830
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10831
      ;;
 
10832
    *)
 
10833
      sys_lib_search_path_spec="$LIB"
 
10834
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
10835
        # It is most probably a Windows format PATH.
 
10836
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
10837
      else
 
10838
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
10839
      fi
 
10840
      # FIXME: find the short name or the path components, as spaces are
 
10841
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
10842
      ;;
 
10843
    esac
 
10844
 
 
10845
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
10846
    postinstall_cmds='base_file=`basename \${file}`~
 
10847
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
10848
      dldir=$destdir/`dirname \$dlpath`~
 
10849
      test -d \$dldir || mkdir -p \$dldir~
 
10850
      $install_prog $dir/$dlname \$dldir/$dlname'
 
10851
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
10852
      dlpath=$dir/\$dldll~
 
10853
       $RM \$dlpath'
 
10854
    shlibpath_overrides_runpath=yes
 
10855
    dynamic_linker='Win32 link.exe'
10153
10856
    ;;
10154
10857
 
10155
10858
  *)
 
10859
    # Assume MSVC wrapper
10156
10860
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
10861
    dynamic_linker='Win32 ld.exe'
10157
10862
    ;;
10158
10863
  esac
10159
 
  dynamic_linker='Win32 ld.exe'
10160
10864
  # FIXME: first we should search . and the directory the executable is in
10161
10865
  shlibpath_var=PATH
10162
10866
  ;;
10240
10944
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
10241
10945
  soname_spec='${libname}${release}${shared_ext}$major'
10242
10946
  shlibpath_var=LD_LIBRARY_PATH
 
10947
  shlibpath_overrides_runpath=no
10243
10948
  hardcode_into_libs=yes
10244
10949
  ;;
10245
10950
 
10370
11075
  shlibpath_overrides_runpath=no
10371
11076
 
10372
11077
  # Some binutils ld are patched to set DT_RUNPATH
10373
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
11078
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
10374
11079
  $as_echo_n "(cached) " >&6
10375
11080
else
10376
11081
  lt_cv_shlibpath_overrides_runpath=no
10423
11128
  dynamic_linker='GNU/Linux ld.so'
10424
11129
  ;;
10425
11130
 
 
11131
netbsdelf*-gnu)
 
11132
  version_type=linux
 
11133
  need_lib_prefix=no
 
11134
  need_version=no
 
11135
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
11136
  soname_spec='${libname}${release}${shared_ext}$major'
 
11137
  shlibpath_var=LD_LIBRARY_PATH
 
11138
  shlibpath_overrides_runpath=no
 
11139
  hardcode_into_libs=yes
 
11140
  dynamic_linker='NetBSD ld.elf_so'
 
11141
  ;;
 
11142
 
10426
11143
netbsd*)
10427
11144
  version_type=sunos
10428
11145
  need_lib_prefix=no
10790
11507
  # if libdl is installed we need to link against it
10791
11508
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10792
11509
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10793
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11510
if ${ac_cv_lib_dl_dlopen+:} false; then :
10794
11511
  $as_echo_n "(cached) " >&6
10795
11512
else
10796
11513
  ac_check_lib_save_LIBS=$LIBS
10824
11541
fi
10825
11542
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10826
11543
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10827
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11544
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10828
11545
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10829
11546
else
10830
11547
 
10838
11555
 
10839
11556
  *)
10840
11557
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
10841
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
11558
if test "x$ac_cv_func_shl_load" = xyes; then :
10842
11559
  lt_cv_dlopen="shl_load"
10843
11560
else
10844
11561
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
10845
11562
$as_echo_n "checking for shl_load in -ldld... " >&6; }
10846
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
11563
if ${ac_cv_lib_dld_shl_load+:} false; then :
10847
11564
  $as_echo_n "(cached) " >&6
10848
11565
else
10849
11566
  ac_check_lib_save_LIBS=$LIBS
10877
11594
fi
10878
11595
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
10879
11596
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
10880
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
11597
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
10881
11598
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
10882
11599
else
10883
11600
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
10884
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
11601
if test "x$ac_cv_func_dlopen" = xyes; then :
10885
11602
  lt_cv_dlopen="dlopen"
10886
11603
else
10887
11604
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
10888
11605
$as_echo_n "checking for dlopen in -ldl... " >&6; }
10889
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
11606
if ${ac_cv_lib_dl_dlopen+:} false; then :
10890
11607
  $as_echo_n "(cached) " >&6
10891
11608
else
10892
11609
  ac_check_lib_save_LIBS=$LIBS
10920
11637
fi
10921
11638
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
10922
11639
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
10923
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
11640
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
10924
11641
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
10925
11642
else
10926
11643
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
10927
11644
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
10928
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
11645
if ${ac_cv_lib_svld_dlopen+:} false; then :
10929
11646
  $as_echo_n "(cached) " >&6
10930
11647
else
10931
11648
  ac_check_lib_save_LIBS=$LIBS
10959
11676
fi
10960
11677
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
10961
11678
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
10962
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
11679
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
10963
11680
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
10964
11681
else
10965
11682
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
10966
11683
$as_echo_n "checking for dld_link in -ldld... " >&6; }
10967
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
11684
if ${ac_cv_lib_dld_dld_link+:} false; then :
10968
11685
  $as_echo_n "(cached) " >&6
10969
11686
else
10970
11687
  ac_check_lib_save_LIBS=$LIBS
10998
11715
fi
10999
11716
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11000
11717
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11001
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
11718
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11002
11719
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11003
11720
fi
11004
11721
 
11039
11756
 
11040
11757
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11041
11758
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
11042
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
11759
if ${lt_cv_dlopen_self+:} false; then :
11043
11760
  $as_echo_n "(cached) " >&6
11044
11761
else
11045
11762
          if test "$cross_compiling" = yes; then :
11092
11809
/* When -fvisbility=hidden is used, assume the code has been annotated
11093
11810
   correspondingly for the symbols needed.  */
11094
11811
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11095
 
void fnord () __attribute__((visibility("default")));
 
11812
int fnord () __attribute__((visibility("default")));
11096
11813
#endif
11097
11814
 
11098
 
void fnord () { int i=42; }
 
11815
int fnord () { return 42; }
11099
11816
int main ()
11100
11817
{
11101
11818
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11145
11862
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11146
11863
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11147
11864
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11148
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
11865
if ${lt_cv_dlopen_self_static+:} false; then :
11149
11866
  $as_echo_n "(cached) " >&6
11150
11867
else
11151
11868
          if test "$cross_compiling" = yes; then :
11198
11915
/* When -fvisbility=hidden is used, assume the code has been annotated
11199
11916
   correspondingly for the symbols needed.  */
11200
11917
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11201
 
void fnord () __attribute__((visibility("default")));
 
11918
int fnord () __attribute__((visibility("default")));
11202
11919
#endif
11203
11920
 
11204
 
void fnord () { int i=42; }
 
11921
int fnord () { return 42; }
11205
11922
int main ()
11206
11923
{
11207
11924
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11419
12136
# Prepare PATH_SEPARATOR.
11420
12137
# The user is always right.
11421
12138
if test "${PATH_SEPARATOR+set}" != set; then
11422
 
  echo "#! /bin/sh" >conf$$.sh
11423
 
  echo  "exit 0"   >>conf$$.sh
11424
 
  chmod +x conf$$.sh
11425
 
  if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
11426
 
    PATH_SEPARATOR=';'
11427
 
  else
11428
 
    PATH_SEPARATOR=:
11429
 
  fi
11430
 
  rm -f conf$$.sh
 
12139
  # Determine PATH_SEPARATOR by trying to find /bin/sh in a PATH which
 
12140
  # contains only /bin. Note that ksh looks also at the FPATH variable,
 
12141
  # so we have to set that as well for the test.
 
12142
  PATH_SEPARATOR=:
 
12143
  (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
 
12144
    && { (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 \
 
12145
           || PATH_SEPARATOR=';'
 
12146
       }
11431
12147
fi
11432
12148
ac_prog=ld
11433
12149
if test "$GCC" = yes; then
11468
12184
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
11469
12185
$as_echo_n "checking for non-GNU ld... " >&6; }
11470
12186
fi
11471
 
if test "${acl_cv_path_LD+set}" = set; then :
 
12187
if ${acl_cv_path_LD+:} false; then :
11472
12188
  $as_echo_n "(cached) " >&6
11473
12189
else
11474
12190
  if test -z "$LD"; then
11505
12221
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
11506
12222
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
11507
12223
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
11508
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
12224
if ${acl_cv_prog_gnu_ld+:} false; then :
11509
12225
  $as_echo_n "(cached) " >&6
11510
12226
else
11511
12227
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
11525
12241
 
11526
12242
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
11527
12243
$as_echo_n "checking for shared library run path origin... " >&6; }
11528
 
if test "${acl_cv_rpath+set}" = set; then :
 
12244
if ${acl_cv_rpath+:} false; then :
11529
12245
  $as_echo_n "(cached) " >&6
11530
12246
else
11531
12247
 
11563
12279
    solaris*)
11564
12280
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
11565
12281
$as_echo_n "checking for 64-bit host... " >&6; }
11566
 
if test "${gl_cv_solaris_64bit+set}" = set; then :
 
12282
if ${gl_cv_solaris_64bit+:} false; then :
11567
12283
  $as_echo_n "(cached) " >&6
11568
12284
else
11569
12285
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11623
12339
  # Interfaces changed/added/removed:   CURRENT++       REVISION=0
11624
12340
  # Interfaces added:                             AGE++
11625
12341
  # Interfaces removed:                           AGE=0
11626
 
  LT_CURRENT=42
11627
 
 
11628
 
  LT_REVISION=14
11629
 
 
11630
 
  LT_AGE=16
 
12342
  LT_CURRENT=47
 
12343
 
 
12344
  LT_REVISION=5
 
12345
 
 
12346
  LT_AGE=21
 
12347
 
 
12348
 
 
12349
  LT_SSL_CURRENT=27
 
12350
 
 
12351
  LT_SSL_REVISION=0
 
12352
 
 
12353
  LT_SSL_AGE=0
 
12354
 
 
12355
 
 
12356
  CXX_LT_CURRENT=27
 
12357
 
 
12358
  CXX_LT_REVISION=0
 
12359
 
 
12360
  CXX_LT_AGE=0
11631
12361
 
11632
12362
 
11633
12363
  # Used when creating the Windows libgnutls-XX.def files.
11634
12364
  DLL_VERSION=`expr ${LT_CURRENT} - ${LT_AGE}`
11635
12365
 
11636
12366
 
 
12367
  cryptolib="nettle"
 
12368
 
 
12369
 
 
12370
# Check whether --with-libgcrypt was given.
 
12371
if test "${with_libgcrypt+set}" = set; then :
 
12372
  withval=$with_libgcrypt; libgcrypt=$withval
 
12373
else
 
12374
  libgcrypt=no
 
12375
fi
 
12376
 
 
12377
    if test "$libgcrypt" = "yes"; then
 
12378
        cryptolib=libgcrypt
 
12379
 
 
12380
$as_echo "#define HAVE_GCRYPT 1" >>confdefs.h
 
12381
 
11637
12382
 
11638
12383
 
11639
12384
 
12129
12874
 
12130
12875
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt" >&5
12131
12876
$as_echo_n "checking for libgcrypt... " >&6; }
12132
 
if test "${ac_cv_libgcrypt+set}" = set; then :
 
12877
if ${ac_cv_libgcrypt+:} false; then :
12133
12878
  $as_echo_n "(cached) " >&6
12134
12879
else
12135
12880
 
12184
12929
 
12185
12930
 
12186
12931
 
12187
 
  if test "$ac_cv_libgcrypt" != yes; then
12188
 
    as_fn_error $? "
 
12932
      if test "$ac_cv_libgcrypt" != yes; then
 
12933
        as_fn_error $? "
12189
12934
***
12190
 
*** libgcrypt was not found. You may want to get it from
 
12935
*** Libgcrypt v1.4.0 or later was not found. You may want to get it from
12191
12936
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
12192
12937
***
12193
12938
    " "$LINENO" 5
12194
 
  fi
 
12939
      fi
 
12940
    fi
 
12941
 
 
12942
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use nettle" >&5
 
12943
$as_echo_n "checking whether to use nettle... " >&6; }
 
12944
if test "$cryptolib" = "nettle";then
 
12945
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
12946
$as_echo "yes" >&6; }
 
12947
 
 
12948
 
 
12949
 
 
12950
 
 
12951
 
 
12952
 
 
12953
 
 
12954
 
 
12955
 
 
12956
 
 
12957
 
 
12958
 
 
12959
 
 
12960
    use_additional=yes
 
12961
 
 
12962
  acl_save_prefix="$prefix"
 
12963
  prefix="$acl_final_prefix"
 
12964
  acl_save_exec_prefix="$exec_prefix"
 
12965
  exec_prefix="$acl_final_exec_prefix"
 
12966
 
 
12967
    eval additional_includedir=\"$includedir\"
 
12968
    eval additional_libdir=\"$libdir\"
 
12969
 
 
12970
  exec_prefix="$acl_save_exec_prefix"
 
12971
  prefix="$acl_save_prefix"
 
12972
 
 
12973
 
 
12974
# Check whether --with-libnettle-prefix was given.
 
12975
if test "${with_libnettle_prefix+set}" = set; then :
 
12976
  withval=$with_libnettle_prefix;
 
12977
    if test "X$withval" = "Xno"; then
 
12978
      use_additional=no
 
12979
    else
 
12980
      if test "X$withval" = "X"; then
 
12981
 
 
12982
  acl_save_prefix="$prefix"
 
12983
  prefix="$acl_final_prefix"
 
12984
  acl_save_exec_prefix="$exec_prefix"
 
12985
  exec_prefix="$acl_final_exec_prefix"
 
12986
 
 
12987
          eval additional_includedir=\"$includedir\"
 
12988
          eval additional_libdir=\"$libdir\"
 
12989
 
 
12990
  exec_prefix="$acl_save_exec_prefix"
 
12991
  prefix="$acl_save_prefix"
 
12992
 
 
12993
      else
 
12994
        additional_includedir="$withval/include"
 
12995
        additional_libdir="$withval/$acl_libdirstem"
 
12996
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
 
12997
           && ! test -d "$withval/$acl_libdirstem"; then
 
12998
          additional_libdir="$withval/$acl_libdirstem2"
 
12999
        fi
 
13000
      fi
 
13001
    fi
 
13002
 
 
13003
fi
 
13004
 
 
13005
      LIBNETTLE=
 
13006
  LTLIBNETTLE=
 
13007
  INCNETTLE=
 
13008
  LIBNETTLE_PREFIX=
 
13009
      HAVE_LIBNETTLE=
 
13010
  rpathdirs=
 
13011
  ltrpathdirs=
 
13012
  names_already_handled=
 
13013
  names_next_round='nettle '
 
13014
  while test -n "$names_next_round"; do
 
13015
    names_this_round="$names_next_round"
 
13016
    names_next_round=
 
13017
    for name in $names_this_round; do
 
13018
      already_handled=
 
13019
      for n in $names_already_handled; do
 
13020
        if test "$n" = "$name"; then
 
13021
          already_handled=yes
 
13022
          break
 
13023
        fi
 
13024
      done
 
13025
      if test -z "$already_handled"; then
 
13026
        names_already_handled="$names_already_handled $name"
 
13027
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
 
13028
        eval value=\"\$HAVE_LIB$uppername\"
 
13029
        if test -n "$value"; then
 
13030
          if test "$value" = yes; then
 
13031
            eval value=\"\$LIB$uppername\"
 
13032
            test -z "$value" || LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$value"
 
13033
            eval value=\"\$LTLIB$uppername\"
 
13034
            test -z "$value" || LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }$value"
 
13035
          else
 
13036
                                    :
 
13037
          fi
 
13038
        else
 
13039
                              found_dir=
 
13040
          found_la=
 
13041
          found_so=
 
13042
          found_a=
 
13043
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
13044
          if test -n "$acl_shlibext"; then
 
13045
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
13046
          else
 
13047
            shrext=
 
13048
          fi
 
13049
          if test $use_additional = yes; then
 
13050
            dir="$additional_libdir"
 
13051
                                    if test -n "$acl_shlibext"; then
 
13052
              if test -f "$dir/$libname$shrext"; then
 
13053
                found_dir="$dir"
 
13054
                found_so="$dir/$libname$shrext"
 
13055
              else
 
13056
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
13057
                  ver=`(cd "$dir" && \
 
13058
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
13059
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
13060
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
13061
                        | sed 1q ) 2>/dev/null`
 
13062
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
13063
                    found_dir="$dir"
 
13064
                    found_so="$dir/$libname$shrext.$ver"
 
13065
                  fi
 
13066
                else
 
13067
                  eval library_names=\"$acl_library_names_spec\"
 
13068
                  for f in $library_names; do
 
13069
                    if test -f "$dir/$f"; then
 
13070
                      found_dir="$dir"
 
13071
                      found_so="$dir/$f"
 
13072
                      break
 
13073
                    fi
 
13074
                  done
 
13075
                fi
 
13076
              fi
 
13077
            fi
 
13078
                        if test "X$found_dir" = "X"; then
 
13079
              if test -f "$dir/$libname.$acl_libext"; then
 
13080
                found_dir="$dir"
 
13081
                found_a="$dir/$libname.$acl_libext"
 
13082
              fi
 
13083
            fi
 
13084
            if test "X$found_dir" != "X"; then
 
13085
              if test -f "$dir/$libname.la"; then
 
13086
                found_la="$dir/$libname.la"
 
13087
              fi
 
13088
            fi
 
13089
          fi
 
13090
          if test "X$found_dir" = "X"; then
 
13091
            for x in $LDFLAGS $LTLIBNETTLE; do
 
13092
 
 
13093
  acl_save_prefix="$prefix"
 
13094
  prefix="$acl_final_prefix"
 
13095
  acl_save_exec_prefix="$exec_prefix"
 
13096
  exec_prefix="$acl_final_exec_prefix"
 
13097
  eval x=\"$x\"
 
13098
  exec_prefix="$acl_save_exec_prefix"
 
13099
  prefix="$acl_save_prefix"
 
13100
 
 
13101
              case "$x" in
 
13102
                -L*)
 
13103
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
13104
                                    if test -n "$acl_shlibext"; then
 
13105
                    if test -f "$dir/$libname$shrext"; then
 
13106
                      found_dir="$dir"
 
13107
                      found_so="$dir/$libname$shrext"
 
13108
                    else
 
13109
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
13110
                        ver=`(cd "$dir" && \
 
13111
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
13112
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
13113
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
13114
                              | sed 1q ) 2>/dev/null`
 
13115
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
13116
                          found_dir="$dir"
 
13117
                          found_so="$dir/$libname$shrext.$ver"
 
13118
                        fi
 
13119
                      else
 
13120
                        eval library_names=\"$acl_library_names_spec\"
 
13121
                        for f in $library_names; do
 
13122
                          if test -f "$dir/$f"; then
 
13123
                            found_dir="$dir"
 
13124
                            found_so="$dir/$f"
 
13125
                            break
 
13126
                          fi
 
13127
                        done
 
13128
                      fi
 
13129
                    fi
 
13130
                  fi
 
13131
                                    if test "X$found_dir" = "X"; then
 
13132
                    if test -f "$dir/$libname.$acl_libext"; then
 
13133
                      found_dir="$dir"
 
13134
                      found_a="$dir/$libname.$acl_libext"
 
13135
                    fi
 
13136
                  fi
 
13137
                  if test "X$found_dir" != "X"; then
 
13138
                    if test -f "$dir/$libname.la"; then
 
13139
                      found_la="$dir/$libname.la"
 
13140
                    fi
 
13141
                  fi
 
13142
                  ;;
 
13143
              esac
 
13144
              if test "X$found_dir" != "X"; then
 
13145
                break
 
13146
              fi
 
13147
            done
 
13148
          fi
 
13149
          if test "X$found_dir" != "X"; then
 
13150
                        LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }-L$found_dir -l$name"
 
13151
            if test "X$found_so" != "X"; then
 
13152
                                                        if test "$enable_rpath" = no \
 
13153
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
 
13154
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
 
13155
                                LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_so"
 
13156
              else
 
13157
                                                                                haveit=
 
13158
                for x in $ltrpathdirs; do
 
13159
                  if test "X$x" = "X$found_dir"; then
 
13160
                    haveit=yes
 
13161
                    break
 
13162
                  fi
 
13163
                done
 
13164
                if test -z "$haveit"; then
 
13165
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
13166
                fi
 
13167
                                if test "$acl_hardcode_direct" = yes; then
 
13168
                                                      LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_so"
 
13169
                else
 
13170
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
13171
                                                            LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_so"
 
13172
                                                            haveit=
 
13173
                    for x in $rpathdirs; do
 
13174
                      if test "X$x" = "X$found_dir"; then
 
13175
                        haveit=yes
 
13176
                        break
 
13177
                      fi
 
13178
                    done
 
13179
                    if test -z "$haveit"; then
 
13180
                      rpathdirs="$rpathdirs $found_dir"
 
13181
                    fi
 
13182
                  else
 
13183
                                                                                haveit=
 
13184
                    for x in $LDFLAGS $LIBNETTLE; do
 
13185
 
 
13186
  acl_save_prefix="$prefix"
 
13187
  prefix="$acl_final_prefix"
 
13188
  acl_save_exec_prefix="$exec_prefix"
 
13189
  exec_prefix="$acl_final_exec_prefix"
 
13190
  eval x=\"$x\"
 
13191
  exec_prefix="$acl_save_exec_prefix"
 
13192
  prefix="$acl_save_prefix"
 
13193
 
 
13194
                      if test "X$x" = "X-L$found_dir"; then
 
13195
                        haveit=yes
 
13196
                        break
 
13197
                      fi
 
13198
                    done
 
13199
                    if test -z "$haveit"; then
 
13200
                      LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-L$found_dir"
 
13201
                    fi
 
13202
                    if test "$acl_hardcode_minus_L" != no; then
 
13203
                                                                                        LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_so"
 
13204
                    else
 
13205
                                                                                                                                                                                LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-l$name"
 
13206
                    fi
 
13207
                  fi
 
13208
                fi
 
13209
              fi
 
13210
            else
 
13211
              if test "X$found_a" != "X"; then
 
13212
                                LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_a"
 
13213
              else
 
13214
                                                LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-L$found_dir -l$name"
 
13215
              fi
 
13216
            fi
 
13217
                        additional_includedir=
 
13218
            case "$found_dir" in
 
13219
              */$acl_libdirstem | */$acl_libdirstem/)
 
13220
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
13221
                if test "$name" = 'nettle'; then
 
13222
                  LIBNETTLE_PREFIX="$basedir"
 
13223
                fi
 
13224
                additional_includedir="$basedir/include"
 
13225
                ;;
 
13226
              */$acl_libdirstem2 | */$acl_libdirstem2/)
 
13227
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
 
13228
                if test "$name" = 'nettle'; then
 
13229
                  LIBNETTLE_PREFIX="$basedir"
 
13230
                fi
 
13231
                additional_includedir="$basedir/include"
 
13232
                ;;
 
13233
            esac
 
13234
            if test "X$additional_includedir" != "X"; then
 
13235
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
13236
                haveit=
 
13237
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
13238
                  if test -n "$GCC"; then
 
13239
                    case $host_os in
 
13240
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13241
                    esac
 
13242
                  fi
 
13243
                fi
 
13244
                if test -z "$haveit"; then
 
13245
                  for x in $CPPFLAGS $INCNETTLE; do
 
13246
 
 
13247
  acl_save_prefix="$prefix"
 
13248
  prefix="$acl_final_prefix"
 
13249
  acl_save_exec_prefix="$exec_prefix"
 
13250
  exec_prefix="$acl_final_exec_prefix"
 
13251
  eval x=\"$x\"
 
13252
  exec_prefix="$acl_save_exec_prefix"
 
13253
  prefix="$acl_save_prefix"
 
13254
 
 
13255
                    if test "X$x" = "X-I$additional_includedir"; then
 
13256
                      haveit=yes
 
13257
                      break
 
13258
                    fi
 
13259
                  done
 
13260
                  if test -z "$haveit"; then
 
13261
                    if test -d "$additional_includedir"; then
 
13262
                                            INCNETTLE="${INCNETTLE}${INCNETTLE:+ }-I$additional_includedir"
 
13263
                    fi
 
13264
                  fi
 
13265
                fi
 
13266
              fi
 
13267
            fi
 
13268
                        if test -n "$found_la"; then
 
13269
                                                        save_libdir="$libdir"
 
13270
              case "$found_la" in
 
13271
                */* | *\\*) . "$found_la" ;;
 
13272
                *) . "./$found_la" ;;
 
13273
              esac
 
13274
              libdir="$save_libdir"
 
13275
                            for dep in $dependency_libs; do
 
13276
                case "$dep" in
 
13277
                  -L*)
 
13278
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
13279
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
 
13280
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
 
13281
                      haveit=
 
13282
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
 
13283
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
 
13284
                        if test -n "$GCC"; then
 
13285
                          case $host_os in
 
13286
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
13287
                          esac
 
13288
                        fi
 
13289
                      fi
 
13290
                      if test -z "$haveit"; then
 
13291
                        haveit=
 
13292
                        for x in $LDFLAGS $LIBNETTLE; do
 
13293
 
 
13294
  acl_save_prefix="$prefix"
 
13295
  prefix="$acl_final_prefix"
 
13296
  acl_save_exec_prefix="$exec_prefix"
 
13297
  exec_prefix="$acl_final_exec_prefix"
 
13298
  eval x=\"$x\"
 
13299
  exec_prefix="$acl_save_exec_prefix"
 
13300
  prefix="$acl_save_prefix"
 
13301
 
 
13302
                          if test "X$x" = "X-L$additional_libdir"; then
 
13303
                            haveit=yes
 
13304
                            break
 
13305
                          fi
 
13306
                        done
 
13307
                        if test -z "$haveit"; then
 
13308
                          if test -d "$additional_libdir"; then
 
13309
                                                        LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-L$additional_libdir"
 
13310
                          fi
 
13311
                        fi
 
13312
                        haveit=
 
13313
                        for x in $LDFLAGS $LTLIBNETTLE; do
 
13314
 
 
13315
  acl_save_prefix="$prefix"
 
13316
  prefix="$acl_final_prefix"
 
13317
  acl_save_exec_prefix="$exec_prefix"
 
13318
  exec_prefix="$acl_final_exec_prefix"
 
13319
  eval x=\"$x\"
 
13320
  exec_prefix="$acl_save_exec_prefix"
 
13321
  prefix="$acl_save_prefix"
 
13322
 
 
13323
                          if test "X$x" = "X-L$additional_libdir"; then
 
13324
                            haveit=yes
 
13325
                            break
 
13326
                          fi
 
13327
                        done
 
13328
                        if test -z "$haveit"; then
 
13329
                          if test -d "$additional_libdir"; then
 
13330
                                                        LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }-L$additional_libdir"
 
13331
                          fi
 
13332
                        fi
 
13333
                      fi
 
13334
                    fi
 
13335
                    ;;
 
13336
                  -R*)
 
13337
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
13338
                    if test "$enable_rpath" != no; then
 
13339
                                                                  haveit=
 
13340
                      for x in $rpathdirs; do
 
13341
                        if test "X$x" = "X$dir"; then
 
13342
                          haveit=yes
 
13343
                          break
 
13344
                        fi
 
13345
                      done
 
13346
                      if test -z "$haveit"; then
 
13347
                        rpathdirs="$rpathdirs $dir"
 
13348
                      fi
 
13349
                                                                  haveit=
 
13350
                      for x in $ltrpathdirs; do
 
13351
                        if test "X$x" = "X$dir"; then
 
13352
                          haveit=yes
 
13353
                          break
 
13354
                        fi
 
13355
                      done
 
13356
                      if test -z "$haveit"; then
 
13357
                        ltrpathdirs="$ltrpathdirs $dir"
 
13358
                      fi
 
13359
                    fi
 
13360
                    ;;
 
13361
                  -l*)
 
13362
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
13363
                    ;;
 
13364
                  *.la)
 
13365
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
13366
                    ;;
 
13367
                  *)
 
13368
                                        LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$dep"
 
13369
                    LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }$dep"
 
13370
                    ;;
 
13371
                esac
 
13372
              done
 
13373
            fi
 
13374
          else
 
13375
                                                            LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-l$name"
 
13376
            LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }-l$name"
 
13377
          fi
 
13378
        fi
 
13379
      fi
 
13380
    done
 
13381
  done
 
13382
  if test "X$rpathdirs" != "X"; then
 
13383
    if test -n "$acl_hardcode_libdir_separator"; then
 
13384
                        alldirs=
 
13385
      for found_dir in $rpathdirs; do
 
13386
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
13387
      done
 
13388
            acl_save_libdir="$libdir"
 
13389
      libdir="$alldirs"
 
13390
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13391
      libdir="$acl_save_libdir"
 
13392
      LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$flag"
 
13393
    else
 
13394
            for found_dir in $rpathdirs; do
 
13395
        acl_save_libdir="$libdir"
 
13396
        libdir="$found_dir"
 
13397
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
13398
        libdir="$acl_save_libdir"
 
13399
        LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$flag"
 
13400
      done
 
13401
    fi
 
13402
  fi
 
13403
  if test "X$ltrpathdirs" != "X"; then
 
13404
            for found_dir in $ltrpathdirs; do
 
13405
      LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }-R$found_dir"
 
13406
    done
 
13407
  fi
 
13408
 
 
13409
 
 
13410
 
 
13411
 
 
13412
 
 
13413
 
 
13414
 
 
13415
        ac_save_CPPFLAGS="$CPPFLAGS"
 
13416
 
 
13417
  for element in $INCNETTLE; do
 
13418
    haveit=
 
13419
    for x in $CPPFLAGS; do
 
13420
 
 
13421
  acl_save_prefix="$prefix"
 
13422
  prefix="$acl_final_prefix"
 
13423
  acl_save_exec_prefix="$exec_prefix"
 
13424
  exec_prefix="$acl_final_exec_prefix"
 
13425
  eval x=\"$x\"
 
13426
  exec_prefix="$acl_save_exec_prefix"
 
13427
  prefix="$acl_save_prefix"
 
13428
 
 
13429
      if test "X$x" = "X$element"; then
 
13430
        haveit=yes
 
13431
        break
 
13432
      fi
 
13433
    done
 
13434
    if test -z "$haveit"; then
 
13435
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
13436
    fi
 
13437
  done
 
13438
 
 
13439
 
 
13440
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnettle" >&5
 
13441
$as_echo_n "checking for libnettle... " >&6; }
 
13442
if ${ac_cv_libnettle+:} false; then :
 
13443
  $as_echo_n "(cached) " >&6
 
13444
else
 
13445
 
 
13446
    ac_save_LIBS="$LIBS"
 
13447
                                case " $LIBNETTLE" in
 
13448
      *" -l"*) LIBS="$LIBS $LIBNETTLE" ;;
 
13449
      *)       LIBS="$LIBNETTLE $LIBS" ;;
 
13450
    esac
 
13451
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
13452
/* end confdefs.h.  */
 
13453
#include <nettle/aes.h>
 
13454
int
 
13455
main ()
 
13456
{
 
13457
nettle_aes_invert_key (0, 0)
 
13458
  ;
 
13459
  return 0;
 
13460
}
 
13461
_ACEOF
 
13462
if ac_fn_c_try_link "$LINENO"; then :
 
13463
  ac_cv_libnettle=yes
 
13464
else
 
13465
  ac_cv_libnettle='no'
 
13466
fi
 
13467
rm -f core conftest.err conftest.$ac_objext \
 
13468
    conftest$ac_exeext conftest.$ac_ext
 
13469
    LIBS="$ac_save_LIBS"
 
13470
 
 
13471
fi
 
13472
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libnettle" >&5
 
13473
$as_echo "$ac_cv_libnettle" >&6; }
 
13474
  if test "$ac_cv_libnettle" = yes; then
 
13475
    HAVE_LIBNETTLE=yes
 
13476
 
 
13477
$as_echo "#define HAVE_LIBNETTLE 1" >>confdefs.h
 
13478
 
 
13479
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libnettle" >&5
 
13480
$as_echo_n "checking how to link with libnettle... " >&6; }
 
13481
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNETTLE" >&5
 
13482
$as_echo "$LIBNETTLE" >&6; }
 
13483
  else
 
13484
    HAVE_LIBNETTLE=no
 
13485
            CPPFLAGS="$ac_save_CPPFLAGS"
 
13486
    LIBNETTLE=
 
13487
    LTLIBNETTLE=
 
13488
    LIBNETTLE_PREFIX=
 
13489
  fi
 
13490
 
 
13491
 
 
13492
 
 
13493
 
 
13494
 
 
13495
 
 
13496
 
 
13497
    if test "$ac_cv_libnettle" != yes; then
 
13498
      as_fn_error $? "
 
13499
  ***
 
13500
  *** Libnettle 2.1 was not found.
 
13501
  " "$LINENO" 5
 
13502
    fi
 
13503
    NETTLE_LIBS="-lgmp -lhogweed"
 
13504
else
 
13505
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13506
$as_echo "no" >&6; }
 
13507
fi
 
13508
 
 
13509
   if test "$cryptolib" = "nettle"; then
 
13510
  ENABLE_NETTLE_TRUE=
 
13511
  ENABLE_NETTLE_FALSE='#'
 
13512
else
 
13513
  ENABLE_NETTLE_TRUE='#'
 
13514
  ENABLE_NETTLE_FALSE=
 
13515
fi
 
13516
 
12195
13517
 
12196
13518
 
12197
13519
# Check whether --with-included-libtasn1 was given.
12697
14019
 
12698
14020
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libtasn1" >&5
12699
14021
$as_echo_n "checking for libtasn1... " >&6; }
12700
 
if test "${ac_cv_libtasn1+set}" = set; then :
 
14022
if ${ac_cv_libtasn1+:} false; then :
12701
14023
  $as_echo_n "(cached) " >&6
12702
14024
else
12703
14025
 
12776
14098
  ENABLE_MINITASN1_FALSE=
12777
14099
fi
12778
14100
 
 
14101
 
12779
14102
  if test "$included_libtasn1" = "no"; then
12780
14103
    GNUTLS_REQUIRES_PRIVATE="Requires.private: libtasn1"
12781
14104
  fi
12796
14119
  if test "$use_lzo" = "yes"; then
12797
14120
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo1x_1_compress in -llzo2" >&5
12798
14121
$as_echo_n "checking for lzo1x_1_compress in -llzo2... " >&6; }
12799
 
if test "${ac_cv_lib_lzo2_lzo1x_1_compress+set}" = set; then :
 
14122
if ${ac_cv_lib_lzo2_lzo1x_1_compress+:} false; then :
12800
14123
  $as_echo_n "(cached) " >&6
12801
14124
else
12802
14125
  ac_check_lib_save_LIBS=$LIBS
12830
14153
fi
12831
14154
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo2_lzo1x_1_compress" >&5
12832
14155
$as_echo "$ac_cv_lib_lzo2_lzo1x_1_compress" >&6; }
12833
 
if test "x$ac_cv_lib_lzo2_lzo1x_1_compress" = x""yes; then :
 
14156
if test "x$ac_cv_lib_lzo2_lzo1x_1_compress" = xyes; then :
12834
14157
  LZO_LIBS=-llzo2
12835
14158
fi
12836
14159
 
12837
14160
    if test "$LZO_LIBS" = ""; then
12838
14161
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo1x_1_compress in -llzo" >&5
12839
14162
$as_echo_n "checking for lzo1x_1_compress in -llzo... " >&6; }
12840
 
if test "${ac_cv_lib_lzo_lzo1x_1_compress+set}" = set; then :
 
14163
if ${ac_cv_lib_lzo_lzo1x_1_compress+:} false; then :
12841
14164
  $as_echo_n "(cached) " >&6
12842
14165
else
12843
14166
  ac_check_lib_save_LIBS=$LIBS
12871
14194
fi
12872
14195
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo_lzo1x_1_compress" >&5
12873
14196
$as_echo "$ac_cv_lib_lzo_lzo1x_1_compress" >&6; }
12874
 
if test "x$ac_cv_lib_lzo_lzo1x_1_compress" = x""yes; then :
 
14197
if test "x$ac_cv_lib_lzo_lzo1x_1_compress" = xyes; then :
12875
14198
  LZO_LIBS=-llzo
12876
14199
else
12877
14200
 
12896
14219
      for ac_header in lzo1x.h
12897
14220
do :
12898
14221
  ac_fn_c_check_header_mongrel "$LINENO" "lzo1x.h" "ac_cv_header_lzo1x_h" "$ac_includes_default"
12899
 
if test "x$ac_cv_header_lzo1x_h" = x""yes; then :
 
14222
if test "x$ac_cv_header_lzo1x_h" = xyes; then :
12900
14223
  cat >>confdefs.h <<_ACEOF
12901
14224
#define HAVE_LZO1X_H 1
12902
14225
_ACEOF
12909
14232
      for ac_header in lzo/lzo1x.h
12910
14233
do :
12911
14234
  ac_fn_c_check_header_mongrel "$LINENO" "lzo/lzo1x.h" "ac_cv_header_lzo_lzo1x_h" "$ac_includes_default"
12912
 
if test "x$ac_cv_header_lzo_lzo1x_h" = x""yes; then :
 
14235
if test "x$ac_cv_header_lzo_lzo1x_h" = xyes; then :
12913
14236
  cat >>confdefs.h <<_ACEOF
12914
14237
#define HAVE_LZO_LZO1X_H 1
12915
14238
_ACEOF
13090
14413
 
13091
14414
 
13092
14415
  # Allow disabling Camellia
 
14416
  if test "$nettle" != "yes";then
13093
14417
  # Check whether --enable-camellia was given.
13094
14418
if test "${enable_camellia+set}" = set; then :
13095
14419
  enableval=$enable_camellia; enable_camellia=$enableval
13097
14421
  enable_camellia=yes
13098
14422
fi
13099
14423
 
 
14424
  else
 
14425
    enable_camellia=no
 
14426
  fi
 
14427
 
13100
14428
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable Camellia cipher" >&5
13101
14429
$as_echo_n "checking whether to disable Camellia cipher... " >&6; }
13102
14430
  if test "$enable_camellia" != "no"; then
13221
14549
# This bug is HP SR number 8606223364.
13222
14550
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
13223
14551
$as_echo_n "checking size of void *... " >&6; }
13224
 
if test "${ac_cv_sizeof_void_p+set}" = set; then :
 
14552
if ${ac_cv_sizeof_void_p+:} false; then :
13225
14553
  $as_echo_n "(cached) " >&6
13226
14554
else
13227
14555
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
13231
14559
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13232
14560
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13233
14561
as_fn_error 77 "cannot compute sizeof (void *)
13234
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
14562
See \`config.log' for more details" "$LINENO" 5; }
13235
14563
   else
13236
14564
     ac_cv_sizeof_void_p=0
13237
14565
   fi
13254
14582
# This bug is HP SR number 8606223364.
13255
14583
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
13256
14584
$as_echo_n "checking size of long... " >&6; }
13257
 
if test "${ac_cv_sizeof_long+set}" = set; then :
 
14585
if ${ac_cv_sizeof_long+:} false; then :
13258
14586
  $as_echo_n "(cached) " >&6
13259
14587
else
13260
14588
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
13264
14592
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13265
14593
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13266
14594
as_fn_error 77 "cannot compute sizeof (long)
13267
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
14595
See \`config.log' for more details" "$LINENO" 5; }
13268
14596
   else
13269
14597
     ac_cv_sizeof_long=0
13270
14598
   fi
13287
14615
# This bug is HP SR number 8606223364.
13288
14616
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
13289
14617
$as_echo_n "checking size of int... " >&6; }
13290
 
if test "${ac_cv_sizeof_int+set}" = set; then :
 
14618
if ${ac_cv_sizeof_int+:} false; then :
13291
14619
  $as_echo_n "(cached) " >&6
13292
14620
else
13293
14621
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
13297
14625
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13298
14626
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
13299
14627
as_fn_error 77 "cannot compute sizeof (int)
13300
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
14628
See \`config.log' for more details" "$LINENO" 5; }
13301
14629
   else
13302
14630
     ac_cv_sizeof_int=0
13303
14631
   fi
13328
14656
 
13329
14657
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
13330
14658
$as_echo_n "checking for inline... " >&6; }
13331
 
if test "${ac_cv_c_inline+set}" = set; then :
 
14659
if ${ac_cv_c_inline+:} false; then :
13332
14660
  $as_echo_n "(cached) " >&6
13333
14661
else
13334
14662
  ac_cv_c_inline=no
13389
14717
  GNULIB_GETLOGIN_R=0;
13390
14718
  GNULIB_GETPAGESIZE=0;
13391
14719
  GNULIB_GETUSERSHELL=0;
 
14720
  GNULIB_GROUP_MEMBER=0;
13392
14721
  GNULIB_LCHOWN=0;
13393
14722
  GNULIB_LINK=0;
13394
14723
  GNULIB_LINKAT=0;
13395
14724
  GNULIB_LSEEK=0;
 
14725
  GNULIB_PIPE=0;
13396
14726
  GNULIB_PIPE2=0;
13397
14727
  GNULIB_PREAD=0;
13398
14728
  GNULIB_PWRITE=0;
 
14729
  GNULIB_READ=0;
13399
14730
  GNULIB_READLINK=0;
13400
14731
  GNULIB_READLINKAT=0;
13401
14732
  GNULIB_RMDIR=0;
13404
14735
  GNULIB_SYMLINKAT=0;
13405
14736
  GNULIB_TTYNAME_R=0;
13406
14737
  GNULIB_UNISTD_H_GETOPT=0;
 
14738
  GNULIB_UNISTD_H_NONBLOCKING=0;
13407
14739
  GNULIB_UNISTD_H_SIGPIPE=0;
13408
14740
  GNULIB_UNLINK=0;
13409
14741
  GNULIB_UNLINKAT=0;
13418
14750
  HAVE_FCHOWNAT=1;
13419
14751
  HAVE_FSYNC=1;
13420
14752
  HAVE_FTRUNCATE=1;
13421
 
  HAVE_GETDOMAINNAME=1;
13422
14753
  HAVE_GETDTABLESIZE=1;
13423
14754
  HAVE_GETGROUPS=1;
13424
14755
  HAVE_GETHOSTNAME=1;
13425
14756
  HAVE_GETLOGIN=1;
13426
14757
  HAVE_GETPAGESIZE=1;
 
14758
  HAVE_GROUP_MEMBER=1;
13427
14759
  HAVE_LCHOWN=1;
13428
14760
  HAVE_LINK=1;
13429
14761
  HAVE_LINKAT=1;
 
14762
  HAVE_PIPE=1;
13430
14763
  HAVE_PIPE2=1;
13431
14764
  HAVE_PREAD=1;
13432
14765
  HAVE_PWRITE=1;
13435
14768
  HAVE_SLEEP=1;
13436
14769
  HAVE_SYMLINK=1;
13437
14770
  HAVE_SYMLINKAT=1;
13438
 
  HAVE_TTYNAME_R=1;
13439
14771
  HAVE_UNLINKAT=1;
13440
14772
  HAVE_USLEEP=1;
13441
14773
  HAVE_DECL_ENVIRON=1;
 
14774
  HAVE_DECL_FCHDIR=1;
 
14775
  HAVE_DECL_GETDOMAINNAME=1;
13442
14776
  HAVE_DECL_GETLOGIN_R=1;
13443
14777
  HAVE_DECL_GETPAGESIZE=1;
13444
14778
  HAVE_DECL_GETUSERSHELL=1;
 
14779
  HAVE_DECL_TTYNAME_R=1;
13445
14780
  HAVE_OS_H=0;
13446
14781
  HAVE_SYS_PARAM_H=0;
13447
14782
  REPLACE_CHOWN=0;
13450
14785
  REPLACE_DUP2=0;
13451
14786
  REPLACE_FCHOWNAT=0;
13452
14787
  REPLACE_GETCWD=0;
 
14788
  REPLACE_GETDOMAINNAME=0;
 
14789
  REPLACE_GETLOGIN_R=0;
13453
14790
  REPLACE_GETGROUPS=0;
13454
14791
  REPLACE_GETPAGESIZE=0;
13455
14792
  REPLACE_LCHOWN=0;
13458
14795
  REPLACE_LSEEK=0;
13459
14796
  REPLACE_PREAD=0;
13460
14797
  REPLACE_PWRITE=0;
 
14798
  REPLACE_READ=0;
13461
14799
  REPLACE_READLINK=0;
13462
14800
  REPLACE_RMDIR=0;
13463
14801
  REPLACE_SLEEP=0;
13491
14829
 
13492
14830
 
13493
14831
 
13494
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenSSL compatibility layer" >&5
13495
 
$as_echo_n "checking whether to build OpenSSL compatibility layer... " >&6; }
13496
 
  # Check whether --enable-openssl-compatibility was given.
13497
 
if test "${enable_openssl_compatibility+set}" = set; then :
13498
 
  enableval=$enable_openssl_compatibility; enable_openssl=$enableval
13499
 
else
13500
 
  enable_openssl=yes
13501
 
fi
13502
 
 
13503
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_openssl" >&5
13504
 
$as_echo "$enable_openssl" >&6; }
13505
 
   if test "$enable_openssl" = "yes"; then
13506
 
  ENABLE_OPENSSL_TRUE=
13507
 
  ENABLE_OPENSSL_FALSE='#'
13508
 
else
13509
 
  ENABLE_OPENSSL_TRUE='#'
13510
 
  ENABLE_OPENSSL_FALSE=
13511
 
fi
13512
 
 
13513
 
 
13514
 
  # We link to ../lib's gnulib, which needs -lws2_32 via LIBSOCKET in Makefile.am.
13515
 
 
13516
 
 
13517
 
 
13518
14832
 
13519
14833
 
13520
14834
 
13523
14837
                    for ac_header in winsock2.h
13524
14838
do :
13525
14839
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
13526
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
 
14840
if test "x$ac_cv_header_winsock2_h" = xyes; then :
13527
14841
  cat >>confdefs.h <<_ACEOF
13528
14842
#define HAVE_WINSOCK2_H 1
13529
14843
_ACEOF
13545
14859
  if test $HAVE_WINSOCK2_H = 1; then
13546
14860
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5
13547
14861
$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; }
13548
 
if test "${gl_cv_func_wsastartup+set}" = set; then :
 
14862
if ${gl_cv_func_wsastartup+:} false; then :
13549
14863
  $as_echo_n "(cached) " >&6
13550
14864
else
13551
14865
 
13590
14904
  else
13591
14905
                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
13592
14906
$as_echo_n "checking for library containing setsockopt... " >&6; }
13593
 
if test "${gl_cv_lib_socket+set}" = set; then :
 
14907
if ${gl_cv_lib_socket+:} false; then :
13594
14908
  $as_echo_n "(cached) " >&6
13595
14909
else
13596
14910
 
13699
15013
  fi
13700
15014
 
13701
15015
 
 
15016
 
 
15017
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenSSL compatibility layer" >&5
 
15018
$as_echo_n "checking whether to build OpenSSL compatibility layer... " >&6; }
 
15019
  # Check whether --enable-openssl-compatibility was given.
 
15020
if test "${enable_openssl_compatibility+set}" = set; then :
 
15021
  enableval=$enable_openssl_compatibility; enable_openssl=$enableval
 
15022
else
 
15023
  enable_openssl=yes
 
15024
fi
 
15025
 
 
15026
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_openssl" >&5
 
15027
$as_echo "$enable_openssl" >&6; }
 
15028
   if test "$enable_openssl" = "yes"; then
 
15029
  ENABLE_OPENSSL_TRUE=
 
15030
  ENABLE_OPENSSL_FALSE='#'
 
15031
else
 
15032
  ENABLE_OPENSSL_TRUE='#'
 
15033
  ENABLE_OPENSSL_FALSE=
 
15034
fi
 
15035
 
 
15036
 
 
15037
  # We link to ../lib's gnulib, which needs -lws2_32 via LIBSOCKET in Makefile.am.
 
15038
 
 
15039
 
 
15040
 
 
15041
 
13702
15042
  :
13703
15043
 
13704
15044
 
13714
15054
 
13715
15055
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
13716
15056
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
13717
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
15057
if ${ac_cv_c_bigendian+:} false; then :
13718
15058
  $as_echo_n "(cached) " >&6
13719
15059
else
13720
15060
  ac_cv_c_bigendian=unknown
13933
15273
     ;; #(
13934
15274
   *)
13935
15275
     as_fn_error $? "unknown endianness
13936
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
 
15276
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
13937
15277
 esac
13938
15278
 
13939
15279
 
13940
15280
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
13941
15281
$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
13942
 
if test "${ac_cv_c_restrict+set}" = set; then :
 
15282
if ${ac_cv_c_restrict+:} false; then :
13943
15283
  $as_echo_n "(cached) " >&6
13944
15284
else
13945
15285
  ac_cv_c_restrict=no
14040
15380
 
14041
15381
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc/ld supports -Wl,--output-def" >&5
14042
15382
$as_echo_n "checking if gcc/ld supports -Wl,--output-def... " >&6; }
14043
 
if test "${gl_cv_ld_output_def+set}" = set; then :
 
15383
if ${gl_cv_ld_output_def+:} false; then :
14044
15384
  $as_echo_n "(cached) " >&6
14045
15385
else
14046
15386
  if test "$enable_shared" = no; then
14264
15604
     :end' >>confcache
14265
15605
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
14266
15606
  if test -w "$cache_file"; then
14267
 
    test "x$cache_file" != "x/dev/null" &&
 
15607
    if test "x$cache_file" != "x/dev/null"; then
14268
15608
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
14269
15609
$as_echo "$as_me: updating cache $cache_file" >&6;}
14270
 
    cat confcache >$cache_file
 
15610
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
15611
        cat confcache >"$cache_file"
 
15612
      else
 
15613
        case $cache_file in #(
 
15614
        */* | ?:*)
 
15615
          mv -f confcache "$cache_file"$$ &&
 
15616
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
15617
        *)
 
15618
          mv -f confcache "$cache_file" ;;
 
15619
        esac
 
15620
      fi
 
15621
    fi
14271
15622
  else
14272
15623
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
14273
15624
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
14314
15665
  as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
14315
15666
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14316
15667
fi
 
15668
if test -z "${ENABLE_NETTLE_TRUE}" && test -z "${ENABLE_NETTLE_FALSE}"; then
 
15669
  as_fn_error $? "conditional \"ENABLE_NETTLE\" was never defined.
 
15670
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
15671
fi
14317
15672
if test -z "${ENABLE_MINITASN1_TRUE}" && test -z "${ENABLE_MINITASN1_FALSE}"; then
14318
15673
  as_fn_error $? "conditional \"ENABLE_MINITASN1\" was never defined.
14319
15674
Usually this means the macro was only invoked conditionally." "$LINENO" 5
14400
15755
 
14401
15756
 
14402
15757
 
14403
 
: ${CONFIG_STATUS=./config.status}
 
15758
: "${CONFIG_STATUS=./config.status}"
14404
15759
ac_write_fail=0
14405
15760
ac_clean_files_save=$ac_clean_files
14406
15761
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
14501
15856
IFS=" ""        $as_nl"
14502
15857
 
14503
15858
# Find who we are.  Look in the path if we contain no directory separator.
 
15859
as_myself=
14504
15860
case $0 in #((
14505
15861
  *[\\/]* ) as_myself=$0 ;;
14506
15862
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14807
16163
# report actual input values of CONFIG_FILES etc. instead of their
14808
16164
# values after options handling.
14809
16165
ac_log="
14810
 
This file was extended by libgnutls-extra $as_me 2.10.5, which was
14811
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
16166
This file was extended by libgnutls-extra $as_me 2.12.11, which was
 
16167
generated by GNU Autoconf 2.68.  Invocation command line was
14812
16168
 
14813
16169
  CONFIG_FILES    = $CONFIG_FILES
14814
16170
  CONFIG_HEADERS  = $CONFIG_HEADERS
14873
16229
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
14874
16230
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
14875
16231
ac_cs_version="\\
14876
 
libgnutls-extra config.status 2.10.5
14877
 
configured by $0, generated by GNU Autoconf 2.67,
 
16232
libgnutls-extra config.status 2.12.11
 
16233
configured by $0, generated by GNU Autoconf 2.68,
14878
16234
  with options \\"\$ac_cs_config\\"
14879
16235
 
14880
16236
Copyright (C) 2010 Free Software Foundation, Inc.
15033
16389
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
15034
16390
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
15035
16391
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
16392
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
16393
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
15036
16394
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
15037
16395
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
15038
16396
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
15039
16397
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
16398
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
16399
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
16400
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
15040
16401
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
15041
16402
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
16403
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
15042
16404
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
15043
16405
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
15044
16406
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
15053
16415
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
15054
16416
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
15055
16417
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"`'
 
16418
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
16419
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
15056
16420
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
15057
16421
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
15058
16422
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
16423
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15059
16424
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
15060
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
15061
16425
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
15062
16426
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
15063
16427
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
16428
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
15064
16429
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
15065
16430
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
15066
16431
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
15093
16458
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
15094
16459
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
15095
16460
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
15096
 
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
15097
16461
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
15098
16462
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
15099
16463
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
15100
16464
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
15101
16465
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
16466
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
15102
16467
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
15103
16468
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
15104
16469
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
15155
16520
reload_flag \
15156
16521
deplibs_check_method \
15157
16522
file_magic_cmd \
 
16523
file_magic_glob \
 
16524
want_nocaseglob \
 
16525
sharedlib_from_linklib_cmd \
15158
16526
AR \
15159
16527
AR_FLAGS \
 
16528
archiver_list_spec \
15160
16529
STRIP \
15161
16530
RANLIB \
15162
16531
CC \
15166
16535
lt_cv_sys_global_symbol_to_cdecl \
15167
16536
lt_cv_sys_global_symbol_to_c_name_address \
15168
16537
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
16538
nm_file_list_spec \
15169
16539
lt_prog_compiler_no_builtin_flag \
 
16540
lt_prog_compiler_pic \
15170
16541
lt_prog_compiler_wl \
15171
 
lt_prog_compiler_pic \
15172
16542
lt_prog_compiler_static \
15173
16543
lt_cv_prog_compiler_c_o \
15174
16544
need_locks \
 
16545
MANIFEST_TOOL \
15175
16546
DSYMUTIL \
15176
16547
NMEDIT \
15177
16548
LIPO \
15187
16558
hardcode_libdir_flag_spec \
15188
16559
hardcode_libdir_flag_spec_ld \
15189
16560
hardcode_libdir_separator \
15190
 
fix_srcfile_path \
15191
16561
exclude_expsyms \
15192
16562
include_expsyms \
15193
16563
file_list_spec \
15223
16593
module_expsym_cmds \
15224
16594
export_symbols_cmds \
15225
16595
prelink_cmds \
 
16596
postlink_cmds \
15226
16597
postinstall_cmds \
15227
16598
postuninstall_cmds \
15228
16599
finish_cmds \
15274
16645
    "gl/Makefile") CONFIG_FILES="$CONFIG_FILES gl/Makefile" ;;
15275
16646
    "includes/Makefile") CONFIG_FILES="$CONFIG_FILES includes/Makefile" ;;
15276
16647
 
15277
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
16648
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
15278
16649
  esac
15279
16650
done
15280
16651
 
15297
16668
# after its creation but before its name has been assigned to `$tmp'.
15298
16669
$debug ||
15299
16670
{
15300
 
  tmp=
 
16671
  tmp= ac_tmp=
15301
16672
  trap 'exit_status=$?
15302
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
16673
  : "${ac_tmp:=$tmp}"
 
16674
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
15303
16675
' 0
15304
16676
  trap 'as_fn_exit 1' 1 2 13 15
15305
16677
}
15307
16679
 
15308
16680
{
15309
16681
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
15310
 
  test -n "$tmp" && test -d "$tmp"
 
16682
  test -d "$tmp"
15311
16683
}  ||
15312
16684
{
15313
16685
  tmp=./conf$$-$RANDOM
15314
16686
  (umask 077 && mkdir "$tmp")
15315
16687
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
16688
ac_tmp=$tmp
15316
16689
 
15317
16690
# Set up the scripts for CONFIG_FILES section.
15318
16691
# No need to generate them if there are no CONFIG_FILES.
15334
16707
  ac_cs_awk_cr=$ac_cr
15335
16708
fi
15336
16709
 
15337
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
16710
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
15338
16711
_ACEOF
15339
16712
 
15340
16713
 
15362
16735
rm -f conf$$subs.sh
15363
16736
 
15364
16737
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15365
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
16738
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
15366
16739
_ACEOF
15367
16740
sed -n '
15368
16741
h
15410
16783
rm -f conf$$subs.awk
15411
16784
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15412
16785
_ACAWK
15413
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
16786
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
15414
16787
  for (key in S) S_is_set[key] = 1
15415
16788
  FS = ""
15416
16789
 
15442
16815
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
15443
16816
else
15444
16817
  cat
15445
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
16818
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
15446
16819
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
15447
16820
_ACEOF
15448
16821
 
15476
16849
# No need to generate them if there are no CONFIG_HEADERS.
15477
16850
# This happens for instance with `./config.status Makefile'.
15478
16851
if test -n "$CONFIG_HEADERS"; then
15479
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
16852
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
15480
16853
BEGIN {
15481
16854
_ACEOF
15482
16855
 
15488
16861
# handling of long lines.
15489
16862
ac_delim='%!_!# '
15490
16863
for ac_last_try in false false :; do
15491
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
15492
 
  if test -z "$ac_t"; then
 
16864
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
16865
  if test -z "$ac_tt"; then
15493
16866
    break
15494
16867
  elif $ac_last_try; then
15495
16868
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
15590
16963
  esac
15591
16964
  case $ac_mode$ac_tag in
15592
16965
  :[FHL]*:*);;
15593
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
16966
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
15594
16967
  :[FH]-) ac_tag=-:-;;
15595
16968
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
15596
16969
  esac
15609
16982
    for ac_f
15610
16983
    do
15611
16984
      case $ac_f in
15612
 
      -) ac_f="$tmp/stdin";;
 
16985
      -) ac_f="$ac_tmp/stdin";;
15613
16986
      *) # Look for the file first in the build tree, then in the source tree
15614
16987
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
15615
16988
         # because $ac_f cannot contain `:'.
15618
16991
           [\\/$]*) false;;
15619
16992
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
15620
16993
           esac ||
15621
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
16994
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
15622
16995
      esac
15623
16996
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
15624
16997
      as_fn_append ac_file_inputs " '$ac_f'"
15644
17017
    esac
15645
17018
 
15646
17019
    case $ac_tag in
15647
 
    *:-:* | *:-) cat >"$tmp/stdin" \
15648
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
17020
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
17021
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
15649
17022
    esac
15650
17023
    ;;
15651
17024
  esac
15781
17154
s&@MKDIR_P@&$ac_MKDIR_P&;t t
15782
17155
$ac_datarootdir_hack
15783
17156
"
15784
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
15785
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
17157
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
17158
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15786
17159
 
15787
17160
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
15788
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
15789
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
17161
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
17162
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
17163
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
15790
17164
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15791
17165
which seems to be undefined.  Please make sure it is defined" >&5
15792
17166
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
15793
17167
which seems to be undefined.  Please make sure it is defined" >&2;}
15794
17168
 
15795
 
  rm -f "$tmp/stdin"
 
17169
  rm -f "$ac_tmp/stdin"
15796
17170
  case $ac_file in
15797
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
15798
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
17171
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
17172
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
15799
17173
  esac \
15800
17174
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15801
17175
 ;;
15806
17180
  if test x"$ac_file" != x-; then
15807
17181
    {
15808
17182
      $as_echo "/* $configure_input  */" \
15809
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
15810
 
    } >"$tmp/config.h" \
 
17183
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
17184
    } >"$ac_tmp/config.h" \
15811
17185
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15812
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
17186
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
15813
17187
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
15814
17188
$as_echo "$as_me: $ac_file is unchanged" >&6;}
15815
17189
    else
15816
17190
      rm -f "$ac_file"
15817
 
      mv "$tmp/config.h" "$ac_file" \
 
17191
      mv "$ac_tmp/config.h" "$ac_file" \
15818
17192
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
15819
17193
    fi
15820
17194
  else
15821
17195
    $as_echo "/* $configure_input  */" \
15822
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
17196
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
15823
17197
      || as_fn_error $? "could not create -" "$LINENO" 5
15824
17198
  fi
15825
17199
# Compute "$ac_file"'s index in $config_headers.
16094
17468
# turn newlines into spaces.
16095
17469
NL2SP=$lt_lt_NL2SP
16096
17470
 
 
17471
# convert \$build file names to \$host format.
 
17472
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
17473
 
 
17474
# convert \$build files to toolchain format.
 
17475
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
17476
 
16097
17477
# Method to check whether dependent libraries are shared objects.
16098
17478
deplibs_check_method=$lt_deplibs_check_method
16099
17479
 
16100
 
# Command to use when deplibs_check_method == "file_magic".
 
17480
# Command to use when deplibs_check_method = "file_magic".
16101
17481
file_magic_cmd=$lt_file_magic_cmd
16102
17482
 
 
17483
# How to find potential files when deplibs_check_method = "file_magic".
 
17484
file_magic_glob=$lt_file_magic_glob
 
17485
 
 
17486
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
17487
want_nocaseglob=$lt_want_nocaseglob
 
17488
 
 
17489
# Command to associate shared and link libraries.
 
17490
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
17491
 
16103
17492
# The archiver.
16104
17493
AR=$lt_AR
 
17494
 
 
17495
# Flags to create an archive.
16105
17496
AR_FLAGS=$lt_AR_FLAGS
16106
17497
 
 
17498
# How to feed a file listing to the archiver.
 
17499
archiver_list_spec=$lt_archiver_list_spec
 
17500
 
16107
17501
# A symbol stripping program.
16108
17502
STRIP=$lt_STRIP
16109
17503
 
16133
17527
# Transform the output of nm in a C name address pair when lib prefix is needed.
16134
17528
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
16135
17529
 
 
17530
# Specify filename containing input files for \$NM.
 
17531
nm_file_list_spec=$lt_nm_file_list_spec
 
17532
 
 
17533
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
17534
lt_sysroot=$lt_sysroot
 
17535
 
16136
17536
# The name of the directory that contains temporary libtool files.
16137
17537
objdir=$objdir
16138
17538
 
16142
17542
# Must we lock files when doing compilation?
16143
17543
need_locks=$lt_need_locks
16144
17544
 
 
17545
# Manifest tool.
 
17546
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
17547
 
16145
17548
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
16146
17549
DSYMUTIL=$lt_DSYMUTIL
16147
17550
 
16256
17659
# Compiler flag to turn off builtin functions.
16257
17660
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
16258
17661
 
 
17662
# Additional compiler flags for building library objects.
 
17663
pic_flag=$lt_lt_prog_compiler_pic
 
17664
 
16259
17665
# How to pass a linker flag through the compiler.
16260
17666
wl=$lt_lt_prog_compiler_wl
16261
17667
 
16262
 
# Additional compiler flags for building library objects.
16263
 
pic_flag=$lt_lt_prog_compiler_pic
16264
 
 
16265
17668
# Compiler flag to prevent dynamic linking.
16266
17669
link_static_flag=$lt_lt_prog_compiler_static
16267
17670
 
16348
17751
# Whether libtool must link a program against all its dependency libraries.
16349
17752
link_all_deplibs=$link_all_deplibs
16350
17753
 
16351
 
# Fix the shell variable \$srcfile for the compiler.
16352
 
fix_srcfile_path=$lt_fix_srcfile_path
16353
 
 
16354
17754
# Set to "yes" if exported symbols are required.
16355
17755
always_export_symbols=$always_export_symbols
16356
17756
 
16366
17766
# Commands necessary for linking programs (against libraries) with templates.
16367
17767
prelink_cmds=$lt_prelink_cmds
16368
17768
 
 
17769
# Commands necessary for finishing linking programs.
 
17770
postlink_cmds=$lt_postlink_cmds
 
17771
 
16369
17772
# Specify filename containing input files.
16370
17773
file_list_spec=$lt_file_list_spec
16371
17774
 
16398
17801
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
16399
17802
  # text mode, it properly converts lines to CR/LF.  This bash problem
16400
17803
  # is reportedly fixed, but why not run on old versions too?
16401
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
16402
 
    || (rm -f "$cfgfile"; exit 1)
16403
 
 
16404
 
  case $xsi_shell in
16405
 
  yes)
16406
 
    cat << \_LT_EOF >> "$cfgfile"
16407
 
 
16408
 
# func_dirname file append nondir_replacement
16409
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16410
 
# otherwise set result to NONDIR_REPLACEMENT.
16411
 
func_dirname ()
16412
 
{
16413
 
  case ${1} in
16414
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16415
 
    *  ) func_dirname_result="${3}" ;;
16416
 
  esac
16417
 
}
16418
 
 
16419
 
# func_basename file
16420
 
func_basename ()
16421
 
{
16422
 
  func_basename_result="${1##*/}"
16423
 
}
16424
 
 
16425
 
# func_dirname_and_basename file append nondir_replacement
16426
 
# perform func_basename and func_dirname in a single function
16427
 
# call:
16428
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
16429
 
#             add APPEND to the result, otherwise set result
16430
 
#             to NONDIR_REPLACEMENT.
16431
 
#             value returned in "$func_dirname_result"
16432
 
#   basename: Compute filename of FILE.
16433
 
#             value retuned in "$func_basename_result"
16434
 
# Implementation must be kept synchronized with func_dirname
16435
 
# and func_basename. For efficiency, we do not delegate to
16436
 
# those functions but instead duplicate the functionality here.
16437
 
func_dirname_and_basename ()
16438
 
{
16439
 
  case ${1} in
16440
 
    */*) func_dirname_result="${1%/*}${2}" ;;
16441
 
    *  ) func_dirname_result="${3}" ;;
16442
 
  esac
16443
 
  func_basename_result="${1##*/}"
16444
 
}
16445
 
 
16446
 
# func_stripname prefix suffix name
16447
 
# strip PREFIX and SUFFIX off of NAME.
16448
 
# PREFIX and SUFFIX must not contain globbing or regex special
16449
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16450
 
# dot (in which case that matches only a dot).
16451
 
func_stripname ()
16452
 
{
16453
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
16454
 
  # positional parameters, so assign one to ordinary parameter first.
16455
 
  func_stripname_result=${3}
16456
 
  func_stripname_result=${func_stripname_result#"${1}"}
16457
 
  func_stripname_result=${func_stripname_result%"${2}"}
16458
 
}
16459
 
 
16460
 
# func_opt_split
16461
 
func_opt_split ()
16462
 
{
16463
 
  func_opt_split_opt=${1%%=*}
16464
 
  func_opt_split_arg=${1#*=}
16465
 
}
16466
 
 
16467
 
# func_lo2o object
16468
 
func_lo2o ()
16469
 
{
16470
 
  case ${1} in
16471
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
16472
 
    *)    func_lo2o_result=${1} ;;
16473
 
  esac
16474
 
}
16475
 
 
16476
 
# func_xform libobj-or-source
16477
 
func_xform ()
16478
 
{
16479
 
  func_xform_result=${1%.*}.lo
16480
 
}
16481
 
 
16482
 
# func_arith arithmetic-term...
16483
 
func_arith ()
16484
 
{
16485
 
  func_arith_result=$(( $* ))
16486
 
}
16487
 
 
16488
 
# func_len string
16489
 
# STRING may not start with a hyphen.
16490
 
func_len ()
16491
 
{
16492
 
  func_len_result=${#1}
16493
 
}
16494
 
 
16495
 
_LT_EOF
16496
 
    ;;
16497
 
  *) # Bourne compatible functions.
16498
 
    cat << \_LT_EOF >> "$cfgfile"
16499
 
 
16500
 
# func_dirname file append nondir_replacement
16501
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
16502
 
# otherwise set result to NONDIR_REPLACEMENT.
16503
 
func_dirname ()
16504
 
{
16505
 
  # Extract subdirectory from the argument.
16506
 
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
16507
 
  if test "X$func_dirname_result" = "X${1}"; then
16508
 
    func_dirname_result="${3}"
16509
 
  else
16510
 
    func_dirname_result="$func_dirname_result${2}"
16511
 
  fi
16512
 
}
16513
 
 
16514
 
# func_basename file
16515
 
func_basename ()
16516
 
{
16517
 
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
16518
 
}
16519
 
 
16520
 
 
16521
 
# func_stripname prefix suffix name
16522
 
# strip PREFIX and SUFFIX off of NAME.
16523
 
# PREFIX and SUFFIX must not contain globbing or regex special
16524
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
16525
 
# dot (in which case that matches only a dot).
16526
 
# func_strip_suffix prefix name
16527
 
func_stripname ()
16528
 
{
16529
 
  case ${2} in
16530
 
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
16531
 
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
16532
 
  esac
16533
 
}
16534
 
 
16535
 
# sed scripts:
16536
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
16537
 
my_sed_long_arg='1s/^-[^=]*=//'
16538
 
 
16539
 
# func_opt_split
16540
 
func_opt_split ()
16541
 
{
16542
 
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
16543
 
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
16544
 
}
16545
 
 
16546
 
# func_lo2o object
16547
 
func_lo2o ()
16548
 
{
16549
 
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
16550
 
}
16551
 
 
16552
 
# func_xform libobj-or-source
16553
 
func_xform ()
16554
 
{
16555
 
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
16556
 
}
16557
 
 
16558
 
# func_arith arithmetic-term...
16559
 
func_arith ()
16560
 
{
16561
 
  func_arith_result=`expr "$@"`
16562
 
}
16563
 
 
16564
 
# func_len string
16565
 
# STRING may not start with a hyphen.
16566
 
func_len ()
16567
 
{
16568
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
16569
 
}
16570
 
 
16571
 
_LT_EOF
16572
 
esac
16573
 
 
16574
 
case $lt_shell_append in
16575
 
  yes)
16576
 
    cat << \_LT_EOF >> "$cfgfile"
16577
 
 
16578
 
# func_append var value
16579
 
# Append VALUE to the end of shell variable VAR.
16580
 
func_append ()
16581
 
{
16582
 
  eval "$1+=\$2"
16583
 
}
16584
 
_LT_EOF
16585
 
    ;;
16586
 
  *)
16587
 
    cat << \_LT_EOF >> "$cfgfile"
16588
 
 
16589
 
# func_append var value
16590
 
# Append VALUE to the end of shell variable VAR.
16591
 
func_append ()
16592
 
{
16593
 
  eval "$1=\$$1\$2"
16594
 
}
16595
 
 
16596
 
_LT_EOF
16597
 
    ;;
16598
 
  esac
16599
 
 
16600
 
 
16601
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
16602
 
    || (rm -f "$cfgfile"; exit 1)
16603
 
 
16604
 
  mv -f "$cfgfile" "$ofile" ||
 
17804
  sed '$q' "$ltmain" >> "$cfgfile" \
 
17805
     || (rm -f "$cfgfile"; exit 1)
 
17806
 
 
17807
  if test x"$xsi_shell" = xyes; then
 
17808
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
17809
func_dirname ()\
 
17810
{\
 
17811
\    case ${1} in\
 
17812
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17813
\      *  ) func_dirname_result="${3}" ;;\
 
17814
\    esac\
 
17815
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
17816
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17817
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17818
test 0 -eq $? || _lt_function_replace_fail=:
 
17819
 
 
17820
 
 
17821
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
17822
func_basename ()\
 
17823
{\
 
17824
\    func_basename_result="${1##*/}"\
 
17825
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17826
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17827
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17828
test 0 -eq $? || _lt_function_replace_fail=:
 
17829
 
 
17830
 
 
17831
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
17832
func_dirname_and_basename ()\
 
17833
{\
 
17834
\    case ${1} in\
 
17835
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
17836
\      *  ) func_dirname_result="${3}" ;;\
 
17837
\    esac\
 
17838
\    func_basename_result="${1##*/}"\
 
17839
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
17840
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17841
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17842
test 0 -eq $? || _lt_function_replace_fail=:
 
17843
 
 
17844
 
 
17845
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
17846
func_stripname ()\
 
17847
{\
 
17848
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
17849
\    # positional parameters, so assign one to ordinary parameter first.\
 
17850
\    func_stripname_result=${3}\
 
17851
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
17852
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
17853
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
17854
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17855
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17856
test 0 -eq $? || _lt_function_replace_fail=:
 
17857
 
 
17858
 
 
17859
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
17860
func_split_long_opt ()\
 
17861
{\
 
17862
\    func_split_long_opt_name=${1%%=*}\
 
17863
\    func_split_long_opt_arg=${1#*=}\
 
17864
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17865
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17866
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17867
test 0 -eq $? || _lt_function_replace_fail=:
 
17868
 
 
17869
 
 
17870
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
17871
func_split_short_opt ()\
 
17872
{\
 
17873
\    func_split_short_opt_arg=${1#??}\
 
17874
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
17875
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
17876
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17877
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17878
test 0 -eq $? || _lt_function_replace_fail=:
 
17879
 
 
17880
 
 
17881
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
17882
func_lo2o ()\
 
17883
{\
 
17884
\    case ${1} in\
 
17885
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
17886
\      *)    func_lo2o_result=${1} ;;\
 
17887
\    esac\
 
17888
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
17889
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17890
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17891
test 0 -eq $? || _lt_function_replace_fail=:
 
17892
 
 
17893
 
 
17894
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
17895
func_xform ()\
 
17896
{\
 
17897
    func_xform_result=${1%.*}.lo\
 
17898
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
17899
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17900
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17901
test 0 -eq $? || _lt_function_replace_fail=:
 
17902
 
 
17903
 
 
17904
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
17905
func_arith ()\
 
17906
{\
 
17907
    func_arith_result=$(( $* ))\
 
17908
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
17909
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17910
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17911
test 0 -eq $? || _lt_function_replace_fail=:
 
17912
 
 
17913
 
 
17914
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
17915
func_len ()\
 
17916
{\
 
17917
    func_len_result=${#1}\
 
17918
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
17919
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17920
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17921
test 0 -eq $? || _lt_function_replace_fail=:
 
17922
 
 
17923
fi
 
17924
 
 
17925
if test x"$lt_shell_append" = xyes; then
 
17926
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
17927
func_append ()\
 
17928
{\
 
17929
    eval "${1}+=\\${2}"\
 
17930
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
17931
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17932
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17933
test 0 -eq $? || _lt_function_replace_fail=:
 
17934
 
 
17935
 
 
17936
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
17937
func_append_quoted ()\
 
17938
{\
 
17939
\    func_quote_for_eval "${2}"\
 
17940
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
17941
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
17942
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17943
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17944
test 0 -eq $? || _lt_function_replace_fail=:
 
17945
 
 
17946
 
 
17947
  # Save a `func_append' function call where possible by direct use of '+='
 
17948
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
17949
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17950
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17951
  test 0 -eq $? || _lt_function_replace_fail=:
 
17952
else
 
17953
  # Save a `func_append' function call even when '+=' is not available
 
17954
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
17955
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
17956
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
17957
  test 0 -eq $? || _lt_function_replace_fail=:
 
17958
fi
 
17959
 
 
17960
if test x"$_lt_function_replace_fail" = x":"; then
 
17961
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
17962
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
17963
fi
 
17964
 
 
17965
 
 
17966
   mv -f "$cfgfile" "$ofile" ||
16605
17967
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
16606
17968
  chmod +x "$ofile"
16607
17969