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

« back to all changes in this revision

Viewing changes to .pc/16_unnecessarydep.diff/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 GnuTLS 2.10.5.
 
3
# Generated by GNU Autoconf 2.68 for GnuTLS 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='GnuTLS'
564
572
PACKAGE_TARNAME='gnutls'
565
 
PACKAGE_VERSION='2.10.5'
566
 
PACKAGE_STRING='GnuTLS 2.10.5'
 
573
PACKAGE_VERSION='2.12.11'
 
574
PACKAGE_STRING='GnuTLS 2.12.11'
567
575
PACKAGE_BUGREPORT='bug-gnutls@gnu.org'
568
576
PACKAGE_URL=''
569
577
 
623
631
NEXT_AS_FIRST_DIRECTIVE_SYS_IOCTL_H
624
632
NEXT_SYS_IOCTL_H
625
633
HAVE_SYS_IOCTL_H
 
634
NEXT_AS_FIRST_DIRECTIVE_FCNTL_H
 
635
NEXT_FCNTL_H
 
636
REPLACE_OPENAT
 
637
REPLACE_OPEN
 
638
REPLACE_FCNTL
 
639
HAVE_OPENAT
 
640
HAVE_FCNTL
 
641
GNULIB_OPENAT
 
642
GNULIB_OPEN
 
643
GNULIB_FCNTL
626
644
gltests_WITNESS
627
 
HAVE_WINT_T
628
 
HAVE_WCHAR_H
629
 
NEXT_AS_FIRST_DIRECTIVE_WCHAR_H
630
 
NEXT_WCHAR_H
631
 
REPLACE_WCWIDTH
632
 
REPLACE_WCSNRTOMBS
633
 
REPLACE_WCSRTOMBS
634
 
REPLACE_WCRTOMB
635
 
REPLACE_MBSNRTOWCS
636
 
REPLACE_MBSRTOWCS
637
 
REPLACE_MBRLEN
638
 
REPLACE_MBRTOWC
639
 
REPLACE_MBSINIT
640
 
REPLACE_WCTOB
641
 
REPLACE_BTOWC
642
 
REPLACE_MBSTATE_T
643
 
HAVE_DECL_WCWIDTH
644
 
HAVE_DECL_WCTOB
645
 
HAVE_WCSNRTOMBS
646
 
HAVE_WCSRTOMBS
647
 
HAVE_WCRTOMB
648
 
HAVE_MBSNRTOWCS
649
 
HAVE_MBSRTOWCS
650
 
HAVE_MBRLEN
651
 
HAVE_MBRTOWC
652
 
HAVE_MBSINIT
653
 
HAVE_BTOWC
654
 
GNULIB_WCWIDTH
655
 
GNULIB_WCSNRTOMBS
656
 
GNULIB_WCSRTOMBS
657
 
GNULIB_WCRTOMB
658
 
GNULIB_MBSNRTOWCS
659
 
GNULIB_MBSRTOWCS
660
 
GNULIB_MBRLEN
661
 
GNULIB_MBRTOWC
662
 
GNULIB_MBSINIT
663
 
GNULIB_WCTOB
664
 
GNULIB_BTOWC
665
645
WARN_CFLAGS
666
646
VALGRIND
667
647
HAVE_UNISTD_H
679
659
HAVE_TIMEGM
680
660
HAVE_STRPTIME
681
661
HAVE_NANOSLEEP
682
 
HAVE_LOCALTIME_R
 
662
HAVE_DECL_LOCALTIME_R
683
663
GNULIB_TIME_R
684
664
GNULIB_TIMEGM
685
665
GNULIB_STRPTIME
721
701
GNULIB_FCHMODAT
722
702
NEXT_AS_FIRST_DIRECTIVE_STRING_H
723
703
NEXT_STRING_H
724
 
HAVE_RANDOM_H
725
704
NEXT_AS_FIRST_DIRECTIVE_STDLIB_H
726
705
NEXT_STDLIB_H
727
706
NEXT_AS_FIRST_DIRECTIVE_STDIO_H
748
727
NEXT_STDINT_H
749
728
HAVE_SYS_TYPES_H
750
729
HAVE_INTTYPES_H
 
730
HAVE_WCHAR_H
751
731
HAVE_UNSIGNED_LONG_LONG_INT
752
732
HAVE_LONG_LONG_INT
753
733
NEXT_AS_FIRST_DIRECTIVE_STDDEF_H
765
745
NEXT_SYS_SELECT_H
766
746
REPLACE_SELECT
767
747
GNULIB_SELECT
768
 
REPLACE_UNSETENV
769
 
REPLACE_STRTOD
770
 
REPLACE_SETENV
771
 
REPLACE_REALPATH
772
 
REPLACE_PUTENV
773
 
REPLACE_MKSTEMP
774
 
REPLACE_CANONICALIZE_FILE_NAME
775
 
HAVE_UNSETENV
776
 
HAVE_UNLOCKPT
777
 
HAVE_SYS_LOADAVG_H
778
 
HAVE_STRUCT_RANDOM_DATA
779
 
HAVE_STRTOULL
780
 
HAVE_STRTOLL
781
 
HAVE_STRTOD
782
 
HAVE_SETENV
783
 
HAVE_RPMATCH
784
 
HAVE_REALPATH
785
 
HAVE_RANDOM_R
786
 
HAVE_PTSNAME
787
 
HAVE_MKSTEMPS
788
 
HAVE_MKSTEMP
789
 
HAVE_MKOSTEMPS
790
 
HAVE_MKOSTEMP
791
 
HAVE_MKDTEMP
792
 
HAVE_MALLOC_POSIX
793
 
HAVE_GRANTPT
794
 
HAVE_GETSUBOPT
795
 
HAVE_DECL_GETLOADAVG
796
 
HAVE_CANONICALIZE_FILE_NAME
797
 
HAVE_CALLOC_POSIX
798
 
HAVE_ATOLL
799
 
GNULIB_UNSETENV
800
 
GNULIB_UNLOCKPT
801
 
GNULIB_STRTOULL
802
 
GNULIB_STRTOLL
803
 
GNULIB_STRTOD
804
 
GNULIB_SETENV
805
 
GNULIB_RPMATCH
806
 
GNULIB_REALPATH
807
 
GNULIB_REALLOC_POSIX
808
 
GNULIB_RANDOM_R
809
 
GNULIB_PUTENV
810
 
GNULIB_PTSNAME
811
 
GNULIB_MKSTEMPS
812
 
GNULIB_MKSTEMP
813
 
GNULIB_MKOSTEMPS
814
 
GNULIB_MKOSTEMP
815
 
GNULIB_MKDTEMP
816
 
GNULIB_MALLOC_POSIX
817
 
GNULIB_GRANTPT
818
 
GNULIB_GETSUBOPT
819
 
GNULIB_GETLOADAVG
820
 
GNULIB_CANONICALIZE_FILE_NAME
821
 
GNULIB_CALLOC_POSIX
822
 
GNULIB_ATOLL
823
 
HAVE_REALLOC_POSIX
824
748
LTLIBREADLINE
825
749
LIBREADLINE
826
750
PMCCABE
835
759
REPLACE_STRNLEN
836
760
REPLACE_STRNDUP
837
761
REPLACE_STRNCAT
 
762
REPLACE_STRERROR_R
838
763
REPLACE_STRERROR
839
764
REPLACE_STRCASESTR
840
765
REPLACE_STRSTR
844
769
REPLACE_MEMCHR
845
770
HAVE_STRVERSCMP
846
771
HAVE_DECL_STRSIGNAL
 
772
HAVE_DECL_STRERROR_R
847
773
HAVE_DECL_STRTOK_R
848
774
HAVE_STRCASESTR
849
775
HAVE_STRSEP
862
788
HAVE_MBSLEN
863
789
GNULIB_STRVERSCMP
864
790
GNULIB_STRSIGNAL
 
791
GNULIB_STRERROR_R
865
792
GNULIB_STRERROR
866
793
GNULIB_MBSTOK_R
867
794
GNULIB_MBSSEP
894
821
GNULIB_MEMPCPY
895
822
GNULIB_MEMMEM
896
823
GNULIB_MEMCHR
 
824
REPLACE_UNSETENV
 
825
REPLACE_STRTOD
 
826
REPLACE_SETENV
 
827
REPLACE_REALPATH
 
828
REPLACE_REALLOC
 
829
REPLACE_PUTENV
 
830
REPLACE_MKSTEMP
 
831
REPLACE_MALLOC
 
832
REPLACE_CANONICALIZE_FILE_NAME
 
833
REPLACE_CALLOC
 
834
HAVE_DECL_UNSETENV
 
835
HAVE_UNLOCKPT
 
836
HAVE_SYS_LOADAVG_H
 
837
HAVE_STRUCT_RANDOM_DATA
 
838
HAVE_STRTOULL
 
839
HAVE_STRTOLL
 
840
HAVE_STRTOD
 
841
HAVE_DECL_SETENV
 
842
HAVE_SETENV
 
843
HAVE_RPMATCH
 
844
HAVE_REALPATH
 
845
HAVE_RANDOM_R
 
846
HAVE_RANDOM_H
 
847
HAVE_PTSNAME
 
848
HAVE_MKSTEMPS
 
849
HAVE_MKSTEMP
 
850
HAVE_MKOSTEMPS
 
851
HAVE_MKOSTEMP
 
852
HAVE_MKDTEMP
 
853
HAVE_GRANTPT
 
854
HAVE_GETSUBOPT
 
855
HAVE_DECL_GETLOADAVG
 
856
HAVE_CANONICALIZE_FILE_NAME
 
857
HAVE_ATOLL
 
858
HAVE__EXIT
 
859
GNULIB_UNSETENV
 
860
GNULIB_UNLOCKPT
 
861
GNULIB_SYSTEM_POSIX
 
862
GNULIB_STRTOULL
 
863
GNULIB_STRTOLL
 
864
GNULIB_STRTOD
 
865
GNULIB_SETENV
 
866
GNULIB_RPMATCH
 
867
GNULIB_REALPATH
 
868
GNULIB_REALLOC_POSIX
 
869
GNULIB_RANDOM_R
 
870
GNULIB_PUTENV
 
871
GNULIB_PTSNAME
 
872
GNULIB_MKSTEMPS
 
873
GNULIB_MKSTEMP
 
874
GNULIB_MKOSTEMPS
 
875
GNULIB_MKOSTEMP
 
876
GNULIB_MKDTEMP
 
877
GNULIB_MALLOC_POSIX
 
878
GNULIB_GRANTPT
 
879
GNULIB_GETSUBOPT
 
880
GNULIB_GETLOADAVG
 
881
GNULIB_CANONICALIZE_FILE_NAME
 
882
GNULIB_CALLOC_POSIX
 
883
GNULIB_ATOLL
 
884
GNULIB__EXIT
897
885
INET_PTON_LIB
898
886
NEXT_AS_FIRST_DIRECTIVE_SYS_TIME_H
899
887
NEXT_SYS_TIME_H
970
958
HAVE_DECL_OBSTACK_PRINTF
971
959
HAVE_DECL_GETLINE
972
960
HAVE_DECL_GETDELIM
 
961
HAVE_DECL_FTELLO
 
962
HAVE_DECL_FSEEKO
973
963
HAVE_DECL_FPURGE
974
964
GNULIB_VSPRINTF_POSIX
975
965
GNULIB_VSNPRINTF
1013
1003
GNULIB_FCLOSE
1014
1004
GNULIB_DPRINTF
1015
1005
LIB_CLOCK_GETTIME
 
1006
HAVE_FEATURES_H
1016
1007
NEXT_AS_FIRST_DIRECTIVE_ARPA_INET_H
1017
1008
NEXT_ARPA_INET_H
1018
1009
HAVE_ARPA_INET_H
1027
1018
HAVE_SYS_SOCKET_H
1028
1019
NEXT_AS_FIRST_DIRECTIVE_SYS_SOCKET_H
1029
1020
NEXT_SYS_SOCKET_H
 
1021
PRAGMA_COLUMNS
1030
1022
PRAGMA_SYSTEM_HEADER
1031
1023
INCLUDE_NEXT_AS_FIRST_DIRECTIVE
1032
1024
INCLUDE_NEXT
1033
1025
HAVE_ACCEPT4
1034
1026
HAVE_SA_FAMILY_T
 
1027
HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY
1035
1028
HAVE_STRUCT_SOCKADDR_STORAGE
1036
1029
GNULIB_ACCEPT4
1037
1030
GNULIB_SHUTDOWN
1056
1049
LIPO
1057
1050
NMEDIT
1058
1051
DSYMUTIL
 
1052
MANIFEST_TOOL
 
1053
ac_ct_AR
1059
1054
AR
1060
1055
NM
1061
1056
ac_ct_DUMPBIN
1082
1077
GUILE_CONFIG
1083
1078
GUILE
1084
1079
guile_snarf
 
1080
P11_KIT_LIBS
 
1081
P11_KIT_CFLAGS
 
1082
ENABLE_PKCS11_FALSE
 
1083
ENABLE_PKCS11_TRUE
1085
1084
HAVE_FORK_FALSE
1086
1085
HAVE_FORK_TRUE
1087
1086
LIBSOCKET
1109
1108
REPLACE_LCHOWN
1110
1109
REPLACE_GETPAGESIZE
1111
1110
REPLACE_GETGROUPS
 
1111
REPLACE_GETLOGIN_R
 
1112
REPLACE_GETDOMAINNAME
1112
1113
REPLACE_GETCWD
1113
1114
REPLACE_FCHOWNAT
1114
1115
REPLACE_DUP2
1117
1118
REPLACE_CHOWN
1118
1119
HAVE_SYS_PARAM_H
1119
1120
HAVE_OS_H
 
1121
HAVE_DECL_TTYNAME_R
1120
1122
HAVE_DECL_GETUSERSHELL
1121
1123
HAVE_DECL_GETPAGESIZE
1122
1124
HAVE_DECL_GETLOGIN_R
 
1125
HAVE_DECL_GETDOMAINNAME
 
1126
HAVE_DECL_FCHDIR
1123
1127
HAVE_DECL_ENVIRON
1124
1128
HAVE_USLEEP
1125
1129
HAVE_UNLINKAT
1126
 
HAVE_TTYNAME_R
1127
1130
HAVE_SYMLINKAT
1128
1131
HAVE_SYMLINK
1129
1132
HAVE_SLEEP
1132
1135
HAVE_PWRITE
1133
1136
HAVE_PREAD
1134
1137
HAVE_PIPE2
 
1138
HAVE_PIPE
1135
1139
HAVE_LINKAT
1136
1140
HAVE_LINK
1137
1141
HAVE_LCHOWN
1140
1144
HAVE_GETHOSTNAME
1141
1145
HAVE_GETGROUPS
1142
1146
HAVE_GETDTABLESIZE
1143
 
HAVE_GETDOMAINNAME
1144
1147
HAVE_FTRUNCATE
1145
1148
HAVE_FSYNC
1146
1149
HAVE_FCHOWNAT
1166
1169
GNULIB_PWRITE
1167
1170
GNULIB_PREAD
1168
1171
GNULIB_PIPE2
 
1172
GNULIB_PIPE
1169
1173
GNULIB_LSEEK
1170
1174
GNULIB_LINKAT
1171
1175
GNULIB_LINK
1215
1219
LTLIBTASN1
1216
1220
LIBTASN1
1217
1221
HAVE_LIBTASN1
 
1222
ENABLE_NETTLE_FALSE
 
1223
ENABLE_NETTLE_TRUE
 
1224
NETTLE_LIBS
 
1225
LIBNETTLE_PREFIX
 
1226
LTLIBNETTLE
 
1227
LIBNETTLE
 
1228
HAVE_LIBNETTLE
1218
1229
LIBGCRYPT_PREFIX
1219
1230
LTLIBGCRYPT
1220
1231
LIBGCRYPT
1221
1232
HAVE_LIBGCRYPT
1222
1233
DLL_VERSION
 
1234
CXX_LT_AGE
 
1235
CXX_LT_REVISION
 
1236
CXX_LT_CURRENT
 
1237
LT_SSL_AGE
 
1238
LT_SSL_REVISION
 
1239
LT_SSL_CURRENT
1223
1240
LT_AGE
1224
1241
LT_REVISION
1225
1242
LT_CURRENT
 
1243
WANT_TEST_SUITE_FALSE
 
1244
WANT_TEST_SUITE_TRUE
1226
1245
ENABLE_CXX_FALSE
1227
1246
ENABLE_CXX_TRUE
1228
1247
am__fastdepCXX_FALSE
1276
1295
LDFLAGS
1277
1296
CFLAGS
1278
1297
CC
 
1298
AM_BACKSLASH
 
1299
AM_DEFAULT_VERBOSITY
1279
1300
am__untar
1280
1301
am__tar
1281
1302
AMTAR
1340
1361
ac_subst_files=''
1341
1362
ac_user_opts='
1342
1363
enable_option_checking
 
1364
enable_silent_rules
1343
1365
enable_dependency_tracking
1344
1366
with_html_dir
1345
1367
enable_gtk_doc
1346
1368
enable_gtk_doc_html
1347
1369
enable_gtk_doc_pdf
1348
1370
enable_cxx
 
1371
with_libgcrypt
1349
1372
with_gnu_ld
1350
1373
enable_rpath
1351
1374
with_libgcrypt_prefix
 
1375
with_libnettle_prefix
1352
1376
with_included_libtasn1
1353
1377
with_libtasn1_prefix
1354
1378
with_lzo
1362
1386
enable_session_ticket
1363
1387
enable_cryptodev
1364
1388
enable_openssl_compatibility
 
1389
with_p11_kit
1365
1390
enable_guile
1366
1391
with___with_guile_site_dir
1367
1392
with_included_libcfg
1369
1394
enable_static
1370
1395
with_pic
1371
1396
enable_fast_install
 
1397
with_sysroot
1372
1398
enable_libtool_lock
1373
1399
with_libreadline_prefix
1374
1400
enable_valgrind_tests
1390
1416
CXX
1391
1417
CXXFLAGS
1392
1418
CCC
 
1419
P11_KIT_CFLAGS
 
1420
P11_KIT_LIBS
1393
1421
CXXCPP'
1394
1422
ac_subdirs_all='lib
1395
1423
libextra'
1796
1824
    $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1797
1825
    expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1798
1826
      $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1799
 
    : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
 
1827
    : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1800
1828
    ;;
1801
1829
 
1802
1830
  esac
1934
1962
  # Omit some internal or obsolete options to make the list less imposing.
1935
1963
  # This message is too long to be a string in the A/UX 3.1 sh.
1936
1964
  cat <<_ACEOF
1937
 
\`configure' configures GnuTLS 2.10.5 to adapt to many kinds of systems.
 
1965
\`configure' configures GnuTLS 2.12.11 to adapt to many kinds of systems.
1938
1966
 
1939
1967
Usage: $0 [OPTION]... [VAR=VALUE]...
1940
1968
 
2004
2032
 
2005
2033
if test -n "$ac_init_help"; then
2006
2034
  case $ac_init_help in
2007
 
     short | recursive ) echo "Configuration of GnuTLS 2.10.5:";;
 
2035
     short | recursive ) echo "Configuration of GnuTLS 2.12.11:";;
2008
2036
   esac
2009
2037
  cat <<\_ACEOF
2010
2038
 
2012
2040
  --disable-option-checking  ignore unrecognized --enable/--with options
2013
2041
  --disable-FEATURE       do not include FEATURE (same as --enable-FEATURE=no)
2014
2042
  --enable-FEATURE[=ARG]  include FEATURE [ARG=yes]
 
2043
  --enable-silent-rules          less verbose build output (undo: `make V=1')
 
2044
  --disable-silent-rules         verbose build output (undo: `make V=0')
2015
2045
  --disable-dependency-tracking  speeds up one-time build
2016
2046
  --enable-dependency-tracking   do not reject slow dependency extractors
2017
2047
  --enable-gtk-doc        use gtk-doc to build documentation [[default=no]]
2049
2079
  --with-PACKAGE[=ARG]    use PACKAGE [ARG=yes]
2050
2080
  --without-PACKAGE       do not use PACKAGE (same as --with-PACKAGE=no)
2051
2081
  --with-html-dir=PATH    path to installed docs
 
2082
  --with-libgcrypt        use libgcrypt as crypto library
2052
2083
  --with-gnu-ld           assume the C compiler uses GNU ld default=no
2053
2084
  --with-libgcrypt-prefix[=DIR]  search for libgcrypt in DIR/include and DIR/lib
2054
2085
  --without-libgcrypt-prefix     don't search for libgcrypt in includedir and libdir
 
2086
  --with-libnettle-prefix[=DIR]  search for libnettle in DIR/include and DIR/lib
 
2087
  --without-libnettle-prefix     don't search for libnettle in includedir and libdir
2055
2088
  --with-included-libtasn1
2056
2089
                          use the included libtasn1
2057
2090
  --with-libtasn1-prefix[=DIR]  search for libtasn1 in DIR/include and DIR/lib
2058
2091
  --without-libtasn1-prefix     don't search for libtasn1 in includedir and libdir
2059
2092
  --with-lzo              use experimental LZO compression
 
2093
  --without-p11-kit       Build without p11-kit and PKCS#11 support
2060
2094
  --with-guile-site-dir   use the given directory as the Guile site (use with
2061
2095
                          care)
2062
2096
  --with-included-libcfg  use the included libcfg+ (certtool only)
2063
2097
  --with-pic              try to use only PIC/non-PIC objects [default=use
2064
2098
                          both]
2065
2099
  --with-gnu-ld           assume the C compiler uses GNU ld [default=no]
 
2100
  --with-sysroot=DIR Search for dependent libraries within DIR
 
2101
                        (or the compiler's sysroot if not specified).
2066
2102
  --with-libreadline-prefix[=DIR]  search for libreadline in DIR/include and DIR/lib
2067
2103
  --without-libreadline-prefix     don't search for libreadline in includedir and libdir
2068
2104
  --with-packager         String identifying the packager of this software
2082
2118
  CPP         C preprocessor
2083
2119
  CXX         C++ compiler command
2084
2120
  CXXFLAGS    C++ compiler flags
 
2121
  P11_KIT_CFLAGS
 
2122
              C compiler flags for P11_KIT, overriding pkg-config
 
2123
  P11_KIT_LIBS
 
2124
              linker flags for P11_KIT, overriding pkg-config
2085
2125
  CXXCPP      C++ preprocessor
2086
2126
 
2087
2127
Use these variables to override the choices made by `configure' or to help
2150
2190
test -n "$ac_init_help" && exit $ac_status
2151
2191
if $ac_init_version; then
2152
2192
  cat <<\_ACEOF
2153
 
GnuTLS configure 2.10.5
2154
 
generated by GNU Autoconf 2.67
 
2193
GnuTLS configure 2.12.11
 
2194
generated by GNU Autoconf 2.68
2155
2195
 
2156
2196
Copyright (C) 2010 Free Software Foundation, Inc.
2157
2197
This configure script is free software; the Free Software Foundation
2197
2237
 
2198
2238
        ac_retval=1
2199
2239
fi
2200
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2240
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2201
2241
  as_fn_set_status $ac_retval
2202
2242
 
2203
2243
} # ac_fn_c_try_compile
2234
2274
 
2235
2275
    ac_retval=1
2236
2276
fi
2237
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2277
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2238
2278
  as_fn_set_status $ac_retval
2239
2279
 
2240
2280
} # ac_fn_c_try_cpp
2247
2287
ac_fn_c_check_header_mongrel ()
2248
2288
{
2249
2289
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2250
 
  if eval "test \"\${$3+set}\"" = set; then :
 
2290
  if eval \${$3+:} false; then :
2251
2291
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2252
2292
$as_echo_n "checking for $2... " >&6; }
2253
 
if eval "test \"\${$3+set}\"" = set; then :
 
2293
if eval \${$3+:} false; then :
2254
2294
  $as_echo_n "(cached) " >&6
2255
2295
fi
2256
2296
eval ac_res=\$$3
2317
2357
esac
2318
2358
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2319
2359
$as_echo_n "checking for $2... " >&6; }
2320
 
if eval "test \"\${$3+set}\"" = set; then :
 
2360
if eval \${$3+:} false; then :
2321
2361
  $as_echo_n "(cached) " >&6
2322
2362
else
2323
2363
  eval "$3=\$ac_header_compiler"
2326
2366
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2327
2367
$as_echo "$ac_res" >&6; }
2328
2368
fi
2329
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2369
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2330
2370
 
2331
2371
} # ac_fn_c_check_header_mongrel
2332
2372
 
2367
2407
       ac_retval=$ac_status
2368
2408
fi
2369
2409
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2370
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2410
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2371
2411
  as_fn_set_status $ac_retval
2372
2412
 
2373
2413
} # ac_fn_c_try_run
2381
2421
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2382
2422
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2383
2423
$as_echo_n "checking for $2... " >&6; }
2384
 
if eval "test \"\${$3+set}\"" = set; then :
 
2424
if eval \${$3+:} false; then :
2385
2425
  $as_echo_n "(cached) " >&6
2386
2426
else
2387
2427
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399
2439
eval ac_res=\$$3
2400
2440
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2401
2441
$as_echo "$ac_res" >&6; }
2402
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2442
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2403
2443
 
2404
2444
} # ac_fn_c_check_header_compile
2405
2445
 
2444
2484
  # interfere with the next link command; also delete a directory that is
2445
2485
  # left behind by Apple's compiler.  We do this before executing the actions.
2446
2486
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2447
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2487
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2448
2488
  as_fn_set_status $ac_retval
2449
2489
 
2450
2490
} # ac_fn_c_try_link
2482
2522
 
2483
2523
        ac_retval=1
2484
2524
fi
2485
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2525
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2486
2526
  as_fn_set_status $ac_retval
2487
2527
 
2488
2528
} # ac_fn_cxx_try_compile
2660
2700
rm -f conftest.val
2661
2701
 
2662
2702
  fi
2663
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2703
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2664
2704
  as_fn_set_status $ac_retval
2665
2705
 
2666
2706
} # ac_fn_c_compute_int
2673
2713
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2674
2714
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2675
2715
$as_echo_n "checking for $2... " >&6; }
2676
 
if eval "test \"\${$3+set}\"" = set; then :
 
2716
if eval \${$3+:} false; then :
2677
2717
  $as_echo_n "(cached) " >&6
2678
2718
else
2679
2719
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2728
2768
eval ac_res=\$$3
2729
2769
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2730
2770
$as_echo "$ac_res" >&6; }
2731
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2771
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2732
2772
 
2733
2773
} # ac_fn_c_check_func
2734
2774
 
2741
2781
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2742
2782
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2743
2783
$as_echo_n "checking for $2... " >&6; }
2744
 
if eval "test \"\${$3+set}\"" = set; then :
 
2784
if eval \${$3+:} false; then :
2745
2785
  $as_echo_n "(cached) " >&6
2746
2786
else
2747
2787
  eval "$3=no"
2782
2822
eval ac_res=\$$3
2783
2823
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2784
2824
$as_echo "$ac_res" >&6; }
2785
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2825
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2786
2826
 
2787
2827
} # ac_fn_c_check_type
2788
2828
 
2818
2858
 
2819
2859
    ac_retval=1
2820
2860
fi
2821
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2861
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2822
2862
  as_fn_set_status $ac_retval
2823
2863
 
2824
2864
} # ac_fn_cxx_try_cpp
2864
2904
  # interfere with the next link command; also delete a directory that is
2865
2905
  # left behind by Apple's compiler.  We do this before executing the actions.
2866
2906
  rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2867
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
2907
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2868
2908
  as_fn_set_status $ac_retval
2869
2909
 
2870
2910
} # ac_fn_cxx_try_link
2871
2911
 
 
2912
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
 
2913
# ----------------------------------------------------
 
2914
# Tries to find if the field MEMBER exists in type AGGR, after including
 
2915
# INCLUDES, setting cache variable VAR accordingly.
 
2916
ac_fn_c_check_member ()
 
2917
{
 
2918
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
 
2919
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
 
2920
$as_echo_n "checking for $2.$3... " >&6; }
 
2921
if eval \${$4+:} false; then :
 
2922
  $as_echo_n "(cached) " >&6
 
2923
else
 
2924
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2925
/* end confdefs.h.  */
 
2926
$5
 
2927
int
 
2928
main ()
 
2929
{
 
2930
static $2 ac_aggr;
 
2931
if (ac_aggr.$3)
 
2932
return 0;
 
2933
  ;
 
2934
  return 0;
 
2935
}
 
2936
_ACEOF
 
2937
if ac_fn_c_try_compile "$LINENO"; then :
 
2938
  eval "$4=yes"
 
2939
else
 
2940
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
2941
/* end confdefs.h.  */
 
2942
$5
 
2943
int
 
2944
main ()
 
2945
{
 
2946
static $2 ac_aggr;
 
2947
if (sizeof ac_aggr.$3)
 
2948
return 0;
 
2949
  ;
 
2950
  return 0;
 
2951
}
 
2952
_ACEOF
 
2953
if ac_fn_c_try_compile "$LINENO"; then :
 
2954
  eval "$4=yes"
 
2955
else
 
2956
  eval "$4=no"
 
2957
fi
 
2958
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2959
fi
 
2960
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
2961
fi
 
2962
eval ac_res=\$$4
 
2963
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
2964
$as_echo "$ac_res" >&6; }
 
2965
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
 
2966
 
 
2967
} # ac_fn_c_check_member
 
2968
 
2872
2969
# ac_fn_c_check_decl LINENO SYMBOL VAR INCLUDES
2873
2970
# ---------------------------------------------
2874
2971
# Tests whether SYMBOL is declared in INCLUDES, setting cache variable VAR
2880
2977
  as_decl_use=`echo $2|sed -e 's/(/((/' -e 's/)/) 0&/' -e 's/,/) 0& (/g'`
2881
2978
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $as_decl_name is declared" >&5
2882
2979
$as_echo_n "checking whether $as_decl_name is declared... " >&6; }
2883
 
if eval "test \"\${$3+set}\"" = set; then :
 
2980
if eval \${$3+:} false; then :
2884
2981
  $as_echo_n "(cached) " >&6
2885
2982
else
2886
2983
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2911
3008
eval ac_res=\$$3
2912
3009
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2913
3010
$as_echo "$ac_res" >&6; }
2914
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
 
3011
  eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2915
3012
 
2916
3013
} # ac_fn_c_check_decl
2917
 
 
2918
 
# ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2919
 
# ----------------------------------------------------
2920
 
# Tries to find if the field MEMBER exists in type AGGR, after including
2921
 
# INCLUDES, setting cache variable VAR accordingly.
2922
 
ac_fn_c_check_member ()
2923
 
{
2924
 
  as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2925
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2926
 
$as_echo_n "checking for $2.$3... " >&6; }
2927
 
if eval "test \"\${$4+set}\"" = set; then :
2928
 
  $as_echo_n "(cached) " >&6
2929
 
else
2930
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2931
 
/* end confdefs.h.  */
2932
 
$5
2933
 
int
2934
 
main ()
2935
 
{
2936
 
static $2 ac_aggr;
2937
 
if (ac_aggr.$3)
2938
 
return 0;
2939
 
  ;
2940
 
  return 0;
2941
 
}
2942
 
_ACEOF
2943
 
if ac_fn_c_try_compile "$LINENO"; then :
2944
 
  eval "$4=yes"
2945
 
else
2946
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2947
 
/* end confdefs.h.  */
2948
 
$5
2949
 
int
2950
 
main ()
2951
 
{
2952
 
static $2 ac_aggr;
2953
 
if (sizeof ac_aggr.$3)
2954
 
return 0;
2955
 
  ;
2956
 
  return 0;
2957
 
}
2958
 
_ACEOF
2959
 
if ac_fn_c_try_compile "$LINENO"; then :
2960
 
  eval "$4=yes"
2961
 
else
2962
 
  eval "$4=no"
2963
 
fi
2964
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2965
 
fi
2966
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967
 
fi
2968
 
eval ac_res=\$$4
2969
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2970
 
$as_echo "$ac_res" >&6; }
2971
 
  eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2972
 
 
2973
 
} # ac_fn_c_check_member
2974
3014
cat >config.log <<_ACEOF
2975
3015
This file contains any messages produced by compilers while
2976
3016
running configure, to aid debugging if configure makes a mistake.
2977
3017
 
2978
 
It was created by GnuTLS $as_me 2.10.5, which was
2979
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
3018
It was created by GnuTLS $as_me 2.12.11, which was
 
3019
generated by GNU Autoconf 2.68.  Invocation command line was
2980
3020
 
2981
3021
  $ $0 $@
2982
3022
 
3234
3274
      || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3235
3275
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3236
3276
as_fn_error $? "failed to load site script $ac_site_file
3237
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
3277
See \`config.log' for more details" "$LINENO" 5; }
3238
3278
  fi
3239
3279
done
3240
3280
 
3257
3297
 
3258
3298
gl_header_list="$gl_header_list sys/socket.h"
3259
3299
gl_header_list="$gl_header_list arpa/inet.h"
3260
 
gl_header_list="$gl_header_list errno.h"
3261
 
gl_header_list="$gl_header_list float.h"
 
3300
gl_header_list="$gl_header_list features.h"
3262
3301
gl_header_list="$gl_header_list netdb.h"
3263
3302
gl_header_list="$gl_header_list netinet/in.h"
3264
3303
gl_func_list="$gl_func_list getdelim"
3274
3313
gl_func_list="$gl_func_list mprotect"
3275
3314
gl_func_list="$gl_func_list memchr"
3276
3315
gl_header_list="$gl_header_list sys/select.h"
3277
 
gl_header_list="$gl_header_list stdarg.h"
3278
 
gl_header_list="$gl_header_list stddef.h"
 
3316
gl_header_list="$gl_header_list wchar.h"
3279
3317
gl_header_list="$gl_header_list stdint.h"
3280
 
gl_header_list="$gl_header_list wchar.h"
3281
 
gl_header_list="$gl_header_list stdio.h"
3282
 
gl_header_list="$gl_header_list stdlib.h"
3283
 
gl_header_list="$gl_header_list string.h"
3284
3318
gl_header_list="$gl_header_list sys/stat.h"
3285
 
gl_header_list="$gl_header_list time.h"
3286
3319
gl_header_list="$gl_header_list unistd.h"
3287
3320
gl_func_list="$gl_func_list vasnprintf"
 
3321
gl_func_list="$gl_func_list pipe"
3288
3322
gl_header_list="$gl_header_list sys/wait.h"
3289
3323
gl_header_list="$gl_header_list sys/ioctl.h"
3290
3324
gl_func_list="$gl_func_list shutdown"
3406
3440
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3407
3441
$as_echo_n "checking for a BSD-compatible install... " >&6; }
3408
3442
if test -z "$INSTALL"; then
3409
 
if test "${ac_cv_path_install+set}" = set; then :
 
3443
if ${ac_cv_path_install+:} false; then :
3410
3444
  $as_echo_n "(cached) " >&6
3411
3445
else
3412
3446
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3493
3527
'
3494
3528
case `pwd` in
3495
3529
  *[\\\"\#\$\&\'\`$am_lf]*)
3496
 
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5 ;;
 
3530
    as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3497
3531
esac
3498
3532
case $srcdir in
3499
3533
  *[\\\"\#\$\&\'\`$am_lf\ \     ]*)
3500
 
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5 ;;
 
3534
    as_fn_error $? "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
3501
3535
esac
3502
3536
 
3503
3537
# Do `set' in a subshell so we don't clobber the current shell's
3583
3617
set dummy ${ac_tool_prefix}strip; ac_word=$2
3584
3618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3585
3619
$as_echo_n "checking for $ac_word... " >&6; }
3586
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
3620
if ${ac_cv_prog_STRIP+:} false; then :
3587
3621
  $as_echo_n "(cached) " >&6
3588
3622
else
3589
3623
  if test -n "$STRIP"; then
3623
3657
set dummy strip; ac_word=$2
3624
3658
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3625
3659
$as_echo_n "checking for $ac_word... " >&6; }
3626
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
3660
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3627
3661
  $as_echo_n "(cached) " >&6
3628
3662
else
3629
3663
  if test -n "$ac_ct_STRIP"; then
3676
3710
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3677
3711
$as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3678
3712
if test -z "$MKDIR_P"; then
3679
 
  if test "${ac_cv_path_mkdir+set}" = set; then :
 
3713
  if ${ac_cv_path_mkdir+:} false; then :
3680
3714
  $as_echo_n "(cached) " >&6
3681
3715
else
3682
3716
  as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3728
3762
set dummy $ac_prog; ac_word=$2
3729
3763
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3730
3764
$as_echo_n "checking for $ac_word... " >&6; }
3731
 
if test "${ac_cv_prog_AWK+set}" = set; then :
 
3765
if ${ac_cv_prog_AWK+:} false; then :
3732
3766
  $as_echo_n "(cached) " >&6
3733
3767
else
3734
3768
  if test -n "$AWK"; then
3768
3802
$as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3769
3803
set x ${MAKE-make}
3770
3804
ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3771
 
if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\"" = set; then :
 
3805
if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3772
3806
  $as_echo_n "(cached) " >&6
3773
3807
else
3774
3808
  cat >conftest.make <<\_ACEOF
3826
3860
 
3827
3861
# Define the identity of the package.
3828
3862
 PACKAGE='gnutls'
3829
 
 VERSION='2.10.5'
 
3863
 VERSION='2.12.11'
3830
3864
 
3831
3865
 
3832
3866
cat >>confdefs.h <<_ACEOF
3866
3900
 
3867
3901
 
3868
3902
 
 
3903
# Check whether --enable-silent-rules was given.
 
3904
if test "${enable_silent_rules+set}" = set; then :
 
3905
  enableval=$enable_silent_rules;
 
3906
fi
 
3907
 
 
3908
case $enable_silent_rules in
 
3909
yes) AM_DEFAULT_VERBOSITY=0;;
 
3910
no)  AM_DEFAULT_VERBOSITY=1;;
 
3911
*)   AM_DEFAULT_VERBOSITY=0;;
 
3912
esac
 
3913
AM_BACKSLASH='\'
 
3914
 
3869
3915
ac_config_headers="$ac_config_headers config.h"
3870
3916
 
3871
3917
 
3886
3932
set dummy ${ac_tool_prefix}gcc; ac_word=$2
3887
3933
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3888
3934
$as_echo_n "checking for $ac_word... " >&6; }
3889
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
3935
if ${ac_cv_prog_CC+:} false; then :
3890
3936
  $as_echo_n "(cached) " >&6
3891
3937
else
3892
3938
  if test -n "$CC"; then
3926
3972
set dummy gcc; ac_word=$2
3927
3973
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3928
3974
$as_echo_n "checking for $ac_word... " >&6; }
3929
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
3975
if ${ac_cv_prog_ac_ct_CC+:} false; then :
3930
3976
  $as_echo_n "(cached) " >&6
3931
3977
else
3932
3978
  if test -n "$ac_ct_CC"; then
3979
4025
set dummy ${ac_tool_prefix}cc; ac_word=$2
3980
4026
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3981
4027
$as_echo_n "checking for $ac_word... " >&6; }
3982
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4028
if ${ac_cv_prog_CC+:} false; then :
3983
4029
  $as_echo_n "(cached) " >&6
3984
4030
else
3985
4031
  if test -n "$CC"; then
4019
4065
set dummy cc; ac_word=$2
4020
4066
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4021
4067
$as_echo_n "checking for $ac_word... " >&6; }
4022
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4068
if ${ac_cv_prog_CC+:} false; then :
4023
4069
  $as_echo_n "(cached) " >&6
4024
4070
else
4025
4071
  if test -n "$CC"; then
4078
4124
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4079
4125
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4080
4126
$as_echo_n "checking for $ac_word... " >&6; }
4081
 
if test "${ac_cv_prog_CC+set}" = set; then :
 
4127
if ${ac_cv_prog_CC+:} false; then :
4082
4128
  $as_echo_n "(cached) " >&6
4083
4129
else
4084
4130
  if test -n "$CC"; then
4122
4168
set dummy $ac_prog; ac_word=$2
4123
4169
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4124
4170
$as_echo_n "checking for $ac_word... " >&6; }
4125
 
if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
 
4171
if ${ac_cv_prog_ac_ct_CC+:} false; then :
4126
4172
  $as_echo_n "(cached) " >&6
4127
4173
else
4128
4174
  if test -n "$ac_ct_CC"; then
4177
4223
test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4178
4224
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4179
4225
as_fn_error $? "no acceptable C compiler found in \$PATH
4180
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4226
See \`config.log' for more details" "$LINENO" 5; }
4181
4227
 
4182
4228
# Provide some information about the compiler.
4183
4229
$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4292
4338
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4293
4339
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4294
4340
as_fn_error 77 "C compiler cannot create executables
4295
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4341
See \`config.log' for more details" "$LINENO" 5; }
4296
4342
else
4297
4343
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4298
4344
$as_echo "yes" >&6; }
4335
4381
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4336
4382
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4337
4383
as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4338
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4384
See \`config.log' for more details" "$LINENO" 5; }
4339
4385
fi
4340
4386
rm -f conftest conftest$ac_cv_exeext
4341
4387
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4394
4440
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4395
4441
as_fn_error $? "cannot run C compiled programs.
4396
4442
If you meant to cross compile, use \`--host'.
4397
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4443
See \`config.log' for more details" "$LINENO" 5; }
4398
4444
    fi
4399
4445
  fi
4400
4446
fi
4405
4451
ac_clean_files=$ac_clean_files_save
4406
4452
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4407
4453
$as_echo_n "checking for suffix of object files... " >&6; }
4408
 
if test "${ac_cv_objext+set}" = set; then :
 
4454
if ${ac_cv_objext+:} false; then :
4409
4455
  $as_echo_n "(cached) " >&6
4410
4456
else
4411
4457
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4446
4492
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4447
4493
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4448
4494
as_fn_error $? "cannot compute suffix of object files: cannot compile
4449
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
4495
See \`config.log' for more details" "$LINENO" 5; }
4450
4496
fi
4451
4497
rm -f conftest.$ac_cv_objext conftest.$ac_ext
4452
4498
fi
4456
4502
ac_objext=$OBJEXT
4457
4503
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4458
4504
$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4459
 
if test "${ac_cv_c_compiler_gnu+set}" = set; then :
 
4505
if ${ac_cv_c_compiler_gnu+:} false; then :
4460
4506
  $as_echo_n "(cached) " >&6
4461
4507
else
4462
4508
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493
4539
ac_save_CFLAGS=$CFLAGS
4494
4540
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4495
4541
$as_echo_n "checking whether $CC accepts -g... " >&6; }
4496
 
if test "${ac_cv_prog_cc_g+set}" = set; then :
 
4542
if ${ac_cv_prog_cc_g+:} false; then :
4497
4543
  $as_echo_n "(cached) " >&6
4498
4544
else
4499
4545
  ac_save_c_werror_flag=$ac_c_werror_flag
4571
4617
fi
4572
4618
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4573
4619
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4574
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
4620
if ${ac_cv_prog_cc_c89+:} false; then :
4575
4621
  $as_echo_n "(cached) " >&6
4576
4622
else
4577
4623
  ac_cv_prog_cc_c89=no
4732
4778
 
4733
4779
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4734
4780
$as_echo_n "checking dependency style of $depcc... " >&6; }
4735
 
if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
 
4781
if ${am_cv_CC_dependencies_compiler_type+:} false; then :
4736
4782
  $as_echo_n "(cached) " >&6
4737
4783
else
4738
4784
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4874
4920
set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
4875
4921
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4876
4922
$as_echo_n "checking for $ac_word... " >&6; }
4877
 
if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
 
4923
if ${ac_cv_path_PKG_CONFIG+:} false; then :
4878
4924
  $as_echo_n "(cached) " >&6
4879
4925
else
4880
4926
  case $PKG_CONFIG in
4917
4963
set dummy pkg-config; ac_word=$2
4918
4964
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4919
4965
$as_echo_n "checking for $ac_word... " >&6; }
4920
 
if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
 
4966
if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
4921
4967
  $as_echo_n "(cached) " >&6
4922
4968
else
4923
4969
  case $ac_pt_PKG_CONFIG in
4988
5034
set dummy gtkdoc-check; ac_word=$2
4989
5035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4990
5036
$as_echo_n "checking for $ac_word... " >&6; }
4991
 
if test "${ac_cv_path_GTKDOC_CHECK+set}" = set; then :
 
5037
if ${ac_cv_path_GTKDOC_CHECK+:} false; then :
4992
5038
  $as_echo_n "(cached) " >&6
4993
5039
else
4994
5040
  case $GTKDOC_CHECK in
5030
5076
set dummy $ac_prog; ac_word=$2
5031
5077
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5032
5078
$as_echo_n "checking for $ac_word... " >&6; }
5033
 
if test "${ac_cv_path_GTKDOC_REBASE+set}" = set; then :
 
5079
if ${ac_cv_path_GTKDOC_REBASE+:} false; then :
5034
5080
  $as_echo_n "(cached) " >&6
5035
5081
else
5036
5082
  case $GTKDOC_REBASE in
5074
5120
set dummy gtkdoc-mkpdf; ac_word=$2
5075
5121
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5076
5122
$as_echo_n "checking for $ac_word... " >&6; }
5077
 
if test "${ac_cv_path_GTKDOC_MKPDF+set}" = set; then :
 
5123
if ${ac_cv_path_GTKDOC_MKPDF+:} false; then :
5078
5124
  $as_echo_n "(cached) " >&6
5079
5125
else
5080
5126
  case $GTKDOC_MKPDF in
5213
5259
set dummy gaa; ac_word=$2
5214
5260
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5215
5261
$as_echo_n "checking for $ac_word... " >&6; }
5216
 
if test "${ac_cv_path_GAA+set}" = set; then :
 
5262
if ${ac_cv_path_GAA+:} false; then :
5217
5263
  $as_echo_n "(cached) " >&6
5218
5264
else
5219
5265
  case $GAA in
5269
5315
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5270
5316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5271
5317
$as_echo_n "checking for $ac_word... " >&6; }
5272
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
5318
if ${ac_cv_prog_RANLIB+:} false; then :
5273
5319
  $as_echo_n "(cached) " >&6
5274
5320
else
5275
5321
  if test -n "$RANLIB"; then
5309
5355
set dummy ranlib; ac_word=$2
5310
5356
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5311
5357
$as_echo_n "checking for $ac_word... " >&6; }
5312
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
5358
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5313
5359
  $as_echo_n "(cached) " >&6
5314
5360
else
5315
5361
  if test -n "$ac_ct_RANLIB"; then
5362
5408
 
5363
5409
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5364
5410
$as_echo_n "checking build system type... " >&6; }
5365
 
if test "${ac_cv_build+set}" = set; then :
 
5411
if ${ac_cv_build+:} false; then :
5366
5412
  $as_echo_n "(cached) " >&6
5367
5413
else
5368
5414
  ac_build_alias=$build_alias
5378
5424
$as_echo "$ac_cv_build" >&6; }
5379
5425
case $ac_cv_build in
5380
5426
*-*-*) ;;
5381
 
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5 ;;
 
5427
*) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5382
5428
esac
5383
5429
build=$ac_cv_build
5384
5430
ac_save_IFS=$IFS; IFS='-'
5396
5442
 
5397
5443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5398
5444
$as_echo_n "checking host system type... " >&6; }
5399
 
if test "${ac_cv_host+set}" = set; then :
 
5445
if ${ac_cv_host+:} false; then :
5400
5446
  $as_echo_n "(cached) " >&6
5401
5447
else
5402
5448
  if test "x$host_alias" = x; then
5411
5457
$as_echo "$ac_cv_host" >&6; }
5412
5458
case $ac_cv_host in
5413
5459
*-*-*) ;;
5414
 
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5 ;;
 
5460
*) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5415
5461
esac
5416
5462
host=$ac_cv_host
5417
5463
ac_save_IFS=$IFS; IFS='-'
5440
5486
  CPP=
5441
5487
fi
5442
5488
if test -z "$CPP"; then
5443
 
  if test "${ac_cv_prog_CPP+set}" = set; then :
 
5489
  if ${ac_cv_prog_CPP+:} false; then :
5444
5490
  $as_echo_n "(cached) " >&6
5445
5491
else
5446
5492
      # Double quotes because CPP needs to be expanded
5556
5602
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5557
5603
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5558
5604
as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5559
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
5605
See \`config.log' for more details" "$LINENO" 5; }
5560
5606
fi
5561
5607
 
5562
5608
ac_ext=c
5568
5614
 
5569
5615
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5570
5616
$as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5571
 
if test "${ac_cv_path_GREP+set}" = set; then :
 
5617
if ${ac_cv_path_GREP+:} false; then :
5572
5618
  $as_echo_n "(cached) " >&6
5573
5619
else
5574
5620
  if test -z "$GREP"; then
5631
5677
 
5632
5678
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5633
5679
$as_echo_n "checking for egrep... " >&6; }
5634
 
if test "${ac_cv_path_EGREP+set}" = set; then :
 
5680
if ${ac_cv_path_EGREP+:} false; then :
5635
5681
  $as_echo_n "(cached) " >&6
5636
5682
else
5637
5683
  if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5698
5744
 
5699
5745
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5700
5746
$as_echo_n "checking for ANSI C header files... " >&6; }
5701
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
5747
if ${ac_cv_header_stdc+:} false; then :
5702
5748
  $as_echo_n "(cached) " >&6
5703
5749
else
5704
5750
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5829
5875
 
5830
5876
 
5831
5877
  ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
5832
 
if test "x$ac_cv_header_minix_config_h" = x""yes; then :
 
5878
if test "x$ac_cv_header_minix_config_h" = xyes; then :
5833
5879
  MINIX=yes
5834
5880
else
5835
5881
  MINIX=
5859
5905
 
5860
5906
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
5861
5907
$as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
5862
 
if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
 
5908
if ${ac_cv_safe_to_define___extensions__+:} false; then :
5863
5909
  $as_echo_n "(cached) " >&6
5864
5910
else
5865
5911
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5904
5950
 
5905
5951
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
5906
5952
$as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
5907
 
if test "${ac_cv_sys_largefile_source+set}" = set; then :
 
5953
if ${ac_cv_sys_largefile_source+:} false; then :
5908
5954
  $as_echo_n "(cached) " >&6
5909
5955
else
5910
5956
  while :; do
5976
6022
  *) :
5977
6023
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
5978
6024
$as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
5979
 
if test "${ac_cv_prog_cc_c99+set}" = set; then :
 
6025
if ${ac_cv_prog_cc_c99+:} false; then :
5980
6026
  $as_echo_n "(cached) " >&6
5981
6027
else
5982
6028
  ac_cv_prog_cc_c99=no
6151
6197
else
6152
6198
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
6153
6199
$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
6154
 
if test "${ac_cv_prog_cc_c89+set}" = set; then :
 
6200
if ${ac_cv_prog_cc_c89+:} false; then :
6155
6201
  $as_echo_n "(cached) " >&6
6156
6202
else
6157
6203
  ac_cv_prog_cc_c89=no
6247
6293
esac
6248
6294
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
6249
6295
$as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
6250
 
  if test "${ac_cv_prog_cc_stdc+set}" = set; then :
 
6296
  if ${ac_cv_prog_cc_stdc+:} false; then :
6251
6297
  $as_echo_n "(cached) " >&6
6252
6298
fi
6253
6299
 
6308
6354
$as_echo "$as_me: autobuild timestamp... $date" >&6;}
6309
6355
  fi
6310
6356
 
 
6357
  # Code from module binary-io:
 
6358
  # Code from module binary-io-tests:
6311
6359
  # Code from module bind:
6312
6360
  # Code from module c++defs:
6313
6361
  # Code from module c-ctype:
6322
6370
  # Code from module extensions:
6323
6371
 
6324
6372
  # Code from module fclose:
 
6373
  # Code from module fcntl-h:
 
6374
  # Code from module fcntl-h-tests:
6325
6375
  # Code from module fdl-1.3:
6326
6376
  # Code from module float:
6327
6377
  # Code from module fseeko:
6328
6378
 
6329
6379
  # Code from module fseeko-tests:
 
6380
  # Code from module ftello:
 
6381
 
 
6382
  # Code from module ftello-tests:
6330
6383
  # Code from module gendocs:
6331
6384
  # Code from module getaddrinfo:
6332
6385
  # Code from module getaddrinfo-tests:
6334
6387
  # Code from module getdelim-tests:
6335
6388
  # Code from module getline:
6336
6389
  # Code from module getline-tests:
 
6390
  # Code from module getpagesize:
6337
6391
  # Code from module getpass-gnu:
6338
6392
  # Code from module gettext-h:
6339
6393
  # Code from module gettime:
6356
6410
  # Code from module lseek:
6357
6411
  # Code from module lseek-tests:
6358
6412
  # Code from module maintainer-makefile:
 
6413
  # Code from module malloc-posix:
6359
6414
  # Code from module manywarnings:
6360
6415
  # Code from module memchr:
6361
6416
  # Code from module memchr-tests:
6367
6422
  # Code from module netinet_in-tests:
6368
6423
  # Code from module perror:
6369
6424
  # Code from module perror-tests:
 
6425
  # Code from module pipe-posix:
 
6426
  # Code from module pipe-posix-tests:
6370
6427
  # Code from module pmccabe2html:
6371
6428
  # Code from module progname:
6372
6429
  # Code from module read-file:
6384
6441
  # Code from module snprintf:
6385
6442
  # Code from module snprintf-tests:
6386
6443
  # Code from module socket:
 
6444
  # Code from module socketlib:
6387
6445
  # Code from module sockets:
6388
6446
  # Code from module sockets-tests:
6389
6447
  # Code from module socklen:
6433
6491
  # Code from module version-etc-tests:
6434
6492
  # Code from module warn-on-use:
6435
6493
  # Code from module warnings:
6436
 
  # Code from module wchar:
6437
 
  # Code from module wchar-tests:
6438
6494
  # Code from module xsize:
6439
6495
 
6440
6496
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
6441
6497
$as_echo_n "checking for inline... " >&6; }
6442
 
if test "${ac_cv_c_inline+set}" = set; then :
 
6498
if ${ac_cv_c_inline+:} false; then :
6443
6499
  $as_echo_n "(cached) " >&6
6444
6500
else
6445
6501
  ac_cv_c_inline=no
6497
6553
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6498
6554
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6499
6555
$as_echo_n "checking for $ac_word... " >&6; }
6500
 
if test "${ac_cv_prog_CXX+set}" = set; then :
 
6556
if ${ac_cv_prog_CXX+:} false; then :
6501
6557
  $as_echo_n "(cached) " >&6
6502
6558
else
6503
6559
  if test -n "$CXX"; then
6541
6597
set dummy $ac_prog; ac_word=$2
6542
6598
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6543
6599
$as_echo_n "checking for $ac_word... " >&6; }
6544
 
if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
 
6600
if ${ac_cv_prog_ac_ct_CXX+:} false; then :
6545
6601
  $as_echo_n "(cached) " >&6
6546
6602
else
6547
6603
  if test -n "$ac_ct_CXX"; then
6619
6675
 
6620
6676
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
6621
6677
$as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
6622
 
if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
 
6678
if ${ac_cv_cxx_compiler_gnu+:} false; then :
6623
6679
  $as_echo_n "(cached) " >&6
6624
6680
else
6625
6681
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6656
6712
ac_save_CXXFLAGS=$CXXFLAGS
6657
6713
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
6658
6714
$as_echo_n "checking whether $CXX accepts -g... " >&6; }
6659
 
if test "${ac_cv_prog_cxx_g+set}" = set; then :
 
6715
if ${ac_cv_prog_cxx_g+:} false; then :
6660
6716
  $as_echo_n "(cached) " >&6
6661
6717
else
6662
6718
  ac_save_cxx_werror_flag=$ac_cxx_werror_flag
6742
6798
 
6743
6799
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
6744
6800
$as_echo_n "checking dependency style of $depcc... " >&6; }
6745
 
if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
 
6801
if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
6746
6802
  $as_echo_n "(cached) " >&6
6747
6803
else
6748
6804
  if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
6912
6968
  ENABLE_CXX_FALSE=
6913
6969
fi
6914
6970
 
 
6971
 if test -f tests/suite/mini-eagain2.c; then
 
6972
  WANT_TEST_SUITE_TRUE=
 
6973
  WANT_TEST_SUITE_FALSE='#'
 
6974
else
 
6975
  WANT_TEST_SUITE_TRUE='#'
 
6976
  WANT_TEST_SUITE_FALSE=
 
6977
fi
 
6978
 
6915
6979
 
6916
6980
 
6917
6981
      if test "X$prefix" = "XNONE"; then
6969
7033
      # Canonicalize the path of ld
6970
7034
      ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
6971
7035
      while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
6972
 
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
 
7036
        ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
6973
7037
      done
6974
7038
      test -z "$LD" && LD="$ac_prog"
6975
7039
      ;;
6989
7053
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6990
7054
$as_echo_n "checking for non-GNU ld... " >&6; }
6991
7055
fi
6992
 
if test "${acl_cv_path_LD+set}" = set; then :
 
7056
if ${acl_cv_path_LD+:} false; then :
6993
7057
  $as_echo_n "(cached) " >&6
6994
7058
else
6995
7059
  if test -z "$LD"; then
7003
7067
      # Break only if it was the GNU/non-GNU ld that we prefer.
7004
7068
      case `"$acl_cv_path_LD" -v 2>&1 < /dev/null` in
7005
7069
      *GNU* | *'with BFD'*)
7006
 
        test "$with_gnu_ld" != no && break ;;
 
7070
        test "$with_gnu_ld" != no && break ;;
7007
7071
      *)
7008
 
        test "$with_gnu_ld" != yes && break ;;
 
7072
        test "$with_gnu_ld" != yes && break ;;
7009
7073
      esac
7010
7074
    fi
7011
7075
  done
7026
7090
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
7027
7091
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
7028
7092
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
7029
 
if test "${acl_cv_prog_gnu_ld+set}" = set; then :
 
7093
if ${acl_cv_prog_gnu_ld+:} false; then :
7030
7094
  $as_echo_n "(cached) " >&6
7031
7095
else
7032
7096
  # I'd rather use --version here, but apparently some GNU ld's only accept -v.
7046
7110
 
7047
7111
                                                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
7048
7112
$as_echo_n "checking for shared library run path origin... " >&6; }
7049
 
if test "${acl_cv_rpath+set}" = set; then :
 
7113
if ${acl_cv_rpath+:} false; then :
7050
7114
  $as_echo_n "(cached) " >&6
7051
7115
else
7052
7116
 
7077
7141
 
7078
7142
 
7079
7143
 
7080
 
 
7081
 
  acl_libdirstem=lib
7082
 
  acl_libdirstem2=
7083
 
  case "$host_os" in
7084
 
    solaris*)
7085
 
                                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for 64-bit host" >&5
7086
 
$as_echo_n "checking for 64-bit host... " >&6; }
7087
 
if test "${gl_cv_solaris_64bit+set}" = set; then :
7088
 
  $as_echo_n "(cached) " >&6
7089
 
else
7090
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7091
 
/* end confdefs.h.  */
7092
 
 
7093
 
#ifdef _LP64
7094
 
sixtyfour bits
7095
 
#endif
7096
 
 
7097
 
_ACEOF
7098
 
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7099
 
  $EGREP "sixtyfour bits" >/dev/null 2>&1; then :
7100
 
  gl_cv_solaris_64bit=yes
7101
 
else
7102
 
  gl_cv_solaris_64bit=no
7103
 
fi
7104
 
rm -f conftest*
7105
 
 
7106
 
 
7107
 
fi
7108
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_solaris_64bit" >&5
7109
 
$as_echo "$gl_cv_solaris_64bit" >&6; }
7110
 
      if test $gl_cv_solaris_64bit = yes; then
7111
 
        acl_libdirstem=lib/64
7112
 
        case "$host_cpu" in
7113
 
          sparc*)        acl_libdirstem2=lib/sparcv9 ;;
7114
 
          i*86 | x86_64) acl_libdirstem2=lib/amd64 ;;
 
7144
                  acl_libdirstem=lib
 
7145
  searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
 
7146
  if test -n "$searchpath"; then
 
7147
    acl_save_IFS="${IFS=        }"; IFS=":"
 
7148
    for searchdir in $searchpath; do
 
7149
      if test -d "$searchdir"; then
 
7150
        case "$searchdir" in
 
7151
          */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
 
7152
          *) searchdir=`cd "$searchdir" && pwd`
 
7153
             case "$searchdir" in
 
7154
               */lib64 ) acl_libdirstem=lib64 ;;
 
7155
             esac ;;
7115
7156
        esac
7116
7157
      fi
7117
 
      ;;
7118
 
    *)
7119
 
      searchpath=`(LC_ALL=C $CC -print-search-dirs) 2>/dev/null | sed -n -e 's,^libraries: ,,p' | sed -e 's,^=,,'`
7120
 
      if test -n "$searchpath"; then
7121
 
        acl_save_IFS="${IFS=    }"; IFS=":"
7122
 
        for searchdir in $searchpath; do
7123
 
          if test -d "$searchdir"; then
7124
 
            case "$searchdir" in
7125
 
              */lib64/ | */lib64 ) acl_libdirstem=lib64 ;;
7126
 
              */../ | */.. )
7127
 
                # Better ignore directories of this form. They are misleading.
7128
 
                ;;
7129
 
              *) searchdir=`cd "$searchdir" && pwd`
7130
 
                 case "$searchdir" in
7131
 
                   */lib64 ) acl_libdirstem=lib64 ;;
7132
 
                 esac ;;
7133
 
            esac
7134
 
          fi
7135
 
        done
7136
 
        IFS="$acl_save_IFS"
7137
 
      fi
7138
 
      ;;
7139
 
  esac
7140
 
  test -n "$acl_libdirstem2" || acl_libdirstem2="$acl_libdirstem"
 
7158
    done
 
7159
    IFS="$acl_save_IFS"
 
7160
  fi
7141
7161
 
7142
7162
 
7143
7163
  # Library code modified:                              REVISION++
7144
7164
  # Interfaces changed/added/removed:   CURRENT++       REVISION=0
7145
7165
  # Interfaces added:                             AGE++
7146
7166
  # Interfaces removed:                           AGE=0
7147
 
  LT_CURRENT=42
7148
 
 
7149
 
  LT_REVISION=14
7150
 
 
7151
 
  LT_AGE=16
 
7167
  LT_CURRENT=47
 
7168
 
 
7169
  LT_REVISION=5
 
7170
 
 
7171
  LT_AGE=21
 
7172
 
 
7173
 
 
7174
  LT_SSL_CURRENT=27
 
7175
 
 
7176
  LT_SSL_REVISION=0
 
7177
 
 
7178
  LT_SSL_AGE=0
 
7179
 
 
7180
 
 
7181
  CXX_LT_CURRENT=27
 
7182
 
 
7183
  CXX_LT_REVISION=0
 
7184
 
 
7185
  CXX_LT_AGE=0
7152
7186
 
7153
7187
 
7154
7188
  # Used when creating the Windows libgnutls-XX.def files.
7155
7189
  DLL_VERSION=`expr ${LT_CURRENT} - ${LT_AGE}`
7156
7190
 
7157
7191
 
7158
 
 
7159
 
 
 
7192
  cryptolib="nettle"
 
7193
 
 
7194
 
 
7195
# Check whether --with-libgcrypt was given.
 
7196
if test "${with_libgcrypt+set}" = set; then :
 
7197
  withval=$with_libgcrypt; libgcrypt=$withval
 
7198
else
 
7199
  libgcrypt=no
 
7200
fi
 
7201
 
 
7202
    if test "$libgcrypt" = "yes"; then
 
7203
        cryptolib=libgcrypt
 
7204
 
 
7205
$as_echo "#define HAVE_GCRYPT 1" >>confdefs.h
7160
7206
 
7161
7207
 
7162
7208
 
7204
7250
      else
7205
7251
        additional_includedir="$withval/include"
7206
7252
        additional_libdir="$withval/$acl_libdirstem"
7207
 
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
7208
 
           && ! test -d "$withval/$acl_libdirstem"; then
7209
 
          additional_libdir="$withval/$acl_libdirstem2"
7210
 
        fi
7211
7253
      fi
7212
7254
    fi
7213
7255
 
7217
7259
  LTLIBGCRYPT=
7218
7260
  INCGCRYPT=
7219
7261
  LIBGCRYPT_PREFIX=
7220
 
      HAVE_LIBGCRYPT=
7221
7262
  rpathdirs=
7222
7263
  ltrpathdirs=
7223
7264
  names_already_handled=
7235
7276
      done
7236
7277
      if test -z "$already_handled"; then
7237
7278
        names_already_handled="$names_already_handled $name"
7238
 
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
 
7279
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7239
7280
        eval value=\"\$HAVE_LIB$uppername\"
7240
7281
        if test -n "$value"; then
7241
7282
          if test "$value" = yes; then
7360
7401
          if test "X$found_dir" != "X"; then
7361
7402
                        LTLIBGCRYPT="${LTLIBGCRYPT}${LTLIBGCRYPT:+ }-L$found_dir -l$name"
7362
7403
            if test "X$found_so" != "X"; then
7363
 
                                                        if test "$enable_rpath" = no \
7364
 
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
7365
 
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
 
7404
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
7366
7405
                                LIBGCRYPT="${LIBGCRYPT}${LIBGCRYPT:+ }$found_so"
7367
7406
              else
7368
7407
                                                                                haveit=
7429
7468
            case "$found_dir" in
7430
7469
              */$acl_libdirstem | */$acl_libdirstem/)
7431
7470
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
7432
 
                if test "$name" = 'gcrypt'; then
7433
 
                  LIBGCRYPT_PREFIX="$basedir"
7434
 
                fi
7435
 
                additional_includedir="$basedir/include"
7436
 
                ;;
7437
 
              */$acl_libdirstem2 | */$acl_libdirstem2/)
7438
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
7439
 
                if test "$name" = 'gcrypt'; then
7440
 
                  LIBGCRYPT_PREFIX="$basedir"
7441
 
                fi
 
7471
                LIBGCRYPT_PREFIX="$basedir"
7442
7472
                additional_includedir="$basedir/include"
7443
7473
                ;;
7444
7474
            esac
7487
7517
                case "$dep" in
7488
7518
                  -L*)
7489
7519
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
7490
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
7491
 
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
 
7520
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
7492
7521
                      haveit=
7493
 
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
7494
 
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
 
7522
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
7495
7523
                        if test -n "$GCC"; then
7496
7524
                          case $host_os in
7497
7525
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
7618
7646
  fi
7619
7647
 
7620
7648
 
7621
 
 
7622
 
 
7623
 
 
7624
 
 
7625
 
 
7626
7649
        ac_save_CPPFLAGS="$CPPFLAGS"
7627
7650
 
7628
7651
  for element in $INCGCRYPT; do
7650
7673
 
7651
7674
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libgcrypt" >&5
7652
7675
$as_echo_n "checking for libgcrypt... " >&6; }
7653
 
if test "${ac_cv_libgcrypt+set}" = set; then :
 
7676
if ${ac_cv_libgcrypt+:} false; then :
7654
7677
  $as_echo_n "(cached) " >&6
7655
7678
else
7656
7679
 
7657
7680
    ac_save_LIBS="$LIBS"
7658
 
                                case " $LIBGCRYPT" in
7659
 
      *" -l"*) LIBS="$LIBS $LIBGCRYPT" ;;
7660
 
      *)       LIBS="$LIBGCRYPT $LIBS" ;;
7661
 
    esac
 
7681
    LIBS="$LIBS $LIBGCRYPT"
7662
7682
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7663
7683
/* end confdefs.h.  */
7664
7684
#include <gcrypt.h>
7673
7693
if ac_fn_c_try_link "$LINENO"; then :
7674
7694
  ac_cv_libgcrypt=yes
7675
7695
else
7676
 
  ac_cv_libgcrypt='no'
 
7696
  ac_cv_libgcrypt=no
7677
7697
fi
7678
7698
rm -f core conftest.err conftest.$ac_objext \
7679
7699
    conftest$ac_exeext conftest.$ac_ext
7705
7725
 
7706
7726
 
7707
7727
 
7708
 
  if test "$ac_cv_libgcrypt" != yes; then
7709
 
    as_fn_error $? "
 
7728
      if test "$ac_cv_libgcrypt" != yes; then
 
7729
        as_fn_error $? "
7710
7730
***
7711
 
*** libgcrypt was not found. You may want to get it from
 
7731
*** Libgcrypt v1.4.0 or later was not found. You may want to get it from
7712
7732
*** ftp://ftp.gnupg.org/gcrypt/libgcrypt/
7713
7733
***
7714
7734
    " "$LINENO" 5
7715
 
  fi
 
7735
      fi
 
7736
    fi
 
7737
 
 
7738
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to use nettle" >&5
 
7739
$as_echo_n "checking whether to use nettle... " >&6; }
 
7740
if test "$cryptolib" = "nettle";then
 
7741
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
7742
$as_echo "yes" >&6; }
 
7743
 
 
7744
 
 
7745
 
 
7746
 
 
7747
 
 
7748
 
 
7749
 
 
7750
 
 
7751
 
 
7752
 
 
7753
    use_additional=yes
 
7754
 
 
7755
  acl_save_prefix="$prefix"
 
7756
  prefix="$acl_final_prefix"
 
7757
  acl_save_exec_prefix="$exec_prefix"
 
7758
  exec_prefix="$acl_final_exec_prefix"
 
7759
 
 
7760
    eval additional_includedir=\"$includedir\"
 
7761
    eval additional_libdir=\"$libdir\"
 
7762
 
 
7763
  exec_prefix="$acl_save_exec_prefix"
 
7764
  prefix="$acl_save_prefix"
 
7765
 
 
7766
 
 
7767
# Check whether --with-libnettle-prefix was given.
 
7768
if test "${with_libnettle_prefix+set}" = set; then :
 
7769
  withval=$with_libnettle_prefix;
 
7770
    if test "X$withval" = "Xno"; then
 
7771
      use_additional=no
 
7772
    else
 
7773
      if test "X$withval" = "X"; then
 
7774
 
 
7775
  acl_save_prefix="$prefix"
 
7776
  prefix="$acl_final_prefix"
 
7777
  acl_save_exec_prefix="$exec_prefix"
 
7778
  exec_prefix="$acl_final_exec_prefix"
 
7779
 
 
7780
          eval additional_includedir=\"$includedir\"
 
7781
          eval additional_libdir=\"$libdir\"
 
7782
 
 
7783
  exec_prefix="$acl_save_exec_prefix"
 
7784
  prefix="$acl_save_prefix"
 
7785
 
 
7786
      else
 
7787
        additional_includedir="$withval/include"
 
7788
        additional_libdir="$withval/$acl_libdirstem"
 
7789
      fi
 
7790
    fi
 
7791
 
 
7792
fi
 
7793
 
 
7794
      LIBNETTLE=
 
7795
  LTLIBNETTLE=
 
7796
  INCNETTLE=
 
7797
  LIBNETTLE_PREFIX=
 
7798
  rpathdirs=
 
7799
  ltrpathdirs=
 
7800
  names_already_handled=
 
7801
  names_next_round='nettle '
 
7802
  while test -n "$names_next_round"; do
 
7803
    names_this_round="$names_next_round"
 
7804
    names_next_round=
 
7805
    for name in $names_this_round; do
 
7806
      already_handled=
 
7807
      for n in $names_already_handled; do
 
7808
        if test "$n" = "$name"; then
 
7809
          already_handled=yes
 
7810
          break
 
7811
        fi
 
7812
      done
 
7813
      if test -z "$already_handled"; then
 
7814
        names_already_handled="$names_already_handled $name"
 
7815
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
 
7816
        eval value=\"\$HAVE_LIB$uppername\"
 
7817
        if test -n "$value"; then
 
7818
          if test "$value" = yes; then
 
7819
            eval value=\"\$LIB$uppername\"
 
7820
            test -z "$value" || LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$value"
 
7821
            eval value=\"\$LTLIB$uppername\"
 
7822
            test -z "$value" || LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }$value"
 
7823
          else
 
7824
                                    :
 
7825
          fi
 
7826
        else
 
7827
                              found_dir=
 
7828
          found_la=
 
7829
          found_so=
 
7830
          found_a=
 
7831
          eval libname=\"$acl_libname_spec\"    # typically: libname=lib$name
 
7832
          if test -n "$acl_shlibext"; then
 
7833
            shrext=".$acl_shlibext"             # typically: shrext=.so
 
7834
          else
 
7835
            shrext=
 
7836
          fi
 
7837
          if test $use_additional = yes; then
 
7838
            dir="$additional_libdir"
 
7839
                                    if test -n "$acl_shlibext"; then
 
7840
              if test -f "$dir/$libname$shrext"; then
 
7841
                found_dir="$dir"
 
7842
                found_so="$dir/$libname$shrext"
 
7843
              else
 
7844
                if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
7845
                  ver=`(cd "$dir" && \
 
7846
                        for f in "$libname$shrext".*; do echo "$f"; done \
 
7847
                        | sed -e "s,^$libname$shrext\\\\.,," \
 
7848
                        | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
7849
                        | sed 1q ) 2>/dev/null`
 
7850
                  if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
7851
                    found_dir="$dir"
 
7852
                    found_so="$dir/$libname$shrext.$ver"
 
7853
                  fi
 
7854
                else
 
7855
                  eval library_names=\"$acl_library_names_spec\"
 
7856
                  for f in $library_names; do
 
7857
                    if test -f "$dir/$f"; then
 
7858
                      found_dir="$dir"
 
7859
                      found_so="$dir/$f"
 
7860
                      break
 
7861
                    fi
 
7862
                  done
 
7863
                fi
 
7864
              fi
 
7865
            fi
 
7866
                        if test "X$found_dir" = "X"; then
 
7867
              if test -f "$dir/$libname.$acl_libext"; then
 
7868
                found_dir="$dir"
 
7869
                found_a="$dir/$libname.$acl_libext"
 
7870
              fi
 
7871
            fi
 
7872
            if test "X$found_dir" != "X"; then
 
7873
              if test -f "$dir/$libname.la"; then
 
7874
                found_la="$dir/$libname.la"
 
7875
              fi
 
7876
            fi
 
7877
          fi
 
7878
          if test "X$found_dir" = "X"; then
 
7879
            for x in $LDFLAGS $LTLIBNETTLE; do
 
7880
 
 
7881
  acl_save_prefix="$prefix"
 
7882
  prefix="$acl_final_prefix"
 
7883
  acl_save_exec_prefix="$exec_prefix"
 
7884
  exec_prefix="$acl_final_exec_prefix"
 
7885
  eval x=\"$x\"
 
7886
  exec_prefix="$acl_save_exec_prefix"
 
7887
  prefix="$acl_save_prefix"
 
7888
 
 
7889
              case "$x" in
 
7890
                -L*)
 
7891
                  dir=`echo "X$x" | sed -e 's/^X-L//'`
 
7892
                                    if test -n "$acl_shlibext"; then
 
7893
                    if test -f "$dir/$libname$shrext"; then
 
7894
                      found_dir="$dir"
 
7895
                      found_so="$dir/$libname$shrext"
 
7896
                    else
 
7897
                      if test "$acl_library_names_spec" = '$libname$shrext$versuffix'; then
 
7898
                        ver=`(cd "$dir" && \
 
7899
                              for f in "$libname$shrext".*; do echo "$f"; done \
 
7900
                              | sed -e "s,^$libname$shrext\\\\.,," \
 
7901
                              | sort -t '.' -n -r -k1,1 -k2,2 -k3,3 -k4,4 -k5,5 \
 
7902
                              | sed 1q ) 2>/dev/null`
 
7903
                        if test -n "$ver" && test -f "$dir/$libname$shrext.$ver"; then
 
7904
                          found_dir="$dir"
 
7905
                          found_so="$dir/$libname$shrext.$ver"
 
7906
                        fi
 
7907
                      else
 
7908
                        eval library_names=\"$acl_library_names_spec\"
 
7909
                        for f in $library_names; do
 
7910
                          if test -f "$dir/$f"; then
 
7911
                            found_dir="$dir"
 
7912
                            found_so="$dir/$f"
 
7913
                            break
 
7914
                          fi
 
7915
                        done
 
7916
                      fi
 
7917
                    fi
 
7918
                  fi
 
7919
                                    if test "X$found_dir" = "X"; then
 
7920
                    if test -f "$dir/$libname.$acl_libext"; then
 
7921
                      found_dir="$dir"
 
7922
                      found_a="$dir/$libname.$acl_libext"
 
7923
                    fi
 
7924
                  fi
 
7925
                  if test "X$found_dir" != "X"; then
 
7926
                    if test -f "$dir/$libname.la"; then
 
7927
                      found_la="$dir/$libname.la"
 
7928
                    fi
 
7929
                  fi
 
7930
                  ;;
 
7931
              esac
 
7932
              if test "X$found_dir" != "X"; then
 
7933
                break
 
7934
              fi
 
7935
            done
 
7936
          fi
 
7937
          if test "X$found_dir" != "X"; then
 
7938
                        LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }-L$found_dir -l$name"
 
7939
            if test "X$found_so" != "X"; then
 
7940
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
 
7941
                                LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_so"
 
7942
              else
 
7943
                                                                                haveit=
 
7944
                for x in $ltrpathdirs; do
 
7945
                  if test "X$x" = "X$found_dir"; then
 
7946
                    haveit=yes
 
7947
                    break
 
7948
                  fi
 
7949
                done
 
7950
                if test -z "$haveit"; then
 
7951
                  ltrpathdirs="$ltrpathdirs $found_dir"
 
7952
                fi
 
7953
                                if test "$acl_hardcode_direct" = yes; then
 
7954
                                                      LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_so"
 
7955
                else
 
7956
                  if test -n "$acl_hardcode_libdir_flag_spec" && test "$acl_hardcode_minus_L" = no; then
 
7957
                                                            LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_so"
 
7958
                                                            haveit=
 
7959
                    for x in $rpathdirs; do
 
7960
                      if test "X$x" = "X$found_dir"; then
 
7961
                        haveit=yes
 
7962
                        break
 
7963
                      fi
 
7964
                    done
 
7965
                    if test -z "$haveit"; then
 
7966
                      rpathdirs="$rpathdirs $found_dir"
 
7967
                    fi
 
7968
                  else
 
7969
                                                                                haveit=
 
7970
                    for x in $LDFLAGS $LIBNETTLE; do
 
7971
 
 
7972
  acl_save_prefix="$prefix"
 
7973
  prefix="$acl_final_prefix"
 
7974
  acl_save_exec_prefix="$exec_prefix"
 
7975
  exec_prefix="$acl_final_exec_prefix"
 
7976
  eval x=\"$x\"
 
7977
  exec_prefix="$acl_save_exec_prefix"
 
7978
  prefix="$acl_save_prefix"
 
7979
 
 
7980
                      if test "X$x" = "X-L$found_dir"; then
 
7981
                        haveit=yes
 
7982
                        break
 
7983
                      fi
 
7984
                    done
 
7985
                    if test -z "$haveit"; then
 
7986
                      LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-L$found_dir"
 
7987
                    fi
 
7988
                    if test "$acl_hardcode_minus_L" != no; then
 
7989
                                                                                        LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_so"
 
7990
                    else
 
7991
                                                                                                                                                                                LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-l$name"
 
7992
                    fi
 
7993
                  fi
 
7994
                fi
 
7995
              fi
 
7996
            else
 
7997
              if test "X$found_a" != "X"; then
 
7998
                                LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$found_a"
 
7999
              else
 
8000
                                                LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-L$found_dir -l$name"
 
8001
              fi
 
8002
            fi
 
8003
                        additional_includedir=
 
8004
            case "$found_dir" in
 
8005
              */$acl_libdirstem | */$acl_libdirstem/)
 
8006
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
 
8007
                LIBNETTLE_PREFIX="$basedir"
 
8008
                additional_includedir="$basedir/include"
 
8009
                ;;
 
8010
            esac
 
8011
            if test "X$additional_includedir" != "X"; then
 
8012
                                                                                                                if test "X$additional_includedir" != "X/usr/include"; then
 
8013
                haveit=
 
8014
                if test "X$additional_includedir" = "X/usr/local/include"; then
 
8015
                  if test -n "$GCC"; then
 
8016
                    case $host_os in
 
8017
                      linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
8018
                    esac
 
8019
                  fi
 
8020
                fi
 
8021
                if test -z "$haveit"; then
 
8022
                  for x in $CPPFLAGS $INCNETTLE; do
 
8023
 
 
8024
  acl_save_prefix="$prefix"
 
8025
  prefix="$acl_final_prefix"
 
8026
  acl_save_exec_prefix="$exec_prefix"
 
8027
  exec_prefix="$acl_final_exec_prefix"
 
8028
  eval x=\"$x\"
 
8029
  exec_prefix="$acl_save_exec_prefix"
 
8030
  prefix="$acl_save_prefix"
 
8031
 
 
8032
                    if test "X$x" = "X-I$additional_includedir"; then
 
8033
                      haveit=yes
 
8034
                      break
 
8035
                    fi
 
8036
                  done
 
8037
                  if test -z "$haveit"; then
 
8038
                    if test -d "$additional_includedir"; then
 
8039
                                            INCNETTLE="${INCNETTLE}${INCNETTLE:+ }-I$additional_includedir"
 
8040
                    fi
 
8041
                  fi
 
8042
                fi
 
8043
              fi
 
8044
            fi
 
8045
                        if test -n "$found_la"; then
 
8046
                                                        save_libdir="$libdir"
 
8047
              case "$found_la" in
 
8048
                */* | *\\*) . "$found_la" ;;
 
8049
                *) . "./$found_la" ;;
 
8050
              esac
 
8051
              libdir="$save_libdir"
 
8052
                            for dep in $dependency_libs; do
 
8053
                case "$dep" in
 
8054
                  -L*)
 
8055
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
 
8056
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
 
8057
                      haveit=
 
8058
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
 
8059
                        if test -n "$GCC"; then
 
8060
                          case $host_os in
 
8061
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
 
8062
                          esac
 
8063
                        fi
 
8064
                      fi
 
8065
                      if test -z "$haveit"; then
 
8066
                        haveit=
 
8067
                        for x in $LDFLAGS $LIBNETTLE; do
 
8068
 
 
8069
  acl_save_prefix="$prefix"
 
8070
  prefix="$acl_final_prefix"
 
8071
  acl_save_exec_prefix="$exec_prefix"
 
8072
  exec_prefix="$acl_final_exec_prefix"
 
8073
  eval x=\"$x\"
 
8074
  exec_prefix="$acl_save_exec_prefix"
 
8075
  prefix="$acl_save_prefix"
 
8076
 
 
8077
                          if test "X$x" = "X-L$additional_libdir"; then
 
8078
                            haveit=yes
 
8079
                            break
 
8080
                          fi
 
8081
                        done
 
8082
                        if test -z "$haveit"; then
 
8083
                          if test -d "$additional_libdir"; then
 
8084
                                                        LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-L$additional_libdir"
 
8085
                          fi
 
8086
                        fi
 
8087
                        haveit=
 
8088
                        for x in $LDFLAGS $LTLIBNETTLE; do
 
8089
 
 
8090
  acl_save_prefix="$prefix"
 
8091
  prefix="$acl_final_prefix"
 
8092
  acl_save_exec_prefix="$exec_prefix"
 
8093
  exec_prefix="$acl_final_exec_prefix"
 
8094
  eval x=\"$x\"
 
8095
  exec_prefix="$acl_save_exec_prefix"
 
8096
  prefix="$acl_save_prefix"
 
8097
 
 
8098
                          if test "X$x" = "X-L$additional_libdir"; then
 
8099
                            haveit=yes
 
8100
                            break
 
8101
                          fi
 
8102
                        done
 
8103
                        if test -z "$haveit"; then
 
8104
                          if test -d "$additional_libdir"; then
 
8105
                                                        LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }-L$additional_libdir"
 
8106
                          fi
 
8107
                        fi
 
8108
                      fi
 
8109
                    fi
 
8110
                    ;;
 
8111
                  -R*)
 
8112
                    dir=`echo "X$dep" | sed -e 's/^X-R//'`
 
8113
                    if test "$enable_rpath" != no; then
 
8114
                                                                  haveit=
 
8115
                      for x in $rpathdirs; do
 
8116
                        if test "X$x" = "X$dir"; then
 
8117
                          haveit=yes
 
8118
                          break
 
8119
                        fi
 
8120
                      done
 
8121
                      if test -z "$haveit"; then
 
8122
                        rpathdirs="$rpathdirs $dir"
 
8123
                      fi
 
8124
                                                                  haveit=
 
8125
                      for x in $ltrpathdirs; do
 
8126
                        if test "X$x" = "X$dir"; then
 
8127
                          haveit=yes
 
8128
                          break
 
8129
                        fi
 
8130
                      done
 
8131
                      if test -z "$haveit"; then
 
8132
                        ltrpathdirs="$ltrpathdirs $dir"
 
8133
                      fi
 
8134
                    fi
 
8135
                    ;;
 
8136
                  -l*)
 
8137
                                        names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
 
8138
                    ;;
 
8139
                  *.la)
 
8140
                                                                                names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
 
8141
                    ;;
 
8142
                  *)
 
8143
                                        LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$dep"
 
8144
                    LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }$dep"
 
8145
                    ;;
 
8146
                esac
 
8147
              done
 
8148
            fi
 
8149
          else
 
8150
                                                            LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }-l$name"
 
8151
            LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }-l$name"
 
8152
          fi
 
8153
        fi
 
8154
      fi
 
8155
    done
 
8156
  done
 
8157
  if test "X$rpathdirs" != "X"; then
 
8158
    if test -n "$acl_hardcode_libdir_separator"; then
 
8159
                        alldirs=
 
8160
      for found_dir in $rpathdirs; do
 
8161
        alldirs="${alldirs}${alldirs:+$acl_hardcode_libdir_separator}$found_dir"
 
8162
      done
 
8163
            acl_save_libdir="$libdir"
 
8164
      libdir="$alldirs"
 
8165
      eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
8166
      libdir="$acl_save_libdir"
 
8167
      LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$flag"
 
8168
    else
 
8169
            for found_dir in $rpathdirs; do
 
8170
        acl_save_libdir="$libdir"
 
8171
        libdir="$found_dir"
 
8172
        eval flag=\"$acl_hardcode_libdir_flag_spec\"
 
8173
        libdir="$acl_save_libdir"
 
8174
        LIBNETTLE="${LIBNETTLE}${LIBNETTLE:+ }$flag"
 
8175
      done
 
8176
    fi
 
8177
  fi
 
8178
  if test "X$ltrpathdirs" != "X"; then
 
8179
            for found_dir in $ltrpathdirs; do
 
8180
      LTLIBNETTLE="${LTLIBNETTLE}${LTLIBNETTLE:+ }-R$found_dir"
 
8181
    done
 
8182
  fi
 
8183
 
 
8184
 
 
8185
        ac_save_CPPFLAGS="$CPPFLAGS"
 
8186
 
 
8187
  for element in $INCNETTLE; do
 
8188
    haveit=
 
8189
    for x in $CPPFLAGS; do
 
8190
 
 
8191
  acl_save_prefix="$prefix"
 
8192
  prefix="$acl_final_prefix"
 
8193
  acl_save_exec_prefix="$exec_prefix"
 
8194
  exec_prefix="$acl_final_exec_prefix"
 
8195
  eval x=\"$x\"
 
8196
  exec_prefix="$acl_save_exec_prefix"
 
8197
  prefix="$acl_save_prefix"
 
8198
 
 
8199
      if test "X$x" = "X$element"; then
 
8200
        haveit=yes
 
8201
        break
 
8202
      fi
 
8203
    done
 
8204
    if test -z "$haveit"; then
 
8205
      CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
 
8206
    fi
 
8207
  done
 
8208
 
 
8209
 
 
8210
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libnettle" >&5
 
8211
$as_echo_n "checking for libnettle... " >&6; }
 
8212
if ${ac_cv_libnettle+:} false; then :
 
8213
  $as_echo_n "(cached) " >&6
 
8214
else
 
8215
 
 
8216
    ac_save_LIBS="$LIBS"
 
8217
    LIBS="$LIBS $LIBNETTLE"
 
8218
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
8219
/* end confdefs.h.  */
 
8220
#include <nettle/aes.h>
 
8221
int
 
8222
main ()
 
8223
{
 
8224
nettle_aes_invert_key (0, 0)
 
8225
  ;
 
8226
  return 0;
 
8227
}
 
8228
_ACEOF
 
8229
if ac_fn_c_try_link "$LINENO"; then :
 
8230
  ac_cv_libnettle=yes
 
8231
else
 
8232
  ac_cv_libnettle=no
 
8233
fi
 
8234
rm -f core conftest.err conftest.$ac_objext \
 
8235
    conftest$ac_exeext conftest.$ac_ext
 
8236
    LIBS="$ac_save_LIBS"
 
8237
 
 
8238
fi
 
8239
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_libnettle" >&5
 
8240
$as_echo "$ac_cv_libnettle" >&6; }
 
8241
  if test "$ac_cv_libnettle" = yes; then
 
8242
    HAVE_LIBNETTLE=yes
 
8243
 
 
8244
$as_echo "#define HAVE_LIBNETTLE 1" >>confdefs.h
 
8245
 
 
8246
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libnettle" >&5
 
8247
$as_echo_n "checking how to link with libnettle... " >&6; }
 
8248
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBNETTLE" >&5
 
8249
$as_echo "$LIBNETTLE" >&6; }
 
8250
  else
 
8251
    HAVE_LIBNETTLE=no
 
8252
            CPPFLAGS="$ac_save_CPPFLAGS"
 
8253
    LIBNETTLE=
 
8254
    LTLIBNETTLE=
 
8255
    LIBNETTLE_PREFIX=
 
8256
  fi
 
8257
 
 
8258
 
 
8259
 
 
8260
 
 
8261
 
 
8262
 
 
8263
 
 
8264
    if test "$ac_cv_libnettle" != yes; then
 
8265
      as_fn_error $? "
 
8266
  ***
 
8267
  *** Libnettle 2.1 was not found.
 
8268
  " "$LINENO" 5
 
8269
    fi
 
8270
    NETTLE_LIBS="-lgmp -lhogweed"
 
8271
else
 
8272
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
8273
$as_echo "no" >&6; }
 
8274
fi
 
8275
 
 
8276
   if test "$cryptolib" = "nettle"; then
 
8277
  ENABLE_NETTLE_TRUE=
 
8278
  ENABLE_NETTLE_FALSE='#'
 
8279
else
 
8280
  ENABLE_NETTLE_TRUE='#'
 
8281
  ENABLE_NETTLE_FALSE=
 
8282
fi
 
8283
 
7716
8284
 
7717
8285
 
7718
8286
# Check whether --with-included-libtasn1 was given.
7733
8301
 
7734
8302
 
7735
8303
 
7736
 
 
7737
 
 
7738
 
 
7739
8304
    use_additional=yes
7740
8305
 
7741
8306
  acl_save_prefix="$prefix"
7772
8337
      else
7773
8338
        additional_includedir="$withval/include"
7774
8339
        additional_libdir="$withval/$acl_libdirstem"
7775
 
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
7776
 
           && ! test -d "$withval/$acl_libdirstem"; then
7777
 
          additional_libdir="$withval/$acl_libdirstem2"
7778
 
        fi
7779
8340
      fi
7780
8341
    fi
7781
8342
 
7785
8346
  LTLIBTASN1=
7786
8347
  INCTASN1=
7787
8348
  LIBTASN1_PREFIX=
7788
 
      HAVE_LIBTASN1=
7789
8349
  rpathdirs=
7790
8350
  ltrpathdirs=
7791
8351
  names_already_handled=
7803
8363
      done
7804
8364
      if test -z "$already_handled"; then
7805
8365
        names_already_handled="$names_already_handled $name"
7806
 
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
 
8366
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
7807
8367
        eval value=\"\$HAVE_LIB$uppername\"
7808
8368
        if test -n "$value"; then
7809
8369
          if test "$value" = yes; then
7928
8488
          if test "X$found_dir" != "X"; then
7929
8489
                        LTLIBTASN1="${LTLIBTASN1}${LTLIBTASN1:+ }-L$found_dir -l$name"
7930
8490
            if test "X$found_so" != "X"; then
7931
 
                                                        if test "$enable_rpath" = no \
7932
 
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
7933
 
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
 
8491
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
7934
8492
                                LIBTASN1="${LIBTASN1}${LIBTASN1:+ }$found_so"
7935
8493
              else
7936
8494
                                                                                haveit=
7997
8555
            case "$found_dir" in
7998
8556
              */$acl_libdirstem | */$acl_libdirstem/)
7999
8557
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
8000
 
                if test "$name" = 'tasn1'; then
8001
 
                  LIBTASN1_PREFIX="$basedir"
8002
 
                fi
8003
 
                additional_includedir="$basedir/include"
8004
 
                ;;
8005
 
              */$acl_libdirstem2 | */$acl_libdirstem2/)
8006
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
8007
 
                if test "$name" = 'tasn1'; then
8008
 
                  LIBTASN1_PREFIX="$basedir"
8009
 
                fi
 
8558
                LIBTASN1_PREFIX="$basedir"
8010
8559
                additional_includedir="$basedir/include"
8011
8560
                ;;
8012
8561
            esac
8055
8604
                case "$dep" in
8056
8605
                  -L*)
8057
8606
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
8058
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
8059
 
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
 
8607
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
8060
8608
                      haveit=
8061
 
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
8062
 
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
 
8609
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
8063
8610
                        if test -n "$GCC"; then
8064
8611
                          case $host_os in
8065
8612
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
8186
8733
  fi
8187
8734
 
8188
8735
 
8189
 
 
8190
 
 
8191
 
 
8192
 
 
8193
 
 
8194
8736
        ac_save_CPPFLAGS="$CPPFLAGS"
8195
8737
 
8196
8738
  for element in $INCTASN1; do
8218
8760
 
8219
8761
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libtasn1" >&5
8220
8762
$as_echo_n "checking for libtasn1... " >&6; }
8221
 
if test "${ac_cv_libtasn1+set}" = set; then :
 
8763
if ${ac_cv_libtasn1+:} false; then :
8222
8764
  $as_echo_n "(cached) " >&6
8223
8765
else
8224
8766
 
8225
8767
    ac_save_LIBS="$LIBS"
8226
 
                                case " $LIBTASN1" in
8227
 
      *" -l"*) LIBS="$LIBS $LIBTASN1" ;;
8228
 
      *)       LIBS="$LIBTASN1 $LIBS" ;;
8229
 
    esac
 
8768
    LIBS="$LIBS $LIBTASN1"
8230
8769
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8231
8770
/* end confdefs.h.  */
8232
8771
#include <libtasn1.h>
8241
8780
if ac_fn_c_try_link "$LINENO"; then :
8242
8781
  ac_cv_libtasn1=yes
8243
8782
else
8244
 
  ac_cv_libtasn1='no'
 
8783
  ac_cv_libtasn1=no
8245
8784
fi
8246
8785
rm -f core conftest.err conftest.$ac_objext \
8247
8786
    conftest$ac_exeext conftest.$ac_ext
8297
8836
  ENABLE_MINITASN1_FALSE=
8298
8837
fi
8299
8838
 
 
8839
 
8300
8840
  if test "$included_libtasn1" = "no"; then
8301
8841
    GNUTLS_REQUIRES_PRIVATE="Requires.private: libtasn1"
8302
8842
  fi
8317
8857
  if test "$use_lzo" = "yes"; then
8318
8858
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo1x_1_compress in -llzo2" >&5
8319
8859
$as_echo_n "checking for lzo1x_1_compress in -llzo2... " >&6; }
8320
 
if test "${ac_cv_lib_lzo2_lzo1x_1_compress+set}" = set; then :
 
8860
if ${ac_cv_lib_lzo2_lzo1x_1_compress+:} false; then :
8321
8861
  $as_echo_n "(cached) " >&6
8322
8862
else
8323
8863
  ac_check_lib_save_LIBS=$LIBS
8351
8891
fi
8352
8892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo2_lzo1x_1_compress" >&5
8353
8893
$as_echo "$ac_cv_lib_lzo2_lzo1x_1_compress" >&6; }
8354
 
if test "x$ac_cv_lib_lzo2_lzo1x_1_compress" = x""yes; then :
 
8894
if test "x$ac_cv_lib_lzo2_lzo1x_1_compress" = xyes; then :
8355
8895
  LZO_LIBS=-llzo2
8356
8896
fi
8357
8897
 
8358
8898
    if test "$LZO_LIBS" = ""; then
8359
8899
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzo1x_1_compress in -llzo" >&5
8360
8900
$as_echo_n "checking for lzo1x_1_compress in -llzo... " >&6; }
8361
 
if test "${ac_cv_lib_lzo_lzo1x_1_compress+set}" = set; then :
 
8901
if ${ac_cv_lib_lzo_lzo1x_1_compress+:} false; then :
8362
8902
  $as_echo_n "(cached) " >&6
8363
8903
else
8364
8904
  ac_check_lib_save_LIBS=$LIBS
8392
8932
fi
8393
8933
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzo_lzo1x_1_compress" >&5
8394
8934
$as_echo "$ac_cv_lib_lzo_lzo1x_1_compress" >&6; }
8395
 
if test "x$ac_cv_lib_lzo_lzo1x_1_compress" = x""yes; then :
 
8935
if test "x$ac_cv_lib_lzo_lzo1x_1_compress" = xyes; then :
8396
8936
  LZO_LIBS=-llzo
8397
8937
else
8398
8938
 
8417
8957
      for ac_header in lzo1x.h
8418
8958
do :
8419
8959
  ac_fn_c_check_header_mongrel "$LINENO" "lzo1x.h" "ac_cv_header_lzo1x_h" "$ac_includes_default"
8420
 
if test "x$ac_cv_header_lzo1x_h" = x""yes; then :
 
8960
if test "x$ac_cv_header_lzo1x_h" = xyes; then :
8421
8961
  cat >>confdefs.h <<_ACEOF
8422
8962
#define HAVE_LZO1X_H 1
8423
8963
_ACEOF
8430
8970
      for ac_header in lzo/lzo1x.h
8431
8971
do :
8432
8972
  ac_fn_c_check_header_mongrel "$LINENO" "lzo/lzo1x.h" "ac_cv_header_lzo_lzo1x_h" "$ac_includes_default"
8433
 
if test "x$ac_cv_header_lzo_lzo1x_h" = x""yes; then :
 
8973
if test "x$ac_cv_header_lzo_lzo1x_h" = xyes; then :
8434
8974
  cat >>confdefs.h <<_ACEOF
8435
8975
#define HAVE_LZO_LZO1X_H 1
8436
8976
_ACEOF
8611
9151
 
8612
9152
 
8613
9153
  # Allow disabling Camellia
 
9154
  if test "$nettle" != "yes";then
8614
9155
  # Check whether --enable-camellia was given.
8615
9156
if test "${enable_camellia+set}" = set; then :
8616
9157
  enableval=$enable_camellia; enable_camellia=$enableval
8618
9159
  enable_camellia=yes
8619
9160
fi
8620
9161
 
 
9162
  else
 
9163
    enable_camellia=no
 
9164
  fi
 
9165
 
8621
9166
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to disable Camellia cipher" >&5
8622
9167
$as_echo_n "checking whether to disable Camellia cipher... " >&6; }
8623
9168
  if test "$enable_camellia" != "no"; then
8742
9287
# This bug is HP SR number 8606223364.
8743
9288
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
8744
9289
$as_echo_n "checking size of void *... " >&6; }
8745
 
if test "${ac_cv_sizeof_void_p+set}" = set; then :
 
9290
if ${ac_cv_sizeof_void_p+:} false; then :
8746
9291
  $as_echo_n "(cached) " >&6
8747
9292
else
8748
9293
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p"        "$ac_includes_default"; then :
8752
9297
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8753
9298
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8754
9299
as_fn_error 77 "cannot compute sizeof (void *)
8755
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
9300
See \`config.log' for more details" "$LINENO" 5; }
8756
9301
   else
8757
9302
     ac_cv_sizeof_void_p=0
8758
9303
   fi
8775
9320
# This bug is HP SR number 8606223364.
8776
9321
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
8777
9322
$as_echo_n "checking size of long... " >&6; }
8778
 
if test "${ac_cv_sizeof_long+set}" = set; then :
 
9323
if ${ac_cv_sizeof_long+:} false; then :
8779
9324
  $as_echo_n "(cached) " >&6
8780
9325
else
8781
9326
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long"        "$ac_includes_default"; then :
8785
9330
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8786
9331
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8787
9332
as_fn_error 77 "cannot compute sizeof (long)
8788
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
9333
See \`config.log' for more details" "$LINENO" 5; }
8789
9334
   else
8790
9335
     ac_cv_sizeof_long=0
8791
9336
   fi
8808
9353
# This bug is HP SR number 8606223364.
8809
9354
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
8810
9355
$as_echo_n "checking size of int... " >&6; }
8811
 
if test "${ac_cv_sizeof_int+set}" = set; then :
 
9356
if ${ac_cv_sizeof_int+:} false; then :
8812
9357
  $as_echo_n "(cached) " >&6
8813
9358
else
8814
9359
  if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int"        "$ac_includes_default"; then :
8818
9363
     { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8819
9364
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8820
9365
as_fn_error 77 "cannot compute sizeof (int)
8821
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
9366
See \`config.log' for more details" "$LINENO" 5; }
8822
9367
   else
8823
9368
     ac_cv_sizeof_int=0
8824
9369
   fi
8872
9417
  GNULIB_LINK=0;
8873
9418
  GNULIB_LINKAT=0;
8874
9419
  GNULIB_LSEEK=0;
 
9420
  GNULIB_PIPE=0;
8875
9421
  GNULIB_PIPE2=0;
8876
9422
  GNULIB_PREAD=0;
8877
9423
  GNULIB_PWRITE=0;
8897
9443
  HAVE_FCHOWNAT=1;
8898
9444
  HAVE_FSYNC=1;
8899
9445
  HAVE_FTRUNCATE=1;
8900
 
  HAVE_GETDOMAINNAME=1;
8901
9446
  HAVE_GETDTABLESIZE=1;
8902
9447
  HAVE_GETGROUPS=1;
8903
9448
  HAVE_GETHOSTNAME=1;
8906
9451
  HAVE_LCHOWN=1;
8907
9452
  HAVE_LINK=1;
8908
9453
  HAVE_LINKAT=1;
 
9454
  HAVE_PIPE=1;
8909
9455
  HAVE_PIPE2=1;
8910
9456
  HAVE_PREAD=1;
8911
9457
  HAVE_PWRITE=1;
8914
9460
  HAVE_SLEEP=1;
8915
9461
  HAVE_SYMLINK=1;
8916
9462
  HAVE_SYMLINKAT=1;
8917
 
  HAVE_TTYNAME_R=1;
8918
9463
  HAVE_UNLINKAT=1;
8919
9464
  HAVE_USLEEP=1;
8920
9465
  HAVE_DECL_ENVIRON=1;
 
9466
  HAVE_DECL_FCHDIR=1;
 
9467
  HAVE_DECL_GETDOMAINNAME=1;
8921
9468
  HAVE_DECL_GETLOGIN_R=1;
8922
9469
  HAVE_DECL_GETPAGESIZE=1;
8923
9470
  HAVE_DECL_GETUSERSHELL=1;
 
9471
  HAVE_DECL_TTYNAME_R=1;
8924
9472
  HAVE_OS_H=0;
8925
9473
  HAVE_SYS_PARAM_H=0;
8926
9474
  REPLACE_CHOWN=0;
8929
9477
  REPLACE_DUP2=0;
8930
9478
  REPLACE_FCHOWNAT=0;
8931
9479
  REPLACE_GETCWD=0;
 
9480
  REPLACE_GETDOMAINNAME=0;
 
9481
  REPLACE_GETLOGIN_R=0;
8932
9482
  REPLACE_GETGROUPS=0;
8933
9483
  REPLACE_GETPAGESIZE=0;
8934
9484
  REPLACE_LCHOWN=0;
8979
9529
 
8980
9530
 
8981
9531
 
 
9532
 
 
9533
 
 
9534
 
 
9535
 
 
9536
  :
 
9537
 
 
9538
 
 
9539
 
 
9540
 
 
9541
 
 
9542
  if test $ac_cv_header_sys_socket_h != yes; then
 
9543
                    for ac_header in winsock2.h
 
9544
do :
 
9545
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
 
9546
if test "x$ac_cv_header_winsock2_h" = xyes; then :
 
9547
  cat >>confdefs.h <<_ACEOF
 
9548
#define HAVE_WINSOCK2_H 1
 
9549
_ACEOF
 
9550
 
 
9551
fi
 
9552
 
 
9553
done
 
9554
 
 
9555
  fi
 
9556
  if test "$ac_cv_header_winsock2_h" = yes; then
 
9557
    HAVE_WINSOCK2_H=1
 
9558
    UNISTD_H_HAVE_WINSOCK2_H=1
 
9559
    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
 
9560
  else
 
9561
    HAVE_WINSOCK2_H=0
 
9562
  fi
 
9563
 
 
9564
   LIBSOCKET=
 
9565
  if test $HAVE_WINSOCK2_H = 1; then
 
9566
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5
 
9567
$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; }
 
9568
if ${gl_cv_func_wsastartup+:} false; then :
 
9569
  $as_echo_n "(cached) " >&6
 
9570
else
 
9571
 
 
9572
      gl_save_LIBS="$LIBS"
 
9573
      LIBS="$LIBS -lws2_32"
 
9574
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9575
/* end confdefs.h.  */
 
9576
 
 
9577
#ifdef HAVE_WINSOCK2_H
 
9578
# include <winsock2.h>
 
9579
#endif
 
9580
int
 
9581
main ()
 
9582
{
 
9583
 
 
9584
          WORD wVersionRequested = MAKEWORD(1, 1);
 
9585
          WSADATA wsaData;
 
9586
          int err = WSAStartup(wVersionRequested, &wsaData);
 
9587
          WSACleanup ();
 
9588
  ;
 
9589
  return 0;
 
9590
}
 
9591
_ACEOF
 
9592
if ac_fn_c_try_link "$LINENO"; then :
 
9593
  gl_cv_func_wsastartup=yes
 
9594
else
 
9595
  gl_cv_func_wsastartup=no
 
9596
fi
 
9597
rm -f core conftest.err conftest.$ac_objext \
 
9598
    conftest$ac_exeext conftest.$ac_ext
 
9599
      LIBS="$gl_save_LIBS"
 
9600
 
 
9601
fi
 
9602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5
 
9603
$as_echo "$gl_cv_func_wsastartup" >&6; }
 
9604
    if test "$gl_cv_func_wsastartup" = "yes"; then
 
9605
 
 
9606
$as_echo "#define WINDOWS_SOCKETS 1" >>confdefs.h
 
9607
 
 
9608
      LIBSOCKET='-lws2_32'
 
9609
    fi
 
9610
  else
 
9611
                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
 
9612
$as_echo_n "checking for library containing setsockopt... " >&6; }
 
9613
if ${gl_cv_lib_socket+:} false; then :
 
9614
  $as_echo_n "(cached) " >&6
 
9615
else
 
9616
 
 
9617
      gl_cv_lib_socket=
 
9618
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9619
/* end confdefs.h.  */
 
9620
extern
 
9621
#ifdef __cplusplus
 
9622
"C"
 
9623
#endif
 
9624
char setsockopt();
 
9625
int
 
9626
main ()
 
9627
{
 
9628
setsockopt();
 
9629
  ;
 
9630
  return 0;
 
9631
}
 
9632
_ACEOF
 
9633
if ac_fn_c_try_link "$LINENO"; then :
 
9634
 
 
9635
else
 
9636
  gl_save_LIBS="$LIBS"
 
9637
         LIBS="$gl_save_LIBS -lsocket"
 
9638
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9639
/* end confdefs.h.  */
 
9640
extern
 
9641
#ifdef __cplusplus
 
9642
"C"
 
9643
#endif
 
9644
char setsockopt();
 
9645
int
 
9646
main ()
 
9647
{
 
9648
setsockopt();
 
9649
  ;
 
9650
  return 0;
 
9651
}
 
9652
_ACEOF
 
9653
if ac_fn_c_try_link "$LINENO"; then :
 
9654
  gl_cv_lib_socket="-lsocket"
 
9655
fi
 
9656
rm -f core conftest.err conftest.$ac_objext \
 
9657
    conftest$ac_exeext conftest.$ac_ext
 
9658
         if test -z "$gl_cv_lib_socket"; then
 
9659
           LIBS="$gl_save_LIBS -lnetwork"
 
9660
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9661
/* end confdefs.h.  */
 
9662
extern
 
9663
#ifdef __cplusplus
 
9664
"C"
 
9665
#endif
 
9666
char setsockopt();
 
9667
int
 
9668
main ()
 
9669
{
 
9670
setsockopt();
 
9671
  ;
 
9672
  return 0;
 
9673
}
 
9674
_ACEOF
 
9675
if ac_fn_c_try_link "$LINENO"; then :
 
9676
  gl_cv_lib_socket="-lnetwork"
 
9677
fi
 
9678
rm -f core conftest.err conftest.$ac_objext \
 
9679
    conftest$ac_exeext conftest.$ac_ext
 
9680
           if test -z "$gl_cv_lib_socket"; then
 
9681
             LIBS="$gl_save_LIBS -lnet"
 
9682
             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
9683
/* end confdefs.h.  */
 
9684
extern
 
9685
#ifdef __cplusplus
 
9686
"C"
 
9687
#endif
 
9688
char setsockopt();
 
9689
int
 
9690
main ()
 
9691
{
 
9692
setsockopt();
 
9693
  ;
 
9694
  return 0;
 
9695
}
 
9696
_ACEOF
 
9697
if ac_fn_c_try_link "$LINENO"; then :
 
9698
  gl_cv_lib_socket="-lnet"
 
9699
fi
 
9700
rm -f core conftest.err conftest.$ac_objext \
 
9701
    conftest$ac_exeext conftest.$ac_ext
 
9702
           fi
 
9703
         fi
 
9704
         LIBS="$gl_save_LIBS"
 
9705
 
 
9706
fi
 
9707
rm -f core conftest.err conftest.$ac_objext \
 
9708
    conftest$ac_exeext conftest.$ac_ext
 
9709
      if test -z "$gl_cv_lib_socket"; then
 
9710
        gl_cv_lib_socket="none needed"
 
9711
      fi
 
9712
 
 
9713
fi
 
9714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5
 
9715
$as_echo "$gl_cv_lib_socket" >&6; }
 
9716
    if test "$gl_cv_lib_socket" != "none needed"; then
 
9717
      LIBSOCKET="$gl_cv_lib_socket"
 
9718
    fi
 
9719
  fi
 
9720
 
 
9721
 
 
9722
 
8982
9723
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build OpenSSL compatibility layer" >&5
8983
9724
$as_echo_n "checking whether to build OpenSSL compatibility layer... " >&6; }
8984
9725
  # Check whether --enable-openssl-compatibility was given.
9004
9745
 
9005
9746
 
9006
9747
 
9007
 
 
9008
 
 
9009
 
 
9010
 
  :
9011
 
 
9012
 
 
9013
 
 
9014
 
 
9015
 
 
9016
 
  if test $ac_cv_header_sys_socket_h != yes; then
9017
 
                    for ac_header in winsock2.h
9018
 
do :
9019
 
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
9020
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
9021
 
  cat >>confdefs.h <<_ACEOF
9022
 
#define HAVE_WINSOCK2_H 1
9023
 
_ACEOF
9024
 
 
9025
 
fi
9026
 
 
9027
 
done
9028
 
 
9029
 
  fi
9030
 
  if test "$ac_cv_header_winsock2_h" = yes; then
9031
 
    HAVE_WINSOCK2_H=1
9032
 
    UNISTD_H_HAVE_WINSOCK2_H=1
9033
 
    SYS_IOCTL_H_HAVE_WINSOCK2_H=1
9034
 
  else
9035
 
    HAVE_WINSOCK2_H=0
9036
 
  fi
9037
 
 
9038
 
   LIBSOCKET=
9039
 
  if test $HAVE_WINSOCK2_H = 1; then
9040
 
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5
9041
 
$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; }
9042
 
if test "${gl_cv_func_wsastartup+set}" = set; then :
9043
 
  $as_echo_n "(cached) " >&6
9044
 
else
9045
 
 
9046
 
      gl_save_LIBS="$LIBS"
9047
 
      LIBS="$LIBS -lws2_32"
9048
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049
 
/* end confdefs.h.  */
9050
 
 
9051
 
#ifdef HAVE_WINSOCK2_H
9052
 
# include <winsock2.h>
9053
 
#endif
9054
 
int
9055
 
main ()
9056
 
{
9057
 
 
9058
 
          WORD wVersionRequested = MAKEWORD(1, 1);
9059
 
          WSADATA wsaData;
9060
 
          int err = WSAStartup(wVersionRequested, &wsaData);
9061
 
          WSACleanup ();
9062
 
  ;
9063
 
  return 0;
9064
 
}
9065
 
_ACEOF
9066
 
if ac_fn_c_try_link "$LINENO"; then :
9067
 
  gl_cv_func_wsastartup=yes
9068
 
else
9069
 
  gl_cv_func_wsastartup=no
9070
 
fi
9071
 
rm -f core conftest.err conftest.$ac_objext \
9072
 
    conftest$ac_exeext conftest.$ac_ext
9073
 
      LIBS="$gl_save_LIBS"
9074
 
 
9075
 
fi
9076
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_wsastartup" >&5
9077
 
$as_echo "$gl_cv_func_wsastartup" >&6; }
9078
 
    if test "$gl_cv_func_wsastartup" = "yes"; then
9079
 
 
9080
 
$as_echo "#define WINDOWS_SOCKETS 1" >>confdefs.h
9081
 
 
9082
 
      LIBSOCKET='-lws2_32'
9083
 
    fi
9084
 
  else
9085
 
                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
9086
 
$as_echo_n "checking for library containing setsockopt... " >&6; }
9087
 
if test "${gl_cv_lib_socket+set}" = set; then :
9088
 
  $as_echo_n "(cached) " >&6
9089
 
else
9090
 
 
9091
 
      gl_cv_lib_socket=
9092
 
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9093
 
/* end confdefs.h.  */
9094
 
extern
9095
 
#ifdef __cplusplus
9096
 
"C"
9097
 
#endif
9098
 
char setsockopt();
9099
 
int
9100
 
main ()
9101
 
{
9102
 
setsockopt();
9103
 
  ;
9104
 
  return 0;
9105
 
}
9106
 
_ACEOF
9107
 
if ac_fn_c_try_link "$LINENO"; then :
9108
 
 
9109
 
else
9110
 
  gl_save_LIBS="$LIBS"
9111
 
         LIBS="$gl_save_LIBS -lsocket"
9112
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113
 
/* end confdefs.h.  */
9114
 
extern
9115
 
#ifdef __cplusplus
9116
 
"C"
9117
 
#endif
9118
 
char setsockopt();
9119
 
int
9120
 
main ()
9121
 
{
9122
 
setsockopt();
9123
 
  ;
9124
 
  return 0;
9125
 
}
9126
 
_ACEOF
9127
 
if ac_fn_c_try_link "$LINENO"; then :
9128
 
  gl_cv_lib_socket="-lsocket"
9129
 
fi
9130
 
rm -f core conftest.err conftest.$ac_objext \
9131
 
    conftest$ac_exeext conftest.$ac_ext
9132
 
         if test -z "$gl_cv_lib_socket"; then
9133
 
           LIBS="$gl_save_LIBS -lnetwork"
9134
 
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135
 
/* end confdefs.h.  */
9136
 
extern
9137
 
#ifdef __cplusplus
9138
 
"C"
9139
 
#endif
9140
 
char setsockopt();
9141
 
int
9142
 
main ()
9143
 
{
9144
 
setsockopt();
9145
 
  ;
9146
 
  return 0;
9147
 
}
9148
 
_ACEOF
9149
 
if ac_fn_c_try_link "$LINENO"; then :
9150
 
  gl_cv_lib_socket="-lnetwork"
9151
 
fi
9152
 
rm -f core conftest.err conftest.$ac_objext \
9153
 
    conftest$ac_exeext conftest.$ac_ext
9154
 
           if test -z "$gl_cv_lib_socket"; then
9155
 
             LIBS="$gl_save_LIBS -lnet"
9156
 
             cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9157
 
/* end confdefs.h.  */
9158
 
extern
9159
 
#ifdef __cplusplus
9160
 
"C"
9161
 
#endif
9162
 
char setsockopt();
9163
 
int
9164
 
main ()
9165
 
{
9166
 
setsockopt();
9167
 
  ;
9168
 
  return 0;
9169
 
}
9170
 
_ACEOF
9171
 
if ac_fn_c_try_link "$LINENO"; then :
9172
 
  gl_cv_lib_socket="-lnet"
9173
 
fi
9174
 
rm -f core conftest.err conftest.$ac_objext \
9175
 
    conftest$ac_exeext conftest.$ac_ext
9176
 
           fi
9177
 
         fi
9178
 
         LIBS="$gl_save_LIBS"
9179
 
 
9180
 
fi
9181
 
rm -f core conftest.err conftest.$ac_objext \
9182
 
    conftest$ac_exeext conftest.$ac_ext
9183
 
      if test -z "$gl_cv_lib_socket"; then
9184
 
        gl_cv_lib_socket="none needed"
9185
 
      fi
9186
 
 
9187
 
fi
9188
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_lib_socket" >&5
9189
 
$as_echo "$gl_cv_lib_socket" >&6; }
9190
 
    if test "$gl_cv_lib_socket" != "none needed"; then
9191
 
      LIBSOCKET="$gl_cv_lib_socket"
9192
 
    fi
9193
 
  fi
9194
 
 
9195
 
 
9196
9748
  :
9197
9749
 
9198
9750
 
9200
9752
 
9201
9753
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
9202
9754
$as_echo_n "checking for ANSI C header files... " >&6; }
9203
 
if test "${ac_cv_header_stdc+set}" = set; then :
 
9755
if ${ac_cv_header_stdc+:} false; then :
9204
9756
  $as_echo_n "(cached) " >&6
9205
9757
else
9206
9758
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9333
9885
for ac_func in fork
9334
9886
do :
9335
9887
  ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
9336
 
if test "x$ac_cv_func_fork" = x""yes; then :
 
9888
if test "x$ac_cv_func_fork" = xyes; then :
9337
9889
  cat >>confdefs.h <<_ACEOF
9338
9890
#define HAVE_FORK 1
9339
9891
_ACEOF
9350
9902
fi
9351
9903
 
9352
9904
 
 
9905
 
 
9906
# Check whether --with-p11-kit was given.
 
9907
if test "${with_p11_kit+set}" = set; then :
 
9908
  withval=$with_p11_kit;
 
9909
fi
 
9910
 
 
9911
 if test "$with_p11_kit" != "no"; then
 
9912
  ENABLE_PKCS11_TRUE=
 
9913
  ENABLE_PKCS11_FALSE='#'
 
9914
else
 
9915
  ENABLE_PKCS11_TRUE='#'
 
9916
  ENABLE_PKCS11_FALSE=
 
9917
fi
 
9918
 
 
9919
if test "$with_p11_kit" != "no"; then
 
9920
 
 
9921
pkg_failed=no
 
9922
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for P11_KIT" >&5
 
9923
$as_echo_n "checking for P11_KIT... " >&6; }
 
9924
 
 
9925
if test -n "$PKG_CONFIG"; then
 
9926
    if test -n "$P11_KIT_CFLAGS"; then
 
9927
        pkg_cv_P11_KIT_CFLAGS="$P11_KIT_CFLAGS"
 
9928
    else
 
9929
        if test -n "$PKG_CONFIG" && \
 
9930
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"p11-kit-1 >= 0.2\""; } >&5
 
9931
  ($PKG_CONFIG --exists --print-errors "p11-kit-1 >= 0.2") 2>&5
 
9932
  ac_status=$?
 
9933
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9934
  test $ac_status = 0; }; then
 
9935
  pkg_cv_P11_KIT_CFLAGS=`$PKG_CONFIG --cflags "p11-kit-1 >= 0.2" 2>/dev/null`
 
9936
else
 
9937
  pkg_failed=yes
 
9938
fi
 
9939
    fi
 
9940
else
 
9941
        pkg_failed=untried
 
9942
fi
 
9943
if test -n "$PKG_CONFIG"; then
 
9944
    if test -n "$P11_KIT_LIBS"; then
 
9945
        pkg_cv_P11_KIT_LIBS="$P11_KIT_LIBS"
 
9946
    else
 
9947
        if test -n "$PKG_CONFIG" && \
 
9948
    { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"p11-kit-1 >= 0.2\""; } >&5
 
9949
  ($PKG_CONFIG --exists --print-errors "p11-kit-1 >= 0.2") 2>&5
 
9950
  ac_status=$?
 
9951
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
9952
  test $ac_status = 0; }; then
 
9953
  pkg_cv_P11_KIT_LIBS=`$PKG_CONFIG --libs "p11-kit-1 >= 0.2" 2>/dev/null`
 
9954
else
 
9955
  pkg_failed=yes
 
9956
fi
 
9957
    fi
 
9958
else
 
9959
        pkg_failed=untried
 
9960
fi
 
9961
 
 
9962
 
 
9963
 
 
9964
if test $pkg_failed = yes; then
 
9965
 
 
9966
if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
 
9967
        _pkg_short_errors_supported=yes
 
9968
else
 
9969
        _pkg_short_errors_supported=no
 
9970
fi
 
9971
        if test $_pkg_short_errors_supported = yes; then
 
9972
                P11_KIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "p11-kit-1 >= 0.2"`
 
9973
        else
 
9974
                P11_KIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "p11-kit-1 >= 0.2"`
 
9975
        fi
 
9976
        # Put the nasty error message in config.log where it belongs
 
9977
        echo "$P11_KIT_PKG_ERRORS" >&5
 
9978
 
 
9979
        as_fn_error $? "Package requirements (p11-kit-1 >= 0.2) were not met:
 
9980
 
 
9981
$P11_KIT_PKG_ERRORS
 
9982
 
 
9983
Consider adjusting the PKG_CONFIG_PATH environment variable if you
 
9984
installed software in a non-standard prefix.
 
9985
 
 
9986
Alternatively, you may set the environment variables P11_KIT_CFLAGS
 
9987
and P11_KIT_LIBS to avoid the need to call pkg-config.
 
9988
See the pkg-config man page for more details.
 
9989
" "$LINENO" 5
 
9990
elif test $pkg_failed = untried; then
 
9991
        { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
 
9992
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
 
9993
as_fn_error $? "The pkg-config script could not be found or is too old.  Make sure it
 
9994
is in your PATH or set the PKG_CONFIG environment variable to the full
 
9995
path to pkg-config.
 
9996
 
 
9997
Alternatively, you may set the environment variables P11_KIT_CFLAGS
 
9998
and P11_KIT_LIBS to avoid the need to call pkg-config.
 
9999
See the pkg-config man page for more details.
 
10000
 
 
10001
To get pkg-config, see <http://pkg-config.freedesktop.org/>.
 
10002
See \`config.log' for more details" "$LINENO" 5; }
 
10003
else
 
10004
        P11_KIT_CFLAGS=$pkg_cv_P11_KIT_CFLAGS
 
10005
        P11_KIT_LIBS=$pkg_cv_P11_KIT_LIBS
 
10006
        { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 
10007
$as_echo "yes" >&6; }
 
10008
        :
 
10009
fi
 
10010
 
 
10011
$as_echo "#define ENABLE_PKCS11 1" >>confdefs.h
 
10012
 
 
10013
        CFLAGS="$CFLAGS $P11_KIT_CFLAGS"
 
10014
        LIBS="$LIBS $P11_KIT_LIBS"
 
10015
        with_p11_kit=yes
 
10016
fi
 
10017
 
9353
10018
ac_fn_c_check_type "$LINENO" "uint" "ac_cv_type_uint" "
9354
10019
# include <sys/types.h>
9355
10020
 
9356
10021
"
9357
 
if test "x$ac_cv_type_uint" = x""yes; then :
 
10022
if test "x$ac_cv_type_uint" = xyes; then :
9358
10023
 
9359
10024
cat >>confdefs.h <<_ACEOF
9360
10025
#define HAVE_UINT 1
9395
10060
set dummy guile-snarf; ac_word=$2
9396
10061
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9397
10062
$as_echo_n "checking for $ac_word... " >&6; }
9398
 
if test "${ac_cv_path_guile_snarf+set}" = set; then :
 
10063
if ${ac_cv_path_guile_snarf+:} false; then :
9399
10064
  $as_echo_n "(cached) " >&6
9400
10065
else
9401
10066
  case $guile_snarf in
9440
10105
set dummy guile; ac_word=$2
9441
10106
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9442
10107
$as_echo_n "checking for $ac_word... " >&6; }
9443
 
if test "${ac_cv_path_GUILE+set}" = set; then :
 
10108
if ${ac_cv_path_GUILE+:} false; then :
9444
10109
  $as_echo_n "(cached) " >&6
9445
10110
else
9446
10111
  case $GUILE in
9484
10149
set dummy guile-config; ac_word=$2
9485
10150
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9486
10151
$as_echo_n "checking for $ac_word... " >&6; }
9487
 
if test "${ac_cv_path_GUILE_CONFIG+set}" = set; then :
 
10152
if ${ac_cv_path_GUILE_CONFIG+:} false; then :
9488
10153
  $as_echo_n "(cached) " >&6
9489
10154
else
9490
10155
  case $GUILE_CONFIG in
9528
10193
set dummy guile-tools; ac_word=$2
9529
10194
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9530
10195
$as_echo_n "checking for $ac_word... " >&6; }
9531
 
if test "${ac_cv_path_GUILE_TOOLS+set}" = set; then :
 
10196
if ${ac_cv_path_GUILE_TOOLS+:} false; then :
9532
10197
  $as_echo_n "(cached) " >&6
9533
10198
else
9534
10199
  case $GUILE_TOOLS in
9674
10339
        for ac_func in scm_gc_malloc_pointerless
9675
10340
do :
9676
10341
  ac_fn_c_check_func "$LINENO" "scm_gc_malloc_pointerless" "ac_cv_func_scm_gc_malloc_pointerless"
9677
 
if test "x$ac_cv_func_scm_gc_malloc_pointerless" = x""yes; then :
 
10342
if test "x$ac_cv_func_scm_gc_malloc_pointerless" = xyes; then :
9678
10343
  cat >>confdefs.h <<_ACEOF
9679
10344
#define HAVE_SCM_GC_MALLOC_POINTERLESS 1
9680
10345
_ACEOF
9728
10393
  libcfg_enabled=no
9729
10394
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cfg_get_context in -lcfg+" >&5
9730
10395
$as_echo_n "checking for cfg_get_context in -lcfg+... " >&6; }
9731
 
if test "${ac_cv_lib_cfgp_cfg_get_context+set}" = set; then :
 
10396
if ${ac_cv_lib_cfgp_cfg_get_context+:} false; then :
9732
10397
  $as_echo_n "(cached) " >&6
9733
10398
else
9734
10399
  ac_check_lib_save_LIBS=$LIBS
9762
10427
fi
9763
10428
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cfgp_cfg_get_context" >&5
9764
10429
$as_echo "$ac_cv_lib_cfgp_cfg_get_context" >&6; }
9765
 
if test "x$ac_cv_lib_cfgp_cfg_get_context" = x""yes; then :
 
10430
if test "x$ac_cv_lib_cfgp_cfg_get_context" = xyes; then :
9766
10431
  :
9767
10432
else
9768
10433
  libcfg_enabled=yes
9801
10466
set dummy ${ac_tool_prefix}as; ac_word=$2
9802
10467
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9803
10468
$as_echo_n "checking for $ac_word... " >&6; }
9804
 
if test "${ac_cv_prog_AS+set}" = set; then :
 
10469
if ${ac_cv_prog_AS+:} false; then :
9805
10470
  $as_echo_n "(cached) " >&6
9806
10471
else
9807
10472
  if test -n "$AS"; then
9841
10506
set dummy as; ac_word=$2
9842
10507
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9843
10508
$as_echo_n "checking for $ac_word... " >&6; }
9844
 
if test "${ac_cv_prog_ac_ct_AS+set}" = set; then :
 
10509
if ${ac_cv_prog_ac_ct_AS+:} false; then :
9845
10510
  $as_echo_n "(cached) " >&6
9846
10511
else
9847
10512
  if test -n "$ac_ct_AS"; then
9893
10558
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
9894
10559
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9895
10560
$as_echo_n "checking for $ac_word... " >&6; }
9896
 
if test "${ac_cv_prog_DLLTOOL+set}" = set; then :
 
10561
if ${ac_cv_prog_DLLTOOL+:} false; then :
9897
10562
  $as_echo_n "(cached) " >&6
9898
10563
else
9899
10564
  if test -n "$DLLTOOL"; then
9933
10598
set dummy dlltool; ac_word=$2
9934
10599
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9935
10600
$as_echo_n "checking for $ac_word... " >&6; }
9936
 
if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then :
 
10601
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
9937
10602
  $as_echo_n "(cached) " >&6
9938
10603
else
9939
10604
  if test -n "$ac_ct_DLLTOOL"; then
9985
10650
set dummy ${ac_tool_prefix}objdump; ac_word=$2
9986
10651
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9987
10652
$as_echo_n "checking for $ac_word... " >&6; }
9988
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
10653
if ${ac_cv_prog_OBJDUMP+:} false; then :
9989
10654
  $as_echo_n "(cached) " >&6
9990
10655
else
9991
10656
  if test -n "$OBJDUMP"; then
10025
10690
set dummy objdump; ac_word=$2
10026
10691
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10027
10692
$as_echo_n "checking for $ac_word... " >&6; }
10028
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
10693
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
10029
10694
  $as_echo_n "(cached) " >&6
10030
10695
else
10031
10696
  if test -n "$ac_ct_OBJDUMP"; then
10103
10768
 
10104
10769
 
10105
10770
 
10106
 
macro_version='2.2.10'
10107
 
macro_revision='1.3175'
 
10771
macro_version='2.4'
 
10772
macro_revision='1.3293'
10108
10773
 
10109
10774
 
10110
10775
 
10144
10809
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
10145
10810
$as_echo_n "checking how to print strings... " >&6; }
10146
10811
# Test print first, because it will be a builtin if present.
10147
 
if test "X`print -r -- -n 2>/dev/null`" = X-n && \
 
10812
if test "X`( print -r -- -n ) 2>/dev/null`" = X-n && \
10148
10813
   test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
10149
10814
  ECHO='print -r --'
10150
10815
elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
10191
10856
 
10192
10857
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
10193
10858
$as_echo_n "checking for a sed that does not truncate output... " >&6; }
10194
 
if test "${ac_cv_path_SED+set}" = set; then :
 
10859
if ${ac_cv_path_SED+:} false; then :
10195
10860
  $as_echo_n "(cached) " >&6
10196
10861
else
10197
10862
            ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
10273
10938
 
10274
10939
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
10275
10940
$as_echo_n "checking for fgrep... " >&6; }
10276
 
if test "${ac_cv_path_FGREP+set}" = set; then :
 
10941
if ${ac_cv_path_FGREP+:} false; then :
10277
10942
  $as_echo_n "(cached) " >&6
10278
10943
else
10279
10944
  if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
10404
11069
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
10405
11070
$as_echo_n "checking for non-GNU ld... " >&6; }
10406
11071
fi
10407
 
if test "${lt_cv_path_LD+set}" = set; then :
 
11072
if ${lt_cv_path_LD+:} false; then :
10408
11073
  $as_echo_n "(cached) " >&6
10409
11074
else
10410
11075
  if test -z "$LD"; then
10444
11109
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
10445
11110
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
10446
11111
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
10447
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
11112
if ${lt_cv_prog_gnu_ld+:} false; then :
10448
11113
  $as_echo_n "(cached) " >&6
10449
11114
else
10450
11115
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
10471
11136
 
10472
11137
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
10473
11138
$as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
10474
 
if test "${lt_cv_path_NM+set}" = set; then :
 
11139
if ${lt_cv_path_NM+:} false; then :
10475
11140
  $as_echo_n "(cached) " >&6
10476
11141
else
10477
11142
  if test -n "$NM"; then
10534
11199
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
10535
11200
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10536
11201
$as_echo_n "checking for $ac_word... " >&6; }
10537
 
if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
 
11202
if ${ac_cv_prog_DUMPBIN+:} false; then :
10538
11203
  $as_echo_n "(cached) " >&6
10539
11204
else
10540
11205
  if test -n "$DUMPBIN"; then
10578
11243
set dummy $ac_prog; ac_word=$2
10579
11244
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10580
11245
$as_echo_n "checking for $ac_word... " >&6; }
10581
 
if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
 
11246
if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
10582
11247
  $as_echo_n "(cached) " >&6
10583
11248
else
10584
11249
  if test -n "$ac_ct_DUMPBIN"; then
10650
11315
 
10651
11316
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
10652
11317
$as_echo_n "checking the name lister ($NM) interface... " >&6; }
10653
 
if test "${lt_cv_nm_interface+set}" = set; then :
 
11318
if ${lt_cv_nm_interface+:} false; then :
10654
11319
  $as_echo_n "(cached) " >&6
10655
11320
else
10656
11321
  lt_cv_nm_interface="BSD nm"
10674
11339
# find the maximum length of command line arguments
10675
11340
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
10676
11341
$as_echo_n "checking the maximum length of command line arguments... " >&6; }
10677
 
if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
 
11342
if ${lt_cv_sys_max_cmd_len+:} false; then :
10678
11343
  $as_echo_n "(cached) " >&6
10679
11344
else
10680
11345
    i=0
10819
11484
# Try some XSI features
10820
11485
xsi_shell=no
10821
11486
( _lt_dummy="a/b/c"
10822
 
  test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
10823
 
      = c,a/b,, \
 
11487
  test "${_lt_dummy##*/},${_lt_dummy%/*},${_lt_dummy#??}"${_lt_dummy%"$_lt_dummy"}, \
 
11488
      = c,a/b,b/c, \
10824
11489
    && eval 'test $(( 1 + 1 )) -eq 2 \
10825
11490
    && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
10826
11491
  && xsi_shell=yes
10869
11534
 
10870
11535
 
10871
11536
 
 
11537
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to $host format" >&5
 
11538
$as_echo_n "checking how to convert $build file names to $host format... " >&6; }
 
11539
if ${lt_cv_to_host_file_cmd+:} false; then :
 
11540
  $as_echo_n "(cached) " >&6
 
11541
else
 
11542
  case $host in
 
11543
  *-*-mingw* )
 
11544
    case $build in
 
11545
      *-*-mingw* ) # actually msys
 
11546
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_w32
 
11547
        ;;
 
11548
      *-*-cygwin* )
 
11549
        lt_cv_to_host_file_cmd=func_convert_file_cygwin_to_w32
 
11550
        ;;
 
11551
      * ) # otherwise, assume *nix
 
11552
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_w32
 
11553
        ;;
 
11554
    esac
 
11555
    ;;
 
11556
  *-*-cygwin* )
 
11557
    case $build in
 
11558
      *-*-mingw* ) # actually msys
 
11559
        lt_cv_to_host_file_cmd=func_convert_file_msys_to_cygwin
 
11560
        ;;
 
11561
      *-*-cygwin* )
 
11562
        lt_cv_to_host_file_cmd=func_convert_file_noop
 
11563
        ;;
 
11564
      * ) # otherwise, assume *nix
 
11565
        lt_cv_to_host_file_cmd=func_convert_file_nix_to_cygwin
 
11566
        ;;
 
11567
    esac
 
11568
    ;;
 
11569
  * ) # unhandled hosts (and "normal" native builds)
 
11570
    lt_cv_to_host_file_cmd=func_convert_file_noop
 
11571
    ;;
 
11572
esac
 
11573
 
 
11574
fi
 
11575
 
 
11576
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
11577
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_host_file_cmd" >&5
 
11578
$as_echo "$lt_cv_to_host_file_cmd" >&6; }
 
11579
 
 
11580
 
 
11581
 
 
11582
 
 
11583
 
 
11584
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to convert $build file names to toolchain format" >&5
 
11585
$as_echo_n "checking how to convert $build file names to toolchain format... " >&6; }
 
11586
if ${lt_cv_to_tool_file_cmd+:} false; then :
 
11587
  $as_echo_n "(cached) " >&6
 
11588
else
 
11589
  #assume ordinary cross tools, or native build.
 
11590
lt_cv_to_tool_file_cmd=func_convert_file_noop
 
11591
case $host in
 
11592
  *-*-mingw* )
 
11593
    case $build in
 
11594
      *-*-mingw* ) # actually msys
 
11595
        lt_cv_to_tool_file_cmd=func_convert_file_msys_to_w32
 
11596
        ;;
 
11597
    esac
 
11598
    ;;
 
11599
esac
 
11600
 
 
11601
fi
 
11602
 
 
11603
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
11604
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_to_tool_file_cmd" >&5
 
11605
$as_echo "$lt_cv_to_tool_file_cmd" >&6; }
 
11606
 
 
11607
 
 
11608
 
 
11609
 
 
11610
 
10872
11611
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
10873
11612
$as_echo_n "checking for $LD option to reload object files... " >&6; }
10874
 
if test "${lt_cv_ld_reload_flag+set}" = set; then :
 
11613
if ${lt_cv_ld_reload_flag+:} false; then :
10875
11614
  $as_echo_n "(cached) " >&6
10876
11615
else
10877
11616
  lt_cv_ld_reload_flag='-r'
10885
11624
esac
10886
11625
reload_cmds='$LD$reload_flag -o $output$reload_objs'
10887
11626
case $host_os in
 
11627
  cygwin* | mingw* | pw32* | cegcc*)
 
11628
    if test "$GCC" != yes; then
 
11629
      reload_cmds=false
 
11630
    fi
 
11631
    ;;
10888
11632
  darwin*)
10889
11633
    if test "$GCC" = yes; then
10890
11634
      reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
10907
11651
set dummy ${ac_tool_prefix}objdump; ac_word=$2
10908
11652
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10909
11653
$as_echo_n "checking for $ac_word... " >&6; }
10910
 
if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
 
11654
if ${ac_cv_prog_OBJDUMP+:} false; then :
10911
11655
  $as_echo_n "(cached) " >&6
10912
11656
else
10913
11657
  if test -n "$OBJDUMP"; then
10947
11691
set dummy objdump; ac_word=$2
10948
11692
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10949
11693
$as_echo_n "checking for $ac_word... " >&6; }
10950
 
if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
 
11694
if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
10951
11695
  $as_echo_n "(cached) " >&6
10952
11696
else
10953
11697
  if test -n "$ac_ct_OBJDUMP"; then
11003
11747
 
11004
11748
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
11005
11749
$as_echo_n "checking how to recognize dependent libraries... " >&6; }
11006
 
if test "${lt_cv_deplibs_check_method+set}" = set; then :
 
11750
if ${lt_cv_deplibs_check_method+:} false; then :
11007
11751
  $as_echo_n "(cached) " >&6
11008
11752
else
11009
11753
  lt_cv_file_magic_cmd='$MAGIC_CMD'
11128
11872
  lt_cv_deplibs_check_method=pass_all
11129
11873
  ;;
11130
11874
 
11131
 
netbsd*)
 
11875
netbsd* | netbsdelf*-gnu)
11132
11876
  if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
11133
11877
    lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
11134
11878
  else
11205
11949
fi
11206
11950
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
11207
11951
$as_echo "$lt_cv_deplibs_check_method" >&6; }
 
11952
 
 
11953
file_magic_glob=
 
11954
want_nocaseglob=no
 
11955
if test "$build" = "$host"; then
 
11956
  case $host_os in
 
11957
  mingw* | pw32*)
 
11958
    if ( shopt | grep nocaseglob ) >/dev/null 2>&1; then
 
11959
      want_nocaseglob=yes
 
11960
    else
 
11961
      file_magic_glob=`echo aAbBcCdDeEfFgGhHiIjJkKlLmMnNoOpPqQrRsStTuUvVwWxXyYzZ | $SED -e "s/\(..\)/s\/[\1]\/[\1]\/g;/g"`
 
11962
    fi
 
11963
    ;;
 
11964
  esac
 
11965
fi
 
11966
 
11208
11967
file_magic_cmd=$lt_cv_file_magic_cmd
11209
11968
deplibs_check_method=$lt_cv_deplibs_check_method
11210
11969
test -z "$deplibs_check_method" && deplibs_check_method=unknown
11220
11979
 
11221
11980
 
11222
11981
 
11223
 
if test -n "$ac_tool_prefix"; then
11224
 
  # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
11225
 
set dummy ${ac_tool_prefix}ar; ac_word=$2
11226
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11227
 
$as_echo_n "checking for $ac_word... " >&6; }
11228
 
if test "${ac_cv_prog_AR+set}" = set; then :
 
11982
 
 
11983
 
 
11984
 
 
11985
 
 
11986
 
 
11987
 
 
11988
 
 
11989
 
 
11990
 
 
11991
 
 
11992
if test -n "$ac_tool_prefix"; then
 
11993
  # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
 
11994
set dummy ${ac_tool_prefix}dlltool; ac_word=$2
 
11995
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
11996
$as_echo_n "checking for $ac_word... " >&6; }
 
11997
if ${ac_cv_prog_DLLTOOL+:} false; then :
 
11998
  $as_echo_n "(cached) " >&6
 
11999
else
 
12000
  if test -n "$DLLTOOL"; then
 
12001
  ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
 
12002
else
 
12003
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12004
for as_dir in $PATH
 
12005
do
 
12006
  IFS=$as_save_IFS
 
12007
  test -z "$as_dir" && as_dir=.
 
12008
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12009
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12010
    ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
 
12011
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12012
    break 2
 
12013
  fi
 
12014
done
 
12015
  done
 
12016
IFS=$as_save_IFS
 
12017
 
 
12018
fi
 
12019
fi
 
12020
DLLTOOL=$ac_cv_prog_DLLTOOL
 
12021
if test -n "$DLLTOOL"; then
 
12022
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
 
12023
$as_echo "$DLLTOOL" >&6; }
 
12024
else
 
12025
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12026
$as_echo "no" >&6; }
 
12027
fi
 
12028
 
 
12029
 
 
12030
fi
 
12031
if test -z "$ac_cv_prog_DLLTOOL"; then
 
12032
  ac_ct_DLLTOOL=$DLLTOOL
 
12033
  # Extract the first word of "dlltool", so it can be a program name with args.
 
12034
set dummy dlltool; ac_word=$2
 
12035
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12036
$as_echo_n "checking for $ac_word... " >&6; }
 
12037
if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
 
12038
  $as_echo_n "(cached) " >&6
 
12039
else
 
12040
  if test -n "$ac_ct_DLLTOOL"; then
 
12041
  ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
 
12042
else
 
12043
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
12044
for as_dir in $PATH
 
12045
do
 
12046
  IFS=$as_save_IFS
 
12047
  test -z "$as_dir" && as_dir=.
 
12048
    for ac_exec_ext in '' $ac_executable_extensions; do
 
12049
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
12050
    ac_cv_prog_ac_ct_DLLTOOL="dlltool"
 
12051
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
12052
    break 2
 
12053
  fi
 
12054
done
 
12055
  done
 
12056
IFS=$as_save_IFS
 
12057
 
 
12058
fi
 
12059
fi
 
12060
ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
 
12061
if test -n "$ac_ct_DLLTOOL"; then
 
12062
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
 
12063
$as_echo "$ac_ct_DLLTOOL" >&6; }
 
12064
else
 
12065
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
12066
$as_echo "no" >&6; }
 
12067
fi
 
12068
 
 
12069
  if test "x$ac_ct_DLLTOOL" = x; then
 
12070
    DLLTOOL="false"
 
12071
  else
 
12072
    case $cross_compiling:$ac_tool_warned in
 
12073
yes:)
 
12074
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
12075
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
12076
ac_tool_warned=yes ;;
 
12077
esac
 
12078
    DLLTOOL=$ac_ct_DLLTOOL
 
12079
  fi
 
12080
else
 
12081
  DLLTOOL="$ac_cv_prog_DLLTOOL"
 
12082
fi
 
12083
 
 
12084
test -z "$DLLTOOL" && DLLTOOL=dlltool
 
12085
 
 
12086
 
 
12087
 
 
12088
 
 
12089
 
 
12090
 
 
12091
 
 
12092
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to associate runtime and link libraries" >&5
 
12093
$as_echo_n "checking how to associate runtime and link libraries... " >&6; }
 
12094
if ${lt_cv_sharedlib_from_linklib_cmd+:} false; then :
 
12095
  $as_echo_n "(cached) " >&6
 
12096
else
 
12097
  lt_cv_sharedlib_from_linklib_cmd='unknown'
 
12098
 
 
12099
case $host_os in
 
12100
cygwin* | mingw* | pw32* | cegcc*)
 
12101
  # two different shell functions defined in ltmain.sh
 
12102
  # decide which to use based on capabilities of $DLLTOOL
 
12103
  case `$DLLTOOL --help 2>&1` in
 
12104
  *--identify-strict*)
 
12105
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib
 
12106
    ;;
 
12107
  *)
 
12108
    lt_cv_sharedlib_from_linklib_cmd=func_cygming_dll_for_implib_fallback
 
12109
    ;;
 
12110
  esac
 
12111
  ;;
 
12112
*)
 
12113
  # fallback: assume linklib IS sharedlib
 
12114
  lt_cv_sharedlib_from_linklib_cmd="$ECHO"
 
12115
  ;;
 
12116
esac
 
12117
 
 
12118
fi
 
12119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sharedlib_from_linklib_cmd" >&5
 
12120
$as_echo "$lt_cv_sharedlib_from_linklib_cmd" >&6; }
 
12121
sharedlib_from_linklib_cmd=$lt_cv_sharedlib_from_linklib_cmd
 
12122
test -z "$sharedlib_from_linklib_cmd" && sharedlib_from_linklib_cmd=$ECHO
 
12123
 
 
12124
 
 
12125
 
 
12126
 
 
12127
 
 
12128
 
 
12129
 
 
12130
if test -n "$ac_tool_prefix"; then
 
12131
  for ac_prog in ar
 
12132
  do
 
12133
    # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
 
12134
set dummy $ac_tool_prefix$ac_prog; ac_word=$2
 
12135
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
12136
$as_echo_n "checking for $ac_word... " >&6; }
 
12137
if ${ac_cv_prog_AR+:} false; then :
11229
12138
  $as_echo_n "(cached) " >&6
11230
12139
else
11231
12140
  if test -n "$AR"; then
11238
12147
  test -z "$as_dir" && as_dir=.
11239
12148
    for ac_exec_ext in '' $ac_executable_extensions; do
11240
12149
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11241
 
    ac_cv_prog_AR="${ac_tool_prefix}ar"
 
12150
    ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
11242
12151
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11243
12152
    break 2
11244
12153
  fi
11258
12167
fi
11259
12168
 
11260
12169
 
 
12170
    test -n "$AR" && break
 
12171
  done
11261
12172
fi
11262
 
if test -z "$ac_cv_prog_AR"; then
 
12173
if test -z "$AR"; then
11263
12174
  ac_ct_AR=$AR
11264
 
  # Extract the first word of "ar", so it can be a program name with args.
11265
 
set dummy ar; ac_word=$2
 
12175
  for ac_prog in ar
 
12176
do
 
12177
  # Extract the first word of "$ac_prog", so it can be a program name with args.
 
12178
set dummy $ac_prog; ac_word=$2
11266
12179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11267
12180
$as_echo_n "checking for $ac_word... " >&6; }
11268
 
if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
 
12181
if ${ac_cv_prog_ac_ct_AR+:} false; then :
11269
12182
  $as_echo_n "(cached) " >&6
11270
12183
else
11271
12184
  if test -n "$ac_ct_AR"; then
11278
12191
  test -z "$as_dir" && as_dir=.
11279
12192
    for ac_exec_ext in '' $ac_executable_extensions; do
11280
12193
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
11281
 
    ac_cv_prog_ac_ct_AR="ar"
 
12194
    ac_cv_prog_ac_ct_AR="$ac_prog"
11282
12195
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
11283
12196
    break 2
11284
12197
  fi
11297
12210
$as_echo "no" >&6; }
11298
12211
fi
11299
12212
 
 
12213
 
 
12214
  test -n "$ac_ct_AR" && break
 
12215
done
 
12216
 
11300
12217
  if test "x$ac_ct_AR" = x; then
11301
12218
    AR="false"
11302
12219
  else
11308
12225
esac
11309
12226
    AR=$ac_ct_AR
11310
12227
  fi
11311
 
else
11312
 
  AR="$ac_cv_prog_AR"
11313
 
fi
11314
 
 
11315
 
test -z "$AR" && AR=ar
11316
 
test -z "$AR_FLAGS" && AR_FLAGS=cru
11317
 
 
11318
 
 
11319
 
 
11320
 
 
 
12228
fi
 
12229
 
 
12230
: ${AR=ar}
 
12231
: ${AR_FLAGS=cru}
 
12232
 
 
12233
 
 
12234
 
 
12235
 
 
12236
 
 
12237
 
 
12238
 
 
12239
 
 
12240
 
 
12241
 
 
12242
 
 
12243
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for archiver @FILE support" >&5
 
12244
$as_echo_n "checking for archiver @FILE support... " >&6; }
 
12245
if ${lt_cv_ar_at_file+:} false; then :
 
12246
  $as_echo_n "(cached) " >&6
 
12247
else
 
12248
  lt_cv_ar_at_file=no
 
12249
   cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
12250
/* end confdefs.h.  */
 
12251
 
 
12252
int
 
12253
main ()
 
12254
{
 
12255
 
 
12256
  ;
 
12257
  return 0;
 
12258
}
 
12259
_ACEOF
 
12260
if ac_fn_c_try_compile "$LINENO"; then :
 
12261
  echo conftest.$ac_objext > conftest.lst
 
12262
      lt_ar_try='$AR $AR_FLAGS libconftest.a @conftest.lst >&5'
 
12263
      { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
12264
  (eval $lt_ar_try) 2>&5
 
12265
  ac_status=$?
 
12266
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12267
  test $ac_status = 0; }
 
12268
      if test "$ac_status" -eq 0; then
 
12269
        # Ensure the archiver fails upon bogus file names.
 
12270
        rm -f conftest.$ac_objext libconftest.a
 
12271
        { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$lt_ar_try\""; } >&5
 
12272
  (eval $lt_ar_try) 2>&5
 
12273
  ac_status=$?
 
12274
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
 
12275
  test $ac_status = 0; }
 
12276
        if test "$ac_status" -ne 0; then
 
12277
          lt_cv_ar_at_file=@
 
12278
        fi
 
12279
      fi
 
12280
      rm -f conftest.* libconftest.a
 
12281
 
 
12282
fi
 
12283
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
12284
 
 
12285
fi
 
12286
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ar_at_file" >&5
 
12287
$as_echo "$lt_cv_ar_at_file" >&6; }
 
12288
 
 
12289
if test "x$lt_cv_ar_at_file" = xno; then
 
12290
  archiver_list_spec=
 
12291
else
 
12292
  archiver_list_spec=$lt_cv_ar_at_file
 
12293
fi
11321
12294
 
11322
12295
 
11323
12296
 
11330
12303
set dummy ${ac_tool_prefix}strip; ac_word=$2
11331
12304
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11332
12305
$as_echo_n "checking for $ac_word... " >&6; }
11333
 
if test "${ac_cv_prog_STRIP+set}" = set; then :
 
12306
if ${ac_cv_prog_STRIP+:} false; then :
11334
12307
  $as_echo_n "(cached) " >&6
11335
12308
else
11336
12309
  if test -n "$STRIP"; then
11370
12343
set dummy strip; ac_word=$2
11371
12344
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11372
12345
$as_echo_n "checking for $ac_word... " >&6; }
11373
 
if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
 
12346
if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
11374
12347
  $as_echo_n "(cached) " >&6
11375
12348
else
11376
12349
  if test -n "$ac_ct_STRIP"; then
11429
12402
set dummy ${ac_tool_prefix}ranlib; ac_word=$2
11430
12403
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11431
12404
$as_echo_n "checking for $ac_word... " >&6; }
11432
 
if test "${ac_cv_prog_RANLIB+set}" = set; then :
 
12405
if ${ac_cv_prog_RANLIB+:} false; then :
11433
12406
  $as_echo_n "(cached) " >&6
11434
12407
else
11435
12408
  if test -n "$RANLIB"; then
11469
12442
set dummy ranlib; ac_word=$2
11470
12443
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11471
12444
$as_echo_n "checking for $ac_word... " >&6; }
11472
 
if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
 
12445
if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
11473
12446
  $as_echo_n "(cached) " >&6
11474
12447
else
11475
12448
  if test -n "$ac_ct_RANLIB"; then
11598
12571
# Check for command to grab the raw symbol name followed by C symbol from nm.
11599
12572
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
11600
12573
$as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
11601
 
if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
 
12574
if ${lt_cv_sys_global_symbol_pipe+:} false; then :
11602
12575
  $as_echo_n "(cached) " >&6
11603
12576
else
11604
12577
 
11659
12632
lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
11660
12633
 
11661
12634
# Transform an extracted symbol line into symbol name and symbol address
11662
 
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
11663
 
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'"
 
12635
lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\)[ ]*$/  {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/  {\"\2\", (void *) \&\2},/p'"
 
12636
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'"
11664
12637
 
11665
12638
# Handle CRLF in mingw tool chain
11666
12639
opt_cr=
11696
12669
  else
11697
12670
    lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[      ]\($symcode$symcode*\)[         ][      ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
11698
12671
  fi
 
12672
  lt_cv_sys_global_symbol_pipe="$lt_cv_sys_global_symbol_pipe | sed '/ __gnu_lto/d'"
11699
12673
 
11700
12674
  # Check to see that the pipe works correctly.
11701
12675
  pipe_works=no
11737
12711
      if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
11738
12712
        if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
11739
12713
          cat <<_LT_EOF > conftest.$ac_ext
 
12714
/* Keep this code in sync between libtool.m4, ltmain, lt_system.h, and tests.  */
 
12715
#if defined(_WIN32) || defined(__CYGWIN__) || defined(_WIN32_WCE)
 
12716
/* DATA imports from DLLs on WIN32 con't be const, because runtime
 
12717
   relocations are performed -- see ld's documentation on pseudo-relocs.  */
 
12718
# define LT_DLSYM_CONST
 
12719
#elif defined(__osf__)
 
12720
/* This system does not cope well with relocations in const data.  */
 
12721
# define LT_DLSYM_CONST
 
12722
#else
 
12723
# define LT_DLSYM_CONST const
 
12724
#endif
 
12725
 
11740
12726
#ifdef __cplusplus
11741
12727
extern "C" {
11742
12728
#endif
11748
12734
          cat <<_LT_EOF >> conftest.$ac_ext
11749
12735
 
11750
12736
/* The mapping between symbol names and symbols.  */
11751
 
const struct {
 
12737
LT_DLSYM_CONST struct {
11752
12738
  const char *name;
11753
12739
  void       *address;
11754
12740
}
11774
12760
_LT_EOF
11775
12761
          # Now try linking the two files.
11776
12762
          mv conftest.$ac_objext conftstm.$ac_objext
11777
 
          lt_save_LIBS="$LIBS"
11778
 
          lt_save_CFLAGS="$CFLAGS"
 
12763
          lt_globsym_save_LIBS=$LIBS
 
12764
          lt_globsym_save_CFLAGS=$CFLAGS
11779
12765
          LIBS="conftstm.$ac_objext"
11780
12766
          CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
11781
12767
          if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11785
12771
  test $ac_status = 0; } && test -s conftest${ac_exeext}; then
11786
12772
            pipe_works=yes
11787
12773
          fi
11788
 
          LIBS="$lt_save_LIBS"
11789
 
          CFLAGS="$lt_save_CFLAGS"
 
12774
          LIBS=$lt_globsym_save_LIBS
 
12775
          CFLAGS=$lt_globsym_save_CFLAGS
11790
12776
        else
11791
12777
          echo "cannot find nm_test_func in $nlist" >&5
11792
12778
        fi
11823
12809
$as_echo "ok" >&6; }
11824
12810
fi
11825
12811
 
11826
 
 
11827
 
 
11828
 
 
11829
 
 
11830
 
 
11831
 
 
11832
 
 
11833
 
 
11834
 
 
11835
 
 
11836
 
 
11837
 
 
11838
 
 
11839
 
 
11840
 
 
11841
 
 
 
12812
# Response file support.
 
12813
if test "$lt_cv_nm_interface" = "MS dumpbin"; then
 
12814
  nm_file_list_spec='@'
 
12815
elif $NM --help 2>/dev/null | grep '[@]FILE' >/dev/null; then
 
12816
  nm_file_list_spec='@'
 
12817
fi
 
12818
 
 
12819
 
 
12820
 
 
12821
 
 
12822
 
 
12823
 
 
12824
 
 
12825
 
 
12826
 
 
12827
 
 
12828
 
 
12829
 
 
12830
 
 
12831
 
 
12832
 
 
12833
 
 
12834
 
 
12835
 
 
12836
 
 
12837
 
 
12838
 
 
12839
 
 
12840
 
 
12841
 
 
12842
 
 
12843
 
 
12844
 
 
12845
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sysroot" >&5
 
12846
$as_echo_n "checking for sysroot... " >&6; }
 
12847
 
 
12848
# Check whether --with-sysroot was given.
 
12849
if test "${with_sysroot+set}" = set; then :
 
12850
  withval=$with_sysroot;
 
12851
else
 
12852
  with_sysroot=no
 
12853
fi
 
12854
 
 
12855
 
 
12856
lt_sysroot=
 
12857
case ${with_sysroot} in #(
 
12858
 yes)
 
12859
   if test "$GCC" = yes; then
 
12860
     lt_sysroot=`$CC --print-sysroot 2>/dev/null`
 
12861
   fi
 
12862
   ;; #(
 
12863
 /*)
 
12864
   lt_sysroot=`echo "$with_sysroot" | sed -e "$sed_quote_subst"`
 
12865
   ;; #(
 
12866
 no|'')
 
12867
   ;; #(
 
12868
 *)
 
12869
   { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_sysroot}" >&5
 
12870
$as_echo "${with_sysroot}" >&6; }
 
12871
   as_fn_error $? "The sysroot must be an absolute path." "$LINENO" 5
 
12872
   ;;
 
12873
esac
 
12874
 
 
12875
 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${lt_sysroot:-no}" >&5
 
12876
$as_echo "${lt_sysroot:-no}" >&6; }
11842
12877
 
11843
12878
 
11844
12879
 
11969
13004
  CFLAGS="$CFLAGS -belf"
11970
13005
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
11971
13006
$as_echo_n "checking whether the C compiler needs -belf... " >&6; }
11972
 
if test "${lt_cv_cc_needs_belf+set}" = set; then :
 
13007
if ${lt_cv_cc_needs_belf+:} false; then :
11973
13008
  $as_echo_n "(cached) " >&6
11974
13009
else
11975
13010
  ac_ext=c
12037
13072
 
12038
13073
need_locks="$enable_libtool_lock"
12039
13074
 
 
13075
if test -n "$ac_tool_prefix"; then
 
13076
  # Extract the first word of "${ac_tool_prefix}mt", so it can be a program name with args.
 
13077
set dummy ${ac_tool_prefix}mt; ac_word=$2
 
13078
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13079
$as_echo_n "checking for $ac_word... " >&6; }
 
13080
if ${ac_cv_prog_MANIFEST_TOOL+:} false; then :
 
13081
  $as_echo_n "(cached) " >&6
 
13082
else
 
13083
  if test -n "$MANIFEST_TOOL"; then
 
13084
  ac_cv_prog_MANIFEST_TOOL="$MANIFEST_TOOL" # Let the user override the test.
 
13085
else
 
13086
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13087
for as_dir in $PATH
 
13088
do
 
13089
  IFS=$as_save_IFS
 
13090
  test -z "$as_dir" && as_dir=.
 
13091
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13092
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13093
    ac_cv_prog_MANIFEST_TOOL="${ac_tool_prefix}mt"
 
13094
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13095
    break 2
 
13096
  fi
 
13097
done
 
13098
  done
 
13099
IFS=$as_save_IFS
 
13100
 
 
13101
fi
 
13102
fi
 
13103
MANIFEST_TOOL=$ac_cv_prog_MANIFEST_TOOL
 
13104
if test -n "$MANIFEST_TOOL"; then
 
13105
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MANIFEST_TOOL" >&5
 
13106
$as_echo "$MANIFEST_TOOL" >&6; }
 
13107
else
 
13108
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13109
$as_echo "no" >&6; }
 
13110
fi
 
13111
 
 
13112
 
 
13113
fi
 
13114
if test -z "$ac_cv_prog_MANIFEST_TOOL"; then
 
13115
  ac_ct_MANIFEST_TOOL=$MANIFEST_TOOL
 
13116
  # Extract the first word of "mt", so it can be a program name with args.
 
13117
set dummy mt; ac_word=$2
 
13118
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
 
13119
$as_echo_n "checking for $ac_word... " >&6; }
 
13120
if ${ac_cv_prog_ac_ct_MANIFEST_TOOL+:} false; then :
 
13121
  $as_echo_n "(cached) " >&6
 
13122
else
 
13123
  if test -n "$ac_ct_MANIFEST_TOOL"; then
 
13124
  ac_cv_prog_ac_ct_MANIFEST_TOOL="$ac_ct_MANIFEST_TOOL" # Let the user override the test.
 
13125
else
 
13126
as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
 
13127
for as_dir in $PATH
 
13128
do
 
13129
  IFS=$as_save_IFS
 
13130
  test -z "$as_dir" && as_dir=.
 
13131
    for ac_exec_ext in '' $ac_executable_extensions; do
 
13132
  if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
 
13133
    ac_cv_prog_ac_ct_MANIFEST_TOOL="mt"
 
13134
    $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
 
13135
    break 2
 
13136
  fi
 
13137
done
 
13138
  done
 
13139
IFS=$as_save_IFS
 
13140
 
 
13141
fi
 
13142
fi
 
13143
ac_ct_MANIFEST_TOOL=$ac_cv_prog_ac_ct_MANIFEST_TOOL
 
13144
if test -n "$ac_ct_MANIFEST_TOOL"; then
 
13145
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_MANIFEST_TOOL" >&5
 
13146
$as_echo "$ac_ct_MANIFEST_TOOL" >&6; }
 
13147
else
 
13148
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
 
13149
$as_echo "no" >&6; }
 
13150
fi
 
13151
 
 
13152
  if test "x$ac_ct_MANIFEST_TOOL" = x; then
 
13153
    MANIFEST_TOOL=":"
 
13154
  else
 
13155
    case $cross_compiling:$ac_tool_warned in
 
13156
yes:)
 
13157
{ $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
 
13158
$as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
 
13159
ac_tool_warned=yes ;;
 
13160
esac
 
13161
    MANIFEST_TOOL=$ac_ct_MANIFEST_TOOL
 
13162
  fi
 
13163
else
 
13164
  MANIFEST_TOOL="$ac_cv_prog_MANIFEST_TOOL"
 
13165
fi
 
13166
 
 
13167
test -z "$MANIFEST_TOOL" && MANIFEST_TOOL=mt
 
13168
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $MANIFEST_TOOL is a manifest tool" >&5
 
13169
$as_echo_n "checking if $MANIFEST_TOOL is a manifest tool... " >&6; }
 
13170
if ${lt_cv_path_mainfest_tool+:} false; then :
 
13171
  $as_echo_n "(cached) " >&6
 
13172
else
 
13173
  lt_cv_path_mainfest_tool=no
 
13174
  echo "$as_me:$LINENO: $MANIFEST_TOOL '-?'" >&5
 
13175
  $MANIFEST_TOOL '-?' 2>conftest.err > conftest.out
 
13176
  cat conftest.err >&5
 
13177
  if $GREP 'Manifest Tool' conftest.out > /dev/null; then
 
13178
    lt_cv_path_mainfest_tool=yes
 
13179
  fi
 
13180
  rm -f conftest*
 
13181
fi
 
13182
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_mainfest_tool" >&5
 
13183
$as_echo "$lt_cv_path_mainfest_tool" >&6; }
 
13184
if test "x$lt_cv_path_mainfest_tool" != xyes; then
 
13185
  MANIFEST_TOOL=:
 
13186
fi
 
13187
 
 
13188
 
 
13189
 
 
13190
 
 
13191
 
12040
13192
 
12041
13193
  case $host_os in
12042
13194
    rhapsody* | darwin*)
12045
13197
set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
12046
13198
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12047
13199
$as_echo_n "checking for $ac_word... " >&6; }
12048
 
if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
 
13200
if ${ac_cv_prog_DSYMUTIL+:} false; then :
12049
13201
  $as_echo_n "(cached) " >&6
12050
13202
else
12051
13203
  if test -n "$DSYMUTIL"; then
12085
13237
set dummy dsymutil; ac_word=$2
12086
13238
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12087
13239
$as_echo_n "checking for $ac_word... " >&6; }
12088
 
if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
 
13240
if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
12089
13241
  $as_echo_n "(cached) " >&6
12090
13242
else
12091
13243
  if test -n "$ac_ct_DSYMUTIL"; then
12137
13289
set dummy ${ac_tool_prefix}nmedit; ac_word=$2
12138
13290
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12139
13291
$as_echo_n "checking for $ac_word... " >&6; }
12140
 
if test "${ac_cv_prog_NMEDIT+set}" = set; then :
 
13292
if ${ac_cv_prog_NMEDIT+:} false; then :
12141
13293
  $as_echo_n "(cached) " >&6
12142
13294
else
12143
13295
  if test -n "$NMEDIT"; then
12177
13329
set dummy nmedit; ac_word=$2
12178
13330
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12179
13331
$as_echo_n "checking for $ac_word... " >&6; }
12180
 
if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
 
13332
if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
12181
13333
  $as_echo_n "(cached) " >&6
12182
13334
else
12183
13335
  if test -n "$ac_ct_NMEDIT"; then
12229
13381
set dummy ${ac_tool_prefix}lipo; ac_word=$2
12230
13382
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12231
13383
$as_echo_n "checking for $ac_word... " >&6; }
12232
 
if test "${ac_cv_prog_LIPO+set}" = set; then :
 
13384
if ${ac_cv_prog_LIPO+:} false; then :
12233
13385
  $as_echo_n "(cached) " >&6
12234
13386
else
12235
13387
  if test -n "$LIPO"; then
12269
13421
set dummy lipo; ac_word=$2
12270
13422
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12271
13423
$as_echo_n "checking for $ac_word... " >&6; }
12272
 
if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
 
13424
if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
12273
13425
  $as_echo_n "(cached) " >&6
12274
13426
else
12275
13427
  if test -n "$ac_ct_LIPO"; then
12321
13473
set dummy ${ac_tool_prefix}otool; ac_word=$2
12322
13474
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12323
13475
$as_echo_n "checking for $ac_word... " >&6; }
12324
 
if test "${ac_cv_prog_OTOOL+set}" = set; then :
 
13476
if ${ac_cv_prog_OTOOL+:} false; then :
12325
13477
  $as_echo_n "(cached) " >&6
12326
13478
else
12327
13479
  if test -n "$OTOOL"; then
12361
13513
set dummy otool; ac_word=$2
12362
13514
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12363
13515
$as_echo_n "checking for $ac_word... " >&6; }
12364
 
if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
 
13516
if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
12365
13517
  $as_echo_n "(cached) " >&6
12366
13518
else
12367
13519
  if test -n "$ac_ct_OTOOL"; then
12413
13565
set dummy ${ac_tool_prefix}otool64; ac_word=$2
12414
13566
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12415
13567
$as_echo_n "checking for $ac_word... " >&6; }
12416
 
if test "${ac_cv_prog_OTOOL64+set}" = set; then :
 
13568
if ${ac_cv_prog_OTOOL64+:} false; then :
12417
13569
  $as_echo_n "(cached) " >&6
12418
13570
else
12419
13571
  if test -n "$OTOOL64"; then
12453
13605
set dummy otool64; ac_word=$2
12454
13606
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
12455
13607
$as_echo_n "checking for $ac_word... " >&6; }
12456
 
if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
 
13608
if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
12457
13609
  $as_echo_n "(cached) " >&6
12458
13610
else
12459
13611
  if test -n "$ac_ct_OTOOL64"; then
12528
13680
 
12529
13681
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
12530
13682
$as_echo_n "checking for -single_module linker flag... " >&6; }
12531
 
if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
 
13683
if ${lt_cv_apple_cc_single_mod+:} false; then :
12532
13684
  $as_echo_n "(cached) " >&6
12533
13685
else
12534
13686
  lt_cv_apple_cc_single_mod=no
12557
13709
$as_echo "$lt_cv_apple_cc_single_mod" >&6; }
12558
13710
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
12559
13711
$as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
12560
 
if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
 
13712
if ${lt_cv_ld_exported_symbols_list+:} false; then :
12561
13713
  $as_echo_n "(cached) " >&6
12562
13714
else
12563
13715
  lt_cv_ld_exported_symbols_list=no
12589
13741
$as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
12590
13742
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
12591
13743
$as_echo_n "checking for -force_load linker flag... " >&6; }
12592
 
if test "${lt_cv_ld_force_load+set}" = set; then :
 
13744
if ${lt_cv_ld_force_load+:} false; then :
12593
13745
  $as_echo_n "(cached) " >&6
12594
13746
else
12595
13747
  lt_cv_ld_force_load=no
12658
13810
do :
12659
13811
  ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
12660
13812
"
12661
 
if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
 
13813
if test "x$ac_cv_header_dlfcn_h" = xyes; then :
12662
13814
  cat >>confdefs.h <<_ACEOF
12663
13815
#define HAVE_DLFCN_H 1
12664
13816
_ACEOF
12669
13821
 
12670
13822
 
12671
13823
 
 
13824
func_stripname_cnf ()
 
13825
{
 
13826
  case ${2} in
 
13827
  .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
 
13828
  *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
 
13829
  esac
 
13830
} # func_stripname_cnf
 
13831
 
 
13832
 
 
13833
 
12672
13834
 
12673
13835
 
12674
13836
# Set options
12843
14005
 
12844
14006
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
12845
14007
$as_echo_n "checking for objdir... " >&6; }
12846
 
if test "${lt_cv_objdir+set}" = set; then :
 
14008
if ${lt_cv_objdir+:} false; then :
12847
14009
  $as_echo_n "(cached) " >&6
12848
14010
else
12849
14011
  rm -f .libs 2>/dev/null
12921
14083
  if test "$file_magic_cmd" = '$MAGIC_CMD'; then
12922
14084
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
12923
14085
$as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
12924
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
14086
if ${lt_cv_path_MAGIC_CMD+:} false; then :
12925
14087
  $as_echo_n "(cached) " >&6
12926
14088
else
12927
14089
  case $MAGIC_CMD in
12987
14149
  if test -n "$ac_tool_prefix"; then
12988
14150
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
12989
14151
$as_echo_n "checking for file... " >&6; }
12990
 
if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
 
14152
if ${lt_cv_path_MAGIC_CMD+:} false; then :
12991
14153
  $as_echo_n "(cached) " >&6
12992
14154
else
12993
14155
  case $MAGIC_CMD in
13129
14291
 
13130
14292
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
13131
14293
$as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
13132
 
if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
 
14294
if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
13133
14295
  $as_echo_n "(cached) " >&6
13134
14296
else
13135
14297
  lt_cv_prog_compiler_rtti_exceptions=no
13182
14344
lt_prog_compiler_pic=
13183
14345
lt_prog_compiler_static=
13184
14346
 
13185
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13186
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13187
14347
 
13188
14348
  if test "$GCC" = yes; then
13189
14349
    lt_prog_compiler_wl='-Wl,'
13348
14508
        lt_prog_compiler_pic='--shared'
13349
14509
        lt_prog_compiler_static='--static'
13350
14510
        ;;
 
14511
      nagfor*)
 
14512
        # NAG Fortran compiler
 
14513
        lt_prog_compiler_wl='-Wl,-Wl,,'
 
14514
        lt_prog_compiler_pic='-PIC'
 
14515
        lt_prog_compiler_static='-Bstatic'
 
14516
        ;;
13351
14517
      pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
13352
14518
        # Portland Group compilers (*not* the Pentium gcc compiler,
13353
14519
        # which looks to be a dead project)
13467
14633
    lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
13468
14634
    ;;
13469
14635
esac
13470
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
13471
 
$as_echo "$lt_prog_compiler_pic" >&6; }
13472
 
 
13473
 
 
13474
 
 
13475
 
 
13476
 
 
 
14636
 
 
14637
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
14638
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
14639
if ${lt_cv_prog_compiler_pic+:} false; then :
 
14640
  $as_echo_n "(cached) " >&6
 
14641
else
 
14642
  lt_cv_prog_compiler_pic=$lt_prog_compiler_pic
 
14643
fi
 
14644
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic" >&5
 
14645
$as_echo "$lt_cv_prog_compiler_pic" >&6; }
 
14646
lt_prog_compiler_pic=$lt_cv_prog_compiler_pic
13477
14647
 
13478
14648
#
13479
14649
# Check to make sure the PIC flag actually works.
13481
14651
if test -n "$lt_prog_compiler_pic"; then
13482
14652
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
13483
14653
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
13484
 
if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
 
14654
if ${lt_cv_prog_compiler_pic_works+:} false; then :
13485
14655
  $as_echo_n "(cached) " >&6
13486
14656
else
13487
14657
  lt_cv_prog_compiler_pic_works=no
13534
14704
 
13535
14705
 
13536
14706
 
 
14707
 
 
14708
 
 
14709
 
 
14710
 
 
14711
 
13537
14712
#
13538
14713
# Check to make sure the static flag actually works.
13539
14714
#
13540
14715
wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
13541
14716
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13542
14717
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
13543
 
if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
 
14718
if ${lt_cv_prog_compiler_static_works+:} false; then :
13544
14719
  $as_echo_n "(cached) " >&6
13545
14720
else
13546
14721
  lt_cv_prog_compiler_static_works=no
13583
14758
 
13584
14759
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13585
14760
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13586
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
14761
if ${lt_cv_prog_compiler_c_o+:} false; then :
13587
14762
  $as_echo_n "(cached) " >&6
13588
14763
else
13589
14764
  lt_cv_prog_compiler_c_o=no
13638
14813
 
13639
14814
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
13640
14815
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
13641
 
if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
 
14816
if ${lt_cv_prog_compiler_c_o+:} false; then :
13642
14817
  $as_echo_n "(cached) " >&6
13643
14818
else
13644
14819
  lt_cv_prog_compiler_c_o=no
13776
14951
  openbsd*)
13777
14952
    with_gnu_ld=no
13778
14953
    ;;
 
14954
  linux* | k*bsd*-gnu | gnu*)
 
14955
    link_all_deplibs=no
 
14956
    ;;
13779
14957
  esac
13780
14958
 
13781
14959
  ld_shlibs=yes
13884
15062
      allow_undefined_flag=unsupported
13885
15063
      always_export_symbols=no
13886
15064
      enable_shared_with_static_runtimes=yes
13887
 
      export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
15065
      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'
 
15066
      exclude_expsyms='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
13888
15067
 
13889
15068
      if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13890
15069
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
13932
15111
      if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
13933
15112
         && test "$tmp_diet" = no
13934
15113
      then
13935
 
        tmp_addflag=
 
15114
        tmp_addflag=' $pic_flag'
13936
15115
        tmp_sharedflag='-shared'
13937
15116
        case $cc_basename,$host_cpu in
13938
15117
        pgcc*)                          # Portland Group C compiler
13997
15176
      fi
13998
15177
      ;;
13999
15178
 
14000
 
    netbsd*)
 
15179
    netbsd* | netbsdelf*-gnu)
14001
15180
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14002
15181
        archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
14003
15182
        wlarc=
14004
15183
      else
14005
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14006
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15184
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15185
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14007
15186
      fi
14008
15187
      ;;
14009
15188
 
14021
15200
 
14022
15201
_LT_EOF
14023
15202
      elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14024
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14025
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15203
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15204
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14026
15205
      else
14027
15206
        ld_shlibs=no
14028
15207
      fi
14068
15247
 
14069
15248
    *)
14070
15249
      if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
14071
 
        archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
14072
 
        archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
15250
        archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
15251
        archive_expsym_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
14073
15252
      else
14074
15253
        ld_shlibs=no
14075
15254
      fi
14174
15353
        if test "$aix_use_runtimelinking" = yes; then
14175
15354
          shared_flag="$shared_flag "'${wl}-G'
14176
15355
        fi
 
15356
        link_all_deplibs=no
14177
15357
      else
14178
15358
        # not using gcc
14179
15359
        if test "$host_cpu" = ia64; then
14199
15379
        allow_undefined_flag='-berok'
14200
15380
        # Determine the default libpath from the value encoded in an
14201
15381
        # empty executable.
14202
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15382
        if test "${lt_cv_aix_libpath+set}" = set; then
 
15383
  aix_libpath=$lt_cv_aix_libpath
 
15384
else
 
15385
  if ${lt_cv_aix_libpath_+:} false; then :
 
15386
  $as_echo_n "(cached) " >&6
 
15387
else
 
15388
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203
15389
/* end confdefs.h.  */
14204
15390
 
14205
15391
int
14212
15398
_ACEOF
14213
15399
if ac_fn_c_try_link "$LINENO"; then :
14214
15400
 
14215
 
lt_aix_libpath_sed='
14216
 
    /Import File Strings/,/^$/ {
14217
 
        /^0/ {
14218
 
            s/^0  *\(.*\)$/\1/
14219
 
            p
14220
 
        }
14221
 
    }'
14222
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14223
 
# Check for a 64-bit object if we didn't find anything.
14224
 
if test -z "$aix_libpath"; then
14225
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14226
 
fi
 
15401
  lt_aix_libpath_sed='
 
15402
      /Import File Strings/,/^$/ {
 
15403
          /^0/ {
 
15404
              s/^0  *\([^ ]*\) *$/\1/
 
15405
              p
 
15406
          }
 
15407
      }'
 
15408
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15409
  # Check for a 64-bit object if we didn't find anything.
 
15410
  if test -z "$lt_cv_aix_libpath_"; then
 
15411
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15412
  fi
14227
15413
fi
14228
15414
rm -f core conftest.err conftest.$ac_objext \
14229
15415
    conftest$ac_exeext conftest.$ac_ext
14230
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
15416
  if test -z "$lt_cv_aix_libpath_"; then
 
15417
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
15418
  fi
 
15419
 
 
15420
fi
 
15421
 
 
15422
  aix_libpath=$lt_cv_aix_libpath_
 
15423
fi
14231
15424
 
14232
15425
        hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14233
15426
        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"
14239
15432
        else
14240
15433
         # Determine the default libpath from the value encoded in an
14241
15434
         # empty executable.
14242
 
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15435
         if test "${lt_cv_aix_libpath+set}" = set; then
 
15436
  aix_libpath=$lt_cv_aix_libpath
 
15437
else
 
15438
  if ${lt_cv_aix_libpath_+:} false; then :
 
15439
  $as_echo_n "(cached) " >&6
 
15440
else
 
15441
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14243
15442
/* end confdefs.h.  */
14244
15443
 
14245
15444
int
14252
15451
_ACEOF
14253
15452
if ac_fn_c_try_link "$LINENO"; then :
14254
15453
 
14255
 
lt_aix_libpath_sed='
14256
 
    /Import File Strings/,/^$/ {
14257
 
        /^0/ {
14258
 
            s/^0  *\(.*\)$/\1/
14259
 
            p
14260
 
        }
14261
 
    }'
14262
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14263
 
# Check for a 64-bit object if we didn't find anything.
14264
 
if test -z "$aix_libpath"; then
14265
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
14266
 
fi
 
15454
  lt_aix_libpath_sed='
 
15455
      /Import File Strings/,/^$/ {
 
15456
          /^0/ {
 
15457
              s/^0  *\([^ ]*\) *$/\1/
 
15458
              p
 
15459
          }
 
15460
      }'
 
15461
  lt_cv_aix_libpath_=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15462
  # Check for a 64-bit object if we didn't find anything.
 
15463
  if test -z "$lt_cv_aix_libpath_"; then
 
15464
    lt_cv_aix_libpath_=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
15465
  fi
14267
15466
fi
14268
15467
rm -f core conftest.err conftest.$ac_objext \
14269
15468
    conftest$ac_exeext conftest.$ac_ext
14270
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
15469
  if test -z "$lt_cv_aix_libpath_"; then
 
15470
    lt_cv_aix_libpath_="/usr/lib:/lib"
 
15471
  fi
 
15472
 
 
15473
fi
 
15474
 
 
15475
  aix_libpath=$lt_cv_aix_libpath_
 
15476
fi
14271
15477
 
14272
15478
         hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
14273
15479
          # Warning - without using the other run time loading flags,
14312
15518
      # Microsoft Visual C++.
14313
15519
      # hardcode_libdir_flag_spec is actually meaningless, as there is
14314
15520
      # no search path for DLLs.
14315
 
      hardcode_libdir_flag_spec=' '
14316
 
      allow_undefined_flag=unsupported
14317
 
      # Tell ltmain to make .lib files, not .a files.
14318
 
      libext=lib
14319
 
      # Tell ltmain to make .dll files, not .so files.
14320
 
      shrext_cmds=".dll"
14321
 
      # FIXME: Setting linknames here is a bad hack.
14322
 
      archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
14323
 
      # The linker will automatically build a .lib file if we build a DLL.
14324
 
      old_archive_from_new_cmds='true'
14325
 
      # FIXME: Should let the user specify the lib program.
14326
 
      old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
14327
 
      fix_srcfile_path='`cygpath -w "$srcfile"`'
14328
 
      enable_shared_with_static_runtimes=yes
 
15521
      case $cc_basename in
 
15522
      cl*)
 
15523
        # Native MSVC
 
15524
        hardcode_libdir_flag_spec=' '
 
15525
        allow_undefined_flag=unsupported
 
15526
        always_export_symbols=yes
 
15527
        file_list_spec='@'
 
15528
        # Tell ltmain to make .lib files, not .a files.
 
15529
        libext=lib
 
15530
        # Tell ltmain to make .dll files, not .so files.
 
15531
        shrext_cmds=".dll"
 
15532
        # FIXME: Setting linknames here is a bad hack.
 
15533
        archive_cmds='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
15534
        archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
15535
            sed -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
15536
          else
 
15537
            sed -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
15538
          fi~
 
15539
          $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
15540
          linknames='
 
15541
        # The linker will not automatically build a static lib if we build a DLL.
 
15542
        # _LT_TAGVAR(old_archive_from_new_cmds, )='true'
 
15543
        enable_shared_with_static_runtimes=yes
 
15544
        export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1,DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
 
15545
        # Don't use ranlib
 
15546
        old_postinstall_cmds='chmod 644 $oldlib'
 
15547
        postlink_cmds='lt_outputfile="@OUTPUT@"~
 
15548
          lt_tool_outputfile="@TOOL_OUTPUT@"~
 
15549
          case $lt_outputfile in
 
15550
            *.exe|*.EXE) ;;
 
15551
            *)
 
15552
              lt_outputfile="$lt_outputfile.exe"
 
15553
              lt_tool_outputfile="$lt_tool_outputfile.exe"
 
15554
              ;;
 
15555
          esac~
 
15556
          if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
15557
            $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
15558
            $RM "$lt_outputfile.manifest";
 
15559
          fi'
 
15560
        ;;
 
15561
      *)
 
15562
        # Assume MSVC wrapper
 
15563
        hardcode_libdir_flag_spec=' '
 
15564
        allow_undefined_flag=unsupported
 
15565
        # Tell ltmain to make .lib files, not .a files.
 
15566
        libext=lib
 
15567
        # Tell ltmain to make .dll files, not .so files.
 
15568
        shrext_cmds=".dll"
 
15569
        # FIXME: Setting linknames here is a bad hack.
 
15570
        archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
 
15571
        # The linker will automatically build a .lib file if we build a DLL.
 
15572
        old_archive_from_new_cmds='true'
 
15573
        # FIXME: Should let the user specify the lib program.
 
15574
        old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
 
15575
        enable_shared_with_static_runtimes=yes
 
15576
        ;;
 
15577
      esac
14329
15578
      ;;
14330
15579
 
14331
15580
    darwin* | rhapsody*)
14390
15639
 
14391
15640
    # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
14392
15641
    freebsd* | dragonfly*)
14393
 
      archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
 
15642
      archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
14394
15643
      hardcode_libdir_flag_spec='-R$libdir'
14395
15644
      hardcode_direct=yes
14396
15645
      hardcode_shlibpath_var=no
14398
15647
 
14399
15648
    hpux9*)
14400
15649
      if test "$GCC" = yes; then
14401
 
        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'
 
15650
        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'
14402
15651
      else
14403
15652
        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'
14404
15653
      fi
14414
15663
 
14415
15664
    hpux10*)
14416
15665
      if test "$GCC" = yes && test "$with_gnu_ld" = no; then
14417
 
        archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15666
        archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14418
15667
      else
14419
15668
        archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
14420
15669
      fi
14438
15687
          archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14439
15688
          ;;
14440
15689
        ia64*)
14441
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
 
15690
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
14442
15691
          ;;
14443
15692
        *)
14444
 
          archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
 
15693
          archive_cmds='$CC -shared $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
14445
15694
          ;;
14446
15695
        esac
14447
15696
      else
14458
15707
          # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
14459
15708
          { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
14460
15709
$as_echo_n "checking if $CC understands -b... " >&6; }
14461
 
if test "${lt_cv_prog_compiler__b+set}" = set; then :
 
15710
if ${lt_cv_prog_compiler__b+:} false; then :
14462
15711
  $as_echo_n "(cached) " >&6
14463
15712
else
14464
15713
  lt_cv_prog_compiler__b=no
14520
15769
 
14521
15770
    irix5* | irix6* | nonstopux*)
14522
15771
      if test "$GCC" = yes; then
14523
 
        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'
 
15772
        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'
14524
15773
        # Try to use the -exported_symbol ld option, if it does not
14525
15774
        # work, assume that -exports_file does not work either and
14526
15775
        # implicitly export all symbols.
14527
 
        save_LDFLAGS="$LDFLAGS"
14528
 
        LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
14529
 
        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
15776
        # This should be the same for all languages, so no per-tag cache variable.
 
15777
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $host_os linker accepts -exported_symbol" >&5
 
15778
$as_echo_n "checking whether the $host_os linker accepts -exported_symbol... " >&6; }
 
15779
if ${lt_cv_irix_exported_symbol+:} false; then :
 
15780
  $as_echo_n "(cached) " >&6
 
15781
else
 
15782
  save_LDFLAGS="$LDFLAGS"
 
15783
           LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
 
15784
           cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14530
15785
/* end confdefs.h.  */
14531
 
int foo(void) {}
 
15786
int foo (void) { return 0; }
14532
15787
_ACEOF
14533
15788
if ac_fn_c_try_link "$LINENO"; then :
14534
 
  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'
14535
 
 
 
15789
  lt_cv_irix_exported_symbol=yes
 
15790
else
 
15791
  lt_cv_irix_exported_symbol=no
14536
15792
fi
14537
15793
rm -f core conftest.err conftest.$ac_objext \
14538
15794
    conftest$ac_exeext conftest.$ac_ext
14539
 
        LDFLAGS="$save_LDFLAGS"
 
15795
           LDFLAGS="$save_LDFLAGS"
 
15796
fi
 
15797
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_irix_exported_symbol" >&5
 
15798
$as_echo "$lt_cv_irix_exported_symbol" >&6; }
 
15799
        if test "$lt_cv_irix_exported_symbol" = yes; then
 
15800
          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'
 
15801
        fi
14540
15802
      else
14541
15803
        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'
14542
15804
        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'
14548
15810
      link_all_deplibs=yes
14549
15811
      ;;
14550
15812
 
14551
 
    netbsd*)
 
15813
    netbsd* | netbsdelf*-gnu)
14552
15814
      if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14553
15815
        archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'  # a.out
14554
15816
      else
14621
15883
    osf4* | osf5*)      # as osf3* with the addition of -msym flag
14622
15884
      if test "$GCC" = yes; then
14623
15885
        allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
14624
 
        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'
 
15886
        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'
14625
15887
        hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
14626
15888
      else
14627
15889
        allow_undefined_flag=' -expect_unresolved \*'
14640
15902
      no_undefined_flag=' -z defs'
14641
15903
      if test "$GCC" = yes; then
14642
15904
        wlarc='${wl}'
14643
 
        archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
 
15905
        archive_cmds='$CC -shared $pic_flag ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
14644
15906
        archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
14645
 
          $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
 
15907
          $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'
14646
15908
      else
14647
15909
        case `$CC -V 2>&1` in
14648
15910
        *"Compilers 5.0"*)
14830
16092
      # to ld, don't add -lc before -lgcc.
14831
16093
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14832
16094
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14833
 
if test "${lt_cv_archive_cmds_need_lc+set}" = set; then :
 
16095
if ${lt_cv_archive_cmds_need_lc+:} false; then :
14834
16096
  $as_echo_n "(cached) " >&6
14835
16097
else
14836
16098
  $RM conftest*
15218
16480
  need_version=no
15219
16481
  need_lib_prefix=no
15220
16482
 
15221
 
  case $GCC,$host_os in
15222
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
16483
  case $GCC,$cc_basename in
 
16484
  yes,*)
 
16485
    # gcc
15223
16486
    library_names_spec='$libname.dll.a'
15224
16487
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
15225
16488
    postinstall_cmds='base_file=`basename \${file}`~
15252
16515
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
15253
16516
      ;;
15254
16517
    esac
 
16518
    dynamic_linker='Win32 ld.exe'
 
16519
    ;;
 
16520
 
 
16521
  *,cl*)
 
16522
    # Native MSVC
 
16523
    libname_spec='$name'
 
16524
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
16525
    library_names_spec='${libname}.dll.lib'
 
16526
 
 
16527
    case $build_os in
 
16528
    mingw*)
 
16529
      sys_lib_search_path_spec=
 
16530
      lt_save_ifs=$IFS
 
16531
      IFS=';'
 
16532
      for lt_path in $LIB
 
16533
      do
 
16534
        IFS=$lt_save_ifs
 
16535
        # Let DOS variable expansion print the short 8.3 style file name.
 
16536
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
16537
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
16538
      done
 
16539
      IFS=$lt_save_ifs
 
16540
      # Convert to MSYS style.
 
16541
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
16542
      ;;
 
16543
    cygwin*)
 
16544
      # Convert to unix form, then to dos form, then back to unix form
 
16545
      # but this time dos style (no spaces!) so that the unix form looks
 
16546
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
16547
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
16548
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
16549
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
16550
      ;;
 
16551
    *)
 
16552
      sys_lib_search_path_spec="$LIB"
 
16553
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
16554
        # It is most probably a Windows format PATH.
 
16555
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
16556
      else
 
16557
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
16558
      fi
 
16559
      # FIXME: find the short name or the path components, as spaces are
 
16560
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
16561
      ;;
 
16562
    esac
 
16563
 
 
16564
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
16565
    postinstall_cmds='base_file=`basename \${file}`~
 
16566
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
16567
      dldir=$destdir/`dirname \$dlpath`~
 
16568
      test -d \$dldir || mkdir -p \$dldir~
 
16569
      $install_prog $dir/$dlname \$dldir/$dlname'
 
16570
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
16571
      dlpath=$dir/\$dldll~
 
16572
       $RM \$dlpath'
 
16573
    shlibpath_overrides_runpath=yes
 
16574
    dynamic_linker='Win32 link.exe'
15255
16575
    ;;
15256
16576
 
15257
16577
  *)
 
16578
    # Assume MSVC wrapper
15258
16579
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
16580
    dynamic_linker='Win32 ld.exe'
15259
16581
    ;;
15260
16582
  esac
15261
 
  dynamic_linker='Win32 ld.exe'
15262
16583
  # FIXME: first we should search . and the directory the executable is in
15263
16584
  shlibpath_var=PATH
15264
16585
  ;;
15342
16663
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
15343
16664
  soname_spec='${libname}${release}${shared_ext}$major'
15344
16665
  shlibpath_var=LD_LIBRARY_PATH
 
16666
  shlibpath_overrides_runpath=no
15345
16667
  hardcode_into_libs=yes
15346
16668
  ;;
15347
16669
 
15472
16794
  shlibpath_overrides_runpath=no
15473
16795
 
15474
16796
  # Some binutils ld are patched to set DT_RUNPATH
15475
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
16797
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15476
16798
  $as_echo_n "(cached) " >&6
15477
16799
else
15478
16800
  lt_cv_shlibpath_overrides_runpath=no
15525
16847
  dynamic_linker='GNU/Linux ld.so'
15526
16848
  ;;
15527
16849
 
 
16850
netbsdelf*-gnu)
 
16851
  version_type=linux
 
16852
  need_lib_prefix=no
 
16853
  need_version=no
 
16854
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
16855
  soname_spec='${libname}${release}${shared_ext}$major'
 
16856
  shlibpath_var=LD_LIBRARY_PATH
 
16857
  shlibpath_overrides_runpath=no
 
16858
  hardcode_into_libs=yes
 
16859
  dynamic_linker='NetBSD ld.elf_so'
 
16860
  ;;
 
16861
 
15528
16862
netbsd*)
15529
16863
  version_type=sunos
15530
16864
  need_lib_prefix=no
15892
17226
  # if libdl is installed we need to link against it
15893
17227
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15894
17228
$as_echo_n "checking for dlopen in -ldl... " >&6; }
15895
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
17229
if ${ac_cv_lib_dl_dlopen+:} false; then :
15896
17230
  $as_echo_n "(cached) " >&6
15897
17231
else
15898
17232
  ac_check_lib_save_LIBS=$LIBS
15926
17260
fi
15927
17261
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15928
17262
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15929
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
17263
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15930
17264
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
15931
17265
else
15932
17266
 
15940
17274
 
15941
17275
  *)
15942
17276
    ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
15943
 
if test "x$ac_cv_func_shl_load" = x""yes; then :
 
17277
if test "x$ac_cv_func_shl_load" = xyes; then :
15944
17278
  lt_cv_dlopen="shl_load"
15945
17279
else
15946
17280
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
15947
17281
$as_echo_n "checking for shl_load in -ldld... " >&6; }
15948
 
if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
 
17282
if ${ac_cv_lib_dld_shl_load+:} false; then :
15949
17283
  $as_echo_n "(cached) " >&6
15950
17284
else
15951
17285
  ac_check_lib_save_LIBS=$LIBS
15979
17313
fi
15980
17314
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
15981
17315
$as_echo "$ac_cv_lib_dld_shl_load" >&6; }
15982
 
if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
 
17316
if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
15983
17317
  lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
15984
17318
else
15985
17319
  ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
15986
 
if test "x$ac_cv_func_dlopen" = x""yes; then :
 
17320
if test "x$ac_cv_func_dlopen" = xyes; then :
15987
17321
  lt_cv_dlopen="dlopen"
15988
17322
else
15989
17323
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15990
17324
$as_echo_n "checking for dlopen in -ldl... " >&6; }
15991
 
if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
 
17325
if ${ac_cv_lib_dl_dlopen+:} false; then :
15992
17326
  $as_echo_n "(cached) " >&6
15993
17327
else
15994
17328
  ac_check_lib_save_LIBS=$LIBS
16022
17356
fi
16023
17357
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
16024
17358
$as_echo "$ac_cv_lib_dl_dlopen" >&6; }
16025
 
if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
 
17359
if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
16026
17360
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
16027
17361
else
16028
17362
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
16029
17363
$as_echo_n "checking for dlopen in -lsvld... " >&6; }
16030
 
if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
 
17364
if ${ac_cv_lib_svld_dlopen+:} false; then :
16031
17365
  $as_echo_n "(cached) " >&6
16032
17366
else
16033
17367
  ac_check_lib_save_LIBS=$LIBS
16061
17395
fi
16062
17396
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
16063
17397
$as_echo "$ac_cv_lib_svld_dlopen" >&6; }
16064
 
if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
 
17398
if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
16065
17399
  lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
16066
17400
else
16067
17401
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
16068
17402
$as_echo_n "checking for dld_link in -ldld... " >&6; }
16069
 
if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
 
17403
if ${ac_cv_lib_dld_dld_link+:} false; then :
16070
17404
  $as_echo_n "(cached) " >&6
16071
17405
else
16072
17406
  ac_check_lib_save_LIBS=$LIBS
16100
17434
fi
16101
17435
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
16102
17436
$as_echo "$ac_cv_lib_dld_dld_link" >&6; }
16103
 
if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
 
17437
if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
16104
17438
  lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
16105
17439
fi
16106
17440
 
16141
17475
 
16142
17476
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
16143
17477
$as_echo_n "checking whether a program can dlopen itself... " >&6; }
16144
 
if test "${lt_cv_dlopen_self+set}" = set; then :
 
17478
if ${lt_cv_dlopen_self+:} false; then :
16145
17479
  $as_echo_n "(cached) " >&6
16146
17480
else
16147
17481
          if test "$cross_compiling" = yes; then :
16194
17528
/* When -fvisbility=hidden is used, assume the code has been annotated
16195
17529
   correspondingly for the symbols needed.  */
16196
17530
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
16197
 
void fnord () __attribute__((visibility("default")));
 
17531
int fnord () __attribute__((visibility("default")));
16198
17532
#endif
16199
17533
 
16200
 
void fnord () { int i=42; }
 
17534
int fnord () { return 42; }
16201
17535
int main ()
16202
17536
{
16203
17537
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16247
17581
      wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
16248
17582
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
16249
17583
$as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
16250
 
if test "${lt_cv_dlopen_self_static+set}" = set; then :
 
17584
if ${lt_cv_dlopen_self_static+:} false; then :
16251
17585
  $as_echo_n "(cached) " >&6
16252
17586
else
16253
17587
          if test "$cross_compiling" = yes; then :
16300
17634
/* When -fvisbility=hidden is used, assume the code has been annotated
16301
17635
   correspondingly for the symbols needed.  */
16302
17636
#if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
16303
 
void fnord () __attribute__((visibility("default")));
 
17637
int fnord () __attribute__((visibility("default")));
16304
17638
#endif
16305
17639
 
16306
 
void fnord () { int i=42; }
 
17640
int fnord () { return 42; }
16307
17641
int main ()
16308
17642
{
16309
17643
  void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
16484
17818
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
16485
17819
$as_echo_n "checking how to run the C++ preprocessor... " >&6; }
16486
17820
if test -z "$CXXCPP"; then
16487
 
  if test "${ac_cv_prog_CXXCPP+set}" = set; then :
 
17821
  if ${ac_cv_prog_CXXCPP+:} false; then :
16488
17822
  $as_echo_n "(cached) " >&6
16489
17823
else
16490
17824
      # Double quotes because CXXCPP needs to be expanded
16600
17934
  { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
16601
17935
$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
16602
17936
as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
16603
 
See \`config.log' for more details" "$LINENO" 5 ; }
 
17937
See \`config.log' for more details" "$LINENO" 5; }
16604
17938
fi
16605
17939
 
16606
17940
ac_ext=c
16695
18029
 
16696
18030
  # Allow CC to be a program name with arguments.
16697
18031
  lt_save_CC=$CC
 
18032
  lt_save_CFLAGS=$CFLAGS
16698
18033
  lt_save_LD=$LD
16699
18034
  lt_save_GCC=$GCC
16700
18035
  GCC=$GXX
16712
18047
  fi
16713
18048
  test -z "${LDCXX+set}" || LD=$LDCXX
16714
18049
  CC=${CXX-"c++"}
 
18050
  CFLAGS=$CXXFLAGS
16715
18051
  compiler=$CC
16716
18052
  compiler_CXX=$CC
16717
18053
  for cc_temp in $compiler""; do
16785
18121
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
16786
18122
$as_echo_n "checking for non-GNU ld... " >&6; }
16787
18123
fi
16788
 
if test "${lt_cv_path_LD+set}" = set; then :
 
18124
if ${lt_cv_path_LD+:} false; then :
16789
18125
  $as_echo_n "(cached) " >&6
16790
18126
else
16791
18127
  if test -z "$LD"; then
16825
18161
test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
16826
18162
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
16827
18163
$as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
16828
 
if test "${lt_cv_prog_gnu_ld+set}" = set; then :
 
18164
if ${lt_cv_prog_gnu_ld+:} false; then :
16829
18165
  $as_echo_n "(cached) " >&6
16830
18166
else
16831
18167
  # I'd rather use --version here, but apparently some GNU lds only accept -v.
16851
18187
      # Check if GNU C++ uses GNU ld as the underlying linker, since the
16852
18188
      # archiving commands below assume that GNU ld is being used.
16853
18189
      if test "$with_gnu_ld" = yes; then
16854
 
        archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
16855
 
        archive_expsym_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
 
18190
        archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
 
18191
        archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
16856
18192
 
16857
18193
        hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
16858
18194
        export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
16994
18330
          allow_undefined_flag_CXX='-berok'
16995
18331
          # Determine the default libpath from the value encoded in an empty
16996
18332
          # executable.
16997
 
          cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
18333
          if test "${lt_cv_aix_libpath+set}" = set; then
 
18334
  aix_libpath=$lt_cv_aix_libpath
 
18335
else
 
18336
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
18337
  $as_echo_n "(cached) " >&6
 
18338
else
 
18339
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16998
18340
/* end confdefs.h.  */
16999
18341
 
17000
18342
int
17007
18349
_ACEOF
17008
18350
if ac_fn_cxx_try_link "$LINENO"; then :
17009
18351
 
17010
 
lt_aix_libpath_sed='
17011
 
    /Import File Strings/,/^$/ {
17012
 
        /^0/ {
17013
 
            s/^0  *\(.*\)$/\1/
17014
 
            p
17015
 
        }
17016
 
    }'
17017
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17018
 
# Check for a 64-bit object if we didn't find anything.
17019
 
if test -z "$aix_libpath"; then
17020
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17021
 
fi
 
18352
  lt_aix_libpath_sed='
 
18353
      /Import File Strings/,/^$/ {
 
18354
          /^0/ {
 
18355
              s/^0  *\([^ ]*\) *$/\1/
 
18356
              p
 
18357
          }
 
18358
      }'
 
18359
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18360
  # Check for a 64-bit object if we didn't find anything.
 
18361
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
18362
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18363
  fi
17022
18364
fi
17023
18365
rm -f core conftest.err conftest.$ac_objext \
17024
18366
    conftest$ac_exeext conftest.$ac_ext
17025
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
18367
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
18368
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
18369
  fi
 
18370
 
 
18371
fi
 
18372
 
 
18373
  aix_libpath=$lt_cv_aix_libpath__CXX
 
18374
fi
17026
18375
 
17027
18376
          hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17028
18377
 
17035
18384
          else
17036
18385
            # Determine the default libpath from the value encoded in an
17037
18386
            # empty executable.
17038
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
18387
            if test "${lt_cv_aix_libpath+set}" = set; then
 
18388
  aix_libpath=$lt_cv_aix_libpath
 
18389
else
 
18390
  if ${lt_cv_aix_libpath__CXX+:} false; then :
 
18391
  $as_echo_n "(cached) " >&6
 
18392
else
 
18393
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17039
18394
/* end confdefs.h.  */
17040
18395
 
17041
18396
int
17048
18403
_ACEOF
17049
18404
if ac_fn_cxx_try_link "$LINENO"; then :
17050
18405
 
17051
 
lt_aix_libpath_sed='
17052
 
    /Import File Strings/,/^$/ {
17053
 
        /^0/ {
17054
 
            s/^0  *\(.*\)$/\1/
17055
 
            p
17056
 
        }
17057
 
    }'
17058
 
aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17059
 
# Check for a 64-bit object if we didn't find anything.
17060
 
if test -z "$aix_libpath"; then
17061
 
  aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
17062
 
fi
 
18406
  lt_aix_libpath_sed='
 
18407
      /Import File Strings/,/^$/ {
 
18408
          /^0/ {
 
18409
              s/^0  *\([^ ]*\) *$/\1/
 
18410
              p
 
18411
          }
 
18412
      }'
 
18413
  lt_cv_aix_libpath__CXX=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18414
  # Check for a 64-bit object if we didn't find anything.
 
18415
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
18416
    lt_cv_aix_libpath__CXX=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
 
18417
  fi
17063
18418
fi
17064
18419
rm -f core conftest.err conftest.$ac_objext \
17065
18420
    conftest$ac_exeext conftest.$ac_ext
17066
 
if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
 
18421
  if test -z "$lt_cv_aix_libpath__CXX"; then
 
18422
    lt_cv_aix_libpath__CXX="/usr/lib:/lib"
 
18423
  fi
 
18424
 
 
18425
fi
 
18426
 
 
18427
  aix_libpath=$lt_cv_aix_libpath__CXX
 
18428
fi
17067
18429
 
17068
18430
            hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
17069
18431
            # Warning - without using the other run time loading flags,
17106
18468
        ;;
17107
18469
 
17108
18470
      cygwin* | mingw* | pw32* | cegcc*)
17109
 
        # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
17110
 
        # as there is no search path for DLLs.
17111
 
        hardcode_libdir_flag_spec_CXX='-L$libdir'
17112
 
        export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
17113
 
        allow_undefined_flag_CXX=unsupported
17114
 
        always_export_symbols_CXX=no
17115
 
        enable_shared_with_static_runtimes_CXX=yes
 
18471
        case $GXX,$cc_basename in
 
18472
        ,cl* | no,cl*)
 
18473
          # Native MSVC
 
18474
          # hardcode_libdir_flag_spec is actually meaningless, as there is
 
18475
          # no search path for DLLs.
 
18476
          hardcode_libdir_flag_spec_CXX=' '
 
18477
          allow_undefined_flag_CXX=unsupported
 
18478
          always_export_symbols_CXX=yes
 
18479
          file_list_spec_CXX='@'
 
18480
          # Tell ltmain to make .lib files, not .a files.
 
18481
          libext=lib
 
18482
          # Tell ltmain to make .dll files, not .so files.
 
18483
          shrext_cmds=".dll"
 
18484
          # FIXME: Setting linknames here is a bad hack.
 
18485
          archive_cmds_CXX='$CC -o $output_objdir/$soname $libobjs $compiler_flags $deplibs -Wl,-dll~linknames='
 
18486
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
18487
              $SED -n -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' -e '1\\\!p' < $export_symbols > $output_objdir/$soname.exp;
 
18488
            else
 
18489
              $SED -e 's/\\\\\\\(.*\\\\\\\)/-link\\\ -EXPORT:\\\\\\\1/' < $export_symbols > $output_objdir/$soname.exp;
 
18490
            fi~
 
18491
            $CC -o $tool_output_objdir$soname $libobjs $compiler_flags $deplibs "@$tool_output_objdir$soname.exp" -Wl,-DLL,-IMPLIB:"$tool_output_objdir$libname.dll.lib"~
 
18492
            linknames='
 
18493
          # The linker will not automatically build a static lib if we build a DLL.
 
18494
          # _LT_TAGVAR(old_archive_from_new_cmds, CXX)='true'
 
18495
          enable_shared_with_static_runtimes_CXX=yes
 
18496
          # Don't use ranlib
 
18497
          old_postinstall_cmds_CXX='chmod 644 $oldlib'
 
18498
          postlink_cmds_CXX='lt_outputfile="@OUTPUT@"~
 
18499
            lt_tool_outputfile="@TOOL_OUTPUT@"~
 
18500
            case $lt_outputfile in
 
18501
              *.exe|*.EXE) ;;
 
18502
              *)
 
18503
                lt_outputfile="$lt_outputfile.exe"
 
18504
                lt_tool_outputfile="$lt_tool_outputfile.exe"
 
18505
                ;;
 
18506
            esac~
 
18507
            func_to_tool_file "$lt_outputfile"~
 
18508
            if test "$MANIFEST_TOOL" != ":" && test -f "$lt_outputfile.manifest"; then
 
18509
              $MANIFEST_TOOL -manifest "$lt_tool_outputfile.manifest" -outputresource:"$lt_tool_outputfile" || exit 1;
 
18510
              $RM "$lt_outputfile.manifest";
 
18511
            fi'
 
18512
          ;;
 
18513
        *)
 
18514
          # g++
 
18515
          # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
 
18516
          # as there is no search path for DLLs.
 
18517
          hardcode_libdir_flag_spec_CXX='-L$libdir'
 
18518
          export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
 
18519
          allow_undefined_flag_CXX=unsupported
 
18520
          always_export_symbols_CXX=no
 
18521
          enable_shared_with_static_runtimes_CXX=yes
17116
18522
 
17117
 
        if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
17118
 
          archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17119
 
          # If the export-symbols file already is a .def file (1st line
17120
 
          # is EXPORTS), use it as is; otherwise, prepend...
17121
 
          archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
17122
 
            cp $export_symbols $output_objdir/$soname.def;
17123
 
          else
17124
 
            echo EXPORTS > $output_objdir/$soname.def;
17125
 
            cat $export_symbols >> $output_objdir/$soname.def;
17126
 
          fi~
17127
 
          $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
17128
 
        else
17129
 
          ld_shlibs_CXX=no
17130
 
        fi
17131
 
        ;;
 
18523
          if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
 
18524
            archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
18525
            # If the export-symbols file already is a .def file (1st line
 
18526
            # is EXPORTS), use it as is; otherwise, prepend...
 
18527
            archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
 
18528
              cp $export_symbols $output_objdir/$soname.def;
 
18529
            else
 
18530
              echo EXPORTS > $output_objdir/$soname.def;
 
18531
              cat $export_symbols >> $output_objdir/$soname.def;
 
18532
            fi~
 
18533
            $CC -shared -nostdlib $output_objdir/$soname.def $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
 
18534
          else
 
18535
            ld_shlibs_CXX=no
 
18536
          fi
 
18537
          ;;
 
18538
        esac
 
18539
        ;;
17132
18540
      darwin* | rhapsody*)
17133
18541
 
17134
18542
 
17234
18642
            ;;
17235
18643
          *)
17236
18644
            if test "$GXX" = yes; then
17237
 
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
 
18645
              archive_cmds_CXX='$RM $output_objdir/$soname~$CC -shared -nostdlib $pic_flag ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
17238
18646
            else
17239
18647
              # FIXME: insert proper C++ library support
17240
18648
              ld_shlibs_CXX=no
17305
18713
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17306
18714
                    ;;
17307
18715
                  ia64*)
17308
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
18716
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17309
18717
                    ;;
17310
18718
                  *)
17311
 
                    archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
 
18719
                    archive_cmds_CXX='$CC -shared -nostdlib $pic_flag ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
17312
18720
                    ;;
17313
18721
                esac
17314
18722
              fi
17349
18757
          *)
17350
18758
            if test "$GXX" = yes; then
17351
18759
              if test "$with_gnu_ld" = no; then
17352
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
18760
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17353
18761
              else
17354
 
                archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
 
18762
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` -o $lib'
17355
18763
              fi
17356
18764
            fi
17357
18765
            link_all_deplibs_CXX=yes
17629
19037
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17630
19038
                  ;;
17631
19039
                *)
17632
 
                  archive_cmds_CXX='$CC -shared -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
 
19040
                  archive_cmds_CXX='$CC -shared $pic_flag -nostdlib ${allow_undefined_flag} $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && func_echo_all "${wl}-set_version ${wl}$verstring"` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
17633
19041
                  ;;
17634
19042
              esac
17635
19043
 
17716
19124
            if test "$GXX" = yes && test "$with_gnu_ld" = no; then
17717
19125
              no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
17718
19126
              if $CC --version | $GREP -v '^2\.7' > /dev/null; then
17719
 
                archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
 
19127
                archive_cmds_CXX='$CC -shared $pic_flag -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
17720
19128
                archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
17721
 
                  $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
 
19129
                  $CC -shared $pic_flag -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
17722
19130
 
17723
19131
                # Commands to make compiler produce verbose output that lists
17724
19132
                # what "hidden" libraries, object files and flags are used when
17853
19261
};
17854
19262
_LT_EOF
17855
19263
 
 
19264
 
 
19265
_lt_libdeps_save_CFLAGS=$CFLAGS
 
19266
case "$CC $CFLAGS " in #(
 
19267
*\ -flto*\ *) CFLAGS="$CFLAGS -fno-lto" ;;
 
19268
*\ -fwhopr*\ *) CFLAGS="$CFLAGS -fno-whopr" ;;
 
19269
esac
 
19270
 
17856
19271
if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
17857
19272
  (eval $ac_compile) 2>&5
17858
19273
  ac_status=$?
17866
19281
  pre_test_object_deps_done=no
17867
19282
 
17868
19283
  for p in `eval "$output_verbose_link_cmd"`; do
17869
 
    case $p in
 
19284
    case ${prev}${p} in
17870
19285
 
17871
19286
    -L* | -R* | -l*)
17872
19287
       # Some compilers place space between "-{L,R}" and the path.
17875
19290
          test $p = "-R"; then
17876
19291
         prev=$p
17877
19292
         continue
17878
 
       else
17879
 
         prev=
17880
19293
       fi
17881
19294
 
 
19295
       # Expand the sysroot to ease extracting the directories later.
 
19296
       if test -z "$prev"; then
 
19297
         case $p in
 
19298
         -L*) func_stripname_cnf '-L' '' "$p"; prev=-L; p=$func_stripname_result ;;
 
19299
         -R*) func_stripname_cnf '-R' '' "$p"; prev=-R; p=$func_stripname_result ;;
 
19300
         -l*) func_stripname_cnf '-l' '' "$p"; prev=-l; p=$func_stripname_result ;;
 
19301
         esac
 
19302
       fi
 
19303
       case $p in
 
19304
       =*) func_stripname_cnf '=' '' "$p"; p=$lt_sysroot$func_stripname_result ;;
 
19305
       esac
17882
19306
       if test "$pre_test_object_deps_done" = no; then
17883
 
         case $p in
17884
 
         -L* | -R*)
 
19307
         case ${prev} in
 
19308
         -L | -R)
17885
19309
           # Internal compiler library paths should come after those
17886
19310
           # provided the user.  The postdeps already come after the
17887
19311
           # user supplied libs so there is no need to process them.
17901
19325
           postdeps_CXX="${postdeps_CXX} ${prev}${p}"
17902
19326
         fi
17903
19327
       fi
 
19328
       prev=
17904
19329
       ;;
17905
19330
 
 
19331
    *.lto.$objext) ;; # Ignore GCC LTO objects
17906
19332
    *.$objext)
17907
19333
       # This assumes that the test object file only shows up
17908
19334
       # once in the compiler output.
17938
19364
fi
17939
19365
 
17940
19366
$RM -f confest.$objext
 
19367
CFLAGS=$_lt_libdeps_save_CFLAGS
17941
19368
 
17942
19369
# PORTME: override above test on systems where it is broken
17943
19370
case $host_os in
18038
19465
lt_prog_compiler_pic_CXX=
18039
19466
lt_prog_compiler_static_CXX=
18040
19467
 
18041
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
18042
 
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
18043
19468
 
18044
19469
  # C++ specific cases for pic, static, wl, etc.
18045
19470
  if test "$GXX" = yes; then
18143
19568
          ;;
18144
19569
        esac
18145
19570
        ;;
 
19571
      mingw* | cygwin* | os2* | pw32* | cegcc*)
 
19572
        # This hack is so that the source file can tell whether it is being
 
19573
        # built for inclusion in a dll (and should export symbols for example).
 
19574
        lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
 
19575
        ;;
18146
19576
      dgux*)
18147
19577
        case $cc_basename in
18148
19578
          ec++*)
18263
19693
            ;;
18264
19694
        esac
18265
19695
        ;;
18266
 
      netbsd*)
 
19696
      netbsd* | netbsdelf*-gnu)
18267
19697
        ;;
18268
19698
      *qnx* | *nto*)
18269
19699
        # QNX uses GNU C++, but need to define -shared option too, otherwise
18360
19790
    lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
18361
19791
    ;;
18362
19792
esac
18363
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
18364
 
$as_echo "$lt_prog_compiler_pic_CXX" >&6; }
18365
 
 
18366
 
 
 
19793
 
 
19794
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
 
19795
$as_echo_n "checking for $compiler option to produce PIC... " >&6; }
 
19796
if ${lt_cv_prog_compiler_pic_CXX+:} false; then :
 
19797
  $as_echo_n "(cached) " >&6
 
19798
else
 
19799
  lt_cv_prog_compiler_pic_CXX=$lt_prog_compiler_pic_CXX
 
19800
fi
 
19801
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_CXX" >&5
 
19802
$as_echo "$lt_cv_prog_compiler_pic_CXX" >&6; }
 
19803
lt_prog_compiler_pic_CXX=$lt_cv_prog_compiler_pic_CXX
18367
19804
 
18368
19805
#
18369
19806
# Check to make sure the PIC flag actually works.
18371
19808
if test -n "$lt_prog_compiler_pic_CXX"; then
18372
19809
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
18373
19810
$as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
18374
 
if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
 
19811
if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
18375
19812
  $as_echo_n "(cached) " >&6
18376
19813
else
18377
19814
  lt_cv_prog_compiler_pic_works_CXX=no
18421
19858
 
18422
19859
 
18423
19860
 
 
19861
 
 
19862
 
18424
19863
#
18425
19864
# Check to make sure the static flag actually works.
18426
19865
#
18427
19866
wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
18428
19867
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
18429
19868
$as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
18430
 
if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
 
19869
if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
18431
19870
  $as_echo_n "(cached) " >&6
18432
19871
else
18433
19872
  lt_cv_prog_compiler_static_works_CXX=no
18467
19906
 
18468
19907
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18469
19908
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18470
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
19909
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
18471
19910
  $as_echo_n "(cached) " >&6
18472
19911
else
18473
19912
  lt_cv_prog_compiler_c_o_CXX=no
18519
19958
 
18520
19959
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
18521
19960
$as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
18522
 
if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
 
19961
if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
18523
19962
  $as_echo_n "(cached) " >&6
18524
19963
else
18525
19964
  lt_cv_prog_compiler_c_o_CXX=no
18598
20037
$as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
18599
20038
 
18600
20039
  export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
 
20040
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18601
20041
  case $host_os in
18602
20042
  aix[4-9]*)
18603
20043
    # If we're using GNU nm, then we don't want the "-C" option.
18612
20052
    ;;
18613
20053
  pw32*)
18614
20054
    export_symbols_cmds_CXX="$ltdll_cmds"
18615
 
  ;;
 
20055
    ;;
18616
20056
  cygwin* | mingw* | cegcc*)
18617
 
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;/^.*[ ]__nm__/s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
18618
 
  ;;
 
20057
    case $cc_basename in
 
20058
    cl*) ;;
 
20059
    *)
 
20060
      export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/;s/^.*[ ]__nm__\([^ ]*\)[ ][^ ]*/\1 DATA/;/^I[ ]/d;/^[AITW][ ]/s/.* //'\'' | sort | uniq > $export_symbols'
 
20061
      exclude_expsyms_CXX='[_]+GLOBAL_OFFSET_TABLE_|[_]+GLOBAL__[FID]_.*|[_]+head_[A-Za-z0-9_]+_dll|[A-Za-z0-9_]+_dll_iname'
 
20062
      ;;
 
20063
    esac
 
20064
    ;;
 
20065
  linux* | k*bsd*-gnu | gnu*)
 
20066
    link_all_deplibs_CXX=no
 
20067
    ;;
18619
20068
  *)
18620
20069
    export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
18621
 
  ;;
 
20070
    ;;
18622
20071
  esac
18623
 
  exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
18624
20072
 
18625
20073
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
18626
20074
$as_echo "$ld_shlibs_CXX" >&6; }
18652
20100
      # to ld, don't add -lc before -lgcc.
18653
20101
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
18654
20102
$as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
18655
 
if test "${lt_cv_archive_cmds_need_lc_CXX+set}" = set; then :
 
20103
if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
18656
20104
  $as_echo_n "(cached) " >&6
18657
20105
else
18658
20106
  $RM conftest*
18883
20331
  need_version=no
18884
20332
  need_lib_prefix=no
18885
20333
 
18886
 
  case $GCC,$host_os in
18887
 
  yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
 
20334
  case $GCC,$cc_basename in
 
20335
  yes,*)
 
20336
    # gcc
18888
20337
    library_names_spec='$libname.dll.a'
18889
20338
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
18890
20339
    postinstall_cmds='base_file=`basename \${file}`~
18916
20365
      library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
18917
20366
      ;;
18918
20367
    esac
 
20368
    dynamic_linker='Win32 ld.exe'
 
20369
    ;;
 
20370
 
 
20371
  *,cl*)
 
20372
    # Native MSVC
 
20373
    libname_spec='$name'
 
20374
    soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
 
20375
    library_names_spec='${libname}.dll.lib'
 
20376
 
 
20377
    case $build_os in
 
20378
    mingw*)
 
20379
      sys_lib_search_path_spec=
 
20380
      lt_save_ifs=$IFS
 
20381
      IFS=';'
 
20382
      for lt_path in $LIB
 
20383
      do
 
20384
        IFS=$lt_save_ifs
 
20385
        # Let DOS variable expansion print the short 8.3 style file name.
 
20386
        lt_path=`cd "$lt_path" 2>/dev/null && cmd //C "for %i in (".") do @echo %~si"`
 
20387
        sys_lib_search_path_spec="$sys_lib_search_path_spec $lt_path"
 
20388
      done
 
20389
      IFS=$lt_save_ifs
 
20390
      # Convert to MSYS style.
 
20391
      sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | sed -e 's|\\\\|/|g' -e 's| \\([a-zA-Z]\\):| /\\1|g' -e 's|^ ||'`
 
20392
      ;;
 
20393
    cygwin*)
 
20394
      # Convert to unix form, then to dos form, then back to unix form
 
20395
      # but this time dos style (no spaces!) so that the unix form looks
 
20396
      # like /cygdrive/c/PROGRA~1:/cygdr...
 
20397
      sys_lib_search_path_spec=`cygpath --path --unix "$LIB"`
 
20398
      sys_lib_search_path_spec=`cygpath --path --dos "$sys_lib_search_path_spec" 2>/dev/null`
 
20399
      sys_lib_search_path_spec=`cygpath --path --unix "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
20400
      ;;
 
20401
    *)
 
20402
      sys_lib_search_path_spec="$LIB"
 
20403
      if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
 
20404
        # It is most probably a Windows format PATH.
 
20405
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
 
20406
      else
 
20407
        sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
 
20408
      fi
 
20409
      # FIXME: find the short name or the path components, as spaces are
 
20410
      # common. (e.g. "Program Files" -> "PROGRA~1")
 
20411
      ;;
 
20412
    esac
 
20413
 
 
20414
    # DLL is installed to $(libdir)/../bin by postinstall_cmds
 
20415
    postinstall_cmds='base_file=`basename \${file}`~
 
20416
      dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
 
20417
      dldir=$destdir/`dirname \$dlpath`~
 
20418
      test -d \$dldir || mkdir -p \$dldir~
 
20419
      $install_prog $dir/$dlname \$dldir/$dlname'
 
20420
    postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
 
20421
      dlpath=$dir/\$dldll~
 
20422
       $RM \$dlpath'
 
20423
    shlibpath_overrides_runpath=yes
 
20424
    dynamic_linker='Win32 link.exe'
18919
20425
    ;;
18920
20426
 
18921
20427
  *)
 
20428
    # Assume MSVC wrapper
18922
20429
    library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
 
20430
    dynamic_linker='Win32 ld.exe'
18923
20431
    ;;
18924
20432
  esac
18925
 
  dynamic_linker='Win32 ld.exe'
18926
20433
  # FIXME: first we should search . and the directory the executable is in
18927
20434
  shlibpath_var=PATH
18928
20435
  ;;
19005
20512
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
19006
20513
  soname_spec='${libname}${release}${shared_ext}$major'
19007
20514
  shlibpath_var=LD_LIBRARY_PATH
 
20515
  shlibpath_overrides_runpath=no
19008
20516
  hardcode_into_libs=yes
19009
20517
  ;;
19010
20518
 
19135
20643
  shlibpath_overrides_runpath=no
19136
20644
 
19137
20645
  # Some binutils ld are patched to set DT_RUNPATH
19138
 
  if test "${lt_cv_shlibpath_overrides_runpath+set}" = set; then :
 
20646
  if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
19139
20647
  $as_echo_n "(cached) " >&6
19140
20648
else
19141
20649
  lt_cv_shlibpath_overrides_runpath=no
19188
20696
  dynamic_linker='GNU/Linux ld.so'
19189
20697
  ;;
19190
20698
 
 
20699
netbsdelf*-gnu)
 
20700
  version_type=linux
 
20701
  need_lib_prefix=no
 
20702
  need_version=no
 
20703
  library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
 
20704
  soname_spec='${libname}${release}${shared_ext}$major'
 
20705
  shlibpath_var=LD_LIBRARY_PATH
 
20706
  shlibpath_overrides_runpath=no
 
20707
  hardcode_into_libs=yes
 
20708
  dynamic_linker='NetBSD ld.elf_so'
 
20709
  ;;
 
20710
 
19191
20711
netbsd*)
19192
20712
  version_type=sunos
19193
20713
  need_lib_prefix=no
19476
20996
  fi # test -n "$compiler"
19477
20997
 
19478
20998
  CC=$lt_save_CC
 
20999
  CFLAGS=$lt_save_CFLAGS
19479
21000
  LDCXX=$LD
19480
21001
  LD=$lt_save_LD
19481
21002
  GCC=$lt_save_GCC
19537
21058
  GNULIB_SHUTDOWN=0;
19538
21059
  GNULIB_ACCEPT4=0;
19539
21060
  HAVE_STRUCT_SOCKADDR_STORAGE=1;
 
21061
  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=1;
 
21062
 
19540
21063
  HAVE_SA_FAMILY_T=1;
19541
21064
  HAVE_ACCEPT4=1;
19542
21065
 
19544
21067
 
19545
21068
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the preprocessor supports include_next" >&5
19546
21069
$as_echo_n "checking whether the preprocessor supports include_next... " >&6; }
19547
 
if test "${gl_cv_have_include_next+set}" = set; then :
 
21070
if ${gl_cv_have_include_next+:} false; then :
19548
21071
  $as_echo_n "(cached) " >&6
19549
21072
else
19550
21073
  rm -rf conftestd1a conftestd1b conftestd2
19622
21145
 
19623
21146
 
19624
21147
 
19625
 
 
19626
 
 
19627
 
 
19628
 
 
 
21148
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether system header files limit the line length" >&5
 
21149
$as_echo_n "checking whether system header files limit the line length... " >&6; }
 
21150
if ${gl_cv_pragma_columns+:} false; then :
 
21151
  $as_echo_n "(cached) " >&6
 
21152
else
 
21153
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21154
/* end confdefs.h.  */
 
21155
 
 
21156
#ifdef __TANDEM
 
21157
choke me
 
21158
#endif
 
21159
 
 
21160
_ACEOF
 
21161
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
21162
  $EGREP "choke me" >/dev/null 2>&1; then :
 
21163
  gl_cv_pragma_columns=yes
 
21164
else
 
21165
  gl_cv_pragma_columns=no
 
21166
fi
 
21167
rm -f conftest*
 
21168
 
 
21169
 
 
21170
fi
 
21171
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_pragma_columns" >&5
 
21172
$as_echo "$gl_cv_pragma_columns" >&6; }
 
21173
  if test $gl_cv_pragma_columns = yes; then
 
21174
    PRAGMA_COLUMNS="#pragma COLUMNS 10000"
 
21175
  else
 
21176
    PRAGMA_COLUMNS=
 
21177
  fi
 
21178
 
 
21179
 
 
21180
 
 
21181
 
 
21182
 
 
21183
 
 
21184
 
 
21185
        case "$host_os" in
 
21186
    osf*)
 
21187
 
 
21188
$as_echo "#define _POSIX_PII_SOCKET 1" >>confdefs.h
 
21189
 
 
21190
      ;;
 
21191
  esac
19629
21192
 
19630
21193
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> is self-contained" >&5
19631
21194
$as_echo_n "checking whether <sys/socket.h> is self-contained... " >&6; }
19632
 
if test "${gl_cv_header_sys_socket_h_selfcontained+set}" = set; then :
 
21195
if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then :
19633
21196
  $as_echo_n "(cached) " >&6
19634
21197
else
19635
21198
 
19658
21221
            for ac_func in shutdown
19659
21222
do :
19660
21223
  ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown"
19661
 
if test "x$ac_cv_func_shutdown" = x""yes; then :
 
21224
if test "x$ac_cv_func_shutdown" = xyes; then :
19662
21225
  cat >>confdefs.h <<_ACEOF
19663
21226
#define HAVE_SHUTDOWN 1
19664
21227
_ACEOF
19669
21232
    if test $ac_cv_func_shutdown = yes; then
19670
21233
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> defines the SHUT_* macros" >&5
19671
21234
$as_echo_n "checking whether <sys/socket.h> defines the SHUT_* macros... " >&6; }
19672
 
if test "${gl_cv_header_sys_socket_h_shut+set}" = set; then :
 
21235
if ${gl_cv_header_sys_socket_h_shut+:} false; then :
19673
21236
  $as_echo_n "(cached) " >&6
19674
21237
else
19675
21238
 
19705
21268
 
19706
21269
 
19707
21270
 
 
21271
 
 
21272
 
19708
21273
  :
19709
21274
 
19710
21275
 
19713
21278
 
19714
21279
 
19715
21280
 
 
21281
 
19716
21282
     if test $gl_cv_have_include_next = yes; then
19717
21283
       gl_cv_next_sys_socket_h='<'sys/socket.h'>'
19718
21284
     else
19719
21285
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/socket.h>" >&5
19720
21286
$as_echo_n "checking absolute name of <sys/socket.h>... " >&6; }
19721
 
if test "${gl_cv_next_sys_socket_h+set}" = set; then :
 
21287
if ${gl_cv_next_sys_socket_h+:} false; then :
19722
21288
  $as_echo_n "(cached) " >&6
19723
21289
else
19724
21290
 
19725
 
          if test $ac_cv_header_sys_socket_h = yes; then
19726
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21291
             if test $ac_cv_header_sys_socket_h = yes; then
 
21292
 
 
21293
 
 
21294
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19727
21295
/* end confdefs.h.  */
19728
21296
#include <sys/socket.h>
19729
21297
 
19730
21298
_ACEOF
19731
 
                                                                                                case "$host_os" in
19732
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
19733
 
              *)    gl_absname_cpp="$ac_cpp" ;;
19734
 
            esac
19735
 
                                                gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
19736
 
               sed -n '\#/sys/socket.h#{
19737
 
                 s#.*"\(.*/sys/socket.h\)".*#\1#
19738
 
                 s#^/[^/]#//&#
19739
 
                 p
19740
 
                 q
19741
 
               }'`'"'
 
21299
                                                                                                                        case "$host_os" in
 
21300
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
21301
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
21302
               esac
 
21303
                                                            gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
21304
                  sed -n '\#/sys/socket.h#{
 
21305
                    s#.*"\(.*/sys/socket.h\)".*#\1#
 
21306
                    s#^/[^/]#//&#
 
21307
                    p
 
21308
                    q
 
21309
                  }'`'"'
19742
21310
          else
19743
 
            gl_cv_next_sys_socket_h='<'sys/socket.h'>'
19744
 
          fi
 
21311
               gl_cv_next_sys_socket_h='<'sys/socket.h'>'
 
21312
             fi
 
21313
 
19745
21314
 
19746
21315
fi
19747
21316
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5
19760
21329
 
19761
21330
 
19762
21331
 
 
21332
 
19763
21333
  if test $ac_cv_header_sys_socket_h = yes; then
19764
21334
    HAVE_SYS_SOCKET_H=1
19765
21335
    HAVE_WS2TCPIP_H=0
19768
21338
                    for ac_header in ws2tcpip.h
19769
21339
do :
19770
21340
  ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default"
19771
 
if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then :
 
21341
if test "x$ac_cv_header_ws2tcpip_h" = xyes; then :
19772
21342
  cat >>confdefs.h <<_ACEOF
19773
21343
#define HAVE_WS2TCPIP_H 1
19774
21344
_ACEOF
19799
21369
#endif
19800
21370
 
19801
21371
"
19802
 
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
 
21372
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
19803
21373
 
19804
21374
cat >>confdefs.h <<_ACEOF
19805
21375
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
19820
21390
#endif
19821
21391
 
19822
21392
"
19823
 
if test "x$ac_cv_type_sa_family_t" = x""yes; then :
 
21393
if test "x$ac_cv_type_sa_family_t" = xyes; then :
19824
21394
 
19825
21395
cat >>confdefs.h <<_ACEOF
19826
21396
#define HAVE_SA_FAMILY_T 1
19835
21405
  if test $ac_cv_type_sa_family_t = no; then
19836
21406
    HAVE_SA_FAMILY_T=0
19837
21407
  fi
 
21408
  if test $ac_cv_type_struct_sockaddr_storage != no; then
 
21409
    ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h>
 
21410
       #ifdef HAVE_SYS_SOCKET_H
 
21411
       #include <sys/socket.h>
 
21412
       #endif
 
21413
       #ifdef HAVE_WS2TCPIP_H
 
21414
       #include <ws2tcpip.h>
 
21415
       #endif
 
21416
 
 
21417
"
 
21418
if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
 
21419
 
 
21420
cat >>confdefs.h <<_ACEOF
 
21421
#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
 
21422
_ACEOF
 
21423
 
 
21424
 
 
21425
else
 
21426
  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0
 
21427
fi
 
21428
 
 
21429
  fi
 
21430
  if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \
 
21431
     || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then
 
21432
    SYS_SOCKET_H='sys/socket.h'
 
21433
  fi
19838
21434
 
19839
21435
 
19840
21436
 
19849
21445
                    for ac_header in winsock2.h
19850
21446
do :
19851
21447
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
19852
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
 
21448
if test "x$ac_cv_header_winsock2_h" = xyes; then :
19853
21449
  cat >>confdefs.h <<_ACEOF
19854
21450
#define HAVE_WINSOCK2_H 1
19855
21451
_ACEOF
19874
21470
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
19875
21471
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
19876
21472
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
19877
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
21473
if eval \${$as_gl_Symbol+:} false; then :
19878
21474
  $as_echo_n "(cached) " >&6
19879
21475
else
19880
21476
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19882
21478
 
19883
21479
/* Some systems require prerequisite headers.  */
19884
21480
#include <sys/types.h>
19885
 
#if !defined __GLIBC__ && HAVE_SYS_TIME_H
19886
 
# include <sys/time.h>
19887
 
#endif
19888
 
#include <sys/select.h>
 
21481
#include <sys/socket.h>
19889
21482
 
19890
21483
int
19891
21484
main ()
19916
21509
      done
19917
21510
 
19918
21511
 
 
21512
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
 
21513
if test "x$ac_cv_type_size_t" = xyes; then :
 
21514
 
 
21515
else
 
21516
 
 
21517
cat >>confdefs.h <<_ACEOF
 
21518
#define size_t unsigned int
 
21519
_ACEOF
 
21520
 
 
21521
fi
 
21522
 
19919
21523
# The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
19920
21524
# for constant arguments.  Useless!
19921
21525
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
19922
21526
$as_echo_n "checking for working alloca.h... " >&6; }
19923
 
if test "${ac_cv_working_alloca_h+set}" = set; then :
 
21527
if ${ac_cv_working_alloca_h+:} false; then :
19924
21528
  $as_echo_n "(cached) " >&6
19925
21529
else
19926
21530
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19953
21557
 
19954
21558
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
19955
21559
$as_echo_n "checking for alloca... " >&6; }
19956
 
if test "${ac_cv_func_alloca_works+set}" = set; then :
 
21560
if ${ac_cv_func_alloca_works+:} false; then :
19957
21561
  $as_echo_n "(cached) " >&6
19958
21562
else
19959
21563
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19972
21576
 #pragma alloca
19973
21577
#   else
19974
21578
#    ifndef alloca /* predefined by HP cc +Olibcalls */
19975
 
char *alloca ();
 
21579
void *alloca (size_t);
19976
21580
#    endif
19977
21581
#   endif
19978
21582
#  endif
20020
21624
 
20021
21625
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
20022
21626
$as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
20023
 
if test "${ac_cv_os_cray+set}" = set; then :
 
21627
if ${ac_cv_os_cray+:} false; then :
20024
21628
  $as_echo_n "(cached) " >&6
20025
21629
else
20026
21630
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20061
21665
 
20062
21666
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
20063
21667
$as_echo_n "checking stack direction for C alloca... " >&6; }
20064
 
if test "${ac_cv_c_stack_direction+set}" = set; then :
 
21668
if ${ac_cv_c_stack_direction+:} false; then :
20065
21669
  $as_echo_n "(cached) " >&6
20066
21670
else
20067
21671
  if test "$cross_compiling" = yes; then :
20121
21725
 
20122
21726
 
20123
21727
 
 
21728
 
 
21729
 
 
21730
 
 
21731
 
 
21732
 
 
21733
 
 
21734
  :
 
21735
 
 
21736
 
 
21737
 
 
21738
 
 
21739
 
 
21740
  if test $ac_cv_header_features_h = yes; then
 
21741
    HAVE_FEATURES_H=1
 
21742
  else
 
21743
    HAVE_FEATURES_H=0
 
21744
  fi
 
21745
 
 
21746
 
 
21747
 
20124
21748
  GNULIB_DPRINTF=0;
20125
21749
  GNULIB_FCLOSE=0;
20126
21750
  GNULIB_FFLUSH=0;
20163
21787
  GNULIB_VSNPRINTF=0;
20164
21788
  GNULIB_VSPRINTF_POSIX=0;
20165
21789
    HAVE_DECL_FPURGE=1;
 
21790
  HAVE_DECL_FSEEKO=1;
 
21791
  HAVE_DECL_FTELLO=1;
20166
21792
  HAVE_DECL_GETDELIM=1;
20167
21793
  HAVE_DECL_GETLINE=1;
20168
21794
  HAVE_DECL_OBSTACK_PRINTF=1;
20207
21833
 
20208
21834
 
20209
21835
 
20210
 
 
20211
 
 
20212
 
 
20213
 
 
20214
 
 
20215
21836
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for complete errno.h" >&5
20216
21837
$as_echo_n "checking for complete errno.h... " >&6; }
20217
 
if test "${gl_cv_header_errno_h_complete+set}" = set; then :
 
21838
if ${gl_cv_header_errno_h_complete+:} false; then :
20218
21839
  $as_echo_n "(cached) " >&6
20219
21840
else
20220
21841
 
20249
21870
#if !defined ESTALE
20250
21871
booboo
20251
21872
#endif
 
21873
#if !defined EDQUOT
 
21874
booboo
 
21875
#endif
20252
21876
#if !defined ECANCELED
20253
21877
booboo
20254
21878
#endif
20273
21897
 
20274
21898
 
20275
21899
 
20276
 
  :
20277
 
 
20278
 
 
20279
 
 
20280
21900
 
20281
21901
 
20282
21902
 
20286
21906
     else
20287
21907
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <errno.h>" >&5
20288
21908
$as_echo_n "checking absolute name of <errno.h>... " >&6; }
20289
 
if test "${gl_cv_next_errno_h+set}" = set; then :
 
21909
if ${gl_cv_next_errno_h+:} false; then :
20290
21910
  $as_echo_n "(cached) " >&6
20291
21911
else
20292
21912
 
20293
 
          if test $ac_cv_header_errno_h = yes; then
20294
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
21913
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20295
21914
/* end confdefs.h.  */
20296
21915
#include <errno.h>
20297
21916
 
20298
21917
_ACEOF
20299
 
                                                                                                case "$host_os" in
20300
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
20301
 
              *)    gl_absname_cpp="$ac_cpp" ;;
20302
 
            esac
20303
 
                                                gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
20304
 
               sed -n '\#/errno.h#{
20305
 
                 s#.*"\(.*/errno.h\)".*#\1#
20306
 
                 s#^/[^/]#//&#
20307
 
                 p
20308
 
                 q
20309
 
               }'`'"'
20310
 
          else
20311
 
            gl_cv_next_errno_h='<'errno.h'>'
20312
 
          fi
 
21918
                                                                                                                        case "$host_os" in
 
21919
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
21920
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
21921
               esac
 
21922
                                                            gl_cv_next_errno_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
21923
                  sed -n '\#/errno.h#{
 
21924
                    s#.*"\(.*/errno.h\)".*#\1#
 
21925
                    s#^/[^/]#//&#
 
21926
                    p
 
21927
                    q
 
21928
                  }'`'"'
 
21929
 
20313
21930
 
20314
21931
fi
20315
21932
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_errno_h" >&5
20328
21945
 
20329
21946
 
20330
21947
 
 
21948
 
20331
21949
    ERRNO_H='errno.h'
20332
21950
  fi
20333
21951
 
20335
21953
  if test -n "$ERRNO_H"; then
20336
21954
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EMULTIHOP value" >&5
20337
21955
$as_echo_n "checking for EMULTIHOP value... " >&6; }
20338
 
if test "${gl_cv_header_errno_h_EMULTIHOP+set}" = set; then :
 
21956
if ${gl_cv_header_errno_h_EMULTIHOP+:} false; then :
20339
21957
  $as_echo_n "(cached) " >&6
20340
21958
else
20341
21959
 
20406
22024
  if test -n "$ERRNO_H"; then
20407
22025
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK value" >&5
20408
22026
$as_echo_n "checking for ENOLINK value... " >&6; }
20409
 
if test "${gl_cv_header_errno_h_ENOLINK+set}" = set; then :
 
22027
if ${gl_cv_header_errno_h_ENOLINK+:} false; then :
20410
22028
  $as_echo_n "(cached) " >&6
20411
22029
else
20412
22030
 
20477
22095
  if test -n "$ERRNO_H"; then
20478
22096
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW value" >&5
20479
22097
$as_echo_n "checking for EOVERFLOW value... " >&6; }
20480
 
if test "${gl_cv_header_errno_h_EOVERFLOW+set}" = set; then :
 
22098
if ${gl_cv_header_errno_h_EOVERFLOW+:} false; then :
20481
22099
  $as_echo_n "(cached) " >&6
20482
22100
else
20483
22101
 
20546
22164
 
20547
22165
 
20548
22166
ac_fn_c_check_decl "$LINENO" "strerror_r" "ac_cv_have_decl_strerror_r" "$ac_includes_default"
20549
 
if test "x$ac_cv_have_decl_strerror_r" = x""yes; then :
 
22167
if test "x$ac_cv_have_decl_strerror_r" = xyes; then :
20550
22168
  ac_have_decl=1
20551
22169
else
20552
22170
  ac_have_decl=0
20559
22177
for ac_func in strerror_r
20560
22178
do :
20561
22179
  ac_fn_c_check_func "$LINENO" "strerror_r" "ac_cv_func_strerror_r"
20562
 
if test "x$ac_cv_func_strerror_r" = x""yes; then :
 
22180
if test "x$ac_cv_func_strerror_r" = xyes; then :
20563
22181
  cat >>confdefs.h <<_ACEOF
20564
22182
#define HAVE_STRERROR_R 1
20565
22183
_ACEOF
20569
22187
 
20570
22188
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether strerror_r returns char *" >&5
20571
22189
$as_echo_n "checking whether strerror_r returns char *... " >&6; }
20572
 
if test "${ac_cv_func_strerror_r_char_p+set}" = set; then :
 
22190
if ${ac_cv_func_strerror_r_char_p+:} false; then :
20573
22191
  $as_echo_n "(cached) " >&6
20574
22192
else
20575
22193
 
20645
22263
 
20646
22264
 
20647
22265
 
20648
 
 
20649
 
 
20650
 
 
20651
 
 
20652
 
 
20653
22266
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fseeko" >&5
20654
22267
$as_echo_n "checking for fseeko... " >&6; }
20655
 
if test "${gl_cv_func_fseeko+set}" = set; then :
 
22268
if ${gl_cv_func_fseeko+:} false; then :
20656
22269
  $as_echo_n "(cached) " >&6
20657
22270
else
20658
22271
 
20683
22296
 
20684
22297
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdin defaults to large file offsets" >&5
20685
22298
$as_echo_n "checking whether stdin defaults to large file offsets... " >&6; }
20686
 
if test "${gl_cv_var_stdin_large_offset+set}" = set; then :
 
22299
if ${gl_cv_var_stdin_large_offset+:} false; then :
20687
22300
  $as_echo_n "(cached) " >&6
20688
22301
else
20689
22302
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20717
22330
$as_echo "$gl_cv_var_stdin_large_offset" >&6; }
20718
22331
 
20719
22332
 
 
22333
      ac_fn_c_check_decl "$LINENO" "fseeko" "ac_cv_have_decl_fseeko" "$ac_includes_default"
 
22334
if test "x$ac_cv_have_decl_fseeko" = xyes; then :
 
22335
  ac_have_decl=1
 
22336
else
 
22337
  ac_have_decl=0
 
22338
fi
 
22339
 
 
22340
cat >>confdefs.h <<_ACEOF
 
22341
#define HAVE_DECL_FSEEKO $ac_have_decl
 
22342
_ACEOF
 
22343
 
 
22344
 
 
22345
 
 
22346
      ac_fn_c_check_decl "$LINENO" "ftello" "ac_cv_have_decl_ftello" "$ac_includes_default"
 
22347
if test "x$ac_cv_have_decl_ftello" = xyes; then :
 
22348
  ac_have_decl=1
 
22349
else
 
22350
  ac_have_decl=0
 
22351
fi
 
22352
 
 
22353
cat >>confdefs.h <<_ACEOF
 
22354
#define HAVE_DECL_FTELLO $ac_have_decl
 
22355
_ACEOF
 
22356
 
 
22357
 
 
22358
 
20720
22359
  GNULIB_GETADDRINFO=0;
20721
22360
    HAVE_STRUCT_ADDRINFO=1;
20722
22361
  HAVE_DECL_FREEADDRINFO=1;
20732
22371
 
20733
22372
 
20734
22373
 
20735
 
  :
20736
 
 
20737
 
 
20738
 
 
20739
 
 
20740
 
 
20741
 
 
20742
 
 
20743
 
 
20744
 
 
20745
 
  :
 
22374
 
 
22375
 
 
22376
 
 
22377
 
 
22378
 
 
22379
  :
 
22380
 
20746
22381
 
20747
22382
 
20748
22383
 
20755
22390
     else
20756
22391
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <netdb.h>" >&5
20757
22392
$as_echo_n "checking absolute name of <netdb.h>... " >&6; }
20758
 
if test "${gl_cv_next_netdb_h+set}" = set; then :
 
22393
if ${gl_cv_next_netdb_h+:} false; then :
20759
22394
  $as_echo_n "(cached) " >&6
20760
22395
else
20761
22396
 
20762
 
          if test $ac_cv_header_netdb_h = yes; then
20763
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
22397
             if test $ac_cv_header_netdb_h = yes; then
 
22398
 
 
22399
 
 
22400
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20764
22401
/* end confdefs.h.  */
20765
22402
#include <netdb.h>
20766
22403
 
20767
22404
_ACEOF
20768
 
                                                                                                case "$host_os" in
20769
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
20770
 
              *)    gl_absname_cpp="$ac_cpp" ;;
20771
 
            esac
20772
 
                                                gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
20773
 
               sed -n '\#/netdb.h#{
20774
 
                 s#.*"\(.*/netdb.h\)".*#\1#
20775
 
                 s#^/[^/]#//&#
20776
 
                 p
20777
 
                 q
20778
 
               }'`'"'
 
22405
                                                                                                                        case "$host_os" in
 
22406
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
22407
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
22408
               esac
 
22409
                                                            gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
22410
                  sed -n '\#/netdb.h#{
 
22411
                    s#.*"\(.*/netdb.h\)".*#\1#
 
22412
                    s#^/[^/]#//&#
 
22413
                    p
 
22414
                    q
 
22415
                  }'`'"'
20779
22416
          else
20780
 
            gl_cv_next_netdb_h='<'netdb.h'>'
20781
 
          fi
 
22417
               gl_cv_next_netdb_h='<'netdb.h'>'
 
22418
             fi
 
22419
 
20782
22420
 
20783
22421
fi
20784
22422
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5
20797
22435
 
20798
22436
 
20799
22437
 
 
22438
 
20800
22439
  if test $ac_cv_header_netdb_h = yes; then
20801
22440
    HAVE_NETDB_H=1
20802
22441
  else
20809
22448
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
20810
22449
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
20811
22450
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
20812
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
22451
if eval \${$as_gl_Symbol+:} false; then :
20813
22452
  $as_echo_n "(cached) " >&6
20814
22453
else
20815
22454
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20849
22488
  gl_saved_libs="$LIBS"
20850
22489
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
20851
22490
$as_echo_n "checking for library containing gethostbyname... " >&6; }
20852
 
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
22491
if ${ac_cv_search_gethostbyname+:} false; then :
20853
22492
  $as_echo_n "(cached) " >&6
20854
22493
else
20855
22494
  ac_func_search_save_LIBS=$LIBS
20883
22522
fi
20884
22523
rm -f core conftest.err conftest.$ac_objext \
20885
22524
    conftest$ac_exeext
20886
 
  if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
22525
  if ${ac_cv_search_gethostbyname+:} false; then :
20887
22526
  break
20888
22527
fi
20889
22528
done
20890
 
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
22529
if ${ac_cv_search_gethostbyname+:} false; then :
20891
22530
 
20892
22531
else
20893
22532
  ac_cv_search_gethostbyname=no
20910
22549
    for ac_func in gethostbyname
20911
22550
do :
20912
22551
  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
20913
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
22552
if test "x$ac_cv_func_gethostbyname" = xyes; then :
20914
22553
  cat >>confdefs.h <<_ACEOF
20915
22554
#define HAVE_GETHOSTBYNAME 1
20916
22555
_ACEOF
20919
22558
 
20920
22559
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5
20921
22560
$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; }
20922
 
if test "${gl_cv_w32_gethostbyname+set}" = set; then :
 
22561
if ${gl_cv_w32_gethostbyname+:} false; then :
20923
22562
  $as_echo_n "(cached) " >&6
20924
22563
else
20925
22564
  gl_cv_w32_gethostbyname=no
20966
22605
  gl_saved_libs="$LIBS"
20967
22606
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5
20968
22607
$as_echo_n "checking for library containing getservbyname... " >&6; }
20969
 
if test "${ac_cv_search_getservbyname+set}" = set; then :
 
22608
if ${ac_cv_search_getservbyname+:} false; then :
20970
22609
  $as_echo_n "(cached) " >&6
20971
22610
else
20972
22611
  ac_func_search_save_LIBS=$LIBS
21000
22639
fi
21001
22640
rm -f core conftest.err conftest.$ac_objext \
21002
22641
    conftest$ac_exeext
21003
 
  if test "${ac_cv_search_getservbyname+set}" = set; then :
 
22642
  if ${ac_cv_search_getservbyname+:} false; then :
21004
22643
  break
21005
22644
fi
21006
22645
done
21007
 
if test "${ac_cv_search_getservbyname+set}" = set; then :
 
22646
if ${ac_cv_search_getservbyname+:} false; then :
21008
22647
 
21009
22648
else
21010
22649
  ac_cv_search_getservbyname=no
21027
22666
    for ac_func in getservbyname
21028
22667
do :
21029
22668
  ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
21030
 
if test "x$ac_cv_func_getservbyname" = x""yes; then :
 
22669
if test "x$ac_cv_func_getservbyname" = xyes; then :
21031
22670
  cat >>confdefs.h <<_ACEOF
21032
22671
#define HAVE_GETSERVBYNAME 1
21033
22672
_ACEOF
21036
22675
 
21037
22676
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5
21038
22677
$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; }
21039
 
if test "${gl_cv_w32_getservbyname+set}" = set; then :
 
22678
if ${gl_cv_w32_getservbyname+:} false; then :
21040
22679
  $as_echo_n "(cached) " >&6
21041
22680
else
21042
22681
  gl_cv_w32_getservbyname=no
21095
22734
 
21096
22735
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv4 sockets" >&5
21097
22736
$as_echo_n "checking for IPv4 sockets... " >&6; }
21098
 
  if test "${gl_cv_socket_ipv4+set}" = set; then :
 
22737
  if ${gl_cv_socket_ipv4+:} false; then :
21099
22738
  $as_echo_n "(cached) " >&6
21100
22739
else
21101
22740
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21137
22776
 
21138
22777
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IPv6 sockets" >&5
21139
22778
$as_echo_n "checking for IPv6 sockets... " >&6; }
21140
 
  if test "${gl_cv_socket_ipv6+set}" = set; then :
 
22779
  if ${gl_cv_socket_ipv6+:} false; then :
21141
22780
  $as_echo_n "(cached) " >&6
21142
22781
else
21143
22782
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21182
22821
 
21183
22822
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C/C++ restrict keyword" >&5
21184
22823
$as_echo_n "checking for C/C++ restrict keyword... " >&6; }
21185
 
if test "${ac_cv_c_restrict+set}" = set; then :
 
22824
if ${ac_cv_c_restrict+:} false; then :
21186
22825
  $as_echo_n "(cached) " >&6
21187
22826
else
21188
22827
  ac_cv_c_restrict=no
21236
22875
      gl_save_LIBS=$LIBS
21237
22876
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
21238
22877
$as_echo_n "checking for library containing inet_ntop... " >&6; }
21239
 
if test "${ac_cv_search_inet_ntop+set}" = set; then :
 
22878
if ${ac_cv_search_inet_ntop+:} false; then :
21240
22879
  $as_echo_n "(cached) " >&6
21241
22880
else
21242
22881
  ac_func_search_save_LIBS=$LIBS
21270
22909
fi
21271
22910
rm -f core conftest.err conftest.$ac_objext \
21272
22911
    conftest$ac_exeext
21273
 
  if test "${ac_cv_search_inet_ntop+set}" = set; then :
 
22912
  if ${ac_cv_search_inet_ntop+:} false; then :
21274
22913
  break
21275
22914
fi
21276
22915
done
21277
 
if test "${ac_cv_search_inet_ntop+set}" = set; then :
 
22916
if ${ac_cv_search_inet_ntop+:} false; then :
21278
22917
 
21279
22918
else
21280
22919
  ac_cv_search_inet_ntop=no
21300
22939
  for ac_func in inet_ntop
21301
22940
do :
21302
22941
  ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
21303
 
if test "x$ac_cv_func_inet_ntop" = x""yes; then :
 
22942
if test "x$ac_cv_func_inet_ntop" = xyes; then :
21304
22943
  cat >>confdefs.h <<_ACEOF
21305
22944
#define HAVE_INET_NTOP 1
21306
22945
_ACEOF
21324
22963
 
21325
22964
 
21326
22965
 
 
22966
 
 
22967
  :
 
22968
 
 
22969
 
 
22970
 
 
22971
 
 
22972
 
21327
22973
  ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include <arpa/inet.h>
 
22974
     #if HAVE_NETDB_H
 
22975
     # include <netdb.h>
 
22976
     #endif
 
22977
 
21328
22978
"
21329
 
if test "x$ac_cv_have_decl_inet_ntop" = x""yes; then :
 
22979
if test "x$ac_cv_have_decl_inet_ntop" = xyes; then :
21330
22980
  ac_have_decl=1
21331
22981
else
21332
22982
  ac_have_decl=0
21345
22995
 
21346
22996
 
21347
22997
      ac_fn_c_check_decl "$LINENO" "getdelim" "ac_cv_have_decl_getdelim" "$ac_includes_default"
21348
 
if test "x$ac_cv_have_decl_getdelim" = x""yes; then :
 
22998
if test "x$ac_cv_have_decl_getdelim" = xyes; then :
21349
22999
  ac_have_decl=1
21350
23000
else
21351
23001
  ac_have_decl=0
21378
23028
 
21379
23029
 
21380
23030
      ac_fn_c_check_decl "$LINENO" "getline" "ac_cv_have_decl_getline" "$ac_includes_default"
21381
 
if test "x$ac_cv_have_decl_getline" = x""yes; then :
 
23031
if test "x$ac_cv_have_decl_getline" = xyes; then :
21382
23032
  ac_have_decl=1
21383
23033
else
21384
23034
  ac_have_decl=0
21391
23041
 
21392
23042
 
21393
23043
      ac_fn_c_check_decl "$LINENO" "getpass" "ac_cv_have_decl_getpass" "$ac_includes_default"
21394
 
if test "x$ac_cv_have_decl_getpass" = x""yes; then :
 
23044
if test "x$ac_cv_have_decl_getpass" = xyes; then :
21395
23045
  ac_have_decl=1
21396
23046
else
21397
23047
  ac_have_decl=0
21429
23079
 
21430
23080
 
21431
23081
      ac_fn_c_check_decl "$LINENO" "fflush_unlocked" "ac_cv_have_decl_fflush_unlocked" "$ac_includes_default"
21432
 
if test "x$ac_cv_have_decl_fflush_unlocked" = x""yes; then :
 
23082
if test "x$ac_cv_have_decl_fflush_unlocked" = xyes; then :
21433
23083
  ac_have_decl=1
21434
23084
else
21435
23085
  ac_have_decl=0
21442
23092
 
21443
23093
 
21444
23094
      ac_fn_c_check_decl "$LINENO" "flockfile" "ac_cv_have_decl_flockfile" "$ac_includes_default"
21445
 
if test "x$ac_cv_have_decl_flockfile" = x""yes; then :
 
23095
if test "x$ac_cv_have_decl_flockfile" = xyes; then :
21446
23096
  ac_have_decl=1
21447
23097
else
21448
23098
  ac_have_decl=0
21455
23105
 
21456
23106
 
21457
23107
      ac_fn_c_check_decl "$LINENO" "fputs_unlocked" "ac_cv_have_decl_fputs_unlocked" "$ac_includes_default"
21458
 
if test "x$ac_cv_have_decl_fputs_unlocked" = x""yes; then :
 
23108
if test "x$ac_cv_have_decl_fputs_unlocked" = xyes; then :
21459
23109
  ac_have_decl=1
21460
23110
else
21461
23111
  ac_have_decl=0
21468
23118
 
21469
23119
 
21470
23120
      ac_fn_c_check_decl "$LINENO" "funlockfile" "ac_cv_have_decl_funlockfile" "$ac_includes_default"
21471
 
if test "x$ac_cv_have_decl_funlockfile" = x""yes; then :
 
23121
if test "x$ac_cv_have_decl_funlockfile" = xyes; then :
21472
23122
  ac_have_decl=1
21473
23123
else
21474
23124
  ac_have_decl=0
21481
23131
 
21482
23132
 
21483
23133
      ac_fn_c_check_decl "$LINENO" "putc_unlocked" "ac_cv_have_decl_putc_unlocked" "$ac_includes_default"
21484
 
if test "x$ac_cv_have_decl_putc_unlocked" = x""yes; then :
 
23134
if test "x$ac_cv_have_decl_putc_unlocked" = xyes; then :
21485
23135
  ac_have_decl=1
21486
23136
else
21487
23137
  ac_have_decl=0
21531
23181
 
21532
23182
 
21533
23183
 
 
23184
 
 
23185
 
21534
23186
  :
21535
23187
 
21536
23188
 
21539
23191
 
21540
23192
 
21541
23193
 
 
23194
 
21542
23195
     if test $gl_cv_have_include_next = yes; then
21543
23196
       gl_cv_next_sys_time_h='<'sys/time.h'>'
21544
23197
     else
21545
23198
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/time.h>" >&5
21546
23199
$as_echo_n "checking absolute name of <sys/time.h>... " >&6; }
21547
 
if test "${gl_cv_next_sys_time_h+set}" = set; then :
 
23200
if ${gl_cv_next_sys_time_h+:} false; then :
21548
23201
  $as_echo_n "(cached) " >&6
21549
23202
else
21550
23203
 
21551
 
          if test $ac_cv_header_sys_time_h = yes; then
21552
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
23204
             if test $ac_cv_header_sys_time_h = yes; then
 
23205
 
 
23206
 
 
23207
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21553
23208
/* end confdefs.h.  */
21554
23209
#include <sys/time.h>
21555
23210
 
21556
23211
_ACEOF
21557
 
                                                                                                case "$host_os" in
21558
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
21559
 
              *)    gl_absname_cpp="$ac_cpp" ;;
21560
 
            esac
21561
 
                                                gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
21562
 
               sed -n '\#/sys/time.h#{
21563
 
                 s#.*"\(.*/sys/time.h\)".*#\1#
21564
 
                 s#^/[^/]#//&#
21565
 
                 p
21566
 
                 q
21567
 
               }'`'"'
 
23212
                                                                                                                        case "$host_os" in
 
23213
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
23214
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
23215
               esac
 
23216
                                                            gl_cv_next_sys_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
23217
                  sed -n '\#/sys/time.h#{
 
23218
                    s#.*"\(.*/sys/time.h\)".*#\1#
 
23219
                    s#^/[^/]#//&#
 
23220
                    p
 
23221
                    q
 
23222
                  }'`'"'
21568
23223
          else
21569
 
            gl_cv_next_sys_time_h='<'sys/time.h'>'
21570
 
          fi
 
23224
               gl_cv_next_sys_time_h='<'sys/time.h'>'
 
23225
             fi
 
23226
 
21571
23227
 
21572
23228
fi
21573
23229
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_time_h" >&5
21587
23243
 
21588
23244
 
21589
23245
 
 
23246
 
21590
23247
  if test $ac_cv_header_sys_time_h != yes; then
21591
23248
    HAVE_SYS_TIME_H=0
21592
23249
  fi
21593
23250
 
21594
23251
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
21595
23252
$as_echo_n "checking for struct timeval... " >&6; }
21596
 
if test "${gl_cv_sys_struct_timeval+set}" = set; then :
 
23253
if ${gl_cv_sys_struct_timeval+:} false; then :
21597
23254
  $as_echo_n "(cached) " >&6
21598
23255
else
21599
23256
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21629
23286
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
21630
23287
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
21631
23288
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
21632
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
23289
if eval \${$as_gl_Symbol+:} false; then :
21633
23290
  $as_echo_n "(cached) " >&6
21634
23291
else
21635
23292
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21673
23330
 
21674
23331
 
21675
23332
 
 
23333
  GNULIB__EXIT=0;
 
23334
  GNULIB_ATOLL=0;
 
23335
  GNULIB_CALLOC_POSIX=0;
 
23336
  GNULIB_CANONICALIZE_FILE_NAME=0;
 
23337
  GNULIB_GETLOADAVG=0;
 
23338
  GNULIB_GETSUBOPT=0;
 
23339
  GNULIB_GRANTPT=0;
 
23340
  GNULIB_MALLOC_POSIX=0;
 
23341
  GNULIB_MKDTEMP=0;
 
23342
  GNULIB_MKOSTEMP=0;
 
23343
  GNULIB_MKOSTEMPS=0;
 
23344
  GNULIB_MKSTEMP=0;
 
23345
  GNULIB_MKSTEMPS=0;
 
23346
  GNULIB_PTSNAME=0;
 
23347
  GNULIB_PUTENV=0;
 
23348
  GNULIB_RANDOM_R=0;
 
23349
  GNULIB_REALLOC_POSIX=0;
 
23350
  GNULIB_REALPATH=0;
 
23351
  GNULIB_RPMATCH=0;
 
23352
  GNULIB_SETENV=0;
 
23353
  GNULIB_STRTOD=0;
 
23354
  GNULIB_STRTOLL=0;
 
23355
  GNULIB_STRTOULL=0;
 
23356
  GNULIB_SYSTEM_POSIX=0;
 
23357
  GNULIB_UNLOCKPT=0;
 
23358
  GNULIB_UNSETENV=0;
 
23359
    HAVE__EXIT=1;
 
23360
  HAVE_ATOLL=1;
 
23361
  HAVE_CANONICALIZE_FILE_NAME=1;
 
23362
  HAVE_DECL_GETLOADAVG=1;
 
23363
  HAVE_GETSUBOPT=1;
 
23364
  HAVE_GRANTPT=1;
 
23365
  HAVE_MKDTEMP=1;
 
23366
  HAVE_MKOSTEMP=1;
 
23367
  HAVE_MKOSTEMPS=1;
 
23368
  HAVE_MKSTEMP=1;
 
23369
  HAVE_MKSTEMPS=1;
 
23370
  HAVE_PTSNAME=1;
 
23371
  HAVE_RANDOM_H=1;
 
23372
  HAVE_RANDOM_R=1;
 
23373
  HAVE_REALPATH=1;
 
23374
  HAVE_RPMATCH=1;
 
23375
  HAVE_SETENV=1;
 
23376
  HAVE_DECL_SETENV=1;
 
23377
  HAVE_STRTOD=1;
 
23378
  HAVE_STRTOLL=1;
 
23379
  HAVE_STRTOULL=1;
 
23380
  HAVE_STRUCT_RANDOM_DATA=1;
 
23381
  HAVE_SYS_LOADAVG_H=0;
 
23382
  HAVE_UNLOCKPT=1;
 
23383
  HAVE_DECL_UNSETENV=1;
 
23384
  REPLACE_CALLOC=0;
 
23385
  REPLACE_CANONICALIZE_FILE_NAME=0;
 
23386
  REPLACE_MALLOC=0;
 
23387
  REPLACE_MKSTEMP=0;
 
23388
  REPLACE_PUTENV=0;
 
23389
  REPLACE_REALLOC=0;
 
23390
  REPLACE_REALPATH=0;
 
23391
  REPLACE_SETENV=0;
 
23392
  REPLACE_STRTOD=0;
 
23393
  REPLACE_UNSETENV=0;
 
23394
 
 
23395
 
 
23396
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
 
23397
$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
 
23398
if ${gl_cv_func_malloc_posix+:} false; then :
 
23399
  $as_echo_n "(cached) " >&6
 
23400
else
 
23401
 
 
23402
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
23403
/* end confdefs.h.  */
 
23404
 
 
23405
int
 
23406
main ()
 
23407
{
 
23408
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
 
23409
             choke me
 
23410
             #endif
 
23411
 
 
23412
  ;
 
23413
  return 0;
 
23414
}
 
23415
_ACEOF
 
23416
if ac_fn_c_try_compile "$LINENO"; then :
 
23417
  gl_cv_func_malloc_posix=yes
 
23418
else
 
23419
  gl_cv_func_malloc_posix=no
 
23420
fi
 
23421
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
23422
 
 
23423
fi
 
23424
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5
 
23425
$as_echo "$gl_cv_func_malloc_posix" >&6; }
 
23426
 
 
23427
 
21676
23428
 
21677
23429
 
21678
23430
 
21715
23467
  GNULIB_MBSSEP=0;
21716
23468
  GNULIB_MBSTOK_R=0;
21717
23469
  GNULIB_STRERROR=0;
 
23470
  GNULIB_STRERROR_R=0;
21718
23471
  GNULIB_STRSIGNAL=0;
21719
23472
  GNULIB_STRVERSCMP=0;
21720
23473
  HAVE_MBSLEN=0;
21733
23486
  HAVE_STRSEP=1;
21734
23487
  HAVE_STRCASESTR=1;
21735
23488
  HAVE_DECL_STRTOK_R=1;
 
23489
  HAVE_DECL_STRERROR_R=1;
21736
23490
  HAVE_DECL_STRSIGNAL=1;
21737
23491
  HAVE_STRVERSCMP=1;
21738
23492
  REPLACE_MEMCHR=0;
21742
23496
  REPLACE_STRSTR=0;
21743
23497
  REPLACE_STRCASESTR=0;
21744
23498
  REPLACE_STRERROR=0;
 
23499
  REPLACE_STRERROR_R=0;
21745
23500
  REPLACE_STRNCAT=0;
21746
23501
  REPLACE_STRNDUP=0;
21747
23502
  REPLACE_STRNLEN=0;
21758
23513
 
21759
23514
 
21760
23515
 
21761
 
 
21762
 
 
21763
 
 
21764
23516
  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
21765
23517
  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
21766
23518
  # irrelevant for anonymous mappings.
21767
23519
  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
21768
 
if test "x$ac_cv_func_mmap" = x""yes; then :
 
23520
if test "x$ac_cv_func_mmap" = xyes; then :
21769
23521
  gl_have_mmap=yes
21770
23522
else
21771
23523
  gl_have_mmap=no
21854
23606
    # Assume that memchr works on platforms that lack mprotect.
21855
23607
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether memchr works" >&5
21856
23608
$as_echo_n "checking whether memchr works... " >&6; }
21857
 
if test "${gl_cv_func_memchr_works+set}" = set; then :
 
23609
if ${gl_cv_func_memchr_works+:} false; then :
21858
23610
  $as_echo_n "(cached) " >&6
21859
23611
else
21860
23612
  if test "$cross_compiling" = yes; then :
21878
23630
main ()
21879
23631
{
21880
23632
 
 
23633
  int result = 0;
21881
23634
  char *fence = NULL;
21882
23635
#if HAVE_SYS_MMAN_H && HAVE_MPROTECT
21883
23636
# if HAVE_MAP_ANONYMOUS
21901
23654
  if (fence)
21902
23655
    {
21903
23656
      if (memchr (fence, 0, 0))
21904
 
        return 1;
 
23657
        result |= 1;
21905
23658
      strcpy (fence - 9, "12345678");
21906
23659
      if (memchr (fence - 9, 0, 79) != fence - 1)
21907
 
        return 2;
 
23660
        result |= 2;
 
23661
      if (memchr (fence - 1, 0, 3) != fence - 1)
 
23662
        result |= 4;
21908
23663
    }
21909
 
  return 0;
 
23664
  return result;
21910
23665
 
21911
23666
  ;
21912
23667
  return 0;
21945
23700
  for ac_header in bp-sym.h
21946
23701
do :
21947
23702
  ac_fn_c_check_header_mongrel "$LINENO" "bp-sym.h" "ac_cv_header_bp_sym_h" "$ac_includes_default"
21948
 
if test "x$ac_cv_header_bp_sym_h" = x""yes; then :
 
23703
if test "x$ac_cv_header_bp_sym_h" = xyes; then :
21949
23704
  cat >>confdefs.h <<_ACEOF
21950
23705
#define HAVE_BP_SYM_H 1
21951
23706
_ACEOF
21963
23718
 
21964
23719
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <limits.h> defines MIN and MAX" >&5
21965
23720
$as_echo_n "checking whether <limits.h> defines MIN and MAX... " >&6; }
21966
 
if test "${gl_cv_minmax_in_limits_h+set}" = set; then :
 
23721
if ${gl_cv_minmax_in_limits_h+:} false; then :
21967
23722
  $as_echo_n "(cached) " >&6
21968
23723
else
21969
23724
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21970
23725
/* end confdefs.h.  */
21971
23726
#include <limits.h>
21972
 
int x = MIN (42, 17);
 
23727
            int x = MIN (42, 17);
21973
23728
int
21974
23729
main ()
21975
23730
{
22000
23755
 
22001
23756
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/param.h> defines MIN and MAX" >&5
22002
23757
$as_echo_n "checking whether <sys/param.h> defines MIN and MAX... " >&6; }
22003
 
if test "${gl_cv_minmax_in_sys_param_h+set}" = set; then :
 
23758
if ${gl_cv_minmax_in_sys_param_h+:} false; then :
22004
23759
  $as_echo_n "(cached) " >&6
22005
23760
else
22006
23761
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22007
23762
/* end confdefs.h.  */
22008
23763
#include <sys/param.h>
22009
 
int x = MIN (42, 17);
 
23764
            int x = MIN (42, 17);
22010
23765
int
22011
23766
main ()
22012
23767
{
22069
23824
fi
22070
23825
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22071
23826
  if test $gl_cv_c_multiarch = yes; then
22072
 
 
22073
 
$as_echo "#define AA_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
22074
 
 
22075
23827
    APPLE_UNIVERSAL_BUILD=1
22076
23828
  else
22077
23829
    APPLE_UNIVERSAL_BUILD=0
22079
23831
 
22080
23832
 
22081
23833
 
22082
 
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether malloc, realloc, calloc are POSIX compliant" >&5
22083
 
$as_echo_n "checking whether malloc, realloc, calloc are POSIX compliant... " >&6; }
22084
 
if test "${gl_cv_func_malloc_posix+set}" = set; then :
22085
 
  $as_echo_n "(cached) " >&6
22086
 
else
22087
 
 
22088
 
                        cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22089
 
/* end confdefs.h.  */
22090
 
 
22091
 
int
22092
 
main ()
22093
 
{
22094
 
#if (defined _WIN32 || defined __WIN32__) && ! defined __CYGWIN__
22095
 
         choke me
22096
 
         #endif
22097
 
 
22098
 
  ;
22099
 
  return 0;
22100
 
}
22101
 
_ACEOF
22102
 
if ac_fn_c_try_compile "$LINENO"; then :
22103
 
  gl_cv_func_malloc_posix=yes
22104
 
else
22105
 
  gl_cv_func_malloc_posix=no
22106
 
fi
22107
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22108
 
 
22109
 
fi
22110
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_malloc_posix" >&5
22111
 
$as_echo "$gl_cv_func_malloc_posix" >&6; }
22112
 
 
22113
 
 
22114
 
  GNULIB_ATOLL=0;
22115
 
  GNULIB_CALLOC_POSIX=0;
22116
 
  GNULIB_CANONICALIZE_FILE_NAME=0;
22117
 
  GNULIB_GETLOADAVG=0;
22118
 
  GNULIB_GETSUBOPT=0;
22119
 
  GNULIB_GRANTPT=0;
22120
 
  GNULIB_MALLOC_POSIX=0;
22121
 
  GNULIB_MKDTEMP=0;
22122
 
  GNULIB_MKOSTEMP=0;
22123
 
  GNULIB_MKOSTEMPS=0;
22124
 
  GNULIB_MKSTEMP=0;
22125
 
  GNULIB_MKSTEMPS=0;
22126
 
  GNULIB_PTSNAME=0;
22127
 
  GNULIB_PUTENV=0;
22128
 
  GNULIB_RANDOM_R=0;
22129
 
  GNULIB_REALLOC_POSIX=0;
22130
 
  GNULIB_REALPATH=0;
22131
 
  GNULIB_RPMATCH=0;
22132
 
  GNULIB_SETENV=0;
22133
 
  GNULIB_STRTOD=0;
22134
 
  GNULIB_STRTOLL=0;
22135
 
  GNULIB_STRTOULL=0;
22136
 
  GNULIB_UNLOCKPT=0;
22137
 
  GNULIB_UNSETENV=0;
22138
 
    HAVE_ATOLL=1;
22139
 
  HAVE_CALLOC_POSIX=1;
22140
 
  HAVE_CANONICALIZE_FILE_NAME=1;
22141
 
  HAVE_DECL_GETLOADAVG=1;
22142
 
  HAVE_GETSUBOPT=1;
22143
 
  HAVE_GRANTPT=1;
22144
 
  HAVE_MALLOC_POSIX=1;
22145
 
  HAVE_MKDTEMP=1;
22146
 
  HAVE_MKOSTEMP=1;
22147
 
  HAVE_MKOSTEMPS=1;
22148
 
  HAVE_MKSTEMP=1;
22149
 
  HAVE_MKSTEMPS=1;
22150
 
  HAVE_PTSNAME=1;
22151
 
  HAVE_RANDOM_R=1;
22152
 
  HAVE_REALLOC_POSIX=1;
22153
 
  HAVE_REALPATH=1;
22154
 
  HAVE_RPMATCH=1;
22155
 
  HAVE_SETENV=1;
22156
 
  HAVE_STRTOD=1;
22157
 
  HAVE_STRTOLL=1;
22158
 
  HAVE_STRTOULL=1;
22159
 
  HAVE_STRUCT_RANDOM_DATA=1;
22160
 
  HAVE_SYS_LOADAVG_H=0;
22161
 
  HAVE_UNLOCKPT=1;
22162
 
  HAVE_UNSETENV=1;
22163
 
  REPLACE_CANONICALIZE_FILE_NAME=0;
22164
 
  REPLACE_MKSTEMP=0;
22165
 
  REPLACE_PUTENV=0;
22166
 
  REPLACE_REALPATH=0;
22167
 
  REPLACE_SETENV=0;
22168
 
  REPLACE_STRTOD=0;
22169
 
  REPLACE_UNSETENV=0;
22170
 
 
22171
 
 
22172
23834
  GNULIB_SELECT=0;
22173
23835
    REPLACE_SELECT=0;
22174
23836
 
22182
23844
 
22183
23845
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/select.h> is self-contained" >&5
22184
23846
$as_echo_n "checking whether <sys/select.h> is self-contained... " >&6; }
22185
 
if test "${gl_cv_header_sys_select_h_selfcontained+set}" = set; then :
 
23847
if ${gl_cv_header_sys_select_h_selfcontained+:} false; then :
22186
23848
  $as_echo_n "(cached) " >&6
22187
23849
else
22188
23850
 
22254
23916
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_select_h_selfcontained" >&5
22255
23917
$as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; }
22256
23918
 
22257
 
  :
22258
 
 
22259
 
 
22260
 
 
22261
 
 
22262
 
 
22263
 
 
22264
 
 
22265
 
 
22266
 
 
22267
 
  :
 
23919
 
 
23920
 
 
23921
 
 
23922
 
 
23923
 
 
23924
  :
 
23925
 
22268
23926
 
22269
23927
 
22270
23928
 
22277
23935
     else
22278
23936
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/select.h>" >&5
22279
23937
$as_echo_n "checking absolute name of <sys/select.h>... " >&6; }
22280
 
if test "${gl_cv_next_sys_select_h+set}" = set; then :
 
23938
if ${gl_cv_next_sys_select_h+:} false; then :
22281
23939
  $as_echo_n "(cached) " >&6
22282
23940
else
22283
23941
 
22284
 
          if test $ac_cv_header_sys_select_h = yes; then
22285
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
23942
             if test $ac_cv_header_sys_select_h = yes; then
 
23943
 
 
23944
 
 
23945
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22286
23946
/* end confdefs.h.  */
22287
23947
#include <sys/select.h>
22288
23948
 
22289
23949
_ACEOF
22290
 
                                                                                                case "$host_os" in
22291
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
22292
 
              *)    gl_absname_cpp="$ac_cpp" ;;
22293
 
            esac
22294
 
                                                gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
22295
 
               sed -n '\#/sys/select.h#{
22296
 
                 s#.*"\(.*/sys/select.h\)".*#\1#
22297
 
                 s#^/[^/]#//&#
22298
 
                 p
22299
 
                 q
22300
 
               }'`'"'
 
23950
                                                                                                                        case "$host_os" in
 
23951
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
23952
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
23953
               esac
 
23954
                                                            gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
23955
                  sed -n '\#/sys/select.h#{
 
23956
                    s#.*"\(.*/sys/select.h\)".*#\1#
 
23957
                    s#^/[^/]#//&#
 
23958
                    p
 
23959
                    q
 
23960
                  }'`'"'
22301
23961
          else
22302
 
            gl_cv_next_sys_select_h='<'sys/select.h'>'
22303
 
          fi
 
23962
               gl_cv_next_sys_select_h='<'sys/select.h'>'
 
23963
             fi
 
23964
 
22304
23965
 
22305
23966
fi
22306
23967
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5
22319
23980
 
22320
23981
 
22321
23982
 
 
23983
 
22322
23984
  if test $ac_cv_header_sys_select_h = yes; then
22323
23985
    HAVE_SYS_SELECT_H=1
22324
23986
  else
22339
24001
                    for ac_header in winsock2.h
22340
24002
do :
22341
24003
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
22342
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
 
24004
if test "x$ac_cv_header_winsock2_h" = xyes; then :
22343
24005
  cat >>confdefs.h <<_ACEOF
22344
24006
#define HAVE_WINSOCK2_H 1
22345
24007
_ACEOF
22364
24026
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
22365
24027
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
22366
24028
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
22367
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
24029
if eval \${$as_gl_Symbol+:} false; then :
22368
24030
  $as_echo_n "(cached) " >&6
22369
24031
else
22370
24032
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22372
24034
 
22373
24035
/* Some systems require prerequisite headers.  */
22374
24036
#include <sys/types.h>
22375
 
#if !defined __GLIBC__ && HAVE_SYS_TIME_H
 
24037
#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H
22376
24038
# include <sys/time.h>
22377
24039
#endif
22378
24040
#include <sys/select.h>
22407
24069
 
22408
24070
 
22409
24071
 
 
24072
 
 
24073
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
 
24074
$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
 
24075
if ${gl_cv_func_snprintf_retval_c99+:} false; then :
 
24076
  $as_echo_n "(cached) " >&6
 
24077
else
 
24078
 
 
24079
      if test "$cross_compiling" = yes; then :
 
24080
 
 
24081
         case "$host_os" in
 
24082
                                 # Guess yes on glibc systems.
 
24083
           *-gnu*)               gl_cv_func_snprintf_retval_c99="guessing yes";;
 
24084
                                 # Guess yes on FreeBSD >= 5.
 
24085
           freebsd[1-4]*)        gl_cv_func_snprintf_retval_c99="guessing no";;
 
24086
           freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
 
24087
                                 # Guess yes on MacOS X >= 10.3.
 
24088
           darwin[1-6].*)        gl_cv_func_snprintf_retval_c99="guessing no";;
 
24089
           darwin*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
 
24090
                                 # Guess yes on OpenBSD >= 3.9.
 
24091
           openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
 
24092
                                 gl_cv_func_snprintf_retval_c99="guessing no";;
 
24093
           openbsd*)             gl_cv_func_snprintf_retval_c99="guessing yes";;
 
24094
                                 # Guess yes on Solaris >= 2.10.
 
24095
           solaris2.[1-9][0-9]*) gl_cv_func_printf_sizes_c99="guessing yes";;
 
24096
           solaris*)             gl_cv_func_printf_sizes_c99="guessing no";;
 
24097
                                 # Guess yes on AIX >= 4.
 
24098
           aix[1-3]*)            gl_cv_func_snprintf_retval_c99="guessing no";;
 
24099
           aix*)                 gl_cv_func_snprintf_retval_c99="guessing yes";;
 
24100
                                 # Guess yes on NetBSD >= 3.
 
24101
           netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
 
24102
                                 gl_cv_func_snprintf_retval_c99="guessing no";;
 
24103
           netbsd*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
 
24104
                                 # Guess yes on BeOS.
 
24105
           beos*)                gl_cv_func_snprintf_retval_c99="guessing yes";;
 
24106
                                 # If we don't know, assume the worst.
 
24107
           *)                    gl_cv_func_snprintf_retval_c99="guessing no";;
 
24108
         esac
 
24109
 
 
24110
else
 
24111
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
24112
/* end confdefs.h.  */
 
24113
 
 
24114
#include <stdio.h>
 
24115
#include <string.h>
 
24116
static char buf[100];
 
24117
int main ()
 
24118
{
 
24119
  strcpy (buf, "ABCDEF");
 
24120
  if (snprintf (buf, 3, "%d %d", 4567, 89) != 7)
 
24121
    return 1;
 
24122
  if (snprintf (buf, 0, "%d %d", 4567, 89) != 7)
 
24123
    return 2;
 
24124
  if (snprintf (NULL, 0, "%d %d", 4567, 89) != 7)
 
24125
    return 3;
 
24126
  return 0;
 
24127
}
 
24128
_ACEOF
 
24129
if ac_fn_c_try_run "$LINENO"; then :
 
24130
  gl_cv_func_snprintf_retval_c99=yes
 
24131
else
 
24132
  gl_cv_func_snprintf_retval_c99=no
 
24133
fi
 
24134
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
24135
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
24136
fi
 
24137
 
 
24138
 
 
24139
fi
 
24140
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5
 
24141
$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; }
 
24142
 
 
24143
 
22410
24144
      ac_fn_c_check_decl "$LINENO" "snprintf" "ac_cv_have_decl_snprintf" "$ac_includes_default"
22411
 
if test "x$ac_cv_have_decl_snprintf" = x""yes; then :
 
24145
if test "x$ac_cv_have_decl_snprintf" = xyes; then :
22412
24146
  ac_have_decl=1
22413
24147
else
22414
24148
  ac_have_decl=0
22419
24153
_ACEOF
22420
24154
 
22421
24155
 
22422
 
 
22423
 
 
22424
 
 
22425
 
 
22426
 
 
22427
24156
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdbool.h that conforms to C99" >&5
22428
24157
$as_echo_n "checking for stdbool.h that conforms to C99... " >&6; }
22429
 
if test "${ac_cv_header_stdbool_h+set}" = set; then :
 
24158
if ${ac_cv_header_stdbool_h+:} false; then :
22430
24159
  $as_echo_n "(cached) " >&6
22431
24160
else
22432
24161
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22433
24162
/* end confdefs.h.  */
22434
24163
 
22435
 
          #include <stdbool.h>
22436
 
          #ifndef bool
22437
 
           "error: bool is not defined"
22438
 
          #endif
22439
 
          #ifndef false
22440
 
           "error: false is not defined"
22441
 
          #endif
22442
 
          #if false
22443
 
           "error: false is not 0"
22444
 
          #endif
22445
 
          #ifndef true
22446
 
           "error: true is not defined"
22447
 
          #endif
22448
 
          #if true != 1
22449
 
           "error: true is not 1"
22450
 
          #endif
22451
 
          #ifndef __bool_true_false_are_defined
22452
 
           "error: __bool_true_false_are_defined is not defined"
22453
 
          #endif
22454
 
 
22455
 
          struct s { _Bool s: 1; _Bool t; } s;
22456
 
 
22457
 
          char a[true == 1 ? 1 : -1];
22458
 
          char b[false == 0 ? 1 : -1];
22459
 
          char c[__bool_true_false_are_defined == 1 ? 1 : -1];
22460
 
          char d[(bool) 0.5 == true ? 1 : -1];
22461
 
          bool e = &s;
22462
 
          char f[(_Bool) 0.0 == false ? 1 : -1];
22463
 
          char g[true];
22464
 
          char h[sizeof (_Bool)];
22465
 
          char i[sizeof s.t];
22466
 
          enum { j = false, k = true, l = false * true, m = true * 256 };
22467
 
          _Bool n[m];
22468
 
          char o[sizeof n == m * sizeof n[0] ? 1 : -1];
22469
 
          char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
22470
 
          #if defined __xlc__ || defined __GNUC__
22471
 
           /* Catch a bug in IBM AIX xlc compiler version 6.0.0.0
22472
 
              reported by James Lemley on 2005-10-05; see
22473
 
              http://lists.gnu.org/archive/html/bug-coreutils/2005-10/msg00086.html
22474
 
              This test is not quite right, since xlc is allowed to
22475
 
              reject this program, as the initializer for xlcbug is
22476
 
              not one of the forms that C requires support for.
22477
 
              However, doing the test right would require a run-time
22478
 
              test, and that would make cross-compilation harder.
22479
 
              Let us hope that IBM fixes the xlc bug, and also adds
22480
 
              support for this kind of constant expression.  In the
22481
 
              meantime, this test will reject xlc, which is OK, since
22482
 
              our stdbool.h substitute should suffice.  We also test
22483
 
              this with GCC, where it should work, to detect more
22484
 
              quickly whether someone messes up the test in the
22485
 
              future.  */
22486
 
           char digs[] = "0123456789";
22487
 
           int xlcbug = 1 / (&(digs + 5)[-2 + (bool) 1] == &digs[4] ? 1 : -1);
22488
 
          #endif
22489
 
          /* Catch a bug in an HP-UX C compiler.  See
22490
 
             http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
22491
 
             http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
22492
 
           */
22493
 
          _Bool q = true;
22494
 
          _Bool *pq = &q;
 
24164
             #include <stdbool.h>
 
24165
             #ifndef bool
 
24166
              "error: bool is not defined"
 
24167
             #endif
 
24168
             #ifndef false
 
24169
              "error: false is not defined"
 
24170
             #endif
 
24171
             #if false
 
24172
              "error: false is not 0"
 
24173
             #endif
 
24174
             #ifndef true
 
24175
              "error: true is not defined"
 
24176
             #endif
 
24177
             #if true != 1
 
24178
              "error: true is not 1"
 
24179
             #endif
 
24180
             #ifndef __bool_true_false_are_defined
 
24181
              "error: __bool_true_false_are_defined is not defined"
 
24182
             #endif
 
24183
 
 
24184
             struct s { _Bool s: 1; _Bool t; } s;
 
24185
 
 
24186
             char a[true == 1 ? 1 : -1];
 
24187
             char b[false == 0 ? 1 : -1];
 
24188
             char c[__bool_true_false_are_defined == 1 ? 1 : -1];
 
24189
             char d[(bool) 0.5 == true ? 1 : -1];
 
24190
             /* See body of main program for 'e'.  */
 
24191
             char f[(_Bool) 0.0 == false ? 1 : -1];
 
24192
             char g[true];
 
24193
             char h[sizeof (_Bool)];
 
24194
             char i[sizeof s.t];
 
24195
             enum { j = false, k = true, l = false * true, m = true * 256 };
 
24196
             /* The following fails for
 
24197
                HP aC++/ANSI C B3910B A.05.55 [Dec 04 2003]. */
 
24198
             _Bool n[m];
 
24199
             char o[sizeof n == m * sizeof n[0] ? 1 : -1];
 
24200
             char p[-1 - (_Bool) 0 < 0 && -1 - (bool) 0 < 0 ? 1 : -1];
 
24201
             /* Catch a bug in an HP-UX C compiler.  See
 
24202
                http://gcc.gnu.org/ml/gcc-patches/2003-12/msg02303.html
 
24203
                http://lists.gnu.org/archive/html/bug-coreutils/2005-11/msg00161.html
 
24204
              */
 
24205
             _Bool q = true;
 
24206
             _Bool *pq = &q;
22495
24207
 
22496
24208
int
22497
24209
main ()
22498
24210
{
22499
24211
 
22500
 
          *pq |= q;
22501
 
          *pq |= ! q;
22502
 
          /* Refer to every declared value, to avoid compiler optimizations.  */
22503
 
          return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
22504
 
                  + !m + !n + !o + !p + !q + !pq);
 
24212
             bool e = &s;
 
24213
             *pq |= q;
 
24214
             *pq |= ! q;
 
24215
             /* Refer to every declared value, to avoid compiler optimizations.  */
 
24216
             return (!a + !b + !c + !d + !e + !f + !g + !h + !i + !!j + !k + !!l
 
24217
                     + !m + !n + !o + !p + !q + !pq);
22505
24218
 
22506
24219
  ;
22507
24220
  return 0;
22517
24230
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdbool_h" >&5
22518
24231
$as_echo "$ac_cv_header_stdbool_h" >&6; }
22519
24232
   ac_fn_c_check_type "$LINENO" "_Bool" "ac_cv_type__Bool" "$ac_includes_default"
22520
 
if test "x$ac_cv_type__Bool" = x""yes; then :
 
24233
if test "x$ac_cv_type__Bool" = xyes; then :
22521
24234
 
22522
24235
cat >>confdefs.h <<_ACEOF
22523
24236
#define HAVE__BOOL 1
22526
24239
 
22527
24240
fi
22528
24241
 
22529
 
   if test $ac_cv_header_stdbool_h = yes; then
22530
 
 
22531
 
$as_echo "#define HAVE_STDBOOL_H 1" >>confdefs.h
22532
 
 
22533
 
   fi
 
24242
 
22534
24243
 
22535
24244
    REPLACE_NULL=0;
22536
24245
  HAVE_WCHAR_T=1;
22539
24248
 
22540
24249
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
22541
24250
$as_echo_n "checking for wchar_t... " >&6; }
22542
 
if test "${gt_cv_c_wchar_t+set}" = set; then :
 
24251
if ${gt_cv_c_wchar_t+:} false; then :
22543
24252
  $as_echo_n "(cached) " >&6
22544
24253
else
22545
24254
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22570
24279
  fi
22571
24280
 
22572
24281
 
22573
 
 
22574
 
 
22575
 
 
22576
 
 
22577
 
 
22578
24282
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long long int" >&5
22579
24283
$as_echo_n "checking for long long int... " >&6; }
22580
 
if test "${ac_cv_type_long_long_int+set}" = set; then :
 
24284
if ${ac_cv_type_long_long_int+:} false; then :
22581
24285
  $as_echo_n "(cached) " >&6
22582
24286
else
22583
24287
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22584
24288
/* end confdefs.h.  */
22585
24289
 
22586
 
  /* For now, do not test the preprocessor; as of 2007 there are too many
22587
 
         implementations with broken preprocessors.  Perhaps this can
22588
 
         be revisited in 2012.  In the meantime, code should not expect
22589
 
         #if to work with literals wider than 32 bits.  */
 
24290
  /* Test preprocessor.  */
 
24291
      #if ! (-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
 
24292
        error in preprocessor;
 
24293
      #endif
 
24294
      #if ! (18446744073709551615ULL <= -1ull)
 
24295
        error in preprocessor;
 
24296
      #endif
22590
24297
      /* Test literals.  */
22591
24298
      long long int ll = 9223372036854775807ll;
22592
24299
      long long int nll = -9223372036854775807LL;
22593
24300
      unsigned long long int ull = 18446744073709551615ULL;
22594
24301
      /* Test constant expressions.   */
22595
24302
      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
22596
 
                     ? 1 : -1)];
 
24303
                     ? 1 : -1)];
22597
24304
      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
22598
 
                     ? 1 : -1)];
 
24305
                     ? 1 : -1)];
22599
24306
      int i = 63;
22600
24307
int
22601
24308
main ()
22604
24311
      long long int llmax = 9223372036854775807ll;
22605
24312
      unsigned long long int ullmax = 18446744073709551615ull;
22606
24313
      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
22607
 
              | (llmax / ll) | (llmax % ll)
22608
 
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
22609
 
              | (ullmax / ull) | (ullmax % ull));
 
24314
              | (llmax / ll) | (llmax % ll)
 
24315
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
 
24316
              | (ullmax / ull) | (ullmax % ull));
22610
24317
  ;
22611
24318
  return 0;
22612
24319
}
22613
24320
 
22614
24321
_ACEOF
22615
24322
if ac_fn_c_try_link "$LINENO"; then :
22616
 
                          if test "$cross_compiling" = yes; then :
 
24323
                        if test "$cross_compiling" = yes; then :
22617
24324
  ac_cv_type_long_long_int=yes
22618
24325
else
22619
24326
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22620
24327
/* end confdefs.h.  */
22621
24328
#include <limits.h>
22622
 
               #ifndef LLONG_MAX
22623
 
               # define HALF \
22624
 
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
22625
 
               # define LLONG_MAX (HALF - 1 + HALF)
22626
 
               #endif
 
24329
               #ifndef LLONG_MAX
 
24330
               # define HALF \
 
24331
                        (1LL << (sizeof (long long int) * CHAR_BIT - 2))
 
24332
               # define LLONG_MAX (HALF - 1 + HALF)
 
24333
               #endif
22627
24334
int
22628
24335
main ()
22629
24336
{
22630
24337
long long int n = 1;
22631
 
               int i;
22632
 
               for (i = 0; ; i++)
22633
 
                 {
22634
 
                   long long int m = n << i;
22635
 
                   if (m >> i != n)
22636
 
                     return 1;
22637
 
                   if (LLONG_MAX / 2 < m)
22638
 
                     break;
22639
 
                 }
22640
 
               return 0;
 
24338
               int i;
 
24339
               for (i = 0; ; i++)
 
24340
                 {
 
24341
                   long long int m = n << i;
 
24342
                   if (m >> i != n)
 
24343
                     return 1;
 
24344
                   if (LLONG_MAX / 2 < m)
 
24345
                     break;
 
24346
                 }
 
24347
               return 0;
22641
24348
  ;
22642
24349
  return 0;
22643
24350
}
22668
24375
 
22669
24376
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unsigned long long int" >&5
22670
24377
$as_echo_n "checking for unsigned long long int... " >&6; }
22671
 
if test "${ac_cv_type_unsigned_long_long_int+set}" = set; then :
 
24378
if ${ac_cv_type_unsigned_long_long_int+:} false; then :
22672
24379
  $as_echo_n "(cached) " >&6
22673
24380
else
22674
24381
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22675
24382
/* end confdefs.h.  */
22676
 
 
22677
 
  /* For now, do not test the preprocessor; as of 2007 there are too many
22678
 
         implementations with broken preprocessors.  Perhaps this can
22679
 
         be revisited in 2012.  In the meantime, code should not expect
22680
 
         #if to work with literals wider than 32 bits.  */
22681
 
      /* Test literals.  */
22682
 
      long long int ll = 9223372036854775807ll;
22683
 
      long long int nll = -9223372036854775807LL;
22684
 
      unsigned long long int ull = 18446744073709551615ULL;
22685
 
      /* Test constant expressions.   */
22686
 
      typedef int a[((-9223372036854775807LL < 0 && 0 < 9223372036854775807ll)
22687
 
                     ? 1 : -1)];
22688
 
      typedef int b[(18446744073709551615ULL <= (unsigned long long int) -1
22689
 
                     ? 1 : -1)];
22690
 
      int i = 63;
 
24383
unsigned long long int ull = 18446744073709551615ULL;
 
24384
            typedef int a[(18446744073709551615ULL <= (unsigned long long int) -1
 
24385
                           ? 1 : -1)];
 
24386
           int i = 63;
22691
24387
int
22692
24388
main ()
22693
24389
{
22694
 
/* Test availability of runtime routines for shift and division.  */
22695
 
      long long int llmax = 9223372036854775807ll;
22696
 
      unsigned long long int ullmax = 18446744073709551615ull;
22697
 
      return ((ll << 63) | (ll >> 63) | (ll < i) | (ll > i)
22698
 
              | (llmax / ll) | (llmax % ll)
22699
 
              | (ull << 63) | (ull >> 63) | (ull << i) | (ull >> i)
22700
 
              | (ullmax / ull) | (ullmax % ull));
 
24390
unsigned long long int ullmax = 18446744073709551615ull;
 
24391
            return (ull << 63 | ull >> 63 | ull << i | ull >> i
 
24392
                    | ullmax / ull | ullmax % ull);
22701
24393
  ;
22702
24394
  return 0;
22703
24395
}
22704
 
 
22705
24396
_ACEOF
22706
24397
if ac_fn_c_try_link "$LINENO"; then :
22707
24398
  ac_cv_type_unsigned_long_long_int=yes
22732
24423
 
22733
24424
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether C symbols are prefixed with underscore at the linker level" >&5
22734
24425
$as_echo_n "checking whether C symbols are prefixed with underscore at the linker level... " >&6; }
22735
 
if test "${gl_cv_prog_as_underscore+set}" = set; then :
 
24426
if ${gl_cv_prog_as_underscore+:} false; then :
22736
24427
  $as_echo_n "(cached) " >&6
22737
24428
else
22738
24429
  cat > conftest.c <<EOF
22774
24465
 
22775
24466
 
22776
24467
 
22777
 
 
22778
 
 
22779
 
 
22780
 
 
22781
 
 
22782
 
 
22783
 
 
22784
 
 
22785
 
 
22786
 
 
22787
24468
  if test -z "$ERRNO_H"; then
22788
24469
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strerror function" >&5
22789
24470
$as_echo_n "checking for working strerror function... " >&6; }
22790
 
if test "${gl_cv_func_working_strerror+set}" = set; then :
 
24471
if ${gl_cv_func_working_strerror+:} false; then :
22791
24472
  $as_echo_n "(cached) " >&6
22792
24473
else
22793
24474
  if test "$cross_compiling" = yes; then :
22845
24526
  if test $REPLACE_STRERROR = 1; then
22846
24527
 
22847
24528
  ac_fn_c_check_decl "$LINENO" "strerror" "ac_cv_have_decl_strerror" "$ac_includes_default"
22848
 
if test "x$ac_cv_have_decl_strerror" = x""yes; then :
 
24529
if test "x$ac_cv_have_decl_strerror" = xyes; then :
22849
24530
  ac_have_decl=1
22850
24531
else
22851
24532
  ac_have_decl=0
22866
24547
                    for ac_header in winsock2.h
22867
24548
do :
22868
24549
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
22869
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
 
24550
if test "x$ac_cv_header_winsock2_h" = xyes; then :
22870
24551
  cat >>confdefs.h <<_ACEOF
22871
24552
#define HAVE_WINSOCK2_H 1
22872
24553
_ACEOF
22890
24571
 
22891
24572
 
22892
24573
 
22893
 
 
22894
 
  :
22895
 
 
22896
 
 
22897
 
 
22898
 
 
22899
 
 
22900
 
 
22901
 
 
22902
24574
     if test $gl_cv_have_include_next = yes; then
22903
24575
       gl_cv_next_string_h='<'string.h'>'
22904
24576
     else
22905
24577
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <string.h>" >&5
22906
24578
$as_echo_n "checking absolute name of <string.h>... " >&6; }
22907
 
if test "${gl_cv_next_string_h+set}" = set; then :
 
24579
if ${gl_cv_next_string_h+:} false; then :
22908
24580
  $as_echo_n "(cached) " >&6
22909
24581
else
22910
24582
 
22911
 
          if test $ac_cv_header_string_h = yes; then
22912
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
24583
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22913
24584
/* end confdefs.h.  */
22914
24585
#include <string.h>
22915
24586
 
22916
24587
_ACEOF
22917
 
                                                                                                case "$host_os" in
22918
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
22919
 
              *)    gl_absname_cpp="$ac_cpp" ;;
22920
 
            esac
22921
 
                                                gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
22922
 
               sed -n '\#/string.h#{
22923
 
                 s#.*"\(.*/string.h\)".*#\1#
22924
 
                 s#^/[^/]#//&#
22925
 
                 p
22926
 
                 q
22927
 
               }'`'"'
22928
 
          else
22929
 
            gl_cv_next_string_h='<'string.h'>'
22930
 
          fi
 
24588
                                                                                                                        case "$host_os" in
 
24589
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
24590
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
24591
               esac
 
24592
                                                            gl_cv_next_string_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
24593
                  sed -n '\#/string.h#{
 
24594
                    s#.*"\(.*/string.h\)".*#\1#
 
24595
                    s#^/[^/]#//&#
 
24596
                    p
 
24597
                    q
 
24598
                  }'`'"'
 
24599
 
22931
24600
 
22932
24601
fi
22933
24602
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_string_h" >&5
22948
24617
 
22949
24618
 
22950
24619
 
22951
 
    for gl_func in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup      strncat strndup strnlen strpbrk strsep strcasestr strtok_r strsignal      strverscmp; do
 
24620
 
 
24621
    for gl_func in memmem mempcpy memrchr rawmemchr stpcpy stpncpy strchrnul strdup      strncat strndup strnlen strpbrk strsep strcasestr strtok_r strerror_r      strsignal strverscmp; do
22952
24622
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
22953
24623
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
22954
24624
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
22955
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
24625
if eval \${$as_gl_Symbol+:} false; then :
22956
24626
  $as_echo_n "(cached) " >&6
22957
24627
else
22958
24628
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23024
24694
 
23025
24695
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
23026
24696
$as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
23027
 
if test "${ac_cv_header_stat_broken+set}" = set; then :
 
24697
if ${ac_cv_header_stat_broken+:} false; then :
23028
24698
  $as_echo_n "(cached) " >&6
23029
24699
else
23030
24700
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23075
24745
  GNULIB_STRPTIME=0;
23076
24746
  GNULIB_TIMEGM=0;
23077
24747
  GNULIB_TIME_R=0;
23078
 
    HAVE_LOCALTIME_R=1;
 
24748
    HAVE_DECL_LOCALTIME_R=1;
23079
24749
  HAVE_NANOSLEEP=1;
23080
24750
  HAVE_STRPTIME=1;
23081
24751
  HAVE_TIMEGM=1;
23086
24756
 
23087
24757
 
23088
24758
 
23089
 
 
23090
 
 
23091
 
 
23092
 
 
23093
 
 
23094
24759
  :
23095
24760
 
23096
24761
 
23099
24764
 
23100
24765
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <time.h>" >&5
23101
24766
$as_echo_n "checking for struct timespec in <time.h>... " >&6; }
23102
 
if test "${gl_cv_sys_struct_timespec_in_time_h+set}" = set; then :
 
24767
if ${gl_cv_sys_struct_timespec_in_time_h+:} false; then :
23103
24768
  $as_echo_n "(cached) " >&6
23104
24769
else
23105
24770
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23132
24797
  else
23133
24798
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <sys/time.h>" >&5
23134
24799
$as_echo_n "checking for struct timespec in <sys/time.h>... " >&6; }
23135
 
if test "${gl_cv_sys_struct_timespec_in_sys_time_h+set}" = set; then :
 
24800
if ${gl_cv_sys_struct_timespec_in_sys_time_h+:} false; then :
23136
24801
  $as_echo_n "(cached) " >&6
23137
24802
else
23138
24803
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23161
24826
    else
23162
24827
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec in <pthread.h>" >&5
23163
24828
$as_echo_n "checking for struct timespec in <pthread.h>... " >&6; }
23164
 
if test "${gl_cv_sys_struct_timespec_in_pthread_h+set}" = set; then :
 
24829
if ${gl_cv_sys_struct_timespec_in_pthread_h+:} false; then :
23165
24830
  $as_echo_n "(cached) " >&6
23166
24831
else
23167
24832
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23201
24866
 
23202
24867
 
23203
24868
 
23204
 
  :
23205
 
 
23206
 
 
23207
 
 
23208
24869
 
23209
24870
 
23210
24871
 
23214
24875
     else
23215
24876
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <time.h>" >&5
23216
24877
$as_echo_n "checking absolute name of <time.h>... " >&6; }
23217
 
if test "${gl_cv_next_time_h+set}" = set; then :
 
24878
if ${gl_cv_next_time_h+:} false; then :
23218
24879
  $as_echo_n "(cached) " >&6
23219
24880
else
23220
24881
 
23221
 
          if test $ac_cv_header_time_h = yes; then
23222
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
24882
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23223
24883
/* end confdefs.h.  */
23224
24884
#include <time.h>
23225
24885
 
23226
24886
_ACEOF
23227
 
                                                                                                case "$host_os" in
23228
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
23229
 
              *)    gl_absname_cpp="$ac_cpp" ;;
23230
 
            esac
23231
 
                                                gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
23232
 
               sed -n '\#/time.h#{
23233
 
                 s#.*"\(.*/time.h\)".*#\1#
23234
 
                 s#^/[^/]#//&#
23235
 
                 p
23236
 
                 q
23237
 
               }'`'"'
23238
 
          else
23239
 
            gl_cv_next_time_h='<'time.h'>'
23240
 
          fi
 
24887
                                                                                                                        case "$host_os" in
 
24888
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
24889
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
24890
               esac
 
24891
                                                            gl_cv_next_time_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
24892
                  sed -n '\#/time.h#{
 
24893
                    s#.*"\(.*/time.h\)".*#\1#
 
24894
                    s#^/[^/]#//&#
 
24895
                    p
 
24896
                    q
 
24897
                  }'`'"'
 
24898
 
23241
24899
 
23242
24900
fi
23243
24901
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_time_h" >&5
23269
24927
 
23270
24928
 
23271
24929
 
 
24930
 
23272
24931
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
23273
24932
$as_echo_n "checking for wint_t... " >&6; }
23274
 
if test "${gt_cv_c_wint_t+set}" = set; then :
 
24933
if ${gt_cv_c_wint_t+:} false; then :
23275
24934
  $as_echo_n "(cached) " >&6
23276
24935
else
23277
24936
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23309
24968
 
23310
24969
  fi
23311
24970
 
23312
 
ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
23313
 
if test "x$ac_cv_type_size_t" = x""yes; then :
23314
 
 
23315
 
else
23316
 
 
23317
 
cat >>confdefs.h <<_ACEOF
23318
 
#define size_t unsigned int
23319
 
_ACEOF
23320
 
 
23321
 
fi
23322
 
 
23323
24971
 
23324
24972
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inttypes.h" >&5
23325
24973
$as_echo_n "checking for inttypes.h... " >&6; }
23326
 
if test "${gl_cv_header_inttypes_h+set}" = set; then :
 
24974
if ${gl_cv_header_inttypes_h+:} false; then :
23327
24975
  $as_echo_n "(cached) " >&6
23328
24976
else
23329
24977
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23358
25006
 
23359
25007
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for stdint.h" >&5
23360
25008
$as_echo_n "checking for stdint.h... " >&6; }
23361
 
if test "${gl_cv_header_stdint_h+set}" = set; then :
 
25009
if ${gl_cv_header_stdint_h+:} false; then :
23362
25010
  $as_echo_n "(cached) " >&6
23363
25011
else
23364
25012
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23395
25043
 
23396
25044
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for intmax_t" >&5
23397
25045
$as_echo_n "checking for intmax_t... " >&6; }
23398
 
if test "${gt_cv_c_intmax_t+set}" = set; then :
 
25046
if ${gt_cv_c_intmax_t+:} false; then :
23399
25047
  $as_echo_n "(cached) " >&6
23400
25048
else
23401
25049
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23445
25093
 
23446
25094
 
23447
25095
 
23448
 
     { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf returns a byte count as in C99" >&5
23449
 
$as_echo_n "checking whether snprintf returns a byte count as in C99... " >&6; }
23450
 
if test "${gl_cv_func_snprintf_retval_c99+set}" = set; then :
23451
 
  $as_echo_n "(cached) " >&6
23452
 
else
23453
 
 
23454
 
      if test "$cross_compiling" = yes; then :
23455
 
 
23456
 
       case "$host_os" in
23457
 
                               # Guess yes on glibc systems.
23458
 
         *-gnu*)               gl_cv_func_snprintf_retval_c99="guessing yes";;
23459
 
                               # Guess yes on FreeBSD >= 5.
23460
 
         freebsd[1-4]*)        gl_cv_func_snprintf_retval_c99="guessing no";;
23461
 
         freebsd* | kfreebsd*) gl_cv_func_snprintf_retval_c99="guessing yes";;
23462
 
                               # Guess yes on MacOS X >= 10.3.
23463
 
         darwin[1-6].*)        gl_cv_func_snprintf_retval_c99="guessing no";;
23464
 
         darwin*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
23465
 
                               # Guess yes on OpenBSD >= 3.9.
23466
 
         openbsd[1-2].* | openbsd3.[0-8] | openbsd3.[0-8].*)
23467
 
                               gl_cv_func_snprintf_retval_c99="guessing no";;
23468
 
         openbsd*)             gl_cv_func_snprintf_retval_c99="guessing yes";;
23469
 
                               # Guess yes on Solaris >= 2.6.
23470
 
         solaris2.[0-5]*)      gl_cv_func_snprintf_retval_c99="guessing no";;
23471
 
         solaris*)             gl_cv_func_snprintf_retval_c99="guessing yes";;
23472
 
                               # Guess yes on AIX >= 4.
23473
 
         aix[1-3]*)            gl_cv_func_snprintf_retval_c99="guessing no";;
23474
 
         aix*)                 gl_cv_func_snprintf_retval_c99="guessing yes";;
23475
 
                               # Guess yes on NetBSD >= 3.
23476
 
         netbsd[1-2]* | netbsdelf[1-2]* | netbsdaout[1-2]* | netbsdcoff[1-2]*)
23477
 
                               gl_cv_func_snprintf_retval_c99="guessing no";;
23478
 
         netbsd*)              gl_cv_func_snprintf_retval_c99="guessing yes";;
23479
 
                               # Guess yes on BeOS.
23480
 
         beos*)                gl_cv_func_snprintf_retval_c99="guessing yes";;
23481
 
                               # If we don't know, assume the worst.
23482
 
         *)                    gl_cv_func_snprintf_retval_c99="guessing no";;
23483
 
       esac
23484
 
 
23485
 
else
23486
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23487
 
/* end confdefs.h.  */
23488
 
 
23489
 
#include <stdio.h>
23490
 
#include <string.h>
23491
 
static char buf[100];
23492
 
int main ()
23493
 
{
23494
 
  strcpy (buf, "ABCDEF");
23495
 
  if (snprintf (buf, 3, "%d %d", 4567, 89) != 7)
23496
 
    return 1;
23497
 
  return 0;
23498
 
}
23499
 
_ACEOF
23500
 
if ac_fn_c_try_run "$LINENO"; then :
23501
 
  gl_cv_func_snprintf_retval_c99=yes
23502
 
else
23503
 
  gl_cv_func_snprintf_retval_c99=no
23504
 
fi
23505
 
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
23506
 
  conftest.$ac_objext conftest.beam conftest.$ac_ext
23507
 
fi
23508
 
 
23509
 
 
23510
 
fi
23511
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_snprintf_retval_c99" >&5
23512
 
$as_echo "$gl_cv_func_snprintf_retval_c99" >&6; }
23513
 
 
23514
 
 
23515
 
 
23516
25096
 
23517
25097
 
23518
25098
 
23531
25111
 
23532
25112
      ac_fn_c_check_decl "$LINENO" "_snprintf" "ac_cv_have_decl__snprintf" "#include <stdio.h>
23533
25113
"
23534
 
if test "x$ac_cv_have_decl__snprintf" = x""yes; then :
 
25114
if test "x$ac_cv_have_decl__snprintf" = xyes; then :
23535
25115
  ac_have_decl=1
23536
25116
else
23537
25117
  ac_have_decl=0
23551
25131
  esac
23552
25132
 
23553
25133
 
23554
 
  GNULIB_BTOWC=0;
23555
 
  GNULIB_WCTOB=0;
23556
 
  GNULIB_MBSINIT=0;
23557
 
  GNULIB_MBRTOWC=0;
23558
 
  GNULIB_MBRLEN=0;
23559
 
  GNULIB_MBSRTOWCS=0;
23560
 
  GNULIB_MBSNRTOWCS=0;
23561
 
  GNULIB_WCRTOMB=0;
23562
 
  GNULIB_WCSRTOMBS=0;
23563
 
  GNULIB_WCSNRTOMBS=0;
23564
 
  GNULIB_WCWIDTH=0;
23565
 
    HAVE_BTOWC=1;
23566
 
  HAVE_MBSINIT=1;
23567
 
  HAVE_MBRTOWC=1;
23568
 
  HAVE_MBRLEN=1;
23569
 
  HAVE_MBSRTOWCS=1;
23570
 
  HAVE_MBSNRTOWCS=1;
23571
 
  HAVE_WCRTOMB=1;
23572
 
  HAVE_WCSRTOMBS=1;
23573
 
  HAVE_WCSNRTOMBS=1;
23574
 
  HAVE_DECL_WCTOB=1;
23575
 
  HAVE_DECL_WCWIDTH=1;
23576
 
  REPLACE_MBSTATE_T=0;
23577
 
  REPLACE_BTOWC=0;
23578
 
  REPLACE_WCTOB=0;
23579
 
  REPLACE_MBSINIT=0;
23580
 
  REPLACE_MBRTOWC=0;
23581
 
  REPLACE_MBRLEN=0;
23582
 
  REPLACE_MBSRTOWCS=0;
23583
 
  REPLACE_MBSNRTOWCS=0;
23584
 
  REPLACE_WCRTOMB=0;
23585
 
  REPLACE_WCSRTOMBS=0;
23586
 
  REPLACE_WCSNRTOMBS=0;
23587
 
  REPLACE_WCWIDTH=0;
23588
 
 
23589
 
 
23590
 
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <wchar.h> uses 'inline' correctly" >&5
23591
 
$as_echo_n "checking whether <wchar.h> uses 'inline' correctly... " >&6; }
23592
 
if test "${gl_cv_header_wchar_h_correct_inline+set}" = set; then :
 
25134
  GNULIB_FCNTL=0;
 
25135
  GNULIB_OPEN=0;
 
25136
  GNULIB_OPENAT=0;
 
25137
    HAVE_FCNTL=1;
 
25138
  HAVE_OPENAT=1;
 
25139
  REPLACE_FCNTL=0;
 
25140
  REPLACE_OPEN=0;
 
25141
  REPLACE_OPENAT=0;
 
25142
 
 
25143
 
 
25144
 
 
25145
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fcntl.h" >&5
 
25146
$as_echo_n "checking for working fcntl.h... " >&6; }
 
25147
if ${gl_cv_header_working_fcntl_h+:} false; then :
23593
25148
  $as_echo_n "(cached) " >&6
23594
25149
else
23595
 
  gl_cv_header_wchar_h_correct_inline=yes
23596
 
     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23597
 
/* end confdefs.h.  */
23598
 
 
23599
 
       #define wcstod renamed_wcstod
23600
 
#include <wchar.h>
23601
 
extern int zero (void);
23602
 
int main () { return zero(); }
23603
 
 
23604
 
_ACEOF
23605
 
     if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
23606
 
  (eval $ac_compile) 2>&5
23607
 
  ac_status=$?
23608
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23609
 
  test $ac_status = 0; }; then
23610
 
       mv conftest.$ac_objext conftest1.$ac_objext
23611
 
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23612
 
/* end confdefs.h.  */
23613
 
 
23614
 
         #define wcstod renamed_wcstod
23615
 
#include <wchar.h>
23616
 
int zero (void) { return 0; }
23617
 
 
23618
 
_ACEOF
23619
 
       if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
23620
 
  (eval $ac_compile) 2>&5
23621
 
  ac_status=$?
23622
 
  $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
23623
 
  test $ac_status = 0; }; then
23624
 
         mv conftest.$ac_objext conftest2.$ac_objext
23625
 
         if $CC -o conftest$ac_exeext $CFLAGS $LDFLAGS conftest1.$ac_objext conftest2.$ac_objext $LIBS >&5 2>&1; then
23626
 
           :
23627
 
         else
23628
 
           gl_cv_header_wchar_h_correct_inline=no
23629
 
         fi
23630
 
       fi
23631
 
     fi
23632
 
     rm -f conftest1.$ac_objext conftest2.$ac_objext conftest$ac_exeext
23633
 
 
23634
 
fi
23635
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_wchar_h_correct_inline" >&5
23636
 
$as_echo "$gl_cv_header_wchar_h_correct_inline" >&6; }
23637
 
  if test $gl_cv_header_wchar_h_correct_inline = no; then
23638
 
    as_fn_error $? "<wchar.h> cannot be used with this compiler ($CC $CFLAGS $CPPFLAGS).
23639
 
This is a known interoperability problem of glibc <= 2.5 with gcc >= 4.3 in
23640
 
C99 mode. You have four options:
23641
 
  - Add the flag -fgnu89-inline to CC and reconfigure, or
23642
 
  - Fix your include files, using parts of
23643
 
    <http://sourceware.org/git/?p=glibc.git;a=commitdiff;h=b037a293a48718af30d706c2e18c929d0e69a621>, or
23644
 
  - Use a gcc version older than 4.3, or
23645
 
  - Don't use the flags -std=c99 or -std=gnu99.
23646
 
Configuration aborted." "$LINENO" 5
23647
 
  fi
 
25150
  if test "$cross_compiling" = yes; then :
 
25151
  gl_cv_header_working_fcntl_h=cross-compiling
 
25152
else
 
25153
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
25154
/* end confdefs.h.  */
 
25155
#include <sys/types.h>
 
25156
           #include <sys/stat.h>
 
25157
           #include <unistd.h>
 
25158
           #include <fcntl.h>
 
25159
           #ifndef O_NOATIME
 
25160
            #define O_NOATIME 0
 
25161
           #endif
 
25162
           #ifndef O_NOFOLLOW
 
25163
            #define O_NOFOLLOW 0
 
25164
           #endif
 
25165
           static int const constants[] =
 
25166
            {
 
25167
              O_CREAT, O_EXCL, O_NOCTTY, O_TRUNC, O_APPEND,
 
25168
              O_NONBLOCK, O_SYNC, O_ACCMODE, O_RDONLY, O_RDWR, O_WRONLY
 
25169
            };
 
25170
 
 
25171
int
 
25172
main ()
 
25173
{
 
25174
 
 
25175
            int result = !constants;
 
25176
            {
 
25177
              static char const sym[] = "conftest.sym";
 
25178
              if (symlink (".", sym) != 0)
 
25179
                result |= 2;
 
25180
              else
 
25181
                {
 
25182
                  int fd = open (sym, O_RDONLY | O_NOFOLLOW);
 
25183
                  if (fd >= 0)
 
25184
                    {
 
25185
                      close (fd);
 
25186
                      result |= 4;
 
25187
                    }
 
25188
                }
 
25189
              unlink (sym);
 
25190
            }
 
25191
            {
 
25192
              static char const file[] = "confdefs.h";
 
25193
              int fd = open (file, O_RDONLY | O_NOATIME);
 
25194
              if (fd < 0)
 
25195
                result |= 8;
 
25196
              else
 
25197
                {
 
25198
                  struct stat st0;
 
25199
                  if (fstat (fd, &st0) != 0)
 
25200
                    result |= 16;
 
25201
                  else
 
25202
                    {
 
25203
                      char c;
 
25204
                      sleep (1);
 
25205
                      if (read (fd, &c, 1) != 1)
 
25206
                        result |= 24;
 
25207
                      else
 
25208
                        {
 
25209
                          if (close (fd) != 0)
 
25210
                            result |= 32;
 
25211
                          else
 
25212
                            {
 
25213
                              struct stat st1;
 
25214
                              if (stat (file, &st1) != 0)
 
25215
                                result |= 40;
 
25216
                              else
 
25217
                                if (st0.st_atime != st1.st_atime)
 
25218
                                  result |= 64;
 
25219
                            }
 
25220
                        }
 
25221
                    }
 
25222
                }
 
25223
            }
 
25224
            return result;
 
25225
  ;
 
25226
  return 0;
 
25227
}
 
25228
_ACEOF
 
25229
if ac_fn_c_try_run "$LINENO"; then :
 
25230
  gl_cv_header_working_fcntl_h=yes
 
25231
else
 
25232
  case $? in #(
 
25233
        4) gl_cv_header_working_fcntl_h='no (bad O_NOFOLLOW)';; #(
 
25234
        64) gl_cv_header_working_fcntl_h='no (bad O_NOATIME)';; #(
 
25235
        68) gl_cv_header_working_fcntl_h='no (bad O_NOATIME, O_NOFOLLOW)';; #(
 
25236
         *) gl_cv_header_working_fcntl_h='no';;
 
25237
        esac
 
25238
fi
 
25239
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
25240
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
25241
fi
 
25242
 
 
25243
fi
 
25244
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_working_fcntl_h" >&5
 
25245
$as_echo "$gl_cv_header_working_fcntl_h" >&6; }
 
25246
 
 
25247
  case $gl_cv_header_working_fcntl_h in #(
 
25248
  *O_NOATIME* | no | cross-compiling) ac_val=0;; #(
 
25249
  *) ac_val=1;;
 
25250
  esac
 
25251
 
 
25252
cat >>confdefs.h <<_ACEOF
 
25253
#define HAVE_WORKING_O_NOATIME $ac_val
 
25254
_ACEOF
 
25255
 
 
25256
 
 
25257
  case $gl_cv_header_working_fcntl_h in #(
 
25258
  *O_NOFOLLOW* | no | cross-compiling) ac_val=0;; #(
 
25259
  *) ac_val=1;;
 
25260
  esac
 
25261
 
 
25262
cat >>confdefs.h <<_ACEOF
 
25263
#define HAVE_WORKING_O_NOFOLLOW $ac_val
 
25264
_ACEOF
 
25265
 
23648
25266
 
23649
25267
 
23650
25268
 
23651
25269
 
23652
25270
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ungetc works on arbitrary bytes" >&5
23653
25271
$as_echo_n "checking whether ungetc works on arbitrary bytes... " >&6; }
23654
 
if test "${gl_cv_func_ungetc_works+set}" = set; then :
 
25272
if ${gl_cv_func_ungetc_works+:} false; then :
23655
25273
  $as_echo_n "(cached) " >&6
23656
25274
else
23657
25275
  if test "$cross_compiling" = yes; then :
23718
25336
 
23719
25337
 
23720
25338
 
 
25339
 
 
25340
 
 
25341
 
 
25342
 
 
25343
 
23721
25344
   if true; then
23722
25345
  GL_COND_LIBTOOL_TRUE=
23723
25346
  GL_COND_LIBTOOL_FALSE='#'
23770
25393
  # Code from module alloca-opt:
23771
25394
 
23772
25395
 
23773
 
 
23774
 
 
23775
 
 
23776
25396
  if test $ac_cv_func_alloca_works = no; then
23777
25397
    :
23778
25398
  fi
23781
25401
  if test $ac_cv_working_alloca_h = yes; then
23782
25402
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca as a compiler built-in" >&5
23783
25403
$as_echo_n "checking for alloca as a compiler built-in... " >&6; }
23784
 
if test "${gl_cv_rpl_alloca+set}" = set; then :
 
25404
if ${gl_cv_rpl_alloca+:} false; then :
23785
25405
  $as_echo_n "(cached) " >&6
23786
25406
else
23787
25407
 
23840
25460
 
23841
25461
 
23842
25462
 
 
25463
 
 
25464
 
23843
25465
  :
23844
25466
 
23845
25467
 
23848
25470
 
23849
25471
 
23850
25472
 
 
25473
 
23851
25474
     if test $gl_cv_have_include_next = yes; then
23852
25475
       gl_cv_next_arpa_inet_h='<'arpa/inet.h'>'
23853
25476
     else
23854
25477
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <arpa/inet.h>" >&5
23855
25478
$as_echo_n "checking absolute name of <arpa/inet.h>... " >&6; }
23856
 
if test "${gl_cv_next_arpa_inet_h+set}" = set; then :
 
25479
if ${gl_cv_next_arpa_inet_h+:} false; then :
23857
25480
  $as_echo_n "(cached) " >&6
23858
25481
else
23859
25482
 
23860
 
          if test $ac_cv_header_arpa_inet_h = yes; then
23861
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
25483
             if test $ac_cv_header_arpa_inet_h = yes; then
 
25484
 
 
25485
 
 
25486
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23862
25487
/* end confdefs.h.  */
23863
25488
#include <arpa/inet.h>
23864
25489
 
23865
25490
_ACEOF
23866
 
                                                                                                case "$host_os" in
23867
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
23868
 
              *)    gl_absname_cpp="$ac_cpp" ;;
23869
 
            esac
23870
 
                                                gl_cv_next_arpa_inet_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
23871
 
               sed -n '\#/arpa/inet.h#{
23872
 
                 s#.*"\(.*/arpa/inet.h\)".*#\1#
23873
 
                 s#^/[^/]#//&#
23874
 
                 p
23875
 
                 q
23876
 
               }'`'"'
 
25491
                                                                                                                        case "$host_os" in
 
25492
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
25493
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
25494
               esac
 
25495
                                                            gl_cv_next_arpa_inet_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
25496
                  sed -n '\#/arpa/inet.h#{
 
25497
                    s#.*"\(.*/arpa/inet.h\)".*#\1#
 
25498
                    s#^/[^/]#//&#
 
25499
                    p
 
25500
                    q
 
25501
                  }'`'"'
23877
25502
          else
23878
 
            gl_cv_next_arpa_inet_h='<'arpa/inet.h'>'
23879
 
          fi
 
25503
               gl_cv_next_arpa_inet_h='<'arpa/inet.h'>'
 
25504
             fi
 
25505
 
23880
25506
 
23881
25507
fi
23882
25508
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_arpa_inet_h" >&5
23897
25523
 
23898
25524
 
23899
25525
 
 
25526
 
 
25527
 
 
25528
 
23900
25529
    for gl_func in inet_ntop inet_pton; do
23901
25530
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
23902
25531
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
23903
25532
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
23904
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
25533
if eval \${$as_gl_Symbol+:} false; then :
23905
25534
  $as_echo_n "(cached) " >&6
23906
25535
else
23907
25536
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23908
25537
/* end confdefs.h.  */
23909
25538
 
23910
25539
/* On some systems, this header is not self-consistent.  */
23911
 
#ifndef __GLIBC__
 
25540
#if !(defined __GLIBC__ || defined __UCLIBC__)
23912
25541
# include <sys/socket.h>
23913
25542
#endif
 
25543
#ifdef __TANDEM
 
25544
# include <netdb.h>
 
25545
#endif
23914
25546
#include <arpa/inet.h>
23915
25547
 
23916
25548
int
23986
25618
  gl_saved_libs=$LIBS
23987
25619
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
23988
25620
$as_echo_n "checking for library containing clock_gettime... " >&6; }
23989
 
if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
25621
if ${ac_cv_search_clock_gettime+:} false; then :
23990
25622
  $as_echo_n "(cached) " >&6
23991
25623
else
23992
25624
  ac_func_search_save_LIBS=$LIBS
24020
25652
fi
24021
25653
rm -f core conftest.err conftest.$ac_objext \
24022
25654
    conftest$ac_exeext
24023
 
  if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
25655
  if ${ac_cv_search_clock_gettime+:} false; then :
24024
25656
  break
24025
25657
fi
24026
25658
done
24027
 
if test "${ac_cv_search_clock_gettime+set}" = set; then :
 
25659
if ${ac_cv_search_clock_gettime+:} false; then :
24028
25660
 
24029
25661
else
24030
25662
  ac_cv_search_clock_gettime=no
24072
25704
                    for ac_header in winsock2.h
24073
25705
do :
24074
25706
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
24075
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
 
25707
if test "x$ac_cv_header_winsock2_h" = xyes; then :
24076
25708
  cat >>confdefs.h <<_ACEOF
24077
25709
#define HAVE_WINSOCK2_H 1
24078
25710
_ACEOF
24176
25808
 
24177
25809
 
24178
25810
 
24179
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
 
25811
 
 
25812
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for error_at_line" >&5
24180
25813
$as_echo_n "checking for error_at_line... " >&6; }
24181
 
if test "${ac_cv_lib_error_at_line+set}" = set; then :
 
25814
if ${ac_cv_lib_error_at_line+:} false; then :
24182
25815
  $as_echo_n "(cached) " >&6
24183
25816
else
24184
25817
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24202
25835
fi
24203
25836
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_error_at_line" >&5
24204
25837
$as_echo "$ac_cv_lib_error_at_line" >&6; }
24205
 
if test $ac_cv_lib_error_at_line = no; then
 
25838
  if test $ac_cv_lib_error_at_line = no; then
24206
25839
 
24207
25840
 
24208
25841
 
24213
25846
 
24214
25847
  gl_LIBOBJS="$gl_LIBOBJS error.$ac_objext"
24215
25848
 
24216
 
fi
 
25849
  fi
24217
25850
 
24218
25851
 
24219
25852
 
24251
25884
 
24252
25885
  FLOAT_H=
24253
25886
  case "$host_os" in
24254
 
    beos* | openbsd*)
 
25887
    beos* | openbsd* | mirbsd*)
24255
25888
      FLOAT_H=float.h
24256
25889
 
24257
25890
 
24258
25891
 
24259
25892
 
24260
 
  :
24261
 
 
24262
 
 
24263
 
 
24264
25893
 
24265
25894
 
24266
25895
 
24270
25899
     else
24271
25900
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <float.h>" >&5
24272
25901
$as_echo_n "checking absolute name of <float.h>... " >&6; }
24273
 
if test "${gl_cv_next_float_h+set}" = set; then :
 
25902
if ${gl_cv_next_float_h+:} false; then :
24274
25903
  $as_echo_n "(cached) " >&6
24275
25904
else
24276
25905
 
24277
 
          if test $ac_cv_header_float_h = yes; then
24278
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
25906
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24279
25907
/* end confdefs.h.  */
24280
25908
#include <float.h>
24281
25909
 
24282
25910
_ACEOF
24283
 
                                                                                                case "$host_os" in
24284
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
24285
 
              *)    gl_absname_cpp="$ac_cpp" ;;
24286
 
            esac
24287
 
                                                gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
24288
 
               sed -n '\#/float.h#{
24289
 
                 s#.*"\(.*/float.h\)".*#\1#
24290
 
                 s#^/[^/]#//&#
24291
 
                 p
24292
 
                 q
24293
 
               }'`'"'
24294
 
          else
24295
 
            gl_cv_next_float_h='<'float.h'>'
24296
 
          fi
 
25911
                                                                                                                        case "$host_os" in
 
25912
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
25913
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
25914
               esac
 
25915
                                                            gl_cv_next_float_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
25916
                  sed -n '\#/float.h#{
 
25917
                    s#.*"\(.*/float.h\)".*#\1#
 
25918
                    s#^/[^/]#//&#
 
25919
                    p
 
25920
                    q
 
25921
                  }'`'"'
 
25922
 
24297
25923
 
24298
25924
fi
24299
25925
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_float_h" >&5
24312
25938
 
24313
25939
 
24314
25940
 
 
25941
 
24315
25942
      ;;
24316
25943
  esac
24317
25944
 
24322
25949
 
24323
25950
 
24324
25951
 
 
25952
 
 
25953
  :
 
25954
 
 
25955
 
 
25956
 
 
25957
 
 
25958
 
 
25959
  if test $ac_cv_have_decl_fseeko = no; then
 
25960
    HAVE_DECL_FSEEKO=0
 
25961
  fi
 
25962
 
24325
25963
  if test $gl_cv_func_fseeko = no; then
24326
25964
    HAVE_FSEEKO=0
24327
25965
 
24376
26014
 
24377
26015
 
24378
26016
 
 
26017
  # Code from module ftello:
 
26018
 
 
26019
 
 
26020
 
 
26021
 
 
26022
 
 
26023
 
 
26024
 
 
26025
 
 
26026
  :
 
26027
 
 
26028
 
 
26029
 
 
26030
 
 
26031
 
 
26032
  if test $ac_cv_have_decl_ftello = no; then
 
26033
    HAVE_DECL_FTELLO=0
 
26034
  fi
 
26035
 
 
26036
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ftello" >&5
 
26037
$as_echo_n "checking for ftello... " >&6; }
 
26038
if ${gl_cv_func_ftello+:} false; then :
 
26039
  $as_echo_n "(cached) " >&6
 
26040
else
 
26041
 
 
26042
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
26043
/* end confdefs.h.  */
 
26044
#include <stdio.h>
 
26045
int
 
26046
main ()
 
26047
{
 
26048
ftello (stdin);
 
26049
  ;
 
26050
  return 0;
 
26051
}
 
26052
_ACEOF
 
26053
if ac_fn_c_try_link "$LINENO"; then :
 
26054
  gl_cv_func_ftello=yes
 
26055
else
 
26056
  gl_cv_func_ftello=no
 
26057
fi
 
26058
rm -f core conftest.err conftest.$ac_objext \
 
26059
    conftest$ac_exeext conftest.$ac_ext
 
26060
 
 
26061
fi
 
26062
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello" >&5
 
26063
$as_echo "$gl_cv_func_ftello" >&6; }
 
26064
  if test $gl_cv_func_ftello = no; then
 
26065
    HAVE_FTELLO=0
 
26066
  else
 
26067
    if test $gl_cv_var_stdin_large_offset = no; then
 
26068
      REPLACE_FTELLO=1
 
26069
    else
 
26070
 
 
26071
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ftello works" >&5
 
26072
$as_echo_n "checking whether ftello works... " >&6; }
 
26073
if ${gl_cv_func_ftello_works+:} false; then :
 
26074
  $as_echo_n "(cached) " >&6
 
26075
else
 
26076
 
 
26077
                              case "$host_os" in
 
26078
                      # Guess no on Solaris.
 
26079
            solaris*) gl_cv_func_ftello_works="guessing no" ;;
 
26080
                      # Guess yes otherwise.
 
26081
            *)        gl_cv_func_ftello_works="guessing yes" ;;
 
26082
          esac
 
26083
          if test "$cross_compiling" = yes; then :
 
26084
  :
 
26085
else
 
26086
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
26087
/* end confdefs.h.  */
 
26088
 
 
26089
#include <stdio.h>
 
26090
#include <stdlib.h>
 
26091
#include <string.h>
 
26092
#define TESTFILE "conftest.tmp"
 
26093
int
 
26094
main (void)
 
26095
{
 
26096
  FILE *fp;
 
26097
 
 
26098
  /* Create a file with some contents.  */
 
26099
  fp = fopen (TESTFILE, "w");
 
26100
  if (fp == NULL)
 
26101
    return 70;
 
26102
  if (fwrite ("foogarsh", 1, 8, fp) < 8)
 
26103
    return 71;
 
26104
  if (fclose (fp))
 
26105
    return 72;
 
26106
 
 
26107
  /* The file's contents is now "foogarsh".  */
 
26108
 
 
26109
  /* Try writing after reading to EOF.  */
 
26110
  fp = fopen (TESTFILE, "r+");
 
26111
  if (fp == NULL)
 
26112
    return 73;
 
26113
  if (fseek (fp, -1, SEEK_END))
 
26114
    return 74;
 
26115
  if (!(getc (fp) == 'h'))
 
26116
    return 1;
 
26117
  if (!(getc (fp) == EOF))
 
26118
    return 2;
 
26119
  if (!(ftell (fp) == 8))
 
26120
    return 3;
 
26121
  if (!(ftell (fp) == 8))
 
26122
    return 4;
 
26123
  if (!(putc ('!', fp) == '!'))
 
26124
    return 5;
 
26125
  if (!(ftell (fp) == 9))
 
26126
    return 6;
 
26127
  if (!(fclose (fp) == 0))
 
26128
    return 7;
 
26129
  fp = fopen (TESTFILE, "r");
 
26130
  if (fp == NULL)
 
26131
    return 75;
 
26132
  {
 
26133
    char buf[10];
 
26134
    if (!(fread (buf, 1, 10, fp) == 9))
 
26135
      return 10;
 
26136
    if (!(memcmp (buf, "foogarsh!", 9) == 0))
 
26137
      return 11;
 
26138
  }
 
26139
  if (!(fclose (fp) == 0))
 
26140
    return 12;
 
26141
 
 
26142
  /* The file's contents is now "foogarsh!".  */
 
26143
 
 
26144
  return 0;
 
26145
}
 
26146
_ACEOF
 
26147
if ac_fn_c_try_run "$LINENO"; then :
 
26148
  gl_cv_func_ftello_works=yes
 
26149
else
 
26150
  gl_cv_func_ftello_works=no
 
26151
fi
 
26152
rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
 
26153
  conftest.$ac_objext conftest.beam conftest.$ac_ext
 
26154
fi
 
26155
 
 
26156
 
 
26157
fi
 
26158
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_func_ftello_works" >&5
 
26159
$as_echo "$gl_cv_func_ftello_works" >&6; }
 
26160
      case "$gl_cv_func_ftello_works" in
 
26161
        *yes) ;;
 
26162
        *)
 
26163
          REPLACE_FTELLO=1
 
26164
 
 
26165
$as_echo "#define FTELLO_BROKEN_AFTER_SWITCHING_FROM_READ_TO_WRITE 1" >>confdefs.h
 
26166
 
 
26167
          ;;
 
26168
      esac
 
26169
    fi
 
26170
  fi
 
26171
  if test $HAVE_FTELLO = 0 || test $REPLACE_FTELLO = 1; then
 
26172
 
 
26173
 
 
26174
 
 
26175
 
 
26176
 
 
26177
 
 
26178
 
 
26179
 
 
26180
 
 
26181
  gl_LIBOBJS="$gl_LIBOBJS ftello.$ac_objext"
 
26182
 
 
26183
 
 
26184
  fi
 
26185
 
 
26186
 
 
26187
 
 
26188
 
 
26189
  GNULIB_FTELLO=1
 
26190
 
 
26191
 
 
26192
 
 
26193
$as_echo "#define GNULIB_TEST_FTELLO 1" >>confdefs.h
 
26194
 
 
26195
 
 
26196
 
24379
26197
  # Code from module gendocs:
24380
26198
  # Code from module getaddrinfo:
24381
26199
 
24386
26204
 
24387
26205
              { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getaddrinfo" >&5
24388
26206
$as_echo_n "checking for library containing getaddrinfo... " >&6; }
24389
 
if test "${ac_cv_search_getaddrinfo+set}" = set; then :
 
26207
if ${ac_cv_search_getaddrinfo+:} false; then :
24390
26208
  $as_echo_n "(cached) " >&6
24391
26209
else
24392
26210
  ac_func_search_save_LIBS=$LIBS
24420
26238
fi
24421
26239
rm -f core conftest.err conftest.$ac_objext \
24422
26240
    conftest$ac_exeext
24423
 
  if test "${ac_cv_search_getaddrinfo+set}" = set; then :
 
26241
  if ${ac_cv_search_getaddrinfo+:} false; then :
24424
26242
  break
24425
26243
fi
24426
26244
done
24427
 
if test "${ac_cv_search_getaddrinfo+set}" = set; then :
 
26245
if ${ac_cv_search_getaddrinfo+:} false; then :
24428
26246
 
24429
26247
else
24430
26248
  ac_cv_search_getaddrinfo=no
24446
26264
 
24447
26265
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo" >&5
24448
26266
$as_echo_n "checking for getaddrinfo... " >&6; }
24449
 
if test "${gl_cv_func_getaddrinfo+set}" = set; then :
 
26267
if ${gl_cv_func_getaddrinfo+:} false; then :
24450
26268
  $as_echo_n "(cached) " >&6
24451
26269
else
24452
26270
 
24483
26301
  if test $gl_cv_func_getaddrinfo = no; then
24484
26302
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getaddrinfo in ws2tcpip.h and -lws2_32" >&5
24485
26303
$as_echo_n "checking for getaddrinfo in ws2tcpip.h and -lws2_32... " >&6; }
24486
 
if test "${gl_cv_w32_getaddrinfo+set}" = set; then :
 
26304
if ${gl_cv_w32_getaddrinfo+:} false; then :
24487
26305
  $as_echo_n "(cached) " >&6
24488
26306
else
24489
26307
 
24538
26356
  # header included somehow.
24539
26357
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gai_strerror (possibly via ws2tcpip.h)" >&5
24540
26358
$as_echo_n "checking for gai_strerror (possibly via ws2tcpip.h)... " >&6; }
24541
 
if test "${gl_cv_func_gai_strerror+set}" = set; then :
 
26359
if ${gl_cv_func_gai_strerror+:} false; then :
24542
26360
  $as_echo_n "(cached) " >&6
24543
26361
else
24544
26362
 
24600
26418
 
24601
26419
      ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/socket.h>
24602
26420
"
24603
 
if test "x$ac_cv_member_struct_sockaddr_sa_len" = x""yes; then :
 
26421
if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
24604
26422
 
24605
26423
cat >>confdefs.h <<_ACEOF
24606
26424
#define HAVE_STRUCT_SOCKADDR_SA_LEN 1
24634
26452
#endif
24635
26453
 
24636
26454
"
24637
 
if test "x$ac_cv_have_decl_getaddrinfo" = x""yes; then :
 
26455
if test "x$ac_cv_have_decl_getaddrinfo" = xyes; then :
24638
26456
  ac_have_decl=1
24639
26457
else
24640
26458
  ac_have_decl=0
24659
26477
#endif
24660
26478
 
24661
26479
"
24662
 
if test "x$ac_cv_have_decl_freeaddrinfo" = x""yes; then :
 
26480
if test "x$ac_cv_have_decl_freeaddrinfo" = xyes; then :
24663
26481
  ac_have_decl=1
24664
26482
else
24665
26483
  ac_have_decl=0
24684
26502
#endif
24685
26503
 
24686
26504
"
24687
 
if test "x$ac_cv_have_decl_gai_strerror" = x""yes; then :
 
26505
if test "x$ac_cv_have_decl_gai_strerror" = xyes; then :
24688
26506
  ac_have_decl=1
24689
26507
else
24690
26508
  ac_have_decl=0
24709
26527
#endif
24710
26528
 
24711
26529
"
24712
 
if test "x$ac_cv_have_decl_getnameinfo" = x""yes; then :
 
26530
if test "x$ac_cv_have_decl_getnameinfo" = xyes; then :
24713
26531
  ac_have_decl=1
24714
26532
else
24715
26533
  ac_have_decl=0
24745
26563
#endif
24746
26564
 
24747
26565
"
24748
 
if test "x$ac_cv_type_struct_addrinfo" = x""yes; then :
 
26566
if test "x$ac_cv_type_struct_addrinfo" = xyes; then :
24749
26567
 
24750
26568
cat >>confdefs.h <<_ACEOF
24751
26569
#define HAVE_STRUCT_ADDRINFO 1
24806
26624
  if test $ac_cv_func_getdelim = yes; then
24807
26625
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5
24808
26626
$as_echo_n "checking for working getdelim function... " >&6; }
24809
 
if test "${gl_cv_func_working_getdelim+set}" = set; then :
 
26627
if ${gl_cv_func_working_getdelim+:} false; then :
24810
26628
  $as_echo_n "(cached) " >&6
24811
26629
else
24812
26630
  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
24816
26634
 
24817
26635
#include <features.h>
24818
26636
#ifdef __GNU_LIBRARY__
24819
 
 #if (__GLIBC__ >= 2)
 
26637
 #if (__GLIBC__ >= 2) && !defined __UCLIBC__
24820
26638
  Lucky GNU user
24821
26639
 #endif
24822
26640
#endif
24850
26668
        size_t siz = 0;
24851
26669
        int len = getdelim (&line, &siz, '\n', in);
24852
26670
        if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
24853
 
          return 1;
 
26671
          return 2;
24854
26672
      }
24855
26673
      {
24856
26674
        /* Test result for a NULL buffer and a non-zero size.
24858
26676
        char *line = NULL;
24859
26677
        size_t siz = (size_t)(~0) / 4;
24860
26678
        if (getdelim (&line, &siz, '\n', in) == -1)
24861
 
          return 1;
 
26679
          return 3;
24862
26680
      }
24863
26681
      return 0;
24864
26682
    }
24912
26730
done
24913
26731
 
24914
26732
  ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
24915
 
if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then :
 
26733
if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
24916
26734
  ac_have_decl=1
24917
26735
else
24918
26736
  ac_have_decl=0
24952
26770
 
24953
26771
  gl_getline_needs_run_time_check=no
24954
26772
  ac_fn_c_check_func "$LINENO" "getline" "ac_cv_func_getline"
24955
 
if test "x$ac_cv_func_getline" = x""yes; then :
 
26773
if test "x$ac_cv_func_getline" = xyes; then :
24956
26774
                   gl_getline_needs_run_time_check=yes
24957
26775
else
24958
26776
  am_cv_func_working_getline=no
24961
26779
  if test $gl_getline_needs_run_time_check = yes; then
24962
26780
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getline function" >&5
24963
26781
$as_echo_n "checking for working getline function... " >&6; }
24964
 
if test "${am_cv_func_working_getline+set}" = set; then :
 
26782
if ${am_cv_func_working_getline+:} false; then :
24965
26783
  $as_echo_n "(cached) " >&6
24966
26784
else
24967
26785
  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
24971
26789
 
24972
26790
#include <features.h>
24973
26791
#ifdef __GNU_LIBRARY__
24974
 
 #if (__GLIBC__ >= 2)
 
26792
 #if (__GLIBC__ >= 2) && !defined __UCLIBC__
24975
26793
  Lucky GNU user
24976
26794
 #endif
24977
26795
#endif
25005
26823
        size_t siz = 0;
25006
26824
        int len = getline (&line, &siz, in);
25007
26825
        if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
25008
 
          return 1;
 
26826
          return 2;
25009
26827
      }
25010
26828
      {
25011
26829
        /* Test result for a NULL buffer and a non-zero size.
25013
26831
        char *line = NULL;
25014
26832
        size_t siz = (size_t)(~0) / 4;
25015
26833
        if (getline (&line, &siz, in) == -1)
25016
 
          return 1;
 
26834
          return 3;
25017
26835
      }
25018
26836
      return 0;
25019
26837
    }
25074
26892
  if test $ac_cv_func_getdelim = yes; then
25075
26893
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working getdelim function" >&5
25076
26894
$as_echo_n "checking for working getdelim function... " >&6; }
25077
 
if test "${gl_cv_func_working_getdelim+set}" = set; then :
 
26895
if ${gl_cv_func_working_getdelim+:} false; then :
25078
26896
  $as_echo_n "(cached) " >&6
25079
26897
else
25080
26898
  echo fooNbarN | tr -d '\012' | tr N '\012' > conftest.data
25084
26902
 
25085
26903
#include <features.h>
25086
26904
#ifdef __GNU_LIBRARY__
25087
 
 #if (__GLIBC__ >= 2)
 
26905
 #if (__GLIBC__ >= 2) && !defined __UCLIBC__
25088
26906
  Lucky GNU user
25089
26907
 #endif
25090
26908
#endif
25118
26936
        size_t siz = 0;
25119
26937
        int len = getdelim (&line, &siz, '\n', in);
25120
26938
        if (!(len == 4 && line && strcmp (line, "foo\n") == 0))
25121
 
          return 1;
 
26939
          return 2;
25122
26940
      }
25123
26941
      {
25124
26942
        /* Test result for a NULL buffer and a non-zero size.
25126
26944
        char *line = NULL;
25127
26945
        size_t siz = (size_t)(~0) / 4;
25128
26946
        if (getdelim (&line, &siz, '\n', in) == -1)
25129
 
          return 1;
 
26947
          return 3;
25130
26948
      }
25131
26949
      return 0;
25132
26950
    }
25180
26998
done
25181
26999
 
25182
27000
  ac_fn_c_check_decl "$LINENO" "getc_unlocked" "ac_cv_have_decl_getc_unlocked" "$ac_includes_default"
25183
 
if test "x$ac_cv_have_decl_getc_unlocked" = x""yes; then :
 
27001
if test "x$ac_cv_have_decl_getc_unlocked" = xyes; then :
25184
27002
  ac_have_decl=1
25185
27003
else
25186
27004
  ac_have_decl=0
25210
27028
  # Code from module getpass-gnu:
25211
27029
 
25212
27030
 
 
27031
 
 
27032
 
25213
27033
  :
25214
27034
 
25215
27035
 
25255
27075
      #include <stdio_ext.h>
25256
27076
     #endif
25257
27077
"
25258
 
if test "x$ac_cv_have_decl___fsetlocking" = x""yes; then :
 
27078
if test "x$ac_cv_have_decl___fsetlocking" = xyes; then :
25259
27079
  ac_have_decl=1
25260
27080
else
25261
27081
  ac_have_decl=0
25365
27185
  for ac_header in sys/timeb.h
25366
27186
do :
25367
27187
  ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
25368
 
if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :
 
27188
if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
25369
27189
  cat >>confdefs.h <<_ACEOF
25370
27190
#define HAVE_SYS_TIMEB_H 1
25371
27191
_ACEOF
25377
27197
  for ac_func in _ftime
25378
27198
do :
25379
27199
  ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
25380
 
if test "x$ac_cv_func__ftime" = x""yes; then :
 
27200
if test "x$ac_cv_func__ftime" = xyes; then :
25381
27201
  cat >>confdefs.h <<_ACEOF
25382
27202
#define HAVE__FTIME 1
25383
27203
_ACEOF
25392
27212
 
25393
27213
 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday clobbers localtime buffer" >&5
25394
27214
$as_echo_n "checking whether gettimeofday clobbers localtime buffer... " >&6; }
25395
 
if test "${gl_cv_func_gettimeofday_clobber+set}" = set; then :
 
27215
if ${gl_cv_func_gettimeofday_clobber+:} false; then :
25396
27216
  $as_echo_n "(cached) " >&6
25397
27217
else
25398
27218
  if test "$cross_compiling" = yes; then :
25452
27272
  for ac_header in sys/timeb.h
25453
27273
do :
25454
27274
  ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
25455
 
if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :
 
27275
if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
25456
27276
  cat >>confdefs.h <<_ACEOF
25457
27277
#define HAVE_SYS_TIMEB_H 1
25458
27278
_ACEOF
25464
27284
  for ac_func in _ftime
25465
27285
do :
25466
27286
  ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
25467
 
if test "x$ac_cv_func__ftime" = x""yes; then :
 
27287
if test "x$ac_cv_func__ftime" = xyes; then :
25468
27288
  cat >>confdefs.h <<_ACEOF
25469
27289
#define HAVE__FTIME 1
25470
27290
_ACEOF
25487
27307
 
25488
27308
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday with POSIX signature" >&5
25489
27309
$as_echo_n "checking for gettimeofday with POSIX signature... " >&6; }
25490
 
if test "${gl_cv_func_gettimeofday_posix_signature+set}" = set; then :
 
27310
if ${gl_cv_func_gettimeofday_posix_signature+:} false; then :
25491
27311
  $as_echo_n "(cached) " >&6
25492
27312
else
25493
27313
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25558
27378
  for ac_header in sys/timeb.h
25559
27379
do :
25560
27380
  ac_fn_c_check_header_mongrel "$LINENO" "sys/timeb.h" "ac_cv_header_sys_timeb_h" "$ac_includes_default"
25561
 
if test "x$ac_cv_header_sys_timeb_h" = x""yes; then :
 
27381
if test "x$ac_cv_header_sys_timeb_h" = xyes; then :
25562
27382
  cat >>confdefs.h <<_ACEOF
25563
27383
#define HAVE_SYS_TIMEB_H 1
25564
27384
_ACEOF
25570
27390
  for ac_func in _ftime
25571
27391
do :
25572
27392
  ac_fn_c_check_func "$LINENO" "_ftime" "ac_cv_func__ftime"
25573
 
if test "x$ac_cv_func__ftime" = x""yes; then :
 
27393
if test "x$ac_cv_func__ftime" = xyes; then :
25574
27394
  cat >>confdefs.h <<_ACEOF
25575
27395
#define HAVE__FTIME 1
25576
27396
_ACEOF
25616
27436
  gl_saved_libs="$LIBS"
25617
27437
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
25618
27438
$as_echo_n "checking for library containing gethostbyname... " >&6; }
25619
 
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
27439
if ${ac_cv_search_gethostbyname+:} false; then :
25620
27440
  $as_echo_n "(cached) " >&6
25621
27441
else
25622
27442
  ac_func_search_save_LIBS=$LIBS
25650
27470
fi
25651
27471
rm -f core conftest.err conftest.$ac_objext \
25652
27472
    conftest$ac_exeext
25653
 
  if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
27473
  if ${ac_cv_search_gethostbyname+:} false; then :
25654
27474
  break
25655
27475
fi
25656
27476
done
25657
 
if test "${ac_cv_search_gethostbyname+set}" = set; then :
 
27477
if ${ac_cv_search_gethostbyname+:} false; then :
25658
27478
 
25659
27479
else
25660
27480
  ac_cv_search_gethostbyname=no
25677
27497
    for ac_func in gethostbyname
25678
27498
do :
25679
27499
  ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
25680
 
if test "x$ac_cv_func_gethostbyname" = x""yes; then :
 
27500
if test "x$ac_cv_func_gethostbyname" = xyes; then :
25681
27501
  cat >>confdefs.h <<_ACEOF
25682
27502
#define HAVE_GETHOSTBYNAME 1
25683
27503
_ACEOF
25686
27506
 
25687
27507
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in winsock2.h and -lws2_32" >&5
25688
27508
$as_echo_n "checking for gethostbyname in winsock2.h and -lws2_32... " >&6; }
25689
 
if test "${gl_cv_w32_gethostbyname+set}" = set; then :
 
27509
if ${gl_cv_w32_gethostbyname+:} false; then :
25690
27510
  $as_echo_n "(cached) " >&6
25691
27511
else
25692
27512
  gl_cv_w32_gethostbyname=no
25740
27560
      gl_save_LIBS=$LIBS
25741
27561
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_ntop" >&5
25742
27562
$as_echo_n "checking for library containing inet_ntop... " >&6; }
25743
 
if test "${ac_cv_search_inet_ntop+set}" = set; then :
 
27563
if ${ac_cv_search_inet_ntop+:} false; then :
25744
27564
  $as_echo_n "(cached) " >&6
25745
27565
else
25746
27566
  ac_func_search_save_LIBS=$LIBS
25774
27594
fi
25775
27595
rm -f core conftest.err conftest.$ac_objext \
25776
27596
    conftest$ac_exeext
25777
 
  if test "${ac_cv_search_inet_ntop+set}" = set; then :
 
27597
  if ${ac_cv_search_inet_ntop+:} false; then :
25778
27598
  break
25779
27599
fi
25780
27600
done
25781
 
if test "${ac_cv_search_inet_ntop+set}" = set; then :
 
27601
if ${ac_cv_search_inet_ntop+:} false; then :
25782
27602
 
25783
27603
else
25784
27604
  ac_cv_search_inet_ntop=no
25804
27624
  for ac_func in inet_ntop
25805
27625
do :
25806
27626
  ac_fn_c_check_func "$LINENO" "inet_ntop" "ac_cv_func_inet_ntop"
25807
 
if test "x$ac_cv_func_inet_ntop" = x""yes; then :
 
27627
if test "x$ac_cv_func_inet_ntop" = xyes; then :
25808
27628
  cat >>confdefs.h <<_ACEOF
25809
27629
#define HAVE_INET_NTOP 1
25810
27630
_ACEOF
25828
27648
 
25829
27649
 
25830
27650
 
 
27651
 
 
27652
  :
 
27653
 
 
27654
 
 
27655
 
 
27656
 
 
27657
 
25831
27658
  ac_fn_c_check_decl "$LINENO" "inet_ntop" "ac_cv_have_decl_inet_ntop" "#include <arpa/inet.h>
 
27659
     #if HAVE_NETDB_H
 
27660
     # include <netdb.h>
 
27661
     #endif
 
27662
 
25832
27663
"
25833
 
if test "x$ac_cv_have_decl_inet_ntop" = x""yes; then :
 
27664
if test "x$ac_cv_have_decl_inet_ntop" = xyes; then :
25834
27665
  ac_have_decl=1
25835
27666
else
25836
27667
  ac_have_decl=0
25864
27695
      gl_save_LIBS=$LIBS
25865
27696
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_pton" >&5
25866
27697
$as_echo_n "checking for library containing inet_pton... " >&6; }
25867
 
if test "${ac_cv_search_inet_pton+set}" = set; then :
 
27698
if ${ac_cv_search_inet_pton+:} false; then :
25868
27699
  $as_echo_n "(cached) " >&6
25869
27700
else
25870
27701
  ac_func_search_save_LIBS=$LIBS
25898
27729
fi
25899
27730
rm -f core conftest.err conftest.$ac_objext \
25900
27731
    conftest$ac_exeext
25901
 
  if test "${ac_cv_search_inet_pton+set}" = set; then :
 
27732
  if ${ac_cv_search_inet_pton+:} false; then :
25902
27733
  break
25903
27734
fi
25904
27735
done
25905
 
if test "${ac_cv_search_inet_pton+set}" = set; then :
 
27736
if ${ac_cv_search_inet_pton+:} false; then :
25906
27737
 
25907
27738
else
25908
27739
  ac_cv_search_inet_pton=no
25928
27759
  for ac_func in inet_pton
25929
27760
do :
25930
27761
  ac_fn_c_check_func "$LINENO" "inet_pton" "ac_cv_func_inet_pton"
25931
 
if test "x$ac_cv_func_inet_pton" = x""yes; then :
 
27762
if test "x$ac_cv_func_inet_pton" = xyes; then :
25932
27763
  cat >>confdefs.h <<_ACEOF
25933
27764
#define HAVE_INET_PTON 1
25934
27765
_ACEOF
25952
27783
 
25953
27784
 
25954
27785
 
 
27786
 
 
27787
  :
 
27788
 
 
27789
 
 
27790
 
 
27791
 
 
27792
 
25955
27793
  ac_fn_c_check_decl "$LINENO" "inet_pton" "ac_cv_have_decl_inet_pton" "#include <arpa/inet.h>
 
27794
     #if HAVE_NETDB_H
 
27795
     # include <netdb.h>
 
27796
     #endif
 
27797
 
25956
27798
"
25957
 
if test "x$ac_cv_have_decl_inet_pton" = x""yes; then :
 
27799
if test "x$ac_cv_have_decl_inet_pton" = xyes; then :
25958
27800
  ac_have_decl=1
25959
27801
else
25960
27802
  ac_have_decl=0
26010
27852
 
26011
27853
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether lseek detects pipes" >&5
26012
27854
$as_echo_n "checking whether lseek detects pipes... " >&6; }
26013
 
if test "${gl_cv_func_lseek_pipe+set}" = set; then :
 
27855
if ${gl_cv_func_lseek_pipe+:} false; then :
26014
27856
  $as_echo_n "(cached) " >&6
26015
27857
else
26016
27858
  if test $cross_compiling = no; then
26020
27862
#include <sys/types.h> /* for off_t */
26021
27863
#include <stdio.h> /* for SEEK_CUR */
26022
27864
#include <unistd.h>
26023
 
int main ()
 
27865
int
 
27866
main ()
26024
27867
{
 
27868
 
26025
27869
  /* Exit with success only if stdin is seekable.  */
26026
27870
  return lseek (0, (off_t)0, SEEK_CUR) < 0;
 
27871
 
 
27872
  ;
 
27873
  return 0;
26027
27874
}
26028
27875
_ACEOF
26029
27876
if ac_fn_c_try_link "$LINENO"; then :
26092
27939
 
26093
27940
  # Code from module maintainer-makefile:
26094
27941
 
 
27942
  # Code from module malloc-posix:
 
27943
 
 
27944
 
 
27945
 
 
27946
  if test $gl_cv_func_malloc_posix = yes; then
 
27947
 
 
27948
$as_echo "#define HAVE_MALLOC_POSIX 1" >>confdefs.h
 
27949
 
 
27950
  else
 
27951
 
 
27952
 
 
27953
 
 
27954
 
 
27955
 
 
27956
 
 
27957
 
 
27958
 
 
27959
 
 
27960
  gl_LIBOBJS="$gl_LIBOBJS malloc.$ac_objext"
 
27961
 
 
27962
  REPLACE_MALLOC=1
 
27963
 
 
27964
  fi
 
27965
 
 
27966
 
 
27967
 
 
27968
 
 
27969
  GNULIB_MALLOC_POSIX=1
 
27970
 
 
27971
 
 
27972
 
 
27973
$as_echo "#define GNULIB_TEST_MALLOC_POSIX 1" >>confdefs.h
 
27974
 
 
27975
 
 
27976
 
26095
27977
  # Code from module manywarnings:
26096
27978
  # Code from module memchr:
26097
27979
 
26116
27998
 
26117
27999
 
26118
28000
 
26119
 
  :
26120
 
 
26121
 
 
26122
 
 
26123
 
 
26124
 
 
26125
 
 
26126
 
 
26127
 
 
26128
 
 
26129
 
  :
 
28001
 
 
28002
 
 
28003
 
 
28004
 
 
28005
 
 
28006
  :
 
28007
 
26130
28008
 
26131
28009
 
26132
28010
 
26139
28017
     else
26140
28018
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <netdb.h>" >&5
26141
28019
$as_echo_n "checking absolute name of <netdb.h>... " >&6; }
26142
 
if test "${gl_cv_next_netdb_h+set}" = set; then :
 
28020
if ${gl_cv_next_netdb_h+:} false; then :
26143
28021
  $as_echo_n "(cached) " >&6
26144
28022
else
26145
28023
 
26146
 
          if test $ac_cv_header_netdb_h = yes; then
26147
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
28024
             if test $ac_cv_header_netdb_h = yes; then
 
28025
 
 
28026
 
 
28027
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26148
28028
/* end confdefs.h.  */
26149
28029
#include <netdb.h>
26150
28030
 
26151
28031
_ACEOF
26152
 
                                                                                                case "$host_os" in
26153
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
26154
 
              *)    gl_absname_cpp="$ac_cpp" ;;
26155
 
            esac
26156
 
                                                gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
26157
 
               sed -n '\#/netdb.h#{
26158
 
                 s#.*"\(.*/netdb.h\)".*#\1#
26159
 
                 s#^/[^/]#//&#
26160
 
                 p
26161
 
                 q
26162
 
               }'`'"'
 
28032
                                                                                                                        case "$host_os" in
 
28033
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
28034
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
28035
               esac
 
28036
                                                            gl_cv_next_netdb_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
28037
                  sed -n '\#/netdb.h#{
 
28038
                    s#.*"\(.*/netdb.h\)".*#\1#
 
28039
                    s#^/[^/]#//&#
 
28040
                    p
 
28041
                    q
 
28042
                  }'`'"'
26163
28043
          else
26164
 
            gl_cv_next_netdb_h='<'netdb.h'>'
26165
 
          fi
 
28044
               gl_cv_next_netdb_h='<'netdb.h'>'
 
28045
             fi
 
28046
 
26166
28047
 
26167
28048
fi
26168
28049
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netdb_h" >&5
26181
28062
 
26182
28063
 
26183
28064
 
 
28065
 
26184
28066
  if test $ac_cv_header_netdb_h = yes; then
26185
28067
    HAVE_NETDB_H=1
26186
28068
  else
26193
28075
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
26194
28076
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
26195
28077
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
26196
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
28078
if eval \${$as_gl_Symbol+:} false; then :
26197
28079
  $as_echo_n "(cached) " >&6
26198
28080
else
26199
28081
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26232
28114
 
26233
28115
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <netinet/in.h> is self-contained" >&5
26234
28116
$as_echo_n "checking whether <netinet/in.h> is self-contained... " >&6; }
26235
 
if test "${gl_cv_header_netinet_in_h_selfcontained+set}" = set; then :
 
28117
if ${gl_cv_header_netinet_in_h_selfcontained+:} false; then :
26236
28118
  $as_echo_n "(cached) " >&6
26237
28119
else
26238
28120
 
26264
28146
    for ac_header in netinet/in.h
26265
28147
do :
26266
28148
  ac_fn_c_check_header_mongrel "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
26267
 
if test "x$ac_cv_header_netinet_in_h" = x""yes; then :
 
28149
if test "x$ac_cv_header_netinet_in_h" = xyes; then :
26268
28150
  cat >>confdefs.h <<_ACEOF
26269
28151
#define HAVE_NETINET_IN_H 1
26270
28152
_ACEOF
26277
28159
 
26278
28160
 
26279
28161
 
 
28162
 
 
28163
 
26280
28164
  :
26281
28165
 
26282
28166
 
26285
28169
 
26286
28170
 
26287
28171
 
 
28172
 
26288
28173
     if test $gl_cv_have_include_next = yes; then
26289
28174
       gl_cv_next_netinet_in_h='<'netinet/in.h'>'
26290
28175
     else
26291
28176
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <netinet/in.h>" >&5
26292
28177
$as_echo_n "checking absolute name of <netinet/in.h>... " >&6; }
26293
 
if test "${gl_cv_next_netinet_in_h+set}" = set; then :
 
28178
if ${gl_cv_next_netinet_in_h+:} false; then :
26294
28179
  $as_echo_n "(cached) " >&6
26295
28180
else
26296
28181
 
26297
 
          if test $ac_cv_header_netinet_in_h = yes; then
26298
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
28182
             if test $ac_cv_header_netinet_in_h = yes; then
 
28183
 
 
28184
 
 
28185
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26299
28186
/* end confdefs.h.  */
26300
28187
#include <netinet/in.h>
26301
28188
 
26302
28189
_ACEOF
26303
 
                                                                                                case "$host_os" in
26304
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
26305
 
              *)    gl_absname_cpp="$ac_cpp" ;;
26306
 
            esac
26307
 
                                                gl_cv_next_netinet_in_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
26308
 
               sed -n '\#/netinet/in.h#{
26309
 
                 s#.*"\(.*/netinet/in.h\)".*#\1#
26310
 
                 s#^/[^/]#//&#
26311
 
                 p
26312
 
                 q
26313
 
               }'`'"'
 
28190
                                                                                                                        case "$host_os" in
 
28191
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
28192
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
28193
               esac
 
28194
                                                            gl_cv_next_netinet_in_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
28195
                  sed -n '\#/netinet/in.h#{
 
28196
                    s#.*"\(.*/netinet/in.h\)".*#\1#
 
28197
                    s#^/[^/]#//&#
 
28198
                    p
 
28199
                    q
 
28200
                  }'`'"'
26314
28201
          else
26315
 
            gl_cv_next_netinet_in_h='<'netinet/in.h'>'
26316
 
          fi
 
28202
               gl_cv_next_netinet_in_h='<'netinet/in.h'>'
 
28203
             fi
 
28204
 
26317
28205
 
26318
28206
fi
26319
28207
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_netinet_in_h" >&5
26332
28220
 
26333
28221
 
26334
28222
 
 
28223
 
26335
28224
    if test $ac_cv_header_netinet_in_h = yes; then
26336
28225
      HAVE_NETINET_IN_H=1
26337
28226
    else
26376
28265
set dummy pmccabe; ac_word=$2
26377
28266
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
26378
28267
$as_echo_n "checking for $ac_word... " >&6; }
26379
 
if test "${ac_cv_path_PMCCABE+set}" = set; then :
 
28268
if ${ac_cv_path_PMCCABE+:} false; then :
26380
28269
  $as_echo_n "(cached) " >&6
26381
28270
else
26382
28271
  case $PMCCABE in
26416
28305
  # Code from module progname:
26417
28306
  ac_fn_c_check_decl "$LINENO" "program_invocation_name" "ac_cv_have_decl_program_invocation_name" "#include <errno.h>
26418
28307
"
26419
 
if test "x$ac_cv_have_decl_program_invocation_name" = x""yes; then :
 
28308
if test "x$ac_cv_have_decl_program_invocation_name" = xyes; then :
26420
28309
  ac_have_decl=1
26421
28310
else
26422
28311
  ac_have_decl=0
26428
28317
 
26429
28318
  ac_fn_c_check_decl "$LINENO" "program_invocation_short_name" "ac_cv_have_decl_program_invocation_short_name" "#include <errno.h>
26430
28319
"
26431
 
if test "x$ac_cv_have_decl_program_invocation_short_name" = x""yes; then :
 
28320
if test "x$ac_cv_have_decl_program_invocation_short_name" = xyes; then :
26432
28321
  ac_have_decl=1
26433
28322
else
26434
28323
  ac_have_decl=0
26461
28350
 
26462
28351
 
26463
28352
 
26464
 
 
26465
 
 
26466
 
 
26467
28353
    use_additional=yes
26468
28354
 
26469
28355
  acl_save_prefix="$prefix"
26500
28386
      else
26501
28387
        additional_includedir="$withval/include"
26502
28388
        additional_libdir="$withval/$acl_libdirstem"
26503
 
        if test "$acl_libdirstem2" != "$acl_libdirstem" \
26504
 
           && ! test -d "$withval/$acl_libdirstem"; then
26505
 
          additional_libdir="$withval/$acl_libdirstem2"
26506
 
        fi
26507
28389
      fi
26508
28390
    fi
26509
28391
 
26513
28395
  LTLIBREADLINE=
26514
28396
  INCREADLINE=
26515
28397
  LIBREADLINE_PREFIX=
26516
 
      HAVE_LIBREADLINE=
26517
28398
  rpathdirs=
26518
28399
  ltrpathdirs=
26519
28400
  names_already_handled=
26531
28412
      done
26532
28413
      if test -z "$already_handled"; then
26533
28414
        names_already_handled="$names_already_handled $name"
26534
 
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./+-|ABCDEFGHIJKLMNOPQRSTUVWXYZ____|'`
 
28415
                        uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
26535
28416
        eval value=\"\$HAVE_LIB$uppername\"
26536
28417
        if test -n "$value"; then
26537
28418
          if test "$value" = yes; then
26656
28537
          if test "X$found_dir" != "X"; then
26657
28538
                        LTLIBREADLINE="${LTLIBREADLINE}${LTLIBREADLINE:+ }-L$found_dir -l$name"
26658
28539
            if test "X$found_so" != "X"; then
26659
 
                                                        if test "$enable_rpath" = no \
26660
 
                 || test "X$found_dir" = "X/usr/$acl_libdirstem" \
26661
 
                 || test "X$found_dir" = "X/usr/$acl_libdirstem2"; then
 
28540
                                                        if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/$acl_libdirstem"; then
26662
28541
                                LIBREADLINE="${LIBREADLINE}${LIBREADLINE:+ }$found_so"
26663
28542
              else
26664
28543
                                                                                haveit=
26725
28604
            case "$found_dir" in
26726
28605
              */$acl_libdirstem | */$acl_libdirstem/)
26727
28606
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem/"'*$,,'`
26728
 
                if test "$name" = 'readline'; then
26729
 
                  LIBREADLINE_PREFIX="$basedir"
26730
 
                fi
26731
 
                additional_includedir="$basedir/include"
26732
 
                ;;
26733
 
              */$acl_libdirstem2 | */$acl_libdirstem2/)
26734
 
                basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e "s,/$acl_libdirstem2/"'*$,,'`
26735
 
                if test "$name" = 'readline'; then
26736
 
                  LIBREADLINE_PREFIX="$basedir"
26737
 
                fi
 
28607
                LIBREADLINE_PREFIX="$basedir"
26738
28608
                additional_includedir="$basedir/include"
26739
28609
                ;;
26740
28610
            esac
26783
28653
                case "$dep" in
26784
28654
                  -L*)
26785
28655
                    additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
26786
 
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem" \
26787
 
                       && test "X$additional_libdir" != "X/usr/$acl_libdirstem2"; then
 
28656
                                                                                                                                                                if test "X$additional_libdir" != "X/usr/$acl_libdirstem"; then
26788
28657
                      haveit=
26789
 
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem" \
26790
 
                         || test "X$additional_libdir" = "X/usr/local/$acl_libdirstem2"; then
 
28658
                      if test "X$additional_libdir" = "X/usr/local/$acl_libdirstem"; then
26791
28659
                        if test -n "$GCC"; then
26792
28660
                          case $host_os in
26793
28661
                            linux* | gnu* | k*bsd*-gnu) haveit=yes;;
26914
28782
  fi
26915
28783
 
26916
28784
 
26917
 
 
26918
 
 
26919
 
 
26920
 
 
26921
 
 
26922
28785
          am_save_CPPFLAGS="$CPPFLAGS"
26923
28786
 
26924
28787
  for element in $INCREADLINE; do
26946
28809
 
26947
28810
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readline" >&5
26948
28811
$as_echo_n "checking for readline... " >&6; }
26949
 
if test "${gl_cv_lib_readline+set}" = set; then :
 
28812
if ${gl_cv_lib_readline+:} false; then :
26950
28813
  $as_echo_n "(cached) " >&6
26951
28814
else
26952
28815
 
26970
28833
}
26971
28834
_ACEOF
26972
28835
if ac_fn_c_try_link "$LINENO"; then :
26973
 
  gl_cv_lib_readline=" -l$extra_lib"
 
28836
  if test -n "$extra_lib"; then
 
28837
           gl_cv_lib_readline="yes, requires -l$extra_lib"
 
28838
         else
 
28839
           gl_cv_lib_readline="yes"
 
28840
         fi
 
28841
 
26974
28842
fi
26975
28843
rm -f core conftest.err conftest.$ac_objext \
26976
28844
    conftest$ac_exeext conftest.$ac_ext
26988
28856
 
26989
28857
$as_echo "#define HAVE_READLINE 1" >>confdefs.h
26990
28858
 
26991
 
    if test "$gl_cv_lib_readline" != " -l"; then
26992
 
      LIBREADLINE="$LIBREADLINE$gl_cv_lib_readline"
26993
 
      LTLIBREADLINE="$LTLIBREADLINE$gl_cv_lib_readline"
 
28859
    extra_lib=`echo "$gl_cv_lib_readline" | sed -n -e 's/yes, requires //p'`
 
28860
    if test -n "$extra_lib"; then
 
28861
      LIBREADLINE="$LIBREADLINE $extra_lib"
 
28862
      LTLIBREADLINE="$LTLIBREADLINE $extra_lib"
26994
28863
    fi
26995
28864
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libreadline" >&5
26996
28865
$as_echo_n "checking how to link with libreadline... " >&6; }
27007
28876
  for ac_header in readline/readline.h
27008
28877
do :
27009
28878
  ac_fn_c_check_header_mongrel "$LINENO" "readline/readline.h" "ac_cv_header_readline_readline_h" "$ac_includes_default"
27010
 
if test "x$ac_cv_header_readline_readline_h" = x""yes; then :
 
28879
if test "x$ac_cv_header_readline_readline_h" = xyes; then :
27011
28880
  cat >>confdefs.h <<_ACEOF
27012
28881
#define HAVE_READLINE_READLINE_H 1
27013
28882
_ACEOF
27017
28886
done
27018
28887
 
27019
28888
 
27020
 
  if test $gl_cv_lib_readline = no; then
 
28889
  if test "$gl_cv_lib_readline" = no; then
27021
28890
 
27022
28891
 
27023
28892
 
27036
28905
  # Code from module realloc-posix:
27037
28906
 
27038
28907
 
 
28908
 
27039
28909
  if test $gl_cv_func_malloc_posix = yes; then
27040
 
    HAVE_REALLOC_POSIX=1
27041
28910
 
27042
28911
$as_echo "#define HAVE_REALLOC_POSIX 1" >>confdefs.h
27043
28912
 
27050
28919
 
27051
28920
 
27052
28921
 
 
28922
 
27053
28923
  gl_LIBOBJS="$gl_LIBOBJS realloc.$ac_objext"
27054
28924
 
27055
 
    HAVE_REALLOC_POSIX=0
 
28925
  REPLACE_REALLOC=1
 
28926
 
27056
28927
  fi
27057
28928
 
27058
28929
 
27059
28930
 
27060
28931
 
27061
 
 
27062
28932
  GNULIB_REALLOC_POSIX=1
27063
28933
 
27064
28934
 
27117
28987
 
27118
28988
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether select supports a 0 argument" >&5
27119
28989
$as_echo_n "checking whether select supports a 0 argument... " >&6; }
27120
 
if test "${gl_cv_func_select_supports0+set}" = set; then :
 
28990
if ${gl_cv_func_select_supports0+:} false; then :
27121
28991
  $as_echo_n "(cached) " >&6
27122
28992
else
27123
28993
 
27220
29090
  gl_saved_libs="$LIBS"
27221
29091
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing getservbyname" >&5
27222
29092
$as_echo_n "checking for library containing getservbyname... " >&6; }
27223
 
if test "${ac_cv_search_getservbyname+set}" = set; then :
 
29093
if ${ac_cv_search_getservbyname+:} false; then :
27224
29094
  $as_echo_n "(cached) " >&6
27225
29095
else
27226
29096
  ac_func_search_save_LIBS=$LIBS
27254
29124
fi
27255
29125
rm -f core conftest.err conftest.$ac_objext \
27256
29126
    conftest$ac_exeext
27257
 
  if test "${ac_cv_search_getservbyname+set}" = set; then :
 
29127
  if ${ac_cv_search_getservbyname+:} false; then :
27258
29128
  break
27259
29129
fi
27260
29130
done
27261
 
if test "${ac_cv_search_getservbyname+set}" = set; then :
 
29131
if ${ac_cv_search_getservbyname+:} false; then :
27262
29132
 
27263
29133
else
27264
29134
  ac_cv_search_getservbyname=no
27281
29151
    for ac_func in getservbyname
27282
29152
do :
27283
29153
  ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
27284
 
if test "x$ac_cv_func_getservbyname" = x""yes; then :
 
29154
if test "x$ac_cv_func_getservbyname" = xyes; then :
27285
29155
  cat >>confdefs.h <<_ACEOF
27286
29156
#define HAVE_GETSERVBYNAME 1
27287
29157
_ACEOF
27290
29160
 
27291
29161
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking for getservbyname in winsock2.h and -lws2_32" >&5
27292
29162
$as_echo_n "checking for getservbyname in winsock2.h and -lws2_32... " >&6; }
27293
 
if test "${gl_cv_w32_getservbyname+set}" = set; then :
 
29163
if ${gl_cv_w32_getservbyname+:} false; then :
27294
29164
  $as_echo_n "(cached) " >&6
27295
29165
else
27296
29166
  gl_cv_w32_getservbyname=no
27387
29257
  for ac_header in stdint.h
27388
29258
do :
27389
29259
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
27390
 
if test "x$ac_cv_header_stdint_h" = x""yes; then :
 
29260
if test "x$ac_cv_header_stdint_h" = xyes; then :
27391
29261
  cat >>confdefs.h <<_ACEOF
27392
29262
#define HAVE_STDINT_H 1
27393
29263
_ACEOF
27398
29268
 
27399
29269
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SIZE_MAX" >&5
27400
29270
$as_echo_n "checking for SIZE_MAX... " >&6; }
27401
 
if test "${gl_cv_size_max+set}" = set; then :
 
29271
  if ${gl_cv_size_max+:} false; then :
27402
29272
  $as_echo_n "(cached) " >&6
27403
29273
else
27404
29274
 
27467
29337
    fi
27468
29338
 
27469
29339
fi
27470
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
 
29340
 
 
29341
  { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_size_max" >&5
27471
29342
$as_echo "$gl_cv_size_max" >&6; }
27472
29343
  if test "$gl_cv_size_max" != yes; then
27473
29344
 
27477
29348
 
27478
29349
  fi
27479
29350
 
27480
 
 
27481
29351
  # Code from module snprintf:
27482
29352
 
27483
29353
 
27485
29355
  for ac_func in snprintf
27486
29356
do :
27487
29357
  ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
27488
 
if test "x$ac_cv_func_snprintf" = x""yes; then :
 
29358
if test "x$ac_cv_func_snprintf" = xyes; then :
27489
29359
  cat >>confdefs.h <<_ACEOF
27490
29360
#define HAVE_SNPRINTF 1
27491
29361
_ACEOF
27498
29368
 
27499
29369
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether snprintf respects a size of 1" >&5
27500
29370
$as_echo_n "checking whether snprintf respects a size of 1... " >&6; }
27501
 
if test "${gl_cv_func_snprintf_size1+set}" = set; then :
 
29371
if ${gl_cv_func_snprintf_size1+:} false; then :
27502
29372
  $as_echo_n "(cached) " >&6
27503
29373
else
27504
29374
 
27532
29402
 
27533
29403
    case "$gl_cv_func_snprintf_size1" in
27534
29404
      *yes)
27535
 
        gl_cv_func_snprintf_usable=yes
 
29405
 
 
29406
        case "$gl_cv_func_snprintf_retval_c99" in
 
29407
          *yes)
 
29408
            gl_cv_func_snprintf_usable=yes
 
29409
            ;;
 
29410
        esac
27536
29411
        ;;
27537
29412
    esac
27538
29413
  fi
27577
29452
 
27578
29453
 
27579
29454
 
 
29455
 
 
29456
 
 
29457
cat >>confdefs.h <<_ACEOF
 
29458
#define GNULIB_SNPRINTF 1
 
29459
_ACEOF
 
29460
 
 
29461
 
27580
29462
  # Code from module socket:
27581
29463
 
27582
29464
  if test "$ac_cv_header_winsock2_h" = yes; then
27611
29493
 
27612
29494
 
27613
29495
 
27614
 
  # Code from module sockets:
27615
 
 
27616
 
 
 
29496
  # Code from module socketlib:
27617
29497
 
27618
29498
 
27619
29499
 
27629
29509
                    for ac_header in winsock2.h
27630
29510
do :
27631
29511
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
27632
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
 
29512
if test "x$ac_cv_header_winsock2_h" = xyes; then :
27633
29513
  cat >>confdefs.h <<_ACEOF
27634
29514
#define HAVE_WINSOCK2_H 1
27635
29515
_ACEOF
27651
29531
  if test $HAVE_WINSOCK2_H = 1; then
27652
29532
        { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need to call WSAStartup in winsock2.h and -lws2_32" >&5
27653
29533
$as_echo_n "checking if we need to call WSAStartup in winsock2.h and -lws2_32... " >&6; }
27654
 
if test "${gl_cv_func_wsastartup+set}" = set; then :
 
29534
if ${gl_cv_func_wsastartup+:} false; then :
27655
29535
  $as_echo_n "(cached) " >&6
27656
29536
else
27657
29537
 
27696
29576
  else
27697
29577
                    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing setsockopt" >&5
27698
29578
$as_echo_n "checking for library containing setsockopt... " >&6; }
27699
 
if test "${gl_cv_lib_socket+set}" = set; then :
 
29579
if ${gl_cv_lib_socket+:} false; then :
27700
29580
  $as_echo_n "(cached) " >&6
27701
29581
else
27702
29582
 
27805
29685
  fi
27806
29686
 
27807
29687
 
 
29688
  # Code from module sockets:
 
29689
 
 
29690
 
 
29691
 
 
29692
 
27808
29693
  :
27809
29694
 
27810
29695
 
27816
29701
      # include <ws2tcpip.h>
27817
29702
      #endif
27818
29703
"
27819
 
if test "x$ac_cv_type_socklen_t" = x""yes; then :
 
29704
if test "x$ac_cv_type_socklen_t" = xyes; then :
27820
29705
 
27821
29706
else
27822
29707
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t equivalent" >&5
27823
29708
$as_echo_n "checking for socklen_t equivalent... " >&6; }
27824
 
      if test "${gl_cv_socklen_t_equiv+set}" = set; then :
 
29709
      if ${gl_cv_socklen_t_equiv+:} false; then :
27825
29710
  $as_echo_n "(cached) " >&6
27826
29711
else
27827
29712
  # Systems have either "struct sockaddr *" or
27873
29758
  NEXT_STDARG_H='<stdarg.h>';
27874
29759
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
27875
29760
$as_echo_n "checking for va_copy... " >&6; }
27876
 
  if test "${gl_cv_func_va_copy+set}" = set; then :
 
29761
  if ${gl_cv_func_va_copy+:} false; then :
27877
29762
  $as_echo_n "(cached) " >&6
27878
29763
else
27879
29764
 
27924
29809
 
27925
29810
 
27926
29811
 
27927
 
  :
27928
 
 
27929
 
 
27930
 
 
27931
29812
 
27932
29813
 
27933
29814
 
27937
29818
     else
27938
29819
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdarg.h>" >&5
27939
29820
$as_echo_n "checking absolute name of <stdarg.h>... " >&6; }
27940
 
if test "${gl_cv_next_stdarg_h+set}" = set; then :
 
29821
if ${gl_cv_next_stdarg_h+:} false; then :
27941
29822
  $as_echo_n "(cached) " >&6
27942
29823
else
27943
29824
 
27944
 
          if test $ac_cv_header_stdarg_h = yes; then
27945
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
29825
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27946
29826
/* end confdefs.h.  */
27947
29827
#include <stdarg.h>
27948
29828
 
27949
29829
_ACEOF
27950
 
                                                                                                case "$host_os" in
27951
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
27952
 
              *)    gl_absname_cpp="$ac_cpp" ;;
27953
 
            esac
27954
 
                                                gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
27955
 
               sed -n '\#/stdarg.h#{
27956
 
                 s#.*"\(.*/stdarg.h\)".*#\1#
27957
 
                 s#^/[^/]#//&#
27958
 
                 p
27959
 
                 q
27960
 
               }'`'"'
27961
 
          else
27962
 
            gl_cv_next_stdarg_h='<'stdarg.h'>'
27963
 
          fi
 
29830
                                                                                                                        case "$host_os" in
 
29831
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
29832
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
29833
               esac
 
29834
                                                            gl_cv_next_stdarg_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
29835
                  sed -n '\#/stdarg.h#{
 
29836
                    s#.*"\(.*/stdarg.h\)".*#\1#
 
29837
                    s#^/[^/]#//&#
 
29838
                    p
 
29839
                    q
 
29840
                  }'`'"'
 
29841
 
27964
29842
 
27965
29843
fi
27966
29844
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdarg_h" >&5
27979
29857
 
27980
29858
 
27981
29859
 
 
29860
 
27982
29861
            if test "$gl_cv_next_stdarg_h" = '""'; then
27983
29862
        gl_cv_next_stdarg_h='"///usr/include/stdarg.h"'
27984
29863
        NEXT_STDARG_H="$gl_cv_next_stdarg_h"
27987
29866
 
27988
29867
  saved_as_echo_n="$as_echo_n"
27989
29868
  as_echo_n=':'
27990
 
  if test "${gl_cv_func___va_copy+set}" = set; then :
 
29869
  if ${gl_cv_func___va_copy+:} false; then :
27991
29870
  $as_echo_n "(cached) " >&6
27992
29871
else
27993
29872
 
28059
29938
  fi
28060
29939
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NULL can be used in arbitrary expressions" >&5
28061
29940
$as_echo_n "checking whether NULL can be used in arbitrary expressions... " >&6; }
28062
 
if test "${gl_cv_decl_null_works+set}" = set; then :
 
29941
if ${gl_cv_decl_null_works+:} false; then :
28063
29942
  $as_echo_n "(cached) " >&6
28064
29943
else
28065
29944
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28093
29972
 
28094
29973
 
28095
29974
 
28096
 
  :
28097
 
 
28098
 
 
28099
 
 
28100
29975
 
28101
29976
 
28102
29977
 
28106
29981
     else
28107
29982
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stddef.h>" >&5
28108
29983
$as_echo_n "checking absolute name of <stddef.h>... " >&6; }
28109
 
if test "${gl_cv_next_stddef_h+set}" = set; then :
 
29984
if ${gl_cv_next_stddef_h+:} false; then :
28110
29985
  $as_echo_n "(cached) " >&6
28111
29986
else
28112
29987
 
28113
 
          if test $ac_cv_header_stddef_h = yes; then
28114
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
29988
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28115
29989
/* end confdefs.h.  */
28116
29990
#include <stddef.h>
28117
29991
 
28118
29992
_ACEOF
28119
 
                                                                                                case "$host_os" in
28120
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
28121
 
              *)    gl_absname_cpp="$ac_cpp" ;;
28122
 
            esac
28123
 
                                                gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
28124
 
               sed -n '\#/stddef.h#{
28125
 
                 s#.*"\(.*/stddef.h\)".*#\1#
28126
 
                 s#^/[^/]#//&#
28127
 
                 p
28128
 
                 q
28129
 
               }'`'"'
28130
 
          else
28131
 
            gl_cv_next_stddef_h='<'stddef.h'>'
28132
 
          fi
 
29993
                                                                                                                        case "$host_os" in
 
29994
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
29995
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
29996
               esac
 
29997
                                                            gl_cv_next_stddef_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
29998
                  sed -n '\#/stddef.h#{
 
29999
                    s#.*"\(.*/stddef.h\)".*#\1#
 
30000
                    s#^/[^/]#//&#
 
30001
                    p
 
30002
                    q
 
30003
                  }'`'"'
 
30004
 
28133
30005
 
28134
30006
fi
28135
30007
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stddef_h" >&5
28148
30020
 
28149
30021
 
28150
30022
 
 
30023
 
28151
30024
  fi
28152
30025
 
28153
30026
  # Code from module stdint:
28168
30041
  fi
28169
30042
 
28170
30043
 
 
30044
 
 
30045
  :
 
30046
 
 
30047
 
 
30048
 
 
30049
 
 
30050
 
 
30051
  if test $ac_cv_header_wchar_h = yes; then
 
30052
    HAVE_WCHAR_H=1
 
30053
  else
 
30054
    HAVE_WCHAR_H=0
 
30055
  fi
 
30056
 
 
30057
 
28171
30058
      if test $ac_cv_header_inttypes_h = yes; then
28172
30059
    HAVE_INTTYPES_H=1
28173
30060
  else
28186
30073
 
28187
30074
 
28188
30075
 
 
30076
 
 
30077
 
28189
30078
  :
28190
30079
 
28191
30080
 
28194
30083
 
28195
30084
 
28196
30085
 
 
30086
 
28197
30087
     if test $gl_cv_have_include_next = yes; then
28198
30088
       gl_cv_next_stdint_h='<'stdint.h'>'
28199
30089
     else
28200
30090
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdint.h>" >&5
28201
30091
$as_echo_n "checking absolute name of <stdint.h>... " >&6; }
28202
 
if test "${gl_cv_next_stdint_h+set}" = set; then :
 
30092
if ${gl_cv_next_stdint_h+:} false; then :
28203
30093
  $as_echo_n "(cached) " >&6
28204
30094
else
28205
30095
 
28206
 
          if test $ac_cv_header_stdint_h = yes; then
28207
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
30096
             if test $ac_cv_header_stdint_h = yes; then
 
30097
 
 
30098
 
 
30099
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28208
30100
/* end confdefs.h.  */
28209
30101
#include <stdint.h>
28210
30102
 
28211
30103
_ACEOF
28212
 
                                                                                                case "$host_os" in
28213
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
28214
 
              *)    gl_absname_cpp="$ac_cpp" ;;
28215
 
            esac
28216
 
                                                gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
28217
 
               sed -n '\#/stdint.h#{
28218
 
                 s#.*"\(.*/stdint.h\)".*#\1#
28219
 
                 s#^/[^/]#//&#
28220
 
                 p
28221
 
                 q
28222
 
               }'`'"'
 
30104
                                                                                                                        case "$host_os" in
 
30105
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
30106
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
30107
               esac
 
30108
                                                            gl_cv_next_stdint_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
30109
                  sed -n '\#/stdint.h#{
 
30110
                    s#.*"\(.*/stdint.h\)".*#\1#
 
30111
                    s#^/[^/]#//&#
 
30112
                    p
 
30113
                    q
 
30114
                  }'`'"'
28223
30115
          else
28224
 
            gl_cv_next_stdint_h='<'stdint.h'>'
28225
 
          fi
 
30116
               gl_cv_next_stdint_h='<'stdint.h'>'
 
30117
             fi
 
30118
 
28226
30119
 
28227
30120
fi
28228
30121
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdint_h" >&5
28241
30134
 
28242
30135
 
28243
30136
 
 
30137
 
28244
30138
  if test $ac_cv_header_stdint_h = yes; then
28245
30139
    HAVE_STDINT_H=1
28246
30140
  else
28251
30145
    if test $ac_cv_header_stdint_h = yes; then
28252
30146
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stdint.h conforms to C99" >&5
28253
30147
$as_echo_n "checking whether stdint.h conforms to C99... " >&6; }
28254
 
if test "${gl_cv_header_working_stdint_h+set}" = set; then :
 
30148
if ${gl_cv_header_working_stdint_h+:} false; then :
28255
30149
  $as_echo_n "(cached) " >&6
28256
30150
else
28257
30151
  gl_cv_header_working_stdint_h=no
28354
30248
 
28355
30249
#include <limits.h> /* for CHAR_BIT */
28356
30250
#define TYPE_MINIMUM(t) \
28357
 
  ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ (t) 0 << (sizeof (t) * CHAR_BIT - 1)))
 
30251
  ((t) ((t) 0 < (t) -1 ? (t) 0 : ~ TYPE_MAXIMUM (t)))
28358
30252
#define TYPE_MAXIMUM(t) \
28359
 
  ((t) ((t) 0 < (t) -1 ? (t) -1 : ~ (~ (t) 0 << (sizeof (t) * CHAR_BIT - 1))))
 
30253
  ((t) ((t) 0 < (t) -1 \
 
30254
        ? (t) -1 \
 
30255
        : ((((t) 1 << (sizeof (t) * CHAR_BIT - 2)) - 1) * 2 + 1)))
28360
30256
struct s {
28361
30257
  int check_PTRDIFF:
28362
30258
      PTRDIFF_MIN == TYPE_MINIMUM (ptrdiff_t)
28492
30388
          || strncmp (value, "((int)"/*)*/, 6) == 0
28493
30389
          || strncmp (value, "((signed short)"/*)*/, 15) == 0
28494
30390
          || strncmp (value, "((signed char)"/*)*/, 14) == 0)
28495
 
        return 1;
 
30391
        return mv - macro_values + 1;
28496
30392
    }
28497
30393
  return 0;
28498
30394
 
28545
30441
 
28546
30442
 
28547
30443
 
28548
 
  :
28549
 
 
28550
 
 
28551
 
 
28552
 
 
28553
 
 
28554
 
 
28555
 
 
28556
30444
 
28557
30445
  if test $APPLE_UNIVERSAL_BUILD = 0; then
28558
30446
 
28560
30448
  for gltype in ptrdiff_t size_t ; do
28561
30449
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
28562
30450
$as_echo_n "checking for bit size of $gltype... " >&6; }
28563
 
if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then :
 
30451
if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
28564
30452
  $as_echo_n "(cached) " >&6
28565
30453
else
28566
30454
  if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
28605
30493
  for gltype in sig_atomic_t wchar_t wint_t ; do
28606
30494
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for bit size of $gltype" >&5
28607
30495
$as_echo_n "checking for bit size of $gltype... " >&6; }
28608
 
if eval "test \"\${gl_cv_bitsizeof_${gltype}+set}\"" = set; then :
 
30496
if eval \${gl_cv_bitsizeof_${gltype}+:} false; then :
28609
30497
  $as_echo_n "(cached) " >&6
28610
30498
else
28611
30499
  if ac_fn_c_compute_int "$LINENO" "sizeof ($gltype) * CHAR_BIT" "result"        "
28649
30537
  for gltype in sig_atomic_t wchar_t wint_t ; do
28650
30538
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gltype is signed" >&5
28651
30539
$as_echo_n "checking whether $gltype is signed... " >&6; }
28652
 
if eval "test \"\${gl_cv_type_${gltype}_signed+set}\"" = set; then :
 
30540
if eval \${gl_cv_type_${gltype}_signed+:} false; then :
28653
30541
  $as_echo_n "(cached) " >&6
28654
30542
else
28655
30543
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28708
30596
  for gltype in ptrdiff_t size_t ; do
28709
30597
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
28710
30598
$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
28711
 
if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then :
 
30599
if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
28712
30600
  $as_echo_n "(cached) " >&6
28713
30601
else
28714
30602
  eval gl_cv_type_${gltype}_suffix=no
28780
30668
  for gltype in sig_atomic_t wchar_t wint_t ; do
28781
30669
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $gltype integer literal suffix" >&5
28782
30670
$as_echo_n "checking for $gltype integer literal suffix... " >&6; }
28783
 
if eval "test \"\${gl_cv_type_${gltype}_suffix+set}\"" = set; then :
 
30671
if eval \${gl_cv_type_${gltype}_suffix+:} false; then :
28784
30672
  $as_echo_n "(cached) " >&6
28785
30673
else
28786
30674
  eval gl_cv_type_${gltype}_suffix=no
28860
30748
 
28861
30749
 
28862
30750
 
28863
 
  :
28864
 
 
28865
 
 
28866
 
 
28867
30751
 
28868
30752
 
28869
30753
 
28873
30757
     else
28874
30758
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdio.h>" >&5
28875
30759
$as_echo_n "checking absolute name of <stdio.h>... " >&6; }
28876
 
if test "${gl_cv_next_stdio_h+set}" = set; then :
 
30760
if ${gl_cv_next_stdio_h+:} false; then :
28877
30761
  $as_echo_n "(cached) " >&6
28878
30762
else
28879
30763
 
28880
 
          if test $ac_cv_header_stdio_h = yes; then
28881
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
30764
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28882
30765
/* end confdefs.h.  */
28883
30766
#include <stdio.h>
28884
30767
 
28885
30768
_ACEOF
28886
 
                                                                                                case "$host_os" in
28887
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
28888
 
              *)    gl_absname_cpp="$ac_cpp" ;;
28889
 
            esac
28890
 
                                                gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
28891
 
               sed -n '\#/stdio.h#{
28892
 
                 s#.*"\(.*/stdio.h\)".*#\1#
28893
 
                 s#^/[^/]#//&#
28894
 
                 p
28895
 
                 q
28896
 
               }'`'"'
28897
 
          else
28898
 
            gl_cv_next_stdio_h='<'stdio.h'>'
28899
 
          fi
 
30769
                                                                                                                        case "$host_os" in
 
30770
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
30771
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
30772
               esac
 
30773
                                                            gl_cv_next_stdio_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
30774
                  sed -n '\#/stdio.h#{
 
30775
                    s#.*"\(.*/stdio.h\)".*#\1#
 
30776
                    s#^/[^/]#//&#
 
30777
                    p
 
30778
                    q
 
30779
                  }'`'"'
 
30780
 
28900
30781
 
28901
30782
fi
28902
30783
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdio_h" >&5
28915
30796
 
28916
30797
 
28917
30798
 
 
30799
 
28918
30800
      GNULIB_FPRINTF=1
28919
30801
  GNULIB_PRINTF=1
28920
30802
  GNULIB_VFPRINTF=1
28932
30814
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
28933
30815
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
28934
30816
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
28935
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
30817
if eval \${$as_gl_Symbol+:} false; then :
28936
30818
  $as_echo_n "(cached) " >&6
28937
30819
else
28938
30820
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28975
30857
 
28976
30858
 
28977
30859
 
28978
 
  :
28979
 
 
28980
 
 
28981
 
 
28982
30860
 
28983
30861
 
28984
30862
 
28988
30866
     else
28989
30867
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <stdlib.h>" >&5
28990
30868
$as_echo_n "checking absolute name of <stdlib.h>... " >&6; }
28991
 
if test "${gl_cv_next_stdlib_h+set}" = set; then :
 
30869
if ${gl_cv_next_stdlib_h+:} false; then :
28992
30870
  $as_echo_n "(cached) " >&6
28993
30871
else
28994
30872
 
28995
 
          if test $ac_cv_header_stdlib_h = yes; then
28996
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
30873
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28997
30874
/* end confdefs.h.  */
28998
30875
#include <stdlib.h>
28999
30876
 
29000
30877
_ACEOF
29001
 
                                                                                                case "$host_os" in
29002
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
29003
 
              *)    gl_absname_cpp="$ac_cpp" ;;
29004
 
            esac
29005
 
                                                gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
29006
 
               sed -n '\#/stdlib.h#{
29007
 
                 s#.*"\(.*/stdlib.h\)".*#\1#
29008
 
                 s#^/[^/]#//&#
29009
 
                 p
29010
 
                 q
29011
 
               }'`'"'
29012
 
          else
29013
 
            gl_cv_next_stdlib_h='<'stdlib.h'>'
29014
 
          fi
 
30878
                                                                                                                        case "$host_os" in
 
30879
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
30880
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
30881
               esac
 
30882
                                                            gl_cv_next_stdlib_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
30883
                  sed -n '\#/stdlib.h#{
 
30884
                    s#.*"\(.*/stdlib.h\)".*#\1#
 
30885
                    s#^/[^/]#//&#
 
30886
                    p
 
30887
                    q
 
30888
                  }'`'"'
 
30889
 
29015
30890
 
29016
30891
fi
29017
30892
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_stdlib_h" >&5
29030
30905
 
29031
30906
 
29032
30907
 
29033
 
  for ac_header in random.h
29034
 
do :
29035
 
  ac_fn_c_check_header_compile "$LINENO" "random.h" "ac_cv_header_random_h" "$ac_includes_default
29036
 
"
29037
 
if test "x$ac_cv_header_random_h" = x""yes; then :
29038
 
  cat >>confdefs.h <<_ACEOF
29039
 
#define HAVE_RANDOM_H 1
29040
 
_ACEOF
29041
 
 
29042
 
fi
29043
 
 
29044
 
done
29045
 
 
29046
 
  if test $ac_cv_header_random_h = yes; then
29047
 
    HAVE_RANDOM_H=1
29048
 
  else
29049
 
    HAVE_RANDOM_H=0
29050
 
  fi
29051
 
 
29052
 
  ac_fn_c_check_type "$LINENO" "struct random_data" "ac_cv_type_struct_random_data" "#include <stdlib.h>
29053
 
      #if HAVE_RANDOM_H
29054
 
      # include <random.h>
29055
 
      #endif
29056
 
 
29057
 
"
29058
 
if test "x$ac_cv_type_struct_random_data" = x""yes; then :
29059
 
 
29060
 
cat >>confdefs.h <<_ACEOF
29061
 
#define HAVE_STRUCT_RANDOM_DATA 1
29062
 
_ACEOF
29063
 
 
29064
 
 
29065
 
else
29066
 
  HAVE_STRUCT_RANDOM_DATA=0
29067
 
fi
29068
 
 
29069
 
 
29070
 
 
29071
 
    for gl_func in atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp     mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r     setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt     unsetenv; do
 
30908
 
 
30909
 
 
30910
 
 
30911
    for gl_func in _Exit atoll canonicalize_file_name getloadavg getsubopt grantpt mkdtemp     mkostemp mkostemps mkstemp mkstemps ptsname random_r initstat_r srandom_r     setstate_r realpath rpmatch setenv strtod strtoll strtoull unlockpt     unsetenv; do
29072
30912
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
29073
30913
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
29074
30914
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
29075
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
30915
if eval \${$as_gl_Symbol+:} false; then :
29076
30916
  $as_echo_n "(cached) " >&6
29077
30917
else
29078
30918
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29156
30996
 
29157
30997
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/select.h> is self-contained" >&5
29158
30998
$as_echo_n "checking whether <sys/select.h> is self-contained... " >&6; }
29159
 
if test "${gl_cv_header_sys_select_h_selfcontained+set}" = set; then :
 
30999
if ${gl_cv_header_sys_select_h_selfcontained+:} false; then :
29160
31000
  $as_echo_n "(cached) " >&6
29161
31001
else
29162
31002
 
29228
31068
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_header_sys_select_h_selfcontained" >&5
29229
31069
$as_echo "$gl_cv_header_sys_select_h_selfcontained" >&6; }
29230
31070
 
29231
 
  :
29232
 
 
29233
 
 
29234
 
 
29235
 
 
29236
 
 
29237
 
 
29238
 
 
29239
 
 
29240
 
 
29241
 
  :
 
31071
 
 
31072
 
 
31073
 
 
31074
 
 
31075
 
 
31076
  :
 
31077
 
29242
31078
 
29243
31079
 
29244
31080
 
29251
31087
     else
29252
31088
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/select.h>" >&5
29253
31089
$as_echo_n "checking absolute name of <sys/select.h>... " >&6; }
29254
 
if test "${gl_cv_next_sys_select_h+set}" = set; then :
 
31090
if ${gl_cv_next_sys_select_h+:} false; then :
29255
31091
  $as_echo_n "(cached) " >&6
29256
31092
else
29257
31093
 
29258
 
          if test $ac_cv_header_sys_select_h = yes; then
29259
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
31094
             if test $ac_cv_header_sys_select_h = yes; then
 
31095
 
 
31096
 
 
31097
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29260
31098
/* end confdefs.h.  */
29261
31099
#include <sys/select.h>
29262
31100
 
29263
31101
_ACEOF
29264
 
                                                                                                case "$host_os" in
29265
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
29266
 
              *)    gl_absname_cpp="$ac_cpp" ;;
29267
 
            esac
29268
 
                                                gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
29269
 
               sed -n '\#/sys/select.h#{
29270
 
                 s#.*"\(.*/sys/select.h\)".*#\1#
29271
 
                 s#^/[^/]#//&#
29272
 
                 p
29273
 
                 q
29274
 
               }'`'"'
 
31102
                                                                                                                        case "$host_os" in
 
31103
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
31104
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
31105
               esac
 
31106
                                                            gl_cv_next_sys_select_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
31107
                  sed -n '\#/sys/select.h#{
 
31108
                    s#.*"\(.*/sys/select.h\)".*#\1#
 
31109
                    s#^/[^/]#//&#
 
31110
                    p
 
31111
                    q
 
31112
                  }'`'"'
29275
31113
          else
29276
 
            gl_cv_next_sys_select_h='<'sys/select.h'>'
29277
 
          fi
 
31114
               gl_cv_next_sys_select_h='<'sys/select.h'>'
 
31115
             fi
 
31116
 
29278
31117
 
29279
31118
fi
29280
31119
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_select_h" >&5
29293
31132
 
29294
31133
 
29295
31134
 
 
31135
 
29296
31136
  if test $ac_cv_header_sys_select_h = yes; then
29297
31137
    HAVE_SYS_SELECT_H=1
29298
31138
  else
29313
31153
                    for ac_header in winsock2.h
29314
31154
do :
29315
31155
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
29316
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
 
31156
if test "x$ac_cv_header_winsock2_h" = xyes; then :
29317
31157
  cat >>confdefs.h <<_ACEOF
29318
31158
#define HAVE_WINSOCK2_H 1
29319
31159
_ACEOF
29338
31178
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
29339
31179
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
29340
31180
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
29341
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
31181
if eval \${$as_gl_Symbol+:} false; then :
29342
31182
  $as_echo_n "(cached) " >&6
29343
31183
else
29344
31184
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29346
31186
 
29347
31187
/* Some systems require prerequisite headers.  */
29348
31188
#include <sys/types.h>
29349
 
#if !defined __GLIBC__ && HAVE_SYS_TIME_H
 
31189
#if !(defined __GLIBC__ && !defined __UCLIBC__) && HAVE_SYS_TIME_H
29350
31190
# include <sys/time.h>
29351
31191
#endif
29352
31192
#include <sys/select.h>
29386
31226
 
29387
31227
 
29388
31228
 
 
31229
 
 
31230
        case "$host_os" in
 
31231
    osf*)
 
31232
 
 
31233
$as_echo "#define _POSIX_PII_SOCKET 1" >>confdefs.h
 
31234
 
 
31235
      ;;
 
31236
  esac
 
31237
 
29389
31238
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> is self-contained" >&5
29390
31239
$as_echo_n "checking whether <sys/socket.h> is self-contained... " >&6; }
29391
 
if test "${gl_cv_header_sys_socket_h_selfcontained+set}" = set; then :
 
31240
if ${gl_cv_header_sys_socket_h_selfcontained+:} false; then :
29392
31241
  $as_echo_n "(cached) " >&6
29393
31242
else
29394
31243
 
29417
31266
            for ac_func in shutdown
29418
31267
do :
29419
31268
  ac_fn_c_check_func "$LINENO" "shutdown" "ac_cv_func_shutdown"
29420
 
if test "x$ac_cv_func_shutdown" = x""yes; then :
 
31269
if test "x$ac_cv_func_shutdown" = xyes; then :
29421
31270
  cat >>confdefs.h <<_ACEOF
29422
31271
#define HAVE_SHUTDOWN 1
29423
31272
_ACEOF
29428
31277
    if test $ac_cv_func_shutdown = yes; then
29429
31278
      { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/socket.h> defines the SHUT_* macros" >&5
29430
31279
$as_echo_n "checking whether <sys/socket.h> defines the SHUT_* macros... " >&6; }
29431
 
if test "${gl_cv_header_sys_socket_h_shut+set}" = set; then :
 
31280
if ${gl_cv_header_sys_socket_h_shut+:} false; then :
29432
31281
  $as_echo_n "(cached) " >&6
29433
31282
else
29434
31283
 
29464
31313
 
29465
31314
 
29466
31315
 
 
31316
 
 
31317
 
29467
31318
  :
29468
31319
 
29469
31320
 
29472
31323
 
29473
31324
 
29474
31325
 
 
31326
 
29475
31327
     if test $gl_cv_have_include_next = yes; then
29476
31328
       gl_cv_next_sys_socket_h='<'sys/socket.h'>'
29477
31329
     else
29478
31330
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/socket.h>" >&5
29479
31331
$as_echo_n "checking absolute name of <sys/socket.h>... " >&6; }
29480
 
if test "${gl_cv_next_sys_socket_h+set}" = set; then :
 
31332
if ${gl_cv_next_sys_socket_h+:} false; then :
29481
31333
  $as_echo_n "(cached) " >&6
29482
31334
else
29483
31335
 
29484
 
          if test $ac_cv_header_sys_socket_h = yes; then
29485
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
31336
             if test $ac_cv_header_sys_socket_h = yes; then
 
31337
 
 
31338
 
 
31339
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29486
31340
/* end confdefs.h.  */
29487
31341
#include <sys/socket.h>
29488
31342
 
29489
31343
_ACEOF
29490
 
                                                                                                case "$host_os" in
29491
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
29492
 
              *)    gl_absname_cpp="$ac_cpp" ;;
29493
 
            esac
29494
 
                                                gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
29495
 
               sed -n '\#/sys/socket.h#{
29496
 
                 s#.*"\(.*/sys/socket.h\)".*#\1#
29497
 
                 s#^/[^/]#//&#
29498
 
                 p
29499
 
                 q
29500
 
               }'`'"'
 
31344
                                                                                                                        case "$host_os" in
 
31345
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
31346
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
31347
               esac
 
31348
                                                            gl_cv_next_sys_socket_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
31349
                  sed -n '\#/sys/socket.h#{
 
31350
                    s#.*"\(.*/sys/socket.h\)".*#\1#
 
31351
                    s#^/[^/]#//&#
 
31352
                    p
 
31353
                    q
 
31354
                  }'`'"'
29501
31355
          else
29502
 
            gl_cv_next_sys_socket_h='<'sys/socket.h'>'
29503
 
          fi
 
31356
               gl_cv_next_sys_socket_h='<'sys/socket.h'>'
 
31357
             fi
 
31358
 
29504
31359
 
29505
31360
fi
29506
31361
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_socket_h" >&5
29519
31374
 
29520
31375
 
29521
31376
 
 
31377
 
29522
31378
  if test $ac_cv_header_sys_socket_h = yes; then
29523
31379
    HAVE_SYS_SOCKET_H=1
29524
31380
    HAVE_WS2TCPIP_H=0
29527
31383
                    for ac_header in ws2tcpip.h
29528
31384
do :
29529
31385
  ac_fn_c_check_header_mongrel "$LINENO" "ws2tcpip.h" "ac_cv_header_ws2tcpip_h" "$ac_includes_default"
29530
 
if test "x$ac_cv_header_ws2tcpip_h" = x""yes; then :
 
31386
if test "x$ac_cv_header_ws2tcpip_h" = xyes; then :
29531
31387
  cat >>confdefs.h <<_ACEOF
29532
31388
#define HAVE_WS2TCPIP_H 1
29533
31389
_ACEOF
29558
31414
#endif
29559
31415
 
29560
31416
"
29561
 
if test "x$ac_cv_type_struct_sockaddr_storage" = x""yes; then :
 
31417
if test "x$ac_cv_type_struct_sockaddr_storage" = xyes; then :
29562
31418
 
29563
31419
cat >>confdefs.h <<_ACEOF
29564
31420
#define HAVE_STRUCT_SOCKADDR_STORAGE 1
29579
31435
#endif
29580
31436
 
29581
31437
"
29582
 
if test "x$ac_cv_type_sa_family_t" = x""yes; then :
 
31438
if test "x$ac_cv_type_sa_family_t" = xyes; then :
29583
31439
 
29584
31440
cat >>confdefs.h <<_ACEOF
29585
31441
#define HAVE_SA_FAMILY_T 1
29594
31450
  if test $ac_cv_type_sa_family_t = no; then
29595
31451
    HAVE_SA_FAMILY_T=0
29596
31452
  fi
 
31453
  if test $ac_cv_type_struct_sockaddr_storage != no; then
 
31454
    ac_fn_c_check_member "$LINENO" "struct sockaddr_storage" "ss_family" "ac_cv_member_struct_sockaddr_storage_ss_family" "#include <sys/types.h>
 
31455
       #ifdef HAVE_SYS_SOCKET_H
 
31456
       #include <sys/socket.h>
 
31457
       #endif
 
31458
       #ifdef HAVE_WS2TCPIP_H
 
31459
       #include <ws2tcpip.h>
 
31460
       #endif
 
31461
 
 
31462
"
 
31463
if test "x$ac_cv_member_struct_sockaddr_storage_ss_family" = xyes; then :
 
31464
 
 
31465
cat >>confdefs.h <<_ACEOF
 
31466
#define HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY 1
 
31467
_ACEOF
 
31468
 
 
31469
 
 
31470
else
 
31471
  HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY=0
 
31472
fi
 
31473
 
 
31474
  fi
 
31475
  if test $HAVE_STRUCT_SOCKADDR_STORAGE = 0 || test $HAVE_SA_FAMILY_T = 0 \
 
31476
     || test $HAVE_STRUCT_SOCKADDR_STORAGE_SS_FAMILY = 0; then
 
31477
    SYS_SOCKET_H='sys/socket.h'
 
31478
  fi
29597
31479
 
29598
31480
 
29599
31481
 
29608
31490
                    for ac_header in winsock2.h
29609
31491
do :
29610
31492
  ac_fn_c_check_header_mongrel "$LINENO" "winsock2.h" "ac_cv_header_winsock2_h" "$ac_includes_default"
29611
 
if test "x$ac_cv_header_winsock2_h" = x""yes; then :
 
31493
if test "x$ac_cv_header_winsock2_h" = xyes; then :
29612
31494
  cat >>confdefs.h <<_ACEOF
29613
31495
#define HAVE_WINSOCK2_H 1
29614
31496
_ACEOF
29633
31515
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
29634
31516
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
29635
31517
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
29636
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
31518
if eval \${$as_gl_Symbol+:} false; then :
29637
31519
  $as_echo_n "(cached) " >&6
29638
31520
else
29639
31521
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29641
31523
 
29642
31524
/* Some systems require prerequisite headers.  */
29643
31525
#include <sys/types.h>
29644
 
#if !defined __GLIBC__ && HAVE_SYS_TIME_H
29645
 
# include <sys/time.h>
29646
 
#endif
29647
 
#include <sys/select.h>
 
31526
#include <sys/socket.h>
29648
31527
 
29649
31528
int
29650
31529
main ()
29688
31567
 
29689
31568
 
29690
31569
 
 
31570
 
 
31571
 
29691
31572
  :
29692
31573
 
29693
31574
 
29696
31577
 
29697
31578
 
29698
31579
 
 
31580
 
29699
31581
     if test $gl_cv_have_include_next = yes; then
29700
31582
       gl_cv_next_sys_stat_h='<'sys/stat.h'>'
29701
31583
     else
29702
31584
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/stat.h>" >&5
29703
31585
$as_echo_n "checking absolute name of <sys/stat.h>... " >&6; }
29704
 
if test "${gl_cv_next_sys_stat_h+set}" = set; then :
 
31586
if ${gl_cv_next_sys_stat_h+:} false; then :
29705
31587
  $as_echo_n "(cached) " >&6
29706
31588
else
29707
31589
 
29708
 
          if test $ac_cv_header_sys_stat_h = yes; then
29709
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
31590
             if test $ac_cv_header_sys_stat_h = yes; then
 
31591
 
 
31592
 
 
31593
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29710
31594
/* end confdefs.h.  */
29711
31595
#include <sys/stat.h>
29712
31596
 
29713
31597
_ACEOF
29714
 
                                                                                                case "$host_os" in
29715
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
29716
 
              *)    gl_absname_cpp="$ac_cpp" ;;
29717
 
            esac
29718
 
                                                gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
29719
 
               sed -n '\#/sys/stat.h#{
29720
 
                 s#.*"\(.*/sys/stat.h\)".*#\1#
29721
 
                 s#^/[^/]#//&#
29722
 
                 p
29723
 
                 q
29724
 
               }'`'"'
 
31598
                                                                                                                        case "$host_os" in
 
31599
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
31600
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
31601
               esac
 
31602
                                                            gl_cv_next_sys_stat_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
31603
                  sed -n '\#/sys/stat.h#{
 
31604
                    s#.*"\(.*/sys/stat.h\)".*#\1#
 
31605
                    s#^/[^/]#//&#
 
31606
                    p
 
31607
                    q
 
31608
                  }'`'"'
29725
31609
          else
29726
 
            gl_cv_next_sys_stat_h='<'sys/stat.h'>'
29727
 
          fi
 
31610
               gl_cv_next_sys_stat_h='<'sys/stat.h'>'
 
31611
             fi
 
31612
 
29728
31613
 
29729
31614
fi
29730
31615
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_stat_h" >&5
29744
31629
 
29745
31630
 
29746
31631
 
 
31632
 
29747
31633
      ac_fn_c_check_type "$LINENO" "nlink_t" "ac_cv_type_nlink_t" "#include <sys/types.h>
29748
31634
     #include <sys/stat.h>
29749
31635
"
29750
 
if test "x$ac_cv_type_nlink_t" = x""yes; then :
 
31636
if test "x$ac_cv_type_nlink_t" = xyes; then :
29751
31637
 
29752
31638
else
29753
31639
 
29761
31647
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
29762
31648
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
29763
31649
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
29764
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
31650
if eval \${$as_gl_Symbol+:} false; then :
29765
31651
  $as_echo_n "(cached) " >&6
29766
31652
else
29767
31653
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29820
31706
 
29821
31707
 
29822
31708
 
 
31709
 
 
31710
 
29823
31711
  :
29824
31712
 
29825
31713
 
29828
31716
 
29829
31717
 
29830
31718
 
 
31719
 
29831
31720
     if test $gl_cv_have_include_next = yes; then
29832
31721
       gl_cv_next_unistd_h='<'unistd.h'>'
29833
31722
     else
29834
31723
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <unistd.h>" >&5
29835
31724
$as_echo_n "checking absolute name of <unistd.h>... " >&6; }
29836
 
if test "${gl_cv_next_unistd_h+set}" = set; then :
 
31725
if ${gl_cv_next_unistd_h+:} false; then :
29837
31726
  $as_echo_n "(cached) " >&6
29838
31727
else
29839
31728
 
29840
 
          if test $ac_cv_header_unistd_h = yes; then
29841
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
31729
             if test $ac_cv_header_unistd_h = yes; then
 
31730
 
 
31731
 
 
31732
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29842
31733
/* end confdefs.h.  */
29843
31734
#include <unistd.h>
29844
31735
 
29845
31736
_ACEOF
29846
 
                                                                                                case "$host_os" in
29847
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
29848
 
              *)    gl_absname_cpp="$ac_cpp" ;;
29849
 
            esac
29850
 
                                                gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
29851
 
               sed -n '\#/unistd.h#{
29852
 
                 s#.*"\(.*/unistd.h\)".*#\1#
29853
 
                 s#^/[^/]#//&#
29854
 
                 p
29855
 
                 q
29856
 
               }'`'"'
 
31737
                                                                                                                        case "$host_os" in
 
31738
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
31739
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
31740
               esac
 
31741
                                                            gl_cv_next_unistd_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
31742
                  sed -n '\#/unistd.h#{
 
31743
                    s#.*"\(.*/unistd.h\)".*#\1#
 
31744
                    s#^/[^/]#//&#
 
31745
                    p
 
31746
                    q
 
31747
                  }'`'"'
29857
31748
          else
29858
 
            gl_cv_next_unistd_h='<'unistd.h'>'
29859
 
          fi
 
31749
               gl_cv_next_unistd_h='<'unistd.h'>'
 
31750
             fi
 
31751
 
29860
31752
 
29861
31753
fi
29862
31754
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_unistd_h" >&5
29876
31768
 
29877
31769
 
29878
31770
 
29879
 
 
29880
 
  :
29881
 
 
29882
 
 
29883
 
 
29884
 
 
29885
 
 
29886
31771
  if test $ac_cv_header_unistd_h = yes; then
29887
31772
    HAVE_UNISTD_H=1
29888
31773
  else
29891
31776
 
29892
31777
 
29893
31778
 
29894
 
    for gl_func in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat     fsync ftruncate getcwd getdomainname getdtablesize getgroups     gethostname getlogin getlogin_r getpagesize getusershell setusershell     endusershell lchown link linkat lseek pipe2 pread pwrite readlink     readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat     usleep; do
 
31779
    for gl_func in chown dup2 dup3 environ euidaccess faccessat fchdir fchownat     fsync ftruncate getcwd getdomainname getdtablesize getgroups     gethostname getlogin getlogin_r getpagesize getusershell setusershell     endusershell lchown link linkat lseek pipe pipe2 pread pwrite readlink     readlinkat rmdir sleep symlink symlinkat ttyname_r unlink unlinkat     usleep; do
29895
31780
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
29896
31781
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
29897
31782
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
29898
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
31783
if eval \${$as_gl_Symbol+:} false; then :
29899
31784
  $as_echo_n "(cached) " >&6
29900
31785
else
29901
31786
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29902
31787
/* end confdefs.h.  */
29903
31788
#include <unistd.h>
29904
31789
/* Some systems declare various items in the wrong headers.  */
29905
 
#ifndef __GLIBC__
 
31790
#if !(defined __GLIBC__ && !defined __UCLIBC__)
29906
31791
# include <fcntl.h>
29907
31792
# include <stdio.h>
29908
31793
# include <stdlib.h>
29960
31845
set dummy $ac_prog; ac_word=$2
29961
31846
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29962
31847
$as_echo_n "checking for $ac_word... " >&6; }
29963
 
if test "${ac_cv_prog_VALGRIND+set}" = set; then :
 
31848
if ${ac_cv_prog_VALGRIND+:} false; then :
29964
31849
  $as_echo_n "(cached) " >&6
29965
31850
else
29966
31851
  if test -n "$VALGRIND"; then
30084
31969
 
30085
31970
 
30086
31971
 
 
31972
 
30087
31973
  ac_fn_c_check_type "$LINENO" "ptrdiff_t" "ac_cv_type_ptrdiff_t" "$ac_includes_default"
30088
 
if test "x$ac_cv_type_ptrdiff_t" = x""yes; then :
 
31974
if test "x$ac_cv_type_ptrdiff_t" = xyes; then :
30089
31975
 
30090
31976
else
30091
31977
 
30103
31989
  fi
30104
31990
 
30105
31991
  # Code from module vc-list-files:
 
31992
  # Code from module verify:
30106
31993
  # Code from module version-etc:
30107
31994
 
30108
31995
# Check whether --with-packager was given.
30159
32046
  # Code from module warn-on-use:
30160
32047
  # Code from module warnings:
30161
32048
 
30162
 
  # Code from module wchar:
30163
 
 
30164
 
 
30165
 
 
30166
 
 
30167
 
  :
30168
 
 
30169
 
 
30170
 
 
30171
 
 
30172
 
 
30173
 
 
30174
 
 
30175
 
 
30176
 
 
30177
 
  :
30178
 
 
30179
 
 
30180
 
 
30181
 
 
30182
 
 
30183
 
 
30184
 
 
30185
 
     if test $gl_cv_have_include_next = yes; then
30186
 
       gl_cv_next_wchar_h='<'wchar.h'>'
30187
 
     else
30188
 
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <wchar.h>" >&5
30189
 
$as_echo_n "checking absolute name of <wchar.h>... " >&6; }
30190
 
if test "${gl_cv_next_wchar_h+set}" = set; then :
30191
 
  $as_echo_n "(cached) " >&6
30192
 
else
30193
 
 
30194
 
          if test $ac_cv_header_wchar_h = yes; then
30195
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30196
 
/* end confdefs.h.  */
30197
 
#include <wchar.h>
30198
 
 
30199
 
_ACEOF
30200
 
                                                                                                case "$host_os" in
30201
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
30202
 
              *)    gl_absname_cpp="$ac_cpp" ;;
30203
 
            esac
30204
 
                                                gl_cv_next_wchar_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
30205
 
               sed -n '\#/wchar.h#{
30206
 
                 s#.*"\(.*/wchar.h\)".*#\1#
30207
 
                 s#^/[^/]#//&#
30208
 
                 p
30209
 
                 q
30210
 
               }'`'"'
30211
 
          else
30212
 
            gl_cv_next_wchar_h='<'wchar.h'>'
30213
 
          fi
30214
 
 
30215
 
fi
30216
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_wchar_h" >&5
30217
 
$as_echo "$gl_cv_next_wchar_h" >&6; }
30218
 
     fi
30219
 
     NEXT_WCHAR_H=$gl_cv_next_wchar_h
30220
 
 
30221
 
     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
30222
 
       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
30223
 
       gl_next_as_first_directive='<'wchar.h'>'
30224
 
     else
30225
 
       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
30226
 
       gl_next_as_first_directive=$gl_cv_next_wchar_h
30227
 
     fi
30228
 
     NEXT_AS_FIRST_DIRECTIVE_WCHAR_H=$gl_next_as_first_directive
30229
 
 
30230
 
 
30231
 
 
30232
 
  if test $ac_cv_header_wchar_h = yes; then
30233
 
    HAVE_WCHAR_H=1
30234
 
  else
30235
 
    HAVE_WCHAR_H=0
30236
 
  fi
30237
 
 
30238
 
 
30239
 
 
30240
 
  if test $gt_cv_c_wint_t = yes; then
30241
 
    HAVE_WINT_T=1
30242
 
  else
30243
 
    HAVE_WINT_T=0
30244
 
  fi
30245
 
 
30246
 
 
30247
 
 
30248
 
    for gl_func in btowc wctob mbsinit mbrtowc mbrlen mbsrtowcs mbsnrtowcs wcrtomb     wcsrtombs wcsnrtombs wcwidth; do
30249
 
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
30250
 
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
30251
 
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
30252
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
30253
 
  $as_echo_n "(cached) " >&6
30254
 
else
30255
 
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30256
 
/* end confdefs.h.  */
30257
 
 
30258
 
/* Some systems require additional headers.  */
30259
 
#ifndef __GLIBC__
30260
 
# include <stddef.h>
30261
 
# include <stdio.h>
30262
 
# include <time.h>
30263
 
#endif
30264
 
#include <wchar.h>
30265
 
 
30266
 
int
30267
 
main ()
30268
 
{
30269
 
#undef $gl_func
30270
 
  (void) $gl_func;
30271
 
  ;
30272
 
  return 0;
30273
 
}
30274
 
_ACEOF
30275
 
if ac_fn_c_try_compile "$LINENO"; then :
30276
 
  eval "$as_gl_Symbol=yes"
30277
 
else
30278
 
  eval "$as_gl_Symbol=no"
30279
 
fi
30280
 
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30281
 
fi
30282
 
eval ac_res=\$$as_gl_Symbol
30283
 
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
30284
 
$as_echo "$ac_res" >&6; }
30285
 
     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
30286
 
  cat >>confdefs.h <<_ACEOF
30287
 
#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
30288
 
_ACEOF
30289
 
 
30290
 
                     eval ac_cv_have_decl_$gl_func=yes
30291
 
fi
30292
 
      done
30293
 
 
30294
 
 
30295
32049
  # Code from module xsize:
30296
32050
 
30297
32051
 
30299
32053
  for ac_header in stdint.h
30300
32054
do :
30301
32055
  ac_fn_c_check_header_mongrel "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
30302
 
if test "x$ac_cv_header_stdint_h" = x""yes; then :
 
32056
if test "x$ac_cv_header_stdint_h" = xyes; then :
30303
32057
  cat >>confdefs.h <<_ACEOF
30304
32058
#define HAVE_STDINT_H 1
30305
32059
_ACEOF
30336
32090
  gl_module_indicator_condition=$gltests_WITNESS
30337
32091
 
30338
32092
 
 
32093
 
 
32094
 
 
32095
 
 
32096
 
 
32097
 
 
32098
 
 
32099
 
 
32100
 
 
32101
 
 
32102
 
 
32103
     if test $gl_cv_have_include_next = yes; then
 
32104
       gl_cv_next_fcntl_h='<'fcntl.h'>'
 
32105
     else
 
32106
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <fcntl.h>" >&5
 
32107
$as_echo_n "checking absolute name of <fcntl.h>... " >&6; }
 
32108
if ${gl_cv_next_fcntl_h+:} false; then :
 
32109
  $as_echo_n "(cached) " >&6
 
32110
else
 
32111
 
 
32112
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
32113
/* end confdefs.h.  */
 
32114
#include <fcntl.h>
 
32115
 
 
32116
_ACEOF
 
32117
                                                                                                                        case "$host_os" in
 
32118
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
32119
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
32120
               esac
 
32121
                                                            gl_cv_next_fcntl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
32122
                  sed -n '\#/fcntl.h#{
 
32123
                    s#.*"\(.*/fcntl.h\)".*#\1#
 
32124
                    s#^/[^/]#//&#
 
32125
                    p
 
32126
                    q
 
32127
                  }'`'"'
 
32128
 
 
32129
 
 
32130
fi
 
32131
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_fcntl_h" >&5
 
32132
$as_echo "$gl_cv_next_fcntl_h" >&6; }
 
32133
     fi
 
32134
     NEXT_FCNTL_H=$gl_cv_next_fcntl_h
 
32135
 
 
32136
     if test $gl_cv_have_include_next = yes || test $gl_cv_have_include_next = buggy; then
 
32137
       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include_next'
 
32138
       gl_next_as_first_directive='<'fcntl.h'>'
 
32139
     else
 
32140
       # INCLUDE_NEXT_AS_FIRST_DIRECTIVE='include'
 
32141
       gl_next_as_first_directive=$gl_cv_next_fcntl_h
 
32142
     fi
 
32143
     NEXT_AS_FIRST_DIRECTIVE_FCNTL_H=$gl_next_as_first_directive
 
32144
 
 
32145
 
 
32146
 
 
32147
 
 
32148
 
 
32149
 
 
32150
    for gl_func in fcntl openat; do
 
32151
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
 
32152
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
 
32153
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
 
32154
if eval \${$as_gl_Symbol+:} false; then :
 
32155
  $as_echo_n "(cached) " >&6
 
32156
else
 
32157
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
32158
/* end confdefs.h.  */
 
32159
#include <fcntl.h>
 
32160
 
 
32161
int
 
32162
main ()
 
32163
{
 
32164
#undef $gl_func
 
32165
  (void) $gl_func;
 
32166
  ;
 
32167
  return 0;
 
32168
}
 
32169
_ACEOF
 
32170
if ac_fn_c_try_compile "$LINENO"; then :
 
32171
  eval "$as_gl_Symbol=yes"
 
32172
else
 
32173
  eval "$as_gl_Symbol=no"
 
32174
fi
 
32175
rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
 
32176
fi
 
32177
eval ac_res=\$$as_gl_Symbol
 
32178
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
 
32179
$as_echo "$ac_res" >&6; }
 
32180
     if eval test \"x\$"$as_gl_Symbol"\" = x"yes"; then :
 
32181
  cat >>confdefs.h <<_ACEOF
 
32182
#define `$as_echo "HAVE_RAW_DECL_$gl_func" | $as_tr_cpp` 1
 
32183
_ACEOF
 
32184
 
 
32185
                     eval ac_cv_have_decl_$gl_func=yes
 
32186
fi
 
32187
      done
 
32188
 
 
32189
 
 
32190
 
 
32191
 
 
32192
 
 
32193
 
 
32194
 
 
32195
  for ac_func in getpagesize
 
32196
do :
 
32197
  ac_fn_c_check_func "$LINENO" "getpagesize" "ac_cv_func_getpagesize"
 
32198
if test "x$ac_cv_func_getpagesize" = xyes; then :
 
32199
  cat >>confdefs.h <<_ACEOF
 
32200
#define HAVE_GETPAGESIZE 1
 
32201
_ACEOF
 
32202
 
 
32203
fi
 
32204
done
 
32205
 
 
32206
  if test $ac_cv_func_getpagesize = no; then
 
32207
    HAVE_GETPAGESIZE=0
 
32208
    for ac_header in OS.h
 
32209
do :
 
32210
  ac_fn_c_check_header_mongrel "$LINENO" "OS.h" "ac_cv_header_OS_h" "$ac_includes_default"
 
32211
if test "x$ac_cv_header_OS_h" = xyes; then :
 
32212
  cat >>confdefs.h <<_ACEOF
 
32213
#define HAVE_OS_H 1
 
32214
_ACEOF
 
32215
 
 
32216
fi
 
32217
 
 
32218
done
 
32219
 
 
32220
    if test $ac_cv_header_OS_h = yes; then
 
32221
      HAVE_OS_H=1
 
32222
    fi
 
32223
    for ac_header in sys/param.h
 
32224
do :
 
32225
  ac_fn_c_check_header_mongrel "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
 
32226
if test "x$ac_cv_header_sys_param_h" = xyes; then :
 
32227
  cat >>confdefs.h <<_ACEOF
 
32228
#define HAVE_SYS_PARAM_H 1
 
32229
_ACEOF
 
32230
 
 
32231
fi
 
32232
 
 
32233
done
 
32234
 
 
32235
    if test $ac_cv_header_sys_param_h = yes; then
 
32236
      HAVE_SYS_PARAM_H=1
 
32237
    fi
 
32238
  fi
 
32239
  case "$host_os" in
 
32240
    mingw*)
 
32241
      REPLACE_GETPAGESIZE=1
 
32242
 
 
32243
 
 
32244
 
 
32245
 
 
32246
 
 
32247
 
 
32248
 
 
32249
 
 
32250
  gltests_LIBOBJS="$gltests_LIBOBJS getpagesize.$ac_objext"
 
32251
 
 
32252
      ;;
 
32253
  esac
 
32254
      ac_fn_c_check_decl "$LINENO" "getpagesize" "ac_cv_have_decl_getpagesize" "$ac_includes_default"
 
32255
if test "x$ac_cv_have_decl_getpagesize" = xyes; then :
 
32256
 
 
32257
else
 
32258
  HAVE_DECL_GETPAGESIZE=0
 
32259
fi
 
32260
 
 
32261
 
 
32262
 
 
32263
 
 
32264
 
 
32265
  GNULIB_GETPAGESIZE=$gl_module_indicator_condition
 
32266
 
 
32267
 
 
32268
 
 
32269
$as_echo "#define GNULIB_TEST_GETPAGESIZE 1" >>confdefs.h
 
32270
 
 
32271
 
 
32272
 
30339
32273
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
30340
32274
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
30341
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
32275
if ${ac_cv_c_bigendian+:} false; then :
30342
32276
  $as_echo_n "(cached) " >&6
30343
32277
else
30344
32278
  ac_cv_c_bigendian=unknown
30557
32491
     ;; #(
30558
32492
   *)
30559
32493
     as_fn_error $? "unknown endianness
30560
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
 
32494
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
30561
32495
 esac
30562
32496
 
30563
32497
   { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
30564
32498
$as_echo_n "checking whether byte ordering is bigendian... " >&6; }
30565
 
if test "${ac_cv_c_bigendian+set}" = set; then :
 
32499
if ${ac_cv_c_bigendian+:} false; then :
30566
32500
  $as_echo_n "(cached) " >&6
30567
32501
else
30568
32502
  ac_cv_c_bigendian=unknown
30781
32715
     ;; #(
30782
32716
   *)
30783
32717
     as_fn_error $? "unknown endianness
30784
 
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5  ;;
 
32718
 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
30785
32719
 esac
30786
32720
 
30787
32721
 
30805
32739
    for ac_func in ioctl
30806
32740
do :
30807
32741
  ac_fn_c_check_func "$LINENO" "ioctl" "ac_cv_func_ioctl"
30808
 
if test "x$ac_cv_func_ioctl" = x""yes; then :
 
32742
if test "x$ac_cv_func_ioctl" = xyes; then :
30809
32743
  cat >>confdefs.h <<_ACEOF
30810
32744
#define HAVE_IOCTL 1
30811
32745
_ACEOF
30815
32749
 
30816
32750
                { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ioctl with POSIX signature" >&5
30817
32751
$as_echo_n "checking for ioctl with POSIX signature... " >&6; }
30818
 
if test "${gl_cv_func_ioctl_posix_signature+set}" = set; then :
 
32752
if ${gl_cv_func_ioctl_posix_signature+:} false; then :
30819
32753
  $as_echo_n "(cached) " >&6
30820
32754
else
30821
32755
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30870
32804
 
30871
32805
 
30872
32806
 
30873
 
  :
30874
 
 
30875
 
 
30876
 
 
 
32807
 
 
32808
 
 
32809
  # Check for mmap(). Don't use AC_FUNC_MMAP, because it checks too much: it
 
32810
  # fails on HP-UX 11, because MAP_FIXED mappings do not work. But this is
 
32811
  # irrelevant for anonymous mappings.
 
32812
  ac_fn_c_check_func "$LINENO" "mmap" "ac_cv_func_mmap"
 
32813
if test "x$ac_cv_func_mmap" = xyes; then :
 
32814
  gl_have_mmap=yes
 
32815
else
 
32816
  gl_have_mmap=no
 
32817
fi
 
32818
 
 
32819
 
 
32820
  # Try to allow MAP_ANONYMOUS.
 
32821
  gl_have_mmap_anonymous=no
 
32822
  if test $gl_have_mmap = yes; then
 
32823
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MAP_ANONYMOUS" >&5
 
32824
$as_echo_n "checking for MAP_ANONYMOUS... " >&6; }
 
32825
    cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
32826
/* end confdefs.h.  */
 
32827
 
 
32828
#include <sys/mman.h>
 
32829
#ifdef MAP_ANONYMOUS
 
32830
    I cant identify this map.
 
32831
#endif
 
32832
 
 
32833
_ACEOF
 
32834
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
32835
  $EGREP "I cant identify this map." >/dev/null 2>&1; then :
 
32836
  gl_have_mmap_anonymous=yes
 
32837
fi
 
32838
rm -f conftest*
 
32839
 
 
32840
    if test $gl_have_mmap_anonymous != yes; then
 
32841
      cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
32842
/* end confdefs.h.  */
 
32843
 
 
32844
#include <sys/mman.h>
 
32845
#ifdef MAP_ANON
 
32846
    I cant identify this map.
 
32847
#endif
 
32848
 
 
32849
_ACEOF
 
32850
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
 
32851
  $EGREP "I cant identify this map." >/dev/null 2>&1; then :
 
32852
 
 
32853
$as_echo "#define MAP_ANONYMOUS MAP_ANON" >>confdefs.h
 
32854
 
 
32855
         gl_have_mmap_anonymous=yes
 
32856
fi
 
32857
rm -f conftest*
 
32858
 
 
32859
    fi
 
32860
    { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_have_mmap_anonymous" >&5
 
32861
$as_echo "$gl_have_mmap_anonymous" >&6; }
 
32862
    if test $gl_have_mmap_anonymous = yes; then
 
32863
 
 
32864
$as_echo "#define HAVE_MAP_ANONYMOUS 1" >>confdefs.h
 
32865
 
 
32866
    fi
 
32867
  fi
 
32868
 
 
32869
 
 
32870
  :
 
32871
 
 
32872
 
 
32873
 
 
32874
 
 
32875
 
 
32876
 
 
32877
  :
 
32878
 
 
32879
 
 
32880
 
 
32881
 
 
32882
 
 
32883
 
 
32884
 
 
32885
 
 
32886
 
 
32887
  :
 
32888
 
 
32889
 
 
32890
 
 
32891
 
 
32892
 
 
32893
  if test $ac_cv_func_pipe != yes; then
 
32894
    HAVE_PIPE=0
 
32895
 
 
32896
 
 
32897
 
 
32898
 
 
32899
 
 
32900
 
 
32901
 
 
32902
 
 
32903
  gltests_LIBOBJS="$gltests_LIBOBJS pipe.$ac_objext"
 
32904
 
 
32905
  fi
 
32906
 
 
32907
 
 
32908
 
 
32909
 
 
32910
  GNULIB_PIPE=$gl_module_indicator_condition
 
32911
 
 
32912
 
 
32913
 
 
32914
$as_echo "#define GNULIB_TEST_PIPE 1" >>confdefs.h
 
32915
 
 
32916
 
 
32917
 
 
32918
 
 
32919
  :
30877
32920
 
30878
32921
 
30879
32922
 
30882
32925
 
30883
32926
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t" >&5
30884
32927
$as_echo_n "checking for wchar_t... " >&6; }
30885
 
if test "${gt_cv_c_wchar_t+set}" = set; then :
 
32928
if ${gt_cv_c_wchar_t+:} false; then :
30886
32929
  $as_echo_n "(cached) " >&6
30887
32930
else
30888
32931
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30915
32958
 
30916
32959
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wint_t" >&5
30917
32960
$as_echo_n "checking for wint_t... " >&6; }
30918
 
if test "${gt_cv_c_wint_t+set}" = set; then :
 
32961
if ${gt_cv_c_wint_t+:} false; then :
30919
32962
  $as_echo_n "(cached) " >&6
30920
32963
else
30921
32964
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30967
33010
    HAVE_SYS_IOCTL_H=1
30968
33011
            { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether <sys/ioctl.h> declares ioctl" >&5
30969
33012
$as_echo_n "checking whether <sys/ioctl.h> declares ioctl... " >&6; }
30970
 
if test "${gl_cv_decl_ioctl_in_sys_ioctl_h+set}" = set; then :
 
33013
if ${gl_cv_decl_ioctl_in_sys_ioctl_h+:} false; then :
30971
33014
  $as_echo_n "(cached) " >&6
30972
33015
else
30973
33016
         cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31000
33043
 
31001
33044
 
31002
33045
 
 
33046
 
 
33047
 
31003
33048
  :
31004
33049
 
31005
33050
 
31008
33053
 
31009
33054
 
31010
33055
 
 
33056
 
31011
33057
     if test $gl_cv_have_include_next = yes; then
31012
33058
       gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>'
31013
33059
     else
31014
33060
       { $as_echo "$as_me:${as_lineno-$LINENO}: checking absolute name of <sys/ioctl.h>" >&5
31015
33061
$as_echo_n "checking absolute name of <sys/ioctl.h>... " >&6; }
31016
 
if test "${gl_cv_next_sys_ioctl_h+set}" = set; then :
 
33062
if ${gl_cv_next_sys_ioctl_h+:} false; then :
31017
33063
  $as_echo_n "(cached) " >&6
31018
33064
else
31019
33065
 
31020
 
          if test $ac_cv_header_sys_ioctl_h = yes; then
31021
 
            cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 
33066
             if test $ac_cv_header_sys_ioctl_h = yes; then
 
33067
 
 
33068
 
 
33069
               cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31022
33070
/* end confdefs.h.  */
31023
33071
#include <sys/ioctl.h>
31024
33072
 
31025
33073
_ACEOF
31026
 
                                                                                                case "$host_os" in
31027
 
              aix*) gl_absname_cpp="$ac_cpp -C" ;;
31028
 
              *)    gl_absname_cpp="$ac_cpp" ;;
31029
 
            esac
31030
 
                                                gl_cv_next_sys_ioctl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
31031
 
               sed -n '\#/sys/ioctl.h#{
31032
 
                 s#.*"\(.*/sys/ioctl.h\)".*#\1#
31033
 
                 s#^/[^/]#//&#
31034
 
                 p
31035
 
                 q
31036
 
               }'`'"'
 
33074
                                                                                                                        case "$host_os" in
 
33075
                 aix*) gl_absname_cpp="$ac_cpp -C" ;;
 
33076
                 *)    gl_absname_cpp="$ac_cpp" ;;
 
33077
               esac
 
33078
                                                            gl_cv_next_sys_ioctl_h='"'`(eval "$gl_absname_cpp conftest.$ac_ext") 2>&5 |
 
33079
                  sed -n '\#/sys/ioctl.h#{
 
33080
                    s#.*"\(.*/sys/ioctl.h\)".*#\1#
 
33081
                    s#^/[^/]#//&#
 
33082
                    p
 
33083
                    q
 
33084
                  }'`'"'
31037
33085
          else
31038
 
            gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>'
31039
 
          fi
 
33086
               gl_cv_next_sys_ioctl_h='<'sys/ioctl.h'>'
 
33087
             fi
 
33088
 
31040
33089
 
31041
33090
fi
31042
33091
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_next_sys_ioctl_h" >&5
31057
33106
 
31058
33107
 
31059
33108
 
 
33109
 
31060
33110
    for gl_func in ioctl; do
31061
33111
    as_gl_Symbol=`$as_echo "gl_cv_have_raw_decl_$gl_func" | $as_tr_sh`
31062
33112
    { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $gl_func is declared without a macro" >&5
31063
33113
$as_echo_n "checking whether $gl_func is declared without a macro... " >&6; }
31064
 
if eval "test \"\${$as_gl_Symbol+set}\"" = set; then :
 
33114
if eval \${$as_gl_Symbol+:} false; then :
31065
33115
  $as_echo_n "(cached) " >&6
31066
33116
else
31067
33117
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31068
33118
/* end confdefs.h.  */
31069
33119
#include <sys/ioctl.h>
31070
33120
/* Some platforms declare ioctl in the wrong header.  */
31071
 
#ifndef __GLIBC__
 
33121
#if !(defined __GLIBC__ && !defined __UCLIBC__)
31072
33122
# include <unistd.h>
31073
33123
#endif
31074
33124
 
31128
33178
set dummy $ac_prog; ac_word=$2
31129
33179
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
31130
33180
$as_echo_n "checking for $ac_word... " >&6; }
31131
 
if test "${ac_cv_prog_VALGRIND+set}" = set; then :
 
33181
if ${ac_cv_prog_VALGRIND+:} false; then :
31132
33182
  $as_echo_n "(cached) " >&6
31133
33183
else
31134
33184
  if test -n "$VALGRIND"; then
31199
33249
if test "${enable_gcc_warnings+set}" = set; then :
31200
33250
  enableval=$enable_gcc_warnings; case $enableval in
31201
33251
     yes|no) ;;
31202
 
     *)      as_fn_error $? "bad value $enableval for gcc-warnings option" "$LINENO" 5  ;;
 
33252
     *)      as_fn_error $? "bad value $enableval for gcc-warnings option" "$LINENO" 5 ;;
31203
33253
   esac
31204
33254
   gl_gcc_warnings=$enableval
31205
33255
else
31211
33261
if test "$gl_gcc_warnings" = yes; then
31212
33262
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Werror" >&5
31213
33263
$as_echo_n "checking whether compiler handles -Werror... " >&6; }
31214
 
if test "${gl_cv_warn__Werror+set}" = set; then :
 
33264
if ${gl_cv_warn__Werror+:} false; then :
31215
33265
  $as_echo_n "(cached) " >&6
31216
33266
else
31217
33267
 
31239
33289
fi
31240
33290
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Werror" >&5
31241
33291
$as_echo "$gl_cv_warn__Werror" >&6; }
31242
 
if test "x$gl_cv_warn__Werror" = x""yes; then :
 
33292
if test "x$gl_cv_warn__Werror" = xyes; then :
31243
33293
  as_fn_append WERROR_CFLAGS " -Werror"
31244
33294
fi
31245
33295
 
31246
 
  as_gl_Warn=`$as_echo "gl_cv_warn_-Wframe-larger-than=2100" | $as_tr_sh`
31247
 
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wframe-larger-than=2100" >&5
31248
 
$as_echo_n "checking whether compiler handles -Wframe-larger-than=2100... " >&6; }
31249
 
if eval "test \"\${$as_gl_Warn+set}\"" = set; then :
 
33296
  as_gl_Warn=`$as_echo "gl_cv_warn_-Wframe-larger-than=5120" | $as_tr_sh`
 
33297
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wframe-larger-than=5120" >&5
 
33298
$as_echo_n "checking whether compiler handles -Wframe-larger-than=5120... " >&6; }
 
33299
if eval \${$as_gl_Warn+:} false; then :
31250
33300
  $as_echo_n "(cached) " >&6
31251
33301
else
31252
33302
 
31253
33303
  save_CPPFLAGS="$CPPFLAGS"
31254
 
  CPPFLAGS="${CPPFLAGS} -Wframe-larger-than=2100"
 
33304
  CPPFLAGS="${CPPFLAGS} -Wframe-larger-than=5120"
31255
33305
  cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31256
33306
/* end confdefs.h.  */
31257
33307
 
31276
33326
               { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
31277
33327
$as_echo "$ac_res" >&6; }
31278
33328
if eval test \"x\$"$as_gl_Warn"\" = x"yes"; then :
31279
 
  as_fn_append WSTACK_CFLAGS " -Wframe-larger-than=2100"
 
33329
  as_fn_append WSTACK_CFLAGS " -Wframe-larger-than=5120"
31280
33330
fi
31281
33331
 
31282
33332
 
31297
33347
  nw="$nw -Wconversion"             # Too many warnings for now
31298
33348
  nw="$nw -Wsign-conversion"        # Too many warnings for now
31299
33349
  nw="$nw -Wformat-y2k"             # Too many warnings for now
 
33350
  nw="$nw -Wvla"                    # There is no point to avoid C99 variable length arrays
31300
33351
  nw="$nw -Wformat-nonliteral"      # Incompatible with gettext _()
31301
33352
  nw="$nw -Wunsafe-loop-optimizations"
31302
33353
  nw="$nw -Wstrict-overflow"
31393
33444
    as_gl_Warn=`$as_echo "gl_cv_warn_$w" | $as_tr_sh`
31394
33445
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles $w" >&5
31395
33446
$as_echo_n "checking whether compiler handles $w... " >&6; }
31396
 
if eval "test \"\${$as_gl_Warn+set}\"" = set; then :
 
33447
if eval \${$as_gl_Warn+:} false; then :
31397
33448
  $as_echo_n "(cached) " >&6
31398
33449
else
31399
33450
 
31430
33481
 
31431
33482
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-missing-field-initializers" >&5
31432
33483
$as_echo_n "checking whether compiler handles -Wno-missing-field-initializers... " >&6; }
31433
 
if test "${gl_cv_warn__Wno_missing_field_initializers+set}" = set; then :
 
33484
if ${gl_cv_warn__Wno_missing_field_initializers+:} false; then :
31434
33485
  $as_echo_n "(cached) " >&6
31435
33486
else
31436
33487
 
31458
33509
fi
31459
33510
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_missing_field_initializers" >&5
31460
33511
$as_echo "$gl_cv_warn__Wno_missing_field_initializers" >&6; }
31461
 
if test "x$gl_cv_warn__Wno_missing_field_initializers" = x""yes; then :
 
33512
if test "x$gl_cv_warn__Wno_missing_field_initializers" = xyes; then :
31462
33513
  as_fn_append WARN_CFLAGS " -Wno-missing-field-initializers"
31463
33514
fi
31464
33515
 # We need this one
31465
33516
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-sign-compare" >&5
31466
33517
$as_echo_n "checking whether compiler handles -Wno-sign-compare... " >&6; }
31467
 
if test "${gl_cv_warn__Wno_sign_compare+set}" = set; then :
 
33518
if ${gl_cv_warn__Wno_sign_compare+:} false; then :
31468
33519
  $as_echo_n "(cached) " >&6
31469
33520
else
31470
33521
 
31492
33543
fi
31493
33544
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_sign_compare" >&5
31494
33545
$as_echo "$gl_cv_warn__Wno_sign_compare" >&6; }
31495
 
if test "x$gl_cv_warn__Wno_sign_compare" = x""yes; then :
 
33546
if test "x$gl_cv_warn__Wno_sign_compare" = xyes; then :
31496
33547
  as_fn_append WARN_CFLAGS " -Wno-sign-compare"
31497
33548
fi
31498
33549
     # Too many warnings for now
31499
33550
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-pointer-sign" >&5
31500
33551
$as_echo_n "checking whether compiler handles -Wno-pointer-sign... " >&6; }
31501
 
if test "${gl_cv_warn__Wno_pointer_sign+set}" = set; then :
 
33552
if ${gl_cv_warn__Wno_pointer_sign+:} false; then :
31502
33553
  $as_echo_n "(cached) " >&6
31503
33554
else
31504
33555
 
31526
33577
fi
31527
33578
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_pointer_sign" >&5
31528
33579
$as_echo "$gl_cv_warn__Wno_pointer_sign" >&6; }
31529
 
if test "x$gl_cv_warn__Wno_pointer_sign" = x""yes; then :
 
33580
if test "x$gl_cv_warn__Wno_pointer_sign" = xyes; then :
31530
33581
  as_fn_append WARN_CFLAGS " -Wno-pointer-sign"
31531
33582
fi
31532
33583
     # Too many warnings for now
31533
33584
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-parameter" >&5
31534
33585
$as_echo_n "checking whether compiler handles -Wno-unused-parameter... " >&6; }
31535
 
if test "${gl_cv_warn__Wno_unused_parameter+set}" = set; then :
 
33586
if ${gl_cv_warn__Wno_unused_parameter+:} false; then :
31536
33587
  $as_echo_n "(cached) " >&6
31537
33588
else
31538
33589
 
31560
33611
fi
31561
33612
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_unused_parameter" >&5
31562
33613
$as_echo "$gl_cv_warn__Wno_unused_parameter" >&6; }
31563
 
if test "x$gl_cv_warn__Wno_unused_parameter" = x""yes; then :
 
33614
if test "x$gl_cv_warn__Wno_unused_parameter" = xyes; then :
31564
33615
  as_fn_append WARN_CFLAGS " -Wno-unused-parameter"
31565
33616
fi
31566
33617
 # Too many warnings for now
31567
33618
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-unused-parameter" >&5
31568
33619
$as_echo_n "checking whether compiler handles -Wno-unused-parameter... " >&6; }
31569
 
if test "${gl_cv_warn__Wno_unused_parameter+set}" = set; then :
 
33620
if ${gl_cv_warn__Wno_unused_parameter+:} false; then :
31570
33621
  $as_echo_n "(cached) " >&6
31571
33622
else
31572
33623
 
31594
33645
fi
31595
33646
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_unused_parameter" >&5
31596
33647
$as_echo "$gl_cv_warn__Wno_unused_parameter" >&6; }
31597
 
if test "x$gl_cv_warn__Wno_unused_parameter" = x""yes; then :
 
33648
if test "x$gl_cv_warn__Wno_unused_parameter" = xyes; then :
31598
33649
  as_fn_append WARN_CFLAGS " -Wno-unused-parameter"
31599
33650
fi
31600
33651
 # Too many warnings for now
31601
33652
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-stack-protector" >&5
31602
33653
$as_echo_n "checking whether compiler handles -Wno-stack-protector... " >&6; }
31603
 
if test "${gl_cv_warn__Wno_stack_protector+set}" = set; then :
 
33654
if ${gl_cv_warn__Wno_stack_protector+:} false; then :
31604
33655
  $as_echo_n "(cached) " >&6
31605
33656
else
31606
33657
 
31628
33679
fi
31629
33680
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_stack_protector" >&5
31630
33681
$as_echo "$gl_cv_warn__Wno_stack_protector" >&6; }
31631
 
if test "x$gl_cv_warn__Wno_stack_protector" = x""yes; then :
 
33682
if test "x$gl_cv_warn__Wno_stack_protector" = xyes; then :
31632
33683
  as_fn_append WARN_CFLAGS " -Wno-stack-protector"
31633
33684
fi
31634
33685
  # Some functions cannot be protected
31635
33686
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -Wno-int-to-pointer-cast" >&5
31636
33687
$as_echo_n "checking whether compiler handles -Wno-int-to-pointer-cast... " >&6; }
31637
 
if test "${gl_cv_warn__Wno_int_to_pointer_cast+set}" = set; then :
 
33688
if ${gl_cv_warn__Wno_int_to_pointer_cast+:} false; then :
31638
33689
  $as_echo_n "(cached) " >&6
31639
33690
else
31640
33691
 
31662
33713
fi
31663
33714
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__Wno_int_to_pointer_cast" >&5
31664
33715
$as_echo "$gl_cv_warn__Wno_int_to_pointer_cast" >&6; }
31665
 
if test "x$gl_cv_warn__Wno_int_to_pointer_cast" = x""yes; then :
 
33716
if test "x$gl_cv_warn__Wno_int_to_pointer_cast" = xyes; then :
31666
33717
  as_fn_append WARN_CFLAGS " -Wno-int-to-pointer-cast"
31667
33718
fi
31668
33719
  # Some files cannot be compiled with that (gl_fd_to_handle)
31669
33720
  { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether compiler handles -fdiagnostics-show-option" >&5
31670
33721
$as_echo_n "checking whether compiler handles -fdiagnostics-show-option... " >&6; }
31671
 
if test "${gl_cv_warn__fdiagnostics_show_option+set}" = set; then :
 
33722
if ${gl_cv_warn__fdiagnostics_show_option+:} false; then :
31672
33723
  $as_echo_n "(cached) " >&6
31673
33724
else
31674
33725
 
31696
33747
fi
31697
33748
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gl_cv_warn__fdiagnostics_show_option" >&5
31698
33749
$as_echo "$gl_cv_warn__fdiagnostics_show_option" >&6; }
31699
 
if test "x$gl_cv_warn__fdiagnostics_show_option" = x""yes; then :
 
33750
if test "x$gl_cv_warn__fdiagnostics_show_option" = xyes; then :
31700
33751
  as_fn_append WARN_CFLAGS " -fdiagnostics-show-option"
31701
33752
fi
31702
33753
 
31721
33772
 
31722
33773
ac_config_files="$ac_config_files guile/pre-inst-guile"
31723
33774
 
31724
 
ac_config_files="$ac_config_files Makefile doc/Makefile doc/credentials/Makefile doc/credentials/openpgp/Makefile doc/credentials/srp/Makefile doc/credentials/x509/Makefile doc/cyclo/Makefile doc/doxygen/Doxyfile doc/examples/Makefile doc/manpages/Makefile doc/reference/Makefile doc/scripts/Makefile gl/Makefile gl/tests/Makefile guile/Makefile guile/modules/Makefile guile/src/Makefile guile/tests/Makefile src/Makefile src/cfg/Makefile src/cfg/platon/Makefile src/cfg/platon/str/Makefile tests/Makefile tests/key-id/Makefile tests/openpgp-certs/Makefile tests/safe-renegotiation/Makefile tests/pathlen/Makefile tests/pkcs1-padding/Makefile tests/pkcs12-decode/Makefile tests/pkcs8-decode/Makefile tests/rsa-md5-collision/Makefile tests/sha2/Makefile tests/userid/Makefile"
 
33775
ac_config_files="$ac_config_files Makefile doc/Makefile doc/credentials/Makefile doc/credentials/openpgp/Makefile doc/credentials/srp/Makefile doc/credentials/x509/Makefile doc/cyclo/Makefile doc/doxygen/Doxyfile doc/examples/Makefile doc/manpages/Makefile doc/reference/Makefile doc/scripts/Makefile gl/Makefile gl/tests/Makefile guile/Makefile guile/modules/Makefile guile/src/Makefile guile/tests/Makefile src/Makefile src/cfg/Makefile src/cfg/platon/Makefile src/cfg/platon/str/Makefile tests/Makefile tests/key-id/Makefile tests/dsa/Makefile tests/openpgp-certs/Makefile tests/safe-renegotiation/Makefile tests/pathlen/Makefile tests/pkcs1-padding/Makefile tests/pkcs12-decode/Makefile tests/pkcs8-decode/Makefile tests/rsa-md5-collision/Makefile tests/sha2/Makefile tests/userid/Makefile tests/suite/Makefile"
 
33776
 
31725
33777
 
31726
33778
cat >confcache <<\_ACEOF
31727
33779
# This file is a shell script that caches the results of configure
31787
33839
     :end' >>confcache
31788
33840
if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
31789
33841
  if test -w "$cache_file"; then
31790
 
    test "x$cache_file" != "x/dev/null" &&
 
33842
    if test "x$cache_file" != "x/dev/null"; then
31791
33843
      { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
31792
33844
$as_echo "$as_me: updating cache $cache_file" >&6;}
31793
 
    cat confcache >$cache_file
 
33845
      if test ! -f "$cache_file" || test -h "$cache_file"; then
 
33846
        cat confcache >"$cache_file"
 
33847
      else
 
33848
        case $cache_file in #(
 
33849
        */* | ?:*)
 
33850
          mv -f confcache "$cache_file"$$ &&
 
33851
          mv -f "$cache_file"$$ "$cache_file" ;; #(
 
33852
        *)
 
33853
          mv -f confcache "$cache_file" ;;
 
33854
        esac
 
33855
      fi
 
33856
    fi
31794
33857
  else
31795
33858
    { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
31796
33859
$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
31865
33928
  as_fn_error $? "conditional \"ENABLE_CXX\" was never defined.
31866
33929
Usually this means the macro was only invoked conditionally." "$LINENO" 5
31867
33930
fi
 
33931
if test -z "${WANT_TEST_SUITE_TRUE}" && test -z "${WANT_TEST_SUITE_FALSE}"; then
 
33932
  as_fn_error $? "conditional \"WANT_TEST_SUITE\" was never defined.
 
33933
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
33934
fi
 
33935
if test -z "${ENABLE_NETTLE_TRUE}" && test -z "${ENABLE_NETTLE_FALSE}"; then
 
33936
  as_fn_error $? "conditional \"ENABLE_NETTLE\" was never defined.
 
33937
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
33938
fi
31868
33939
if test -z "${ENABLE_MINITASN1_TRUE}" && test -z "${ENABLE_MINITASN1_FALSE}"; then
31869
33940
  as_fn_error $? "conditional \"ENABLE_MINITASN1\" was never defined.
31870
33941
Usually this means the macro was only invoked conditionally." "$LINENO" 5
31909
33980
  as_fn_error $? "conditional \"HAVE_FORK\" was never defined.
31910
33981
Usually this means the macro was only invoked conditionally." "$LINENO" 5
31911
33982
fi
 
33983
if test -z "${ENABLE_PKCS11_TRUE}" && test -z "${ENABLE_PKCS11_FALSE}"; then
 
33984
  as_fn_error $? "conditional \"ENABLE_PKCS11\" was never defined.
 
33985
Usually this means the macro was only invoked conditionally." "$LINENO" 5
 
33986
fi
31912
33987
if test -z "${HAVE_GUILE_TRUE}" && test -z "${HAVE_GUILE_FALSE}"; then
31913
33988
  as_fn_error $? "conditional \"HAVE_GUILE\" was never defined.
31914
33989
Usually this means the macro was only invoked conditionally." "$LINENO" 5
31966
34041
 
31967
34042
 
31968
34043
 
31969
 
: ${CONFIG_STATUS=./config.status}
 
34044
: "${CONFIG_STATUS=./config.status}"
31970
34045
ac_write_fail=0
31971
34046
ac_clean_files_save=$ac_clean_files
31972
34047
ac_clean_files="$ac_clean_files $CONFIG_STATUS"
32067
34142
IFS=" ""        $as_nl"
32068
34143
 
32069
34144
# Find who we are.  Look in the path if we contain no directory separator.
 
34145
as_myself=
32070
34146
case $0 in #((
32071
34147
  *[\\/]* ) as_myself=$0 ;;
32072
34148
  *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32373
34449
# report actual input values of CONFIG_FILES etc. instead of their
32374
34450
# values after options handling.
32375
34451
ac_log="
32376
 
This file was extended by GnuTLS $as_me 2.10.5, which was
32377
 
generated by GNU Autoconf 2.67.  Invocation command line was
 
34452
This file was extended by GnuTLS $as_me 2.12.11, which was
 
34453
generated by GNU Autoconf 2.68.  Invocation command line was
32378
34454
 
32379
34455
  CONFIG_FILES    = $CONFIG_FILES
32380
34456
  CONFIG_HEADERS  = $CONFIG_HEADERS
32443
34519
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
32444
34520
ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
32445
34521
ac_cs_version="\\
32446
 
GnuTLS config.status 2.10.5
32447
 
configured by $0, generated by GNU Autoconf 2.67,
 
34522
GnuTLS config.status 2.12.11
 
34523
configured by $0, generated by GNU Autoconf 2.68,
32448
34524
  with options \\"\$ac_cs_config\\"
32449
34525
 
32450
34526
Copyright (C) 2010 Free Software Foundation, Inc.
32603
34679
lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
32604
34680
lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
32605
34681
lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
 
34682
lt_cv_to_host_file_cmd='`$ECHO "$lt_cv_to_host_file_cmd" | $SED "$delay_single_quote_subst"`'
 
34683
lt_cv_to_tool_file_cmd='`$ECHO "$lt_cv_to_tool_file_cmd" | $SED "$delay_single_quote_subst"`'
32606
34684
reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
32607
34685
reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
32608
34686
deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
32609
34687
file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
 
34688
file_magic_glob='`$ECHO "$file_magic_glob" | $SED "$delay_single_quote_subst"`'
 
34689
want_nocaseglob='`$ECHO "$want_nocaseglob" | $SED "$delay_single_quote_subst"`'
 
34690
sharedlib_from_linklib_cmd='`$ECHO "$sharedlib_from_linklib_cmd" | $SED "$delay_single_quote_subst"`'
32610
34691
AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
32611
34692
AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
 
34693
archiver_list_spec='`$ECHO "$archiver_list_spec" | $SED "$delay_single_quote_subst"`'
32612
34694
STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
32613
34695
RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
32614
34696
old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
32623
34705
lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
32624
34706
lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
32625
34707
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"`'
 
34708
nm_file_list_spec='`$ECHO "$nm_file_list_spec" | $SED "$delay_single_quote_subst"`'
 
34709
lt_sysroot='`$ECHO "$lt_sysroot" | $SED "$delay_single_quote_subst"`'
32626
34710
objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
32627
34711
MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
32628
34712
lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
 
34713
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32629
34714
lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
32630
 
lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
32631
34715
lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
32632
34716
lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
32633
34717
need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
 
34718
MANIFEST_TOOL='`$ECHO "$MANIFEST_TOOL" | $SED "$delay_single_quote_subst"`'
32634
34719
DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
32635
34720
NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
32636
34721
LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
32663
34748
hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
32664
34749
inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
32665
34750
link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
32666
 
fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
32667
34751
always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
32668
34752
export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
32669
34753
exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
32670
34754
include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
32671
34755
prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
 
34756
postlink_cmds='`$ECHO "$postlink_cmds" | $SED "$delay_single_quote_subst"`'
32672
34757
file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
32673
34758
variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
32674
34759
need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
32707
34792
compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
32708
34793
GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
32709
34794
lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
 
34795
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
32710
34796
lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
32711
 
lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
32712
34797
lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
32713
34798
lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
32714
34799
archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
32735
34820
hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
32736
34821
inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
32737
34822
link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
32738
 
fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
32739
34823
always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
32740
34824
export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
32741
34825
exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
32742
34826
include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
32743
34827
prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
 
34828
postlink_cmds_CXX='`$ECHO "$postlink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
32744
34829
file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
32745
34830
hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
32746
34831
compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
32780
34865
reload_flag \
32781
34866
deplibs_check_method \
32782
34867
file_magic_cmd \
 
34868
file_magic_glob \
 
34869
want_nocaseglob \
 
34870
sharedlib_from_linklib_cmd \
32783
34871
AR \
32784
34872
AR_FLAGS \
 
34873
archiver_list_spec \
32785
34874
STRIP \
32786
34875
RANLIB \
32787
34876
CC \
32791
34880
lt_cv_sys_global_symbol_to_cdecl \
32792
34881
lt_cv_sys_global_symbol_to_c_name_address \
32793
34882
lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
 
34883
nm_file_list_spec \
32794
34884
lt_prog_compiler_no_builtin_flag \
 
34885
lt_prog_compiler_pic \
32795
34886
lt_prog_compiler_wl \
32796
 
lt_prog_compiler_pic \
32797
34887
lt_prog_compiler_static \
32798
34888
lt_cv_prog_compiler_c_o \
32799
34889
need_locks \
 
34890
MANIFEST_TOOL \
32800
34891
DSYMUTIL \
32801
34892
NMEDIT \
32802
34893
LIPO \
32812
34903
hardcode_libdir_flag_spec \
32813
34904
hardcode_libdir_flag_spec_ld \
32814
34905
hardcode_libdir_separator \
32815
 
fix_srcfile_path \
32816
34906
exclude_expsyms \
32817
34907
include_expsyms \
32818
34908
file_list_spec \
32834
34924
reload_flag_CXX \
32835
34925
compiler_CXX \
32836
34926
lt_prog_compiler_no_builtin_flag_CXX \
 
34927
lt_prog_compiler_pic_CXX \
32837
34928
lt_prog_compiler_wl_CXX \
32838
 
lt_prog_compiler_pic_CXX \
32839
34929
lt_prog_compiler_static_CXX \
32840
34930
lt_cv_prog_compiler_c_o_CXX \
32841
34931
export_dynamic_flag_spec_CXX \
32847
34937
hardcode_libdir_flag_spec_CXX \
32848
34938
hardcode_libdir_flag_spec_ld_CXX \
32849
34939
hardcode_libdir_separator_CXX \
32850
 
fix_srcfile_path_CXX \
32851
34940
exclude_expsyms_CXX \
32852
34941
include_expsyms_CXX \
32853
34942
file_list_spec_CXX \
32881
34970
module_expsym_cmds \
32882
34971
export_symbols_cmds \
32883
34972
prelink_cmds \
 
34973
postlink_cmds \
32884
34974
postinstall_cmds \
32885
34975
postuninstall_cmds \
32886
34976
finish_cmds \
32895
34985
module_cmds_CXX \
32896
34986
module_expsym_cmds_CXX \
32897
34987
export_symbols_cmds_CXX \
32898
 
prelink_cmds_CXX; do
 
34988
prelink_cmds_CXX \
 
34989
postlink_cmds_CXX; do
32899
34990
    case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
32900
34991
    *[\\\\\\\`\\"\\\$]*)
32901
34992
      eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
32966
35057
    "src/cfg/platon/str/Makefile") CONFIG_FILES="$CONFIG_FILES src/cfg/platon/str/Makefile" ;;
32967
35058
    "tests/Makefile") CONFIG_FILES="$CONFIG_FILES tests/Makefile" ;;
32968
35059
    "tests/key-id/Makefile") CONFIG_FILES="$CONFIG_FILES tests/key-id/Makefile" ;;
 
35060
    "tests/dsa/Makefile") CONFIG_FILES="$CONFIG_FILES tests/dsa/Makefile" ;;
32969
35061
    "tests/openpgp-certs/Makefile") CONFIG_FILES="$CONFIG_FILES tests/openpgp-certs/Makefile" ;;
32970
35062
    "tests/safe-renegotiation/Makefile") CONFIG_FILES="$CONFIG_FILES tests/safe-renegotiation/Makefile" ;;
32971
35063
    "tests/pathlen/Makefile") CONFIG_FILES="$CONFIG_FILES tests/pathlen/Makefile" ;;
32975
35067
    "tests/rsa-md5-collision/Makefile") CONFIG_FILES="$CONFIG_FILES tests/rsa-md5-collision/Makefile" ;;
32976
35068
    "tests/sha2/Makefile") CONFIG_FILES="$CONFIG_FILES tests/sha2/Makefile" ;;
32977
35069
    "tests/userid/Makefile") CONFIG_FILES="$CONFIG_FILES tests/userid/Makefile" ;;
 
35070
    "tests/suite/Makefile") CONFIG_FILES="$CONFIG_FILES tests/suite/Makefile" ;;
32978
35071
 
32979
 
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
 
35072
  *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
32980
35073
  esac
32981
35074
done
32982
35075
 
33000
35093
# after its creation but before its name has been assigned to `$tmp'.
33001
35094
$debug ||
33002
35095
{
33003
 
  tmp=
 
35096
  tmp= ac_tmp=
33004
35097
  trap 'exit_status=$?
33005
 
  { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
 
35098
  : "${ac_tmp:=$tmp}"
 
35099
  { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
33006
35100
' 0
33007
35101
  trap 'as_fn_exit 1' 1 2 13 15
33008
35102
}
33010
35104
 
33011
35105
{
33012
35106
  tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
33013
 
  test -n "$tmp" && test -d "$tmp"
 
35107
  test -d "$tmp"
33014
35108
}  ||
33015
35109
{
33016
35110
  tmp=./conf$$-$RANDOM
33017
35111
  (umask 077 && mkdir "$tmp")
33018
35112
} || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
 
35113
ac_tmp=$tmp
33019
35114
 
33020
35115
# Set up the scripts for CONFIG_FILES section.
33021
35116
# No need to generate them if there are no CONFIG_FILES.
33037
35132
  ac_cs_awk_cr=$ac_cr
33038
35133
fi
33039
35134
 
33040
 
echo 'BEGIN {' >"$tmp/subs1.awk" &&
 
35135
echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
33041
35136
_ACEOF
33042
35137
 
33043
35138
 
33065
35160
rm -f conf$$subs.sh
33066
35161
 
33067
35162
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33068
 
cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
 
35163
cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
33069
35164
_ACEOF
33070
35165
sed -n '
33071
35166
h
33113
35208
rm -f conf$$subs.awk
33114
35209
cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
33115
35210
_ACAWK
33116
 
cat >>"\$tmp/subs1.awk" <<_ACAWK &&
 
35211
cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
33117
35212
  for (key in S) S_is_set[key] = 1
33118
35213
  FS = ""
33119
35214
 
33145
35240
  sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
33146
35241
else
33147
35242
  cat
33148
 
fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
 
35243
fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
33149
35244
  || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
33150
35245
_ACEOF
33151
35246
 
33179
35274
# No need to generate them if there are no CONFIG_HEADERS.
33180
35275
# This happens for instance with `./config.status Makefile'.
33181
35276
if test -n "$CONFIG_HEADERS"; then
33182
 
cat >"$tmp/defines.awk" <<\_ACAWK ||
 
35277
cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
33183
35278
BEGIN {
33184
35279
_ACEOF
33185
35280
 
33191
35286
# handling of long lines.
33192
35287
ac_delim='%!_!# '
33193
35288
for ac_last_try in false false :; do
33194
 
  ac_t=`sed -n "/$ac_delim/p" confdefs.h`
33195
 
  if test -z "$ac_t"; then
 
35289
  ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
 
35290
  if test -z "$ac_tt"; then
33196
35291
    break
33197
35292
  elif $ac_last_try; then
33198
35293
    as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
33293
35388
  esac
33294
35389
  case $ac_mode$ac_tag in
33295
35390
  :[FHL]*:*);;
33296
 
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
 
35391
  :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
33297
35392
  :[FH]-) ac_tag=-:-;;
33298
35393
  :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
33299
35394
  esac
33312
35407
    for ac_f
33313
35408
    do
33314
35409
      case $ac_f in
33315
 
      -) ac_f="$tmp/stdin";;
 
35410
      -) ac_f="$ac_tmp/stdin";;
33316
35411
      *) # Look for the file first in the build tree, then in the source tree
33317
35412
         # (if the path is not absolute).  The absolute path cannot be DOS-style,
33318
35413
         # because $ac_f cannot contain `:'.
33321
35416
           [\\/$]*) false;;
33322
35417
           *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
33323
35418
           esac ||
33324
 
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
 
35419
           as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
33325
35420
      esac
33326
35421
      case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
33327
35422
      as_fn_append ac_file_inputs " '$ac_f'"
33347
35442
    esac
33348
35443
 
33349
35444
    case $ac_tag in
33350
 
    *:-:* | *:-) cat >"$tmp/stdin" \
33351
 
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5  ;;
 
35445
    *:-:* | *:-) cat >"$ac_tmp/stdin" \
 
35446
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
33352
35447
    esac
33353
35448
    ;;
33354
35449
  esac
33484
35579
s&@MKDIR_P@&$ac_MKDIR_P&;t t
33485
35580
$ac_datarootdir_hack
33486
35581
"
33487
 
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
33488
 
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
 
35582
eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
 
35583
  >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33489
35584
 
33490
35585
test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
33491
 
  { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
33492
 
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
 
35586
  { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
 
35587
  { ac_out=`sed -n '/^[  ]*datarootdir[  ]*:*=/p' \
 
35588
      "$ac_tmp/out"`; test -z "$ac_out"; } &&
33493
35589
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33494
35590
which seems to be undefined.  Please make sure it is defined" >&5
33495
35591
$as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
33496
35592
which seems to be undefined.  Please make sure it is defined" >&2;}
33497
35593
 
33498
 
  rm -f "$tmp/stdin"
 
35594
  rm -f "$ac_tmp/stdin"
33499
35595
  case $ac_file in
33500
 
  -) cat "$tmp/out" && rm -f "$tmp/out";;
33501
 
  *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
 
35596
  -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
 
35597
  *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
33502
35598
  esac \
33503
35599
  || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33504
35600
 ;;
33509
35605
  if test x"$ac_file" != x-; then
33510
35606
    {
33511
35607
      $as_echo "/* $configure_input  */" \
33512
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
33513
 
    } >"$tmp/config.h" \
 
35608
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
 
35609
    } >"$ac_tmp/config.h" \
33514
35610
      || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33515
 
    if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
 
35611
    if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
33516
35612
      { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
33517
35613
$as_echo "$as_me: $ac_file is unchanged" >&6;}
33518
35614
    else
33519
35615
      rm -f "$ac_file"
33520
 
      mv "$tmp/config.h" "$ac_file" \
 
35616
      mv "$ac_tmp/config.h" "$ac_file" \
33521
35617
        || as_fn_error $? "could not create $ac_file" "$LINENO" 5
33522
35618
    fi
33523
35619
  else
33524
35620
    $as_echo "/* $configure_input  */" \
33525
 
      && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
 
35621
      && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
33526
35622
      || as_fn_error $? "could not create -" "$LINENO" 5
33527
35623
  fi
33528
35624
# Compute "$ac_file"'s index in $config_headers.
33828
35924
# turn newlines into spaces.
33829
35925
NL2SP=$lt_lt_NL2SP
33830
35926
 
 
35927
# convert \$build file names to \$host format.
 
35928
to_host_file_cmd=$lt_cv_to_host_file_cmd
 
35929
 
 
35930
# convert \$build files to toolchain format.
 
35931
to_tool_file_cmd=$lt_cv_to_tool_file_cmd
 
35932
 
33831
35933
# Method to check whether dependent libraries are shared objects.
33832
35934
deplibs_check_method=$lt_deplibs_check_method
33833
35935
 
33834
 
# Command to use when deplibs_check_method == "file_magic".
 
35936
# Command to use when deplibs_check_method = "file_magic".
33835
35937
file_magic_cmd=$lt_file_magic_cmd
33836
35938
 
 
35939
# How to find potential files when deplibs_check_method = "file_magic".
 
35940
file_magic_glob=$lt_file_magic_glob
 
35941
 
 
35942
# Find potential files using nocaseglob when deplibs_check_method = "file_magic".
 
35943
want_nocaseglob=$lt_want_nocaseglob
 
35944
 
 
35945
# Command to associate shared and link libraries.
 
35946
sharedlib_from_linklib_cmd=$lt_sharedlib_from_linklib_cmd
 
35947
 
33837
35948
# The archiver.
33838
35949
AR=$lt_AR
 
35950
 
 
35951
# Flags to create an archive.
33839
35952
AR_FLAGS=$lt_AR_FLAGS
33840
35953
 
 
35954
# How to feed a file listing to the archiver.
 
35955
archiver_list_spec=$lt_archiver_list_spec
 
35956
 
33841
35957
# A symbol stripping program.
33842
35958
STRIP=$lt_STRIP
33843
35959
 
33867
35983
# Transform the output of nm in a C name address pair when lib prefix is needed.
33868
35984
global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
33869
35985
 
 
35986
# Specify filename containing input files for \$NM.
 
35987
nm_file_list_spec=$lt_nm_file_list_spec
 
35988
 
 
35989
# The root where to search for dependent libraries,and in which our libraries should be installed.
 
35990
lt_sysroot=$lt_sysroot
 
35991
 
33870
35992
# The name of the directory that contains temporary libtool files.
33871
35993
objdir=$objdir
33872
35994
 
33876
35998
# Must we lock files when doing compilation?
33877
35999
need_locks=$lt_need_locks
33878
36000
 
 
36001
# Manifest tool.
 
36002
MANIFEST_TOOL=$lt_MANIFEST_TOOL
 
36003
 
33879
36004
# Tool to manipulate archived DWARF debug symbol files on Mac OS X.
33880
36005
DSYMUTIL=$lt_DSYMUTIL
33881
36006
 
33990
36115
# Compiler flag to turn off builtin functions.
33991
36116
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
33992
36117
 
 
36118
# Additional compiler flags for building library objects.
 
36119
pic_flag=$lt_lt_prog_compiler_pic
 
36120
 
33993
36121
# How to pass a linker flag through the compiler.
33994
36122
wl=$lt_lt_prog_compiler_wl
33995
36123
 
33996
 
# Additional compiler flags for building library objects.
33997
 
pic_flag=$lt_lt_prog_compiler_pic
33998
 
 
33999
36124
# Compiler flag to prevent dynamic linking.
34000
36125
link_static_flag=$lt_lt_prog_compiler_static
34001
36126
 
34082
36207
# Whether libtool must link a program against all its dependency libraries.
34083
36208
link_all_deplibs=$link_all_deplibs
34084
36209
 
34085
 
# Fix the shell variable \$srcfile for the compiler.
34086
 
fix_srcfile_path=$lt_fix_srcfile_path
34087
 
 
34088
36210
# Set to "yes" if exported symbols are required.
34089
36211
always_export_symbols=$always_export_symbols
34090
36212
 
34100
36222
# Commands necessary for linking programs (against libraries) with templates.
34101
36223
prelink_cmds=$lt_prelink_cmds
34102
36224
 
 
36225
# Commands necessary for finishing linking programs.
 
36226
postlink_cmds=$lt_postlink_cmds
 
36227
 
34103
36228
# Specify filename containing input files.
34104
36229
file_list_spec=$lt_file_list_spec
34105
36230
 
34146
36271
  # if finds mixed CR/LF and LF-only lines.  Since sed operates in
34147
36272
  # text mode, it properly converts lines to CR/LF.  This bash problem
34148
36273
  # is reportedly fixed, but why not run on old versions too?
34149
 
  sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
34150
 
    || (rm -f "$cfgfile"; exit 1)
34151
 
 
34152
 
  case $xsi_shell in
34153
 
  yes)
34154
 
    cat << \_LT_EOF >> "$cfgfile"
34155
 
 
34156
 
# func_dirname file append nondir_replacement
34157
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
34158
 
# otherwise set result to NONDIR_REPLACEMENT.
34159
 
func_dirname ()
34160
 
{
34161
 
  case ${1} in
34162
 
    */*) func_dirname_result="${1%/*}${2}" ;;
34163
 
    *  ) func_dirname_result="${3}" ;;
34164
 
  esac
34165
 
}
34166
 
 
34167
 
# func_basename file
34168
 
func_basename ()
34169
 
{
34170
 
  func_basename_result="${1##*/}"
34171
 
}
34172
 
 
34173
 
# func_dirname_and_basename file append nondir_replacement
34174
 
# perform func_basename and func_dirname in a single function
34175
 
# call:
34176
 
#   dirname:  Compute the dirname of FILE.  If nonempty,
34177
 
#             add APPEND to the result, otherwise set result
34178
 
#             to NONDIR_REPLACEMENT.
34179
 
#             value returned in "$func_dirname_result"
34180
 
#   basename: Compute filename of FILE.
34181
 
#             value retuned in "$func_basename_result"
34182
 
# Implementation must be kept synchronized with func_dirname
34183
 
# and func_basename. For efficiency, we do not delegate to
34184
 
# those functions but instead duplicate the functionality here.
34185
 
func_dirname_and_basename ()
34186
 
{
34187
 
  case ${1} in
34188
 
    */*) func_dirname_result="${1%/*}${2}" ;;
34189
 
    *  ) func_dirname_result="${3}" ;;
34190
 
  esac
34191
 
  func_basename_result="${1##*/}"
34192
 
}
34193
 
 
34194
 
# func_stripname prefix suffix name
34195
 
# strip PREFIX and SUFFIX off of NAME.
34196
 
# PREFIX and SUFFIX must not contain globbing or regex special
34197
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
34198
 
# dot (in which case that matches only a dot).
34199
 
func_stripname ()
34200
 
{
34201
 
  # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
34202
 
  # positional parameters, so assign one to ordinary parameter first.
34203
 
  func_stripname_result=${3}
34204
 
  func_stripname_result=${func_stripname_result#"${1}"}
34205
 
  func_stripname_result=${func_stripname_result%"${2}"}
34206
 
}
34207
 
 
34208
 
# func_opt_split
34209
 
func_opt_split ()
34210
 
{
34211
 
  func_opt_split_opt=${1%%=*}
34212
 
  func_opt_split_arg=${1#*=}
34213
 
}
34214
 
 
34215
 
# func_lo2o object
34216
 
func_lo2o ()
34217
 
{
34218
 
  case ${1} in
34219
 
    *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
34220
 
    *)    func_lo2o_result=${1} ;;
34221
 
  esac
34222
 
}
34223
 
 
34224
 
# func_xform libobj-or-source
34225
 
func_xform ()
34226
 
{
34227
 
  func_xform_result=${1%.*}.lo
34228
 
}
34229
 
 
34230
 
# func_arith arithmetic-term...
34231
 
func_arith ()
34232
 
{
34233
 
  func_arith_result=$(( $* ))
34234
 
}
34235
 
 
34236
 
# func_len string
34237
 
# STRING may not start with a hyphen.
34238
 
func_len ()
34239
 
{
34240
 
  func_len_result=${#1}
34241
 
}
34242
 
 
34243
 
_LT_EOF
34244
 
    ;;
34245
 
  *) # Bourne compatible functions.
34246
 
    cat << \_LT_EOF >> "$cfgfile"
34247
 
 
34248
 
# func_dirname file append nondir_replacement
34249
 
# Compute the dirname of FILE.  If nonempty, add APPEND to the result,
34250
 
# otherwise set result to NONDIR_REPLACEMENT.
34251
 
func_dirname ()
34252
 
{
34253
 
  # Extract subdirectory from the argument.
34254
 
  func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
34255
 
  if test "X$func_dirname_result" = "X${1}"; then
34256
 
    func_dirname_result="${3}"
34257
 
  else
34258
 
    func_dirname_result="$func_dirname_result${2}"
34259
 
  fi
34260
 
}
34261
 
 
34262
 
# func_basename file
34263
 
func_basename ()
34264
 
{
34265
 
  func_basename_result=`$ECHO "${1}" | $SED "$basename"`
34266
 
}
34267
 
 
34268
 
 
34269
 
# func_stripname prefix suffix name
34270
 
# strip PREFIX and SUFFIX off of NAME.
34271
 
# PREFIX and SUFFIX must not contain globbing or regex special
34272
 
# characters, hashes, percent signs, but SUFFIX may contain a leading
34273
 
# dot (in which case that matches only a dot).
34274
 
# func_strip_suffix prefix name
34275
 
func_stripname ()
34276
 
{
34277
 
  case ${2} in
34278
 
    .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
34279
 
    *)  func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
34280
 
  esac
34281
 
}
34282
 
 
34283
 
# sed scripts:
34284
 
my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
34285
 
my_sed_long_arg='1s/^-[^=]*=//'
34286
 
 
34287
 
# func_opt_split
34288
 
func_opt_split ()
34289
 
{
34290
 
  func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
34291
 
  func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
34292
 
}
34293
 
 
34294
 
# func_lo2o object
34295
 
func_lo2o ()
34296
 
{
34297
 
  func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
34298
 
}
34299
 
 
34300
 
# func_xform libobj-or-source
34301
 
func_xform ()
34302
 
{
34303
 
  func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
34304
 
}
34305
 
 
34306
 
# func_arith arithmetic-term...
34307
 
func_arith ()
34308
 
{
34309
 
  func_arith_result=`expr "$@"`
34310
 
}
34311
 
 
34312
 
# func_len string
34313
 
# STRING may not start with a hyphen.
34314
 
func_len ()
34315
 
{
34316
 
  func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
34317
 
}
34318
 
 
34319
 
_LT_EOF
34320
 
esac
34321
 
 
34322
 
case $lt_shell_append in
34323
 
  yes)
34324
 
    cat << \_LT_EOF >> "$cfgfile"
34325
 
 
34326
 
# func_append var value
34327
 
# Append VALUE to the end of shell variable VAR.
34328
 
func_append ()
34329
 
{
34330
 
  eval "$1+=\$2"
34331
 
}
34332
 
_LT_EOF
34333
 
    ;;
34334
 
  *)
34335
 
    cat << \_LT_EOF >> "$cfgfile"
34336
 
 
34337
 
# func_append var value
34338
 
# Append VALUE to the end of shell variable VAR.
34339
 
func_append ()
34340
 
{
34341
 
  eval "$1=\$$1\$2"
34342
 
}
34343
 
 
34344
 
_LT_EOF
34345
 
    ;;
34346
 
  esac
34347
 
 
34348
 
 
34349
 
  sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
34350
 
    || (rm -f "$cfgfile"; exit 1)
34351
 
 
34352
 
  mv -f "$cfgfile" "$ofile" ||
 
36274
  sed '$q' "$ltmain" >> "$cfgfile" \
 
36275
     || (rm -f "$cfgfile"; exit 1)
 
36276
 
 
36277
  if test x"$xsi_shell" = xyes; then
 
36278
  sed -e '/^func_dirname ()$/,/^} # func_dirname /c\
 
36279
func_dirname ()\
 
36280
{\
 
36281
\    case ${1} in\
 
36282
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
36283
\      *  ) func_dirname_result="${3}" ;;\
 
36284
\    esac\
 
36285
} # Extended-shell func_dirname implementation' "$cfgfile" > $cfgfile.tmp \
 
36286
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36287
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36288
test 0 -eq $? || _lt_function_replace_fail=:
 
36289
 
 
36290
 
 
36291
  sed -e '/^func_basename ()$/,/^} # func_basename /c\
 
36292
func_basename ()\
 
36293
{\
 
36294
\    func_basename_result="${1##*/}"\
 
36295
} # Extended-shell func_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
36296
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36297
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36298
test 0 -eq $? || _lt_function_replace_fail=:
 
36299
 
 
36300
 
 
36301
  sed -e '/^func_dirname_and_basename ()$/,/^} # func_dirname_and_basename /c\
 
36302
func_dirname_and_basename ()\
 
36303
{\
 
36304
\    case ${1} in\
 
36305
\      */*) func_dirname_result="${1%/*}${2}" ;;\
 
36306
\      *  ) func_dirname_result="${3}" ;;\
 
36307
\    esac\
 
36308
\    func_basename_result="${1##*/}"\
 
36309
} # Extended-shell func_dirname_and_basename implementation' "$cfgfile" > $cfgfile.tmp \
 
36310
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36311
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36312
test 0 -eq $? || _lt_function_replace_fail=:
 
36313
 
 
36314
 
 
36315
  sed -e '/^func_stripname ()$/,/^} # func_stripname /c\
 
36316
func_stripname ()\
 
36317
{\
 
36318
\    # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are\
 
36319
\    # positional parameters, so assign one to ordinary parameter first.\
 
36320
\    func_stripname_result=${3}\
 
36321
\    func_stripname_result=${func_stripname_result#"${1}"}\
 
36322
\    func_stripname_result=${func_stripname_result%"${2}"}\
 
36323
} # Extended-shell func_stripname implementation' "$cfgfile" > $cfgfile.tmp \
 
36324
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36325
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36326
test 0 -eq $? || _lt_function_replace_fail=:
 
36327
 
 
36328
 
 
36329
  sed -e '/^func_split_long_opt ()$/,/^} # func_split_long_opt /c\
 
36330
func_split_long_opt ()\
 
36331
{\
 
36332
\    func_split_long_opt_name=${1%%=*}\
 
36333
\    func_split_long_opt_arg=${1#*=}\
 
36334
} # Extended-shell func_split_long_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
36335
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36336
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36337
test 0 -eq $? || _lt_function_replace_fail=:
 
36338
 
 
36339
 
 
36340
  sed -e '/^func_split_short_opt ()$/,/^} # func_split_short_opt /c\
 
36341
func_split_short_opt ()\
 
36342
{\
 
36343
\    func_split_short_opt_arg=${1#??}\
 
36344
\    func_split_short_opt_name=${1%"$func_split_short_opt_arg"}\
 
36345
} # Extended-shell func_split_short_opt implementation' "$cfgfile" > $cfgfile.tmp \
 
36346
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36347
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36348
test 0 -eq $? || _lt_function_replace_fail=:
 
36349
 
 
36350
 
 
36351
  sed -e '/^func_lo2o ()$/,/^} # func_lo2o /c\
 
36352
func_lo2o ()\
 
36353
{\
 
36354
\    case ${1} in\
 
36355
\      *.lo) func_lo2o_result=${1%.lo}.${objext} ;;\
 
36356
\      *)    func_lo2o_result=${1} ;;\
 
36357
\    esac\
 
36358
} # Extended-shell func_lo2o implementation' "$cfgfile" > $cfgfile.tmp \
 
36359
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36360
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36361
test 0 -eq $? || _lt_function_replace_fail=:
 
36362
 
 
36363
 
 
36364
  sed -e '/^func_xform ()$/,/^} # func_xform /c\
 
36365
func_xform ()\
 
36366
{\
 
36367
    func_xform_result=${1%.*}.lo\
 
36368
} # Extended-shell func_xform implementation' "$cfgfile" > $cfgfile.tmp \
 
36369
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36370
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36371
test 0 -eq $? || _lt_function_replace_fail=:
 
36372
 
 
36373
 
 
36374
  sed -e '/^func_arith ()$/,/^} # func_arith /c\
 
36375
func_arith ()\
 
36376
{\
 
36377
    func_arith_result=$(( $* ))\
 
36378
} # Extended-shell func_arith implementation' "$cfgfile" > $cfgfile.tmp \
 
36379
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36380
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36381
test 0 -eq $? || _lt_function_replace_fail=:
 
36382
 
 
36383
 
 
36384
  sed -e '/^func_len ()$/,/^} # func_len /c\
 
36385
func_len ()\
 
36386
{\
 
36387
    func_len_result=${#1}\
 
36388
} # Extended-shell func_len implementation' "$cfgfile" > $cfgfile.tmp \
 
36389
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36390
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36391
test 0 -eq $? || _lt_function_replace_fail=:
 
36392
 
 
36393
fi
 
36394
 
 
36395
if test x"$lt_shell_append" = xyes; then
 
36396
  sed -e '/^func_append ()$/,/^} # func_append /c\
 
36397
func_append ()\
 
36398
{\
 
36399
    eval "${1}+=\\${2}"\
 
36400
} # Extended-shell func_append implementation' "$cfgfile" > $cfgfile.tmp \
 
36401
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36402
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36403
test 0 -eq $? || _lt_function_replace_fail=:
 
36404
 
 
36405
 
 
36406
  sed -e '/^func_append_quoted ()$/,/^} # func_append_quoted /c\
 
36407
func_append_quoted ()\
 
36408
{\
 
36409
\    func_quote_for_eval "${2}"\
 
36410
\    eval "${1}+=\\\\ \\$func_quote_for_eval_result"\
 
36411
} # Extended-shell func_append_quoted implementation' "$cfgfile" > $cfgfile.tmp \
 
36412
  && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36413
    || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36414
test 0 -eq $? || _lt_function_replace_fail=:
 
36415
 
 
36416
 
 
36417
  # Save a `func_append' function call where possible by direct use of '+='
 
36418
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1+="%g' $cfgfile > $cfgfile.tmp \
 
36419
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36420
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36421
  test 0 -eq $? || _lt_function_replace_fail=:
 
36422
else
 
36423
  # Save a `func_append' function call even when '+=' is not available
 
36424
  sed -e 's%func_append \([a-zA-Z_]\{1,\}\) "%\1="$\1%g' $cfgfile > $cfgfile.tmp \
 
36425
    && mv -f "$cfgfile.tmp" "$cfgfile" \
 
36426
      || (rm -f "$cfgfile" && cp "$cfgfile.tmp" "$cfgfile" && rm -f "$cfgfile.tmp")
 
36427
  test 0 -eq $? || _lt_function_replace_fail=:
 
36428
fi
 
36429
 
 
36430
if test x"$_lt_function_replace_fail" = x":"; then
 
36431
  { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unable to substitute extended shell functions in $ofile" >&5
 
36432
$as_echo "$as_me: WARNING: Unable to substitute extended shell functions in $ofile" >&2;}
 
36433
fi
 
36434
 
 
36435
 
 
36436
   mv -f "$cfgfile" "$ofile" ||
34353
36437
    (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
34354
36438
  chmod +x "$ofile"
34355
36439
 
34377
36461
# Compiler flag to turn off builtin functions.
34378
36462
no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
34379
36463
 
 
36464
# Additional compiler flags for building library objects.
 
36465
pic_flag=$lt_lt_prog_compiler_pic_CXX
 
36466
 
34380
36467
# How to pass a linker flag through the compiler.
34381
36468
wl=$lt_lt_prog_compiler_wl_CXX
34382
36469
 
34383
 
# Additional compiler flags for building library objects.
34384
 
pic_flag=$lt_lt_prog_compiler_pic_CXX
34385
 
 
34386
36470
# Compiler flag to prevent dynamic linking.
34387
36471
link_static_flag=$lt_lt_prog_compiler_static_CXX
34388
36472
 
34469
36553
# Whether libtool must link a program against all its dependency libraries.
34470
36554
link_all_deplibs=$link_all_deplibs_CXX
34471
36555
 
34472
 
# Fix the shell variable \$srcfile for the compiler.
34473
 
fix_srcfile_path=$lt_fix_srcfile_path_CXX
34474
 
 
34475
36556
# Set to "yes" if exported symbols are required.
34476
36557
always_export_symbols=$always_export_symbols_CXX
34477
36558
 
34487
36568
# Commands necessary for linking programs (against libraries) with templates.
34488
36569
prelink_cmds=$lt_prelink_cmds_CXX
34489
36570
 
 
36571
# Commands necessary for finishing linking programs.
 
36572
postlink_cmds=$lt_postlink_cmds_CXX
 
36573
 
34490
36574
# Specify filename containing input files.
34491
36575
file_list_spec=$lt_file_list_spec_CXX
34492
36576
 
34709
36793
  C++ library:      $use_cxx
34710
36794
  OpenSSL library:  $enable_openssl
34711
36795
  /dev/crypto:      $enable_cryptodev
 
36796
  Crypto library:   $cryptolib
 
36797
  PKCS#11 support:  $with_p11_kit
34712
36798
" >&5
34713
36799
$as_echo "$as_me: summary of build options:
34714
36800
 
34723
36809
  C++ library:      $use_cxx
34724
36810
  OpenSSL library:  $enable_openssl
34725
36811
  /dev/crypto:      $enable_cryptodev
 
36812
  Crypto library:   $cryptolib
 
36813
  PKCS#11 support:  $with_p11_kit
34726
36814
" >&6;}