Codebase list libatasmart / upstream/0.17+git20100219
Imported Upstream version 0.17+git20100219 Martin Pitt 14 years ago
15 changed file(s) with 2924 addition(s) and 5202 deletion(s). Raw diff Collapse all Expand all
8282 libatasmart_la_SOURCES = \
8383 atasmart.strpool.c atasmart.h
8484 libatasmart_la_LDFLAGS = \
85 -version-info $(LIBATASMART_VERSION_INFO)
85 -version-info $(LIBATASMART_VERSION_INFO) \
86 -export-symbols-regex '(^sk_.*)'
8687 libatasmart_la_LIBADD = \
8788 $(LIBUDEV_LIBS)
8889 libatasmart_la_CFLAGS = \
0 # Makefile.in generated by automake 1.11 from Makefile.am.
0 # Makefile.in generated by automake 1.11.1 from Makefile.am.
11 # @configure_input@
22
33 # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
379379 atasmart.strpool.c atasmart.h
380380
381381 libatasmart_la_LDFLAGS = \
382 -version-info $(LIBATASMART_VERSION_INFO)
382 -version-info $(LIBATASMART_VERSION_INFO) \
383 -export-symbols-regex '(^sk_.*)'
383384
384385 libatasmart_la_LIBADD = \
385386 $(LIBUDEV_LIBS)
686687 # (which will cause the Makefiles to be regenerated when you run `make');
687688 # (2) otherwise, pass the desired values on the `make' command line.
688689 $(RECURSIVE_TARGETS):
689 @failcom='exit 1'; \
690 @fail= failcom='exit 1'; \
690691 for f in x $$MAKEFLAGS; do \
691692 case $$f in \
692693 *=* | --[!k]*);; \
711712 fi; test -z "$$fail"
712713
713714 $(RECURSIVE_CLEAN_TARGETS):
714 @failcom='exit 1'; \
715 @fail= failcom='exit 1'; \
715716 for f in x $$MAKEFLAGS; do \
716717 case $$f in \
717718 *=* | --[!k]*);; \
875876 fi; \
876877 done
877878 -test -n "$(am__skip_mode_fix)" \
878 || find "$(distdir)" -type d ! -perm -777 -exec chmod a+rwx {} \; -o \
879 || find "$(distdir)" -type d ! -perm -755 \
880 -exec chmod u+rwx,go+rx {} \; -o \
879881 ! -type d ! -perm -444 -links 1 -exec chmod a+r {} \; -o \
880882 ! -type d ! -perm -400 -exec chmod a+r {} \; -o \
881883 ! -type d ! -perm -444 -exec $(install_sh) -c -m a+r {} {} \; \
919921 distcheck: dist
920922 case '$(DIST_ARCHIVES)' in \
921923 *.tar.gz*) \
922 GZIP=$(GZIP_ENV) gunzip -c $(distdir).tar.gz | $(am__untar) ;;\
924 GZIP=$(GZIP_ENV) gzip -dc $(distdir).tar.gz | $(am__untar) ;;\
923925 *.tar.bz2*) \
924 bunzip2 -c $(distdir).tar.bz2 | $(am__untar) ;;\
926 bzip2 -dc $(distdir).tar.bz2 | $(am__untar) ;;\
925927 *.tar.lzma*) \
926 unlzma -c $(distdir).tar.lzma | $(am__untar) ;;\
928 lzma -dc $(distdir).tar.lzma | $(am__untar) ;;\
927929 *.tar.xz*) \
928930 xz -dc $(distdir).tar.xz | $(am__untar) ;;\
929931 *.tar.Z*) \
930932 uncompress -c $(distdir).tar.Z | $(am__untar) ;;\
931933 *.shar.gz*) \
932 GZIP=$(GZIP_ENV) gunzip -c $(distdir).shar.gz | unshar ;;\
934 GZIP=$(GZIP_ENV) gzip -dc $(distdir).shar.gz | unshar ;;\
933935 *.zip*) \
934936 unzip $(distdir).zip ;;\
935937 esac
0 # generated automatically by aclocal 1.11 -*- Autoconf -*-
0 # generated automatically by aclocal 1.11.1 -*- Autoconf -*-
11
22 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004,
33 # 2005, 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
1212
1313 m4_ifndef([AC_AUTOCONF_VERSION],
1414 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.63],,
16 [m4_warning([this file was generated for autoconf 2.63.
15 m4_if(m4_defn([AC_AUTOCONF_VERSION]), [2.65],,
16 [m4_warning([this file was generated for autoconf 2.65.
1717 You have another version of autoconf. It may work, but is not guaranteed to.
1818 If you have problems, you may need to regenerate the build system entirely.
1919 To do so, use the procedure documented by the package, typically `autoreconf'.])])
24592459 ;;
24602460
24612461 # This must be Linux ELF.
2462 linux* | k*bsd*-gnu)
2462 linux* | k*bsd*-gnu | kopensolaris*-gnu)
24632463 version_type=linux
24642464 need_lib_prefix=no
24652465 need_version=no
24842484 # before this can be enabled.
24852485 hardcode_into_libs=yes
24862486
2487 # Add ABI-specific directories to the system library path.
2488 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
2489
24902487 # Append ld.so.conf contents to the search path
24912488 if test -f /etc/ld.so.conf; then
24922489 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \[$]2)); skip = 1; } { if (!skip) print \[$]0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
2493 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
2490 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
24942491 fi
24952492
24962493 # We used to test for /lib/ld.so.1 and disable shared libraries on
25002497 # people can always --disable-shared, the test was removed, and we
25012498 # assume the GNU/Linux dynamic linker is in use.
25022499 dynamic_linker='GNU/Linux ld.so'
2500 ;;
2501
2502 netbsdelf*-gnu)
2503 version_type=linux
2504 need_lib_prefix=no
2505 need_version=no
2506 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
2507 soname_spec='${libname}${release}${shared_ext}$major'
2508 shlibpath_var=LD_LIBRARY_PATH
2509 shlibpath_overrides_runpath=no
2510 hardcode_into_libs=yes
2511 dynamic_linker='NetBSD ld.elf_so'
25032512 ;;
25042513
25052514 netbsd*)
30893098 ;;
30903099
30913100 # This must be Linux ELF.
3092 linux* | k*bsd*-gnu)
3101 linux* | k*bsd*-gnu | kopensolaris*-gnu)
30933102 lt_cv_deplibs_check_method=pass_all
30943103 ;;
30953104
3096 netbsd*)
3105 netbsd* | netbsdelf*-gnu)
30973106 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
30983107 lt_cv_deplibs_check_method='match_pattern /lib[[^/]]+(\.so\.[[0-9]]+\.[[0-9]]+|_pic\.a)$'
30993108 else
34643473 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
34653474
34663475 cat <<_LT_EOF >> conftest.$ac_ext
3476
34673477 /* The mapping between symbol names and symbols. */
34683478 const struct {
34693479 const char *name;
37093719 ;;
37103720 esac
37113721 ;;
3712 linux* | k*bsd*-gnu)
3722 linux* | k*bsd*-gnu | kopensolaris*-gnu)
37133723 case $cc_basename in
37143724 KCC*)
37153725 # KAI C++ Compiler
37733783 ;;
37743784 esac
37753785 ;;
3776 netbsd*)
3786 netbsd* | netbsdelf*-gnu)
37773787 ;;
37783788 *qnx* | *nto*)
37793789 # QNX uses GNU C++, but need to define -shared option too, otherwise
39934003 _LT_TAGVAR(lt_prog_compiler_static, $1)='-non_shared'
39944004 ;;
39954005
3996 linux* | k*bsd*-gnu)
4006 linux* | k*bsd*-gnu | kopensolaris*-gnu)
39974007 case $cc_basename in
39984008 # old Intel for x86_64 which still supported -KPIC.
39994009 ecc*)
41984208 cygwin* | mingw* | cegcc*)
41994209 _LT_TAGVAR(export_symbols_cmds, $1)='$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'
42004210 ;;
4211 linux* | k*bsd*-gnu)
4212 _LT_TAGVAR(link_all_deplibs, $1)=no
4213 ;;
42014214 *)
42024215 _LT_TAGVAR(export_symbols_cmds, $1)='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
42034216 ;;
42624275 openbsd*)
42634276 with_gnu_ld=no
42644277 ;;
4278 linux* | k*bsd*-gnu)
4279 _LT_TAGVAR(link_all_deplibs, $1)=no
4280 ;;
42654281 esac
42664282
42674283 _LT_TAGVAR(ld_shlibs, $1)=yes
42834299 fi
42844300 supports_anon_versioning=no
42854301 case `$LD -v 2>&1` in
4302 *GNU\ gold*) supports_anon_versioning=yes ;;
42864303 *\ [[01]].* | *\ 2.[[0-9]].* | *\ 2.10.*) ;; # catch versions < 2.11
42874304 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
42884305 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
43744391 _LT_TAGVAR(archive_expsym_cmds, $1)='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
43754392 ;;
43764393
4377 gnu* | linux* | tpf* | k*bsd*-gnu)
4394 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
43784395 tmp_diet=no
43794396 if test "$host_os" = linux-dietlibc; then
43804397 case $cc_basename in
44444461 fi
44454462 ;;
44464463
4447 netbsd*)
4464 netbsd* | netbsdelf*-gnu)
44484465 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
44494466 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
44504467 wlarc=
46194636 if test "$aix_use_runtimelinking" = yes; then
46204637 shared_flag="$shared_flag "'${wl}-G'
46214638 fi
4639 _LT_TAGVAR(link_all_deplibs, $1)=no
46224640 else
46234641 # not using gcc
46244642 if test "$host_cpu" = ia64; then
48574875 _LT_TAGVAR(link_all_deplibs, $1)=yes
48584876 ;;
48594877
4860 netbsd*)
4878 netbsd* | netbsdelf*-gnu)
48614879 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
48624880 _LT_TAGVAR(archive_cmds, $1)='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
48634881 else
58535871 _LT_TAGVAR(inherit_rpath, $1)=yes
58545872 ;;
58555873
5856 linux* | k*bsd*-gnu)
5874 linux* | k*bsd*-gnu | kopensolaris*-gnu)
58575875 case $cc_basename in
58585876 KCC*)
58595877 # Kuck and Associates, Inc. (KAI) C++ Compiler
78607878
78617879 # Generated from ltversion.in.
78627880
7863 # serial 3012 ltversion.m4
7881 # serial 3017 ltversion.m4
78647882 # This file is part of GNU Libtool
78657883
7866 m4_define([LT_PACKAGE_VERSION], [2.2.6])
7867 m4_define([LT_PACKAGE_REVISION], [1.3012])
7884 m4_define([LT_PACKAGE_VERSION], [2.2.6b])
7885 m4_define([LT_PACKAGE_REVISION], [1.3017])
78687886
78697887 AC_DEFUN([LTVERSION_VERSION],
7870 [macro_version='2.2.6'
7871 macro_revision='1.3012'
7888 [macro_version='2.2.6b'
7889 macro_revision='1.3017'
78727890 _LT_DECL(, macro_version, 0, [Which release of libtool.m4 was used?])
78737891 _LT_DECL(, macro_revision, 0)
78747892 ])
80348052 # _PKG_CONFIG([VARIABLE], [COMMAND], [MODULES])
80358053 # ---------------------------------------------
80368054 m4_define([_PKG_CONFIG],
8037 [if test -n "$$1"; then
8038 pkg_cv_[]$1="$$1"
8039 elif test -n "$PKG_CONFIG"; then
8040 PKG_CHECK_EXISTS([$3],
8041 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8042 [pkg_failed=yes])
8043 else
8044 pkg_failed=untried
8055 [if test -n "$PKG_CONFIG"; then
8056 if test -n "$$1"; then
8057 pkg_cv_[]$1="$$1"
8058 else
8059 PKG_CHECK_EXISTS([$3],
8060 [pkg_cv_[]$1=`$PKG_CONFIG --[]$2 "$3" 2>/dev/null`],
8061 [pkg_failed=yes])
8062 fi
8063 else
8064 pkg_failed=untried
80458065 fi[]dnl
80468066 ])# _PKG_CONFIG
80478067
80858105 if test $pkg_failed = yes; then
80868106 _PKG_SHORT_ERRORS_SUPPORTED
80878107 if test $_pkg_short_errors_supported = yes; then
8088 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "$2" 2>&1`
8108 $1[]_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$2"`
80898109 else
8090 $1[]_PKG_ERRORS=`$PKG_CONFIG --print-errors "$2" 2>&1`
8110 $1[]_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$2"`
80918111 fi
80928112 # Put the nasty error message in config.log where it belongs
80938113 echo "$$1[]_PKG_ERRORS" >&AS_MESSAGE_LOG_FD
81378157 [am__api_version='1.11'
81388158 dnl Some users find AM_AUTOMAKE_VERSION and mistake it for a way to
81398159 dnl require some minimum version. Point them to the right macro.
8140 m4_if([$1], [1.11], [],
8160 m4_if([$1], [1.11.1], [],
81418161 [AC_FATAL([Do not call $0, use AM_INIT_AUTOMAKE([$1]).])])dnl
81428162 ])
81438163
81538173 # Call AM_AUTOMAKE_VERSION and AM_AUTOMAKE_VERSION so they can be traced.
81548174 # This function is AC_REQUIREd by AM_INIT_AUTOMAKE.
81558175 AC_DEFUN([AM_SET_CURRENT_AUTOMAKE_VERSION],
8156 [AM_AUTOMAKE_VERSION([1.11])dnl
8176 [AM_AUTOMAKE_VERSION([1.11.1])dnl
81578177 m4_ifndef([AC_AUTOCONF_VERSION],
81588178 [m4_copy([m4_PACKAGE_VERSION], [AC_AUTOCONF_VERSION])])dnl
81598179 _AM_AUTOCONF_VERSION(m4_defn([AC_AUTOCONF_VERSION]))])
150150 #define SK_MSECOND_VALID_SHORT_MAX (60ULL * 60ULL * 1000ULL)
151151 #define SK_MSECOND_VALID_LONG_MAX (30ULL * 365ULL * 24ULL * 60ULL * 60ULL * 1000ULL)
152152
153 int init_smart(SkDisk *d);
153 static int init_smart(SkDisk *d);
154154
155155 static const char *disk_type_to_human_string(SkDiskType type) {
156156
12891289 [11] = { "calibration-retry-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
12901290 [12] = { "power-cycle-count", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
12911291 [13] = { "read-soft-error-rate", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1292 [184] = { "end-to-end-error", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
12921293 [187] = { "reported-uncorrect", SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors },
1294 [188] = { "command-timeout", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
12931295 [189] = { "high-fly-writes", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
12941296 [190] = { "airflow-temperature-celsius", SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature },
12951297 [191] = { "g-sense-error-rate", SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
15121514 SK_SMART_QUIRK_5_UNKNOWN
15131515 }, {
15141516
1515 /*** Apple SSD (?) http://bugs.freedesktop.org/show_bug.cgi?id=24700 */
1517 /*** Apple SSD (?) http://bugs.freedesktop.org/show_bug.cgi?id=24700
1518 https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/438136/comments/4 */
15161519 "^MCCOE64GEMPP$",
1517 "^2.9.09$",
1520 "^2.9.0[3-9]$",
15181521 SK_SMART_QUIRK_5_UNKNOWN|
15191522 SK_SMART_QUIRK_190_UNKNOWN
15201523 }, {
25012504 goto finish;
25022505 }
25032506
2504 if ((vid == 0x152d && pid == 0x2329) ||
2505 (vid == 0x152d && pid == 0x2338) ||
2506 (vid == 0x152d && pid == 0x2339))
2507 if ((vid == 0x0928 && pid == 0x0000))
2508 /* This Oxford Semiconductor bridge seems to
2509 * choke on SAT commands. Let's explicitly
2510 * black list it here.
2511 *
2512 * http://bugs.freedesktop.org/show_bug.cgi?id=24951 */
2513 d->type = SK_DISK_TYPE_NONE;
2514 else if ((vid == 0x152d && pid == 0x2329) ||
2515 (vid == 0x152d && pid == 0x2338) ||
2516 (vid == 0x152d && pid == 0x2339))
25072517 /* Some JMicron bridges seem to choke on SMART
25082518 * commands, so let's explicitly black list
25092519 * them here.
25142524 * these vids/pids choke on the jmicron access
25152525 * mode. To make sure we don't break things
25162526 * for people we now disable this by
2517 * default.*/
2527 * default. */
25182528 d->type = SK_DISK_TYPE_NONE;
25192529 else if ((vid == 0x152d && pid == 0x2336))
25202530 /* This JMicron bridge seems to always work
25472557 return r;
25482558 }
25492559
2550 int init_smart(SkDisk *d) {
2560 static int init_smart(SkDisk *d) {
25512561 /* We don't do the SMART initialization right-away, since some
25522562 * drivers spin up when we do that */
25532563
25772587 }
25782588
25792589 disk_smart_read_thresholds(d);
2590 ret = 0;
25802591
25812592 fail:
25822593 return ret;
0 /* Saved 114 relocations, saved 2 strings (19 b) due to suffix compression. */
0 /* Saved 116 relocations, saved 2 strings (19 b) due to suffix compression. */
11 static const char _strpool_[] =
22 "16 Byte SCSI ATA SAT Passthru\0"
33 "12 Byte SCSI ATA SAT Passthru\0"
4444 "calibration-retry-count\0"
4545 "power-cycle-count\0"
4646 "read-soft-error-rate\0"
47 "end-to-end-error\0"
4748 "reported-uncorrect\0"
49 "command-timeout\0"
4850 "high-fly-writes\0"
4951 "airflow-temperature-celsius\0"
5052 "g-sense-error-rate\0"
277279 #define SK_MSECOND_VALID_SHORT_MAX (60ULL * 60ULL * 1000ULL)
278280 #define SK_MSECOND_VALID_LONG_MAX (30ULL * 365ULL * 24ULL * 60ULL * 60ULL * 1000ULL)
279281
280 int init_smart(SkDisk *d);
282 static int init_smart(SkDisk *d);
281283
282284 static const char *disk_type_to_human_string(SkDiskType type) {
283285
14161418 [11] = { ((const char*) 1689), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
14171419 [12] = { ((const char*) 1713), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
14181420 [13] = { ((const char*) 1731), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1419 [187] = { ((const char*) 1752), SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors },
1420 [189] = { ((const char*) 1771), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1421 [190] = { ((const char*) 1787), SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature },
1422 [191] = { ((const char*) 1815), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1423 [192] = { ((const char*) 1834), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1424 [193] = { ((const char*) 1858), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1425 [194] = { ((const char*) 1875), SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature },
1426 [195] = { ((const char*) 1897), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1427 [196] = { ((const char*) 1920), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1428 [197] = { ((const char*) 1944), SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors },
1429 [198] = { ((const char*) 1967), SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors },
1430 [199] = { ((const char*) 1989), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1431 [200] = { ((const char*) 2010), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1432 [201] = { ((const char*) 2032), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1433 [202] = { ((const char*) 2053), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1434 [203] = { ((const char*) 2071), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1435 [204] = { ((const char*) 2086), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1436 [205] = { ((const char*) 2109), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1437 [206] = { ((const char*) 2131), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1438 [207] = { ((const char*) 2145), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1439 [208] = { ((const char*) 2163), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1440 [209] = { ((const char*) 2173), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1441 [220] = { ((const char*) 2198), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1442 [221] = { ((const char*) 2209), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1443 [222] = { ((const char*) 2230), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time },
1444 [223] = { ((const char*) 2243), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1445 [224] = { ((const char*) 2260), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1446 [225] = { ((const char*) 2274), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1447 [226] = { ((const char*) 2293), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_short_time },
1448 [227] = { ((const char*) 2306), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1449 [228] = { ((const char*) 2321), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1450 [230] = { ((const char*) 2347), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1451 [231] = { ((const char*) 1795), SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature },
1421 [184] = { ((const char*) 1752), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1422 [187] = { ((const char*) 1769), SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors },
1423 [188] = { ((const char*) 1788), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1424 [189] = { ((const char*) 1804), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1425 [190] = { ((const char*) 1820), SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature },
1426 [191] = { ((const char*) 1848), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1427 [192] = { ((const char*) 1867), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1428 [193] = { ((const char*) 1891), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1429 [194] = { ((const char*) 1908), SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature },
1430 [195] = { ((const char*) 1930), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1431 [196] = { ((const char*) 1953), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1432 [197] = { ((const char*) 1977), SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors },
1433 [198] = { ((const char*) 2000), SK_SMART_ATTRIBUTE_UNIT_SECTORS, verify_sectors },
1434 [199] = { ((const char*) 2022), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1435 [200] = { ((const char*) 2043), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1436 [201] = { ((const char*) 2065), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1437 [202] = { ((const char*) 2086), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1438 [203] = { ((const char*) 2104), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1439 [204] = { ((const char*) 2119), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1440 [205] = { ((const char*) 2142), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1441 [206] = { ((const char*) 2164), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1442 [207] = { ((const char*) 2178), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1443 [208] = { ((const char*) 2196), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1444 [209] = { ((const char*) 2206), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1445 [220] = { ((const char*) 2231), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1446 [221] = { ((const char*) 2242), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1447 [222] = { ((const char*) 2263), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time },
1448 [223] = { ((const char*) 2276), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1449 [224] = { ((const char*) 2293), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1450 [225] = { ((const char*) 2307), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1451 [226] = { ((const char*) 2326), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_short_time },
1452 [227] = { ((const char*) 2339), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1453 [228] = { ((const char*) 2354), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL },
1454 [230] = { ((const char*) 2380), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1455 [231] = { ((const char*) 1828), SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature },
14521456
14531457 /* http://www.adtron.com/pdf/SMART_for_XceedLite_SATA_RevA.pdf */
1454 [232] = { ((const char*) 2362), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1455 [233] = { ((const char*) 2382), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1456 [234] = { ((const char*) 2401), SK_SMART_ATTRIBUTE_UNIT_SECTORS, NULL },
1457 [235] = { ((const char*) 2425), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1458
1459 [240] = { ((const char*) 2441), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time },
1460 [250] = { ((const char*) 2459), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }
1458 [232] = { ((const char*) 2395), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1459 [233] = { ((const char*) 2415), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1460 [234] = { ((const char*) 2434), SK_SMART_ATTRIBUTE_UNIT_SECTORS, NULL },
1461 [235] = { ((const char*) 2458), SK_SMART_ATTRIBUTE_UNIT_UNKNOWN, NULL },
1462
1463 [240] = { ((const char*) 2474), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time },
1464 [250] = { ((const char*) 2492), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL }
14611465 };
14621466 /* %STRINGPOOLSTOP% */
14631467
14801484
14811485 /* %STRINGPOOLSTART% */
14821486 static const char *quirk_name[] = {
1483 ((const char*) 2481),
1484 ((const char*) 2498),
1485 ((const char*) 2515),
1486 ((const char*) 2536),
1487 ((const char*) 2564),
1488 ((const char*) 2579),
1489 ((const char*) 2594),
1490 ((const char*) 2606),
1491 ((const char*) 2626),
1492 ((const char*) 2646),
1493 ((const char*) 2656),
1494 ((const char*) 2666),
1495 ((const char*) 2678),
1496 ((const char*) 2690),
1487 ((const char*) 2514),
1488 ((const char*) 2531),
1489 ((const char*) 2548),
1490 ((const char*) 2569),
1491 ((const char*) 2597),
1492 ((const char*) 2612),
1493 ((const char*) 2627),
1494 ((const char*) 2639),
1495 ((const char*) 2659),
1496 ((const char*) 2679),
1497 ((const char*) 2689),
1498 ((const char*) 2699),
1499 ((const char*) 2711),
1500 ((const char*) 2723),
14971501 NULL
14981502 };
14991503 /* %STRINGPOOLSTOP% */
16391643 SK_SMART_QUIRK_5_UNKNOWN
16401644 }, {
16411645
1642 /*** Apple SSD (?) http://bugs.freedesktop.org/show_bug.cgi?id=24700 */
1646 /*** Apple SSD (?) http://bugs.freedesktop.org/show_bug.cgi?id=24700
1647 https://bugs.launchpad.net/ubuntu/+source/gnome-disk-utility/+bug/438136/comments/4 */
16431648 "^MCCOE64GEMPP$",
1644 "^2.9.09$",
1649 "^2.9.0[3-9]$",
16451650 SK_SMART_QUIRK_5_UNKNOWN|
16461651 SK_SMART_QUIRK_190_UNKNOWN
16471652 }, {
17371742 /* %STRINGPOOLSTART% */
17381743 if (quirk & SK_SMART_QUIRK_9_POWERONMINUTES) {
17391744 static const SkSmartAttributeInfo a = {
1740 ((const char*) 2702), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time
1745 ((const char*) 2735), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time
17411746 };
17421747 return &a;
17431748
17441749 } else if (quirk & SK_SMART_QUIRK_9_POWERONSECONDS) {
17451750 static const SkSmartAttributeInfo a = {
1746 ((const char*) 2719), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time
1751 ((const char*) 2752), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time
17471752 };
17481753 return &a;
17491754
17501755 } else if (quirk & SK_SMART_QUIRK_9_POWERONHALFMINUTES) {
17511756 static const SkSmartAttributeInfo a = {
1752 ((const char*) 2736), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time
1757 ((const char*) 2769), SK_SMART_ATTRIBUTE_UNIT_MSECONDS, verify_long_time
17531758 };
17541759 return &a;
17551760 } else if (quirk & SK_SMART_QUIRK_9_UNKNOWN)
17681773 /* %STRINGPOOLSTART% */
17691774 if (quirk & SK_SMART_QUIRK_192_EMERGENCYRETRACTCYCLECT) {
17701775 static const SkSmartAttributeInfo a = {
1771 ((const char*) 2758), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL
1776 ((const char*) 2791), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL
17721777 };
17731778 return &a;
17741779 }
17801785 /* %STRINGPOOLSTART% */
17811786 if (quirk & SK_SMART_QUIRK_194_10XCELSIUS) {
17821787 static const SkSmartAttributeInfo a = {
1783 ((const char*) 2788), SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature
1788 ((const char*) 2821), SK_SMART_ATTRIBUTE_UNIT_MKELVIN, verify_temperature
17841789 };
17851790 return &a;
17861791 } else if (quirk & SK_SMART_QUIRK_194_UNKNOWN)
18051810 /* %STRINGPOOLSTART% */
18061811 if (quirk & SK_SMART_QUIRK_200_WRITEERRORCOUNT) {
18071812 static const SkSmartAttributeInfo a = {
1808 ((const char*) 2814), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL
1813 ((const char*) 2847), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL
18091814 };
18101815 return &a;
18111816 }
18171822 /* %STRINGPOOLSTART% */
18181823 if (quirk & SK_SMART_QUIRK_201_DETECTEDTACOUNT) {
18191824 static const SkSmartAttributeInfo a = {
1820 ((const char*) 2832), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL
1825 ((const char*) 2865), SK_SMART_ATTRIBUTE_UNIT_NONE, NULL
18211826 };
18221827 return &a;
18231828 }
20122017 const char * const map[] = {
20132018 [SK_SMART_ATTRIBUTE_UNIT_UNKNOWN] = NULL,
20142019 [SK_SMART_ATTRIBUTE_UNIT_NONE] = ((const char*) 30),
2015 [SK_SMART_ATTRIBUTE_UNIT_MSECONDS] = ((const char*) 2850),
2016 [SK_SMART_ATTRIBUTE_UNIT_SECTORS] = ((const char*) 2853),
2017 [SK_SMART_ATTRIBUTE_UNIT_MKELVIN] = ((const char*) 2861)
2020 [SK_SMART_ATTRIBUTE_UNIT_MSECONDS] = ((const char*) 2883),
2021 [SK_SMART_ATTRIBUTE_UNIT_SECTORS] = ((const char*) 2886),
2022 [SK_SMART_ATTRIBUTE_UNIT_MKELVIN] = ((const char*) 2894)
20182023 };
20192024 /* %STRINGPOOLSTOP% */
20202025
22042209
22052210 /* %STRINGPOOLSTART% */
22062211 const char * const map[] = {
2207 [SK_SMART_OVERALL_GOOD] = ((const char*) 2864),
2208 [SK_SMART_OVERALL_BAD_ATTRIBUTE_IN_THE_PAST] = ((const char*) 2869),
2209 [SK_SMART_OVERALL_BAD_SECTOR] = ((const char*) 2895),
2210 [SK_SMART_OVERALL_BAD_ATTRIBUTE_NOW] = ((const char*) 2906),
2211 [SK_SMART_OVERALL_BAD_SECTOR_MANY] = ((const char*) 2924),
2212 [SK_SMART_OVERALL_BAD_STATUS] = ((const char*) 2940),
2212 [SK_SMART_OVERALL_GOOD] = ((const char*) 2897),
2213 [SK_SMART_OVERALL_BAD_ATTRIBUTE_IN_THE_PAST] = ((const char*) 2902),
2214 [SK_SMART_OVERALL_BAD_SECTOR] = ((const char*) 2928),
2215 [SK_SMART_OVERALL_BAD_ATTRIBUTE_NOW] = ((const char*) 2939),
2216 [SK_SMART_OVERALL_BAD_SECTOR_MANY] = ((const char*) 2957),
2217 [SK_SMART_OVERALL_BAD_STATUS] = ((const char*) 2973),
22132218 };
22142219 /* %STRINGPOOLSTOP% */
22152220
26282633 goto finish;
26292634 }
26302635
2631 if ((vid == 0x152d && pid == 0x2329) ||
2632 (vid == 0x152d && pid == 0x2338) ||
2633 (vid == 0x152d && pid == 0x2339))
2636 if ((vid == 0x0928 && pid == 0x0000))
2637 /* This Oxford Semiconductor bridge seems to
2638 * choke on SAT commands. Let's explicitly
2639 * black list it here.
2640 *
2641 * http://bugs.freedesktop.org/show_bug.cgi?id=24951 */
2642 d->type = SK_DISK_TYPE_NONE;
2643 else if ((vid == 0x152d && pid == 0x2329) ||
2644 (vid == 0x152d && pid == 0x2338) ||
2645 (vid == 0x152d && pid == 0x2339))
26342646 /* Some JMicron bridges seem to choke on SMART
26352647 * commands, so let's explicitly black list
26362648 * them here.
26412653 * these vids/pids choke on the jmicron access
26422654 * mode. To make sure we don't break things
26432655 * for people we now disable this by
2644 * default.*/
2656 * default. */
26452657 d->type = SK_DISK_TYPE_NONE;
26462658 else if ((vid == 0x152d && pid == 0x2336))
26472659 /* This JMicron bridge seems to always work
26742686 return r;
26752687 }
26762688
2677 int init_smart(SkDisk *d) {
2689 static int init_smart(SkDisk *d) {
26782690 /* We don't do the SMART initialization right-away, since some
26792691 * drivers spin up when we do that */
26802692
27042716 }
27052717
27062718 disk_smart_read_thresholds(d);
2719 ret = 0;
27072720
27082721 fail:
27092722 return ret;
00 #! /bin/sh
11 # Wrapper for compilers which do not understand `-c -o'.
22
3 scriptversion=2005-05-14.22
3 scriptversion=2009-10-06.20; # UTC
44
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005 Free Software Foundation, Inc.
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2009 Free Software
6 # Foundation, Inc.
67 # Written by Tom Tromey <tromey@cygnus.com>.
78 #
89 # This program is free software; you can redistribute it and/or modify
1617 # GNU General Public License for more details.
1718 #
1819 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
2121
2222 # As a special exception to the GNU General Public License, if you
2323 # distribute this file as part of a program that contains a
102102 fi
103103
104104 # Name of file we expect compiler to create.
105 cofile=`echo "$cfile" | sed -e 's|^.*/||' -e 's/\.c$/.o/'`
105 cofile=`echo "$cfile" | sed 's|^.*[\\/]||; s|^[a-zA-Z]:||; s/\.c$/.o/'`
106106
107107 # Create the lock directory.
108 # Note: use `[/.-]' here to ensure that we don't use the same name
108 # Note: use `[/\\:.-]' here to ensure that we don't use the same name
109109 # that we are using for the .o file. Also, base the name on the expected
110110 # object file name, since that is what matters with a parallel build.
111 lockdir=`echo "$cofile" | sed -e 's|[/.-]|_|g'`.d
111 lockdir=`echo "$cofile" | sed -e 's|[/\\:.-]|_|g'`.d
112112 while true; do
113113 if mkdir "$lockdir" >/dev/null 2>&1; then
114114 break
123123 ret=$?
124124
125125 if test -f "$cofile"; then
126 mv "$cofile" "$ofile"
126 test "$cofile" = "$ofile" || mv "$cofile" "$ofile"
127127 elif test -f "${cofile}bj"; then
128 mv "${cofile}bj" "$ofile"
128 test "${cofile}bj" = "$ofile" || mv "${cofile}bj" "$ofile"
129129 fi
130130
131131 rmdir "$lockdir"
137137 # eval: (add-hook 'write-file-hooks 'time-stamp)
138138 # time-stamp-start: "scriptversion="
139139 # time-stamp-format: "%:y-%02m-%02d.%02H"
140 # time-stamp-end: "$"
140 # time-stamp-time-zone: "UTC"
141 # time-stamp-end: "; # UTC"
141142 # End:
00 #! /bin/sh
11 # Attempt to guess a canonical system name.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
44 # Free Software Foundation, Inc.
55
6 timestamp='2008-11-15'
6 timestamp='2009-06-10'
77
88 # This file is free software; you can redistribute it and/or modify it
99 # under the terms of the GNU General Public License as published by
169169 arm*|i386|m68k|ns32k|sh3*|sparc|vax)
170170 eval $set_cc_for_build
171171 if echo __ELF__ | $CC_FOR_BUILD -E - 2>/dev/null \
172 | grep __ELF__ >/dev/null
172 | grep -q __ELF__
173173 then
174174 # Once all utilities can be ECOFF (netbsdecoff) or a.out (netbsdaout).
175175 # Return netbsd for either. FIX?
323323 case `/usr/bin/uname -p` in
324324 sparc) echo sparc-icl-nx7; exit ;;
325325 esac ;;
326 s390x:SunOS:*:*)
327 echo ${UNAME_MACHINE}-ibm-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
328 exit ;;
326329 sun4H:SunOS:5.*:*)
327330 echo sparc-hal-solaris2`echo ${UNAME_RELEASE}|sed -e 's/[^.]*//'`
328331 exit ;;
336339 # Note that the Sun cc does not turn __LP64__ into 1 like gcc does.
337340 # This test works for both compilers.
338341 if [ "$CC_FOR_BUILD" != 'no_compiler_found' ]; then
339 if echo '\n#ifdef __amd64\nIS_64BIT_ARCH\n#endif' | \
342 if (echo '#ifdef __amd64'; echo IS_64BIT_ARCH; echo '#endif') | \
340343 (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) | \
341344 grep IS_64BIT_ARCH >/dev/null
342345 then
652655 # => hppa64-hp-hpux11.23
653656
654657 if echo __LP64__ | (CCOPTS= $CC_FOR_BUILD -E - 2>/dev/null) |
655 grep __LP64__ >/dev/null
658 grep -q __LP64__
656659 then
657660 HP_ARCH="hppa2.0w"
658661 else
818821 [345]86:Windows_95:* | [345]86:Windows_98:* | [345]86:Windows_NT:*)
819822 echo i${UNAME_MACHINE}-pc-mks
820823 exit ;;
824 8664:Windows_NT:*)
825 echo x86_64-pc-mks
826 exit ;;
821827 i*:Windows_NT*:* | Pentium*:Windows_NT*:*)
822828 # How do we know it's Interix rather than the generic POSIX subsystem?
823829 # It also conflicts with pre-2.0 versions of AT&T UWIN. Should we
878884 m68*:Linux:*:*)
879885 echo ${UNAME_MACHINE}-unknown-linux-gnu
880886 exit ;;
881 mips:Linux:*:*)
887 mips:Linux:*:* | mips64:Linux:*:*)
882888 eval $set_cc_for_build
883889 sed 's/^ //' << EOF >$dummy.c
884890 #undef CPU
885 #undef mips
886 #undef mipsel
891 #undef ${UNAME_MACHINE}
892 #undef ${UNAME_MACHINE}el
887893 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
888 CPU=mipsel
894 CPU=${UNAME_MACHINE}el
889895 #else
890896 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
891 CPU=mips
892 #else
893 CPU=
894 #endif
895 #endif
896 EOF
897 eval "`$CC_FOR_BUILD -E $dummy.c 2>/dev/null | sed -n '
898 /^CPU/{
899 s: ::g
900 p
901 }'`"
902 test x"${CPU}" != x && { echo "${CPU}-unknown-linux-gnu"; exit; }
903 ;;
904 mips64:Linux:*:*)
905 eval $set_cc_for_build
906 sed 's/^ //' << EOF >$dummy.c
907 #undef CPU
908 #undef mips64
909 #undef mips64el
910 #if defined(__MIPSEL__) || defined(__MIPSEL) || defined(_MIPSEL) || defined(MIPSEL)
911 CPU=mips64el
912 #else
913 #if defined(__MIPSEB__) || defined(__MIPSEB) || defined(_MIPSEB) || defined(MIPSEB)
914 CPU=mips64
897 CPU=${UNAME_MACHINE}
915898 #else
916899 CPU=
917900 #endif
943926 EV67) UNAME_MACHINE=alphaev67 ;;
944927 EV68*) UNAME_MACHINE=alphaev68 ;;
945928 esac
946 objdump --private-headers /bin/sh | grep ld.so.1 >/dev/null
929 objdump --private-headers /bin/sh | grep -q ld.so.1
947930 if test "$?" = 0 ; then LIBC="libc1" ; else LIBC="" ; fi
948931 echo ${UNAME_MACHINE}-unknown-linux-gnu${LIBC}
949932 exit ;;
997980 elf32-i386)
998981 TENTATIVE="${UNAME_MACHINE}-pc-linux-gnu"
999982 ;;
1000 a.out-i386-linux)
1001 echo "${UNAME_MACHINE}-pc-linux-gnuaout"
1002 exit ;;
1003 "")
1004 # Either a pre-BFD a.out linker (linux-gnuoldld) or
1005 # one that does not give us useful --help.
1006 echo "${UNAME_MACHINE}-pc-linux-gnuoldld"
1007 exit ;;
1008983 esac
1009984 # Determine whether the default compiler is a.out or elf
1010985 eval $set_cc_for_build
10701045 i*86:syllable:*:*)
10711046 echo ${UNAME_MACHINE}-pc-syllable
10721047 exit ;;
1073 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.0*:*)
1048 i*86:LynxOS:2.*:* | i*86:LynxOS:3.[01]*:* | i*86:LynxOS:4.[02]*:*)
10741049 echo i386-unknown-lynxos${UNAME_RELEASE}
10751050 exit ;;
10761051 i*86:*DOS:*:*)
11141089 pc:*:*:*)
11151090 # Left here for compatibility:
11161091 # uname -m prints for DJGPP always 'pc', but it prints nothing about
1117 # the processor, so we play safe by assuming i386.
1118 echo i386-pc-msdosdjgpp
1092 # the processor, so we play safe by assuming i586.
1093 # Note: whatever this is, it MUST be the same as what config.sub
1094 # prints for the "djgpp" host, or else GDB configury will decide that
1095 # this is a cross-build.
1096 echo i586-pc-msdosdjgpp
11191097 exit ;;
11201098 Intel:Mach:3*:*)
11211099 echo i386-pc-mach3
11531131 3[34]??:*:4.0:* | 3[34]??,*:*:4.0:*)
11541132 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
11551133 && { echo i486-ncr-sysv4; exit; } ;;
1134 NCR*:*:4.2:* | MPRAS*:*:4.2:*)
1135 OS_REL='.3'
1136 test -r /etc/.relid \
1137 && OS_REL=.`sed -n 's/[^ ]* [^ ]* \([0-9][0-9]\).*/\1/p' < /etc/.relid`
1138 /bin/uname -p 2>/dev/null | grep 86 >/dev/null \
1139 && { echo i486-ncr-sysv4.3${OS_REL}; exit; }
1140 /bin/uname -p 2>/dev/null | /bin/grep entium >/dev/null \
1141 && { echo i586-ncr-sysv4.3${OS_REL}; exit; }
1142 /bin/uname -p 2>/dev/null | /bin/grep pteron >/dev/null \
1143 && { echo i586-ncr-sysv4.3${OS_REL}; exit; } ;;
11561144 m68*:LynxOS:2.*:* | m68*:LynxOS:3.0*:*)
11571145 echo m68k-unknown-lynxos${UNAME_RELEASE}
11581146 exit ;;
11651153 rs6000:LynxOS:2.*:*)
11661154 echo rs6000-unknown-lynxos${UNAME_RELEASE}
11671155 exit ;;
1168 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.0*:*)
1156 PowerPC:LynxOS:2.*:* | PowerPC:LynxOS:3.[01]*:* | PowerPC:LynxOS:4.[02]*:*)
11691157 echo powerpc-unknown-lynxos${UNAME_RELEASE}
11701158 exit ;;
11711159 SM[BE]S:UNIX_SV:*:*)
13381326 exit ;;
13391327 i*86:rdos:*:*)
13401328 echo ${UNAME_MACHINE}-pc-rdos
1329 exit ;;
1330 i*86:AROS:*:*)
1331 echo ${UNAME_MACHINE}-pc-aros
13411332 exit ;;
13421333 esac
13431334
4444 /* Define to 1 if you have the <unistd.h> header file. */
4545 #undef HAVE_UNISTD_H
4646
47 /* I know the API is subject to change. */
48 #undef LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE
49
5047 /* Define to the sub-directory in which libtool stores uninstalled libraries.
5148 */
5249 #undef LT_OBJDIR
6865
6966 /* Define to the one symbol short name of this package. */
7067 #undef PACKAGE_TARNAME
68
69 /* Define to the home page for this package. */
70 #undef PACKAGE_URL
7171
7272 /* Define to the version of this package. */
7373 #undef PACKAGE_VERSION
00 #! /bin/sh
11 # Configuration validation subroutine script.
22 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999,
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008
3 # 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
44 # Free Software Foundation, Inc.
55
6 timestamp='2008-09-08'
6 timestamp='2009-06-11'
77
88 # This file is (in principle) common to ALL GNU software.
99 # The presence of a machine in this file suggests that SOME GNU software
121121 case $maybe_os in
122122 nto-qnx* | linux-gnu* | linux-dietlibc | linux-newlib* | linux-uclibc* | \
123123 uclinux-uclibc* | uclinux-gnu* | kfreebsd*-gnu* | knetbsd*-gnu* | netbsd*-gnu* | \
124 kopensolaris*-gnu* | \
124125 storm-chaos* | os2-emx* | rtmk-nova*)
125126 os=-$maybe_os
126127 basic_machine=`echo $1 | sed 's/^\(.*\)-\([^-]*-[^-]*\)$/\1/'`
150151 -apple | -axis | -knuth | -cray)
151152 os=
152153 basic_machine=$1
154 ;;
155 -bluegene*)
156 os=-cnk
153157 ;;
154158 -sim | -cisco | -oki | -wec | -winbond)
155159 os=
248252 | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
249253 | i370 | i860 | i960 | ia64 \
250254 | ip2k | iq2000 \
255 | lm32 \
251256 | m32c | m32r | m32rle | m68000 | m68k | m88k \
252257 | maxq | mb | microblaze | mcore | mep | metag \
253258 | mips | mipsbe | mipseb | mipsel | mipsle \
269274 | mipsisa64sr71k | mipsisa64sr71kel \
270275 | mipstx39 | mipstx39el \
271276 | mn10200 | mn10300 \
277 | moxie \
272278 | mt \
273279 | msp430 \
274280 | nios | nios2 \
278284 | powerpc | powerpc64 | powerpc64le | powerpcle | ppcbe \
279285 | pyramid \
280286 | score \
281 | sh | sh[1234] | sh[24]a | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
287 | sh | sh[1234] | sh[24]a | sh[24]aeb | sh[23]e | sh[34]eb | sheb | shbe | shle | sh[1234]le | sh3ele \
282288 | sh64 | sh64le \
283289 | sparc | sparc64 | sparc64b | sparc64v | sparc86x | sparclet | sparclite \
284290 | sparcv8 | sparcv9 | sparcv9b | sparcv9v \
330336 | hppa-* | hppa1.[01]-* | hppa2.0-* | hppa2.0[nw]-* | hppa64-* \
331337 | i*86-* | i860-* | i960-* | ia64-* \
332338 | ip2k-* | iq2000-* \
339 | lm32-* \
333340 | m32c-* | m32r-* | m32rle-* \
334341 | m68000-* | m680[012346]0-* | m68360-* | m683?2-* | m68k-* \
335342 | m88110-* | m88k-* | maxq-* | mcore-* | metag-* \
361368 | powerpc-* | powerpc64-* | powerpc64le-* | powerpcle-* | ppcbe-* \
362369 | pyramid-* \
363370 | romp-* | rs6000-* \
364 | sh-* | sh[1234]-* | sh[24]a-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
371 | sh-* | sh[1234]-* | sh[24]a-* | sh[24]aeb-* | sh[23]e-* | sh[34]eb-* | sheb-* | shbe-* \
365372 | shle-* | sh[1234]le-* | sh3ele-* | sh64-* | sh64le-* \
366373 | sparc-* | sparc64-* | sparc64b-* | sparc64v-* | sparc86x-* | sparclet-* \
367374 | sparclite-* \
442449 basic_machine=m68k-apollo
443450 os=-bsd
444451 ;;
452 aros)
453 basic_machine=i386-pc
454 os=-aros
455 ;;
445456 aux)
446457 basic_machine=m68k-apple
447458 os=-aux
457468 blackfin-*)
458469 basic_machine=bfin-`echo $basic_machine | sed 's/^[^-]*-//'`
459470 os=-linux
471 ;;
472 bluegene*)
473 basic_machine=powerpc-ibm
474 os=-cnk
460475 ;;
461476 c90)
462477 basic_machine=c90-cray
11811196 we32k)
11821197 basic_machine=we32k-att
11831198 ;;
1184 sh[1234] | sh[24]a | sh[34]eb | sh[1234]le | sh[23]ele)
1199 sh[1234] | sh[24]a | sh[24]aeb | sh[34]eb | sh[1234]le | sh[23]ele)
11851200 basic_machine=sh-unknown
11861201 ;;
11871202 sparc | sparcv8 | sparcv9 | sparcv9b | sparcv9v)
12511266 # Each alternative MUST END IN A *, to match a version number.
12521267 # -sysv* is not here because it comes later, after sysvr4.
12531268 -gnu* | -bsd* | -mach* | -minix* | -genix* | -ultrix* | -irix* \
1254 | -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
1269 | -*vms* | -sco* | -esix* | -isc* | -aix* | -cnk* | -sunos | -sunos[34]*\
12551270 | -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
1271 | -kopensolaris* \
12561272 | -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
1257 | -aos* \
1273 | -aos* | -aros* \
12581274 | -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
12591275 | -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
12601276 | -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
16031619 -sunos*)
16041620 vendor=sun
16051621 ;;
1606 -aix*)
1622 -cnk*|-aix*)
16071623 vendor=ibm
16081624 ;;
16091625 -beos*)
+2547
-4933
configure less more
00 #! /bin/sh
11 # Guess values for system-dependent variables and create Makefiles.
2 # Generated by GNU Autoconf 2.63 for libatasmart 0.17.
2 # Generated by GNU Autoconf 2.65 for libatasmart 0.17.
33 #
44 # Report bugs to <mzyvongnfzneg (at) 0pointer (dot) net>.
55 #
6 #
67 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
9 # Inc.
10 #
11 #
812 # This configure script is free software; the Free Software Foundation
913 # gives unlimited permission to copy, distribute and modify it.
10 ## --------------------- ##
11 ## M4sh Initialization. ##
12 ## --------------------- ##
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
1317
1418 # Be more Bourne compatible
1519 DUALCASE=1; export DUALCASE # for MKS sh
16 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
20 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1721 emulate sh
1822 NULLCMD=:
1923 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
2125 alias -g '${1+"$@"}'='"$@"'
2226 setopt NO_GLOB_SUBST
2327 else
24 case `(set -o) 2>/dev/null` in
25 *posix*) set -o posix ;;
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
2633 esac
27
28 fi
29
30
31
32
33 # PATH needs CR
34 # Avoid depending upon Character Ranges.
35 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
36 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
37 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
38 as_cr_digits='0123456789'
39 as_cr_alnum=$as_cr_Letters$as_cr_digits
34 fi
35
4036
4137 as_nl='
4238 '
4541 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4642 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4743 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
48 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
44 # Prefer a ksh shell builtin over an external printf program on Solaris,
45 # but without wasting forks for bash or zsh.
46 if test -z "$BASH_VERSION$ZSH_VERSION" \
47 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo='print -r --'
49 as_echo_n='print -rn --'
50 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4951 as_echo='printf %s\n'
5052 as_echo_n='printf %s'
5153 else
5658 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5759 as_echo_n_body='eval
5860 arg=$1;
59 case $arg in
61 case $arg in #(
6062 *"$as_nl"*)
6163 expr "X$arg" : "X\\(.*\\)$as_nl";
6264 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7981 }
8082 fi
8183
82 # Support unset when possible.
83 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
84 as_unset=unset
85 else
86 as_unset=false
87 fi
88
8984
9085 # IFS
9186 # We need space, tab and new line, in precisely that order. Quoting is
9590 IFS=" "" $as_nl"
9691
9792 # Find who we are. Look in the path if we contain no directory separator.
98 case $0 in
93 case $0 in #((
9994 *[\\/]* ) as_myself=$0 ;;
10095 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10196 for as_dir in $PATH
10297 do
10398 IFS=$as_save_IFS
10499 test -z "$as_dir" && as_dir=.
105 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 done
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
107102 IFS=$as_save_IFS
108103
109104 ;;
115110 fi
116111 if test ! -f "$as_myself"; then
117112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
118 { (exit 1); exit 1; }
119 fi
120
121 # Work around bugs in pre-3.0 UWIN ksh.
122 for as_var in ENV MAIL MAILPATH
123 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
124123 done
125124 PS1='$ '
126125 PS2='> '
132131 LANGUAGE=C
133132 export LANGUAGE
134133
135 # Required to use basename.
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 do
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
192 /*)
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
201 fi
202 fi
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
212
213
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 BASH_ENV=/dev/null
219 ENV=/dev/null
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 export CONFIG_SHELL
222 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 fi
224
225 if test x$as_have_required = xno; then :
226 $as_echo "$0: This script requires a shell more modern than all"
227 $as_echo "$0: the shells that I found on your system."
228 if test x${ZSH_VERSION+set} = xset ; then
229 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
230 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
231 else
232 $as_echo "$0: Please tell bug-autoconf@gnu.org and mzyvongnfzneg (at)
233 $0: 0pointer (dot) net about your system, including any
234 $0: error possibly output before this message. Then install
235 $0: a modern shell, or manually run the script under such a
236 $0: shell if you do have one."
237 fi
238 exit 1
239 fi
240 fi
241 fi
242 SHELL=${CONFIG_SHELL-/bin/sh}
243 export SHELL
244 # Unset more variables known to interfere with behavior of common tools.
245 CLICOLOR_FORCE= GREP_OPTIONS=
246 unset CLICOLOR_FORCE GREP_OPTIONS
247
248 ## --------------------- ##
249 ## M4sh Shell Functions. ##
250 ## --------------------- ##
251 # as_fn_unset VAR
252 # ---------------
253 # Portably unset VAR.
254 as_fn_unset ()
255 {
256 { eval $1=; unset $1;}
257 }
258 as_unset=as_fn_unset
259
260 # as_fn_set_status STATUS
261 # -----------------------
262 # Set $? to STATUS, without forking.
263 as_fn_set_status ()
264 {
265 return $1
266 } # as_fn_set_status
267
268 # as_fn_exit STATUS
269 # -----------------
270 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
271 as_fn_exit ()
272 {
273 set +e
274 as_fn_set_status $1
275 exit $1
276 } # as_fn_exit
277
278 # as_fn_mkdir_p
279 # -------------
280 # Create "$as_dir" as a directory, including parents if necessary.
281 as_fn_mkdir_p ()
282 {
283
284 case $as_dir in #(
285 -*) as_dir=./$as_dir;;
286 esac
287 test -d "$as_dir" || eval $as_mkdir_p || {
288 as_dirs=
289 while :; do
290 case $as_dir in #(
291 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
292 *) as_qdir=$as_dir;;
293 esac
294 as_dirs="'$as_qdir' $as_dirs"
295 as_dir=`$as_dirname -- "$as_dir" ||
296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
297 X"$as_dir" : 'X\(//\)[^/]' \| \
298 X"$as_dir" : 'X\(//\)$' \| \
299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
300 $as_echo X"$as_dir" |
301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
302 s//\1/
303 q
304 }
305 /^X\(\/\/\)[^/].*/{
306 s//\1/
307 q
308 }
309 /^X\(\/\/\)$/{
310 s//\1/
311 q
312 }
313 /^X\(\/\).*/{
314 s//\1/
315 q
316 }
317 s/.*/./; q'`
318 test -d "$as_dir" && break
319 done
320 test -z "$as_dirs" || eval "mkdir $as_dirs"
321 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322
323
324 } # as_fn_mkdir_p
325 # as_fn_append VAR VALUE
326 # ----------------------
327 # Append the text in VALUE to the end of the definition contained in VAR. Take
328 # advantage of any shell optimizations that allow amortized linear growth over
329 # repeated appends, instead of the typical quadratic growth present in naive
330 # implementations.
331 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
332 eval 'as_fn_append ()
333 {
334 eval $1+=\$2
335 }'
336 else
337 as_fn_append ()
338 {
339 eval $1=\$$1\$2
340 }
341 fi # as_fn_append
342
343 # as_fn_arith ARG...
344 # ------------------
345 # Perform arithmetic evaluation on the ARGs, and store the result in the
346 # global $as_val. Take advantage of shells that can avoid forks. The arguments
347 # must be portable across $(()) and expr.
348 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
349 eval 'as_fn_arith ()
350 {
351 as_val=$(( $* ))
352 }'
353 else
354 as_fn_arith ()
355 {
356 as_val=`expr "$@" || test $? -eq 1`
357 }
358 fi # as_fn_arith
359
360
361 # as_fn_error ERROR [LINENO LOG_FD]
362 # ---------------------------------
363 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
364 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
365 # script with status $?, using 1 if that was 0.
366 as_fn_error ()
367 {
368 as_status=$?; test $as_status -eq 0 && as_status=1
369 if test "$3"; then
370 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
371 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
372 fi
373 $as_echo "$as_me: error: $1" >&2
374 as_fn_exit $as_status
375 } # as_fn_error
376
136377 if expr a : '\(a\)' >/dev/null 2>&1 &&
137378 test "X`expr 00001 : '.*\(...\)'`" = X001; then
138379 as_expr=expr
146387 as_basename=false
147388 fi
148389
149
150 # Name of the executable.
390 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391 as_dirname=dirname
392 else
393 as_dirname=false
394 fi
395
151396 as_me=`$as_basename -- "$0" ||
152397 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
153398 X"$0" : 'X\(//\)$' \| \
167412 }
168413 s/.*/./; q'`
169414
170 # CDPATH.
171 $as_unset CDPATH
172
173
174 if test "x$CONFIG_SHELL" = x; then
175 if (eval ":") 2>/dev/null; then
176 as_have_required=yes
177 else
178 as_have_required=no
179 fi
180
181 if test $as_have_required = yes && (eval ":
182 (as_func_return () {
183 (exit \$1)
184 }
185 as_func_success () {
186 as_func_return 0
187 }
188 as_func_failure () {
189 as_func_return 1
190 }
191 as_func_ret_success () {
192 return 0
193 }
194 as_func_ret_failure () {
195 return 1
196 }
197
198 exitcode=0
199 if as_func_success; then
200 :
201 else
202 exitcode=1
203 echo as_func_success failed.
204 fi
205
206 if as_func_failure; then
207 exitcode=1
208 echo as_func_failure succeeded.
209 fi
210
211 if as_func_ret_success; then
212 :
213 else
214 exitcode=1
215 echo as_func_ret_success failed.
216 fi
217
218 if as_func_ret_failure; then
219 exitcode=1
220 echo as_func_ret_failure succeeded.
221 fi
222
223 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
224 :
225 else
226 exitcode=1
227 echo positional parameters were not saved.
228 fi
229
230 test \$exitcode = 0) || { (exit 1); exit 1; }
231
232 (
233 as_lineno_1=\$LINENO
234 as_lineno_2=\$LINENO
235 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
236 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
237 ") 2> /dev/null; then
238 :
239 else
240 as_candidate_shells=
241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
242 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
243 do
244 IFS=$as_save_IFS
245 test -z "$as_dir" && as_dir=.
246 case $as_dir in
247 /*)
248 for as_base in sh bash ksh sh5; do
249 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
250 done;;
251 esac
252 done
253 IFS=$as_save_IFS
254
255
256 for as_shell in $as_candidate_shells $SHELL; do
257 # Try only shells that exist, to save several forks.
258 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
259 { ("$as_shell") 2> /dev/null <<\_ASEOF
260 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
261 emulate sh
262 NULLCMD=:
263 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
264 # is contrary to our usage. Disable this feature.
265 alias -g '${1+"$@"}'='"$@"'
266 setopt NO_GLOB_SUBST
267 else
268 case `(set -o) 2>/dev/null` in
269 *posix*) set -o posix ;;
270 esac
271
272 fi
273
274
275 :
276 _ASEOF
277 }; then
278 CONFIG_SHELL=$as_shell
279 as_have_required=yes
280 if { "$as_shell" 2> /dev/null <<\_ASEOF
281 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
282 emulate sh
283 NULLCMD=:
284 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
285 # is contrary to our usage. Disable this feature.
286 alias -g '${1+"$@"}'='"$@"'
287 setopt NO_GLOB_SUBST
288 else
289 case `(set -o) 2>/dev/null` in
290 *posix*) set -o posix ;;
291 esac
292
293 fi
294
295
296 :
297 (as_func_return () {
298 (exit $1)
299 }
300 as_func_success () {
301 as_func_return 0
302 }
303 as_func_failure () {
304 as_func_return 1
305 }
306 as_func_ret_success () {
307 return 0
308 }
309 as_func_ret_failure () {
310 return 1
311 }
312
313 exitcode=0
314 if as_func_success; then
315 :
316 else
317 exitcode=1
318 echo as_func_success failed.
319 fi
320
321 if as_func_failure; then
322 exitcode=1
323 echo as_func_failure succeeded.
324 fi
325
326 if as_func_ret_success; then
327 :
328 else
329 exitcode=1
330 echo as_func_ret_success failed.
331 fi
332
333 if as_func_ret_failure; then
334 exitcode=1
335 echo as_func_ret_failure succeeded.
336 fi
337
338 if ( set x; as_func_ret_success y && test x = "$1" ); then
339 :
340 else
341 exitcode=1
342 echo positional parameters were not saved.
343 fi
344
345 test $exitcode = 0) || { (exit 1); exit 1; }
346
347 (
348 as_lineno_1=$LINENO
349 as_lineno_2=$LINENO
350 test "x$as_lineno_1" != "x$as_lineno_2" &&
351 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
352
353 _ASEOF
354 }; then
355 break
356 fi
357
358 fi
359
360 done
361
362 if test "x$CONFIG_SHELL" != x; then
363 for as_var in BASH_ENV ENV
364 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
365 done
366 export CONFIG_SHELL
367 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
368 fi
369
370
371 if test $as_have_required = no; then
372 echo This script requires a shell more modern than all the
373 echo shells that I found on your system. Please install a
374 echo modern shell, or manually run the script under such a
375 echo shell if you do have one.
376 { (exit 1); exit 1; }
377 fi
378
379
380 fi
381
382 fi
383
384
385
386 (eval "as_func_return () {
387 (exit \$1)
388 }
389 as_func_success () {
390 as_func_return 0
391 }
392 as_func_failure () {
393 as_func_return 1
394 }
395 as_func_ret_success () {
396 return 0
397 }
398 as_func_ret_failure () {
399 return 1
400 }
401
402 exitcode=0
403 if as_func_success; then
404 :
405 else
406 exitcode=1
407 echo as_func_success failed.
408 fi
409
410 if as_func_failure; then
411 exitcode=1
412 echo as_func_failure succeeded.
413 fi
414
415 if as_func_ret_success; then
416 :
417 else
418 exitcode=1
419 echo as_func_ret_success failed.
420 fi
421
422 if as_func_ret_failure; then
423 exitcode=1
424 echo as_func_ret_failure succeeded.
425 fi
426
427 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
428 :
429 else
430 exitcode=1
431 echo positional parameters were not saved.
432 fi
433
434 test \$exitcode = 0") || {
435 echo No shell found that supports shell functions.
436 echo Please tell bug-autoconf@gnu.org about your system,
437 echo including any error possibly output before this message.
438 echo This can help us improve future autoconf versions.
439 echo Configuration will now proceed without shell functions.
440 }
441
442
443
444 as_lineno_1=$LINENO
445 as_lineno_2=$LINENO
446 test "x$as_lineno_1" != "x$as_lineno_2" &&
447 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
448
449 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
450 # uniformly replaced by the line number. The first 'sed' inserts a
451 # line-number line after each line using $LINENO; the second 'sed'
452 # does the real work. The second script uses 'N' to pair each
453 # line-number line with the line containing $LINENO, and appends
454 # trailing '-' during substitution so that $LINENO is not a special
455 # case at line end.
456 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
457 # scripts with optimization help from Paolo Bonzini. Blame Lee
458 # E. McMahon (1931-1989) for sed's syntax. :-)
415 # Avoid depending upon Character Ranges.
416 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
417 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
418 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
419 as_cr_digits='0123456789'
420 as_cr_alnum=$as_cr_Letters$as_cr_digits
421
422
423 as_lineno_1=$LINENO as_lineno_1a=$LINENO
424 as_lineno_2=$LINENO as_lineno_2a=$LINENO
425 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
426 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
427 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
459428 sed -n '
460429 p
461430 /[$]LINENO/=
472441 s/-\n.*//
473442 ' >$as_me.lineno &&
474443 chmod +x "$as_me.lineno" ||
475 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
476 { (exit 1); exit 1; }; }
444 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
477445
478446 # Don't try to exec as it changes $[0], causing all sort of problems
479447 # (the dirname of $[0] is not the place where we might find the
483451 exit
484452 }
485453
486
487 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
488 as_dirname=dirname
489 else
490 as_dirname=false
491 fi
492
493454 ECHO_C= ECHO_N= ECHO_T=
494 case `echo -n x` in
455 case `echo -n x` in #(((((
495456 -n*)
496 case `echo 'x\c'` in
457 case `echo 'xy\c'` in
497458 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
498 *) ECHO_C='\c';;
459 xy) ECHO_C='\c';;
460 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
461 ECHO_T=' ';;
499462 esac;;
500463 *)
501464 ECHO_N='-n';;
502465 esac
503 if expr a : '\(a\)' >/dev/null 2>&1 &&
504 test "X`expr 00001 : '.*\(...\)'`" = X001; then
505 as_expr=expr
506 else
507 as_expr=false
508 fi
509466
510467 rm -f conf$$ conf$$.exe conf$$.file
511468 if test -d conf$$.dir; then
535492 rmdir conf$$.dir 2>/dev/null
536493
537494 if mkdir -p . 2>/dev/null; then
538 as_mkdir_p=:
495 as_mkdir_p='mkdir -p "$as_dir"'
539496 else
540497 test -d ./-p && rmdir ./-p
541498 as_mkdir_p=false
554511 if test -d "$1"; then
555512 test -d "$1/.";
556513 else
557 case $1 in
514 case $1 in #(
558515 -*)set "./$1";;
559516 esac;
560 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
517 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
561518 ???[sx]*):;;*)false;;esac;fi
562519 '\'' sh
563520 '
569526
570527 # Sed expression to map a string onto a valid variable name.
571528 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
572
573529
574530
575531
721677
722678
723679
724 exec 7<&0 </dev/null 6>&1
680 test -n "$DJDIR" || exec 7<&0 </dev/null
681 exec 6>&1
725682
726683 # Name of the host.
727684 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
739696 subdirs=
740697 MFLAGS=
741698 MAKEFLAGS=
742 SHELL=${CONFIG_SHELL-/bin/sh}
743699
744700 # Identity of this package.
745701 PACKAGE_NAME='libatasmart'
747703 PACKAGE_VERSION='0.17'
748704 PACKAGE_STRING='libatasmart 0.17'
749705 PACKAGE_BUGREPORT='mzyvongnfzneg (at) 0pointer (dot) net'
706 PACKAGE_URL=''
750707
751708 ac_unique_file="atasmart.c"
752709 # Factoring default headers for most tests.
844801 build_cpu
845802 build
846803 LIBATASMART_VERSION_INFO
847 PACKAGE_URL
848804 AM_BACKSLASH
849805 AM_DEFAULT_VERBOSITY
850806 am__untar
900856 program_transform_name
901857 prefix
902858 exec_prefix
859 PACKAGE_URL
903860 PACKAGE_BUGREPORT
904861 PACKAGE_STRING
905862 PACKAGE_VERSION
10441001 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
10451002 # Reject names that are not valid shell variable names.
10461003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1047 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1048 { (exit 1); exit 1; }; }
1004 as_fn_error "invalid feature name: $ac_useropt"
10491005 ac_useropt_orig=$ac_useropt
10501006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10511007 case $ac_user_opts in
10711027 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
10721028 # Reject names that are not valid shell variable names.
10731029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
1075 { (exit 1); exit 1; }; }
1030 as_fn_error "invalid feature name: $ac_useropt"
10761031 ac_useropt_orig=$ac_useropt
10771032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
10781033 case $ac_user_opts in
12761231 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
12771232 # Reject names that are not valid shell variable names.
12781233 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1279 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1280 { (exit 1); exit 1; }; }
1234 as_fn_error "invalid package name: $ac_useropt"
12811235 ac_useropt_orig=$ac_useropt
12821236 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
12831237 case $ac_user_opts in
12931247 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
12941248 # Reject names that are not valid shell variable names.
12951249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1296 { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
1297 { (exit 1); exit 1; }; }
1250 as_fn_error "invalid package name: $ac_useropt"
12981251 ac_useropt_orig=$ac_useropt
12991252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
13001253 case $ac_user_opts in
13241277 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
13251278 x_libraries=$ac_optarg ;;
13261279
1327 -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
1328 Try \`$0 --help' for more information." >&2
1329 { (exit 1); exit 1; }; }
1280 -*) as_fn_error "unrecognized option: \`$ac_option'
1281 Try \`$0 --help' for more information."
13301282 ;;
13311283
13321284 *=*)
13331285 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
13341286 # Reject names that are not valid shell variable names.
1335 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1336 { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1337 { (exit 1); exit 1; }; }
1287 case $ac_envvar in #(
1288 '' | [0-9]* | *[!_$as_cr_alnum]* )
1289 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1290 esac
13381291 eval $ac_envvar=\$ac_optarg
13391292 export $ac_envvar ;;
13401293
13511304
13521305 if test -n "$ac_prev"; then
13531306 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1354 { $as_echo "$as_me: error: missing argument to $ac_option" >&2
1355 { (exit 1); exit 1; }; }
1307 as_fn_error "missing argument to $ac_option"
13561308 fi
13571309
13581310 if test -n "$ac_unrecognized_opts"; then
13591311 case $enable_option_checking in
13601312 no) ;;
1361 fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
1362 { (exit 1); exit 1; }; } ;;
1313 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
13631314 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
13641315 esac
13651316 fi
13821333 [\\/$]* | ?:[\\/]* ) continue;;
13831334 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
13841335 esac
1385 { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1386 { (exit 1); exit 1; }; }
1336 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
13871337 done
13881338
13891339 # There might be people who depend on the old broken behavior: `$host'
14131363 ac_pwd=`pwd` && test -n "$ac_pwd" &&
14141364 ac_ls_di=`ls -di .` &&
14151365 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1416 { $as_echo "$as_me: error: working directory cannot be determined" >&2
1417 { (exit 1); exit 1; }; }
1366 as_fn_error "working directory cannot be determined"
14181367 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1419 { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
1420 { (exit 1); exit 1; }; }
1368 as_fn_error "pwd does not report name of working directory"
14211369
14221370
14231371 # Find the source files, if location was not specified.
14561404 fi
14571405 if test ! -r "$srcdir/$ac_unique_file"; then
14581406 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1459 { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1460 { (exit 1); exit 1; }; }
1407 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
14611408 fi
14621409 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
14631410 ac_abs_confdir=`(
1464 cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
1465 { (exit 1); exit 1; }; }
1411 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
14661412 pwd)`
14671413 # When building in place, set srcdir=.
14681414 if test "$ac_abs_confdir" = "$ac_pwd"; then
15901536 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
15911537 nonstandard directory <lib dir>
15921538 LIBS libraries to pass to the linker, e.g. -l<library>
1593 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1539 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
15941540 you have headers in a nonstandard directory <include dir>
15951541 CPP C preprocessor
15961542 CXX C++ compiler command
16691615 if $ac_init_version; then
16701616 cat <<\_ACEOF
16711617 libatasmart configure 0.17
1672 generated by GNU Autoconf 2.63
1673
1674 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1675 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
1618 generated by GNU Autoconf 2.65
1619
1620 Copyright (C) 2009 Free Software Foundation, Inc.
16761621 This configure script is free software; the Free Software Foundation
16771622 gives unlimited permission to copy, distribute and modify it.
16781623 _ACEOF
16791624 exit
16801625 fi
1626
1627 ## ------------------------ ##
1628 ## Autoconf initialization. ##
1629 ## ------------------------ ##
1630
1631 # ac_fn_c_try_compile LINENO
1632 # --------------------------
1633 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1634 ac_fn_c_try_compile ()
1635 {
1636 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1637 rm -f conftest.$ac_objext
1638 if { { ac_try="$ac_compile"
1639 case "(($ac_try" in
1640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1641 *) ac_try_echo=$ac_try;;
1642 esac
1643 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1644 $as_echo "$ac_try_echo"; } >&5
1645 (eval "$ac_compile") 2>conftest.err
1646 ac_status=$?
1647 if test -s conftest.err; then
1648 grep -v '^ *+' conftest.err >conftest.er1
1649 cat conftest.er1 >&5
1650 mv -f conftest.er1 conftest.err
1651 fi
1652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1653 test $ac_status = 0; } && {
1654 test -z "$ac_c_werror_flag" ||
1655 test ! -s conftest.err
1656 } && test -s conftest.$ac_objext; then :
1657 ac_retval=0
1658 else
1659 $as_echo "$as_me: failed program was:" >&5
1660 sed 's/^/| /' conftest.$ac_ext >&5
1661
1662 ac_retval=1
1663 fi
1664 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1665 as_fn_set_status $ac_retval
1666
1667 } # ac_fn_c_try_compile
1668
1669 # ac_fn_c_try_cpp LINENO
1670 # ----------------------
1671 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1672 ac_fn_c_try_cpp ()
1673 {
1674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1675 if { { ac_try="$ac_cpp conftest.$ac_ext"
1676 case "(($ac_try" in
1677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1678 *) ac_try_echo=$ac_try;;
1679 esac
1680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1681 $as_echo "$ac_try_echo"; } >&5
1682 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1683 ac_status=$?
1684 if test -s conftest.err; then
1685 grep -v '^ *+' conftest.err >conftest.er1
1686 cat conftest.er1 >&5
1687 mv -f conftest.er1 conftest.err
1688 fi
1689 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1690 test $ac_status = 0; } >/dev/null && {
1691 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1692 test ! -s conftest.err
1693 }; then :
1694 ac_retval=0
1695 else
1696 $as_echo "$as_me: failed program was:" >&5
1697 sed 's/^/| /' conftest.$ac_ext >&5
1698
1699 ac_retval=1
1700 fi
1701 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1702 as_fn_set_status $ac_retval
1703
1704 } # ac_fn_c_try_cpp
1705
1706 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1707 # -------------------------------------------------------
1708 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1709 # the include files in INCLUDES and setting the cache variable VAR
1710 # accordingly.
1711 ac_fn_c_check_header_mongrel ()
1712 {
1713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1714 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1716 $as_echo_n "checking for $2... " >&6; }
1717 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1718 $as_echo_n "(cached) " >&6
1719 fi
1720 eval ac_res=\$$3
1721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1722 $as_echo "$ac_res" >&6; }
1723 else
1724 # Is the header compilable?
1725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1726 $as_echo_n "checking $2 usability... " >&6; }
1727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1728 /* end confdefs.h. */
1729 $4
1730 #include <$2>
1731 _ACEOF
1732 if ac_fn_c_try_compile "$LINENO"; then :
1733 ac_header_compiler=yes
1734 else
1735 ac_header_compiler=no
1736 fi
1737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1739 $as_echo "$ac_header_compiler" >&6; }
1740
1741 # Is the header present?
1742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1743 $as_echo_n "checking $2 presence... " >&6; }
1744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1745 /* end confdefs.h. */
1746 #include <$2>
1747 _ACEOF
1748 if ac_fn_c_try_cpp "$LINENO"; then :
1749 ac_header_preproc=yes
1750 else
1751 ac_header_preproc=no
1752 fi
1753 rm -f conftest.err conftest.$ac_ext
1754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1755 $as_echo "$ac_header_preproc" >&6; }
1756
1757 # So? What about this header?
1758 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1759 yes:no: )
1760 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1761 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1763 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1764 ;;
1765 no:yes:* )
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1767 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1769 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1770 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1771 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1772 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1773 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1774 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1775 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1776 ( cat <<\_ASBOX
1777 ## ---------------------------------------------------- ##
1778 ## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
1779 ## ---------------------------------------------------- ##
1780 _ASBOX
1781 ) | sed "s/^/$as_me: WARNING: /" >&2
1782 ;;
1783 esac
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1785 $as_echo_n "checking for $2... " >&6; }
1786 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1787 $as_echo_n "(cached) " >&6
1788 else
1789 eval "$3=\$ac_header_compiler"
1790 fi
1791 eval ac_res=\$$3
1792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1793 $as_echo "$ac_res" >&6; }
1794 fi
1795 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1796
1797 } # ac_fn_c_check_header_mongrel
1798
1799 # ac_fn_c_try_run LINENO
1800 # ----------------------
1801 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1802 # that executables *can* be run.
1803 ac_fn_c_try_run ()
1804 {
1805 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1806 if { { ac_try="$ac_link"
1807 case "(($ac_try" in
1808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1809 *) ac_try_echo=$ac_try;;
1810 esac
1811 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1812 $as_echo "$ac_try_echo"; } >&5
1813 (eval "$ac_link") 2>&5
1814 ac_status=$?
1815 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1816 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1817 { { case "(($ac_try" in
1818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1819 *) ac_try_echo=$ac_try;;
1820 esac
1821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1822 $as_echo "$ac_try_echo"; } >&5
1823 (eval "$ac_try") 2>&5
1824 ac_status=$?
1825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1826 test $ac_status = 0; }; }; then :
1827 ac_retval=0
1828 else
1829 $as_echo "$as_me: program exited with status $ac_status" >&5
1830 $as_echo "$as_me: failed program was:" >&5
1831 sed 's/^/| /' conftest.$ac_ext >&5
1832
1833 ac_retval=$ac_status
1834 fi
1835 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1836 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1837 as_fn_set_status $ac_retval
1838
1839 } # ac_fn_c_try_run
1840
1841 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1842 # -------------------------------------------------------
1843 # Tests whether HEADER exists and can be compiled using the include files in
1844 # INCLUDES, setting the cache variable VAR accordingly.
1845 ac_fn_c_check_header_compile ()
1846 {
1847 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1849 $as_echo_n "checking for $2... " >&6; }
1850 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1851 $as_echo_n "(cached) " >&6
1852 else
1853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1854 /* end confdefs.h. */
1855 $4
1856 #include <$2>
1857 _ACEOF
1858 if ac_fn_c_try_compile "$LINENO"; then :
1859 eval "$3=yes"
1860 else
1861 eval "$3=no"
1862 fi
1863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1864 fi
1865 eval ac_res=\$$3
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1867 $as_echo "$ac_res" >&6; }
1868 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1869
1870 } # ac_fn_c_check_header_compile
1871
1872 # ac_fn_cxx_try_compile LINENO
1873 # ----------------------------
1874 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1875 ac_fn_cxx_try_compile ()
1876 {
1877 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1878 rm -f conftest.$ac_objext
1879 if { { ac_try="$ac_compile"
1880 case "(($ac_try" in
1881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1882 *) ac_try_echo=$ac_try;;
1883 esac
1884 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1885 $as_echo "$ac_try_echo"; } >&5
1886 (eval "$ac_compile") 2>conftest.err
1887 ac_status=$?
1888 if test -s conftest.err; then
1889 grep -v '^ *+' conftest.err >conftest.er1
1890 cat conftest.er1 >&5
1891 mv -f conftest.er1 conftest.err
1892 fi
1893 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1894 test $ac_status = 0; } && {
1895 test -z "$ac_cxx_werror_flag" ||
1896 test ! -s conftest.err
1897 } && test -s conftest.$ac_objext; then :
1898 ac_retval=0
1899 else
1900 $as_echo "$as_me: failed program was:" >&5
1901 sed 's/^/| /' conftest.$ac_ext >&5
1902
1903 ac_retval=1
1904 fi
1905 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1906 as_fn_set_status $ac_retval
1907
1908 } # ac_fn_cxx_try_compile
1909
1910 # ac_fn_c_try_link LINENO
1911 # -----------------------
1912 # Try to link conftest.$ac_ext, and return whether this succeeded.
1913 ac_fn_c_try_link ()
1914 {
1915 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1916 rm -f conftest.$ac_objext conftest$ac_exeext
1917 if { { ac_try="$ac_link"
1918 case "(($ac_try" in
1919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1920 *) ac_try_echo=$ac_try;;
1921 esac
1922 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1923 $as_echo "$ac_try_echo"; } >&5
1924 (eval "$ac_link") 2>conftest.err
1925 ac_status=$?
1926 if test -s conftest.err; then
1927 grep -v '^ *+' conftest.err >conftest.er1
1928 cat conftest.er1 >&5
1929 mv -f conftest.er1 conftest.err
1930 fi
1931 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1932 test $ac_status = 0; } && {
1933 test -z "$ac_c_werror_flag" ||
1934 test ! -s conftest.err
1935 } && test -s conftest$ac_exeext && {
1936 test "$cross_compiling" = yes ||
1937 $as_test_x conftest$ac_exeext
1938 }; then :
1939 ac_retval=0
1940 else
1941 $as_echo "$as_me: failed program was:" >&5
1942 sed 's/^/| /' conftest.$ac_ext >&5
1943
1944 ac_retval=1
1945 fi
1946 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1947 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1948 # interfere with the next link command; also delete a directory that is
1949 # left behind by Apple's compiler. We do this before executing the actions.
1950 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1951 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1952 as_fn_set_status $ac_retval
1953
1954 } # ac_fn_c_try_link
1955
1956 # ac_fn_c_check_func LINENO FUNC VAR
1957 # ----------------------------------
1958 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1959 ac_fn_c_check_func ()
1960 {
1961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1963 $as_echo_n "checking for $2... " >&6; }
1964 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1965 $as_echo_n "(cached) " >&6
1966 else
1967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1968 /* end confdefs.h. */
1969 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1970 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1971 #define $2 innocuous_$2
1972
1973 /* System header to define __stub macros and hopefully few prototypes,
1974 which can conflict with char $2 (); below.
1975 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1976 <limits.h> exists even on freestanding compilers. */
1977
1978 #ifdef __STDC__
1979 # include <limits.h>
1980 #else
1981 # include <assert.h>
1982 #endif
1983
1984 #undef $2
1985
1986 /* Override any GCC internal prototype to avoid an error.
1987 Use char because int might match the return type of a GCC
1988 builtin and then its argument prototype would still apply. */
1989 #ifdef __cplusplus
1990 extern "C"
1991 #endif
1992 char $2 ();
1993 /* The GNU C library defines this for functions which it implements
1994 to always fail with ENOSYS. Some functions are actually named
1995 something starting with __ and the normal name is an alias. */
1996 #if defined __stub_$2 || defined __stub___$2
1997 choke me
1998 #endif
1999
2000 int
2001 main ()
2002 {
2003 return $2 ();
2004 ;
2005 return 0;
2006 }
2007 _ACEOF
2008 if ac_fn_c_try_link "$LINENO"; then :
2009 eval "$3=yes"
2010 else
2011 eval "$3=no"
2012 fi
2013 rm -f core conftest.err conftest.$ac_objext \
2014 conftest$ac_exeext conftest.$ac_ext
2015 fi
2016 eval ac_res=\$$3
2017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2018 $as_echo "$ac_res" >&6; }
2019 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2020
2021 } # ac_fn_c_check_func
2022
2023 # ac_fn_cxx_try_cpp LINENO
2024 # ------------------------
2025 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2026 ac_fn_cxx_try_cpp ()
2027 {
2028 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2029 if { { ac_try="$ac_cpp conftest.$ac_ext"
2030 case "(($ac_try" in
2031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2032 *) ac_try_echo=$ac_try;;
2033 esac
2034 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2035 $as_echo "$ac_try_echo"; } >&5
2036 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2037 ac_status=$?
2038 if test -s conftest.err; then
2039 grep -v '^ *+' conftest.err >conftest.er1
2040 cat conftest.er1 >&5
2041 mv -f conftest.er1 conftest.err
2042 fi
2043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2044 test $ac_status = 0; } >/dev/null && {
2045 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2046 test ! -s conftest.err
2047 }; then :
2048 ac_retval=0
2049 else
2050 $as_echo "$as_me: failed program was:" >&5
2051 sed 's/^/| /' conftest.$ac_ext >&5
2052
2053 ac_retval=1
2054 fi
2055 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2056 as_fn_set_status $ac_retval
2057
2058 } # ac_fn_cxx_try_cpp
2059
2060 # ac_fn_cxx_try_link LINENO
2061 # -------------------------
2062 # Try to link conftest.$ac_ext, and return whether this succeeded.
2063 ac_fn_cxx_try_link ()
2064 {
2065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2066 rm -f conftest.$ac_objext conftest$ac_exeext
2067 if { { ac_try="$ac_link"
2068 case "(($ac_try" in
2069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2070 *) ac_try_echo=$ac_try;;
2071 esac
2072 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2073 $as_echo "$ac_try_echo"; } >&5
2074 (eval "$ac_link") 2>conftest.err
2075 ac_status=$?
2076 if test -s conftest.err; then
2077 grep -v '^ *+' conftest.err >conftest.er1
2078 cat conftest.er1 >&5
2079 mv -f conftest.er1 conftest.err
2080 fi
2081 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2082 test $ac_status = 0; } && {
2083 test -z "$ac_cxx_werror_flag" ||
2084 test ! -s conftest.err
2085 } && test -s conftest$ac_exeext && {
2086 test "$cross_compiling" = yes ||
2087 $as_test_x conftest$ac_exeext
2088 }; then :
2089 ac_retval=0
2090 else
2091 $as_echo "$as_me: failed program was:" >&5
2092 sed 's/^/| /' conftest.$ac_ext >&5
2093
2094 ac_retval=1
2095 fi
2096 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2097 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2098 # interfere with the next link command; also delete a directory that is
2099 # left behind by Apple's compiler. We do this before executing the actions.
2100 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2101 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2102 as_fn_set_status $ac_retval
2103
2104 } # ac_fn_cxx_try_link
2105
2106 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2107 # -------------------------------------------
2108 # Tests whether TYPE exists after having included INCLUDES, setting cache
2109 # variable VAR accordingly.
2110 ac_fn_c_check_type ()
2111 {
2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2114 $as_echo_n "checking for $2... " >&6; }
2115 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
2116 $as_echo_n "(cached) " >&6
2117 else
2118 eval "$3=no"
2119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2120 /* end confdefs.h. */
2121 $4
2122 int
2123 main ()
2124 {
2125 if (sizeof ($2))
2126 return 0;
2127 ;
2128 return 0;
2129 }
2130 _ACEOF
2131 if ac_fn_c_try_compile "$LINENO"; then :
2132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2133 /* end confdefs.h. */
2134 $4
2135 int
2136 main ()
2137 {
2138 if (sizeof (($2)))
2139 return 0;
2140 ;
2141 return 0;
2142 }
2143 _ACEOF
2144 if ac_fn_c_try_compile "$LINENO"; then :
2145
2146 else
2147 eval "$3=yes"
2148 fi
2149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2150 fi
2151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2152 fi
2153 eval ac_res=\$$3
2154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2155 $as_echo "$ac_res" >&6; }
2156 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
2157
2158 } # ac_fn_c_check_type
16812159 cat >config.log <<_ACEOF
16822160 This file contains any messages produced by compilers while
16832161 running configure, to aid debugging if configure makes a mistake.
16842162
16852163 It was created by libatasmart $as_me 0.17, which was
1686 generated by GNU Autoconf 2.63. Invocation command line was
2164 generated by GNU Autoconf 2.65. Invocation command line was
16872165
16882166 $ $0 $@
16892167
17192197 do
17202198 IFS=$as_save_IFS
17212199 test -z "$as_dir" && as_dir=.
1722 $as_echo "PATH: $as_dir"
1723 done
2200 $as_echo "PATH: $as_dir"
2201 done
17242202 IFS=$as_save_IFS
17252203
17262204 } >&5
17572235 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
17582236 esac
17592237 case $ac_pass in
1760 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2238 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
17612239 2)
1762 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2240 as_fn_append ac_configure_args1 " '$ac_arg'"
17632241 if test $ac_must_keep_next = true; then
17642242 ac_must_keep_next=false # Got value, back to normal.
17652243 else
17752253 -* ) ac_must_keep_next=true ;;
17762254 esac
17772255 fi
1778 ac_configure_args="$ac_configure_args '$ac_arg'"
2256 as_fn_append ac_configure_args " '$ac_arg'"
17792257 ;;
17802258 esac
17812259 done
17822260 done
1783 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1784 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2261 { ac_configure_args0=; unset ac_configure_args0;}
2262 { ac_configure_args1=; unset ac_configure_args1;}
17852263
17862264 # When interrupted or exit'd, cleanup temporary files, and complete
17872265 # config.log. We remove comments because anyway the quotes in there
18062284 case $ac_val in #(
18072285 *${as_nl}*)
18082286 case $ac_var in #(
1809 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
2287 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
18102288 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
18112289 esac
18122290 case $ac_var in #(
18132291 _ | IFS | as_nl) ;; #(
18142292 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1815 *) $as_unset $ac_var ;;
2293 *) { eval $ac_var=; unset $ac_var;} ;;
18162294 esac ;;
18172295 esac
18182296 done
18842362 exit $exit_status
18852363 ' 0
18862364 for ac_signal in 1 2 13 15; do
1887 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2365 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
18882366 done
18892367 ac_signal=0
18902368
18912369 # confdefs.h avoids OS command line length limits that DEFS can exceed.
18922370 rm -f -r conftest* confdefs.h
2371
2372 $as_echo "/* confdefs.h */" > confdefs.h
18932373
18942374 # Predefined preprocessor variables.
18952375
18972377 #define PACKAGE_NAME "$PACKAGE_NAME"
18982378 _ACEOF
18992379
1900
19012380 cat >>confdefs.h <<_ACEOF
19022381 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
19032382 _ACEOF
19042383
1905
19062384 cat >>confdefs.h <<_ACEOF
19072385 #define PACKAGE_VERSION "$PACKAGE_VERSION"
19082386 _ACEOF
19092387
1910
19112388 cat >>confdefs.h <<_ACEOF
19122389 #define PACKAGE_STRING "$PACKAGE_STRING"
19132390 _ACEOF
19142391
1915
19162392 cat >>confdefs.h <<_ACEOF
19172393 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2394 _ACEOF
2395
2396 cat >>confdefs.h <<_ACEOF
2397 #define PACKAGE_URL "$PACKAGE_URL"
19182398 _ACEOF
19192399
19202400
19342414 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
19352415 do
19362416 test "x$ac_site_file" = xNONE && continue
1937 if test -r "$ac_site_file"; then
1938 { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2417 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
19392419 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
19402420 sed 's/^/| /' "$ac_site_file" >&5
19412421 . "$ac_site_file"
19432423 done
19442424
19452425 if test -r "$cache_file"; then
1946 # Some versions of bash will fail to source /dev/null (special
1947 # files actually), so we avoid doing that.
1948 if test -f "$cache_file"; then
1949 { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
2426 # Some versions of bash will fail to source /dev/null (special files
2427 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2428 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
19502430 $as_echo "$as_me: loading cache $cache_file" >&6;}
19512431 case $cache_file in
19522432 [\\/]* | ?:[\\/]* ) . "$cache_file";;
19542434 esac
19552435 fi
19562436 else
1957 { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
2437 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
19582438 $as_echo "$as_me: creating cache $cache_file" >&6;}
19592439 >$cache_file
19602440 fi
19692449 eval ac_new_val=\$ac_env_${ac_var}_value
19702450 case $ac_old_set,$ac_new_set in
19712451 set,)
1972 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
19732453 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
19742454 ac_cache_corrupted=: ;;
19752455 ,set)
1976 { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
19772457 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
19782458 ac_cache_corrupted=: ;;
19792459 ,);;
19832463 ac_old_val_w=`echo x $ac_old_val`
19842464 ac_new_val_w=`echo x $ac_new_val`
19852465 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1986 { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2466 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
19872467 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
19882468 ac_cache_corrupted=:
19892469 else
1990 { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
19912471 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
19922472 eval $ac_var=\$ac_old_val
19932473 fi
1994 { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
2474 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
19952475 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1996 { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
2476 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
19972477 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
19982478 fi;;
19992479 esac
20052485 esac
20062486 case " $ac_configure_args " in
20072487 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2008 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2488 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
20092489 esac
20102490 fi
20112491 done
20122492 if $ac_cache_corrupted; then
2013 { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
20142494 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2015 { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
20162496 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2017 { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2018 $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2019 { (exit 1); exit 1; }; }
2020 fi
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2497 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2498 fi
2499 ## -------------------- ##
2500 ## Main body of script. ##
2501 ## -------------------- ##
20452502
20462503 ac_ext=c
20472504 ac_cpp='$CPP $CPPFLAGS'
20592516
20602517 ac_aux_dir=
20612518 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2062 if test -f "$ac_dir/install-sh"; then
2063 ac_aux_dir=$ac_dir
2064 ac_install_sh="$ac_aux_dir/install-sh -c"
2065 break
2066 elif test -f "$ac_dir/install.sh"; then
2067 ac_aux_dir=$ac_dir
2068 ac_install_sh="$ac_aux_dir/install.sh -c"
2069 break
2070 elif test -f "$ac_dir/shtool"; then
2071 ac_aux_dir=$ac_dir
2072 ac_install_sh="$ac_aux_dir/shtool install -c"
2073 break
2074 fi
2519 for ac_t in install-sh install.sh shtool; do
2520 if test -f "$ac_dir/$ac_t"; then
2521 ac_aux_dir=$ac_dir
2522 ac_install_sh="$ac_aux_dir/$ac_t -c"
2523 break 2
2524 fi
2525 done
20752526 done
20762527 if test -z "$ac_aux_dir"; then
2077 { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2078 $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2079 { (exit 1); exit 1; }; }
2528 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
20802529 fi
20812530
20822531 # These three variables are undocumented and unsupported,
21022551 # OS/2's system install, which has a completely different semantic
21032552 # ./install, which can be erroneously created by make from ./install.sh.
21042553 # Reject install programs that cannot install multiple files.
2105 { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
21062555 $as_echo_n "checking for a BSD-compatible install... " >&6; }
21072556 if test -z "$INSTALL"; then
2108 if test "${ac_cv_path_install+set}" = set; then
2557 if test "${ac_cv_path_install+set}" = set; then :
21092558 $as_echo_n "(cached) " >&6
21102559 else
21112560 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21132562 do
21142563 IFS=$as_save_IFS
21152564 test -z "$as_dir" && as_dir=.
2116 # Account for people who put trailing slashes in PATH elements.
2117 case $as_dir/ in
2118 ./ | .// | /cC/* | \
2565 # Account for people who put trailing slashes in PATH elements.
2566 case $as_dir/ in #((
2567 ./ | .// | /[cC]/* | \
21192568 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2120 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2569 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
21212570 /usr/ucb/* ) ;;
21222571 *)
21232572 # OSF1 and SCO ODT 3.0 have their own names for install.
21542603 ;;
21552604 esac
21562605
2157 done
2606 done
21582607 IFS=$as_save_IFS
21592608
21602609 rm -rf conftest.one conftest.two conftest.dir
21702619 INSTALL=$ac_install_sh
21712620 fi
21722621 fi
2173 { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
2622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
21742623 $as_echo "$INSTALL" >&6; }
21752624
21762625 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
21812630
21822631 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
21832632
2184 { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
2633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
21852634 $as_echo_n "checking whether build environment is sane... " >&6; }
21862635 # Just in case
21872636 sleep 1
21922641 '
21932642 case `pwd` in
21942643 *[\\\"\#\$\&\'\`$am_lf]*)
2195 { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
2196 $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
2197 { (exit 1); exit 1; }; };;
2644 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
21982645 esac
21992646 case $srcdir in
22002647 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2201 { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
2202 $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
2203 { (exit 1); exit 1; }; };;
2648 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
22042649 esac
22052650
22062651 # Do `set' in a subshell so we don't clobber the current shell's
22222667 # if, for instance, CONFIG_SHELL is bash and it inherits a
22232668 # broken ls alias from the environment. This has actually
22242669 # happened. Such a system could not be considered "sane".
2225 { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
2226 alias in your environment" >&5
2227 $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
2228 alias in your environment" >&2;}
2229 { (exit 1); exit 1; }; }
2670 as_fn_error "ls -t appears to fail. Make sure there is not a broken
2671 alias in your environment" "$LINENO" 5
22302672 fi
22312673
22322674 test "$2" = conftest.file
22352677 # Ok.
22362678 :
22372679 else
2238 { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
2239 Check your system clock" >&5
2240 $as_echo "$as_me: error: newly created file is older than distributed files!
2241 Check your system clock" >&2;}
2242 { (exit 1); exit 1; }; }
2243 fi
2244 { $as_echo "$as_me:$LINENO: result: yes" >&5
2680 as_fn_error "newly created file is older than distributed files!
2681 Check your system clock" "$LINENO" 5
2682 fi
2683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
22452684 $as_echo "yes" >&6; }
22462685 test "$program_prefix" != NONE &&
22472686 program_transform_name="s&^&$program_prefix&;$program_transform_name"
22692708 am_missing_run="$MISSING --run "
22702709 else
22712710 am_missing_run=
2272 { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2711 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
22732712 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
22742713 fi
22752714
22902729 if test -n "$ac_tool_prefix"; then
22912730 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
22922731 set dummy ${ac_tool_prefix}strip; ac_word=$2
2293 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
22942733 $as_echo_n "checking for $ac_word... " >&6; }
2295 if test "${ac_cv_prog_STRIP+set}" = set; then
2734 if test "${ac_cv_prog_STRIP+set}" = set; then :
22962735 $as_echo_n "(cached) " >&6
22972736 else
22982737 if test -n "$STRIP"; then
23032742 do
23042743 IFS=$as_save_IFS
23052744 test -z "$as_dir" && as_dir=.
2306 for ac_exec_ext in '' $ac_executable_extensions; do
2745 for ac_exec_ext in '' $ac_executable_extensions; do
23072746 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23082747 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2309 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2748 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23102749 break 2
23112750 fi
23122751 done
2313 done
2752 done
23142753 IFS=$as_save_IFS
23152754
23162755 fi
23172756 fi
23182757 STRIP=$ac_cv_prog_STRIP
23192758 if test -n "$STRIP"; then
2320 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
2759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
23212760 $as_echo "$STRIP" >&6; }
23222761 else
2323 { $as_echo "$as_me:$LINENO: result: no" >&5
2762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23242763 $as_echo "no" >&6; }
23252764 fi
23262765
23302769 ac_ct_STRIP=$STRIP
23312770 # Extract the first word of "strip", so it can be a program name with args.
23322771 set dummy strip; ac_word=$2
2333 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
23342773 $as_echo_n "checking for $ac_word... " >&6; }
2335 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2774 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
23362775 $as_echo_n "(cached) " >&6
23372776 else
23382777 if test -n "$ac_ct_STRIP"; then
23432782 do
23442783 IFS=$as_save_IFS
23452784 test -z "$as_dir" && as_dir=.
2346 for ac_exec_ext in '' $ac_executable_extensions; do
2785 for ac_exec_ext in '' $ac_executable_extensions; do
23472786 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
23482787 ac_cv_prog_ac_ct_STRIP="strip"
2349 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2788 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
23502789 break 2
23512790 fi
23522791 done
2353 done
2792 done
23542793 IFS=$as_save_IFS
23552794
23562795 fi
23572796 fi
23582797 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
23592798 if test -n "$ac_ct_STRIP"; then
2360 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
23612800 $as_echo "$ac_ct_STRIP" >&6; }
23622801 else
2363 { $as_echo "$as_me:$LINENO: result: no" >&5
2802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
23642803 $as_echo "no" >&6; }
23652804 fi
23662805
23692808 else
23702809 case $cross_compiling:$ac_tool_warned in
23712810 yes:)
2372 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
2811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
23732812 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
23742813 ac_tool_warned=yes ;;
23752814 esac
23822821 fi
23832822 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
23842823
2385 { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
23862825 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
23872826 if test -z "$MKDIR_P"; then
2388 if test "${ac_cv_path_mkdir+set}" = set; then
2827 if test "${ac_cv_path_mkdir+set}" = set; then :
23892828 $as_echo_n "(cached) " >&6
23902829 else
23912830 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
23932832 do
23942833 IFS=$as_save_IFS
23952834 test -z "$as_dir" && as_dir=.
2396 for ac_prog in mkdir gmkdir; do
2835 for ac_prog in mkdir gmkdir; do
23972836 for ac_exec_ext in '' $ac_executable_extensions; do
23982837 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
23992838 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
24052844 esac
24062845 done
24072846 done
2408 done
2847 done
24092848 IFS=$as_save_IFS
24102849
24112850 fi
24122851
2852 test -d ./--version && rmdir ./--version
24132853 if test "${ac_cv_path_mkdir+set}" = set; then
24142854 MKDIR_P="$ac_cv_path_mkdir -p"
24152855 else
24172857 # value for MKDIR_P within a source directory, because that will
24182858 # break other packages using the cache if that directory is
24192859 # removed, or if the value is a relative name.
2420 test -d ./--version && rmdir ./--version
24212860 MKDIR_P="$ac_install_sh -d"
24222861 fi
24232862 fi
2424 { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
24252864 $as_echo "$MKDIR_P" >&6; }
24262865
24272866 mkdir_p="$MKDIR_P"
24342873 do
24352874 # Extract the first word of "$ac_prog", so it can be a program name with args.
24362875 set dummy $ac_prog; ac_word=$2
2437 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
24382877 $as_echo_n "checking for $ac_word... " >&6; }
2439 if test "${ac_cv_prog_AWK+set}" = set; then
2878 if test "${ac_cv_prog_AWK+set}" = set; then :
24402879 $as_echo_n "(cached) " >&6
24412880 else
24422881 if test -n "$AWK"; then
24472886 do
24482887 IFS=$as_save_IFS
24492888 test -z "$as_dir" && as_dir=.
2450 for ac_exec_ext in '' $ac_executable_extensions; do
2889 for ac_exec_ext in '' $ac_executable_extensions; do
24512890 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
24522891 ac_cv_prog_AWK="$ac_prog"
2453 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2892 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
24542893 break 2
24552894 fi
24562895 done
2457 done
2896 done
24582897 IFS=$as_save_IFS
24592898
24602899 fi
24612900 fi
24622901 AWK=$ac_cv_prog_AWK
24632902 if test -n "$AWK"; then
2464 { $as_echo "$as_me:$LINENO: result: $AWK" >&5
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
24652904 $as_echo "$AWK" >&6; }
24662905 else
2467 { $as_echo "$as_me:$LINENO: result: no" >&5
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
24682907 $as_echo "no" >&6; }
24692908 fi
24702909
24722911 test -n "$AWK" && break
24732912 done
24742913
2475 { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
24762915 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
24772916 set x ${MAKE-make}
24782917 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2479 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2918 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
24802919 $as_echo_n "(cached) " >&6
24812920 else
24822921 cat >conftest.make <<\_ACEOF
24942933 rm -f conftest.make
24952934 fi
24962935 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2497 { $as_echo "$as_me:$LINENO: result: yes" >&5
2936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
24982937 $as_echo "yes" >&6; }
24992938 SET_MAKE=
25002939 else
2501 { $as_echo "$as_me:$LINENO: result: no" >&5
2940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
25022941 $as_echo "no" >&6; }
25032942 SET_MAKE="MAKE=${MAKE-make}"
25042943 fi
25132952 rmdir .tst 2>/dev/null
25142953
25152954 # Check whether --enable-silent-rules was given.
2516 if test "${enable_silent_rules+set}" = set; then
2955 if test "${enable_silent_rules+set}" = set; then :
25172956 enableval=$enable_silent_rules;
25182957 fi
25192958
25302969 am__isrc=' -I$(srcdir)'
25312970 # test to see if srcdir already configured
25322971 if test -f $srcdir/config.status; then
2533 { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2534 $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2535 { (exit 1); exit 1; }; }
2972 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
25362973 fi
25372974 fi
25382975
25833020 AMTAR=${AMTAR-"${am_missing_run}tar"}
25843021
25853022
2586 { $as_echo "$as_me:$LINENO: checking how to create a pax tar archive" >&5
3023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
25873024 $as_echo_n "checking how to create a pax tar archive... " >&6; }
25883025 # Loop over all known methods to create a tar archive until one works.
25893026 _am_tools='gnutar pax cpio none'
26563093 done
26573094 rm -rf conftest.dir
26583095
2659 if test "${am_cv_prog_tar_pax+set}" = set; then
3096 if test "${am_cv_prog_tar_pax+set}" = set; then :
26603097 $as_echo_n "(cached) " >&6
26613098 else
26623099 am_cv_prog_tar_pax=$_am_tool
26633100 fi
26643101
2665 { $as_echo "$as_me:$LINENO: result: $am_cv_prog_tar_pax" >&5
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
26663103 $as_echo "$am_cv_prog_tar_pax" >&6; }
26673104
26683105
26783115
26793116 # Make sure we can run config.sub.
26803117 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2681 { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2682 $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2683 { (exit 1); exit 1; }; }
2684
2685 { $as_echo "$as_me:$LINENO: checking build system type" >&5
3118 as_fn_error "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3119
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
26863121 $as_echo_n "checking build system type... " >&6; }
2687 if test "${ac_cv_build+set}" = set; then
3122 if test "${ac_cv_build+set}" = set; then :
26883123 $as_echo_n "(cached) " >&6
26893124 else
26903125 ac_build_alias=$build_alias
26913126 test "x$ac_build_alias" = x &&
26923127 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
26933128 test "x$ac_build_alias" = x &&
2694 { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2695 $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2696 { (exit 1); exit 1; }; }
3129 as_fn_error "cannot guess build type; you must specify one" "$LINENO" 5
26973130 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2698 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2699 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2700 { (exit 1); exit 1; }; }
2701
2702 fi
2703 { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3131 as_fn_error "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3132
3133 fi
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
27043135 $as_echo "$ac_cv_build" >&6; }
27053136 case $ac_cv_build in
27063137 *-*-*) ;;
2707 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2708 $as_echo "$as_me: error: invalid value of canonical build" >&2;}
2709 { (exit 1); exit 1; }; };;
3138 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
27103139 esac
27113140 build=$ac_cv_build
27123141 ac_save_IFS=$IFS; IFS='-'
27223151 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
27233152
27243153
2725 { $as_echo "$as_me:$LINENO: checking host system type" >&5
3154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
27263155 $as_echo_n "checking host system type... " >&6; }
2727 if test "${ac_cv_host+set}" = set; then
3156 if test "${ac_cv_host+set}" = set; then :
27283157 $as_echo_n "(cached) " >&6
27293158 else
27303159 if test "x$host_alias" = x; then
27313160 ac_cv_host=$ac_cv_build
27323161 else
27333162 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2734 { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2735 $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2736 { (exit 1); exit 1; }; }
2737 fi
2738
2739 fi
2740 { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3163 as_fn_error "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3164 fi
3165
3166 fi
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
27413168 $as_echo "$ac_cv_host" >&6; }
27423169 case $ac_cv_host in
27433170 *-*-*) ;;
2744 *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2745 $as_echo "$as_me: error: invalid value of canonical host" >&2;}
2746 { (exit 1); exit 1; }; };;
3171 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
27473172 esac
27483173 host=$ac_cv_host
27493174 ac_save_IFS=$IFS; IFS='-'
27613186
27623187
27633188 # Check whether --enable-silent-rules was given.
2764 if test "${enable_silent_rules+set}" = set; then
3189 if test "${enable_silent_rules+set}" = set; then :
27653190 enableval=$enable_silent_rules;
27663191 fi
27673192
27743199
27753200
27763201 if type -p stow > /dev/null && test -d /usr/local/stow ; then
2777 { $as_echo "$as_me:$LINENO: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&5
27783203 $as_echo "$as_me: *** Found /usr/local/stow: default install prefix set to /usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION} ***" >&6;}
27793204 ac_default_prefix="/usr/local/stow/${PACKAGE_NAME}-${PACKAGE_VERSION}"
27803205 fi
27913216 if test -n "$ac_tool_prefix"; then
27923217 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
27933218 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2794 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
27953220 $as_echo_n "checking for $ac_word... " >&6; }
2796 if test "${ac_cv_prog_CC+set}" = set; then
3221 if test "${ac_cv_prog_CC+set}" = set; then :
27973222 $as_echo_n "(cached) " >&6
27983223 else
27993224 if test -n "$CC"; then
28043229 do
28053230 IFS=$as_save_IFS
28063231 test -z "$as_dir" && as_dir=.
2807 for ac_exec_ext in '' $ac_executable_extensions; do
3232 for ac_exec_ext in '' $ac_executable_extensions; do
28083233 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28093234 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2810 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3235 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28113236 break 2
28123237 fi
28133238 done
2814 done
3239 done
28153240 IFS=$as_save_IFS
28163241
28173242 fi
28183243 fi
28193244 CC=$ac_cv_prog_CC
28203245 if test -n "$CC"; then
2821 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
28223247 $as_echo "$CC" >&6; }
28233248 else
2824 { $as_echo "$as_me:$LINENO: result: no" >&5
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28253250 $as_echo "no" >&6; }
28263251 fi
28273252
28313256 ac_ct_CC=$CC
28323257 # Extract the first word of "gcc", so it can be a program name with args.
28333258 set dummy gcc; ac_word=$2
2834 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28353260 $as_echo_n "checking for $ac_word... " >&6; }
2836 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3261 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
28373262 $as_echo_n "(cached) " >&6
28383263 else
28393264 if test -n "$ac_ct_CC"; then
28443269 do
28453270 IFS=$as_save_IFS
28463271 test -z "$as_dir" && as_dir=.
2847 for ac_exec_ext in '' $ac_executable_extensions; do
3272 for ac_exec_ext in '' $ac_executable_extensions; do
28483273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28493274 ac_cv_prog_ac_ct_CC="gcc"
2850 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3275 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
28513276 break 2
28523277 fi
28533278 done
2854 done
3279 done
28553280 IFS=$as_save_IFS
28563281
28573282 fi
28583283 fi
28593284 ac_ct_CC=$ac_cv_prog_ac_ct_CC
28603285 if test -n "$ac_ct_CC"; then
2861 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
28623287 $as_echo "$ac_ct_CC" >&6; }
28633288 else
2864 { $as_echo "$as_me:$LINENO: result: no" >&5
3289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28653290 $as_echo "no" >&6; }
28663291 fi
28673292
28703295 else
28713296 case $cross_compiling:$ac_tool_warned in
28723297 yes:)
2873 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3298 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
28743299 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
28753300 ac_tool_warned=yes ;;
28763301 esac
28843309 if test -n "$ac_tool_prefix"; then
28853310 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
28863311 set dummy ${ac_tool_prefix}cc; ac_word=$2
2887 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
28883313 $as_echo_n "checking for $ac_word... " >&6; }
2889 if test "${ac_cv_prog_CC+set}" = set; then
3314 if test "${ac_cv_prog_CC+set}" = set; then :
28903315 $as_echo_n "(cached) " >&6
28913316 else
28923317 if test -n "$CC"; then
28973322 do
28983323 IFS=$as_save_IFS
28993324 test -z "$as_dir" && as_dir=.
2900 for ac_exec_ext in '' $ac_executable_extensions; do
3325 for ac_exec_ext in '' $ac_executable_extensions; do
29013326 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29023327 ac_cv_prog_CC="${ac_tool_prefix}cc"
2903 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3328 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29043329 break 2
29053330 fi
29063331 done
2907 done
3332 done
29083333 IFS=$as_save_IFS
29093334
29103335 fi
29113336 fi
29123337 CC=$ac_cv_prog_CC
29133338 if test -n "$CC"; then
2914 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
29153340 $as_echo "$CC" >&6; }
29163341 else
2917 { $as_echo "$as_me:$LINENO: result: no" >&5
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29183343 $as_echo "no" >&6; }
29193344 fi
29203345
29243349 if test -z "$CC"; then
29253350 # Extract the first word of "cc", so it can be a program name with args.
29263351 set dummy cc; ac_word=$2
2927 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29283353 $as_echo_n "checking for $ac_word... " >&6; }
2929 if test "${ac_cv_prog_CC+set}" = set; then
3354 if test "${ac_cv_prog_CC+set}" = set; then :
29303355 $as_echo_n "(cached) " >&6
29313356 else
29323357 if test -n "$CC"; then
29383363 do
29393364 IFS=$as_save_IFS
29403365 test -z "$as_dir" && as_dir=.
2941 for ac_exec_ext in '' $ac_executable_extensions; do
3366 for ac_exec_ext in '' $ac_executable_extensions; do
29423367 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29433368 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
29443369 ac_prog_rejected=yes
29453370 continue
29463371 fi
29473372 ac_cv_prog_CC="cc"
2948 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
29493374 break 2
29503375 fi
29513376 done
2952 done
3377 done
29533378 IFS=$as_save_IFS
29543379
29553380 if test $ac_prog_rejected = yes; then
29683393 fi
29693394 CC=$ac_cv_prog_CC
29703395 if test -n "$CC"; then
2971 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
29723397 $as_echo "$CC" >&6; }
29733398 else
2974 { $as_echo "$as_me:$LINENO: result: no" >&5
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
29753400 $as_echo "no" >&6; }
29763401 fi
29773402
29833408 do
29843409 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
29853410 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2986 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
29873412 $as_echo_n "checking for $ac_word... " >&6; }
2988 if test "${ac_cv_prog_CC+set}" = set; then
3413 if test "${ac_cv_prog_CC+set}" = set; then :
29893414 $as_echo_n "(cached) " >&6
29903415 else
29913416 if test -n "$CC"; then
29963421 do
29973422 IFS=$as_save_IFS
29983423 test -z "$as_dir" && as_dir=.
2999 for ac_exec_ext in '' $ac_executable_extensions; do
3424 for ac_exec_ext in '' $ac_executable_extensions; do
30003425 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30013426 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3002 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30033428 break 2
30043429 fi
30053430 done
3006 done
3431 done
30073432 IFS=$as_save_IFS
30083433
30093434 fi
30103435 fi
30113436 CC=$ac_cv_prog_CC
30123437 if test -n "$CC"; then
3013 { $as_echo "$as_me:$LINENO: result: $CC" >&5
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
30143439 $as_echo "$CC" >&6; }
30153440 else
3016 { $as_echo "$as_me:$LINENO: result: no" >&5
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30173442 $as_echo "no" >&6; }
30183443 fi
30193444
30273452 do
30283453 # Extract the first word of "$ac_prog", so it can be a program name with args.
30293454 set dummy $ac_prog; ac_word=$2
3030 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
3455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
30313456 $as_echo_n "checking for $ac_word... " >&6; }
3032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3457 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
30333458 $as_echo_n "(cached) " >&6
30343459 else
30353460 if test -n "$ac_ct_CC"; then
30403465 do
30413466 IFS=$as_save_IFS
30423467 test -z "$as_dir" && as_dir=.
3043 for ac_exec_ext in '' $ac_executable_extensions; do
3468 for ac_exec_ext in '' $ac_executable_extensions; do
30443469 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30453470 ac_cv_prog_ac_ct_CC="$ac_prog"
3046 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3471 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
30473472 break 2
30483473 fi
30493474 done
3050 done
3475 done
30513476 IFS=$as_save_IFS
30523477
30533478 fi
30543479 fi
30553480 ac_ct_CC=$ac_cv_prog_ac_ct_CC
30563481 if test -n "$ac_ct_CC"; then
3057 { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
30583483 $as_echo "$ac_ct_CC" >&6; }
30593484 else
3060 { $as_echo "$as_me:$LINENO: result: no" >&5
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
30613486 $as_echo "no" >&6; }
30623487 fi
30633488
30703495 else
30713496 case $cross_compiling:$ac_tool_warned in
30723497 yes:)
3073 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
30743499 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
30753500 ac_tool_warned=yes ;;
30763501 esac
30813506 fi
30823507
30833508
3084 test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3509 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
30853510 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3086 { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3087 See \`config.log' for more details." >&5
3088 $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
3089 See \`config.log' for more details." >&2;}
3090 { (exit 1); exit 1; }; }; }
3511 as_fn_error "no acceptable C compiler found in \$PATH
3512 See \`config.log' for more details." "$LINENO" 5; }
30913513
30923514 # Provide some information about the compiler.
3093 $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
3515 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
30943516 set X $ac_compile
30953517 ac_compiler=$2
3096 { (ac_try="$ac_compiler --version >&5"
3518 for ac_option in --version -v -V -qversion; do
3519 { { ac_try="$ac_compiler $ac_option >&5"
30973520 case "(($ac_try" in
30983521 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30993522 *) ac_try_echo=$ac_try;;
31003523 esac
3101 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3102 $as_echo "$ac_try_echo") >&5
3103 (eval "$ac_compiler --version >&5") 2>&5
3524 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3525 $as_echo "$ac_try_echo"; } >&5
3526 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
31043527 ac_status=$?
3105 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3106 (exit $ac_status); }
3107 { (ac_try="$ac_compiler -v >&5"
3108 case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111 esac
3112 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3113 $as_echo "$ac_try_echo") >&5
3114 (eval "$ac_compiler -v >&5") 2>&5
3115 ac_status=$?
3116 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3117 (exit $ac_status); }
3118 { (ac_try="$ac_compiler -V >&5"
3119 case "(($ac_try" in
3120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3121 *) ac_try_echo=$ac_try;;
3122 esac
3123 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3124 $as_echo "$ac_try_echo") >&5
3125 (eval "$ac_compiler -V >&5") 2>&5
3126 ac_status=$?
3127 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3128 (exit $ac_status); }
3129
3130 cat >conftest.$ac_ext <<_ACEOF
3131 /* confdefs.h. */
3132 _ACEOF
3133 cat confdefs.h >>conftest.$ac_ext
3134 cat >>conftest.$ac_ext <<_ACEOF
3528 if test -s conftest.err; then
3529 sed '10a\
3530 ... rest of stderr output deleted ...
3531 10q' conftest.err >conftest.er1
3532 cat conftest.er1 >&5
3533 fi
3534 rm -f conftest.er1 conftest.err
3535 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3536 test $ac_status = 0; }
3537 done
3538
3539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31353540 /* end confdefs.h. */
31363541
31373542 int
31473552 # Try to create an executable without -o first, disregard a.out.
31483553 # It will help us diagnose broken compilers, and finding out an intuition
31493554 # of exeext.
3150 { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
3151 $as_echo_n "checking for C compiler default output file name... " >&6; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3556 $as_echo_n "checking whether the C compiler works... " >&6; }
31523557 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
31533558
31543559 # The possible output files:
31643569 done
31653570 rm -f $ac_rmfiles
31663571
3167 if { (ac_try="$ac_link_default"
3572 if { { ac_try="$ac_link_default"
31683573 case "(($ac_try" in
31693574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31703575 *) ac_try_echo=$ac_try;;
31713576 esac
3172 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3173 $as_echo "$ac_try_echo") >&5
3577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3578 $as_echo "$ac_try_echo"; } >&5
31743579 (eval "$ac_link_default") 2>&5
31753580 ac_status=$?
3176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3177 (exit $ac_status); }; then
3581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3582 test $ac_status = 0; }; then :
31783583 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
31793584 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
31803585 # in a Makefile. We should not override ac_cv_exeext if it was cached,
31913596 # certainly right.
31923597 break;;
31933598 *.* )
3194 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3599 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
31953600 then :; else
31963601 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
31973602 fi
32103615 else
32113616 ac_file=''
32123617 fi
3213
3214 { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
3618 if test -z "$ac_file"; then :
3619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3620 $as_echo "no" >&6; }
3621 $as_echo "$as_me: failed program was:" >&5
3622 sed 's/^/| /' conftest.$ac_ext >&5
3623
3624 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3626 { as_fn_set_status 77
3627 as_fn_error "C compiler cannot create executables
3628 See \`config.log' for more details." "$LINENO" 5; }; }
3629 else
3630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3631 $as_echo "yes" >&6; }
3632 fi
3633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3634 $as_echo_n "checking for C compiler default output file name... " >&6; }
3635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
32153636 $as_echo "$ac_file" >&6; }
3216 if test -z "$ac_file"; then
3217 $as_echo "$as_me: failed program was:" >&5
3218 sed 's/^/| /' conftest.$ac_ext >&5
3219
3220 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3222 { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
3223 See \`config.log' for more details." >&5
3224 $as_echo "$as_me: error: C compiler cannot create executables
3225 See \`config.log' for more details." >&2;}
3226 { (exit 77); exit 77; }; }; }
3227 fi
3228
32293637 ac_exeext=$ac_cv_exeext
3230
3231 # Check that the compiler produces executables we can run. If not, either
3232 # the compiler is broken, or we cross compile.
3233 { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
3234 $as_echo_n "checking whether the C compiler works... " >&6; }
3235 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
3236 # If not cross compiling, check that we can run a simple program.
3237 if test "$cross_compiling" != yes; then
3238 if { ac_try='./$ac_file'
3239 { (case "(($ac_try" in
3240 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3241 *) ac_try_echo=$ac_try;;
3242 esac
3243 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3244 $as_echo "$ac_try_echo") >&5
3245 (eval "$ac_try") 2>&5
3246 ac_status=$?
3247 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3248 (exit $ac_status); }; }; then
3249 cross_compiling=no
3250 else
3251 if test "$cross_compiling" = maybe; then
3252 cross_compiling=yes
3253 else
3254 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3255 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3256 { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
3257 If you meant to cross compile, use \`--host'.
3258 See \`config.log' for more details." >&5
3259 $as_echo "$as_me: error: cannot run C compiled programs.
3260 If you meant to cross compile, use \`--host'.
3261 See \`config.log' for more details." >&2;}
3262 { (exit 1); exit 1; }; }; }
3263 fi
3264 fi
3265 fi
3266 { $as_echo "$as_me:$LINENO: result: yes" >&5
3267 $as_echo "yes" >&6; }
32683638
32693639 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
32703640 ac_clean_files=$ac_clean_files_save
3271 # Check that the compiler produces executables we can run. If not, either
3272 # the compiler is broken, or we cross compile.
3273 { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
3274 $as_echo_n "checking whether we are cross compiling... " >&6; }
3275 { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
3276 $as_echo "$cross_compiling" >&6; }
3277
3278 { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
3641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
32793642 $as_echo_n "checking for suffix of executables... " >&6; }
3280 if { (ac_try="$ac_link"
3643 if { { ac_try="$ac_link"
32813644 case "(($ac_try" in
32823645 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32833646 *) ac_try_echo=$ac_try;;
32843647 esac
3285 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3286 $as_echo "$ac_try_echo") >&5
3648 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3649 $as_echo "$ac_try_echo"; } >&5
32873650 (eval "$ac_link") 2>&5
32883651 ac_status=$?
3289 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3290 (exit $ac_status); }; then
3652 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3653 test $ac_status = 0; }; then :
32913654 # If both `conftest.exe' and `conftest' are `present' (well, observable)
32923655 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
32933656 # work properly (i.e., refer to `conftest.exe'), while it won't with
33023665 esac
33033666 done
33043667 else
3305 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3668 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33063669 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3307 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
3308 See \`config.log' for more details." >&5
3309 $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
3310 See \`config.log' for more details." >&2;}
3311 { (exit 1); exit 1; }; }; }
3312 fi
3313
3314 rm -f conftest$ac_cv_exeext
3315 { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
3670 as_fn_error "cannot compute suffix of executables: cannot compile and link
3671 See \`config.log' for more details." "$LINENO" 5; }
3672 fi
3673 rm -f conftest conftest$ac_cv_exeext
3674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
33163675 $as_echo "$ac_cv_exeext" >&6; }
33173676
33183677 rm -f conftest.$ac_ext
33193678 EXEEXT=$ac_cv_exeext
33203679 ac_exeext=$EXEEXT
3321 { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
3680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3681 /* end confdefs.h. */
3682 #include <stdio.h>
3683 int
3684 main ()
3685 {
3686 FILE *f = fopen ("conftest.out", "w");
3687 return ferror (f) || fclose (f) != 0;
3688
3689 ;
3690 return 0;
3691 }
3692 _ACEOF
3693 ac_clean_files="$ac_clean_files conftest.out"
3694 # Check that the compiler produces executables we can run. If not, either
3695 # the compiler is broken, or we cross compile.
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3697 $as_echo_n "checking whether we are cross compiling... " >&6; }
3698 if test "$cross_compiling" != yes; then
3699 { { ac_try="$ac_link"
3700 case "(($ac_try" in
3701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3702 *) ac_try_echo=$ac_try;;
3703 esac
3704 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3705 $as_echo "$ac_try_echo"; } >&5
3706 (eval "$ac_link") 2>&5
3707 ac_status=$?
3708 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3709 test $ac_status = 0; }
3710 if { ac_try='./conftest$ac_cv_exeext'
3711 { { case "(($ac_try" in
3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3714 esac
3715 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3716 $as_echo "$ac_try_echo"; } >&5
3717 (eval "$ac_try") 2>&5
3718 ac_status=$?
3719 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3720 test $ac_status = 0; }; }; then
3721 cross_compiling=no
3722 else
3723 if test "$cross_compiling" = maybe; then
3724 cross_compiling=yes
3725 else
3726 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3727 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3728 as_fn_error "cannot run C compiled programs.
3729 If you meant to cross compile, use \`--host'.
3730 See \`config.log' for more details." "$LINENO" 5; }
3731 fi
3732 fi
3733 fi
3734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3735 $as_echo "$cross_compiling" >&6; }
3736
3737 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3738 ac_clean_files=$ac_clean_files_save
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
33223740 $as_echo_n "checking for suffix of object files... " >&6; }
3323 if test "${ac_cv_objext+set}" = set; then
3741 if test "${ac_cv_objext+set}" = set; then :
33243742 $as_echo_n "(cached) " >&6
33253743 else
3326 cat >conftest.$ac_ext <<_ACEOF
3327 /* confdefs.h. */
3328 _ACEOF
3329 cat confdefs.h >>conftest.$ac_ext
3330 cat >>conftest.$ac_ext <<_ACEOF
3744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33313745 /* end confdefs.h. */
33323746
33333747 int
33393753 }
33403754 _ACEOF
33413755 rm -f conftest.o conftest.obj
3342 if { (ac_try="$ac_compile"
3756 if { { ac_try="$ac_compile"
33433757 case "(($ac_try" in
33443758 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33453759 *) ac_try_echo=$ac_try;;
33463760 esac
3347 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3348 $as_echo "$ac_try_echo") >&5
3761 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3762 $as_echo "$ac_try_echo"; } >&5
33493763 (eval "$ac_compile") 2>&5
33503764 ac_status=$?
3351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3352 (exit $ac_status); }; then
3765 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3766 test $ac_status = 0; }; then :
33533767 for ac_file in conftest.o conftest.obj conftest.*; do
33543768 test -f "$ac_file" || continue;
33553769 case $ac_file in
33623776 $as_echo "$as_me: failed program was:" >&5
33633777 sed 's/^/| /' conftest.$ac_ext >&5
33643778
3365 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
3779 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
33663780 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3367 { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
3368 See \`config.log' for more details." >&5
3369 $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
3370 See \`config.log' for more details." >&2;}
3371 { (exit 1); exit 1; }; }; }
3372 fi
3373
3781 as_fn_error "cannot compute suffix of object files: cannot compile
3782 See \`config.log' for more details." "$LINENO" 5; }
3783 fi
33743784 rm -f conftest.$ac_cv_objext conftest.$ac_ext
33753785 fi
3376 { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
3786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
33773787 $as_echo "$ac_cv_objext" >&6; }
33783788 OBJEXT=$ac_cv_objext
33793789 ac_objext=$OBJEXT
3380 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
33813791 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3382 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3792 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
33833793 $as_echo_n "(cached) " >&6
33843794 else
3385 cat >conftest.$ac_ext <<_ACEOF
3386 /* confdefs.h. */
3387 _ACEOF
3388 cat confdefs.h >>conftest.$ac_ext
3389 cat >>conftest.$ac_ext <<_ACEOF
3795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33903796 /* end confdefs.h. */
33913797
33923798 int
34003806 return 0;
34013807 }
34023808 _ACEOF
3403 rm -f conftest.$ac_objext
3404 if { (ac_try="$ac_compile"
3405 case "(($ac_try" in
3406 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3407 *) ac_try_echo=$ac_try;;
3408 esac
3409 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3410 $as_echo "$ac_try_echo") >&5
3411 (eval "$ac_compile") 2>conftest.er1
3412 ac_status=$?
3413 grep -v '^ *+' conftest.er1 >conftest.err
3414 rm -f conftest.er1
3415 cat conftest.err >&5
3416 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3417 (exit $ac_status); } && {
3418 test -z "$ac_c_werror_flag" ||
3419 test ! -s conftest.err
3420 } && test -s conftest.$ac_objext; then
3809 if ac_fn_c_try_compile "$LINENO"; then :
34213810 ac_compiler_gnu=yes
34223811 else
3423 $as_echo "$as_me: failed program was:" >&5
3424 sed 's/^/| /' conftest.$ac_ext >&5
3425
3426 ac_compiler_gnu=no
3427 fi
3428
3812 ac_compiler_gnu=no
3813 fi
34293814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34303815 ac_cv_c_compiler_gnu=$ac_compiler_gnu
34313816
34323817 fi
3433 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
34343819 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
34353820 if test $ac_compiler_gnu = yes; then
34363821 GCC=yes
34393824 fi
34403825 ac_test_CFLAGS=${CFLAGS+set}
34413826 ac_save_CFLAGS=$CFLAGS
3442 { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
34433828 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3444 if test "${ac_cv_prog_cc_g+set}" = set; then
3829 if test "${ac_cv_prog_cc_g+set}" = set; then :
34453830 $as_echo_n "(cached) " >&6
34463831 else
34473832 ac_save_c_werror_flag=$ac_c_werror_flag
34483833 ac_c_werror_flag=yes
34493834 ac_cv_prog_cc_g=no
34503835 CFLAGS="-g"
3451 cat >conftest.$ac_ext <<_ACEOF
3452 /* confdefs.h. */
3453 _ACEOF
3454 cat confdefs.h >>conftest.$ac_ext
3455 cat >>conftest.$ac_ext <<_ACEOF
3836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34563837 /* end confdefs.h. */
34573838
34583839 int
34633844 return 0;
34643845 }
34653846 _ACEOF
3466 rm -f conftest.$ac_objext
3467 if { (ac_try="$ac_compile"
3468 case "(($ac_try" in
3469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3470 *) ac_try_echo=$ac_try;;
3471 esac
3472 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3473 $as_echo "$ac_try_echo") >&5
3474 (eval "$ac_compile") 2>conftest.er1
3475 ac_status=$?
3476 grep -v '^ *+' conftest.er1 >conftest.err
3477 rm -f conftest.er1
3478 cat conftest.err >&5
3479 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3480 (exit $ac_status); } && {
3481 test -z "$ac_c_werror_flag" ||
3482 test ! -s conftest.err
3483 } && test -s conftest.$ac_objext; then
3847 if ac_fn_c_try_compile "$LINENO"; then :
34843848 ac_cv_prog_cc_g=yes
34853849 else
3486 $as_echo "$as_me: failed program was:" >&5
3487 sed 's/^/| /' conftest.$ac_ext >&5
3488
3489 CFLAGS=""
3490 cat >conftest.$ac_ext <<_ACEOF
3491 /* confdefs.h. */
3492 _ACEOF
3493 cat confdefs.h >>conftest.$ac_ext
3494 cat >>conftest.$ac_ext <<_ACEOF
3850 CFLAGS=""
3851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34953852 /* end confdefs.h. */
34963853
34973854 int
35023859 return 0;
35033860 }
35043861 _ACEOF
3505 rm -f conftest.$ac_objext
3506 if { (ac_try="$ac_compile"
3507 case "(($ac_try" in
3508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3509 *) ac_try_echo=$ac_try;;
3510 esac
3511 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3512 $as_echo "$ac_try_echo") >&5
3513 (eval "$ac_compile") 2>conftest.er1
3514 ac_status=$?
3515 grep -v '^ *+' conftest.er1 >conftest.err
3516 rm -f conftest.er1
3517 cat conftest.err >&5
3518 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3519 (exit $ac_status); } && {
3520 test -z "$ac_c_werror_flag" ||
3521 test ! -s conftest.err
3522 } && test -s conftest.$ac_objext; then
3523 :
3524 else
3525 $as_echo "$as_me: failed program was:" >&5
3526 sed 's/^/| /' conftest.$ac_ext >&5
3527
3528 ac_c_werror_flag=$ac_save_c_werror_flag
3862 if ac_fn_c_try_compile "$LINENO"; then :
3863
3864 else
3865 ac_c_werror_flag=$ac_save_c_werror_flag
35293866 CFLAGS="-g"
3530 cat >conftest.$ac_ext <<_ACEOF
3531 /* confdefs.h. */
3532 _ACEOF
3533 cat confdefs.h >>conftest.$ac_ext
3534 cat >>conftest.$ac_ext <<_ACEOF
3867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35353868 /* end confdefs.h. */
35363869
35373870 int
35423875 return 0;
35433876 }
35443877 _ACEOF
3545 rm -f conftest.$ac_objext
3546 if { (ac_try="$ac_compile"
3547 case "(($ac_try" in
3548 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3549 *) ac_try_echo=$ac_try;;
3550 esac
3551 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3552 $as_echo "$ac_try_echo") >&5
3553 (eval "$ac_compile") 2>conftest.er1
3554 ac_status=$?
3555 grep -v '^ *+' conftest.er1 >conftest.err
3556 rm -f conftest.er1
3557 cat conftest.err >&5
3558 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3559 (exit $ac_status); } && {
3560 test -z "$ac_c_werror_flag" ||
3561 test ! -s conftest.err
3562 } && test -s conftest.$ac_objext; then
3878 if ac_fn_c_try_compile "$LINENO"; then :
35633879 ac_cv_prog_cc_g=yes
3564 else
3565 $as_echo "$as_me: failed program was:" >&5
3566 sed 's/^/| /' conftest.$ac_ext >&5
3567
3568
3569 fi
3570
3880 fi
35713881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35723882 fi
3573
35743883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35753884 fi
3576
35773885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35783886 ac_c_werror_flag=$ac_save_c_werror_flag
35793887 fi
3580 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
35813889 $as_echo "$ac_cv_prog_cc_g" >&6; }
35823890 if test "$ac_test_CFLAGS" = set; then
35833891 CFLAGS=$ac_save_CFLAGS
35943902 CFLAGS=
35953903 fi
35963904 fi
3597 { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
35983906 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3599 if test "${ac_cv_prog_cc_c89+set}" = set; then
3907 if test "${ac_cv_prog_cc_c89+set}" = set; then :
36003908 $as_echo_n "(cached) " >&6
36013909 else
36023910 ac_cv_prog_cc_c89=no
36033911 ac_save_CC=$CC
3604 cat >conftest.$ac_ext <<_ACEOF
3605 /* confdefs.h. */
3606 _ACEOF
3607 cat confdefs.h >>conftest.$ac_ext
3608 cat >>conftest.$ac_ext <<_ACEOF
3912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36093913 /* end confdefs.h. */
36103914 #include <stdarg.h>
36113915 #include <stdio.h>
36623966 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
36633967 do
36643968 CC="$ac_save_CC $ac_arg"
3665 rm -f conftest.$ac_objext
3666 if { (ac_try="$ac_compile"
3667 case "(($ac_try" in
3668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3669 *) ac_try_echo=$ac_try;;
3670 esac
3671 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3672 $as_echo "$ac_try_echo") >&5
3673 (eval "$ac_compile") 2>conftest.er1
3674 ac_status=$?
3675 grep -v '^ *+' conftest.er1 >conftest.err
3676 rm -f conftest.er1
3677 cat conftest.err >&5
3678 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3679 (exit $ac_status); } && {
3680 test -z "$ac_c_werror_flag" ||
3681 test ! -s conftest.err
3682 } && test -s conftest.$ac_objext; then
3969 if ac_fn_c_try_compile "$LINENO"; then :
36833970 ac_cv_prog_cc_c89=$ac_arg
3684 else
3685 $as_echo "$as_me: failed program was:" >&5
3686 sed 's/^/| /' conftest.$ac_ext >&5
3687
3688
3689 fi
3690
3971 fi
36913972 rm -f core conftest.err conftest.$ac_objext
36923973 test "x$ac_cv_prog_cc_c89" != "xno" && break
36933974 done
36983979 # AC_CACHE_VAL
36993980 case "x$ac_cv_prog_cc_c89" in
37003981 x)
3701 { $as_echo "$as_me:$LINENO: result: none needed" >&5
3982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
37023983 $as_echo "none needed" >&6; } ;;
37033984 xno)
3704 { $as_echo "$as_me:$LINENO: result: unsupported" >&5
3985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
37053986 $as_echo "unsupported" >&6; } ;;
37063987 *)
37073988 CC="$CC $ac_cv_prog_cc_c89"
3708 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
37093990 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
37103991 esac
3711
3992 if test "x$ac_cv_prog_cc_c89" != xno; then :
3993
3994 fi
37123995
37133996 ac_ext=c
37143997 ac_cpp='$CPP $CPPFLAGS'
37274010 .PHONY: am__doit
37284011 END
37294012 # If we don't find an include directive, just comment out the code.
3730 { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
37314014 $as_echo_n "checking for style of include used by $am_make... " >&6; }
37324015 am__include="#"
37334016 am__quote=
37554038 fi
37564039
37574040
3758 { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
4041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
37594042 $as_echo "$_am_result" >&6; }
37604043 rm -f confinc confmf
37614044
37624045 # Check whether --enable-dependency-tracking was given.
3763 if test "${enable_dependency_tracking+set}" = set; then
4046 if test "${enable_dependency_tracking+set}" = set; then :
37644047 enableval=$enable_dependency_tracking;
37654048 fi
37664049
37804063
37814064 depcc="$CC" am_compiler_list=
37824065
3783 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
37844067 $as_echo_n "checking dependency style of $depcc... " >&6; }
3785 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
4068 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
37864069 $as_echo_n "(cached) " >&6
37874070 else
37884071 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
38904173 fi
38914174
38924175 fi
3893 { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
38944177 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
38954178 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
38964179
39064189
39074190
39084191 if test "x$CC" != xcc; then
3909 { $as_echo "$as_me:$LINENO: checking whether $CC and cc understand -c and -o together" >&5
4192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
39104193 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
39114194 else
3912 { $as_echo "$as_me:$LINENO: checking whether cc understands -c and -o together" >&5
4195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
39134196 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
39144197 fi
39154198 set dummy $CC; ac_cc=`$as_echo "$2" |
39164199 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3917 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then
4200 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
39184201 $as_echo_n "(cached) " >&6
39194202 else
3920 cat >conftest.$ac_ext <<_ACEOF
3921 /* confdefs.h. */
3922 _ACEOF
3923 cat confdefs.h >>conftest.$ac_ext
3924 cat >>conftest.$ac_ext <<_ACEOF
4203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39254204 /* end confdefs.h. */
39264205
39274206 int
39374216 # existing .o file with -o, though they will create one.
39384217 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
39394218 rm -f conftest2.*
3940 if { (case "(($ac_try" in
4219 if { { case "(($ac_try" in
39414220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39424221 *) ac_try_echo=$ac_try;;
39434222 esac
3944 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3945 $as_echo "$ac_try_echo") >&5
4223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4224 $as_echo "$ac_try_echo"; } >&5
39464225 (eval "$ac_try") 2>&5
39474226 ac_status=$?
3948 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3949 (exit $ac_status); } &&
3950 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4227 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4228 test $ac_status = 0; } &&
4229 test -f conftest2.$ac_objext && { { case "(($ac_try" in
39514230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39524231 *) ac_try_echo=$ac_try;;
39534232 esac
3954 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3955 $as_echo "$ac_try_echo") >&5
4233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4234 $as_echo "$ac_try_echo"; } >&5
39564235 (eval "$ac_try") 2>&5
39574236 ac_status=$?
3958 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3959 (exit $ac_status); };
4237 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4238 test $ac_status = 0; };
39604239 then
39614240 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
39624241 if test "x$CC" != xcc; then
39634242 # Test first that cc exists at all.
39644243 if { ac_try='cc -c conftest.$ac_ext >&5'
3965 { (case "(($ac_try" in
4244 { { case "(($ac_try" in
39664245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39674246 *) ac_try_echo=$ac_try;;
39684247 esac
3969 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3970 $as_echo "$ac_try_echo") >&5
4248 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4249 $as_echo "$ac_try_echo"; } >&5
39714250 (eval "$ac_try") 2>&5
39724251 ac_status=$?
3973 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3974 (exit $ac_status); }; }; then
4252 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4253 test $ac_status = 0; }; }; then
39754254 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
39764255 rm -f conftest2.*
3977 if { (case "(($ac_try" in
4256 if { { case "(($ac_try" in
39784257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39794258 *) ac_try_echo=$ac_try;;
39804259 esac
3981 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3982 $as_echo "$ac_try_echo") >&5
4260 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4261 $as_echo "$ac_try_echo"; } >&5
39834262 (eval "$ac_try") 2>&5
39844263 ac_status=$?
3985 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3986 (exit $ac_status); } &&
3987 test -f conftest2.$ac_objext && { (case "(($ac_try" in
4264 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4265 test $ac_status = 0; } &&
4266 test -f conftest2.$ac_objext && { { case "(($ac_try" in
39884267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39894268 *) ac_try_echo=$ac_try;;
39904269 esac
3991 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
3992 $as_echo "$ac_try_echo") >&5
4270 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4271 $as_echo "$ac_try_echo"; } >&5
39934272 (eval "$ac_try") 2>&5
39944273 ac_status=$?
3995 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
3996 (exit $ac_status); };
4274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4275 test $ac_status = 0; };
39974276 then
39984277 # cc works too.
39994278 :
40104289
40114290 fi
40124291 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4013 { $as_echo "$as_me:$LINENO: result: yes" >&5
4292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
40144293 $as_echo "yes" >&6; }
40154294 else
4016 { $as_echo "$as_me:$LINENO: result: no" >&5
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
40174296 $as_echo "no" >&6; }
40184297
4019 cat >>confdefs.h <<\_ACEOF
4020 #define NO_MINUS_C_MINUS_O 1
4021 _ACEOF
4298 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
40224299
40234300 fi
40244301
40434320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40444321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40454322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4046 { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
4323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
40474324 $as_echo_n "checking how to run the C preprocessor... " >&6; }
40484325 # On Suns, sometimes $CPP names a directory.
40494326 if test -n "$CPP" && test -d "$CPP"; then
40504327 CPP=
40514328 fi
40524329 if test -z "$CPP"; then
4053 if test "${ac_cv_prog_CPP+set}" = set; then
4330 if test "${ac_cv_prog_CPP+set}" = set; then :
40544331 $as_echo_n "(cached) " >&6
40554332 else
40564333 # Double quotes because CPP needs to be expanded
40654342 # <limits.h> exists even on freestanding compilers.
40664343 # On the NeXT, cc -E runs the code through the compiler's parser,
40674344 # not just through cpp. "Syntax error" is here to catch this case.
4068 cat >conftest.$ac_ext <<_ACEOF
4069 /* confdefs.h. */
4070 _ACEOF
4071 cat confdefs.h >>conftest.$ac_ext
4072 cat >>conftest.$ac_ext <<_ACEOF
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40734346 /* end confdefs.h. */
40744347 #ifdef __STDC__
40754348 # include <limits.h>
40784351 #endif
40794352 Syntax error
40804353 _ACEOF
4081 if { (ac_try="$ac_cpp conftest.$ac_ext"
4082 case "(($ac_try" in
4083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4084 *) ac_try_echo=$ac_try;;
4085 esac
4086 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4087 $as_echo "$ac_try_echo") >&5
4088 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4089 ac_status=$?
4090 grep -v '^ *+' conftest.er1 >conftest.err
4091 rm -f conftest.er1
4092 cat conftest.err >&5
4093 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4094 (exit $ac_status); } >/dev/null && {
4095 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4096 test ! -s conftest.err
4097 }; then
4098 :
4099 else
4100 $as_echo "$as_me: failed program was:" >&5
4101 sed 's/^/| /' conftest.$ac_ext >&5
4102
4354 if ac_fn_c_try_cpp "$LINENO"; then :
4355
4356 else
41034357 # Broken: fails on valid input.
41044358 continue
41054359 fi
4106
41074360 rm -f conftest.err conftest.$ac_ext
41084361
41094362 # OK, works on sane cases. Now check whether nonexistent headers
41104363 # can be detected and how.
4111 cat >conftest.$ac_ext <<_ACEOF
4112 /* confdefs.h. */
4113 _ACEOF
4114 cat confdefs.h >>conftest.$ac_ext
4115 cat >>conftest.$ac_ext <<_ACEOF
4364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41164365 /* end confdefs.h. */
41174366 #include <ac_nonexistent.h>
41184367 _ACEOF
4119 if { (ac_try="$ac_cpp conftest.$ac_ext"
4120 case "(($ac_try" in
4121 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4122 *) ac_try_echo=$ac_try;;
4123 esac
4124 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4125 $as_echo "$ac_try_echo") >&5
4126 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4127 ac_status=$?
4128 grep -v '^ *+' conftest.er1 >conftest.err
4129 rm -f conftest.er1
4130 cat conftest.err >&5
4131 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4132 (exit $ac_status); } >/dev/null && {
4133 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4134 test ! -s conftest.err
4135 }; then
4368 if ac_fn_c_try_cpp "$LINENO"; then :
41364369 # Broken: success on invalid input.
41374370 continue
41384371 else
4139 $as_echo "$as_me: failed program was:" >&5
4140 sed 's/^/| /' conftest.$ac_ext >&5
4141
41424372 # Passes both tests.
41434373 ac_preproc_ok=:
41444374 break
41454375 fi
4146
41474376 rm -f conftest.err conftest.$ac_ext
41484377
41494378 done
41504379 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
41514380 rm -f conftest.err conftest.$ac_ext
4152 if $ac_preproc_ok; then
4381 if $ac_preproc_ok; then :
41534382 break
41544383 fi
41554384
41614390 else
41624391 ac_cv_prog_CPP=$CPP
41634392 fi
4164 { $as_echo "$as_me:$LINENO: result: $CPP" >&5
4393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
41654394 $as_echo "$CPP" >&6; }
41664395 ac_preproc_ok=false
41674396 for ac_c_preproc_warn_flag in '' yes
41724401 # <limits.h> exists even on freestanding compilers.
41734402 # On the NeXT, cc -E runs the code through the compiler's parser,
41744403 # not just through cpp. "Syntax error" is here to catch this case.
4175 cat >conftest.$ac_ext <<_ACEOF
4176 /* confdefs.h. */
4177 _ACEOF
4178 cat confdefs.h >>conftest.$ac_ext
4179 cat >>conftest.$ac_ext <<_ACEOF
4404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41804405 /* end confdefs.h. */
41814406 #ifdef __STDC__
41824407 # include <limits.h>
41854410 #endif
41864411 Syntax error
41874412 _ACEOF
4188 if { (ac_try="$ac_cpp conftest.$ac_ext"
4189 case "(($ac_try" in
4190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4191 *) ac_try_echo=$ac_try;;
4192 esac
4193 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4194 $as_echo "$ac_try_echo") >&5
4195 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4196 ac_status=$?
4197 grep -v '^ *+' conftest.er1 >conftest.err
4198 rm -f conftest.er1
4199 cat conftest.err >&5
4200 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4201 (exit $ac_status); } >/dev/null && {
4202 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4203 test ! -s conftest.err
4204 }; then
4205 :
4206 else
4207 $as_echo "$as_me: failed program was:" >&5
4208 sed 's/^/| /' conftest.$ac_ext >&5
4209
4413 if ac_fn_c_try_cpp "$LINENO"; then :
4414
4415 else
42104416 # Broken: fails on valid input.
42114417 continue
42124418 fi
4213
42144419 rm -f conftest.err conftest.$ac_ext
42154420
42164421 # OK, works on sane cases. Now check whether nonexistent headers
42174422 # can be detected and how.
4218 cat >conftest.$ac_ext <<_ACEOF
4219 /* confdefs.h. */
4220 _ACEOF
4221 cat confdefs.h >>conftest.$ac_ext
4222 cat >>conftest.$ac_ext <<_ACEOF
4423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42234424 /* end confdefs.h. */
42244425 #include <ac_nonexistent.h>
42254426 _ACEOF
4226 if { (ac_try="$ac_cpp conftest.$ac_ext"
4227 case "(($ac_try" in
4228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4229 *) ac_try_echo=$ac_try;;
4230 esac
4231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4232 $as_echo "$ac_try_echo") >&5
4233 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4234 ac_status=$?
4235 grep -v '^ *+' conftest.er1 >conftest.err
4236 rm -f conftest.er1
4237 cat conftest.err >&5
4238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4239 (exit $ac_status); } >/dev/null && {
4240 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4241 test ! -s conftest.err
4242 }; then
4427 if ac_fn_c_try_cpp "$LINENO"; then :
42434428 # Broken: success on invalid input.
42444429 continue
42454430 else
4246 $as_echo "$as_me: failed program was:" >&5
4247 sed 's/^/| /' conftest.$ac_ext >&5
4248
42494431 # Passes both tests.
42504432 ac_preproc_ok=:
42514433 break
42524434 fi
4253
42544435 rm -f conftest.err conftest.$ac_ext
42554436
42564437 done
42574438 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
42584439 rm -f conftest.err conftest.$ac_ext
4259 if $ac_preproc_ok; then
4260 :
4261 else
4262 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
4440 if $ac_preproc_ok; then :
4441
4442 else
4443 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
42634444 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4264 { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
4265 See \`config.log' for more details." >&5
4266 $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
4267 See \`config.log' for more details." >&2;}
4268 { (exit 1); exit 1; }; }; }
4445 as_fn_error "C preprocessor \"$CPP\" fails sanity check
4446 See \`config.log' for more details." "$LINENO" 5; }
42694447 fi
42704448
42714449 ac_ext=c
42754453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42764454
42774455
4278 { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
42794457 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4280 if test "${ac_cv_path_GREP+set}" = set; then
4458 if test "${ac_cv_path_GREP+set}" = set; then :
42814459 $as_echo_n "(cached) " >&6
42824460 else
42834461 if test -z "$GREP"; then
42884466 do
42894467 IFS=$as_save_IFS
42904468 test -z "$as_dir" && as_dir=.
4291 for ac_prog in grep ggrep; do
4469 for ac_prog in grep ggrep; do
42924470 for ac_exec_ext in '' $ac_executable_extensions; do
42934471 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
42944472 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
43084486 $as_echo 'GREP' >> "conftest.nl"
43094487 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
43104488 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4311 ac_count=`expr $ac_count + 1`
4489 as_fn_arith $ac_count + 1 && ac_count=$as_val
43124490 if test $ac_count -gt ${ac_path_GREP_max-0}; then
43134491 # Best one so far, save it but keep looking for a better one
43144492 ac_cv_path_GREP="$ac_path_GREP"
43234501 $ac_path_GREP_found && break 3
43244502 done
43254503 done
4326 done
4504 done
43274505 IFS=$as_save_IFS
43284506 if test -z "$ac_cv_path_GREP"; then
4329 { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4330 $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4331 { (exit 1); exit 1; }; }
4507 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
43324508 fi
43334509 else
43344510 ac_cv_path_GREP=$GREP
43354511 fi
43364512
43374513 fi
4338 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
43394515 $as_echo "$ac_cv_path_GREP" >&6; }
43404516 GREP="$ac_cv_path_GREP"
43414517
43424518
4343 { $as_echo "$as_me:$LINENO: checking for egrep" >&5
4519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
43444520 $as_echo_n "checking for egrep... " >&6; }
4345 if test "${ac_cv_path_EGREP+set}" = set; then
4521 if test "${ac_cv_path_EGREP+set}" = set; then :
43464522 $as_echo_n "(cached) " >&6
43474523 else
43484524 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
43564532 do
43574533 IFS=$as_save_IFS
43584534 test -z "$as_dir" && as_dir=.
4359 for ac_prog in egrep; do
4535 for ac_prog in egrep; do
43604536 for ac_exec_ext in '' $ac_executable_extensions; do
43614537 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
43624538 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
43764552 $as_echo 'EGREP' >> "conftest.nl"
43774553 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
43784554 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4379 ac_count=`expr $ac_count + 1`
4555 as_fn_arith $ac_count + 1 && ac_count=$as_val
43804556 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
43814557 # Best one so far, save it but keep looking for a better one
43824558 ac_cv_path_EGREP="$ac_path_EGREP"
43914567 $ac_path_EGREP_found && break 3
43924568 done
43934569 done
4394 done
4570 done
43954571 IFS=$as_save_IFS
43964572 if test -z "$ac_cv_path_EGREP"; then
4397 { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4398 $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4399 { (exit 1); exit 1; }; }
4573 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
44004574 fi
44014575 else
44024576 ac_cv_path_EGREP=$EGREP
44044578
44054579 fi
44064580 fi
4407 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
44084582 $as_echo "$ac_cv_path_EGREP" >&6; }
44094583 EGREP="$ac_cv_path_EGREP"
44104584
44114585
44124586 if test $ac_cv_c_compiler_gnu = yes; then
4413 { $as_echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
44144588 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
4415 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
4589 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
44164590 $as_echo_n "(cached) " >&6
44174591 else
44184592 ac_pattern="Autoconf.*'x'"
4419 cat >conftest.$ac_ext <<_ACEOF
4420 /* confdefs.h. */
4421 _ACEOF
4422 cat confdefs.h >>conftest.$ac_ext
4423 cat >>conftest.$ac_ext <<_ACEOF
4593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44244594 /* end confdefs.h. */
44254595 #include <sgtty.h>
44264596 Autoconf TIOCGETP
44274597 _ACEOF
44284598 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4429 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4599 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
44304600 ac_cv_prog_gcc_traditional=yes
44314601 else
44324602 ac_cv_prog_gcc_traditional=no
44354605
44364606
44374607 if test $ac_cv_prog_gcc_traditional = no; then
4438 cat >conftest.$ac_ext <<_ACEOF
4439 /* confdefs.h. */
4440 _ACEOF
4441 cat confdefs.h >>conftest.$ac_ext
4442 cat >>conftest.$ac_ext <<_ACEOF
4608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44434609 /* end confdefs.h. */
44444610 #include <termio.h>
44454611 Autoconf TCGETA
44464612 _ACEOF
44474613 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4448 $EGREP "$ac_pattern" >/dev/null 2>&1; then
4614 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
44494615 ac_cv_prog_gcc_traditional=yes
44504616 fi
44514617 rm -f conftest*
44524618
44534619 fi
44544620 fi
4455 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
4621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
44564622 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
44574623 if test $ac_cv_prog_gcc_traditional = yes; then
44584624 CC="$CC -traditional"
44594625 fi
44604626 fi
44614627
4462 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
44634629 $as_echo_n "checking for ANSI C header files... " >&6; }
4464 if test "${ac_cv_header_stdc+set}" = set; then
4630 if test "${ac_cv_header_stdc+set}" = set; then :
44654631 $as_echo_n "(cached) " >&6
44664632 else
4467 cat >conftest.$ac_ext <<_ACEOF
4468 /* confdefs.h. */
4469 _ACEOF
4470 cat confdefs.h >>conftest.$ac_ext
4471 cat >>conftest.$ac_ext <<_ACEOF
4633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44724634 /* end confdefs.h. */
44734635 #include <stdlib.h>
44744636 #include <stdarg.h>
44834645 return 0;
44844646 }
44854647 _ACEOF
4486 rm -f conftest.$ac_objext
4487 if { (ac_try="$ac_compile"
4488 case "(($ac_try" in
4489 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4490 *) ac_try_echo=$ac_try;;
4491 esac
4492 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4493 $as_echo "$ac_try_echo") >&5
4494 (eval "$ac_compile") 2>conftest.er1
4495 ac_status=$?
4496 grep -v '^ *+' conftest.er1 >conftest.err
4497 rm -f conftest.er1
4498 cat conftest.err >&5
4499 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } && {
4501 test -z "$ac_c_werror_flag" ||
4502 test ! -s conftest.err
4503 } && test -s conftest.$ac_objext; then
4648 if ac_fn_c_try_compile "$LINENO"; then :
45044649 ac_cv_header_stdc=yes
45054650 else
4506 $as_echo "$as_me: failed program was:" >&5
4507 sed 's/^/| /' conftest.$ac_ext >&5
4508
4509 ac_cv_header_stdc=no
4510 fi
4511
4651 ac_cv_header_stdc=no
4652 fi
45124653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45134654
45144655 if test $ac_cv_header_stdc = yes; then
45154656 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4516 cat >conftest.$ac_ext <<_ACEOF
4517 /* confdefs.h. */
4518 _ACEOF
4519 cat confdefs.h >>conftest.$ac_ext
4520 cat >>conftest.$ac_ext <<_ACEOF
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45214658 /* end confdefs.h. */
45224659 #include <string.h>
45234660
45244661 _ACEOF
45254662 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4526 $EGREP "memchr" >/dev/null 2>&1; then
4527 :
4663 $EGREP "memchr" >/dev/null 2>&1; then :
4664
45284665 else
45294666 ac_cv_header_stdc=no
45304667 fi
45344671
45354672 if test $ac_cv_header_stdc = yes; then
45364673 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4537 cat >conftest.$ac_ext <<_ACEOF
4538 /* confdefs.h. */
4539 _ACEOF
4540 cat confdefs.h >>conftest.$ac_ext
4541 cat >>conftest.$ac_ext <<_ACEOF
4674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45424675 /* end confdefs.h. */
45434676 #include <stdlib.h>
45444677
45454678 _ACEOF
45464679 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4547 $EGREP "free" >/dev/null 2>&1; then
4548 :
4680 $EGREP "free" >/dev/null 2>&1; then :
4681
45494682 else
45504683 ac_cv_header_stdc=no
45514684 fi
45554688
45564689 if test $ac_cv_header_stdc = yes; then
45574690 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4558 if test "$cross_compiling" = yes; then
4691 if test "$cross_compiling" = yes; then :
45594692 :
45604693 else
4561 cat >conftest.$ac_ext <<_ACEOF
4562 /* confdefs.h. */
4563 _ACEOF
4564 cat confdefs.h >>conftest.$ac_ext
4565 cat >>conftest.$ac_ext <<_ACEOF
4694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45664695 /* end confdefs.h. */
45674696 #include <ctype.h>
45684697 #include <stdlib.h>
45894718 return 0;
45904719 }
45914720 _ACEOF
4592 rm -f conftest$ac_exeext
4593 if { (ac_try="$ac_link"
4594 case "(($ac_try" in
4595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4596 *) ac_try_echo=$ac_try;;
4597 esac
4598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4599 $as_echo "$ac_try_echo") >&5
4600 (eval "$ac_link") 2>&5
4601 ac_status=$?
4602 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4603 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4604 { (case "(($ac_try" in
4605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4606 *) ac_try_echo=$ac_try;;
4607 esac
4608 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4609 $as_echo "$ac_try_echo") >&5
4610 (eval "$ac_try") 2>&5
4611 ac_status=$?
4612 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4613 (exit $ac_status); }; }; then
4614 :
4615 else
4616 $as_echo "$as_me: program exited with status $ac_status" >&5
4617 $as_echo "$as_me: failed program was:" >&5
4618 sed 's/^/| /' conftest.$ac_ext >&5
4619
4620 ( exit $ac_status )
4621 ac_cv_header_stdc=no
4622 fi
4623 rm -rf conftest.dSYM
4624 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4625 fi
4626
4627
4628 fi
4629 fi
4630 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4721 if ac_fn_c_try_run "$LINENO"; then :
4722
4723 else
4724 ac_cv_header_stdc=no
4725 fi
4726 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4727 conftest.$ac_objext conftest.beam conftest.$ac_ext
4728 fi
4729
4730 fi
4731 fi
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
46314733 $as_echo "$ac_cv_header_stdc" >&6; }
46324734 if test $ac_cv_header_stdc = yes; then
46334735
4634 cat >>confdefs.h <<\_ACEOF
4635 #define STDC_HEADERS 1
4636 _ACEOF
4736 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
46374737
46384738 fi
46394739
46404740 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4641
4642
4643
4644
4645
4646
4647
4648
4649
46504741 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
46514742 inttypes.h stdint.h unistd.h
4652 do
4653 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4654 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
4655 $as_echo_n "checking for $ac_header... " >&6; }
4656 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4657 $as_echo_n "(cached) " >&6
4658 else
4659 cat >conftest.$ac_ext <<_ACEOF
4660 /* confdefs.h. */
4661 _ACEOF
4662 cat confdefs.h >>conftest.$ac_ext
4663 cat >>conftest.$ac_ext <<_ACEOF
4664 /* end confdefs.h. */
4665 $ac_includes_default
4666
4667 #include <$ac_header>
4668 _ACEOF
4669 rm -f conftest.$ac_objext
4670 if { (ac_try="$ac_compile"
4671 case "(($ac_try" in
4672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4673 *) ac_try_echo=$ac_try;;
4674 esac
4675 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4676 $as_echo "$ac_try_echo") >&5
4677 (eval "$ac_compile") 2>conftest.er1
4678 ac_status=$?
4679 grep -v '^ *+' conftest.er1 >conftest.err
4680 rm -f conftest.er1
4681 cat conftest.err >&5
4682 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4683 (exit $ac_status); } && {
4684 test -z "$ac_c_werror_flag" ||
4685 test ! -s conftest.err
4686 } && test -s conftest.$ac_objext; then
4687 eval "$as_ac_Header=yes"
4688 else
4689 $as_echo "$as_me: failed program was:" >&5
4690 sed 's/^/| /' conftest.$ac_ext >&5
4691
4692 eval "$as_ac_Header=no"
4693 fi
4694
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 fi
4697 ac_res=`eval 'as_val=${'$as_ac_Header'}
4698 $as_echo "$as_val"'`
4699 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
4700 $as_echo "$ac_res" >&6; }
4701 as_val=`eval 'as_val=${'$as_ac_Header'}
4702 $as_echo "$as_val"'`
4703 if test "x$as_val" = x""yes; then
4743 do :
4744 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4745 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4746 "
4747 eval as_val=\$$as_ac_Header
4748 if test "x$as_val" = x""yes; then :
47044749 cat >>confdefs.h <<_ACEOF
47054750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
47064751 _ACEOF
47114756
47124757
47134758
4714 if test "${ac_cv_header_minix_config_h+set}" = set; then
4715 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4716 $as_echo_n "checking for minix/config.h... " >&6; }
4717 if test "${ac_cv_header_minix_config_h+set}" = set; then
4759 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4760 if test "x$ac_cv_header_minix_config_h" = x""yes; then :
4761 MINIX=yes
4762 else
4763 MINIX=
4764 fi
4765
4766
4767 if test "$MINIX" = yes; then
4768
4769 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4770
4771
4772 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4773
4774
4775 $as_echo "#define _MINIX 1" >>confdefs.h
4776
4777 fi
4778
4779
4780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4781 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4782 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then :
47184783 $as_echo_n "(cached) " >&6
4719 fi
4720 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4721 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4722 else
4723 # Is the header compilable?
4724 { $as_echo "$as_me:$LINENO: checking minix/config.h usability" >&5
4725 $as_echo_n "checking minix/config.h usability... " >&6; }
4726 cat >conftest.$ac_ext <<_ACEOF
4727 /* confdefs.h. */
4728 _ACEOF
4729 cat confdefs.h >>conftest.$ac_ext
4730 cat >>conftest.$ac_ext <<_ACEOF
4731 /* end confdefs.h. */
4732 $ac_includes_default
4733 #include <minix/config.h>
4734 _ACEOF
4735 rm -f conftest.$ac_objext
4736 if { (ac_try="$ac_compile"
4737 case "(($ac_try" in
4738 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4739 *) ac_try_echo=$ac_try;;
4740 esac
4741 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4742 $as_echo "$ac_try_echo") >&5
4743 (eval "$ac_compile") 2>conftest.er1
4744 ac_status=$?
4745 grep -v '^ *+' conftest.er1 >conftest.err
4746 rm -f conftest.er1
4747 cat conftest.err >&5
4748 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4749 (exit $ac_status); } && {
4750 test -z "$ac_c_werror_flag" ||
4751 test ! -s conftest.err
4752 } && test -s conftest.$ac_objext; then
4753 ac_header_compiler=yes
4754 else
4755 $as_echo "$as_me: failed program was:" >&5
4756 sed 's/^/| /' conftest.$ac_ext >&5
4757
4758 ac_header_compiler=no
4759 fi
4760
4761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4762 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4763 $as_echo "$ac_header_compiler" >&6; }
4764
4765 # Is the header present?
4766 { $as_echo "$as_me:$LINENO: checking minix/config.h presence" >&5
4767 $as_echo_n "checking minix/config.h presence... " >&6; }
4768 cat >conftest.$ac_ext <<_ACEOF
4769 /* confdefs.h. */
4770 _ACEOF
4771 cat confdefs.h >>conftest.$ac_ext
4772 cat >>conftest.$ac_ext <<_ACEOF
4773 /* end confdefs.h. */
4774 #include <minix/config.h>
4775 _ACEOF
4776 if { (ac_try="$ac_cpp conftest.$ac_ext"
4777 case "(($ac_try" in
4778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4779 *) ac_try_echo=$ac_try;;
4780 esac
4781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4782 $as_echo "$ac_try_echo") >&5
4783 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4784 ac_status=$?
4785 grep -v '^ *+' conftest.er1 >conftest.err
4786 rm -f conftest.er1
4787 cat conftest.err >&5
4788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4789 (exit $ac_status); } >/dev/null && {
4790 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
4791 test ! -s conftest.err
4792 }; then
4793 ac_header_preproc=yes
4794 else
4795 $as_echo "$as_me: failed program was:" >&5
4796 sed 's/^/| /' conftest.$ac_ext >&5
4797
4798 ac_header_preproc=no
4799 fi
4800
4801 rm -f conftest.err conftest.$ac_ext
4802 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4803 $as_echo "$ac_header_preproc" >&6; }
4804
4805 # So? What about this header?
4806 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4807 yes:no: )
4808 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&5
4809 $as_echo "$as_me: WARNING: minix/config.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
4810 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the compiler's result" >&5
4811 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the compiler's result" >&2;}
4812 ac_header_preproc=yes
4813 ;;
4814 no:yes:* )
4815 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: present but cannot be compiled" >&5
4816 $as_echo "$as_me: WARNING: minix/config.h: present but cannot be compiled" >&2;}
4817 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: check for missing prerequisite headers?" >&5
4818 $as_echo "$as_me: WARNING: minix/config.h: check for missing prerequisite headers?" >&2;}
4819 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: see the Autoconf documentation" >&5
4820 $as_echo "$as_me: WARNING: minix/config.h: see the Autoconf documentation" >&2;}
4821 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&5
4822 $as_echo "$as_me: WARNING: minix/config.h: section \"Present But Cannot Be Compiled\"" >&2;}
4823 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: proceeding with the preprocessor's result" >&5
4824 $as_echo "$as_me: WARNING: minix/config.h: proceeding with the preprocessor's result" >&2;}
4825 { $as_echo "$as_me:$LINENO: WARNING: minix/config.h: in the future, the compiler will take precedence" >&5
4826 $as_echo "$as_me: WARNING: minix/config.h: in the future, the compiler will take precedence" >&2;}
4827 ( cat <<\_ASBOX
4828 ## ---------------------------------------------------- ##
4829 ## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
4830 ## ---------------------------------------------------- ##
4831 _ASBOX
4832 ) | sed "s/^/$as_me: WARNING: /" >&2
4833 ;;
4834 esac
4835 { $as_echo "$as_me:$LINENO: checking for minix/config.h" >&5
4836 $as_echo_n "checking for minix/config.h... " >&6; }
4837 if test "${ac_cv_header_minix_config_h+set}" = set; then
4838 $as_echo_n "(cached) " >&6
4839 else
4840 ac_cv_header_minix_config_h=$ac_header_preproc
4841 fi
4842 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_minix_config_h" >&5
4843 $as_echo "$ac_cv_header_minix_config_h" >&6; }
4844
4845 fi
4846 if test "x$ac_cv_header_minix_config_h" = x""yes; then
4847 MINIX=yes
4848 else
4849 MINIX=
4850 fi
4851
4852
4853 if test "$MINIX" = yes; then
4854
4855 cat >>confdefs.h <<\_ACEOF
4856 #define _POSIX_SOURCE 1
4857 _ACEOF
4858
4859
4860 cat >>confdefs.h <<\_ACEOF
4861 #define _POSIX_1_SOURCE 2
4862 _ACEOF
4863
4864
4865 cat >>confdefs.h <<\_ACEOF
4866 #define _MINIX 1
4867 _ACEOF
4868
4869 fi
4870
4871
4872
4873 { $as_echo "$as_me:$LINENO: checking whether it is safe to define __EXTENSIONS__" >&5
4874 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4875 if test "${ac_cv_safe_to_define___extensions__+set}" = set; then
4876 $as_echo_n "(cached) " >&6
4877 else
4878 cat >conftest.$ac_ext <<_ACEOF
4879 /* confdefs.h. */
4880 _ACEOF
4881 cat confdefs.h >>conftest.$ac_ext
4882 cat >>conftest.$ac_ext <<_ACEOF
4784 else
4785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48834786 /* end confdefs.h. */
48844787
48854788 # define __EXTENSIONS__ 1
48924795 return 0;
48934796 }
48944797 _ACEOF
4895 rm -f conftest.$ac_objext
4896 if { (ac_try="$ac_compile"
4897 case "(($ac_try" in
4898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4899 *) ac_try_echo=$ac_try;;
4900 esac
4901 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
4902 $as_echo "$ac_try_echo") >&5
4903 (eval "$ac_compile") 2>conftest.er1
4904 ac_status=$?
4905 grep -v '^ *+' conftest.er1 >conftest.err
4906 rm -f conftest.er1
4907 cat conftest.err >&5
4908 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
4909 (exit $ac_status); } && {
4910 test -z "$ac_c_werror_flag" ||
4911 test ! -s conftest.err
4912 } && test -s conftest.$ac_objext; then
4798 if ac_fn_c_try_compile "$LINENO"; then :
49134799 ac_cv_safe_to_define___extensions__=yes
49144800 else
4915 $as_echo "$as_me: failed program was:" >&5
4916 sed 's/^/| /' conftest.$ac_ext >&5
4917
4918 ac_cv_safe_to_define___extensions__=no
4919 fi
4920
4801 ac_cv_safe_to_define___extensions__=no
4802 fi
49214803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49224804 fi
4923 { $as_echo "$as_me:$LINENO: result: $ac_cv_safe_to_define___extensions__" >&5
4805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
49244806 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
49254807 test $ac_cv_safe_to_define___extensions__ = yes &&
4926 cat >>confdefs.h <<\_ACEOF
4927 #define __EXTENSIONS__ 1
4928 _ACEOF
4929
4930 cat >>confdefs.h <<\_ACEOF
4931 #define _ALL_SOURCE 1
4932 _ACEOF
4933
4934 cat >>confdefs.h <<\_ACEOF
4935 #define _GNU_SOURCE 1
4936 _ACEOF
4937
4938 cat >>confdefs.h <<\_ACEOF
4939 #define _POSIX_PTHREAD_SEMANTICS 1
4940 _ACEOF
4941
4942 cat >>confdefs.h <<\_ACEOF
4943 #define _TANDEM_SOURCE 1
4944 _ACEOF
4808 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4809
4810 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4811
4812 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4813
4814 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4815
4816 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
49454817
49464818
49474819
49614833 do
49624834 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
49634835 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4964 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
49654837 $as_echo_n "checking for $ac_word... " >&6; }
4966 if test "${ac_cv_prog_CXX+set}" = set; then
4838 if test "${ac_cv_prog_CXX+set}" = set; then :
49674839 $as_echo_n "(cached) " >&6
49684840 else
49694841 if test -n "$CXX"; then
49744846 do
49754847 IFS=$as_save_IFS
49764848 test -z "$as_dir" && as_dir=.
4977 for ac_exec_ext in '' $ac_executable_extensions; do
4849 for ac_exec_ext in '' $ac_executable_extensions; do
49784850 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49794851 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4980 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4852 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
49814853 break 2
49824854 fi
49834855 done
4984 done
4856 done
49854857 IFS=$as_save_IFS
49864858
49874859 fi
49884860 fi
49894861 CXX=$ac_cv_prog_CXX
49904862 if test -n "$CXX"; then
4991 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
4863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
49924864 $as_echo "$CXX" >&6; }
49934865 else
4994 { $as_echo "$as_me:$LINENO: result: no" >&5
4866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
49954867 $as_echo "no" >&6; }
49964868 fi
49974869
50054877 do
50064878 # Extract the first word of "$ac_prog", so it can be a program name with args.
50074879 set dummy $ac_prog; ac_word=$2
5008 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
4880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
50094881 $as_echo_n "checking for $ac_word... " >&6; }
5010 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
4882 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
50114883 $as_echo_n "(cached) " >&6
50124884 else
50134885 if test -n "$ac_ct_CXX"; then
50184890 do
50194891 IFS=$as_save_IFS
50204892 test -z "$as_dir" && as_dir=.
5021 for ac_exec_ext in '' $ac_executable_extensions; do
4893 for ac_exec_ext in '' $ac_executable_extensions; do
50224894 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50234895 ac_cv_prog_ac_ct_CXX="$ac_prog"
5024 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
4896 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
50254897 break 2
50264898 fi
50274899 done
5028 done
4900 done
50294901 IFS=$as_save_IFS
50304902
50314903 fi
50324904 fi
50334905 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
50344906 if test -n "$ac_ct_CXX"; then
5035 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
50364908 $as_echo "$ac_ct_CXX" >&6; }
50374909 else
5038 { $as_echo "$as_me:$LINENO: result: no" >&5
4910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
50394911 $as_echo "no" >&6; }
50404912 fi
50414913
50484920 else
50494921 case $cross_compiling:$ac_tool_warned in
50504922 yes:)
5051 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
50524924 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
50534925 ac_tool_warned=yes ;;
50544926 esac
50594931 fi
50604932 fi
50614933 # Provide some information about the compiler.
5062 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
4934 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
50634935 set X $ac_compile
50644936 ac_compiler=$2
5065 { (ac_try="$ac_compiler --version >&5"
4937 for ac_option in --version -v -V -qversion; do
4938 { { ac_try="$ac_compiler $ac_option >&5"
50664939 case "(($ac_try" in
50674940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
50684941 *) ac_try_echo=$ac_try;;
50694942 esac
5070 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5071 $as_echo "$ac_try_echo") >&5
5072 (eval "$ac_compiler --version >&5") 2>&5
4943 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4944 $as_echo "$ac_try_echo"; } >&5
4945 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
50734946 ac_status=$?
5074 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); }
5076 { (ac_try="$ac_compiler -v >&5"
5077 case "(($ac_try" in
5078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5079 *) ac_try_echo=$ac_try;;
5080 esac
5081 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5082 $as_echo "$ac_try_echo") >&5
5083 (eval "$ac_compiler -v >&5") 2>&5
5084 ac_status=$?
5085 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5086 (exit $ac_status); }
5087 { (ac_try="$ac_compiler -V >&5"
5088 case "(($ac_try" in
5089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5090 *) ac_try_echo=$ac_try;;
5091 esac
5092 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5093 $as_echo "$ac_try_echo") >&5
5094 (eval "$ac_compiler -V >&5") 2>&5
5095 ac_status=$?
5096 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5097 (exit $ac_status); }
5098
5099 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
4947 if test -s conftest.err; then
4948 sed '10a\
4949 ... rest of stderr output deleted ...
4950 10q' conftest.err >conftest.er1
4951 cat conftest.er1 >&5
4952 fi
4953 rm -f conftest.er1 conftest.err
4954 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4955 test $ac_status = 0; }
4956 done
4957
4958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
51004959 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5101 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
4960 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
51024961 $as_echo_n "(cached) " >&6
51034962 else
5104 cat >conftest.$ac_ext <<_ACEOF
5105 /* confdefs.h. */
5106 _ACEOF
5107 cat confdefs.h >>conftest.$ac_ext
5108 cat >>conftest.$ac_ext <<_ACEOF
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51094964 /* end confdefs.h. */
51104965
51114966 int
51194974 return 0;
51204975 }
51214976 _ACEOF
5122 rm -f conftest.$ac_objext
5123 if { (ac_try="$ac_compile"
5124 case "(($ac_try" in
5125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5126 *) ac_try_echo=$ac_try;;
5127 esac
5128 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5129 $as_echo "$ac_try_echo") >&5
5130 (eval "$ac_compile") 2>conftest.er1
5131 ac_status=$?
5132 grep -v '^ *+' conftest.er1 >conftest.err
5133 rm -f conftest.er1
5134 cat conftest.err >&5
5135 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5136 (exit $ac_status); } && {
5137 test -z "$ac_cxx_werror_flag" ||
5138 test ! -s conftest.err
5139 } && test -s conftest.$ac_objext; then
4977 if ac_fn_cxx_try_compile "$LINENO"; then :
51404978 ac_compiler_gnu=yes
51414979 else
5142 $as_echo "$as_me: failed program was:" >&5
5143 sed 's/^/| /' conftest.$ac_ext >&5
5144
5145 ac_compiler_gnu=no
5146 fi
5147
4980 ac_compiler_gnu=no
4981 fi
51484982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51494983 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
51504984
51514985 fi
5152 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
51534987 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
51544988 if test $ac_compiler_gnu = yes; then
51554989 GXX=yes
51584992 fi
51594993 ac_test_CXXFLAGS=${CXXFLAGS+set}
51604994 ac_save_CXXFLAGS=$CXXFLAGS
5161 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
4995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
51624996 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5163 if test "${ac_cv_prog_cxx_g+set}" = set; then
4997 if test "${ac_cv_prog_cxx_g+set}" = set; then :
51644998 $as_echo_n "(cached) " >&6
51654999 else
51665000 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
51675001 ac_cxx_werror_flag=yes
51685002 ac_cv_prog_cxx_g=no
51695003 CXXFLAGS="-g"
5170 cat >conftest.$ac_ext <<_ACEOF
5171 /* confdefs.h. */
5172 _ACEOF
5173 cat confdefs.h >>conftest.$ac_ext
5174 cat >>conftest.$ac_ext <<_ACEOF
5004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51755005 /* end confdefs.h. */
51765006
51775007 int
51825012 return 0;
51835013 }
51845014 _ACEOF
5185 rm -f conftest.$ac_objext
5186 if { (ac_try="$ac_compile"
5187 case "(($ac_try" in
5188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5189 *) ac_try_echo=$ac_try;;
5190 esac
5191 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5192 $as_echo "$ac_try_echo") >&5
5193 (eval "$ac_compile") 2>conftest.er1
5194 ac_status=$?
5195 grep -v '^ *+' conftest.er1 >conftest.err
5196 rm -f conftest.er1
5197 cat conftest.err >&5
5198 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5199 (exit $ac_status); } && {
5200 test -z "$ac_cxx_werror_flag" ||
5201 test ! -s conftest.err
5202 } && test -s conftest.$ac_objext; then
5015 if ac_fn_cxx_try_compile "$LINENO"; then :
52035016 ac_cv_prog_cxx_g=yes
52045017 else
5205 $as_echo "$as_me: failed program was:" >&5
5206 sed 's/^/| /' conftest.$ac_ext >&5
5207
5208 CXXFLAGS=""
5209 cat >conftest.$ac_ext <<_ACEOF
5210 /* confdefs.h. */
5211 _ACEOF
5212 cat confdefs.h >>conftest.$ac_ext
5213 cat >>conftest.$ac_ext <<_ACEOF
5018 CXXFLAGS=""
5019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52145020 /* end confdefs.h. */
52155021
52165022 int
52215027 return 0;
52225028 }
52235029 _ACEOF
5224 rm -f conftest.$ac_objext
5225 if { (ac_try="$ac_compile"
5226 case "(($ac_try" in
5227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5228 *) ac_try_echo=$ac_try;;
5229 esac
5230 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5231 $as_echo "$ac_try_echo") >&5
5232 (eval "$ac_compile") 2>conftest.er1
5233 ac_status=$?
5234 grep -v '^ *+' conftest.er1 >conftest.err
5235 rm -f conftest.er1
5236 cat conftest.err >&5
5237 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); } && {
5239 test -z "$ac_cxx_werror_flag" ||
5240 test ! -s conftest.err
5241 } && test -s conftest.$ac_objext; then
5242 :
5243 else
5244 $as_echo "$as_me: failed program was:" >&5
5245 sed 's/^/| /' conftest.$ac_ext >&5
5246
5247 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5030 if ac_fn_cxx_try_compile "$LINENO"; then :
5031
5032 else
5033 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
52485034 CXXFLAGS="-g"
5249 cat >conftest.$ac_ext <<_ACEOF
5250 /* confdefs.h. */
5251 _ACEOF
5252 cat confdefs.h >>conftest.$ac_ext
5253 cat >>conftest.$ac_ext <<_ACEOF
5035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52545036 /* end confdefs.h. */
52555037
52565038 int
52615043 return 0;
52625044 }
52635045 _ACEOF
5264 rm -f conftest.$ac_objext
5265 if { (ac_try="$ac_compile"
5266 case "(($ac_try" in
5267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5268 *) ac_try_echo=$ac_try;;
5269 esac
5270 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
5271 $as_echo "$ac_try_echo") >&5
5272 (eval "$ac_compile") 2>conftest.er1
5273 ac_status=$?
5274 grep -v '^ *+' conftest.er1 >conftest.err
5275 rm -f conftest.er1
5276 cat conftest.err >&5
5277 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
5278 (exit $ac_status); } && {
5279 test -z "$ac_cxx_werror_flag" ||
5280 test ! -s conftest.err
5281 } && test -s conftest.$ac_objext; then
5046 if ac_fn_cxx_try_compile "$LINENO"; then :
52825047 ac_cv_prog_cxx_g=yes
5283 else
5284 $as_echo "$as_me: failed program was:" >&5
5285 sed 's/^/| /' conftest.$ac_ext >&5
5286
5287
5288 fi
5289
5048 fi
52905049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52915050 fi
5292
52935051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52945052 fi
5295
52965053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52975054 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
52985055 fi
5299 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
5056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
53005057 $as_echo "$ac_cv_prog_cxx_g" >&6; }
53015058 if test "$ac_test_CXXFLAGS" = set; then
53025059 CXXFLAGS=$ac_save_CXXFLAGS
53215078
53225079 depcc="$CXX" am_compiler_list=
53235080
5324 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
5081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
53255082 $as_echo_n "checking dependency style of $depcc... " >&6; }
5326 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
5083 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
53275084 $as_echo_n "(cached) " >&6
53285085 else
53295086 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
54315188 fi
54325189
54335190 fi
5434 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
5191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
54355192 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
54365193 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
54375194
54505207 # GCC flags
54515208
54525209 test_gcc_flag() {
5453 cat >conftest.$ac_ext <<_ACEOF
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
54545212 int main(int argc, char*argv) {}
54555213 _ACEOF
54565214 $CC -c conftest.c $CFLAGS "$1" -o conftest.o > /dev/null 2> /dev/null
54675225 DESIRED_FLAGS="-std=gnu99 -Wall -W -Wextra -pedantic -pipe -Wformat -Wold-style-definition -Wdeclaration-after-statement -Wfloat-equal -Wmissing-declarations -Wmissing-prototypes -Wstrict-prototypes -Wredundant-decls -Wmissing-noreturn -Wshadow -Wendif-labels -Wpointer-arith -Wcast-align -Wwrite-strings -Winline -Wno-unused-parameter -ffast-math"
54685226
54695227 for flag in $DESIRED_FLAGS ; do
5470 { $as_echo "$as_me:$LINENO: checking whether $CC accepts $flag" >&5
5228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts $flag" >&5
54715229 $as_echo_n "checking whether $CC accepts $flag... " >&6; }
54725230 if test_gcc_flag $flag ; then
54735231 CFLAGS="$CFLAGS $flag"
54745232 CXXFLAGS="$CXXFLAGS $flag"
5475 { $as_echo "$as_me:$LINENO: result: yes" >&5
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
54765234 $as_echo "yes" >&6; }
54775235 else
5478 { $as_echo "$as_me:$LINENO: result: no" >&5
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
54795237 $as_echo "no" >&6; }
54805238 fi
54815239 done
54855243
54865244 case `pwd` in
54875245 *\ * | *\ *)
5488 { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
54895247 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
54905248 esac
54915249
54925250
54935251
5494 macro_version='2.2.6'
5495 macro_revision='1.3012'
5252 macro_version='2.2.6b'
5253 macro_revision='1.3017'
54965254
54975255
54985256
55085266
55095267 ltmain="$ac_aux_dir/ltmain.sh"
55105268
5511 { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
55125270 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5513 if test "${ac_cv_path_SED+set}" = set; then
5271 if test "${ac_cv_path_SED+set}" = set; then :
55145272 $as_echo_n "(cached) " >&6
55155273 else
55165274 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
55185276 ac_script="$ac_script$as_nl$ac_script"
55195277 done
55205278 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5521 $as_unset ac_script || ac_script=
5279 { ac_script=; unset ac_script;}
55225280 if test -z "$SED"; then
55235281 ac_path_SED_found=false
55245282 # Loop through the user's path and test for each of PROGNAME-LIST
55275285 do
55285286 IFS=$as_save_IFS
55295287 test -z "$as_dir" && as_dir=.
5530 for ac_prog in sed gsed; do
5288 for ac_prog in sed gsed; do
55315289 for ac_exec_ext in '' $ac_executable_extensions; do
55325290 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
55335291 { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
55475305 $as_echo '' >> "conftest.nl"
55485306 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
55495307 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5550 ac_count=`expr $ac_count + 1`
5308 as_fn_arith $ac_count + 1 && ac_count=$as_val
55515309 if test $ac_count -gt ${ac_path_SED_max-0}; then
55525310 # Best one so far, save it but keep looking for a better one
55535311 ac_cv_path_SED="$ac_path_SED"
55625320 $ac_path_SED_found && break 3
55635321 done
55645322 done
5565 done
5323 done
55665324 IFS=$as_save_IFS
55675325 if test -z "$ac_cv_path_SED"; then
5568 { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
5569 $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
5570 { (exit 1); exit 1; }; }
5326 as_fn_error "no acceptable sed could be found in \$PATH" "$LINENO" 5
55715327 fi
55725328 else
55735329 ac_cv_path_SED=$SED
55745330 fi
55755331
55765332 fi
5577 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
5333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
55785334 $as_echo "$ac_cv_path_SED" >&6; }
55795335 SED="$ac_cv_path_SED"
55805336 rm -f conftest.sed
55925348
55935349
55945350
5595 { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
5351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
55965352 $as_echo_n "checking for fgrep... " >&6; }
5597 if test "${ac_cv_path_FGREP+set}" = set; then
5353 if test "${ac_cv_path_FGREP+set}" = set; then :
55985354 $as_echo_n "(cached) " >&6
55995355 else
56005356 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
56085364 do
56095365 IFS=$as_save_IFS
56105366 test -z "$as_dir" && as_dir=.
5611 for ac_prog in fgrep; do
5367 for ac_prog in fgrep; do
56125368 for ac_exec_ext in '' $ac_executable_extensions; do
56135369 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
56145370 { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
56285384 $as_echo 'FGREP' >> "conftest.nl"
56295385 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
56305386 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5631 ac_count=`expr $ac_count + 1`
5387 as_fn_arith $ac_count + 1 && ac_count=$as_val
56325388 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
56335389 # Best one so far, save it but keep looking for a better one
56345390 ac_cv_path_FGREP="$ac_path_FGREP"
56435399 $ac_path_FGREP_found && break 3
56445400 done
56455401 done
5646 done
5402 done
56475403 IFS=$as_save_IFS
56485404 if test -z "$ac_cv_path_FGREP"; then
5649 { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
5650 $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
5651 { (exit 1); exit 1; }; }
5405 as_fn_error "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
56525406 fi
56535407 else
56545408 ac_cv_path_FGREP=$FGREP
56565410
56575411 fi
56585412 fi
5659 { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
56605414 $as_echo "$ac_cv_path_FGREP" >&6; }
56615415 FGREP="$ac_cv_path_FGREP"
56625416
56825436
56835437
56845438 # Check whether --with-gnu-ld was given.
5685 if test "${with_gnu_ld+set}" = set; then
5439 if test "${with_gnu_ld+set}" = set; then :
56865440 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
56875441 else
56885442 with_gnu_ld=no
56915445 ac_prog=ld
56925446 if test "$GCC" = yes; then
56935447 # Check if gcc -print-prog-name=ld gives a path.
5694 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
56955449 $as_echo_n "checking for ld used by $CC... " >&6; }
56965450 case $host in
56975451 *-*-mingw*)
57215475 ;;
57225476 esac
57235477 elif test "$with_gnu_ld" = yes; then
5724 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
57255479 $as_echo_n "checking for GNU ld... " >&6; }
57265480 else
5727 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
5481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
57285482 $as_echo_n "checking for non-GNU ld... " >&6; }
57295483 fi
5730 if test "${lt_cv_path_LD+set}" = set; then
5484 if test "${lt_cv_path_LD+set}" = set; then :
57315485 $as_echo_n "(cached) " >&6
57325486 else
57335487 if test -z "$LD"; then
57585512
57595513 LD="$lt_cv_path_LD"
57605514 if test -n "$LD"; then
5761 { $as_echo "$as_me:$LINENO: result: $LD" >&5
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
57625516 $as_echo "$LD" >&6; }
57635517 else
5764 { $as_echo "$as_me:$LINENO: result: no" >&5
5518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
57655519 $as_echo "no" >&6; }
57665520 fi
5767 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
5768 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
5769 { (exit 1); exit 1; }; }
5770 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
5521 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
57715523 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5772 if test "${lt_cv_prog_gnu_ld+set}" = set; then
5524 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
57735525 $as_echo_n "(cached) " >&6
57745526 else
57755527 # I'd rather use --version here, but apparently some GNU lds only accept -v.
57825534 ;;
57835535 esac
57845536 fi
5785 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
57865538 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
57875539 with_gnu_ld=$lt_cv_prog_gnu_ld
57885540
57945546
57955547
57965548
5797 { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
57985550 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
5799 if test "${lt_cv_path_NM+set}" = set; then
5551 if test "${lt_cv_path_NM+set}" = set; then :
58005552 $as_echo_n "(cached) " >&6
58015553 else
58025554 if test -n "$NM"; then
58435595 : ${lt_cv_path_NM=no}
58445596 fi
58455597 fi
5846 { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
5598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
58475599 $as_echo "$lt_cv_path_NM" >&6; }
58485600 if test "$lt_cv_path_NM" != "no"; then
58495601 NM="$lt_cv_path_NM"
58545606 do
58555607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
58565608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5857 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
58585610 $as_echo_n "checking for $ac_word... " >&6; }
5859 if test "${ac_cv_prog_DUMPBIN+set}" = set; then
5611 if test "${ac_cv_prog_DUMPBIN+set}" = set; then :
58605612 $as_echo_n "(cached) " >&6
58615613 else
58625614 if test -n "$DUMPBIN"; then
58675619 do
58685620 IFS=$as_save_IFS
58695621 test -z "$as_dir" && as_dir=.
5870 for ac_exec_ext in '' $ac_executable_extensions; do
5622 for ac_exec_ext in '' $ac_executable_extensions; do
58715623 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
58725624 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
5873 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5625 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
58745626 break 2
58755627 fi
58765628 done
5877 done
5629 done
58785630 IFS=$as_save_IFS
58795631
58805632 fi
58815633 fi
58825634 DUMPBIN=$ac_cv_prog_DUMPBIN
58835635 if test -n "$DUMPBIN"; then
5884 { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
58855637 $as_echo "$DUMPBIN" >&6; }
58865638 else
5887 { $as_echo "$as_me:$LINENO: result: no" >&5
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
58885640 $as_echo "no" >&6; }
58895641 fi
58905642
58985650 do
58995651 # Extract the first word of "$ac_prog", so it can be a program name with args.
59005652 set dummy $ac_prog; ac_word=$2
5901 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
59025654 $as_echo_n "checking for $ac_word... " >&6; }
5903 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
5655 if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then :
59045656 $as_echo_n "(cached) " >&6
59055657 else
59065658 if test -n "$ac_ct_DUMPBIN"; then
59115663 do
59125664 IFS=$as_save_IFS
59135665 test -z "$as_dir" && as_dir=.
5914 for ac_exec_ext in '' $ac_executable_extensions; do
5666 for ac_exec_ext in '' $ac_executable_extensions; do
59155667 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
59165668 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
5917 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5669 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
59185670 break 2
59195671 fi
59205672 done
5921 done
5673 done
59225674 IFS=$as_save_IFS
59235675
59245676 fi
59255677 fi
59265678 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
59275679 if test -n "$ac_ct_DUMPBIN"; then
5928 { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
5680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
59295681 $as_echo "$ac_ct_DUMPBIN" >&6; }
59305682 else
5931 { $as_echo "$as_me:$LINENO: result: no" >&5
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
59325684 $as_echo "no" >&6; }
59335685 fi
59345686
59415693 else
59425694 case $cross_compiling:$ac_tool_warned in
59435695 yes:)
5944 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
5696 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
59455697 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
59465698 ac_tool_warned=yes ;;
59475699 esac
59615713
59625714
59635715
5964 { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
59655717 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
5966 if test "${lt_cv_nm_interface+set}" = set; then
5718 if test "${lt_cv_nm_interface+set}" = set; then :
59675719 $as_echo_n "(cached) " >&6
59685720 else
59695721 lt_cv_nm_interface="BSD nm"
59705722 echo "int some_variable = 0;" > conftest.$ac_ext
5971 (eval echo "\"\$as_me:5972: $ac_compile\"" >&5)
5723 (eval echo "\"\$as_me:5724: $ac_compile\"" >&5)
59725724 (eval "$ac_compile" 2>conftest.err)
59735725 cat conftest.err >&5
5974 (eval echo "\"\$as_me:5975: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
5726 (eval echo "\"\$as_me:5727: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
59755727 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
59765728 cat conftest.err >&5
5977 (eval echo "\"\$as_me:5978: output\"" >&5)
5729 (eval echo "\"\$as_me:5730: output\"" >&5)
59785730 cat conftest.out >&5
59795731 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
59805732 lt_cv_nm_interface="MS dumpbin"
59815733 fi
59825734 rm -f conftest*
59835735 fi
5984 { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
5736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
59855737 $as_echo "$lt_cv_nm_interface" >&6; }
59865738
5987 { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
59885740 $as_echo_n "checking whether ln -s works... " >&6; }
59895741 LN_S=$as_ln_s
59905742 if test "$LN_S" = "ln -s"; then
5991 { $as_echo "$as_me:$LINENO: result: yes" >&5
5743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
59925744 $as_echo "yes" >&6; }
59935745 else
5994 { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
5746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
59955747 $as_echo "no, using $LN_S" >&6; }
59965748 fi
59975749
59985750 # find the maximum length of command line arguments
5999 { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
60005752 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6001 if test "${lt_cv_sys_max_cmd_len+set}" = set; then
5753 if test "${lt_cv_sys_max_cmd_len+set}" = set; then :
60025754 $as_echo_n "(cached) " >&6
60035755 else
60045756 i=0
61165868 fi
61175869
61185870 if test -n $lt_cv_sys_max_cmd_len ; then
6119 { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
5871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
61205872 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
61215873 else
6122 { $as_echo "$as_me:$LINENO: result: none" >&5
5874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
61235875 $as_echo "none" >&6; }
61245876 fi
61255877 max_cmd_len=$lt_cv_sys_max_cmd_len
61335885 : ${MV="mv -f"}
61345886 : ${RM="rm -f"}
61355887
6136 { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
5888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
61375889 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
61385890 # Try some XSI features
61395891 xsi_shell=no
61435895 && eval 'test $(( 1 + 1 )) -eq 2 \
61445896 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
61455897 && xsi_shell=yes
6146 { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
61475899 $as_echo "$xsi_shell" >&6; }
61485900
61495901
6150 { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
5902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
61515903 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
61525904 lt_shell_append=no
61535905 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
61545906 >/dev/null 2>&1 \
61555907 && lt_shell_append=yes
6156 { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
5908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
61575909 $as_echo "$lt_shell_append" >&6; }
61585910
61595911
61885940
61895941
61905942
6191 { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
5943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
61925944 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6193 if test "${lt_cv_ld_reload_flag+set}" = set; then
5945 if test "${lt_cv_ld_reload_flag+set}" = set; then :
61945946 $as_echo_n "(cached) " >&6
61955947 else
61965948 lt_cv_ld_reload_flag='-r'
61975949 fi
6198 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
61995951 $as_echo "$lt_cv_ld_reload_flag" >&6; }
62005952 reload_flag=$lt_cv_ld_reload_flag
62015953 case $reload_flag in
62245976 if test -n "$ac_tool_prefix"; then
62255977 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
62265978 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6227 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
5979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
62285980 $as_echo_n "checking for $ac_word... " >&6; }
6229 if test "${ac_cv_prog_OBJDUMP+set}" = set; then
5981 if test "${ac_cv_prog_OBJDUMP+set}" = set; then :
62305982 $as_echo_n "(cached) " >&6
62315983 else
62325984 if test -n "$OBJDUMP"; then
62375989 do
62385990 IFS=$as_save_IFS
62395991 test -z "$as_dir" && as_dir=.
6240 for ac_exec_ext in '' $ac_executable_extensions; do
5992 for ac_exec_ext in '' $ac_executable_extensions; do
62415993 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
62425994 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6243 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
5995 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
62445996 break 2
62455997 fi
62465998 done
6247 done
5999 done
62486000 IFS=$as_save_IFS
62496001
62506002 fi
62516003 fi
62526004 OBJDUMP=$ac_cv_prog_OBJDUMP
62536005 if test -n "$OBJDUMP"; then
6254 { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
62556007 $as_echo "$OBJDUMP" >&6; }
62566008 else
6257 { $as_echo "$as_me:$LINENO: result: no" >&5
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
62586010 $as_echo "no" >&6; }
62596011 fi
62606012
62646016 ac_ct_OBJDUMP=$OBJDUMP
62656017 # Extract the first word of "objdump", so it can be a program name with args.
62666018 set dummy objdump; ac_word=$2
6267 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
62686020 $as_echo_n "checking for $ac_word... " >&6; }
6269 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
6021 if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then :
62706022 $as_echo_n "(cached) " >&6
62716023 else
62726024 if test -n "$ac_ct_OBJDUMP"; then
62776029 do
62786030 IFS=$as_save_IFS
62796031 test -z "$as_dir" && as_dir=.
6280 for ac_exec_ext in '' $ac_executable_extensions; do
6032 for ac_exec_ext in '' $ac_executable_extensions; do
62816033 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
62826034 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6283 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
62846036 break 2
62856037 fi
62866038 done
6287 done
6039 done
62886040 IFS=$as_save_IFS
62896041
62906042 fi
62916043 fi
62926044 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
62936045 if test -n "$ac_ct_OBJDUMP"; then
6294 { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
62956047 $as_echo "$ac_ct_OBJDUMP" >&6; }
62966048 else
6297 { $as_echo "$as_me:$LINENO: result: no" >&5
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
62986050 $as_echo "no" >&6; }
62996051 fi
63006052
63036055 else
63046056 case $cross_compiling:$ac_tool_warned in
63056057 yes:)
6306 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
63076059 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
63086060 ac_tool_warned=yes ;;
63096061 esac
63236075
63246076
63256077
6326 { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
6078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
63276079 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6328 if test "${lt_cv_deplibs_check_method+set}" = set; then
6080 if test "${lt_cv_deplibs_check_method+set}" = set; then :
63296081 $as_echo_n "(cached) " >&6
63306082 else
63316083 lt_cv_file_magic_cmd='$MAGIC_CMD'
64406192 ;;
64416193
64426194 # This must be Linux ELF.
6443 linux* | k*bsd*-gnu)
6195 linux* | k*bsd*-gnu | kopensolaris*-gnu)
64446196 lt_cv_deplibs_check_method=pass_all
64456197 ;;
64466198
6447 netbsd*)
6199 netbsd* | netbsdelf*-gnu)
64486200 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
64496201 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
64506202 else
65196271 esac
65206272
65216273 fi
6522 { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
65236275 $as_echo "$lt_cv_deplibs_check_method" >&6; }
65246276 file_magic_cmd=$lt_cv_file_magic_cmd
65256277 deplibs_check_method=$lt_cv_deplibs_check_method
65396291 if test -n "$ac_tool_prefix"; then
65406292 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
65416293 set dummy ${ac_tool_prefix}ar; ac_word=$2
6542 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65436295 $as_echo_n "checking for $ac_word... " >&6; }
6544 if test "${ac_cv_prog_AR+set}" = set; then
6296 if test "${ac_cv_prog_AR+set}" = set; then :
65456297 $as_echo_n "(cached) " >&6
65466298 else
65476299 if test -n "$AR"; then
65526304 do
65536305 IFS=$as_save_IFS
65546306 test -z "$as_dir" && as_dir=.
6555 for ac_exec_ext in '' $ac_executable_extensions; do
6307 for ac_exec_ext in '' $ac_executable_extensions; do
65566308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65576309 ac_cv_prog_AR="${ac_tool_prefix}ar"
6558 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65596311 break 2
65606312 fi
65616313 done
6562 done
6314 done
65636315 IFS=$as_save_IFS
65646316
65656317 fi
65666318 fi
65676319 AR=$ac_cv_prog_AR
65686320 if test -n "$AR"; then
6569 { $as_echo "$as_me:$LINENO: result: $AR" >&5
6321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
65706322 $as_echo "$AR" >&6; }
65716323 else
6572 { $as_echo "$as_me:$LINENO: result: no" >&5
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
65736325 $as_echo "no" >&6; }
65746326 fi
65756327
65796331 ac_ct_AR=$AR
65806332 # Extract the first word of "ar", so it can be a program name with args.
65816333 set dummy ar; ac_word=$2
6582 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
65836335 $as_echo_n "checking for $ac_word... " >&6; }
6584 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
6336 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then :
65856337 $as_echo_n "(cached) " >&6
65866338 else
65876339 if test -n "$ac_ct_AR"; then
65926344 do
65936345 IFS=$as_save_IFS
65946346 test -z "$as_dir" && as_dir=.
6595 for ac_exec_ext in '' $ac_executable_extensions; do
6347 for ac_exec_ext in '' $ac_executable_extensions; do
65966348 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
65976349 ac_cv_prog_ac_ct_AR="ar"
6598 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
65996351 break 2
66006352 fi
66016353 done
6602 done
6354 done
66036355 IFS=$as_save_IFS
66046356
66056357 fi
66066358 fi
66076359 ac_ct_AR=$ac_cv_prog_ac_ct_AR
66086360 if test -n "$ac_ct_AR"; then
6609 { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
66106362 $as_echo "$ac_ct_AR" >&6; }
66116363 else
6612 { $as_echo "$as_me:$LINENO: result: no" >&5
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66136365 $as_echo "no" >&6; }
66146366 fi
66156367
66186370 else
66196371 case $cross_compiling:$ac_tool_warned in
66206372 yes:)
6621 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
66226374 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
66236375 ac_tool_warned=yes ;;
66246376 esac
66446396 if test -n "$ac_tool_prefix"; then
66456397 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
66466398 set dummy ${ac_tool_prefix}strip; ac_word=$2
6647 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66486400 $as_echo_n "checking for $ac_word... " >&6; }
6649 if test "${ac_cv_prog_STRIP+set}" = set; then
6401 if test "${ac_cv_prog_STRIP+set}" = set; then :
66506402 $as_echo_n "(cached) " >&6
66516403 else
66526404 if test -n "$STRIP"; then
66576409 do
66586410 IFS=$as_save_IFS
66596411 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6412 for ac_exec_ext in '' $ac_executable_extensions; do
66616413 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
66626414 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6663 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6415 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
66646416 break 2
66656417 fi
66666418 done
6667 done
6419 done
66686420 IFS=$as_save_IFS
66696421
66706422 fi
66716423 fi
66726424 STRIP=$ac_cv_prog_STRIP
66736425 if test -n "$STRIP"; then
6674 { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
66756427 $as_echo "$STRIP" >&6; }
66766428 else
6677 { $as_echo "$as_me:$LINENO: result: no" >&5
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
66786430 $as_echo "no" >&6; }
66796431 fi
66806432
66846436 ac_ct_STRIP=$STRIP
66856437 # Extract the first word of "strip", so it can be a program name with args.
66866438 set dummy strip; ac_word=$2
6687 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
66886440 $as_echo_n "checking for $ac_word... " >&6; }
6689 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
6441 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
66906442 $as_echo_n "(cached) " >&6
66916443 else
66926444 if test -n "$ac_ct_STRIP"; then
66976449 do
66986450 IFS=$as_save_IFS
66996451 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6452 for ac_exec_ext in '' $ac_executable_extensions; do
67016453 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
67026454 ac_cv_prog_ac_ct_STRIP="strip"
6703 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6455 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
67046456 break 2
67056457 fi
67066458 done
6707 done
6459 done
67086460 IFS=$as_save_IFS
67096461
67106462 fi
67116463 fi
67126464 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
67136465 if test -n "$ac_ct_STRIP"; then
6714 { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
67156467 $as_echo "$ac_ct_STRIP" >&6; }
67166468 else
6717 { $as_echo "$as_me:$LINENO: result: no" >&5
6469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67186470 $as_echo "no" >&6; }
67196471 fi
67206472
67236475 else
67246476 case $cross_compiling:$ac_tool_warned in
67256477 yes:)
6726 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
67276479 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
67286480 ac_tool_warned=yes ;;
67296481 esac
67436495 if test -n "$ac_tool_prefix"; then
67446496 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
67456497 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6746 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67476499 $as_echo_n "checking for $ac_word... " >&6; }
6748 if test "${ac_cv_prog_RANLIB+set}" = set; then
6500 if test "${ac_cv_prog_RANLIB+set}" = set; then :
67496501 $as_echo_n "(cached) " >&6
67506502 else
67516503 if test -n "$RANLIB"; then
67566508 do
67576509 IFS=$as_save_IFS
67586510 test -z "$as_dir" && as_dir=.
6759 for ac_exec_ext in '' $ac_executable_extensions; do
6511 for ac_exec_ext in '' $ac_executable_extensions; do
67606512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
67616513 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6762 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6514 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
67636515 break 2
67646516 fi
67656517 done
6766 done
6518 done
67676519 IFS=$as_save_IFS
67686520
67696521 fi
67706522 fi
67716523 RANLIB=$ac_cv_prog_RANLIB
67726524 if test -n "$RANLIB"; then
6773 { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
6525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
67746526 $as_echo "$RANLIB" >&6; }
67756527 else
6776 { $as_echo "$as_me:$LINENO: result: no" >&5
6528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
67776529 $as_echo "no" >&6; }
67786530 fi
67796531
67836535 ac_ct_RANLIB=$RANLIB
67846536 # Extract the first word of "ranlib", so it can be a program name with args.
67856537 set dummy ranlib; ac_word=$2
6786 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
67876539 $as_echo_n "checking for $ac_word... " >&6; }
6788 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
6540 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then :
67896541 $as_echo_n "(cached) " >&6
67906542 else
67916543 if test -n "$ac_ct_RANLIB"; then
67966548 do
67976549 IFS=$as_save_IFS
67986550 test -z "$as_dir" && as_dir=.
6799 for ac_exec_ext in '' $ac_executable_extensions; do
6551 for ac_exec_ext in '' $ac_executable_extensions; do
68006552 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
68016553 ac_cv_prog_ac_ct_RANLIB="ranlib"
6802 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
6554 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
68036555 break 2
68046556 fi
68056557 done
6806 done
6558 done
68076559 IFS=$as_save_IFS
68086560
68096561 fi
68106562 fi
68116563 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
68126564 if test -n "$ac_ct_RANLIB"; then
6813 { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
6565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
68146566 $as_echo "$ac_ct_RANLIB" >&6; }
68156567 else
6816 { $as_echo "$as_me:$LINENO: result: no" >&5
6568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
68176569 $as_echo "no" >&6; }
68186570 fi
68196571
68226574 else
68236575 case $cross_compiling:$ac_tool_warned in
68246576 yes:)
6825 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
6577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
68266578 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
68276579 ac_tool_warned=yes ;;
68286580 esac
69006652
69016653
69026654 # Check for command to grab the raw symbol name followed by C symbol from nm.
6903 { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
6655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
69046656 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
6905 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
6657 if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then :
69066658 $as_echo_n "(cached) " >&6
69076659 else
69086660
70186770 int main(){nm_test_var='a';nm_test_func();return(0);}
70196771 _LT_EOF
70206772
7021 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6773 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
70226774 (eval $ac_compile) 2>&5
70236775 ac_status=$?
7024 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7025 (exit $ac_status); }; then
6776 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6777 test $ac_status = 0; }; then
70266778 # Now try to grab the symbols.
70276779 nlist=conftest.nm
7028 if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
6780 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\""; } >&5
70296781 (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
70306782 ac_status=$?
7031 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7032 (exit $ac_status); } && test -s "$nlist"; then
6783 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6784 test $ac_status = 0; } && test -s "$nlist"; then
70336785 # Try sorting and uniquifying the output.
70346786 if sort "$nlist" | uniq > "$nlist"T; then
70356787 mv -f "$nlist"T "$nlist"
70506802 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
70516803
70526804 cat <<_LT_EOF >> conftest.$ac_ext
6805
70536806 /* The mapping between symbol names and symbols. */
70546807 const struct {
70556808 const char *name;
70816834 lt_save_CFLAGS="$CFLAGS"
70826835 LIBS="conftstm.$ac_objext"
70836836 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7084 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6837 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
70856838 (eval $ac_link) 2>&5
70866839 ac_status=$?
7087 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7088 (exit $ac_status); } && test -s conftest${ac_exeext}; then
6840 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6841 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
70896842 pipe_works=yes
70906843 fi
70916844 LIBS="$lt_save_LIBS"
71196872 lt_cv_sys_global_symbol_to_cdecl=
71206873 fi
71216874 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7122 { $as_echo "$as_me:$LINENO: result: failed" >&5
6875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
71236876 $as_echo "failed" >&6; }
71246877 else
7125 { $as_echo "$as_me:$LINENO: result: ok" >&5
6878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
71266879 $as_echo "ok" >&6; }
71276880 fi
71286881
71486901
71496902
71506903 # Check whether --enable-libtool-lock was given.
7151 if test "${enable_libtool_lock+set}" = set; then
6904 if test "${enable_libtool_lock+set}" = set; then :
71526905 enableval=$enable_libtool_lock;
71536906 fi
71546907
71606913 ia64-*-hpux*)
71616914 # Find out which ABI we are using.
71626915 echo 'int i;' > conftest.$ac_ext
7163 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6916 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
71646917 (eval $ac_compile) 2>&5
71656918 ac_status=$?
7166 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7167 (exit $ac_status); }; then
6919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6920 test $ac_status = 0; }; then
71686921 case `/usr/bin/file conftest.$ac_objext` in
71696922 *ELF-32*)
71706923 HPUX_IA64_MODE="32"
71786931 ;;
71796932 *-*-irix6*)
71806933 # Find out which ABI we are using.
7181 echo '#line 7182 "configure"' > conftest.$ac_ext
7182 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6934 echo '#line 6935 "configure"' > conftest.$ac_ext
6935 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
71836936 (eval $ac_compile) 2>&5
71846937 ac_status=$?
7185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7186 (exit $ac_status); }; then
6938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6939 test $ac_status = 0; }; then
71876940 if test "$lt_cv_prog_gnu_ld" = yes; then
71886941 case `/usr/bin/file conftest.$ac_objext` in
71896942 *32-bit*)
72176970 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
72186971 # Find out which ABI we are using.
72196972 echo 'int i;' > conftest.$ac_ext
7220 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6973 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
72216974 (eval $ac_compile) 2>&5
72226975 ac_status=$?
7223 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7224 (exit $ac_status); }; then
6976 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
6977 test $ac_status = 0; }; then
72256978 case `/usr/bin/file conftest.o` in
72266979 *32-bit*)
72276980 case $host in
72707023 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
72717024 SAVE_CFLAGS="$CFLAGS"
72727025 CFLAGS="$CFLAGS -belf"
7273 { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
7026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
72747027 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7275 if test "${lt_cv_cc_needs_belf+set}" = set; then
7028 if test "${lt_cv_cc_needs_belf+set}" = set; then :
72767029 $as_echo_n "(cached) " >&6
72777030 else
72787031 ac_ext=c
72817034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72827035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72837036
7284 cat >conftest.$ac_ext <<_ACEOF
7285 /* confdefs.h. */
7286 _ACEOF
7287 cat confdefs.h >>conftest.$ac_ext
7288 cat >>conftest.$ac_ext <<_ACEOF
7037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72897038 /* end confdefs.h. */
72907039
72917040 int
72967045 return 0;
72977046 }
72987047 _ACEOF
7299 rm -f conftest.$ac_objext conftest$ac_exeext
7300 if { (ac_try="$ac_link"
7301 case "(($ac_try" in
7302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7303 *) ac_try_echo=$ac_try;;
7304 esac
7305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7306 $as_echo "$ac_try_echo") >&5
7307 (eval "$ac_link") 2>conftest.er1
7308 ac_status=$?
7309 grep -v '^ *+' conftest.er1 >conftest.err
7310 rm -f conftest.er1
7311 cat conftest.err >&5
7312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7313 (exit $ac_status); } && {
7314 test -z "$ac_c_werror_flag" ||
7315 test ! -s conftest.err
7316 } && test -s conftest$ac_exeext && {
7317 test "$cross_compiling" = yes ||
7318 $as_test_x conftest$ac_exeext
7319 }; then
7048 if ac_fn_c_try_link "$LINENO"; then :
73207049 lt_cv_cc_needs_belf=yes
73217050 else
7322 $as_echo "$as_me: failed program was:" >&5
7323 sed 's/^/| /' conftest.$ac_ext >&5
7324
7325 lt_cv_cc_needs_belf=no
7326 fi
7327
7328 rm -rf conftest.dSYM
7329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7330 conftest$ac_exeext conftest.$ac_ext
7051 lt_cv_cc_needs_belf=no
7052 fi
7053 rm -f core conftest.err conftest.$ac_objext \
7054 conftest$ac_exeext conftest.$ac_ext
73317055 ac_ext=c
73327056 ac_cpp='$CPP $CPPFLAGS'
73337057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73357059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73367060
73377061 fi
7338 { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
7062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
73397063 $as_echo "$lt_cv_cc_needs_belf" >&6; }
73407064 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
73417065 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
73457069 sparc*-*solaris*)
73467070 # Find out which ABI we are using.
73477071 echo 'int i;' > conftest.$ac_ext
7348 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
7072 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
73497073 (eval $ac_compile) 2>&5
73507074 ac_status=$?
7351 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7352 (exit $ac_status); }; then
7075 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7076 test $ac_status = 0; }; then
73537077 case `/usr/bin/file conftest.o` in
73547078 *64-bit*)
73557079 case $lt_cv_prog_gnu_ld in
73757099 if test -n "$ac_tool_prefix"; then
73767100 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
73777101 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7378 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
73797103 $as_echo_n "checking for $ac_word... " >&6; }
7380 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
7104 if test "${ac_cv_prog_DSYMUTIL+set}" = set; then :
73817105 $as_echo_n "(cached) " >&6
73827106 else
73837107 if test -n "$DSYMUTIL"; then
73887112 do
73897113 IFS=$as_save_IFS
73907114 test -z "$as_dir" && as_dir=.
7391 for ac_exec_ext in '' $ac_executable_extensions; do
7115 for ac_exec_ext in '' $ac_executable_extensions; do
73927116 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
73937117 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7394 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
73957119 break 2
73967120 fi
73977121 done
7398 done
7122 done
73997123 IFS=$as_save_IFS
74007124
74017125 fi
74027126 fi
74037127 DSYMUTIL=$ac_cv_prog_DSYMUTIL
74047128 if test -n "$DSYMUTIL"; then
7405 { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
74067130 $as_echo "$DSYMUTIL" >&6; }
74077131 else
7408 { $as_echo "$as_me:$LINENO: result: no" >&5
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74097133 $as_echo "no" >&6; }
74107134 fi
74117135
74157139 ac_ct_DSYMUTIL=$DSYMUTIL
74167140 # Extract the first word of "dsymutil", so it can be a program name with args.
74177141 set dummy dsymutil; ac_word=$2
7418 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74197143 $as_echo_n "checking for $ac_word... " >&6; }
7420 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
7144 if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then :
74217145 $as_echo_n "(cached) " >&6
74227146 else
74237147 if test -n "$ac_ct_DSYMUTIL"; then
74287152 do
74297153 IFS=$as_save_IFS
74307154 test -z "$as_dir" && as_dir=.
7431 for ac_exec_ext in '' $ac_executable_extensions; do
7155 for ac_exec_ext in '' $ac_executable_extensions; do
74327156 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
74337157 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7434 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7158 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74357159 break 2
74367160 fi
74377161 done
7438 done
7162 done
74397163 IFS=$as_save_IFS
74407164
74417165 fi
74427166 fi
74437167 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
74447168 if test -n "$ac_ct_DSYMUTIL"; then
7445 { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
7169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
74467170 $as_echo "$ac_ct_DSYMUTIL" >&6; }
74477171 else
7448 { $as_echo "$as_me:$LINENO: result: no" >&5
7172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
74497173 $as_echo "no" >&6; }
74507174 fi
74517175
74547178 else
74557179 case $cross_compiling:$ac_tool_warned in
74567180 yes:)
7457 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
74587182 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
74597183 ac_tool_warned=yes ;;
74607184 esac
74677191 if test -n "$ac_tool_prefix"; then
74687192 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
74697193 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7470 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
74717195 $as_echo_n "checking for $ac_word... " >&6; }
7472 if test "${ac_cv_prog_NMEDIT+set}" = set; then
7196 if test "${ac_cv_prog_NMEDIT+set}" = set; then :
74737197 $as_echo_n "(cached) " >&6
74747198 else
74757199 if test -n "$NMEDIT"; then
74807204 do
74817205 IFS=$as_save_IFS
74827206 test -z "$as_dir" && as_dir=.
7483 for ac_exec_ext in '' $ac_executable_extensions; do
7207 for ac_exec_ext in '' $ac_executable_extensions; do
74847208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
74857209 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7486 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
74877211 break 2
74887212 fi
74897213 done
7490 done
7214 done
74917215 IFS=$as_save_IFS
74927216
74937217 fi
74947218 fi
74957219 NMEDIT=$ac_cv_prog_NMEDIT
74967220 if test -n "$NMEDIT"; then
7497 { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
74987222 $as_echo "$NMEDIT" >&6; }
74997223 else
7500 { $as_echo "$as_me:$LINENO: result: no" >&5
7224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75017225 $as_echo "no" >&6; }
75027226 fi
75037227
75077231 ac_ct_NMEDIT=$NMEDIT
75087232 # Extract the first word of "nmedit", so it can be a program name with args.
75097233 set dummy nmedit; ac_word=$2
7510 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75117235 $as_echo_n "checking for $ac_word... " >&6; }
7512 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
7236 if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then :
75137237 $as_echo_n "(cached) " >&6
75147238 else
75157239 if test -n "$ac_ct_NMEDIT"; then
75207244 do
75217245 IFS=$as_save_IFS
75227246 test -z "$as_dir" && as_dir=.
7523 for ac_exec_ext in '' $ac_executable_extensions; do
7247 for ac_exec_ext in '' $ac_executable_extensions; do
75247248 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
75257249 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7526 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7250 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75277251 break 2
75287252 fi
75297253 done
7530 done
7254 done
75317255 IFS=$as_save_IFS
75327256
75337257 fi
75347258 fi
75357259 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
75367260 if test -n "$ac_ct_NMEDIT"; then
7537 { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
7261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
75387262 $as_echo "$ac_ct_NMEDIT" >&6; }
75397263 else
7540 { $as_echo "$as_me:$LINENO: result: no" >&5
7264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75417265 $as_echo "no" >&6; }
75427266 fi
75437267
75467270 else
75477271 case $cross_compiling:$ac_tool_warned in
75487272 yes:)
7549 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
75507274 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
75517275 ac_tool_warned=yes ;;
75527276 esac
75597283 if test -n "$ac_tool_prefix"; then
75607284 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
75617285 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7562 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
75637287 $as_echo_n "checking for $ac_word... " >&6; }
7564 if test "${ac_cv_prog_LIPO+set}" = set; then
7288 if test "${ac_cv_prog_LIPO+set}" = set; then :
75657289 $as_echo_n "(cached) " >&6
75667290 else
75677291 if test -n "$LIPO"; then
75727296 do
75737297 IFS=$as_save_IFS
75747298 test -z "$as_dir" && as_dir=.
7575 for ac_exec_ext in '' $ac_executable_extensions; do
7299 for ac_exec_ext in '' $ac_executable_extensions; do
75767300 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
75777301 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7578 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
75797303 break 2
75807304 fi
75817305 done
7582 done
7306 done
75837307 IFS=$as_save_IFS
75847308
75857309 fi
75867310 fi
75877311 LIPO=$ac_cv_prog_LIPO
75887312 if test -n "$LIPO"; then
7589 { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
75907314 $as_echo "$LIPO" >&6; }
75917315 else
7592 { $as_echo "$as_me:$LINENO: result: no" >&5
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
75937317 $as_echo "no" >&6; }
75947318 fi
75957319
75997323 ac_ct_LIPO=$LIPO
76007324 # Extract the first word of "lipo", so it can be a program name with args.
76017325 set dummy lipo; ac_word=$2
7602 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76037327 $as_echo_n "checking for $ac_word... " >&6; }
7604 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
7328 if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then :
76057329 $as_echo_n "(cached) " >&6
76067330 else
76077331 if test -n "$ac_ct_LIPO"; then
76127336 do
76137337 IFS=$as_save_IFS
76147338 test -z "$as_dir" && as_dir=.
7615 for ac_exec_ext in '' $ac_executable_extensions; do
7339 for ac_exec_ext in '' $ac_executable_extensions; do
76167340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
76177341 ac_cv_prog_ac_ct_LIPO="lipo"
7618 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7342 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76197343 break 2
76207344 fi
76217345 done
7622 done
7346 done
76237347 IFS=$as_save_IFS
76247348
76257349 fi
76267350 fi
76277351 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
76287352 if test -n "$ac_ct_LIPO"; then
7629 { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
7353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
76307354 $as_echo "$ac_ct_LIPO" >&6; }
76317355 else
7632 { $as_echo "$as_me:$LINENO: result: no" >&5
7356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76337357 $as_echo "no" >&6; }
76347358 fi
76357359
76387362 else
76397363 case $cross_compiling:$ac_tool_warned in
76407364 yes:)
7641 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7365 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
76427366 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
76437367 ac_tool_warned=yes ;;
76447368 esac
76517375 if test -n "$ac_tool_prefix"; then
76527376 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
76537377 set dummy ${ac_tool_prefix}otool; ac_word=$2
7654 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76557379 $as_echo_n "checking for $ac_word... " >&6; }
7656 if test "${ac_cv_prog_OTOOL+set}" = set; then
7380 if test "${ac_cv_prog_OTOOL+set}" = set; then :
76577381 $as_echo_n "(cached) " >&6
76587382 else
76597383 if test -n "$OTOOL"; then
76647388 do
76657389 IFS=$as_save_IFS
76667390 test -z "$as_dir" && as_dir=.
7667 for ac_exec_ext in '' $ac_executable_extensions; do
7391 for ac_exec_ext in '' $ac_executable_extensions; do
76687392 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
76697393 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7670 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76717395 break 2
76727396 fi
76737397 done
7674 done
7398 done
76757399 IFS=$as_save_IFS
76767400
76777401 fi
76787402 fi
76797403 OTOOL=$ac_cv_prog_OTOOL
76807404 if test -n "$OTOOL"; then
7681 { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
7405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
76827406 $as_echo "$OTOOL" >&6; }
76837407 else
7684 { $as_echo "$as_me:$LINENO: result: no" >&5
7408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76857409 $as_echo "no" >&6; }
76867410 fi
76877411
76917415 ac_ct_OTOOL=$OTOOL
76927416 # Extract the first word of "otool", so it can be a program name with args.
76937417 set dummy otool; ac_word=$2
7694 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76957419 $as_echo_n "checking for $ac_word... " >&6; }
7696 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
7420 if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then :
76977421 $as_echo_n "(cached) " >&6
76987422 else
76997423 if test -n "$ac_ct_OTOOL"; then
77047428 do
77057429 IFS=$as_save_IFS
77067430 test -z "$as_dir" && as_dir=.
7707 for ac_exec_ext in '' $ac_executable_extensions; do
7431 for ac_exec_ext in '' $ac_executable_extensions; do
77087432 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
77097433 ac_cv_prog_ac_ct_OTOOL="otool"
7710 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77117435 break 2
77127436 fi
77137437 done
7714 done
7438 done
77157439 IFS=$as_save_IFS
77167440
77177441 fi
77187442 fi
77197443 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
77207444 if test -n "$ac_ct_OTOOL"; then
7721 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
7445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
77227446 $as_echo "$ac_ct_OTOOL" >&6; }
77237447 else
7724 { $as_echo "$as_me:$LINENO: result: no" >&5
7448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77257449 $as_echo "no" >&6; }
77267450 fi
77277451
77307454 else
77317455 case $cross_compiling:$ac_tool_warned in
77327456 yes:)
7733 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
77347458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
77357459 ac_tool_warned=yes ;;
77367460 esac
77437467 if test -n "$ac_tool_prefix"; then
77447468 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
77457469 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7746 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77477471 $as_echo_n "checking for $ac_word... " >&6; }
7748 if test "${ac_cv_prog_OTOOL64+set}" = set; then
7472 if test "${ac_cv_prog_OTOOL64+set}" = set; then :
77497473 $as_echo_n "(cached) " >&6
77507474 else
77517475 if test -n "$OTOOL64"; then
77567480 do
77577481 IFS=$as_save_IFS
77587482 test -z "$as_dir" && as_dir=.
7759 for ac_exec_ext in '' $ac_executable_extensions; do
7483 for ac_exec_ext in '' $ac_executable_extensions; do
77607484 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
77617485 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7762 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77637487 break 2
77647488 fi
77657489 done
7766 done
7490 done
77677491 IFS=$as_save_IFS
77687492
77697493 fi
77707494 fi
77717495 OTOOL64=$ac_cv_prog_OTOOL64
77727496 if test -n "$OTOOL64"; then
7773 { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
7497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
77747498 $as_echo "$OTOOL64" >&6; }
77757499 else
7776 { $as_echo "$as_me:$LINENO: result: no" >&5
7500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77777501 $as_echo "no" >&6; }
77787502 fi
77797503
77837507 ac_ct_OTOOL64=$OTOOL64
77847508 # Extract the first word of "otool64", so it can be a program name with args.
77857509 set dummy otool64; ac_word=$2
7786 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77877511 $as_echo_n "checking for $ac_word... " >&6; }
7788 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
7512 if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then :
77897513 $as_echo_n "(cached) " >&6
77907514 else
77917515 if test -n "$ac_ct_OTOOL64"; then
77967520 do
77977521 IFS=$as_save_IFS
77987522 test -z "$as_dir" && as_dir=.
7799 for ac_exec_ext in '' $ac_executable_extensions; do
7523 for ac_exec_ext in '' $ac_executable_extensions; do
78007524 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
78017525 ac_cv_prog_ac_ct_OTOOL64="otool64"
7802 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
78037527 break 2
78047528 fi
78057529 done
7806 done
7530 done
78077531 IFS=$as_save_IFS
78087532
78097533 fi
78107534 fi
78117535 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
78127536 if test -n "$ac_ct_OTOOL64"; then
7813 { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
78147538 $as_echo "$ac_ct_OTOOL64" >&6; }
78157539 else
7816 { $as_echo "$as_me:$LINENO: result: no" >&5
7540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
78177541 $as_echo "no" >&6; }
78187542 fi
78197543
78227546 else
78237547 case $cross_compiling:$ac_tool_warned in
78247548 yes:)
7825 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
78267550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
78277551 ac_tool_warned=yes ;;
78287552 esac
78587582
78597583
78607584
7861 { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
7585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
78627586 $as_echo_n "checking for -single_module linker flag... " >&6; }
7863 if test "${lt_cv_apple_cc_single_mod+set}" = set; then
7587 if test "${lt_cv_apple_cc_single_mod+set}" = set; then :
78647588 $as_echo_n "(cached) " >&6
78657589 else
78667590 lt_cv_apple_cc_single_mod=no
78857609 rm -f conftest.*
78867610 fi
78877611 fi
7888 { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
7612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
78897613 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
7890 { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
78917615 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
7892 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
7616 if test "${lt_cv_ld_exported_symbols_list+set}" = set; then :
78937617 $as_echo_n "(cached) " >&6
78947618 else
78957619 lt_cv_ld_exported_symbols_list=no
78967620 save_LDFLAGS=$LDFLAGS
78977621 echo "_main" > conftest.sym
78987622 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
7899 cat >conftest.$ac_ext <<_ACEOF
7900 /* confdefs.h. */
7901 _ACEOF
7902 cat confdefs.h >>conftest.$ac_ext
7903 cat >>conftest.$ac_ext <<_ACEOF
7623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79047624 /* end confdefs.h. */
79057625
79067626 int
79117631 return 0;
79127632 }
79137633 _ACEOF
7914 rm -f conftest.$ac_objext conftest$ac_exeext
7915 if { (ac_try="$ac_link"
7916 case "(($ac_try" in
7917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7918 *) ac_try_echo=$ac_try;;
7919 esac
7920 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
7921 $as_echo "$ac_try_echo") >&5
7922 (eval "$ac_link") 2>conftest.er1
7923 ac_status=$?
7924 grep -v '^ *+' conftest.er1 >conftest.err
7925 rm -f conftest.er1
7926 cat conftest.err >&5
7927 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
7928 (exit $ac_status); } && {
7929 test -z "$ac_c_werror_flag" ||
7930 test ! -s conftest.err
7931 } && test -s conftest$ac_exeext && {
7932 test "$cross_compiling" = yes ||
7933 $as_test_x conftest$ac_exeext
7934 }; then
7634 if ac_fn_c_try_link "$LINENO"; then :
79357635 lt_cv_ld_exported_symbols_list=yes
79367636 else
7937 $as_echo "$as_me: failed program was:" >&5
7938 sed 's/^/| /' conftest.$ac_ext >&5
7939
7940 lt_cv_ld_exported_symbols_list=no
7941 fi
7942
7943 rm -rf conftest.dSYM
7944 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7945 conftest$ac_exeext conftest.$ac_ext
7637 lt_cv_ld_exported_symbols_list=no
7638 fi
7639 rm -f core conftest.err conftest.$ac_objext \
7640 conftest$ac_exeext conftest.$ac_ext
79467641 LDFLAGS="$save_LDFLAGS"
79477642
79487643 fi
7949 { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
79507645 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
79517646 case $host_os in
79527647 rhapsody* | darwin1.[012])
79837678 ;;
79847679 esac
79857680
7986
79877681 for ac_header in dlfcn.h
7988 do
7989 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7990 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
7991 $as_echo_n "checking for $ac_header... " >&6; }
7992 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7993 $as_echo_n "(cached) " >&6
7994 else
7995 cat >conftest.$ac_ext <<_ACEOF
7996 /* confdefs.h. */
7997 _ACEOF
7998 cat confdefs.h >>conftest.$ac_ext
7999 cat >>conftest.$ac_ext <<_ACEOF
8000 /* end confdefs.h. */
8001 $ac_includes_default
8002
8003 #include <$ac_header>
8004 _ACEOF
8005 rm -f conftest.$ac_objext
8006 if { (ac_try="$ac_compile"
8007 case "(($ac_try" in
8008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8009 *) ac_try_echo=$ac_try;;
8010 esac
8011 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8012 $as_echo "$ac_try_echo") >&5
8013 (eval "$ac_compile") 2>conftest.er1
8014 ac_status=$?
8015 grep -v '^ *+' conftest.er1 >conftest.err
8016 rm -f conftest.er1
8017 cat conftest.err >&5
8018 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8019 (exit $ac_status); } && {
8020 test -z "$ac_c_werror_flag" ||
8021 test ! -s conftest.err
8022 } && test -s conftest.$ac_objext; then
8023 eval "$as_ac_Header=yes"
8024 else
8025 $as_echo "$as_me: failed program was:" >&5
8026 sed 's/^/| /' conftest.$ac_ext >&5
8027
8028 eval "$as_ac_Header=no"
8029 fi
8030
8031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8032 fi
8033 ac_res=`eval 'as_val=${'$as_ac_Header'}
8034 $as_echo "$as_val"'`
8035 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
8036 $as_echo "$ac_res" >&6; }
8037 as_val=`eval 'as_val=${'$as_ac_Header'}
8038 $as_echo "$as_val"'`
8039 if test "x$as_val" = x""yes; then
7682 do :
7683 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
7684 "
7685 if test "x$ac_cv_header_dlfcn_h" = x""yes; then :
80407686 cat >>confdefs.h <<_ACEOF
8041 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7687 #define HAVE_DLFCN_H 1
80427688 _ACEOF
80437689
80447690 fi
80617707 do
80627708 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
80637709 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8064 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
80657711 $as_echo_n "checking for $ac_word... " >&6; }
8066 if test "${ac_cv_prog_CXX+set}" = set; then
7712 if test "${ac_cv_prog_CXX+set}" = set; then :
80677713 $as_echo_n "(cached) " >&6
80687714 else
80697715 if test -n "$CXX"; then
80747720 do
80757721 IFS=$as_save_IFS
80767722 test -z "$as_dir" && as_dir=.
8077 for ac_exec_ext in '' $ac_executable_extensions; do
7723 for ac_exec_ext in '' $ac_executable_extensions; do
80787724 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
80797725 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
8080 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7726 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
80817727 break 2
80827728 fi
80837729 done
8084 done
7730 done
80857731 IFS=$as_save_IFS
80867732
80877733 fi
80887734 fi
80897735 CXX=$ac_cv_prog_CXX
80907736 if test -n "$CXX"; then
8091 { $as_echo "$as_me:$LINENO: result: $CXX" >&5
7737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
80927738 $as_echo "$CXX" >&6; }
80937739 else
8094 { $as_echo "$as_me:$LINENO: result: no" >&5
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
80957741 $as_echo "no" >&6; }
80967742 fi
80977743
81057751 do
81067752 # Extract the first word of "$ac_prog", so it can be a program name with args.
81077753 set dummy $ac_prog; ac_word=$2
8108 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
7754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81097755 $as_echo_n "checking for $ac_word... " >&6; }
8110 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
7756 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then :
81117757 $as_echo_n "(cached) " >&6
81127758 else
81137759 if test -n "$ac_ct_CXX"; then
81187764 do
81197765 IFS=$as_save_IFS
81207766 test -z "$as_dir" && as_dir=.
8121 for ac_exec_ext in '' $ac_executable_extensions; do
7767 for ac_exec_ext in '' $ac_executable_extensions; do
81227768 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
81237769 ac_cv_prog_ac_ct_CXX="$ac_prog"
8124 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
7770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81257771 break 2
81267772 fi
81277773 done
8128 done
7774 done
81297775 IFS=$as_save_IFS
81307776
81317777 fi
81327778 fi
81337779 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
81347780 if test -n "$ac_ct_CXX"; then
8135 { $as_echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
7781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
81367782 $as_echo "$ac_ct_CXX" >&6; }
81377783 else
8138 { $as_echo "$as_me:$LINENO: result: no" >&5
7784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81397785 $as_echo "no" >&6; }
81407786 fi
81417787
81487794 else
81497795 case $cross_compiling:$ac_tool_warned in
81507796 yes:)
8151 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
7797 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
81527798 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
81537799 ac_tool_warned=yes ;;
81547800 esac
81597805 fi
81607806 fi
81617807 # Provide some information about the compiler.
8162 $as_echo "$as_me:$LINENO: checking for C++ compiler version" >&5
7808 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
81637809 set X $ac_compile
81647810 ac_compiler=$2
8165 { (ac_try="$ac_compiler --version >&5"
7811 for ac_option in --version -v -V -qversion; do
7812 { { ac_try="$ac_compiler $ac_option >&5"
81667813 case "(($ac_try" in
81677814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
81687815 *) ac_try_echo=$ac_try;;
81697816 esac
8170 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8171 $as_echo "$ac_try_echo") >&5
8172 (eval "$ac_compiler --version >&5") 2>&5
7817 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
7818 $as_echo "$ac_try_echo"; } >&5
7819 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
81737820 ac_status=$?
8174 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8175 (exit $ac_status); }
8176 { (ac_try="$ac_compiler -v >&5"
8177 case "(($ac_try" in
8178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8179 *) ac_try_echo=$ac_try;;
8180 esac
8181 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8182 $as_echo "$ac_try_echo") >&5
8183 (eval "$ac_compiler -v >&5") 2>&5
8184 ac_status=$?
8185 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8186 (exit $ac_status); }
8187 { (ac_try="$ac_compiler -V >&5"
8188 case "(($ac_try" in
8189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8190 *) ac_try_echo=$ac_try;;
8191 esac
8192 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8193 $as_echo "$ac_try_echo") >&5
8194 (eval "$ac_compiler -V >&5") 2>&5
8195 ac_status=$?
8196 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8197 (exit $ac_status); }
8198
8199 { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
7821 if test -s conftest.err; then
7822 sed '10a\
7823 ... rest of stderr output deleted ...
7824 10q' conftest.err >conftest.er1
7825 cat conftest.er1 >&5
7826 fi
7827 rm -f conftest.er1 conftest.err
7828 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7829 test $ac_status = 0; }
7830 done
7831
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
82007833 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
8201 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
7834 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then :
82027835 $as_echo_n "(cached) " >&6
82037836 else
8204 cat >conftest.$ac_ext <<_ACEOF
8205 /* confdefs.h. */
8206 _ACEOF
8207 cat confdefs.h >>conftest.$ac_ext
8208 cat >>conftest.$ac_ext <<_ACEOF
7837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82097838 /* end confdefs.h. */
82107839
82117840 int
82197848 return 0;
82207849 }
82217850 _ACEOF
8222 rm -f conftest.$ac_objext
8223 if { (ac_try="$ac_compile"
8224 case "(($ac_try" in
8225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8226 *) ac_try_echo=$ac_try;;
8227 esac
8228 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8229 $as_echo "$ac_try_echo") >&5
8230 (eval "$ac_compile") 2>conftest.er1
8231 ac_status=$?
8232 grep -v '^ *+' conftest.er1 >conftest.err
8233 rm -f conftest.er1
8234 cat conftest.err >&5
8235 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8236 (exit $ac_status); } && {
8237 test -z "$ac_cxx_werror_flag" ||
8238 test ! -s conftest.err
8239 } && test -s conftest.$ac_objext; then
7851 if ac_fn_cxx_try_compile "$LINENO"; then :
82407852 ac_compiler_gnu=yes
82417853 else
8242 $as_echo "$as_me: failed program was:" >&5
8243 sed 's/^/| /' conftest.$ac_ext >&5
8244
8245 ac_compiler_gnu=no
8246 fi
8247
7854 ac_compiler_gnu=no
7855 fi
82487856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
82497857 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
82507858
82517859 fi
8252 { $as_echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
82537861 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
82547862 if test $ac_compiler_gnu = yes; then
82557863 GXX=yes
82587866 fi
82597867 ac_test_CXXFLAGS=${CXXFLAGS+set}
82607868 ac_save_CXXFLAGS=$CXXFLAGS
8261 { $as_echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
82627870 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
8263 if test "${ac_cv_prog_cxx_g+set}" = set; then
7871 if test "${ac_cv_prog_cxx_g+set}" = set; then :
82647872 $as_echo_n "(cached) " >&6
82657873 else
82667874 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
82677875 ac_cxx_werror_flag=yes
82687876 ac_cv_prog_cxx_g=no
82697877 CXXFLAGS="-g"
8270 cat >conftest.$ac_ext <<_ACEOF
8271 /* confdefs.h. */
8272 _ACEOF
8273 cat confdefs.h >>conftest.$ac_ext
8274 cat >>conftest.$ac_ext <<_ACEOF
7878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
82757879 /* end confdefs.h. */
82767880
82777881 int
82827886 return 0;
82837887 }
82847888 _ACEOF
8285 rm -f conftest.$ac_objext
8286 if { (ac_try="$ac_compile"
8287 case "(($ac_try" in
8288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8289 *) ac_try_echo=$ac_try;;
8290 esac
8291 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8292 $as_echo "$ac_try_echo") >&5
8293 (eval "$ac_compile") 2>conftest.er1
8294 ac_status=$?
8295 grep -v '^ *+' conftest.er1 >conftest.err
8296 rm -f conftest.er1
8297 cat conftest.err >&5
8298 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8299 (exit $ac_status); } && {
8300 test -z "$ac_cxx_werror_flag" ||
8301 test ! -s conftest.err
8302 } && test -s conftest.$ac_objext; then
7889 if ac_fn_cxx_try_compile "$LINENO"; then :
83037890 ac_cv_prog_cxx_g=yes
83047891 else
8305 $as_echo "$as_me: failed program was:" >&5
8306 sed 's/^/| /' conftest.$ac_ext >&5
8307
8308 CXXFLAGS=""
8309 cat >conftest.$ac_ext <<_ACEOF
8310 /* confdefs.h. */
8311 _ACEOF
8312 cat confdefs.h >>conftest.$ac_ext
8313 cat >>conftest.$ac_ext <<_ACEOF
7892 CXXFLAGS=""
7893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83147894 /* end confdefs.h. */
83157895
83167896 int
83217901 return 0;
83227902 }
83237903 _ACEOF
8324 rm -f conftest.$ac_objext
8325 if { (ac_try="$ac_compile"
8326 case "(($ac_try" in
8327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8328 *) ac_try_echo=$ac_try;;
8329 esac
8330 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8331 $as_echo "$ac_try_echo") >&5
8332 (eval "$ac_compile") 2>conftest.er1
8333 ac_status=$?
8334 grep -v '^ *+' conftest.er1 >conftest.err
8335 rm -f conftest.er1
8336 cat conftest.err >&5
8337 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8338 (exit $ac_status); } && {
8339 test -z "$ac_cxx_werror_flag" ||
8340 test ! -s conftest.err
8341 } && test -s conftest.$ac_objext; then
8342 :
8343 else
8344 $as_echo "$as_me: failed program was:" >&5
8345 sed 's/^/| /' conftest.$ac_ext >&5
8346
8347 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
7904 if ac_fn_cxx_try_compile "$LINENO"; then :
7905
7906 else
7907 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
83487908 CXXFLAGS="-g"
8349 cat >conftest.$ac_ext <<_ACEOF
8350 /* confdefs.h. */
8351 _ACEOF
8352 cat confdefs.h >>conftest.$ac_ext
8353 cat >>conftest.$ac_ext <<_ACEOF
7909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
83547910 /* end confdefs.h. */
83557911
83567912 int
83617917 return 0;
83627918 }
83637919 _ACEOF
8364 rm -f conftest.$ac_objext
8365 if { (ac_try="$ac_compile"
8366 case "(($ac_try" in
8367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8368 *) ac_try_echo=$ac_try;;
8369 esac
8370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8371 $as_echo "$ac_try_echo") >&5
8372 (eval "$ac_compile") 2>conftest.er1
8373 ac_status=$?
8374 grep -v '^ *+' conftest.er1 >conftest.err
8375 rm -f conftest.er1
8376 cat conftest.err >&5
8377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8378 (exit $ac_status); } && {
8379 test -z "$ac_cxx_werror_flag" ||
8380 test ! -s conftest.err
8381 } && test -s conftest.$ac_objext; then
7920 if ac_fn_cxx_try_compile "$LINENO"; then :
83827921 ac_cv_prog_cxx_g=yes
8383 else
8384 $as_echo "$as_me: failed program was:" >&5
8385 sed 's/^/| /' conftest.$ac_ext >&5
8386
8387
8388 fi
8389
7922 fi
83907923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83917924 fi
8392
83937925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83947926 fi
8395
83967927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
83977928 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
83987929 fi
8399 { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
84007931 $as_echo "$ac_cv_prog_cxx_g" >&6; }
84017932 if test "$ac_test_CXXFLAGS" = set; then
84027933 CXXFLAGS=$ac_save_CXXFLAGS
84217952
84227953 depcc="$CXX" am_compiler_list=
84237954
8424 { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
7955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
84257956 $as_echo_n "checking dependency style of $depcc... " >&6; }
8426 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
7957 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then :
84277958 $as_echo_n "(cached) " >&6
84287959 else
84297960 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
85318062 fi
85328063
85338064 fi
8534 { $as_echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
85358066 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
85368067 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
85378068
85548085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
85558086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
85568087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
8557 { $as_echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
8088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
85588089 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
85598090 if test -z "$CXXCPP"; then
8560 if test "${ac_cv_prog_CXXCPP+set}" = set; then
8091 if test "${ac_cv_prog_CXXCPP+set}" = set; then :
85618092 $as_echo_n "(cached) " >&6
85628093 else
85638094 # Double quotes because CXXCPP needs to be expanded
85728103 # <limits.h> exists even on freestanding compilers.
85738104 # On the NeXT, cc -E runs the code through the compiler's parser,
85748105 # not just through cpp. "Syntax error" is here to catch this case.
8575 cat >conftest.$ac_ext <<_ACEOF
8576 /* confdefs.h. */
8577 _ACEOF
8578 cat confdefs.h >>conftest.$ac_ext
8579 cat >>conftest.$ac_ext <<_ACEOF
8106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
85808107 /* end confdefs.h. */
85818108 #ifdef __STDC__
85828109 # include <limits.h>
85858112 #endif
85868113 Syntax error
85878114 _ACEOF
8588 if { (ac_try="$ac_cpp conftest.$ac_ext"
8589 case "(($ac_try" in
8590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8591 *) ac_try_echo=$ac_try;;
8592 esac
8593 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8594 $as_echo "$ac_try_echo") >&5
8595 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8596 ac_status=$?
8597 grep -v '^ *+' conftest.er1 >conftest.err
8598 rm -f conftest.er1
8599 cat conftest.err >&5
8600 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8601 (exit $ac_status); } >/dev/null && {
8602 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8603 test ! -s conftest.err
8604 }; then
8605 :
8606 else
8607 $as_echo "$as_me: failed program was:" >&5
8608 sed 's/^/| /' conftest.$ac_ext >&5
8609
8115 if ac_fn_cxx_try_cpp "$LINENO"; then :
8116
8117 else
86108118 # Broken: fails on valid input.
86118119 continue
86128120 fi
8613
86148121 rm -f conftest.err conftest.$ac_ext
86158122
86168123 # OK, works on sane cases. Now check whether nonexistent headers
86178124 # can be detected and how.
8618 cat >conftest.$ac_ext <<_ACEOF
8619 /* confdefs.h. */
8620 _ACEOF
8621 cat confdefs.h >>conftest.$ac_ext
8622 cat >>conftest.$ac_ext <<_ACEOF
8125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86238126 /* end confdefs.h. */
86248127 #include <ac_nonexistent.h>
86258128 _ACEOF
8626 if { (ac_try="$ac_cpp conftest.$ac_ext"
8627 case "(($ac_try" in
8628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8629 *) ac_try_echo=$ac_try;;
8630 esac
8631 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8632 $as_echo "$ac_try_echo") >&5
8633 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8634 ac_status=$?
8635 grep -v '^ *+' conftest.er1 >conftest.err
8636 rm -f conftest.er1
8637 cat conftest.err >&5
8638 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8639 (exit $ac_status); } >/dev/null && {
8640 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8641 test ! -s conftest.err
8642 }; then
8129 if ac_fn_cxx_try_cpp "$LINENO"; then :
86438130 # Broken: success on invalid input.
86448131 continue
86458132 else
8646 $as_echo "$as_me: failed program was:" >&5
8647 sed 's/^/| /' conftest.$ac_ext >&5
8648
86498133 # Passes both tests.
86508134 ac_preproc_ok=:
86518135 break
86528136 fi
8653
86548137 rm -f conftest.err conftest.$ac_ext
86558138
86568139 done
86578140 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
86588141 rm -f conftest.err conftest.$ac_ext
8659 if $ac_preproc_ok; then
8142 if $ac_preproc_ok; then :
86608143 break
86618144 fi
86628145
86688151 else
86698152 ac_cv_prog_CXXCPP=$CXXCPP
86708153 fi
8671 { $as_echo "$as_me:$LINENO: result: $CXXCPP" >&5
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
86728155 $as_echo "$CXXCPP" >&6; }
86738156 ac_preproc_ok=false
86748157 for ac_cxx_preproc_warn_flag in '' yes
86798162 # <limits.h> exists even on freestanding compilers.
86808163 # On the NeXT, cc -E runs the code through the compiler's parser,
86818164 # not just through cpp. "Syntax error" is here to catch this case.
8682 cat >conftest.$ac_ext <<_ACEOF
8683 /* confdefs.h. */
8684 _ACEOF
8685 cat confdefs.h >>conftest.$ac_ext
8686 cat >>conftest.$ac_ext <<_ACEOF
8165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
86878166 /* end confdefs.h. */
86888167 #ifdef __STDC__
86898168 # include <limits.h>
86928171 #endif
86938172 Syntax error
86948173 _ACEOF
8695 if { (ac_try="$ac_cpp conftest.$ac_ext"
8696 case "(($ac_try" in
8697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8698 *) ac_try_echo=$ac_try;;
8699 esac
8700 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8701 $as_echo "$ac_try_echo") >&5
8702 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8703 ac_status=$?
8704 grep -v '^ *+' conftest.er1 >conftest.err
8705 rm -f conftest.er1
8706 cat conftest.err >&5
8707 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8708 (exit $ac_status); } >/dev/null && {
8709 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8710 test ! -s conftest.err
8711 }; then
8712 :
8713 else
8714 $as_echo "$as_me: failed program was:" >&5
8715 sed 's/^/| /' conftest.$ac_ext >&5
8716
8174 if ac_fn_cxx_try_cpp "$LINENO"; then :
8175
8176 else
87178177 # Broken: fails on valid input.
87188178 continue
87198179 fi
8720
87218180 rm -f conftest.err conftest.$ac_ext
87228181
87238182 # OK, works on sane cases. Now check whether nonexistent headers
87248183 # can be detected and how.
8725 cat >conftest.$ac_ext <<_ACEOF
8726 /* confdefs.h. */
8727 _ACEOF
8728 cat confdefs.h >>conftest.$ac_ext
8729 cat >>conftest.$ac_ext <<_ACEOF
8184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
87308185 /* end confdefs.h. */
87318186 #include <ac_nonexistent.h>
87328187 _ACEOF
8733 if { (ac_try="$ac_cpp conftest.$ac_ext"
8734 case "(($ac_try" in
8735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8736 *) ac_try_echo=$ac_try;;
8737 esac
8738 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
8739 $as_echo "$ac_try_echo") >&5
8740 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
8741 ac_status=$?
8742 grep -v '^ *+' conftest.er1 >conftest.err
8743 rm -f conftest.er1
8744 cat conftest.err >&5
8745 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
8746 (exit $ac_status); } >/dev/null && {
8747 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
8748 test ! -s conftest.err
8749 }; then
8188 if ac_fn_cxx_try_cpp "$LINENO"; then :
87508189 # Broken: success on invalid input.
87518190 continue
87528191 else
8753 $as_echo "$as_me: failed program was:" >&5
8754 sed 's/^/| /' conftest.$ac_ext >&5
8755
87568192 # Passes both tests.
87578193 ac_preproc_ok=:
87588194 break
87598195 fi
8760
87618196 rm -f conftest.err conftest.$ac_ext
87628197
87638198 done
87648199 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
87658200 rm -f conftest.err conftest.$ac_ext
8766 if $ac_preproc_ok; then
8767 :
8768 else
8769 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
8201 if $ac_preproc_ok; then :
8202
8203 else
8204 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
87708205 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
87718206 _lt_caught_CXX_error=yes; }
87728207 fi
87968231
87978232
87988233 # Check whether --enable-shared was given.
8799 if test "${enable_shared+set}" = set; then
8234 if test "${enable_shared+set}" = set; then :
88008235 enableval=$enable_shared; p=${PACKAGE-default}
88018236 case $enableval in
88028237 yes) enable_shared=yes ;;
88278262
88288263
88298264 # Check whether --enable-static was given.
8830 if test "${enable_static+set}" = set; then
8265 if test "${enable_static+set}" = set; then :
88318266 enableval=$enable_static; p=${PACKAGE-default}
88328267 case $enableval in
88338268 yes) enable_static=yes ;;
88598294
88608295
88618296 # Check whether --with-pic was given.
8862 if test "${with_pic+set}" = set; then
8297 if test "${with_pic+set}" = set; then :
88638298 withval=$with_pic; pic_mode="$withval"
88648299 else
88658300 pic_mode=default
88758310
88768311
88778312 # Check whether --enable-fast-install was given.
8878 if test "${enable_fast_install+set}" = set; then
8313 if test "${enable_fast_install+set}" = set; then :
88798314 enableval=$enable_fast_install; p=${PACKAGE-default}
88808315 case $enableval in
88818316 yes) enable_fast_install=yes ;;
89568391 setopt NO_GLOB_SUBST
89578392 fi
89588393
8959 { $as_echo "$as_me:$LINENO: checking for objdir" >&5
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
89608395 $as_echo_n "checking for objdir... " >&6; }
8961 if test "${lt_cv_objdir+set}" = set; then
8396 if test "${lt_cv_objdir+set}" = set; then :
89628397 $as_echo_n "(cached) " >&6
89638398 else
89648399 rm -f .libs 2>/dev/null
89718406 fi
89728407 rmdir .libs 2>/dev/null
89738408 fi
8974 { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
89758410 $as_echo "$lt_cv_objdir" >&6; }
89768411 objdir=$lt_cv_objdir
89778412
90648499 case $deplibs_check_method in
90658500 file_magic*)
90668501 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
9067 { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
8502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
90688503 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
9069 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8504 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
90708505 $as_echo_n "(cached) " >&6
90718506 else
90728507 case $MAGIC_CMD in
91178552
91188553 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
91198554 if test -n "$MAGIC_CMD"; then
9120 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
91218556 $as_echo "$MAGIC_CMD" >&6; }
91228557 else
9123 { $as_echo "$as_me:$LINENO: result: no" >&5
8558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
91248559 $as_echo "no" >&6; }
91258560 fi
91268561
91308565
91318566 if test -z "$lt_cv_path_MAGIC_CMD"; then
91328567 if test -n "$ac_tool_prefix"; then
9133 { $as_echo "$as_me:$LINENO: checking for file" >&5
8568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
91348569 $as_echo_n "checking for file... " >&6; }
9135 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
8570 if test "${lt_cv_path_MAGIC_CMD+set}" = set; then :
91368571 $as_echo_n "(cached) " >&6
91378572 else
91388573 case $MAGIC_CMD in
91838618
91848619 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
91858620 if test -n "$MAGIC_CMD"; then
9186 { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
8621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
91878622 $as_echo "$MAGIC_CMD" >&6; }
91888623 else
9189 { $as_echo "$as_me:$LINENO: result: no" >&5
8624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
91908625 $as_echo "no" >&6; }
91918626 fi
91928627
92638698 if test "$GCC" = yes; then
92648699 lt_prog_compiler_no_builtin_flag=' -fno-builtin'
92658700
9266 { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
92678702 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9268 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
8703 if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then :
92698704 $as_echo_n "(cached) " >&6
92708705 else
92718706 lt_cv_prog_compiler_rtti_exceptions=no
92818716 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
92828717 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
92838718 -e 's:$: $lt_compiler_flag:'`
9284 (eval echo "\"\$as_me:9285: $lt_compile\"" >&5)
8719 (eval echo "\"\$as_me:8720: $lt_compile\"" >&5)
92858720 (eval "$lt_compile" 2>conftest.err)
92868721 ac_status=$?
92878722 cat conftest.err >&5
9288 echo "$as_me:9289: \$? = $ac_status" >&5
8723 echo "$as_me:8724: \$? = $ac_status" >&5
92898724 if (exit $ac_status) && test -s "$ac_outfile"; then
92908725 # The compiler can only warn and ignore the option if not recognized
92918726 # So say no if there are warnings other than the usual output.
92988733 $RM conftest*
92998734
93008735 fi
9301 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
93028737 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
93038738
93048739 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
93188753 lt_prog_compiler_pic=
93198754 lt_prog_compiler_static=
93208755
9321 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
93228757 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
93238758
93248759 if test "$GCC" = yes; then
94508885 lt_prog_compiler_static='-non_shared'
94518886 ;;
94528887
9453 linux* | k*bsd*-gnu)
8888 linux* | k*bsd*-gnu | kopensolaris*-gnu)
94548889 case $cc_basename in
94558890 # old Intel for x86_64 which still supported -KPIC.
94568891 ecc*)
95909025 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
95919026 ;;
95929027 esac
9593 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
9028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
95949029 $as_echo "$lt_prog_compiler_pic" >&6; }
95959030
95969031
96029037 # Check to make sure the PIC flag actually works.
96039038 #
96049039 if test -n "$lt_prog_compiler_pic"; then
9605 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
96069041 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9607 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
9042 if test "${lt_cv_prog_compiler_pic_works+set}" = set; then :
96089043 $as_echo_n "(cached) " >&6
96099044 else
96109045 lt_cv_prog_compiler_pic_works=no
96209055 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
96219056 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
96229057 -e 's:$: $lt_compiler_flag:'`
9623 (eval echo "\"\$as_me:9624: $lt_compile\"" >&5)
9058 (eval echo "\"\$as_me:9059: $lt_compile\"" >&5)
96249059 (eval "$lt_compile" 2>conftest.err)
96259060 ac_status=$?
96269061 cat conftest.err >&5
9627 echo "$as_me:9628: \$? = $ac_status" >&5
9062 echo "$as_me:9063: \$? = $ac_status" >&5
96289063 if (exit $ac_status) && test -s "$ac_outfile"; then
96299064 # The compiler can only warn and ignore the option if not recognized
96309065 # So say no if there are warnings other than the usual output.
96379072 $RM conftest*
96389073
96399074 fi
9640 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
96419076 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
96429077
96439078 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
96619096 # Check to make sure the static flag actually works.
96629097 #
96639098 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9664 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
96659100 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9666 if test "${lt_cv_prog_compiler_static_works+set}" = set; then
9101 if test "${lt_cv_prog_compiler_static_works+set}" = set; then :
96679102 $as_echo_n "(cached) " >&6
96689103 else
96699104 lt_cv_prog_compiler_static_works=no
96899124 LDFLAGS="$save_LDFLAGS"
96909125
96919126 fi
9692 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
96939128 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
96949129
96959130 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
97049139
97059140
97069141
9707 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
97089143 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9709 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9144 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
97109145 $as_echo_n "(cached) " >&6
97119146 else
97129147 lt_cv_prog_compiler_c_o=no
97259160 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
97269161 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
97279162 -e 's:$: $lt_compiler_flag:'`
9728 (eval echo "\"\$as_me:9729: $lt_compile\"" >&5)
9163 (eval echo "\"\$as_me:9164: $lt_compile\"" >&5)
97299164 (eval "$lt_compile" 2>out/conftest.err)
97309165 ac_status=$?
97319166 cat out/conftest.err >&5
9732 echo "$as_me:9733: \$? = $ac_status" >&5
9167 echo "$as_me:9168: \$? = $ac_status" >&5
97339168 if (exit $ac_status) && test -s out/conftest2.$ac_objext
97349169 then
97359170 # The compiler can only warn and ignore the option if not recognized
97519186 $RM conftest*
97529187
97539188 fi
9754 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
97559190 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
97569191
97579192
97599194
97609195
97619196
9762 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
97639198 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9764 if test "${lt_cv_prog_compiler_c_o+set}" = set; then
9199 if test "${lt_cv_prog_compiler_c_o+set}" = set; then :
97659200 $as_echo_n "(cached) " >&6
97669201 else
97679202 lt_cv_prog_compiler_c_o=no
97809215 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
97819216 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
97829217 -e 's:$: $lt_compiler_flag:'`
9783 (eval echo "\"\$as_me:9784: $lt_compile\"" >&5)
9218 (eval echo "\"\$as_me:9219: $lt_compile\"" >&5)
97849219 (eval "$lt_compile" 2>out/conftest.err)
97859220 ac_status=$?
97869221 cat out/conftest.err >&5
9787 echo "$as_me:9788: \$? = $ac_status" >&5
9222 echo "$as_me:9223: \$? = $ac_status" >&5
97889223 if (exit $ac_status) && test -s out/conftest2.$ac_objext
97899224 then
97909225 # The compiler can only warn and ignore the option if not recognized
98069241 $RM conftest*
98079242
98089243 fi
9809 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
9244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
98109245 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
98119246
98129247
98159250 hard_links="nottested"
98169251 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
98179252 # do not overwrite the value of need_locks provided by the user
9818 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
9253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
98199254 $as_echo_n "checking if we can lock with hard links... " >&6; }
98209255 hard_links=yes
98219256 $RM conftest*
98239258 touch conftest.a
98249259 ln conftest.a conftest.b 2>&5 || hard_links=no
98259260 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9826 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
9261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
98279262 $as_echo "$hard_links" >&6; }
98289263 if test "$hard_links" = no; then
9829 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
98309265 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
98319266 need_locks=warn
98329267 fi
98399274
98409275
98419276
9842 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
98439278 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
98449279
98459280 runpath_var=
98999334 openbsd*)
99009335 with_gnu_ld=no
99019336 ;;
9337 linux* | k*bsd*-gnu)
9338 link_all_deplibs=no
9339 ;;
99029340 esac
99039341
99049342 ld_shlibs=yes
99209358 fi
99219359 supports_anon_versioning=no
99229360 case `$LD -v 2>&1` in
9361 *GNU\ gold*) supports_anon_versioning=yes ;;
99239362 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
99249363 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
99259364 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
100119450 archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
100129451 ;;
100139452
10014 gnu* | linux* | tpf* | k*bsd*-gnu)
9453 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
100159454 tmp_diet=no
100169455 if test "$host_os" = linux-dietlibc; then
100179456 case $cc_basename in
100819520 fi
100829521 ;;
100839522
10084 netbsd*)
9523 netbsd* | netbsdelf*-gnu)
100859524 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
100869525 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
100879526 wlarc=
102569695 if test "$aix_use_runtimelinking" = yes; then
102579696 shared_flag="$shared_flag "'${wl}-G'
102589697 fi
9698 link_all_deplibs=no
102599699 else
102609700 # not using gcc
102619701 if test "$host_cpu" = ia64; then
102819721 allow_undefined_flag='-berok'
102829722 # Determine the default libpath from the value encoded in an
102839723 # empty executable.
10284 cat >conftest.$ac_ext <<_ACEOF
10285 /* confdefs.h. */
10286 _ACEOF
10287 cat confdefs.h >>conftest.$ac_ext
10288 cat >>conftest.$ac_ext <<_ACEOF
9724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
102899725 /* end confdefs.h. */
102909726
102919727 int
102969732 return 0;
102979733 }
102989734 _ACEOF
10299 rm -f conftest.$ac_objext conftest$ac_exeext
10300 if { (ac_try="$ac_link"
10301 case "(($ac_try" in
10302 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10303 *) ac_try_echo=$ac_try;;
10304 esac
10305 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10306 $as_echo "$ac_try_echo") >&5
10307 (eval "$ac_link") 2>conftest.er1
10308 ac_status=$?
10309 grep -v '^ *+' conftest.er1 >conftest.err
10310 rm -f conftest.er1
10311 cat conftest.err >&5
10312 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10313 (exit $ac_status); } && {
10314 test -z "$ac_c_werror_flag" ||
10315 test ! -s conftest.err
10316 } && test -s conftest$ac_exeext && {
10317 test "$cross_compiling" = yes ||
10318 $as_test_x conftest$ac_exeext
10319 }; then
9735 if ac_fn_c_try_link "$LINENO"; then :
103209736
103219737 lt_aix_libpath_sed='
103229738 /Import File Strings/,/^$/ {
103309746 if test -z "$aix_libpath"; then
103319747 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
103329748 fi
10333 else
10334 $as_echo "$as_me: failed program was:" >&5
10335 sed 's/^/| /' conftest.$ac_ext >&5
10336
10337
10338 fi
10339
10340 rm -rf conftest.dSYM
10341 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10342 conftest$ac_exeext conftest.$ac_ext
9749 fi
9750 rm -f core conftest.err conftest.$ac_objext \
9751 conftest$ac_exeext conftest.$ac_ext
103439752 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
103449753
103459754 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
103529761 else
103539762 # Determine the default libpath from the value encoded in an
103549763 # empty executable.
10355 cat >conftest.$ac_ext <<_ACEOF
10356 /* confdefs.h. */
10357 _ACEOF
10358 cat confdefs.h >>conftest.$ac_ext
10359 cat >>conftest.$ac_ext <<_ACEOF
9764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
103609765 /* end confdefs.h. */
103619766
103629767 int
103679772 return 0;
103689773 }
103699774 _ACEOF
10370 rm -f conftest.$ac_objext conftest$ac_exeext
10371 if { (ac_try="$ac_link"
10372 case "(($ac_try" in
10373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10374 *) ac_try_echo=$ac_try;;
10375 esac
10376 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10377 $as_echo "$ac_try_echo") >&5
10378 (eval "$ac_link") 2>conftest.er1
10379 ac_status=$?
10380 grep -v '^ *+' conftest.er1 >conftest.err
10381 rm -f conftest.er1
10382 cat conftest.err >&5
10383 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10384 (exit $ac_status); } && {
10385 test -z "$ac_c_werror_flag" ||
10386 test ! -s conftest.err
10387 } && test -s conftest$ac_exeext && {
10388 test "$cross_compiling" = yes ||
10389 $as_test_x conftest$ac_exeext
10390 }; then
9775 if ac_fn_c_try_link "$LINENO"; then :
103919776
103929777 lt_aix_libpath_sed='
103939778 /Import File Strings/,/^$/ {
104019786 if test -z "$aix_libpath"; then
104029787 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
104039788 fi
10404 else
10405 $as_echo "$as_me: failed program was:" >&5
10406 sed 's/^/| /' conftest.$ac_ext >&5
10407
10408
10409 fi
10410
10411 rm -rf conftest.dSYM
10412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10413 conftest$ac_exeext conftest.$ac_ext
9789 fi
9790 rm -f core conftest.err conftest.$ac_objext \
9791 conftest$ac_exeext conftest.$ac_ext
104149792 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
104159793
104169794 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
1062210000 # implicitly export all symbols.
1062310001 save_LDFLAGS="$LDFLAGS"
1062410002 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10625 cat >conftest.$ac_ext <<_ACEOF
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
1062610005 int foo(void) {}
1062710006 _ACEOF
10628 rm -f conftest.$ac_objext conftest$ac_exeext
10629 if { (ac_try="$ac_link"
10630 case "(($ac_try" in
10631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10632 *) ac_try_echo=$ac_try;;
10633 esac
10634 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
10635 $as_echo "$ac_try_echo") >&5
10636 (eval "$ac_link") 2>conftest.er1
10637 ac_status=$?
10638 grep -v '^ *+' conftest.er1 >conftest.err
10639 rm -f conftest.er1
10640 cat conftest.err >&5
10641 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10642 (exit $ac_status); } && {
10643 test -z "$ac_c_werror_flag" ||
10644 test ! -s conftest.err
10645 } && test -s conftest$ac_exeext && {
10646 test "$cross_compiling" = yes ||
10647 $as_test_x conftest$ac_exeext
10648 }; then
10007 if ac_fn_c_try_link "$LINENO"; then :
1064910008 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
1065010009
10651 else
10652 $as_echo "$as_me: failed program was:" >&5
10653 sed 's/^/| /' conftest.$ac_ext >&5
10654
10655
10656 fi
10657
10658 rm -rf conftest.dSYM
10659 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
10660 conftest$ac_exeext conftest.$ac_ext
10010 fi
10011 rm -f core conftest.err conftest.$ac_objext \
10012 conftest$ac_exeext conftest.$ac_ext
1066110013 LDFLAGS="$save_LDFLAGS"
1066210014 else
1066310015 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
1067010022 link_all_deplibs=yes
1067110023 ;;
1067210024
10673 netbsd*)
10025 netbsd* | netbsdelf*-gnu)
1067410026 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
1067510027 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
1067610028 else
1091310265 fi
1091410266 fi
1091510267
10916 { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
10268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
1091710269 $as_echo "$ld_shlibs" >&6; }
1091810270 test "$ld_shlibs" = no && can_build_shared=no
1091910271
1095010302 # Test whether the compiler implicitly links with -lc since on some
1095110303 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1095210304 # to ld, don't add -lc before -lgcc.
10953 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
10305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1095410306 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1095510307 $RM conftest*
1095610308 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1095710309
10958 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10310 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1095910311 (eval $ac_compile) 2>&5
1096010312 ac_status=$?
10961 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10962 (exit $ac_status); } 2>conftest.err; then
10313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10314 test $ac_status = 0; } 2>conftest.err; then
1096310315 soname=conftest
1096410316 lib=conftest
1096510317 libobjs=conftest.$ac_objext
1097310325 libname=conftest
1097410326 lt_save_allow_undefined_flag=$allow_undefined_flag
1097510327 allow_undefined_flag=
10976 if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
10328 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1097710329 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1097810330 ac_status=$?
10979 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
10980 (exit $ac_status); }
10331 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10332 test $ac_status = 0; }
1098110333 then
1098210334 archive_cmds_need_lc=no
1098310335 else
1098810340 cat conftest.err 1>&5
1098910341 fi
1099010342 $RM conftest*
10991 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
10343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc" >&5
1099210344 $as_echo "$archive_cmds_need_lc" >&6; }
1099310345 ;;
1099410346 esac
1115210504
1115310505
1115410506
11155 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1115610508 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1115710509
1115810510 if test "$GCC" = yes; then
1156010912 ;;
1156110913
1156210914 # This must be Linux ELF.
11563 linux* | k*bsd*-gnu)
10915 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1156410916 version_type=linux
1156510917 need_lib_prefix=no
1156610918 need_version=no
1157410926 save_libdir=$libdir
1157510927 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
1157610928 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11577 cat >conftest.$ac_ext <<_ACEOF
11578 /* confdefs.h. */
11579 _ACEOF
11580 cat confdefs.h >>conftest.$ac_ext
11581 cat >>conftest.$ac_ext <<_ACEOF
10929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1158210930 /* end confdefs.h. */
1158310931
1158410932 int
1158910937 return 0;
1159010938 }
1159110939 _ACEOF
11592 rm -f conftest.$ac_objext conftest$ac_exeext
11593 if { (ac_try="$ac_link"
11594 case "(($ac_try" in
11595 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
11596 *) ac_try_echo=$ac_try;;
11597 esac
11598 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
11599 $as_echo "$ac_try_echo") >&5
11600 (eval "$ac_link") 2>conftest.er1
11601 ac_status=$?
11602 grep -v '^ *+' conftest.er1 >conftest.err
11603 rm -f conftest.er1
11604 cat conftest.err >&5
11605 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
11606 (exit $ac_status); } && {
11607 test -z "$ac_c_werror_flag" ||
11608 test ! -s conftest.err
11609 } && test -s conftest$ac_exeext && {
11610 test "$cross_compiling" = yes ||
11611 $as_test_x conftest$ac_exeext
11612 }; then
11613 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
10940 if ac_fn_c_try_link "$LINENO"; then :
10941 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1161410942 shlibpath_overrides_runpath=yes
1161510943 fi
11616
11617 else
11618 $as_echo "$as_me: failed program was:" >&5
11619 sed 's/^/| /' conftest.$ac_ext >&5
11620
11621
11622 fi
11623
11624 rm -rf conftest.dSYM
11625 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
11626 conftest$ac_exeext conftest.$ac_ext
10944 fi
10945 rm -f core conftest.err conftest.$ac_objext \
10946 conftest$ac_exeext conftest.$ac_ext
1162710947 LDFLAGS=$save_LDFLAGS
1162810948 libdir=$save_libdir
1162910949
1163210952 # before this can be enabled.
1163310953 hardcode_into_libs=yes
1163410954
11635 # Add ABI-specific directories to the system library path.
11636 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
11637
1163810955 # Append ld.so.conf contents to the search path
1163910956 if test -f /etc/ld.so.conf; then
1164010957 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
11641 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
10958 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1164210959 fi
1164310960
1164410961 # We used to test for /lib/ld.so.1 and disable shared libraries on
1164810965 # people can always --disable-shared, the test was removed, and we
1164910966 # assume the GNU/Linux dynamic linker is in use.
1165010967 dynamic_linker='GNU/Linux ld.so'
10968 ;;
10969
10970 netbsdelf*-gnu)
10971 version_type=linux
10972 need_lib_prefix=no
10973 need_version=no
10974 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
10975 soname_spec='${libname}${release}${shared_ext}$major'
10976 shlibpath_var=LD_LIBRARY_PATH
10977 shlibpath_overrides_runpath=no
10978 hardcode_into_libs=yes
10979 dynamic_linker='NetBSD ld.elf_so'
1165110980 ;;
1165210981
1165310982 netbsd*)
1183811167 dynamic_linker=no
1183911168 ;;
1184011169 esac
11841 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
11170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1184211171 $as_echo "$dynamic_linker" >&6; }
1184311172 test "$dynamic_linker" = no && can_build_shared=no
1184411173
1194011269
1194111270
1194211271
11943 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
11272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1194411273 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1194511274 hardcode_action=
1194611275 if test -n "$hardcode_libdir_flag_spec" ||
1196511294 # directories.
1196611295 hardcode_action=unsupported
1196711296 fi
11968 { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
1196911298 $as_echo "$hardcode_action" >&6; }
1197011299
1197111300 if test "$hardcode_action" = relink ||
1201011339
1201111340 darwin*)
1201211341 # if libdl is installed we need to link against it
12013 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1201411343 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12015 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11344 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
1201611345 $as_echo_n "(cached) " >&6
1201711346 else
1201811347 ac_check_lib_save_LIBS=$LIBS
1201911348 LIBS="-ldl $LIBS"
12020 cat >conftest.$ac_ext <<_ACEOF
12021 /* confdefs.h. */
12022 _ACEOF
12023 cat confdefs.h >>conftest.$ac_ext
12024 cat >>conftest.$ac_ext <<_ACEOF
11349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1202511350 /* end confdefs.h. */
1202611351
1202711352 /* Override any GCC internal prototype to avoid an error.
1203911364 return 0;
1204011365 }
1204111366 _ACEOF
12042 rm -f conftest.$ac_objext conftest$ac_exeext
12043 if { (ac_try="$ac_link"
12044 case "(($ac_try" in
12045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12046 *) ac_try_echo=$ac_try;;
12047 esac
12048 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12049 $as_echo "$ac_try_echo") >&5
12050 (eval "$ac_link") 2>conftest.er1
12051 ac_status=$?
12052 grep -v '^ *+' conftest.er1 >conftest.err
12053 rm -f conftest.er1
12054 cat conftest.err >&5
12055 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12056 (exit $ac_status); } && {
12057 test -z "$ac_c_werror_flag" ||
12058 test ! -s conftest.err
12059 } && test -s conftest$ac_exeext && {
12060 test "$cross_compiling" = yes ||
12061 $as_test_x conftest$ac_exeext
12062 }; then
11367 if ac_fn_c_try_link "$LINENO"; then :
1206311368 ac_cv_lib_dl_dlopen=yes
1206411369 else
12065 $as_echo "$as_me: failed program was:" >&5
12066 sed 's/^/| /' conftest.$ac_ext >&5
12067
12068 ac_cv_lib_dl_dlopen=no
12069 fi
12070
12071 rm -rf conftest.dSYM
12072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12073 conftest$ac_exeext conftest.$ac_ext
11370 ac_cv_lib_dl_dlopen=no
11371 fi
11372 rm -f core conftest.err conftest.$ac_objext \
11373 conftest$ac_exeext conftest.$ac_ext
1207411374 LIBS=$ac_check_lib_save_LIBS
1207511375 fi
12076 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1207711377 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12078 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11378 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
1207911379 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1208011380 else
1208111381
1208811388 ;;
1208911389
1209011390 *)
12091 { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
12092 $as_echo_n "checking for shl_load... " >&6; }
12093 if test "${ac_cv_func_shl_load+set}" = set; then
12094 $as_echo_n "(cached) " >&6
12095 else
12096 cat >conftest.$ac_ext <<_ACEOF
12097 /* confdefs.h. */
12098 _ACEOF
12099 cat confdefs.h >>conftest.$ac_ext
12100 cat >>conftest.$ac_ext <<_ACEOF
12101 /* end confdefs.h. */
12102 /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
12103 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12104 #define shl_load innocuous_shl_load
12105
12106 /* System header to define __stub macros and hopefully few prototypes,
12107 which can conflict with char shl_load (); below.
12108 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12109 <limits.h> exists even on freestanding compilers. */
12110
12111 #ifdef __STDC__
12112 # include <limits.h>
12113 #else
12114 # include <assert.h>
12115 #endif
12116
12117 #undef shl_load
12118
12119 /* Override any GCC internal prototype to avoid an error.
12120 Use char because int might match the return type of a GCC
12121 builtin and then its argument prototype would still apply. */
12122 #ifdef __cplusplus
12123 extern "C"
12124 #endif
12125 char shl_load ();
12126 /* The GNU C library defines this for functions which it implements
12127 to always fail with ENOSYS. Some functions are actually named
12128 something starting with __ and the normal name is an alias. */
12129 #if defined __stub_shl_load || defined __stub___shl_load
12130 choke me
12131 #endif
12132
12133 int
12134 main ()
12135 {
12136 return shl_load ();
12137 ;
12138 return 0;
12139 }
12140 _ACEOF
12141 rm -f conftest.$ac_objext conftest$ac_exeext
12142 if { (ac_try="$ac_link"
12143 case "(($ac_try" in
12144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12145 *) ac_try_echo=$ac_try;;
12146 esac
12147 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12148 $as_echo "$ac_try_echo") >&5
12149 (eval "$ac_link") 2>conftest.er1
12150 ac_status=$?
12151 grep -v '^ *+' conftest.er1 >conftest.err
12152 rm -f conftest.er1
12153 cat conftest.err >&5
12154 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12155 (exit $ac_status); } && {
12156 test -z "$ac_c_werror_flag" ||
12157 test ! -s conftest.err
12158 } && test -s conftest$ac_exeext && {
12159 test "$cross_compiling" = yes ||
12160 $as_test_x conftest$ac_exeext
12161 }; then
12162 ac_cv_func_shl_load=yes
12163 else
12164 $as_echo "$as_me: failed program was:" >&5
12165 sed 's/^/| /' conftest.$ac_ext >&5
12166
12167 ac_cv_func_shl_load=no
12168 fi
12169
12170 rm -rf conftest.dSYM
12171 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12172 conftest$ac_exeext conftest.$ac_ext
12173 fi
12174 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
12175 $as_echo "$ac_cv_func_shl_load" >&6; }
12176 if test "x$ac_cv_func_shl_load" = x""yes; then
11391 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11392 if test "x$ac_cv_func_shl_load" = x""yes; then :
1217711393 lt_cv_dlopen="shl_load"
1217811394 else
12179 { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
11395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
1218011396 $as_echo_n "checking for shl_load in -ldld... " >&6; }
12181 if test "${ac_cv_lib_dld_shl_load+set}" = set; then
11397 if test "${ac_cv_lib_dld_shl_load+set}" = set; then :
1218211398 $as_echo_n "(cached) " >&6
1218311399 else
1218411400 ac_check_lib_save_LIBS=$LIBS
1218511401 LIBS="-ldld $LIBS"
12186 cat >conftest.$ac_ext <<_ACEOF
12187 /* confdefs.h. */
12188 _ACEOF
12189 cat confdefs.h >>conftest.$ac_ext
12190 cat >>conftest.$ac_ext <<_ACEOF
11402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1219111403 /* end confdefs.h. */
1219211404
1219311405 /* Override any GCC internal prototype to avoid an error.
1220511417 return 0;
1220611418 }
1220711419 _ACEOF
12208 rm -f conftest.$ac_objext conftest$ac_exeext
12209 if { (ac_try="$ac_link"
12210 case "(($ac_try" in
12211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12212 *) ac_try_echo=$ac_try;;
12213 esac
12214 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12215 $as_echo "$ac_try_echo") >&5
12216 (eval "$ac_link") 2>conftest.er1
12217 ac_status=$?
12218 grep -v '^ *+' conftest.er1 >conftest.err
12219 rm -f conftest.er1
12220 cat conftest.err >&5
12221 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12222 (exit $ac_status); } && {
12223 test -z "$ac_c_werror_flag" ||
12224 test ! -s conftest.err
12225 } && test -s conftest$ac_exeext && {
12226 test "$cross_compiling" = yes ||
12227 $as_test_x conftest$ac_exeext
12228 }; then
11420 if ac_fn_c_try_link "$LINENO"; then :
1222911421 ac_cv_lib_dld_shl_load=yes
1223011422 else
12231 $as_echo "$as_me: failed program was:" >&5
12232 sed 's/^/| /' conftest.$ac_ext >&5
12233
12234 ac_cv_lib_dld_shl_load=no
12235 fi
12236
12237 rm -rf conftest.dSYM
12238 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12239 conftest$ac_exeext conftest.$ac_ext
11423 ac_cv_lib_dld_shl_load=no
11424 fi
11425 rm -f core conftest.err conftest.$ac_objext \
11426 conftest$ac_exeext conftest.$ac_ext
1224011427 LIBS=$ac_check_lib_save_LIBS
1224111428 fi
12242 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
11429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
1224311430 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
12244 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
11431 if test "x$ac_cv_lib_dld_shl_load" = x""yes; then :
1224511432 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
1224611433 else
12247 { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
12248 $as_echo_n "checking for dlopen... " >&6; }
12249 if test "${ac_cv_func_dlopen+set}" = set; then
12250 $as_echo_n "(cached) " >&6
12251 else
12252 cat >conftest.$ac_ext <<_ACEOF
12253 /* confdefs.h. */
12254 _ACEOF
12255 cat confdefs.h >>conftest.$ac_ext
12256 cat >>conftest.$ac_ext <<_ACEOF
12257 /* end confdefs.h. */
12258 /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
12259 For example, HP-UX 11i <limits.h> declares gettimeofday. */
12260 #define dlopen innocuous_dlopen
12261
12262 /* System header to define __stub macros and hopefully few prototypes,
12263 which can conflict with char dlopen (); below.
12264 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12265 <limits.h> exists even on freestanding compilers. */
12266
12267 #ifdef __STDC__
12268 # include <limits.h>
12269 #else
12270 # include <assert.h>
12271 #endif
12272
12273 #undef dlopen
12274
12275 /* Override any GCC internal prototype to avoid an error.
12276 Use char because int might match the return type of a GCC
12277 builtin and then its argument prototype would still apply. */
12278 #ifdef __cplusplus
12279 extern "C"
12280 #endif
12281 char dlopen ();
12282 /* The GNU C library defines this for functions which it implements
12283 to always fail with ENOSYS. Some functions are actually named
12284 something starting with __ and the normal name is an alias. */
12285 #if defined __stub_dlopen || defined __stub___dlopen
12286 choke me
12287 #endif
12288
12289 int
12290 main ()
12291 {
12292 return dlopen ();
12293 ;
12294 return 0;
12295 }
12296 _ACEOF
12297 rm -f conftest.$ac_objext conftest$ac_exeext
12298 if { (ac_try="$ac_link"
12299 case "(($ac_try" in
12300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12301 *) ac_try_echo=$ac_try;;
12302 esac
12303 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12304 $as_echo "$ac_try_echo") >&5
12305 (eval "$ac_link") 2>conftest.er1
12306 ac_status=$?
12307 grep -v '^ *+' conftest.er1 >conftest.err
12308 rm -f conftest.er1
12309 cat conftest.err >&5
12310 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12311 (exit $ac_status); } && {
12312 test -z "$ac_c_werror_flag" ||
12313 test ! -s conftest.err
12314 } && test -s conftest$ac_exeext && {
12315 test "$cross_compiling" = yes ||
12316 $as_test_x conftest$ac_exeext
12317 }; then
12318 ac_cv_func_dlopen=yes
12319 else
12320 $as_echo "$as_me: failed program was:" >&5
12321 sed 's/^/| /' conftest.$ac_ext >&5
12322
12323 ac_cv_func_dlopen=no
12324 fi
12325
12326 rm -rf conftest.dSYM
12327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12328 conftest$ac_exeext conftest.$ac_ext
12329 fi
12330 { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
12331 $as_echo "$ac_cv_func_dlopen" >&6; }
12332 if test "x$ac_cv_func_dlopen" = x""yes; then
11434 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11435 if test "x$ac_cv_func_dlopen" = x""yes; then :
1233311436 lt_cv_dlopen="dlopen"
1233411437 else
12335 { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
1233611439 $as_echo_n "checking for dlopen in -ldl... " >&6; }
12337 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
11440 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
1233811441 $as_echo_n "(cached) " >&6
1233911442 else
1234011443 ac_check_lib_save_LIBS=$LIBS
1234111444 LIBS="-ldl $LIBS"
12342 cat >conftest.$ac_ext <<_ACEOF
12343 /* confdefs.h. */
12344 _ACEOF
12345 cat confdefs.h >>conftest.$ac_ext
12346 cat >>conftest.$ac_ext <<_ACEOF
11445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1234711446 /* end confdefs.h. */
1234811447
1234911448 /* Override any GCC internal prototype to avoid an error.
1236111460 return 0;
1236211461 }
1236311462 _ACEOF
12364 rm -f conftest.$ac_objext conftest$ac_exeext
12365 if { (ac_try="$ac_link"
12366 case "(($ac_try" in
12367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12368 *) ac_try_echo=$ac_try;;
12369 esac
12370 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12371 $as_echo "$ac_try_echo") >&5
12372 (eval "$ac_link") 2>conftest.er1
12373 ac_status=$?
12374 grep -v '^ *+' conftest.er1 >conftest.err
12375 rm -f conftest.er1
12376 cat conftest.err >&5
12377 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12378 (exit $ac_status); } && {
12379 test -z "$ac_c_werror_flag" ||
12380 test ! -s conftest.err
12381 } && test -s conftest$ac_exeext && {
12382 test "$cross_compiling" = yes ||
12383 $as_test_x conftest$ac_exeext
12384 }; then
11463 if ac_fn_c_try_link "$LINENO"; then :
1238511464 ac_cv_lib_dl_dlopen=yes
1238611465 else
12387 $as_echo "$as_me: failed program was:" >&5
12388 sed 's/^/| /' conftest.$ac_ext >&5
12389
12390 ac_cv_lib_dl_dlopen=no
12391 fi
12392
12393 rm -rf conftest.dSYM
12394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12395 conftest$ac_exeext conftest.$ac_ext
11466 ac_cv_lib_dl_dlopen=no
11467 fi
11468 rm -f core conftest.err conftest.$ac_objext \
11469 conftest$ac_exeext conftest.$ac_ext
1239611470 LIBS=$ac_check_lib_save_LIBS
1239711471 fi
12398 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
11472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
1239911473 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
12400 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
11474 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
1240111475 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
1240211476 else
12403 { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
11477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
1240411478 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12405 if test "${ac_cv_lib_svld_dlopen+set}" = set; then
11479 if test "${ac_cv_lib_svld_dlopen+set}" = set; then :
1240611480 $as_echo_n "(cached) " >&6
1240711481 else
1240811482 ac_check_lib_save_LIBS=$LIBS
1240911483 LIBS="-lsvld $LIBS"
12410 cat >conftest.$ac_ext <<_ACEOF
12411 /* confdefs.h. */
12412 _ACEOF
12413 cat confdefs.h >>conftest.$ac_ext
12414 cat >>conftest.$ac_ext <<_ACEOF
11484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1241511485 /* end confdefs.h. */
1241611486
1241711487 /* Override any GCC internal prototype to avoid an error.
1242911499 return 0;
1243011500 }
1243111501 _ACEOF
12432 rm -f conftest.$ac_objext conftest$ac_exeext
12433 if { (ac_try="$ac_link"
12434 case "(($ac_try" in
12435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12436 *) ac_try_echo=$ac_try;;
12437 esac
12438 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12439 $as_echo "$ac_try_echo") >&5
12440 (eval "$ac_link") 2>conftest.er1
12441 ac_status=$?
12442 grep -v '^ *+' conftest.er1 >conftest.err
12443 rm -f conftest.er1
12444 cat conftest.err >&5
12445 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12446 (exit $ac_status); } && {
12447 test -z "$ac_c_werror_flag" ||
12448 test ! -s conftest.err
12449 } && test -s conftest$ac_exeext && {
12450 test "$cross_compiling" = yes ||
12451 $as_test_x conftest$ac_exeext
12452 }; then
11502 if ac_fn_c_try_link "$LINENO"; then :
1245311503 ac_cv_lib_svld_dlopen=yes
1245411504 else
12455 $as_echo "$as_me: failed program was:" >&5
12456 sed 's/^/| /' conftest.$ac_ext >&5
12457
12458 ac_cv_lib_svld_dlopen=no
12459 fi
12460
12461 rm -rf conftest.dSYM
12462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12463 conftest$ac_exeext conftest.$ac_ext
11505 ac_cv_lib_svld_dlopen=no
11506 fi
11507 rm -f core conftest.err conftest.$ac_objext \
11508 conftest$ac_exeext conftest.$ac_ext
1246411509 LIBS=$ac_check_lib_save_LIBS
1246511510 fi
12466 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
11511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
1246711512 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12468 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
11513 if test "x$ac_cv_lib_svld_dlopen" = x""yes; then :
1246911514 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
1247011515 else
12471 { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
11516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
1247211517 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12473 if test "${ac_cv_lib_dld_dld_link+set}" = set; then
11518 if test "${ac_cv_lib_dld_dld_link+set}" = set; then :
1247411519 $as_echo_n "(cached) " >&6
1247511520 else
1247611521 ac_check_lib_save_LIBS=$LIBS
1247711522 LIBS="-ldld $LIBS"
12478 cat >conftest.$ac_ext <<_ACEOF
12479 /* confdefs.h. */
12480 _ACEOF
12481 cat confdefs.h >>conftest.$ac_ext
12482 cat >>conftest.$ac_ext <<_ACEOF
11523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1248311524 /* end confdefs.h. */
1248411525
1248511526 /* Override any GCC internal prototype to avoid an error.
1249711538 return 0;
1249811539 }
1249911540 _ACEOF
12500 rm -f conftest.$ac_objext conftest$ac_exeext
12501 if { (ac_try="$ac_link"
12502 case "(($ac_try" in
12503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
12504 *) ac_try_echo=$ac_try;;
12505 esac
12506 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
12507 $as_echo "$ac_try_echo") >&5
12508 (eval "$ac_link") 2>conftest.er1
12509 ac_status=$?
12510 grep -v '^ *+' conftest.er1 >conftest.err
12511 rm -f conftest.er1
12512 cat conftest.err >&5
12513 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12514 (exit $ac_status); } && {
12515 test -z "$ac_c_werror_flag" ||
12516 test ! -s conftest.err
12517 } && test -s conftest$ac_exeext && {
12518 test "$cross_compiling" = yes ||
12519 $as_test_x conftest$ac_exeext
12520 }; then
11541 if ac_fn_c_try_link "$LINENO"; then :
1252111542 ac_cv_lib_dld_dld_link=yes
1252211543 else
12523 $as_echo "$as_me: failed program was:" >&5
12524 sed 's/^/| /' conftest.$ac_ext >&5
12525
12526 ac_cv_lib_dld_dld_link=no
12527 fi
12528
12529 rm -rf conftest.dSYM
12530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
12531 conftest$ac_exeext conftest.$ac_ext
11544 ac_cv_lib_dld_dld_link=no
11545 fi
11546 rm -f core conftest.err conftest.$ac_objext \
11547 conftest$ac_exeext conftest.$ac_ext
1253211548 LIBS=$ac_check_lib_save_LIBS
1253311549 fi
12534 { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
11550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
1253511551 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12536 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
11552 if test "x$ac_cv_lib_dld_dld_link" = x""yes; then :
1253711553 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
1253811554 fi
1253911555
1257211588 save_LIBS="$LIBS"
1257311589 LIBS="$lt_cv_dlopen_libs $LIBS"
1257411590
12575 { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
11591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
1257611592 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12577 if test "${lt_cv_dlopen_self+set}" = set; then
11593 if test "${lt_cv_dlopen_self+set}" = set; then :
1257811594 $as_echo_n "(cached) " >&6
1257911595 else
1258011596 if test "$cross_compiling" = yes; then :
1258311599 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1258411600 lt_status=$lt_dlunknown
1258511601 cat > conftest.$ac_ext <<_LT_EOF
12586 #line 12587 "configure"
11602 #line 11603 "configure"
1258711603 #include "confdefs.h"
1258811604
1258911605 #if HAVE_DLFCN_H
1264211658 return status;
1264311659 }
1264411660 _LT_EOF
12645 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11661 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1264611662 (eval $ac_link) 2>&5
1264711663 ac_status=$?
12648 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12649 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11664 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11665 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1265011666 (./conftest; exit; ) >&5 2>/dev/null
1265111667 lt_status=$?
1265211668 case x$lt_status in
1266311679
1266411680
1266511681 fi
12666 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
11682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
1266711683 $as_echo "$lt_cv_dlopen_self" >&6; }
1266811684
1266911685 if test "x$lt_cv_dlopen_self" = xyes; then
1267011686 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12671 { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
11687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
1267211688 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12673 if test "${lt_cv_dlopen_self_static+set}" = set; then
11689 if test "${lt_cv_dlopen_self_static+set}" = set; then :
1267411690 $as_echo_n "(cached) " >&6
1267511691 else
1267611692 if test "$cross_compiling" = yes; then :
1267911695 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
1268011696 lt_status=$lt_dlunknown
1268111697 cat > conftest.$ac_ext <<_LT_EOF
12682 #line 12683 "configure"
11698 #line 11699 "configure"
1268311699 #include "confdefs.h"
1268411700
1268511701 #if HAVE_DLFCN_H
1273811754 return status;
1273911755 }
1274011756 _LT_EOF
12741 if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
11757 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
1274211758 (eval $ac_link) 2>&5
1274311759 ac_status=$?
12744 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
12745 (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
11760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11761 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
1274611762 (./conftest; exit; ) >&5 2>/dev/null
1274711763 lt_status=$?
1274811764 case x$lt_status in
1275911775
1276011776
1276111777 fi
12762 { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
11778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
1276311779 $as_echo "$lt_cv_dlopen_self_static" >&6; }
1276411780 fi
1276511781
1279811814
1279911815 striplib=
1280011816 old_striplib=
12801 { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
11817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
1280211818 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
1280311819 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
1280411820 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
1280511821 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12806 { $as_echo "$as_me:$LINENO: result: yes" >&5
11822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1280711823 $as_echo "yes" >&6; }
1280811824 else
1280911825 # FIXME - insert some real tests, host_os isn't really good enough
1281211828 if test -n "$STRIP" ; then
1281311829 striplib="$STRIP -x"
1281411830 old_striplib="$STRIP -S"
12815 { $as_echo "$as_me:$LINENO: result: yes" >&5
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1281611832 $as_echo "yes" >&6; }
1281711833 else
12818 { $as_echo "$as_me:$LINENO: result: no" >&5
11834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1281911835 $as_echo "no" >&6; }
1282011836 fi
1282111837 ;;
1282211838 *)
12823 { $as_echo "$as_me:$LINENO: result: no" >&5
11839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1282411840 $as_echo "no" >&6; }
1282511841 ;;
1282611842 esac
1283811854
1283911855
1284011856 # Report which library types will actually be built
12841 { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
11857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
1284211858 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12843 { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
1284411860 $as_echo "$can_build_shared" >&6; }
1284511861
12846 { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
11862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
1284711863 $as_echo_n "checking whether to build shared libraries... " >&6; }
1284811864 test "$can_build_shared" = "no" && enable_shared=no
1284911865
1286411880 fi
1286511881 ;;
1286611882 esac
12867 { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
11883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
1286811884 $as_echo "$enable_shared" >&6; }
1286911885
12870 { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
11886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
1287111887 $as_echo_n "checking whether to build static libraries... " >&6; }
1287211888 # Make sure either enable_shared or enable_static is yes.
1287311889 test "$enable_shared" = yes || enable_static=yes
12874 { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
11890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
1287511891 $as_echo "$enable_static" >&6; }
1287611892
1287711893
1301212028
1301312029
1301412030 # Check whether --with-gnu-ld was given.
13015 if test "${with_gnu_ld+set}" = set; then
12031 if test "${with_gnu_ld+set}" = set; then :
1301612032 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
1301712033 else
1301812034 with_gnu_ld=no
1302112037 ac_prog=ld
1302212038 if test "$GCC" = yes; then
1302312039 # Check if gcc -print-prog-name=ld gives a path.
13024 { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
1302512041 $as_echo_n "checking for ld used by $CC... " >&6; }
1302612042 case $host in
1302712043 *-*-mingw*)
1305112067 ;;
1305212068 esac
1305312069 elif test "$with_gnu_ld" = yes; then
13054 { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
12070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
1305512071 $as_echo_n "checking for GNU ld... " >&6; }
1305612072 else
13057 { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
1305812074 $as_echo_n "checking for non-GNU ld... " >&6; }
1305912075 fi
13060 if test "${lt_cv_path_LD+set}" = set; then
12076 if test "${lt_cv_path_LD+set}" = set; then :
1306112077 $as_echo_n "(cached) " >&6
1306212078 else
1306312079 if test -z "$LD"; then
1308812104
1308912105 LD="$lt_cv_path_LD"
1309012106 if test -n "$LD"; then
13091 { $as_echo "$as_me:$LINENO: result: $LD" >&5
12107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
1309212108 $as_echo "$LD" >&6; }
1309312109 else
13094 { $as_echo "$as_me:$LINENO: result: no" >&5
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1309512111 $as_echo "no" >&6; }
1309612112 fi
13097 test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
13098 $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
13099 { (exit 1); exit 1; }; }
13100 { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
12113 test -z "$LD" && as_fn_error "no acceptable ld found in \$PATH" "$LINENO" 5
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
1310112115 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
13102 if test "${lt_cv_prog_gnu_ld+set}" = set; then
12116 if test "${lt_cv_prog_gnu_ld+set}" = set; then :
1310312117 $as_echo_n "(cached) " >&6
1310412118 else
1310512119 # I'd rather use --version here, but apparently some GNU lds only accept -v.
1311212126 ;;
1311312127 esac
1311412128 fi
13115 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
12129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
1311612130 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
1311712131 with_gnu_ld=$lt_cv_prog_gnu_ld
1311812132
1316712181 fi
1316812182
1316912183 # PORTME: fill in a description of your system's C++ link characteristics
13170 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1317112185 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1317212186 ld_shlibs_CXX=yes
1317312187 case $host_os in
1326812282 allow_undefined_flag_CXX='-berok'
1326912283 # Determine the default libpath from the value encoded in an empty
1327012284 # executable.
13271 cat >conftest.$ac_ext <<_ACEOF
13272 /* confdefs.h. */
13273 _ACEOF
13274 cat confdefs.h >>conftest.$ac_ext
13275 cat >>conftest.$ac_ext <<_ACEOF
12285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1327612286 /* end confdefs.h. */
1327712287
1327812288 int
1328312293 return 0;
1328412294 }
1328512295 _ACEOF
13286 rm -f conftest.$ac_objext conftest$ac_exeext
13287 if { (ac_try="$ac_link"
13288 case "(($ac_try" in
13289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13290 *) ac_try_echo=$ac_try;;
13291 esac
13292 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13293 $as_echo "$ac_try_echo") >&5
13294 (eval "$ac_link") 2>conftest.er1
13295 ac_status=$?
13296 grep -v '^ *+' conftest.er1 >conftest.err
13297 rm -f conftest.er1
13298 cat conftest.err >&5
13299 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13300 (exit $ac_status); } && {
13301 test -z "$ac_cxx_werror_flag" ||
13302 test ! -s conftest.err
13303 } && test -s conftest$ac_exeext && {
13304 test "$cross_compiling" = yes ||
13305 $as_test_x conftest$ac_exeext
13306 }; then
12296 if ac_fn_cxx_try_link "$LINENO"; then :
1330712297
1330812298 lt_aix_libpath_sed='
1330912299 /Import File Strings/,/^$/ {
1331712307 if test -z "$aix_libpath"; then
1331812308 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1331912309 fi
13320 else
13321 $as_echo "$as_me: failed program was:" >&5
13322 sed 's/^/| /' conftest.$ac_ext >&5
13323
13324
13325 fi
13326
13327 rm -rf conftest.dSYM
13328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13329 conftest$ac_exeext conftest.$ac_ext
12310 fi
12311 rm -f core conftest.err conftest.$ac_objext \
12312 conftest$ac_exeext conftest.$ac_ext
1333012313 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1333112314
1333212315 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1334012323 else
1334112324 # Determine the default libpath from the value encoded in an
1334212325 # empty executable.
13343 cat >conftest.$ac_ext <<_ACEOF
13344 /* confdefs.h. */
13345 _ACEOF
13346 cat confdefs.h >>conftest.$ac_ext
13347 cat >>conftest.$ac_ext <<_ACEOF
12326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1334812327 /* end confdefs.h. */
1334912328
1335012329 int
1335512334 return 0;
1335612335 }
1335712336 _ACEOF
13358 rm -f conftest.$ac_objext conftest$ac_exeext
13359 if { (ac_try="$ac_link"
13360 case "(($ac_try" in
13361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13362 *) ac_try_echo=$ac_try;;
13363 esac
13364 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
13365 $as_echo "$ac_try_echo") >&5
13366 (eval "$ac_link") 2>conftest.er1
13367 ac_status=$?
13368 grep -v '^ *+' conftest.er1 >conftest.err
13369 rm -f conftest.er1
13370 cat conftest.err >&5
13371 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
13372 (exit $ac_status); } && {
13373 test -z "$ac_cxx_werror_flag" ||
13374 test ! -s conftest.err
13375 } && test -s conftest$ac_exeext && {
13376 test "$cross_compiling" = yes ||
13377 $as_test_x conftest$ac_exeext
13378 }; then
12337 if ac_fn_cxx_try_link "$LINENO"; then :
1337912338
1338012339 lt_aix_libpath_sed='
1338112340 /Import File Strings/,/^$/ {
1338912348 if test -z "$aix_libpath"; then
1339012349 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
1339112350 fi
13392 else
13393 $as_echo "$as_me: failed program was:" >&5
13394 sed 's/^/| /' conftest.$ac_ext >&5
13395
13396
13397 fi
13398
13399 rm -rf conftest.dSYM
13400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
13401 conftest$ac_exeext conftest.$ac_ext
12351 fi
12352 rm -f core conftest.err conftest.$ac_objext \
12353 conftest$ac_exeext conftest.$ac_ext
1340212354 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
1340312355
1340412356 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
1368312635 inherit_rpath_CXX=yes
1368412636 ;;
1368512637
13686 linux* | k*bsd*-gnu)
12638 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1368712639 case $cc_basename in
1368812640 KCC*)
1368912641 # Kuck and Associates, Inc. (KAI) C++ Compiler
1414213094 ;;
1414313095 esac
1414413096
14145 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
1414613098 $as_echo "$ld_shlibs_CXX" >&6; }
1414713099 test "$ld_shlibs_CXX" = no && can_build_shared=no
1414813100
1417013122 };
1417113123 _LT_EOF
1417213124
14173 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13125 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1417413126 (eval $ac_compile) 2>&5
1417513127 ac_status=$?
14176 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14177 (exit $ac_status); }; then
13128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13129 test $ac_status = 0; }; then
1417813130 # Parse the compiler output and extract the necessary
1417913131 # objects, libraries and library flags.
1418013132
1435513307 lt_prog_compiler_pic_CXX=
1435613308 lt_prog_compiler_static_CXX=
1435713309
14358 { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
13310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
1435913311 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
1436013312
1436113313 # C++ specific cases for pic, static, wl, etc.
1451113463 ;;
1451213464 esac
1451313465 ;;
14514 linux* | k*bsd*-gnu)
13466 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1451513467 case $cc_basename in
1451613468 KCC*)
1451713469 # KAI C++ Compiler
1457513527 ;;
1457613528 esac
1457713529 ;;
14578 netbsd*)
13530 netbsd* | netbsdelf*-gnu)
1457913531 ;;
1458013532 *qnx* | *nto*)
1458113533 # QNX uses GNU C++, but need to define -shared option too, otherwise
1467213624 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
1467313625 ;;
1467413626 esac
14675 { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic_CXX" >&5
13627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
1467613628 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
1467713629
1467813630
1468113633 # Check to make sure the PIC flag actually works.
1468213634 #
1468313635 if test -n "$lt_prog_compiler_pic_CXX"; then
14684 { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
13636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
1468513637 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14686 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then
13638 if test "${lt_cv_prog_compiler_pic_works_CXX+set}" = set; then :
1468713639 $as_echo_n "(cached) " >&6
1468813640 else
1468913641 lt_cv_prog_compiler_pic_works_CXX=no
1469913651 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1470013652 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1470113653 -e 's:$: $lt_compiler_flag:'`
14702 (eval echo "\"\$as_me:14703: $lt_compile\"" >&5)
13654 (eval echo "\"\$as_me:13655: $lt_compile\"" >&5)
1470313655 (eval "$lt_compile" 2>conftest.err)
1470413656 ac_status=$?
1470513657 cat conftest.err >&5
14706 echo "$as_me:14707: \$? = $ac_status" >&5
13658 echo "$as_me:13659: \$? = $ac_status" >&5
1470713659 if (exit $ac_status) && test -s "$ac_outfile"; then
1470813660 # The compiler can only warn and ignore the option if not recognized
1470913661 # So say no if there are warnings other than the usual output.
1471613668 $RM conftest*
1471713669
1471813670 fi
14719 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
13671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
1472013672 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
1472113673
1472213674 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
1473713689 # Check to make sure the static flag actually works.
1473813690 #
1473913691 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14740 { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
13692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
1474113693 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14742 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then
13694 if test "${lt_cv_prog_compiler_static_works_CXX+set}" = set; then :
1474313695 $as_echo_n "(cached) " >&6
1474413696 else
1474513697 lt_cv_prog_compiler_static_works_CXX=no
1476513717 LDFLAGS="$save_LDFLAGS"
1476613718
1476713719 fi
14768 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works_CXX" >&5
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
1476913721 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
1477013722
1477113723 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
1477713729
1477813730
1477913731
14780 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1478113733 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14782 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13734 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
1478313735 $as_echo_n "(cached) " >&6
1478413736 else
1478513737 lt_cv_prog_compiler_c_o_CXX=no
1479813750 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1479913751 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1480013752 -e 's:$: $lt_compiler_flag:'`
14801 (eval echo "\"\$as_me:14802: $lt_compile\"" >&5)
13753 (eval echo "\"\$as_me:13754: $lt_compile\"" >&5)
1480213754 (eval "$lt_compile" 2>out/conftest.err)
1480313755 ac_status=$?
1480413756 cat out/conftest.err >&5
14805 echo "$as_me:14806: \$? = $ac_status" >&5
13757 echo "$as_me:13758: \$? = $ac_status" >&5
1480613758 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1480713759 then
1480813760 # The compiler can only warn and ignore the option if not recognized
1482413776 $RM conftest*
1482513777
1482613778 fi
14827 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
1482813780 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1482913781
1483013782
1483113783
14832 { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
13784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
1483313785 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14834 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then
13786 if test "${lt_cv_prog_compiler_c_o_CXX+set}" = set; then :
1483513787 $as_echo_n "(cached) " >&6
1483613788 else
1483713789 lt_cv_prog_compiler_c_o_CXX=no
1485013802 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
1485113803 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
1485213804 -e 's:$: $lt_compiler_flag:'`
14853 (eval echo "\"\$as_me:14854: $lt_compile\"" >&5)
13805 (eval echo "\"\$as_me:13806: $lt_compile\"" >&5)
1485413806 (eval "$lt_compile" 2>out/conftest.err)
1485513807 ac_status=$?
1485613808 cat out/conftest.err >&5
14857 echo "$as_me:14858: \$? = $ac_status" >&5
13809 echo "$as_me:13810: \$? = $ac_status" >&5
1485813810 if (exit $ac_status) && test -s out/conftest2.$ac_objext
1485913811 then
1486013812 # The compiler can only warn and ignore the option if not recognized
1487613828 $RM conftest*
1487713829
1487813830 fi
14879 { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o_CXX" >&5
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
1488013832 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
1488113833
1488213834
1488513837 hard_links="nottested"
1488613838 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
1488713839 # do not overwrite the value of need_locks provided by the user
14888 { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
13840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
1488913841 $as_echo_n "checking if we can lock with hard links... " >&6; }
1489013842 hard_links=yes
1489113843 $RM conftest*
1489313845 touch conftest.a
1489413846 ln conftest.a conftest.b 2>&5 || hard_links=no
1489513847 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14896 { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
13848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
1489713849 $as_echo "$hard_links" >&6; }
1489813850 if test "$hard_links" = no; then
14899 { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
13851 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
1490013852 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
1490113853 need_locks=warn
1490213854 fi
1490613858
1490713859
1490813860
14909 { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
13861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
1491013862 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
1491113863
1491213864 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1492613878 cygwin* | mingw* | cegcc*)
1492713879 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'
1492813880 ;;
13881 linux* | k*bsd*-gnu)
13882 link_all_deplibs_CXX=no
13883 ;;
1492913884 *)
1493013885 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
1493113886 ;;
1493213887 esac
1493313888 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
1493413889
14935 { $as_echo "$as_me:$LINENO: result: $ld_shlibs_CXX" >&5
13890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
1493613891 $as_echo "$ld_shlibs_CXX" >&6; }
1493713892 test "$ld_shlibs_CXX" = no && can_build_shared=no
1493813893
1496013915 # Test whether the compiler implicitly links with -lc since on some
1496113916 # systems, -lgcc has to come before -lc. If gcc already passes -lc
1496213917 # to ld, don't add -lc before -lgcc.
14963 { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
1496413919 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
1496513920 $RM conftest*
1496613921 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
1496713922
14968 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13923 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
1496913924 (eval $ac_compile) 2>&5
1497013925 ac_status=$?
14971 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14972 (exit $ac_status); } 2>conftest.err; then
13926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13927 test $ac_status = 0; } 2>conftest.err; then
1497313928 soname=conftest
1497413929 lib=conftest
1497513930 libobjs=conftest.$ac_objext
1498313938 libname=conftest
1498413939 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
1498513940 allow_undefined_flag_CXX=
14986 if { (eval echo "$as_me:$LINENO: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
13941 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
1498713942 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
1498813943 ac_status=$?
14989 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
14990 (exit $ac_status); }
13944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13945 test $ac_status = 0; }
1499113946 then
1499213947 archive_cmds_need_lc_CXX=no
1499313948 else
1499813953 cat conftest.err 1>&5
1499913954 fi
1500013955 $RM conftest*
15001 { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc_CXX" >&5
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $archive_cmds_need_lc_CXX" >&5
1500213957 $as_echo "$archive_cmds_need_lc_CXX" >&6; }
1500313958 ;;
1500413959 esac
1506914024
1507014025
1507114026
15072 { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
1507314028 $as_echo_n "checking dynamic linker characteristics... " >&6; }
1507414029
1507514030 library_names_spec=
1542514380 ;;
1542614381
1542714382 # This must be Linux ELF.
15428 linux* | k*bsd*-gnu)
14383 linux* | k*bsd*-gnu | kopensolaris*-gnu)
1542914384 version_type=linux
1543014385 need_lib_prefix=no
1543114386 need_version=no
1543914394 save_libdir=$libdir
1544014395 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
1544114396 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15442 cat >conftest.$ac_ext <<_ACEOF
15443 /* confdefs.h. */
15444 _ACEOF
15445 cat confdefs.h >>conftest.$ac_ext
15446 cat >>conftest.$ac_ext <<_ACEOF
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1544714398 /* end confdefs.h. */
1544814399
1544914400 int
1545414405 return 0;
1545514406 }
1545614407 _ACEOF
15457 rm -f conftest.$ac_objext conftest$ac_exeext
15458 if { (ac_try="$ac_link"
15459 case "(($ac_try" in
15460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15461 *) ac_try_echo=$ac_try;;
15462 esac
15463 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15464 $as_echo "$ac_try_echo") >&5
15465 (eval "$ac_link") 2>conftest.er1
15466 ac_status=$?
15467 grep -v '^ *+' conftest.er1 >conftest.err
15468 rm -f conftest.er1
15469 cat conftest.err >&5
15470 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15471 (exit $ac_status); } && {
15472 test -z "$ac_cxx_werror_flag" ||
15473 test ! -s conftest.err
15474 } && test -s conftest$ac_exeext && {
15475 test "$cross_compiling" = yes ||
15476 $as_test_x conftest$ac_exeext
15477 }; then
15478 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
14408 if ac_fn_cxx_try_link "$LINENO"; then :
14409 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
1547914410 shlibpath_overrides_runpath=yes
1548014411 fi
15481
15482 else
15483 $as_echo "$as_me: failed program was:" >&5
15484 sed 's/^/| /' conftest.$ac_ext >&5
15485
15486
15487 fi
15488
15489 rm -rf conftest.dSYM
15490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
15491 conftest$ac_exeext conftest.$ac_ext
14412 fi
14413 rm -f core conftest.err conftest.$ac_objext \
14414 conftest$ac_exeext conftest.$ac_ext
1549214415 LDFLAGS=$save_LDFLAGS
1549314416 libdir=$save_libdir
1549414417
1549714420 # before this can be enabled.
1549814421 hardcode_into_libs=yes
1549914422
15500 # Add ABI-specific directories to the system library path.
15501 sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
15502
1550314423 # Append ld.so.conf contents to the search path
1550414424 if test -f /etc/ld.so.conf; then
1550514425 lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
15506 sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
14426 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
1550714427 fi
1550814428
1550914429 # We used to test for /lib/ld.so.1 and disable shared libraries on
1551314433 # people can always --disable-shared, the test was removed, and we
1551414434 # assume the GNU/Linux dynamic linker is in use.
1551514435 dynamic_linker='GNU/Linux ld.so'
14436 ;;
14437
14438 netbsdelf*-gnu)
14439 version_type=linux
14440 need_lib_prefix=no
14441 need_version=no
14442 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14443 soname_spec='${libname}${release}${shared_ext}$major'
14444 shlibpath_var=LD_LIBRARY_PATH
14445 shlibpath_overrides_runpath=no
14446 hardcode_into_libs=yes
14447 dynamic_linker='NetBSD ld.elf_so'
1551614448 ;;
1551714449
1551814450 netbsd*)
1570314635 dynamic_linker=no
1570414636 ;;
1570514637 esac
15706 { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
14638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
1570714639 $as_echo "$dynamic_linker" >&6; }
1570814640 test "$dynamic_linker" = no && can_build_shared=no
1570914641
1575414686
1575514687
1575614688
15757 { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
14689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
1575814690 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
1575914691 hardcode_action_CXX=
1576014692 if test -n "$hardcode_libdir_flag_spec_CXX" ||
1577914711 # directories.
1578014712 hardcode_action_CXX=unsupported
1578114713 fi
15782 { $as_echo "$as_me:$LINENO: result: $hardcode_action_CXX" >&5
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
1578314715 $as_echo "$hardcode_action_CXX" >&6; }
1578414716
1578514717 if test "$hardcode_action_CXX" = relink ||
1584114773 #### Checks for header files. ####
1584214774
1584314775 # ISO
15844 { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
14776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
1584514777 $as_echo_n "checking for ANSI C header files... " >&6; }
15846 if test "${ac_cv_header_stdc+set}" = set; then
14778 if test "${ac_cv_header_stdc+set}" = set; then :
1584714779 $as_echo_n "(cached) " >&6
1584814780 else
15849 cat >conftest.$ac_ext <<_ACEOF
15850 /* confdefs.h. */
15851 _ACEOF
15852 cat confdefs.h >>conftest.$ac_ext
15853 cat >>conftest.$ac_ext <<_ACEOF
14781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1585414782 /* end confdefs.h. */
1585514783 #include <stdlib.h>
1585614784 #include <stdarg.h>
1586514793 return 0;
1586614794 }
1586714795 _ACEOF
15868 rm -f conftest.$ac_objext
15869 if { (ac_try="$ac_compile"
15870 case "(($ac_try" in
15871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15872 *) ac_try_echo=$ac_try;;
15873 esac
15874 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15875 $as_echo "$ac_try_echo") >&5
15876 (eval "$ac_compile") 2>conftest.er1
15877 ac_status=$?
15878 grep -v '^ *+' conftest.er1 >conftest.err
15879 rm -f conftest.er1
15880 cat conftest.err >&5
15881 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15882 (exit $ac_status); } && {
15883 test -z "$ac_c_werror_flag" ||
15884 test ! -s conftest.err
15885 } && test -s conftest.$ac_objext; then
14796 if ac_fn_c_try_compile "$LINENO"; then :
1588614797 ac_cv_header_stdc=yes
1588714798 else
15888 $as_echo "$as_me: failed program was:" >&5
15889 sed 's/^/| /' conftest.$ac_ext >&5
15890
15891 ac_cv_header_stdc=no
15892 fi
15893
14799 ac_cv_header_stdc=no
14800 fi
1589414801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1589514802
1589614803 if test $ac_cv_header_stdc = yes; then
1589714804 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
15898 cat >conftest.$ac_ext <<_ACEOF
15899 /* confdefs.h. */
15900 _ACEOF
15901 cat confdefs.h >>conftest.$ac_ext
15902 cat >>conftest.$ac_ext <<_ACEOF
14805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1590314806 /* end confdefs.h. */
1590414807 #include <string.h>
1590514808
1590614809 _ACEOF
1590714810 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15908 $EGREP "memchr" >/dev/null 2>&1; then
15909 :
14811 $EGREP "memchr" >/dev/null 2>&1; then :
14812
1591014813 else
1591114814 ac_cv_header_stdc=no
1591214815 fi
1591614819
1591714820 if test $ac_cv_header_stdc = yes; then
1591814821 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
15919 cat >conftest.$ac_ext <<_ACEOF
15920 /* confdefs.h. */
15921 _ACEOF
15922 cat confdefs.h >>conftest.$ac_ext
15923 cat >>conftest.$ac_ext <<_ACEOF
14822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1592414823 /* end confdefs.h. */
1592514824 #include <stdlib.h>
1592614825
1592714826 _ACEOF
1592814827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15929 $EGREP "free" >/dev/null 2>&1; then
15930 :
14828 $EGREP "free" >/dev/null 2>&1; then :
14829
1593114830 else
1593214831 ac_cv_header_stdc=no
1593314832 fi
1593714836
1593814837 if test $ac_cv_header_stdc = yes; then
1593914838 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
15940 if test "$cross_compiling" = yes; then
14839 if test "$cross_compiling" = yes; then :
1594114840 :
1594214841 else
15943 cat >conftest.$ac_ext <<_ACEOF
15944 /* confdefs.h. */
15945 _ACEOF
15946 cat confdefs.h >>conftest.$ac_ext
15947 cat >>conftest.$ac_ext <<_ACEOF
14842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1594814843 /* end confdefs.h. */
1594914844 #include <ctype.h>
1595014845 #include <stdlib.h>
1597114866 return 0;
1597214867 }
1597314868 _ACEOF
15974 rm -f conftest$ac_exeext
15975 if { (ac_try="$ac_link"
15976 case "(($ac_try" in
15977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15978 *) ac_try_echo=$ac_try;;
15979 esac
15980 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15981 $as_echo "$ac_try_echo") >&5
15982 (eval "$ac_link") 2>&5
15983 ac_status=$?
15984 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15985 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
15986 { (case "(($ac_try" in
15987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15988 *) ac_try_echo=$ac_try;;
15989 esac
15990 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
15991 $as_echo "$ac_try_echo") >&5
15992 (eval "$ac_try") 2>&5
15993 ac_status=$?
15994 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
15995 (exit $ac_status); }; }; then
15996 :
15997 else
15998 $as_echo "$as_me: program exited with status $ac_status" >&5
15999 $as_echo "$as_me: failed program was:" >&5
16000 sed 's/^/| /' conftest.$ac_ext >&5
16001
16002 ( exit $ac_status )
16003 ac_cv_header_stdc=no
16004 fi
16005 rm -rf conftest.dSYM
16006 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16007 fi
16008
16009
16010 fi
16011 fi
16012 { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
14869 if ac_fn_c_try_run "$LINENO"; then :
14870
14871 else
14872 ac_cv_header_stdc=no
14873 fi
14874 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14875 conftest.$ac_objext conftest.beam conftest.$ac_ext
14876 fi
14877
14878 fi
14879 fi
14880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
1601314881 $as_echo "$ac_cv_header_stdc" >&6; }
1601414882 if test $ac_cv_header_stdc = yes; then
1601514883
16016 cat >>confdefs.h <<\_ACEOF
16017 #define STDC_HEADERS 1
14884 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
14885
14886 fi
14887
14888
14889 # XPG4-UNIX
14890 for ac_header in sys/poll.h
14891 do :
14892 ac_fn_c_check_header_mongrel "$LINENO" "sys/poll.h" "ac_cv_header_sys_poll_h" "$ac_includes_default"
14893 if test "x$ac_cv_header_sys_poll_h" = x""yes; then :
14894 cat >>confdefs.h <<_ACEOF
14895 #define HAVE_SYS_POLL_H 1
1601814896 _ACEOF
1601914897
1602014898 fi
1602114899
16022
16023 # XPG4-UNIX
16024
16025 for ac_header in sys/poll.h
16026 do
16027 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16028 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16029 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16030 $as_echo_n "checking for $ac_header... " >&6; }
16031 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
14900 done
14901
14902
14903 # Other
14904 for ac_header in sys/ioctl.h
14905 do :
14906 ac_fn_c_check_header_mongrel "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
14907 if test "x$ac_cv_header_sys_ioctl_h" = x""yes; then :
14908 cat >>confdefs.h <<_ACEOF
14909 #define HAVE_SYS_IOCTL_H 1
14910 _ACEOF
14911
14912 fi
14913
14914 done
14915
14916 for ac_header in byteswap.h
14917 do :
14918 ac_fn_c_check_header_mongrel "$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
14919 if test "x$ac_cv_header_byteswap_h" = x""yes; then :
14920 cat >>confdefs.h <<_ACEOF
14921 #define HAVE_BYTESWAP_H 1
14922 _ACEOF
14923
14924 fi
14925
14926 done
14927
14928
14929 #### Typdefs, structures, etc. ####
14930
14931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
14932 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
14933 if test "${ac_cv_c_const+set}" = set; then :
1603214934 $as_echo_n "(cached) " >&6
16033 fi
16034 ac_res=`eval 'as_val=${'$as_ac_Header'}
16035 $as_echo "$as_val"'`
16036 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16037 $as_echo "$ac_res" >&6; }
16038 else
16039 # Is the header compilable?
16040 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16041 $as_echo_n "checking $ac_header usability... " >&6; }
16042 cat >conftest.$ac_ext <<_ACEOF
16043 /* confdefs.h. */
16044 _ACEOF
16045 cat confdefs.h >>conftest.$ac_ext
16046 cat >>conftest.$ac_ext <<_ACEOF
16047 /* end confdefs.h. */
16048 $ac_includes_default
16049 #include <$ac_header>
16050 _ACEOF
16051 rm -f conftest.$ac_objext
16052 if { (ac_try="$ac_compile"
16053 case "(($ac_try" in
16054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16055 *) ac_try_echo=$ac_try;;
16056 esac
16057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16058 $as_echo "$ac_try_echo") >&5
16059 (eval "$ac_compile") 2>conftest.er1
16060 ac_status=$?
16061 grep -v '^ *+' conftest.er1 >conftest.err
16062 rm -f conftest.er1
16063 cat conftest.err >&5
16064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16065 (exit $ac_status); } && {
16066 test -z "$ac_c_werror_flag" ||
16067 test ! -s conftest.err
16068 } && test -s conftest.$ac_objext; then
16069 ac_header_compiler=yes
16070 else
16071 $as_echo "$as_me: failed program was:" >&5
16072 sed 's/^/| /' conftest.$ac_ext >&5
16073
16074 ac_header_compiler=no
16075 fi
16076
16077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16078 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16079 $as_echo "$ac_header_compiler" >&6; }
16080
16081 # Is the header present?
16082 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16083 $as_echo_n "checking $ac_header presence... " >&6; }
16084 cat >conftest.$ac_ext <<_ACEOF
16085 /* confdefs.h. */
16086 _ACEOF
16087 cat confdefs.h >>conftest.$ac_ext
16088 cat >>conftest.$ac_ext <<_ACEOF
16089 /* end confdefs.h. */
16090 #include <$ac_header>
16091 _ACEOF
16092 if { (ac_try="$ac_cpp conftest.$ac_ext"
16093 case "(($ac_try" in
16094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16095 *) ac_try_echo=$ac_try;;
16096 esac
16097 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16098 $as_echo "$ac_try_echo") >&5
16099 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16100 ac_status=$?
16101 grep -v '^ *+' conftest.er1 >conftest.err
16102 rm -f conftest.er1
16103 cat conftest.err >&5
16104 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16105 (exit $ac_status); } >/dev/null && {
16106 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16107 test ! -s conftest.err
16108 }; then
16109 ac_header_preproc=yes
16110 else
16111 $as_echo "$as_me: failed program was:" >&5
16112 sed 's/^/| /' conftest.$ac_ext >&5
16113
16114 ac_header_preproc=no
16115 fi
16116
16117 rm -f conftest.err conftest.$ac_ext
16118 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16119 $as_echo "$ac_header_preproc" >&6; }
16120
16121 # So? What about this header?
16122 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16123 yes:no: )
16124 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16125 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16126 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16127 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16128 ac_header_preproc=yes
16129 ;;
16130 no:yes:* )
16131 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16132 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16133 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16134 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16135 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16136 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16137 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16138 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16139 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16140 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16141 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16142 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16143 ( cat <<\_ASBOX
16144 ## ---------------------------------------------------- ##
16145 ## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
16146 ## ---------------------------------------------------- ##
16147 _ASBOX
16148 ) | sed "s/^/$as_me: WARNING: /" >&2
16149 ;;
16150 esac
16151 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16152 $as_echo_n "checking for $ac_header... " >&6; }
16153 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16154 $as_echo_n "(cached) " >&6
16155 else
16156 eval "$as_ac_Header=\$ac_header_preproc"
16157 fi
16158 ac_res=`eval 'as_val=${'$as_ac_Header'}
16159 $as_echo "$as_val"'`
16160 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16161 $as_echo "$ac_res" >&6; }
16162
16163 fi
16164 as_val=`eval 'as_val=${'$as_ac_Header'}
16165 $as_echo "$as_val"'`
16166 if test "x$as_val" = x""yes; then
16167 cat >>confdefs.h <<_ACEOF
16168 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16169 _ACEOF
16170
16171 fi
16172
16173 done
16174
16175
16176 # Other
16177
16178 for ac_header in sys/ioctl.h
16179 do
16180 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16181 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16182 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16183 $as_echo_n "checking for $ac_header... " >&6; }
16184 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16185 $as_echo_n "(cached) " >&6
16186 fi
16187 ac_res=`eval 'as_val=${'$as_ac_Header'}
16188 $as_echo "$as_val"'`
16189 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16190 $as_echo "$ac_res" >&6; }
16191 else
16192 # Is the header compilable?
16193 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16194 $as_echo_n "checking $ac_header usability... " >&6; }
16195 cat >conftest.$ac_ext <<_ACEOF
16196 /* confdefs.h. */
16197 _ACEOF
16198 cat confdefs.h >>conftest.$ac_ext
16199 cat >>conftest.$ac_ext <<_ACEOF
16200 /* end confdefs.h. */
16201 $ac_includes_default
16202 #include <$ac_header>
16203 _ACEOF
16204 rm -f conftest.$ac_objext
16205 if { (ac_try="$ac_compile"
16206 case "(($ac_try" in
16207 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16208 *) ac_try_echo=$ac_try;;
16209 esac
16210 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16211 $as_echo "$ac_try_echo") >&5
16212 (eval "$ac_compile") 2>conftest.er1
16213 ac_status=$?
16214 grep -v '^ *+' conftest.er1 >conftest.err
16215 rm -f conftest.er1
16216 cat conftest.err >&5
16217 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16218 (exit $ac_status); } && {
16219 test -z "$ac_c_werror_flag" ||
16220 test ! -s conftest.err
16221 } && test -s conftest.$ac_objext; then
16222 ac_header_compiler=yes
16223 else
16224 $as_echo "$as_me: failed program was:" >&5
16225 sed 's/^/| /' conftest.$ac_ext >&5
16226
16227 ac_header_compiler=no
16228 fi
16229
16230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16231 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16232 $as_echo "$ac_header_compiler" >&6; }
16233
16234 # Is the header present?
16235 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16236 $as_echo_n "checking $ac_header presence... " >&6; }
16237 cat >conftest.$ac_ext <<_ACEOF
16238 /* confdefs.h. */
16239 _ACEOF
16240 cat confdefs.h >>conftest.$ac_ext
16241 cat >>conftest.$ac_ext <<_ACEOF
16242 /* end confdefs.h. */
16243 #include <$ac_header>
16244 _ACEOF
16245 if { (ac_try="$ac_cpp conftest.$ac_ext"
16246 case "(($ac_try" in
16247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16248 *) ac_try_echo=$ac_try;;
16249 esac
16250 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16251 $as_echo "$ac_try_echo") >&5
16252 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16253 ac_status=$?
16254 grep -v '^ *+' conftest.er1 >conftest.err
16255 rm -f conftest.er1
16256 cat conftest.err >&5
16257 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16258 (exit $ac_status); } >/dev/null && {
16259 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16260 test ! -s conftest.err
16261 }; then
16262 ac_header_preproc=yes
16263 else
16264 $as_echo "$as_me: failed program was:" >&5
16265 sed 's/^/| /' conftest.$ac_ext >&5
16266
16267 ac_header_preproc=no
16268 fi
16269
16270 rm -f conftest.err conftest.$ac_ext
16271 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16272 $as_echo "$ac_header_preproc" >&6; }
16273
16274 # So? What about this header?
16275 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16276 yes:no: )
16277 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16278 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16279 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16280 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16281 ac_header_preproc=yes
16282 ;;
16283 no:yes:* )
16284 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16285 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16286 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16287 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16288 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16289 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16290 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16291 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16292 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16293 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16294 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16295 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16296 ( cat <<\_ASBOX
16297 ## ---------------------------------------------------- ##
16298 ## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
16299 ## ---------------------------------------------------- ##
16300 _ASBOX
16301 ) | sed "s/^/$as_me: WARNING: /" >&2
16302 ;;
16303 esac
16304 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16305 $as_echo_n "checking for $ac_header... " >&6; }
16306 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16307 $as_echo_n "(cached) " >&6
16308 else
16309 eval "$as_ac_Header=\$ac_header_preproc"
16310 fi
16311 ac_res=`eval 'as_val=${'$as_ac_Header'}
16312 $as_echo "$as_val"'`
16313 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16314 $as_echo "$ac_res" >&6; }
16315
16316 fi
16317 as_val=`eval 'as_val=${'$as_ac_Header'}
16318 $as_echo "$as_val"'`
16319 if test "x$as_val" = x""yes; then
16320 cat >>confdefs.h <<_ACEOF
16321 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16322 _ACEOF
16323
16324 fi
16325
16326 done
16327
16328
16329 for ac_header in byteswap.h
16330 do
16331 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16332 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16333 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16334 $as_echo_n "checking for $ac_header... " >&6; }
16335 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16336 $as_echo_n "(cached) " >&6
16337 fi
16338 ac_res=`eval 'as_val=${'$as_ac_Header'}
16339 $as_echo "$as_val"'`
16340 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16341 $as_echo "$ac_res" >&6; }
16342 else
16343 # Is the header compilable?
16344 { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
16345 $as_echo_n "checking $ac_header usability... " >&6; }
16346 cat >conftest.$ac_ext <<_ACEOF
16347 /* confdefs.h. */
16348 _ACEOF
16349 cat confdefs.h >>conftest.$ac_ext
16350 cat >>conftest.$ac_ext <<_ACEOF
16351 /* end confdefs.h. */
16352 $ac_includes_default
16353 #include <$ac_header>
16354 _ACEOF
16355 rm -f conftest.$ac_objext
16356 if { (ac_try="$ac_compile"
16357 case "(($ac_try" in
16358 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16359 *) ac_try_echo=$ac_try;;
16360 esac
16361 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16362 $as_echo "$ac_try_echo") >&5
16363 (eval "$ac_compile") 2>conftest.er1
16364 ac_status=$?
16365 grep -v '^ *+' conftest.er1 >conftest.err
16366 rm -f conftest.er1
16367 cat conftest.err >&5
16368 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16369 (exit $ac_status); } && {
16370 test -z "$ac_c_werror_flag" ||
16371 test ! -s conftest.err
16372 } && test -s conftest.$ac_objext; then
16373 ac_header_compiler=yes
16374 else
16375 $as_echo "$as_me: failed program was:" >&5
16376 sed 's/^/| /' conftest.$ac_ext >&5
16377
16378 ac_header_compiler=no
16379 fi
16380
16381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16382 { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
16383 $as_echo "$ac_header_compiler" >&6; }
16384
16385 # Is the header present?
16386 { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
16387 $as_echo_n "checking $ac_header presence... " >&6; }
16388 cat >conftest.$ac_ext <<_ACEOF
16389 /* confdefs.h. */
16390 _ACEOF
16391 cat confdefs.h >>conftest.$ac_ext
16392 cat >>conftest.$ac_ext <<_ACEOF
16393 /* end confdefs.h. */
16394 #include <$ac_header>
16395 _ACEOF
16396 if { (ac_try="$ac_cpp conftest.$ac_ext"
16397 case "(($ac_try" in
16398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16399 *) ac_try_echo=$ac_try;;
16400 esac
16401 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16402 $as_echo "$ac_try_echo") >&5
16403 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16404 ac_status=$?
16405 grep -v '^ *+' conftest.er1 >conftest.err
16406 rm -f conftest.er1
16407 cat conftest.err >&5
16408 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16409 (exit $ac_status); } >/dev/null && {
16410 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16411 test ! -s conftest.err
16412 }; then
16413 ac_header_preproc=yes
16414 else
16415 $as_echo "$as_me: failed program was:" >&5
16416 sed 's/^/| /' conftest.$ac_ext >&5
16417
16418 ac_header_preproc=no
16419 fi
16420
16421 rm -f conftest.err conftest.$ac_ext
16422 { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
16423 $as_echo "$ac_header_preproc" >&6; }
16424
16425 # So? What about this header?
16426 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
16427 yes:no: )
16428 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
16429 $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
16430 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
16431 $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
16432 ac_header_preproc=yes
16433 ;;
16434 no:yes:* )
16435 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
16436 $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
16437 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
16438 $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
16439 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
16440 $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
16441 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
16442 $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
16443 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
16444 $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
16445 { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
16446 $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
16447 ( cat <<\_ASBOX
16448 ## ---------------------------------------------------- ##
16449 ## Report this to mzyvongnfzneg (at) 0pointer (dot) net ##
16450 ## ---------------------------------------------------- ##
16451 _ASBOX
16452 ) | sed "s/^/$as_me: WARNING: /" >&2
16453 ;;
16454 esac
16455 { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
16456 $as_echo_n "checking for $ac_header... " >&6; }
16457 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
16458 $as_echo_n "(cached) " >&6
16459 else
16460 eval "$as_ac_Header=\$ac_header_preproc"
16461 fi
16462 ac_res=`eval 'as_val=${'$as_ac_Header'}
16463 $as_echo "$as_val"'`
16464 { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
16465 $as_echo "$ac_res" >&6; }
16466
16467 fi
16468 as_val=`eval 'as_val=${'$as_ac_Header'}
16469 $as_echo "$as_val"'`
16470 if test "x$as_val" = x""yes; then
16471 cat >>confdefs.h <<_ACEOF
16472 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16473 _ACEOF
16474
16475 fi
16476
16477 done
16478
16479
16480 #### Typdefs, structures, etc. ####
16481
16482 { $as_echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
16483 $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
16484 if test "${ac_cv_c_const+set}" = set; then
16485 $as_echo_n "(cached) " >&6
16486 else
16487 cat >conftest.$ac_ext <<_ACEOF
16488 /* confdefs.h. */
16489 _ACEOF
16490 cat confdefs.h >>conftest.$ac_ext
16491 cat >>conftest.$ac_ext <<_ACEOF
14935 else
14936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649214937 /* end confdefs.h. */
1649314938
1649414939 int
1654814993 return 0;
1654914994 }
1655014995 _ACEOF
16551 rm -f conftest.$ac_objext
16552 if { (ac_try="$ac_compile"
16553 case "(($ac_try" in
16554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16555 *) ac_try_echo=$ac_try;;
16556 esac
16557 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16558 $as_echo "$ac_try_echo") >&5
16559 (eval "$ac_compile") 2>conftest.er1
16560 ac_status=$?
16561 grep -v '^ *+' conftest.er1 >conftest.err
16562 rm -f conftest.er1
16563 cat conftest.err >&5
16564 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16565 (exit $ac_status); } && {
16566 test -z "$ac_c_werror_flag" ||
16567 test ! -s conftest.err
16568 } && test -s conftest.$ac_objext; then
14996 if ac_fn_c_try_compile "$LINENO"; then :
1656914997 ac_cv_c_const=yes
1657014998 else
16571 $as_echo "$as_me: failed program was:" >&5
16572 sed 's/^/| /' conftest.$ac_ext >&5
16573
16574 ac_cv_c_const=no
16575 fi
16576
14999 ac_cv_c_const=no
15000 fi
1657715001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1657815002 fi
16579 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
15003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
1658015004 $as_echo "$ac_cv_c_const" >&6; }
1658115005 if test $ac_cv_c_const = no; then
1658215006
16583 cat >>confdefs.h <<\_ACEOF
16584 #define const /**/
16585 _ACEOF
16586
16587 fi
16588
16589
16590 { $as_echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
15007 $as_echo "#define const /**/" >>confdefs.h
15008
15009 fi
15010
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
1659115012 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
16592 if test "${ac_cv_c_bigendian+set}" = set; then
15013 if test "${ac_cv_c_bigendian+set}" = set; then :
1659315014 $as_echo_n "(cached) " >&6
1659415015 else
1659515016 ac_cv_c_bigendian=unknown
1659615017 # See if we're dealing with a universal compiler.
16597 cat >conftest.$ac_ext <<_ACEOF
16598 /* confdefs.h. */
16599 _ACEOF
16600 cat confdefs.h >>conftest.$ac_ext
16601 cat >>conftest.$ac_ext <<_ACEOF
15018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1660215019 /* end confdefs.h. */
1660315020 #ifndef __APPLE_CC__
1660415021 not a universal capable compiler
1660615023 typedef int dummy;
1660715024
1660815025 _ACEOF
16609 rm -f conftest.$ac_objext
16610 if { (ac_try="$ac_compile"
16611 case "(($ac_try" in
16612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16613 *) ac_try_echo=$ac_try;;
16614 esac
16615 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16616 $as_echo "$ac_try_echo") >&5
16617 (eval "$ac_compile") 2>conftest.er1
16618 ac_status=$?
16619 grep -v '^ *+' conftest.er1 >conftest.err
16620 rm -f conftest.er1
16621 cat conftest.err >&5
16622 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16623 (exit $ac_status); } && {
16624 test -z "$ac_c_werror_flag" ||
16625 test ! -s conftest.err
16626 } && test -s conftest.$ac_objext; then
15026 if ac_fn_c_try_compile "$LINENO"; then :
1662715027
1662815028 # Check for potential -arch flags. It is not universal unless
16629 # there are some -arch flags. Note that *ppc* also matches
16630 # ppc64. This check is also rather less than ideal.
16631 case "${CC} ${CFLAGS} ${CPPFLAGS} ${LDFLAGS}" in #(
16632 *-arch*ppc*|*-arch*i386*|*-arch*x86_64*) ac_cv_c_bigendian=universal;;
16633 esac
16634 else
16635 $as_echo "$as_me: failed program was:" >&5
16636 sed 's/^/| /' conftest.$ac_ext >&5
16637
16638
16639 fi
16640
15029 # there are at least two -arch flags with different values.
15030 ac_arch=
15031 ac_prev=
15032 for ac_word in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
15033 if test -n "$ac_prev"; then
15034 case $ac_word in
15035 i?86 | x86_64 | ppc | ppc64)
15036 if test -z "$ac_arch" || test "$ac_arch" = "$ac_word"; then
15037 ac_arch=$ac_word
15038 else
15039 ac_cv_c_bigendian=universal
15040 break
15041 fi
15042 ;;
15043 esac
15044 ac_prev=
15045 elif test "x$ac_word" = "x-arch"; then
15046 ac_prev=arch
15047 fi
15048 done
15049 fi
1664115050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1664215051 if test $ac_cv_c_bigendian = unknown; then
1664315052 # See if sys/param.h defines the BYTE_ORDER macro.
16644 cat >conftest.$ac_ext <<_ACEOF
16645 /* confdefs.h. */
16646 _ACEOF
16647 cat confdefs.h >>conftest.$ac_ext
16648 cat >>conftest.$ac_ext <<_ACEOF
15053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1664915054 /* end confdefs.h. */
1665015055 #include <sys/types.h>
1665115056 #include <sys/param.h>
1666315068 return 0;
1666415069 }
1666515070 _ACEOF
16666 rm -f conftest.$ac_objext
16667 if { (ac_try="$ac_compile"
16668 case "(($ac_try" in
16669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16670 *) ac_try_echo=$ac_try;;
16671 esac
16672 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16673 $as_echo "$ac_try_echo") >&5
16674 (eval "$ac_compile") 2>conftest.er1
16675 ac_status=$?
16676 grep -v '^ *+' conftest.er1 >conftest.err
16677 rm -f conftest.er1
16678 cat conftest.err >&5
16679 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16680 (exit $ac_status); } && {
16681 test -z "$ac_c_werror_flag" ||
16682 test ! -s conftest.err
16683 } && test -s conftest.$ac_objext; then
15071 if ac_fn_c_try_compile "$LINENO"; then :
1668415072 # It does; now see whether it defined to BIG_ENDIAN or not.
16685 cat >conftest.$ac_ext <<_ACEOF
16686 /* confdefs.h. */
16687 _ACEOF
16688 cat confdefs.h >>conftest.$ac_ext
16689 cat >>conftest.$ac_ext <<_ACEOF
15073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1669015074 /* end confdefs.h. */
1669115075 #include <sys/types.h>
1669215076 #include <sys/param.h>
1670215086 return 0;
1670315087 }
1670415088 _ACEOF
16705 rm -f conftest.$ac_objext
16706 if { (ac_try="$ac_compile"
16707 case "(($ac_try" in
16708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16709 *) ac_try_echo=$ac_try;;
16710 esac
16711 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16712 $as_echo "$ac_try_echo") >&5
16713 (eval "$ac_compile") 2>conftest.er1
16714 ac_status=$?
16715 grep -v '^ *+' conftest.er1 >conftest.err
16716 rm -f conftest.er1
16717 cat conftest.err >&5
16718 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16719 (exit $ac_status); } && {
16720 test -z "$ac_c_werror_flag" ||
16721 test ! -s conftest.err
16722 } && test -s conftest.$ac_objext; then
15089 if ac_fn_c_try_compile "$LINENO"; then :
1672315090 ac_cv_c_bigendian=yes
1672415091 else
16725 $as_echo "$as_me: failed program was:" >&5
16726 sed 's/^/| /' conftest.$ac_ext >&5
16727
16728 ac_cv_c_bigendian=no
16729 fi
16730
15092 ac_cv_c_bigendian=no
15093 fi
1673115094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16732 else
16733 $as_echo "$as_me: failed program was:" >&5
16734 sed 's/^/| /' conftest.$ac_ext >&5
16735
16736
16737 fi
16738
15095 fi
1673915096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1674015097 fi
1674115098 if test $ac_cv_c_bigendian = unknown; then
1674215099 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
16743 cat >conftest.$ac_ext <<_ACEOF
16744 /* confdefs.h. */
16745 _ACEOF
16746 cat confdefs.h >>conftest.$ac_ext
16747 cat >>conftest.$ac_ext <<_ACEOF
15100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1674815101 /* end confdefs.h. */
1674915102 #include <limits.h>
1675015103
1675915112 return 0;
1676015113 }
1676115114 _ACEOF
16762 rm -f conftest.$ac_objext
16763 if { (ac_try="$ac_compile"
16764 case "(($ac_try" in
16765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16766 *) ac_try_echo=$ac_try;;
16767 esac
16768 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16769 $as_echo "$ac_try_echo") >&5
16770 (eval "$ac_compile") 2>conftest.er1
16771 ac_status=$?
16772 grep -v '^ *+' conftest.er1 >conftest.err
16773 rm -f conftest.er1
16774 cat conftest.err >&5
16775 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16776 (exit $ac_status); } && {
16777 test -z "$ac_c_werror_flag" ||
16778 test ! -s conftest.err
16779 } && test -s conftest.$ac_objext; then
15115 if ac_fn_c_try_compile "$LINENO"; then :
1678015116 # It does; now see whether it defined to _BIG_ENDIAN or not.
16781 cat >conftest.$ac_ext <<_ACEOF
16782 /* confdefs.h. */
16783 _ACEOF
16784 cat confdefs.h >>conftest.$ac_ext
16785 cat >>conftest.$ac_ext <<_ACEOF
15117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1678615118 /* end confdefs.h. */
1678715119 #include <limits.h>
1678815120
1679715129 return 0;
1679815130 }
1679915131 _ACEOF
16800 rm -f conftest.$ac_objext
16801 if { (ac_try="$ac_compile"
16802 case "(($ac_try" in
16803 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16804 *) ac_try_echo=$ac_try;;
16805 esac
16806 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16807 $as_echo "$ac_try_echo") >&5
16808 (eval "$ac_compile") 2>conftest.er1
16809 ac_status=$?
16810 grep -v '^ *+' conftest.er1 >conftest.err
16811 rm -f conftest.er1
16812 cat conftest.err >&5
16813 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16814 (exit $ac_status); } && {
16815 test -z "$ac_c_werror_flag" ||
16816 test ! -s conftest.err
16817 } && test -s conftest.$ac_objext; then
15132 if ac_fn_c_try_compile "$LINENO"; then :
1681815133 ac_cv_c_bigendian=yes
1681915134 else
16820 $as_echo "$as_me: failed program was:" >&5
16821 sed 's/^/| /' conftest.$ac_ext >&5
16822
16823 ac_cv_c_bigendian=no
16824 fi
16825
15135 ac_cv_c_bigendian=no
15136 fi
1682615137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16827 else
16828 $as_echo "$as_me: failed program was:" >&5
16829 sed 's/^/| /' conftest.$ac_ext >&5
16830
16831
16832 fi
16833
15138 fi
1683415139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1683515140 fi
1683615141 if test $ac_cv_c_bigendian = unknown; then
1683715142 # Compile a test program.
16838 if test "$cross_compiling" = yes; then
15143 if test "$cross_compiling" = yes; then :
1683915144 # Try to guess by grepping values from an object file.
16840 cat >conftest.$ac_ext <<_ACEOF
16841 /* confdefs.h. */
16842 _ACEOF
16843 cat confdefs.h >>conftest.$ac_ext
16844 cat >>conftest.$ac_ext <<_ACEOF
15145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1684515146 /* end confdefs.h. */
1684615147 short int ascii_mm[] =
1684715148 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
1686715168 return 0;
1686815169 }
1686915170 _ACEOF
16870 rm -f conftest.$ac_objext
16871 if { (ac_try="$ac_compile"
16872 case "(($ac_try" in
16873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16874 *) ac_try_echo=$ac_try;;
16875 esac
16876 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16877 $as_echo "$ac_try_echo") >&5
16878 (eval "$ac_compile") 2>conftest.er1
16879 ac_status=$?
16880 grep -v '^ *+' conftest.er1 >conftest.err
16881 rm -f conftest.er1
16882 cat conftest.err >&5
16883 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16884 (exit $ac_status); } && {
16885 test -z "$ac_c_werror_flag" ||
16886 test ! -s conftest.err
16887 } && test -s conftest.$ac_objext; then
15171 if ac_fn_c_try_compile "$LINENO"; then :
1688815172 if grep BIGenDianSyS conftest.$ac_objext >/dev/null; then
1688915173 ac_cv_c_bigendian=yes
1689015174 fi
1689615180 ac_cv_c_bigendian=unknown
1689715181 fi
1689815182 fi
16899 else
16900 $as_echo "$as_me: failed program was:" >&5
16901 sed 's/^/| /' conftest.$ac_ext >&5
16902
16903
16904 fi
16905
15183 fi
1690615184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1690715185 else
16908 cat >conftest.$ac_ext <<_ACEOF
16909 /* confdefs.h. */
16910 _ACEOF
16911 cat confdefs.h >>conftest.$ac_ext
16912 cat >>conftest.$ac_ext <<_ACEOF
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1691315187 /* end confdefs.h. */
1691415188 $ac_includes_default
1691515189 int
1692915203 return 0;
1693015204 }
1693115205 _ACEOF
16932 rm -f conftest$ac_exeext
16933 if { (ac_try="$ac_link"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16937 esac
16938 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16939 $as_echo "$ac_try_echo") >&5
16940 (eval "$ac_link") 2>&5
16941 ac_status=$?
16942 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16943 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
16944 { (case "(($ac_try" in
16945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16946 *) ac_try_echo=$ac_try;;
16947 esac
16948 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
16949 $as_echo "$ac_try_echo") >&5
16950 (eval "$ac_try") 2>&5
16951 ac_status=$?
16952 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
16953 (exit $ac_status); }; }; then
15206 if ac_fn_c_try_run "$LINENO"; then :
1695415207 ac_cv_c_bigendian=no
1695515208 else
16956 $as_echo "$as_me: program exited with status $ac_status" >&5
16957 $as_echo "$as_me: failed program was:" >&5
16958 sed 's/^/| /' conftest.$ac_ext >&5
16959
16960 ( exit $ac_status )
16961 ac_cv_c_bigendian=yes
16962 fi
16963 rm -rf conftest.dSYM
16964 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
16965 fi
16966
15209 ac_cv_c_bigendian=yes
15210 fi
15211 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
15212 conftest.$ac_objext conftest.beam conftest.$ac_ext
15213 fi
1696715214
1696815215 fi
1696915216 fi
16970 { $as_echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
1697115218 $as_echo "$ac_cv_c_bigendian" >&6; }
1697215219 case $ac_cv_c_bigendian in #(
1697315220 yes)
16974 cat >>confdefs.h <<\_ACEOF
16975 #define WORDS_BIGENDIAN 1
16976 _ACEOF
15221 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
1697715222 ;; #(
1697815223 no)
1697915224 ;; #(
1698015225 universal)
1698115226
16982 cat >>confdefs.h <<\_ACEOF
16983 #define AC_APPLE_UNIVERSAL_BUILD 1
16984 _ACEOF
15227 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
1698515228
1698615229 ;; #(
1698715230 *)
16988 { { $as_echo "$as_me:$LINENO: error: unknown endianness
16989 presetting ac_cv_c_bigendian=no (or yes) will help" >&5
16990 $as_echo "$as_me: error: unknown endianness
16991 presetting ac_cv_c_bigendian=no (or yes) will help" >&2;}
16992 { (exit 1); exit 1; }; } ;;
15231 as_fn_error "unknown endianness
15232 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
1699315233 esac
1699415234
16995 { $as_echo "$as_me:$LINENO: checking for pid_t" >&5
16996 $as_echo_n "checking for pid_t... " >&6; }
16997 if test "${ac_cv_type_pid_t+set}" = set; then
16998 $as_echo_n "(cached) " >&6
16999 else
17000 ac_cv_type_pid_t=no
17001 cat >conftest.$ac_ext <<_ACEOF
17002 /* confdefs.h. */
17003 _ACEOF
17004 cat confdefs.h >>conftest.$ac_ext
17005 cat >>conftest.$ac_ext <<_ACEOF
17006 /* end confdefs.h. */
17007 $ac_includes_default
17008 int
17009 main ()
17010 {
17011 if (sizeof (pid_t))
17012 return 0;
17013 ;
17014 return 0;
17015 }
17016 _ACEOF
17017 rm -f conftest.$ac_objext
17018 if { (ac_try="$ac_compile"
17019 case "(($ac_try" in
17020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17021 *) ac_try_echo=$ac_try;;
17022 esac
17023 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17024 $as_echo "$ac_try_echo") >&5
17025 (eval "$ac_compile") 2>conftest.er1
17026 ac_status=$?
17027 grep -v '^ *+' conftest.er1 >conftest.err
17028 rm -f conftest.er1
17029 cat conftest.err >&5
17030 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17031 (exit $ac_status); } && {
17032 test -z "$ac_c_werror_flag" ||
17033 test ! -s conftest.err
17034 } && test -s conftest.$ac_objext; then
17035 cat >conftest.$ac_ext <<_ACEOF
17036 /* confdefs.h. */
17037 _ACEOF
17038 cat confdefs.h >>conftest.$ac_ext
17039 cat >>conftest.$ac_ext <<_ACEOF
17040 /* end confdefs.h. */
17041 $ac_includes_default
17042 int
17043 main ()
17044 {
17045 if (sizeof ((pid_t)))
17046 return 0;
17047 ;
17048 return 0;
17049 }
17050 _ACEOF
17051 rm -f conftest.$ac_objext
17052 if { (ac_try="$ac_compile"
17053 case "(($ac_try" in
17054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17055 *) ac_try_echo=$ac_try;;
17056 esac
17057 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17058 $as_echo "$ac_try_echo") >&5
17059 (eval "$ac_compile") 2>conftest.er1
17060 ac_status=$?
17061 grep -v '^ *+' conftest.er1 >conftest.err
17062 rm -f conftest.er1
17063 cat conftest.err >&5
17064 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17065 (exit $ac_status); } && {
17066 test -z "$ac_c_werror_flag" ||
17067 test ! -s conftest.err
17068 } && test -s conftest.$ac_objext; then
17069 :
17070 else
17071 $as_echo "$as_me: failed program was:" >&5
17072 sed 's/^/| /' conftest.$ac_ext >&5
17073
17074 ac_cv_type_pid_t=yes
17075 fi
17076
17077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17078 else
17079 $as_echo "$as_me: failed program was:" >&5
17080 sed 's/^/| /' conftest.$ac_ext >&5
17081
17082
17083 fi
17084
17085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17086 fi
17087 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
17088 $as_echo "$ac_cv_type_pid_t" >&6; }
17089 if test "x$ac_cv_type_pid_t" = x""yes; then
17090 :
15235 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
15236 if test "x$ac_cv_type_pid_t" = x""yes; then :
15237
1709115238 else
1709215239
1709315240 cat >>confdefs.h <<_ACEOF
1709615243
1709715244 fi
1709815245
17099 { $as_echo "$as_me:$LINENO: checking for size_t" >&5
17100 $as_echo_n "checking for size_t... " >&6; }
17101 if test "${ac_cv_type_size_t+set}" = set; then
17102 $as_echo_n "(cached) " >&6
17103 else
17104 ac_cv_type_size_t=no
17105 cat >conftest.$ac_ext <<_ACEOF
17106 /* confdefs.h. */
17107 _ACEOF
17108 cat confdefs.h >>conftest.$ac_ext
17109 cat >>conftest.$ac_ext <<_ACEOF
17110 /* end confdefs.h. */
17111 $ac_includes_default
17112 int
17113 main ()
17114 {
17115 if (sizeof (size_t))
17116 return 0;
17117 ;
17118 return 0;
17119 }
17120 _ACEOF
17121 rm -f conftest.$ac_objext
17122 if { (ac_try="$ac_compile"
17123 case "(($ac_try" in
17124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17125 *) ac_try_echo=$ac_try;;
17126 esac
17127 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17128 $as_echo "$ac_try_echo") >&5
17129 (eval "$ac_compile") 2>conftest.er1
17130 ac_status=$?
17131 grep -v '^ *+' conftest.er1 >conftest.err
17132 rm -f conftest.er1
17133 cat conftest.err >&5
17134 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17135 (exit $ac_status); } && {
17136 test -z "$ac_c_werror_flag" ||
17137 test ! -s conftest.err
17138 } && test -s conftest.$ac_objext; then
17139 cat >conftest.$ac_ext <<_ACEOF
17140 /* confdefs.h. */
17141 _ACEOF
17142 cat confdefs.h >>conftest.$ac_ext
17143 cat >>conftest.$ac_ext <<_ACEOF
17144 /* end confdefs.h. */
17145 $ac_includes_default
17146 int
17147 main ()
17148 {
17149 if (sizeof ((size_t)))
17150 return 0;
17151 ;
17152 return 0;
17153 }
17154 _ACEOF
17155 rm -f conftest.$ac_objext
17156 if { (ac_try="$ac_compile"
17157 case "(($ac_try" in
17158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17159 *) ac_try_echo=$ac_try;;
17160 esac
17161 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17162 $as_echo "$ac_try_echo") >&5
17163 (eval "$ac_compile") 2>conftest.er1
17164 ac_status=$?
17165 grep -v '^ *+' conftest.er1 >conftest.err
17166 rm -f conftest.er1
17167 cat conftest.err >&5
17168 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17169 (exit $ac_status); } && {
17170 test -z "$ac_c_werror_flag" ||
17171 test ! -s conftest.err
17172 } && test -s conftest.$ac_objext; then
17173 :
17174 else
17175 $as_echo "$as_me: failed program was:" >&5
17176 sed 's/^/| /' conftest.$ac_ext >&5
17177
17178 ac_cv_type_size_t=yes
17179 fi
17180
17181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17182 else
17183 $as_echo "$as_me: failed program was:" >&5
17184 sed 's/^/| /' conftest.$ac_ext >&5
17185
17186
17187 fi
17188
17189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17190 fi
17191 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
17192 $as_echo "$ac_cv_type_size_t" >&6; }
17193 if test "x$ac_cv_type_size_t" = x""yes; then
17194 :
15246 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
15247 if test "x$ac_cv_type_size_t" = x""yes; then :
15248
1719515249 else
1719615250
1719715251 cat >>confdefs.h <<_ACEOF
1720015254
1720115255 fi
1720215256
17203 { $as_echo "$as_me:$LINENO: checking for ssize_t" >&5
17204 $as_echo_n "checking for ssize_t... " >&6; }
17205 if test "${ac_cv_type_ssize_t+set}" = set; then
17206 $as_echo_n "(cached) " >&6
17207 else
17208 ac_cv_type_ssize_t=no
17209 cat >conftest.$ac_ext <<_ACEOF
17210 /* confdefs.h. */
17211 _ACEOF
17212 cat confdefs.h >>conftest.$ac_ext
17213 cat >>conftest.$ac_ext <<_ACEOF
17214 /* end confdefs.h. */
17215 $ac_includes_default
17216 int
17217 main ()
17218 {
17219 if (sizeof (ssize_t))
17220 return 0;
17221 ;
17222 return 0;
17223 }
17224 _ACEOF
17225 rm -f conftest.$ac_objext
17226 if { (ac_try="$ac_compile"
17227 case "(($ac_try" in
17228 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17229 *) ac_try_echo=$ac_try;;
17230 esac
17231 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17232 $as_echo "$ac_try_echo") >&5
17233 (eval "$ac_compile") 2>conftest.er1
17234 ac_status=$?
17235 grep -v '^ *+' conftest.er1 >conftest.err
17236 rm -f conftest.er1
17237 cat conftest.err >&5
17238 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17239 (exit $ac_status); } && {
17240 test -z "$ac_c_werror_flag" ||
17241 test ! -s conftest.err
17242 } && test -s conftest.$ac_objext; then
17243 cat >conftest.$ac_ext <<_ACEOF
17244 /* confdefs.h. */
17245 _ACEOF
17246 cat confdefs.h >>conftest.$ac_ext
17247 cat >>conftest.$ac_ext <<_ACEOF
17248 /* end confdefs.h. */
17249 $ac_includes_default
17250 int
17251 main ()
17252 {
17253 if (sizeof ((ssize_t)))
17254 return 0;
17255 ;
17256 return 0;
17257 }
17258 _ACEOF
17259 rm -f conftest.$ac_objext
17260 if { (ac_try="$ac_compile"
17261 case "(($ac_try" in
17262 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17263 *) ac_try_echo=$ac_try;;
17264 esac
17265 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17266 $as_echo "$ac_try_echo") >&5
17267 (eval "$ac_compile") 2>conftest.er1
17268 ac_status=$?
17269 grep -v '^ *+' conftest.er1 >conftest.err
17270 rm -f conftest.er1
17271 cat conftest.err >&5
17272 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17273 (exit $ac_status); } && {
17274 test -z "$ac_c_werror_flag" ||
17275 test ! -s conftest.err
17276 } && test -s conftest.$ac_objext; then
17277 :
17278 else
17279 $as_echo "$as_me: failed program was:" >&5
17280 sed 's/^/| /' conftest.$ac_ext >&5
17281
17282 ac_cv_type_ssize_t=yes
17283 fi
17284
17285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17286 else
17287 $as_echo "$as_me: failed program was:" >&5
17288 sed 's/^/| /' conftest.$ac_ext >&5
17289
17290
17291 fi
17292
17293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17294 fi
17295 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
17296 $as_echo "$ac_cv_type_ssize_t" >&6; }
17297 if test "x$ac_cv_type_ssize_t" = x""yes; then
15257 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
15258 if test "x$ac_cv_type_ssize_t" = x""yes; then :
1729815259
1729915260 cat >>confdefs.h <<_ACEOF
1730015261 #define HAVE_SSIZE_T 1
1730315264
1730415265 else
1730515266
17306 cat >>confdefs.h <<\_ACEOF
17307 #define ssize_t signed long
17308 _ACEOF
17309
17310 fi
17311
17312 { $as_echo "$as_me:$LINENO: checking for off_t" >&5
17313 $as_echo_n "checking for off_t... " >&6; }
17314 if test "${ac_cv_type_off_t+set}" = set; then
17315 $as_echo_n "(cached) " >&6
17316 else
17317 ac_cv_type_off_t=no
17318 cat >conftest.$ac_ext <<_ACEOF
17319 /* confdefs.h. */
17320 _ACEOF
17321 cat confdefs.h >>conftest.$ac_ext
17322 cat >>conftest.$ac_ext <<_ACEOF
17323 /* end confdefs.h. */
17324 $ac_includes_default
17325 int
17326 main ()
17327 {
17328 if (sizeof (off_t))
17329 return 0;
17330 ;
17331 return 0;
17332 }
17333 _ACEOF
17334 rm -f conftest.$ac_objext
17335 if { (ac_try="$ac_compile"
17336 case "(($ac_try" in
17337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17338 *) ac_try_echo=$ac_try;;
17339 esac
17340 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17341 $as_echo "$ac_try_echo") >&5
17342 (eval "$ac_compile") 2>conftest.er1
17343 ac_status=$?
17344 grep -v '^ *+' conftest.er1 >conftest.err
17345 rm -f conftest.er1
17346 cat conftest.err >&5
17347 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17348 (exit $ac_status); } && {
17349 test -z "$ac_c_werror_flag" ||
17350 test ! -s conftest.err
17351 } && test -s conftest.$ac_objext; then
17352 cat >conftest.$ac_ext <<_ACEOF
17353 /* confdefs.h. */
17354 _ACEOF
17355 cat confdefs.h >>conftest.$ac_ext
17356 cat >>conftest.$ac_ext <<_ACEOF
17357 /* end confdefs.h. */
17358 $ac_includes_default
17359 int
17360 main ()
17361 {
17362 if (sizeof ((off_t)))
17363 return 0;
17364 ;
17365 return 0;
17366 }
17367 _ACEOF
17368 rm -f conftest.$ac_objext
17369 if { (ac_try="$ac_compile"
17370 case "(($ac_try" in
17371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17372 *) ac_try_echo=$ac_try;;
17373 esac
17374 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17375 $as_echo "$ac_try_echo") >&5
17376 (eval "$ac_compile") 2>conftest.er1
17377 ac_status=$?
17378 grep -v '^ *+' conftest.er1 >conftest.err
17379 rm -f conftest.er1
17380 cat conftest.err >&5
17381 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17382 (exit $ac_status); } && {
17383 test -z "$ac_c_werror_flag" ||
17384 test ! -s conftest.err
17385 } && test -s conftest.$ac_objext; then
17386 :
17387 else
17388 $as_echo "$as_me: failed program was:" >&5
17389 sed 's/^/| /' conftest.$ac_ext >&5
17390
17391 ac_cv_type_off_t=yes
17392 fi
17393
17394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17395 else
17396 $as_echo "$as_me: failed program was:" >&5
17397 sed 's/^/| /' conftest.$ac_ext >&5
17398
17399
17400 fi
17401
17402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17403 fi
17404 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
17405 $as_echo "$ac_cv_type_off_t" >&6; }
17406 if test "x$ac_cv_type_off_t" = x""yes; then
17407 :
15267 $as_echo "#define ssize_t signed long" >>confdefs.h
15268
15269 fi
15270
15271 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
15272 if test "x$ac_cv_type_off_t" = x""yes; then :
15273
1740815274 else
1740915275
1741015276 cat >>confdefs.h <<_ACEOF
1741315279
1741415280 fi
1741515281
17416 { $as_echo "$as_me:$LINENO: checking return type of signal handlers" >&5
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
1741715283 $as_echo_n "checking return type of signal handlers... " >&6; }
17418 if test "${ac_cv_type_signal+set}" = set; then
15284 if test "${ac_cv_type_signal+set}" = set; then :
1741915285 $as_echo_n "(cached) " >&6
1742015286 else
17421 cat >conftest.$ac_ext <<_ACEOF
17422 /* confdefs.h. */
17423 _ACEOF
17424 cat confdefs.h >>conftest.$ac_ext
17425 cat >>conftest.$ac_ext <<_ACEOF
15287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1742615288 /* end confdefs.h. */
1742715289 #include <sys/types.h>
1742815290 #include <signal.h>
1743515297 return 0;
1743615298 }
1743715299 _ACEOF
17438 rm -f conftest.$ac_objext
17439 if { (ac_try="$ac_compile"
17440 case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17443 esac
17444 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17445 $as_echo "$ac_try_echo") >&5
17446 (eval "$ac_compile") 2>conftest.er1
17447 ac_status=$?
17448 grep -v '^ *+' conftest.er1 >conftest.err
17449 rm -f conftest.er1
17450 cat conftest.err >&5
17451 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17452 (exit $ac_status); } && {
17453 test -z "$ac_c_werror_flag" ||
17454 test ! -s conftest.err
17455 } && test -s conftest.$ac_objext; then
15300 if ac_fn_c_try_compile "$LINENO"; then :
1745615301 ac_cv_type_signal=int
1745715302 else
17458 $as_echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17460
17461 ac_cv_type_signal=void
17462 fi
17463
15303 ac_cv_type_signal=void
15304 fi
1746415305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1746515306 fi
17466 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
15307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
1746715308 $as_echo "$ac_cv_type_signal" >&6; }
1746815309
1746915310 cat >>confdefs.h <<_ACEOF
1747115312 _ACEOF
1747215313
1747315314
17474 { $as_echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
15315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
1747515316 $as_echo_n "checking for uid_t in sys/types.h... " >&6; }
17476 if test "${ac_cv_type_uid_t+set}" = set; then
15317 if test "${ac_cv_type_uid_t+set}" = set; then :
1747715318 $as_echo_n "(cached) " >&6
1747815319 else
17479 cat >conftest.$ac_ext <<_ACEOF
17480 /* confdefs.h. */
17481 _ACEOF
17482 cat confdefs.h >>conftest.$ac_ext
17483 cat >>conftest.$ac_ext <<_ACEOF
15320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1748415321 /* end confdefs.h. */
1748515322 #include <sys/types.h>
1748615323
1748715324 _ACEOF
1748815325 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17489 $EGREP "uid_t" >/dev/null 2>&1; then
15326 $EGREP "uid_t" >/dev/null 2>&1; then :
1749015327 ac_cv_type_uid_t=yes
1749115328 else
1749215329 ac_cv_type_uid_t=no
1749415331 rm -f conftest*
1749515332
1749615333 fi
17497 { $as_echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
15334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
1749815335 $as_echo "$ac_cv_type_uid_t" >&6; }
1749915336 if test $ac_cv_type_uid_t = no; then
1750015337
17501 cat >>confdefs.h <<\_ACEOF
17502 #define uid_t int
17503 _ACEOF
17504
17505
17506 cat >>confdefs.h <<\_ACEOF
17507 #define gid_t int
17508 _ACEOF
15338 $as_echo "#define uid_t int" >>confdefs.h
15339
15340
15341 $as_echo "#define gid_t int" >>confdefs.h
1750915342
1751015343 fi
1751115344
1751315346 #### Large File-Support (LFS) ####
1751415347
1751515348 # Check whether --enable-largefile was given.
17516 if test "${enable_largefile+set}" = set; then
15349 if test "${enable_largefile+set}" = set; then :
1751715350 enableval=$enable_largefile;
1751815351 fi
1751915352
1752015353 if test "$enable_largefile" != no; then
1752115354
17522 { $as_echo "$as_me:$LINENO: checking for special C compiler options needed for large files" >&5
15355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
1752315356 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
17524 if test "${ac_cv_sys_largefile_CC+set}" = set; then
15357 if test "${ac_cv_sys_largefile_CC+set}" = set; then :
1752515358 $as_echo_n "(cached) " >&6
1752615359 else
1752715360 ac_cv_sys_largefile_CC=no
1753015363 while :; do
1753115364 # IRIX 6.2 and later do not support large files by default,
1753215365 # so use the C compiler's -n32 option if that helps.
17533 cat >conftest.$ac_ext <<_ACEOF
17534 /* confdefs.h. */
17535 _ACEOF
17536 cat confdefs.h >>conftest.$ac_ext
17537 cat >>conftest.$ac_ext <<_ACEOF
15366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1753815367 /* end confdefs.h. */
1753915368 #include <sys/types.h>
1754015369 /* Check that off_t can represent 2**63 - 1 correctly.
1755315382 return 0;
1755415383 }
1755515384 _ACEOF
17556 rm -f conftest.$ac_objext
17557 if { (ac_try="$ac_compile"
17558 case "(($ac_try" in
17559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17560 *) ac_try_echo=$ac_try;;
17561 esac
17562 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17563 $as_echo "$ac_try_echo") >&5
17564 (eval "$ac_compile") 2>conftest.er1
17565 ac_status=$?
17566 grep -v '^ *+' conftest.er1 >conftest.err
17567 rm -f conftest.er1
17568 cat conftest.err >&5
17569 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17570 (exit $ac_status); } && {
17571 test -z "$ac_c_werror_flag" ||
17572 test ! -s conftest.err
17573 } && test -s conftest.$ac_objext; then
15385 if ac_fn_c_try_compile "$LINENO"; then :
1757415386 break
17575 else
17576 $as_echo "$as_me: failed program was:" >&5
17577 sed 's/^/| /' conftest.$ac_ext >&5
17578
17579
17580 fi
17581
15387 fi
1758215388 rm -f core conftest.err conftest.$ac_objext
1758315389 CC="$CC -n32"
17584 rm -f conftest.$ac_objext
17585 if { (ac_try="$ac_compile"
17586 case "(($ac_try" in
17587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17588 *) ac_try_echo=$ac_try;;
17589 esac
17590 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17591 $as_echo "$ac_try_echo") >&5
17592 (eval "$ac_compile") 2>conftest.er1
17593 ac_status=$?
17594 grep -v '^ *+' conftest.er1 >conftest.err
17595 rm -f conftest.er1
17596 cat conftest.err >&5
17597 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17598 (exit $ac_status); } && {
17599 test -z "$ac_c_werror_flag" ||
17600 test ! -s conftest.err
17601 } && test -s conftest.$ac_objext; then
15390 if ac_fn_c_try_compile "$LINENO"; then :
1760215391 ac_cv_sys_largefile_CC=' -n32'; break
17603 else
17604 $as_echo "$as_me: failed program was:" >&5
17605 sed 's/^/| /' conftest.$ac_ext >&5
17606
17607
17608 fi
17609
15392 fi
1761015393 rm -f core conftest.err conftest.$ac_objext
1761115394 break
1761215395 done
1761415397 rm -f conftest.$ac_ext
1761515398 fi
1761615399 fi
17617 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_CC" >&5
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
1761815401 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
1761915402 if test "$ac_cv_sys_largefile_CC" != no; then
1762015403 CC=$CC$ac_cv_sys_largefile_CC
1762115404 fi
1762215405
17623 { $as_echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
15406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
1762415407 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
17625 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
15408 if test "${ac_cv_sys_file_offset_bits+set}" = set; then :
1762615409 $as_echo_n "(cached) " >&6
1762715410 else
1762815411 while :; do
17629 cat >conftest.$ac_ext <<_ACEOF
17630 /* confdefs.h. */
17631 _ACEOF
17632 cat confdefs.h >>conftest.$ac_ext
17633 cat >>conftest.$ac_ext <<_ACEOF
15412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1763415413 /* end confdefs.h. */
1763515414 #include <sys/types.h>
1763615415 /* Check that off_t can represent 2**63 - 1 correctly.
1764915428 return 0;
1765015429 }
1765115430 _ACEOF
17652 rm -f conftest.$ac_objext
17653 if { (ac_try="$ac_compile"
17654 case "(($ac_try" in
17655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17656 *) ac_try_echo=$ac_try;;
17657 esac
17658 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17659 $as_echo "$ac_try_echo") >&5
17660 (eval "$ac_compile") 2>conftest.er1
17661 ac_status=$?
17662 grep -v '^ *+' conftest.er1 >conftest.err
17663 rm -f conftest.er1
17664 cat conftest.err >&5
17665 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17666 (exit $ac_status); } && {
17667 test -z "$ac_c_werror_flag" ||
17668 test ! -s conftest.err
17669 } && test -s conftest.$ac_objext; then
15431 if ac_fn_c_try_compile "$LINENO"; then :
1767015432 ac_cv_sys_file_offset_bits=no; break
17671 else
17672 $as_echo "$as_me: failed program was:" >&5
17673 sed 's/^/| /' conftest.$ac_ext >&5
17674
17675
17676 fi
17677
15433 fi
1767815434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17679 cat >conftest.$ac_ext <<_ACEOF
17680 /* confdefs.h. */
17681 _ACEOF
17682 cat confdefs.h >>conftest.$ac_ext
17683 cat >>conftest.$ac_ext <<_ACEOF
15435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1768415436 /* end confdefs.h. */
1768515437 #define _FILE_OFFSET_BITS 64
1768615438 #include <sys/types.h>
1770015452 return 0;
1770115453 }
1770215454 _ACEOF
17703 rm -f conftest.$ac_objext
17704 if { (ac_try="$ac_compile"
17705 case "(($ac_try" in
17706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17707 *) ac_try_echo=$ac_try;;
17708 esac
17709 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17710 $as_echo "$ac_try_echo") >&5
17711 (eval "$ac_compile") 2>conftest.er1
17712 ac_status=$?
17713 grep -v '^ *+' conftest.er1 >conftest.err
17714 rm -f conftest.er1
17715 cat conftest.err >&5
17716 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17717 (exit $ac_status); } && {
17718 test -z "$ac_c_werror_flag" ||
17719 test ! -s conftest.err
17720 } && test -s conftest.$ac_objext; then
15455 if ac_fn_c_try_compile "$LINENO"; then :
1772115456 ac_cv_sys_file_offset_bits=64; break
17722 else
17723 $as_echo "$as_me: failed program was:" >&5
17724 sed 's/^/| /' conftest.$ac_ext >&5
17725
17726
17727 fi
17728
15457 fi
1772915458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1773015459 ac_cv_sys_file_offset_bits=unknown
1773115460 break
1773215461 done
1773315462 fi
17734 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
1773515464 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
1773615465 case $ac_cv_sys_file_offset_bits in #(
1773715466 no | unknown) ;;
1774315472 esac
1774415473 rm -rf conftest*
1774515474 if test $ac_cv_sys_file_offset_bits = unknown; then
17746 { $as_echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
1774715476 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
17748 if test "${ac_cv_sys_large_files+set}" = set; then
15477 if test "${ac_cv_sys_large_files+set}" = set; then :
1774915478 $as_echo_n "(cached) " >&6
1775015479 else
1775115480 while :; do
17752 cat >conftest.$ac_ext <<_ACEOF
17753 /* confdefs.h. */
17754 _ACEOF
17755 cat confdefs.h >>conftest.$ac_ext
17756 cat >>conftest.$ac_ext <<_ACEOF
15481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1775715482 /* end confdefs.h. */
1775815483 #include <sys/types.h>
1775915484 /* Check that off_t can represent 2**63 - 1 correctly.
1777215497 return 0;
1777315498 }
1777415499 _ACEOF
17775 rm -f conftest.$ac_objext
17776 if { (ac_try="$ac_compile"
17777 case "(($ac_try" in
17778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17779 *) ac_try_echo=$ac_try;;
17780 esac
17781 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17782 $as_echo "$ac_try_echo") >&5
17783 (eval "$ac_compile") 2>conftest.er1
17784 ac_status=$?
17785 grep -v '^ *+' conftest.er1 >conftest.err
17786 rm -f conftest.er1
17787 cat conftest.err >&5
17788 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17789 (exit $ac_status); } && {
17790 test -z "$ac_c_werror_flag" ||
17791 test ! -s conftest.err
17792 } && test -s conftest.$ac_objext; then
15500 if ac_fn_c_try_compile "$LINENO"; then :
1779315501 ac_cv_sys_large_files=no; break
17794 else
17795 $as_echo "$as_me: failed program was:" >&5
17796 sed 's/^/| /' conftest.$ac_ext >&5
17797
17798
17799 fi
17800
15502 fi
1780115503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17802 cat >conftest.$ac_ext <<_ACEOF
17803 /* confdefs.h. */
17804 _ACEOF
17805 cat confdefs.h >>conftest.$ac_ext
17806 cat >>conftest.$ac_ext <<_ACEOF
15504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1780715505 /* end confdefs.h. */
1780815506 #define _LARGE_FILES 1
1780915507 #include <sys/types.h>
1782315521 return 0;
1782415522 }
1782515523 _ACEOF
17826 rm -f conftest.$ac_objext
17827 if { (ac_try="$ac_compile"
17828 case "(($ac_try" in
17829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17830 *) ac_try_echo=$ac_try;;
17831 esac
17832 eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
17833 $as_echo "$ac_try_echo") >&5
17834 (eval "$ac_compile") 2>conftest.er1
17835 ac_status=$?
17836 grep -v '^ *+' conftest.er1 >conftest.err
17837 rm -f conftest.er1
17838 cat conftest.err >&5
17839 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
17840 (exit $ac_status); } && {
17841 test -z "$ac_c_werror_flag" ||
17842 test ! -s conftest.err
17843 } && test -s conftest.$ac_objext; then
15524 if ac_fn_c_try_compile "$LINENO"; then :
1784415525 ac_cv_sys_large_files=1; break
17845 else
17846 $as_echo "$as_me: failed program was:" >&5
17847 sed 's/^/| /' conftest.$ac_ext >&5
17848
17849
17850 fi
17851
15526 fi
1785215527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1785315528 ac_cv_sys_large_files=unknown
1785415529 break
1785515530 done
1785615531 fi
17857 { $as_echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
15532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
1785815533 $as_echo "$ac_cv_sys_large_files" >&6; }
1785915534 case $ac_cv_sys_large_files in #(
1786015535 no | unknown) ;;
1787515550 if test -n "$ac_tool_prefix"; then
1787615551 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
1787715552 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
17878 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1787915554 $as_echo_n "checking for $ac_word... " >&6; }
17880 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
15555 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then :
1788115556 $as_echo_n "(cached) " >&6
1788215557 else
1788315558 case $PKG_CONFIG in
1789015565 do
1789115566 IFS=$as_save_IFS
1789215567 test -z "$as_dir" && as_dir=.
17893 for ac_exec_ext in '' $ac_executable_extensions; do
15568 for ac_exec_ext in '' $ac_executable_extensions; do
1789415569 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1789515570 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17896 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15571 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1789715572 break 2
1789815573 fi
1789915574 done
17900 done
15575 done
1790115576 IFS=$as_save_IFS
1790215577
1790315578 ;;
1790515580 fi
1790615581 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
1790715582 if test -n "$PKG_CONFIG"; then
17908 { $as_echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
15583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
1790915584 $as_echo "$PKG_CONFIG" >&6; }
1791015585 else
17911 { $as_echo "$as_me:$LINENO: result: no" >&5
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1791215587 $as_echo "no" >&6; }
1791315588 fi
1791415589
1791815593 ac_pt_PKG_CONFIG=$PKG_CONFIG
1791915594 # Extract the first word of "pkg-config", so it can be a program name with args.
1792015595 set dummy pkg-config; ac_word=$2
17921 { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
15596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1792215597 $as_echo_n "checking for $ac_word... " >&6; }
17923 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
15598 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then :
1792415599 $as_echo_n "(cached) " >&6
1792515600 else
1792615601 case $ac_pt_PKG_CONFIG in
1793315608 do
1793415609 IFS=$as_save_IFS
1793515610 test -z "$as_dir" && as_dir=.
17936 for ac_exec_ext in '' $ac_executable_extensions; do
15611 for ac_exec_ext in '' $ac_executable_extensions; do
1793715612 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1793815613 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
17939 $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15614 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1794015615 break 2
1794115616 fi
1794215617 done
17943 done
15618 done
1794415619 IFS=$as_save_IFS
1794515620
1794615621 ;;
1794815623 fi
1794915624 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
1795015625 if test -n "$ac_pt_PKG_CONFIG"; then
17951 { $as_echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
1795215627 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
1795315628 else
17954 { $as_echo "$as_me:$LINENO: result: no" >&5
15629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1795515630 $as_echo "no" >&6; }
1795615631 fi
1795715632
1796015635 else
1796115636 case $cross_compiling:$ac_tool_warned in
1796215637 yes:)
17963 { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1796415639 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1796515640 ac_tool_warned=yes ;;
1796615641 esac
1797315648 fi
1797415649 if test -n "$PKG_CONFIG"; then
1797515650 _pkg_min_version=0.9.0
17976 { $as_echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
15651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
1797715652 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
1797815653 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
17979 { $as_echo "$as_me:$LINENO: result: yes" >&5
15654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1798015655 $as_echo "yes" >&6; }
1798115656 else
17982 { $as_echo "$as_me:$LINENO: result: no" >&5
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1798315658 $as_echo "no" >&6; }
1798415659 PKG_CONFIG=""
1798515660 fi
1798715662 fi
1798815663
1798915664 pkg_failed=no
17990 { $as_echo "$as_me:$LINENO: checking for LIBUDEV" >&5
15665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBUDEV" >&5
1799115666 $as_echo_n "checking for LIBUDEV... " >&6; }
1799215667
17993 if test -n "$LIBUDEV_CFLAGS"; then
17994 pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
17995 elif test -n "$PKG_CONFIG"; then
17996 if test -n "$PKG_CONFIG" && \
17997 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
17998 ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
15668 if test -n "$PKG_CONFIG"; then
15669 if test -n "$LIBUDEV_CFLAGS"; then
15670 pkg_cv_LIBUDEV_CFLAGS="$LIBUDEV_CFLAGS"
15671 else
15672 if test -n "$PKG_CONFIG" && \
15673 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
15674 ($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
1799915675 ac_status=$?
18000 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); }; then
18002 pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev" 2>/dev/null`
15676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15677 test $ac_status = 0; }; then
15678 pkg_cv_LIBUDEV_CFLAGS=`$PKG_CONFIG --cflags "libudev >= 143" 2>/dev/null`
1800315679 else
1800415680 pkg_failed=yes
1800515681 fi
18006 else
18007 pkg_failed=untried
18008 fi
18009 if test -n "$LIBUDEV_LIBS"; then
18010 pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
18011 elif test -n "$PKG_CONFIG"; then
18012 if test -n "$PKG_CONFIG" && \
18013 { ($as_echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libudev\"") >&5
18014 ($PKG_CONFIG --exists --print-errors "libudev") 2>&5
15682 fi
15683 else
15684 pkg_failed=untried
15685 fi
15686 if test -n "$PKG_CONFIG"; then
15687 if test -n "$LIBUDEV_LIBS"; then
15688 pkg_cv_LIBUDEV_LIBS="$LIBUDEV_LIBS"
15689 else
15690 if test -n "$PKG_CONFIG" && \
15691 { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libudev >= 143\""; } >&5
15692 ($PKG_CONFIG --exists --print-errors "libudev >= 143") 2>&5
1801515693 ac_status=$?
18016 $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
18017 (exit $ac_status); }; then
18018 pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev" 2>/dev/null`
15694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15695 test $ac_status = 0; }; then
15696 pkg_cv_LIBUDEV_LIBS=`$PKG_CONFIG --libs "libudev >= 143" 2>/dev/null`
1801915697 else
1802015698 pkg_failed=yes
1802115699 fi
18022 else
18023 pkg_failed=untried
15700 fi
15701 else
15702 pkg_failed=untried
1802415703 fi
1802515704
1802615705
1803315712 _pkg_short_errors_supported=no
1803415713 fi
1803515714 if test $_pkg_short_errors_supported = yes; then
18036 LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --print-errors "libudev" 2>&1`
15715 LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libudev >= 143"`
1803715716 else
18038 LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --print-errors "libudev" 2>&1`
15717 LIBUDEV_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libudev >= 143"`
1803915718 fi
1804015719 # Put the nasty error message in config.log where it belongs
1804115720 echo "$LIBUDEV_PKG_ERRORS" >&5
1804215721
18043 { { $as_echo "$as_me:$LINENO: error: Package requirements (libudev) were not met:
15722 as_fn_error "Package requirements (libudev >= 143) were not met:
1804415723
1804515724 $LIBUDEV_PKG_ERRORS
1804615725
1805015729 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
1805115730 and LIBUDEV_LIBS to avoid the need to call pkg-config.
1805215731 See the pkg-config man page for more details.
18053 " >&5
18054 $as_echo "$as_me: error: Package requirements (libudev) were not met:
18055
18056 $LIBUDEV_PKG_ERRORS
18057
18058 Consider adjusting the PKG_CONFIG_PATH environment variable if you
18059 installed software in a non-standard prefix.
15732 " "$LINENO" 5
15733 elif test $pkg_failed = untried; then
15734 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
15735 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
15736 as_fn_error "The pkg-config script could not be found or is too old. Make sure it
15737 is in your PATH or set the PKG_CONFIG environment variable to the full
15738 path to pkg-config.
1806015739
1806115740 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
1806215741 and LIBUDEV_LIBS to avoid the need to call pkg-config.
1806315742 See the pkg-config man page for more details.
18064 " >&2;}
18065 { (exit 1); exit 1; }; }
18066 elif test $pkg_failed = untried; then
18067 { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
18068 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
18069 { { $as_echo "$as_me:$LINENO: error: The pkg-config script could not be found or is too old. Make sure it
18070 is in your PATH or set the PKG_CONFIG environment variable to the full
18071 path to pkg-config.
18072
18073 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
18074 and LIBUDEV_LIBS to avoid the need to call pkg-config.
18075 See the pkg-config man page for more details.
1807615743
1807715744 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18078 See \`config.log' for more details." >&5
18079 $as_echo "$as_me: error: The pkg-config script could not be found or is too old. Make sure it
18080 is in your PATH or set the PKG_CONFIG environment variable to the full
18081 path to pkg-config.
18082
18083 Alternatively, you may set the environment variables LIBUDEV_CFLAGS
18084 and LIBUDEV_LIBS to avoid the need to call pkg-config.
18085 See the pkg-config man page for more details.
18086
18087 To get pkg-config, see <http://pkg-config.freedesktop.org/>.
18088 See \`config.log' for more details." >&2;}
18089 { (exit 1); exit 1; }; }; }
15745 See \`config.log' for more details." "$LINENO" 5; }
1809015746 else
1809115747 LIBUDEV_CFLAGS=$pkg_cv_LIBUDEV_CFLAGS
1809215748 LIBUDEV_LIBS=$pkg_cv_LIBUDEV_LIBS
18093 { $as_echo "$as_me:$LINENO: result: yes" >&5
15749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1809415750 $as_echo "yes" >&6; }
1809515751 :
1809615752 fi
18097
18098 cat >>confdefs.h <<\_ACEOF
18099 #define LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE 1
18100 _ACEOF
18101
1810215753
1810315754 ###################################
1810415755 # Output #
1813315784 case $ac_val in #(
1813415785 *${as_nl}*)
1813515786 case $ac_var in #(
18136 *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
15787 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1813715788 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1813815789 esac
1813915790 case $ac_var in #(
1814015791 _ | IFS | as_nl) ;; #(
1814115792 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
18142 *) $as_unset $ac_var ;;
15793 *) { eval $ac_var=; unset $ac_var;} ;;
1814315794 esac ;;
1814415795 esac
1814515796 done
1814715798 (set) 2>&1 |
1814815799 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1814915800 *${as_nl}ac_space=\ *)
18150 # `set' does not quote correctly, so add quotes (double-quote
18151 # substitution turns \\\\ into \\, and sed turns \\ into \).
15801 # `set' does not quote correctly, so add quotes: double-quote
15802 # substitution turns \\\\ into \\, and sed turns \\ into \.
1815215803 sed -n \
1815315804 "s/'/'\\\\''/g;
1815415805 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1817115822 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1817215823 if test -w "$cache_file"; then
1817315824 test "x$cache_file" != "x/dev/null" &&
18174 { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
15825 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1817515826 $as_echo "$as_me: updating cache $cache_file" >&6;}
1817615827 cat confcache >$cache_file
1817715828 else
18178 { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
15829 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1817915830 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1818015831 fi
1818115832 fi
1819515846 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1819615847 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1819715848 # will be set to the directory where LIBOBJS objects are built.
18198 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
18199 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
15849 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
15850 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1820015851 done
1820115852 LIBOBJS=$ac_libobjs
1820215853
1821215863 fi
1821315864
1821415865 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
18215 { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
18216 Usually this means the macro was only invoked conditionally." >&5
18217 $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
18218 Usually this means the macro was only invoked conditionally." >&2;}
18219 { (exit 1); exit 1; }; }
15866 as_fn_error "conditional \"AMDEP\" was never defined.
15867 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1822015868 fi
1822115869 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
18222 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
18223 Usually this means the macro was only invoked conditionally." >&5
18224 $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
18225 Usually this means the macro was only invoked conditionally." >&2;}
18226 { (exit 1); exit 1; }; }
15870 as_fn_error "conditional \"am__fastdepCC\" was never defined.
15871 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1822715872 fi
1822815873 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18229 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18230 Usually this means the macro was only invoked conditionally." >&5
18231 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18232 Usually this means the macro was only invoked conditionally." >&2;}
18233 { (exit 1); exit 1; }; }
15874 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
15875 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1823415876 fi
1823515877 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
18236 { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
18237 Usually this means the macro was only invoked conditionally." >&5
18238 $as_echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
18239 Usually this means the macro was only invoked conditionally." >&2;}
18240 { (exit 1); exit 1; }; }
15878 as_fn_error "conditional \"am__fastdepCXX\" was never defined.
15879 Usually this means the macro was only invoked conditionally." "$LINENO" 5
1824115880 fi
1824215881
1824315882
1824515884 ac_write_fail=0
1824615885 ac_clean_files_save=$ac_clean_files
1824715886 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
18248 { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
15887 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1824915888 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
18250 cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
15889 as_write_fail=0
15890 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1825115891 #! $SHELL
1825215892 # Generated by $as_me.
1825315893 # Run this file to recreate the current configuration.
1825715897 debug=false
1825815898 ac_cs_recheck=false
1825915899 ac_cs_silent=false
15900
1826015901 SHELL=\${CONFIG_SHELL-$SHELL}
18261 _ACEOF
18262
18263 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
18264 ## --------------------- ##
18265 ## M4sh Initialization. ##
18266 ## --------------------- ##
15902 export SHELL
15903 _ASEOF
15904 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
15905 ## -------------------- ##
15906 ## M4sh Initialization. ##
15907 ## -------------------- ##
1826715908
1826815909 # Be more Bourne compatible
1826915910 DUALCASE=1; export DUALCASE # for MKS sh
18270 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
15911 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1827115912 emulate sh
1827215913 NULLCMD=:
1827315914 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1827515916 alias -g '${1+"$@"}'='"$@"'
1827615917 setopt NO_GLOB_SUBST
1827715918 else
18278 case `(set -o) 2>/dev/null` in
18279 *posix*) set -o posix ;;
15919 case `(set -o) 2>/dev/null` in #(
15920 *posix*) :
15921 set -o posix ;; #(
15922 *) :
15923 ;;
1828015924 esac
18281
18282 fi
18283
18284
18285
18286
18287 # PATH needs CR
18288 # Avoid depending upon Character Ranges.
18289 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
18290 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
18291 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
18292 as_cr_digits='0123456789'
18293 as_cr_alnum=$as_cr_Letters$as_cr_digits
15925 fi
15926
1829415927
1829515928 as_nl='
1829615929 '
1829915932 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1830015933 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1830115934 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
18302 if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
15935 # Prefer a ksh shell builtin over an external printf program on Solaris,
15936 # but without wasting forks for bash or zsh.
15937 if test -z "$BASH_VERSION$ZSH_VERSION" \
15938 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
15939 as_echo='print -r --'
15940 as_echo_n='print -rn --'
15941 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1830315942 as_echo='printf %s\n'
1830415943 as_echo_n='printf %s'
1830515944 else
1831015949 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1831115950 as_echo_n_body='eval
1831215951 arg=$1;
18313 case $arg in
15952 case $arg in #(
1831415953 *"$as_nl"*)
1831515954 expr "X$arg" : "X\\(.*\\)$as_nl";
1831615955 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
1833315972 }
1833415973 fi
1833515974
18336 # Support unset when possible.
18337 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
18338 as_unset=unset
18339 else
18340 as_unset=false
18341 fi
18342
1834315975
1834415976 # IFS
1834515977 # We need space, tab and new line, in precisely that order. Quoting is
1834915981 IFS=" "" $as_nl"
1835015982
1835115983 # Find who we are. Look in the path if we contain no directory separator.
18352 case $0 in
15984 case $0 in #((
1835315985 *[\\/]* ) as_myself=$0 ;;
1835415986 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1835515987 for as_dir in $PATH
1835615988 do
1835715989 IFS=$as_save_IFS
1835815990 test -z "$as_dir" && as_dir=.
18359 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
18360 done
15991 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
15992 done
1836115993 IFS=$as_save_IFS
1836215994
1836315995 ;;
1836916001 fi
1837016002 if test ! -f "$as_myself"; then
1837116003 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
18372 { (exit 1); exit 1; }
18373 fi
18374
18375 # Work around bugs in pre-3.0 UWIN ksh.
18376 for as_var in ENV MAIL MAILPATH
18377 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
16004 exit 1
16005 fi
16006
16007 # Unset variables that we do not need and which cause bugs (e.g. in
16008 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
16009 # suppresses any "Segmentation fault" message there. '((' could
16010 # trigger a bug in pdksh 5.2.14.
16011 for as_var in BASH_ENV ENV MAIL MAILPATH
16012 do eval test x\${$as_var+set} = xset \
16013 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
1837816014 done
1837916015 PS1='$ '
1838016016 PS2='> '
1838616022 LANGUAGE=C
1838716023 export LANGUAGE
1838816024
18389 # Required to use basename.
16025 # CDPATH.
16026 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
16027
16028
16029 # as_fn_error ERROR [LINENO LOG_FD]
16030 # ---------------------------------
16031 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
16032 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
16033 # script with status $?, using 1 if that was 0.
16034 as_fn_error ()
16035 {
16036 as_status=$?; test $as_status -eq 0 && as_status=1
16037 if test "$3"; then
16038 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
16039 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
16040 fi
16041 $as_echo "$as_me: error: $1" >&2
16042 as_fn_exit $as_status
16043 } # as_fn_error
16044
16045
16046 # as_fn_set_status STATUS
16047 # -----------------------
16048 # Set $? to STATUS, without forking.
16049 as_fn_set_status ()
16050 {
16051 return $1
16052 } # as_fn_set_status
16053
16054 # as_fn_exit STATUS
16055 # -----------------
16056 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
16057 as_fn_exit ()
16058 {
16059 set +e
16060 as_fn_set_status $1
16061 exit $1
16062 } # as_fn_exit
16063
16064 # as_fn_unset VAR
16065 # ---------------
16066 # Portably unset VAR.
16067 as_fn_unset ()
16068 {
16069 { eval $1=; unset $1;}
16070 }
16071 as_unset=as_fn_unset
16072 # as_fn_append VAR VALUE
16073 # ----------------------
16074 # Append the text in VALUE to the end of the definition contained in VAR. Take
16075 # advantage of any shell optimizations that allow amortized linear growth over
16076 # repeated appends, instead of the typical quadratic growth present in naive
16077 # implementations.
16078 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
16079 eval 'as_fn_append ()
16080 {
16081 eval $1+=\$2
16082 }'
16083 else
16084 as_fn_append ()
16085 {
16086 eval $1=\$$1\$2
16087 }
16088 fi # as_fn_append
16089
16090 # as_fn_arith ARG...
16091 # ------------------
16092 # Perform arithmetic evaluation on the ARGs, and store the result in the
16093 # global $as_val. Take advantage of shells that can avoid forks. The arguments
16094 # must be portable across $(()) and expr.
16095 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
16096 eval 'as_fn_arith ()
16097 {
16098 as_val=$(( $* ))
16099 }'
16100 else
16101 as_fn_arith ()
16102 {
16103 as_val=`expr "$@" || test $? -eq 1`
16104 }
16105 fi # as_fn_arith
16106
16107
1839016108 if expr a : '\(a\)' >/dev/null 2>&1 &&
1839116109 test "X`expr 00001 : '.*\(...\)'`" = X001; then
1839216110 as_expr=expr
1840016118 as_basename=false
1840116119 fi
1840216120
18403
18404 # Name of the executable.
16121 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
16122 as_dirname=dirname
16123 else
16124 as_dirname=false
16125 fi
16126
1840516127 as_me=`$as_basename -- "$0" ||
1840616128 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
1840716129 X"$0" : 'X\(//\)$' \| \
1842116143 }
1842216144 s/.*/./; q'`
1842316145
18424 # CDPATH.
18425 $as_unset CDPATH
18426
18427
18428
18429 as_lineno_1=$LINENO
18430 as_lineno_2=$LINENO
18431 test "x$as_lineno_1" != "x$as_lineno_2" &&
18432 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
18433
18434 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
18435 # uniformly replaced by the line number. The first 'sed' inserts a
18436 # line-number line after each line using $LINENO; the second 'sed'
18437 # does the real work. The second script uses 'N' to pair each
18438 # line-number line with the line containing $LINENO, and appends
18439 # trailing '-' during substitution so that $LINENO is not a special
18440 # case at line end.
18441 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
18442 # scripts with optimization help from Paolo Bonzini. Blame Lee
18443 # E. McMahon (1931-1989) for sed's syntax. :-)
18444 sed -n '
18445 p
18446 /[$]LINENO/=
18447 ' <$as_myself |
18448 sed '
18449 s/[$]LINENO.*/&-/
18450 t lineno
18451 b
18452 :lineno
18453 N
18454 :loop
18455 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
18456 t loop
18457 s/-\n.*//
18458 ' >$as_me.lineno &&
18459 chmod +x "$as_me.lineno" ||
18460 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
18461 { (exit 1); exit 1; }; }
18462
18463 # Don't try to exec as it changes $[0], causing all sort of problems
18464 # (the dirname of $[0] is not the place where we might find the
18465 # original and so on. Autoconf is especially sensitive to this).
18466 . "./$as_me.lineno"
18467 # Exit status is that of the last command.
18468 exit
18469 }
18470
18471
18472 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
18473 as_dirname=dirname
18474 else
18475 as_dirname=false
18476 fi
16146 # Avoid depending upon Character Ranges.
16147 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
16148 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
16149 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
16150 as_cr_digits='0123456789'
16151 as_cr_alnum=$as_cr_Letters$as_cr_digits
1847716152
1847816153 ECHO_C= ECHO_N= ECHO_T=
18479 case `echo -n x` in
16154 case `echo -n x` in #(((((
1848016155 -n*)
18481 case `echo 'x\c'` in
16156 case `echo 'xy\c'` in
1848216157 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
18483 *) ECHO_C='\c';;
16158 xy) ECHO_C='\c';;
16159 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
16160 ECHO_T=' ';;
1848416161 esac;;
1848516162 *)
1848616163 ECHO_N='-n';;
1848716164 esac
18488 if expr a : '\(a\)' >/dev/null 2>&1 &&
18489 test "X`expr 00001 : '.*\(...\)'`" = X001; then
18490 as_expr=expr
18491 else
18492 as_expr=false
18493 fi
1849416165
1849516166 rm -f conf$$ conf$$.exe conf$$.file
1849616167 if test -d conf$$.dir; then
1851916190 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
1852016191 rmdir conf$$.dir 2>/dev/null
1852116192
16193
16194 # as_fn_mkdir_p
16195 # -------------
16196 # Create "$as_dir" as a directory, including parents if necessary.
16197 as_fn_mkdir_p ()
16198 {
16199
16200 case $as_dir in #(
16201 -*) as_dir=./$as_dir;;
16202 esac
16203 test -d "$as_dir" || eval $as_mkdir_p || {
16204 as_dirs=
16205 while :; do
16206 case $as_dir in #(
16207 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
16208 *) as_qdir=$as_dir;;
16209 esac
16210 as_dirs="'$as_qdir' $as_dirs"
16211 as_dir=`$as_dirname -- "$as_dir" ||
16212 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
16213 X"$as_dir" : 'X\(//\)[^/]' \| \
16214 X"$as_dir" : 'X\(//\)$' \| \
16215 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
16216 $as_echo X"$as_dir" |
16217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
16218 s//\1/
16219 q
16220 }
16221 /^X\(\/\/\)[^/].*/{
16222 s//\1/
16223 q
16224 }
16225 /^X\(\/\/\)$/{
16226 s//\1/
16227 q
16228 }
16229 /^X\(\/\).*/{
16230 s//\1/
16231 q
16232 }
16233 s/.*/./; q'`
16234 test -d "$as_dir" && break
16235 done
16236 test -z "$as_dirs" || eval "mkdir $as_dirs"
16237 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
16238
16239
16240 } # as_fn_mkdir_p
1852216241 if mkdir -p . 2>/dev/null; then
18523 as_mkdir_p=:
16242 as_mkdir_p='mkdir -p "$as_dir"'
1852416243 else
1852516244 test -d ./-p && rmdir ./-p
1852616245 as_mkdir_p=false
1853916258 if test -d "$1"; then
1854016259 test -d "$1/.";
1854116260 else
18542 case $1 in
16261 case $1 in #(
1854316262 -*)set "./$1";;
1854416263 esac;
18545 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
16264 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
1854616265 ???[sx]*):;;*)false;;esac;fi
1854716266 '\'' sh
1854816267 '
1855716276
1855816277
1855916278 exec 6>&1
18560
18561 # Save the log message, to keep $[0] and so on meaningful, and to
16279 ## ----------------------------------- ##
16280 ## Main body of $CONFIG_STATUS script. ##
16281 ## ----------------------------------- ##
16282 _ASEOF
16283 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
16284
16285 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
16286 # Save the log message, to keep $0 and so on meaningful, and to
1856216287 # report actual input values of CONFIG_FILES etc. instead of their
1856316288 # values after options handling.
1856416289 ac_log="
1856516290 This file was extended by libatasmart $as_me 0.17, which was
18566 generated by GNU Autoconf 2.63. Invocation command line was
16291 generated by GNU Autoconf 2.65. Invocation command line was
1856716292
1856816293 CONFIG_FILES = $CONFIG_FILES
1856916294 CONFIG_HEADERS = $CONFIG_HEADERS
1859516320
1859616321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
1859716322 ac_cs_usage="\
18598 \`$as_me' instantiates files from templates according to the
18599 current configuration.
18600
18601 Usage: $0 [OPTION]... [FILE]...
16323 \`$as_me' instantiates files and other configuration actions
16324 from templates according to the current configuration. Unless the files
16325 and actions are specified as TAGs, all are instantiated by default.
16326
16327 Usage: $0 [OPTION]... [TAG]...
1860216328
1860316329 -h, --help print this help, then exit
1860416330 -V, --version print version number and configuration settings, then exit
16331 --config print configuration, then exit
1860516332 -q, --quiet, --silent
1860616333 do not print progress messages
1860716334 -d, --debug don't remove temporary files
1862016347 Configuration commands:
1862116348 $config_commands
1862216349
18623 Report bugs to <bug-autoconf@gnu.org>."
16350 Report bugs to <mzyvongnfzneg (at) 0pointer (dot) net>."
1862416351
1862516352 _ACEOF
1862616353 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
16354 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
1862716355 ac_cs_version="\\
1862816356 libatasmart config.status 0.17
18629 configured by $0, generated by GNU Autoconf 2.63,
18630 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
18631
18632 Copyright (C) 2008 Free Software Foundation, Inc.
16357 configured by $0, generated by GNU Autoconf 2.65,
16358 with options \\"\$ac_cs_config\\"
16359
16360 Copyright (C) 2009 Free Software Foundation, Inc.
1863316361 This config.status script is free software; the Free Software Foundation
1863416362 gives unlimited permission to copy, distribute and modify it."
1863516363
1866516393 ac_cs_recheck=: ;;
1866616394 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
1866716395 $as_echo "$ac_cs_version"; exit ;;
16396 --config | --confi | --conf | --con | --co | --c )
16397 $as_echo "$ac_cs_config"; exit ;;
1866816398 --debug | --debu | --deb | --de | --d | -d )
1866916399 debug=: ;;
1867016400 --file | --fil | --fi | --f )
1867216402 case $ac_optarg in
1867316403 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1867416404 esac
18675 CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
16405 as_fn_append CONFIG_FILES " '$ac_optarg'"
1867616406 ac_need_defaults=false;;
1867716407 --header | --heade | --head | --hea )
1867816408 $ac_shift
1867916409 case $ac_optarg in
1868016410 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
1868116411 esac
18682 CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
16412 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
1868316413 ac_need_defaults=false;;
1868416414 --he | --h)
1868516415 # Conflict between --help and --header
18686 { $as_echo "$as_me: error: ambiguous option: $1
18687 Try \`$0 --help' for more information." >&2
18688 { (exit 1); exit 1; }; };;
16416 as_fn_error "ambiguous option: \`$1'
16417 Try \`$0 --help' for more information.";;
1868916418 --help | --hel | -h )
1869016419 $as_echo "$ac_cs_usage"; exit ;;
1869116420 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1869316422 ac_cs_silent=: ;;
1869416423
1869516424 # This is an error.
18696 -*) { $as_echo "$as_me: error: unrecognized option: $1
18697 Try \`$0 --help' for more information." >&2
18698 { (exit 1); exit 1; }; } ;;
18699
18700 *) ac_config_targets="$ac_config_targets $1"
16425 -*) as_fn_error "unrecognized option: \`$1'
16426 Try \`$0 --help' for more information." ;;
16427
16428 *) as_fn_append ac_config_targets " $1"
1870116429 ac_need_defaults=false ;;
1870216430
1870316431 esac
1910516833 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
1910616834 "libatasmart.pc") CONFIG_FILES="$CONFIG_FILES libatasmart.pc" ;;
1910716835
19108 *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
19109 $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
19110 { (exit 1); exit 1; }; };;
16836 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
1911116837 esac
1911216838 done
1911316839
1913416860 trap 'exit_status=$?
1913516861 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
1913616862 ' 0
19137 trap '{ (exit 1); exit 1; }' 1 2 13 15
16863 trap 'as_fn_exit 1' 1 2 13 15
1913816864 }
1913916865 # Create a (secure) tmp directory for tmp files.
1914016866
1914516871 {
1914616872 tmp=./conf$$-$RANDOM
1914716873 (umask 077 && mkdir "$tmp")
19148 } ||
19149 {
19150 $as_echo "$as_me: cannot create a temporary directory in ." >&2
19151 { (exit 1); exit 1; }
19152 }
16874 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
1915316875
1915416876 # Set up the scripts for CONFIG_FILES section.
1915516877 # No need to generate them if there are no CONFIG_FILES.
1915716879 if test -n "$CONFIG_FILES"; then
1915816880
1915916881
19160 ac_cr='
19161 '
16882 ac_cr=`echo X | tr X '\015'`
16883 # On cygwin, bash can eat \r inside `` if the user requested igncr.
16884 # But we know of no other shell where ac_cr would be empty at this
16885 # point, so we can use a bashism as a fallback.
16886 if test "x$ac_cr" = x; then
16887 eval ac_cr=\$\'\\r\'
16888 fi
1916216889 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
1916316890 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
19164 ac_cs_awk_cr='\\r'
16891 ac_cs_awk_cr='\r'
1916516892 else
1916616893 ac_cs_awk_cr=$ac_cr
1916716894 fi
1917516902 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
1917616903 echo "_ACEOF"
1917716904 } >conf$$subs.sh ||
19178 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19179 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19180 { (exit 1); exit 1; }; }
16905 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
1918116906 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
1918216907 ac_delim='%!_!# '
1918316908 for ac_last_try in false false false false false :; do
1918416909 . ./conf$$subs.sh ||
19185 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19186 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19187 { (exit 1); exit 1; }; }
16910 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
1918816911
1918916912 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
1919016913 if test $ac_delim_n = $ac_delim_num; then
1919116914 break
1919216915 elif $ac_last_try; then
19193 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
19194 $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
19195 { (exit 1); exit 1; }; }
16916 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
1919616917 else
1919716918 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1919816919 fi
1921416935 t delim
1921516936 :nl
1921616937 h
19217 s/\(.\{148\}\).*/\1/
16938 s/\(.\{148\}\)..*/\1/
1921816939 t more1
1921916940 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
1922016941 p
1922816949 t nl
1922916950 :delim
1923016951 h
19231 s/\(.\{148\}\).*/\1/
16952 s/\(.\{148\}\)..*/\1/
1923216953 t more2
1923316954 s/["\\]/\\&/g; s/^/"/; s/$/"/
1923416955 p
1928117002 else
1928217003 cat
1928317004 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
19284 || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
19285 $as_echo "$as_me: error: could not setup config files machinery" >&2;}
19286 { (exit 1); exit 1; }; }
17005 || as_fn_error "could not setup config files machinery" "$LINENO" 5
1928717006 _ACEOF
1928817007
1928917008 # VPATH may cause trouble with some makes, so we remove $(srcdir),
1932417043 if test -z "$ac_t"; then
1932517044 break
1932617045 elif $ac_last_try; then
19327 { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
19328 $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
19329 { (exit 1); exit 1; }; }
17046 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
1933017047 else
1933117048 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
1933217049 fi
1941117128 _ACAWK
1941217129 _ACEOF
1941317130 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19414 { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
19415 $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
19416 { (exit 1); exit 1; }; }
17131 as_fn_error "could not setup config headers machinery" "$LINENO" 5
1941717132 fi # test -n "$CONFIG_HEADERS"
1941817133
1941917134
1942617141 esac
1942717142 case $ac_mode$ac_tag in
1942817143 :[FHL]*:*);;
19429 :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
19430 $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
19431 { (exit 1); exit 1; }; };;
17144 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
1943217145 :[FH]-) ac_tag=-:-;;
1943317146 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
1943417147 esac
1945617169 [\\/$]*) false;;
1945717170 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
1945817171 esac ||
19459 { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
19460 $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
19461 { (exit 1); exit 1; }; };;
17172 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
1946217173 esac
1946317174 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
19464 ac_file_inputs="$ac_file_inputs '$ac_f'"
17175 as_fn_append ac_file_inputs " '$ac_f'"
1946517176 done
1946617177
1946717178 # Let's still pretend it is `configure' which instantiates (i.e., don't
1947217183 `' by configure.'
1947317184 if test x"$ac_file" != x-; then
1947417185 configure_input="$ac_file. $configure_input"
19475 { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
17186 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
1947617187 $as_echo "$as_me: creating $ac_file" >&6;}
1947717188 fi
1947817189 # Neutralize special characters interpreted by sed in replacement strings.
1948517196
1948617197 case $ac_tag in
1948717198 *:-:* | *:-) cat >"$tmp/stdin" \
19488 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19489 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19490 { (exit 1); exit 1; }; } ;;
17199 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
1949117200 esac
1949217201 ;;
1949317202 esac
1951517224 q
1951617225 }
1951717226 s/.*/./; q'`
19518 { as_dir="$ac_dir"
19519 case $as_dir in #(
19520 -*) as_dir=./$as_dir;;
19521 esac
19522 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19523 as_dirs=
19524 while :; do
19525 case $as_dir in #(
19526 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19527 *) as_qdir=$as_dir;;
19528 esac
19529 as_dirs="'$as_qdir' $as_dirs"
19530 as_dir=`$as_dirname -- "$as_dir" ||
19531 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19532 X"$as_dir" : 'X\(//\)[^/]' \| \
19533 X"$as_dir" : 'X\(//\)$' \| \
19534 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19535 $as_echo X"$as_dir" |
19536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19537 s//\1/
19538 q
19539 }
19540 /^X\(\/\/\)[^/].*/{
19541 s//\1/
19542 q
19543 }
19544 /^X\(\/\/\)$/{
19545 s//\1/
19546 q
19547 }
19548 /^X\(\/\).*/{
19549 s//\1/
19550 q
19551 }
19552 s/.*/./; q'`
19553 test -d "$as_dir" && break
19554 done
19555 test -z "$as_dirs" || eval "mkdir $as_dirs"
19556 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19557 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19558 { (exit 1); exit 1; }; }; }
17227 as_dir="$ac_dir"; as_fn_mkdir_p
1955917228 ac_builddir=.
1956017229
1956117230 case "$ac_dir" in
1961217281 # If the template does not know about datarootdir, expand it.
1961317282 # FIXME: This hack should be removed a few years after 2.60.
1961417283 ac_datarootdir_hack=; ac_datarootdir_seen=
19615
1961617284 ac_sed_dataroot='
1961717285 /datarootdir/ {
1961817286 p
1962217290 /@docdir@/p
1962317291 /@infodir@/p
1962417292 /@localedir@/p
19625 /@mandir@/p
19626 '
17293 /@mandir@/p'
1962717294 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
1962817295 *datarootdir*) ac_datarootdir_seen=yes;;
1962917296 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
19630 { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
1963117298 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
1963217299 _ACEOF
1963317300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
1963717304 s&@infodir@&$infodir&g
1963817305 s&@localedir@&$localedir&g
1963917306 s&@mandir@&$mandir&g
19640 s&\\\${datarootdir}&$datarootdir&g' ;;
17307 s&\\\${datarootdir}&$datarootdir&g' ;;
1964117308 esac
1964217309 _ACEOF
1964317310
1966617333 $ac_datarootdir_hack
1966717334 "
1966817335 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
19669 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19670 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19671 { (exit 1); exit 1; }; }
17336 || as_fn_error "could not create $ac_file" "$LINENO" 5
1967217337
1967317338 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
1967417339 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
1967517340 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
19676 { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
17341 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1967717342 which seems to be undefined. Please make sure it is defined." >&5
1967817343 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
1967917344 which seems to be undefined. Please make sure it is defined." >&2;}
1968317348 -) cat "$tmp/out" && rm -f "$tmp/out";;
1968417349 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
1968517350 esac \
19686 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19687 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19688 { (exit 1); exit 1; }; }
17351 || as_fn_error "could not create $ac_file" "$LINENO" 5
1968917352 ;;
1969017353 :H)
1969117354 #
1969617359 $as_echo "/* $configure_input */" \
1969717360 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
1969817361 } >"$tmp/config.h" \
19699 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19700 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19701 { (exit 1); exit 1; }; }
17362 || as_fn_error "could not create $ac_file" "$LINENO" 5
1970217363 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
19703 { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
17364 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
1970417365 $as_echo "$as_me: $ac_file is unchanged" >&6;}
1970517366 else
1970617367 rm -f "$ac_file"
1970717368 mv "$tmp/config.h" "$ac_file" \
19708 || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
19709 $as_echo "$as_me: error: could not create $ac_file" >&2;}
19710 { (exit 1); exit 1; }; }
17369 || as_fn_error "could not create $ac_file" "$LINENO" 5
1971117370 fi
1971217371 else
1971317372 $as_echo "/* $configure_input */" \
1971417373 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
19715 || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
19716 $as_echo "$as_me: error: could not create -" >&2;}
19717 { (exit 1); exit 1; }; }
17374 || as_fn_error "could not create -" "$LINENO" 5
1971817375 fi
1971917376 # Compute "$ac_file"'s index in $config_headers.
1972017377 _am_arg="$ac_file"
1975217409 s/.*/./; q'`/stamp-h$_am_stamp_count
1975317410 ;;
1975417411
19755 :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
17412 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
1975617413 $as_echo "$as_me: executing $ac_file commands" >&6;}
1975717414 ;;
1975817415 esac
1984717504 q
1984817505 }
1984917506 s/.*/./; q'`
19850 { as_dir=$dirpart/$fdir
19851 case $as_dir in #(
19852 -*) as_dir=./$as_dir;;
19853 esac
19854 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
19855 as_dirs=
19856 while :; do
19857 case $as_dir in #(
19858 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19859 *) as_qdir=$as_dir;;
19860 esac
19861 as_dirs="'$as_qdir' $as_dirs"
19862 as_dir=`$as_dirname -- "$as_dir" ||
19863 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19864 X"$as_dir" : 'X\(//\)[^/]' \| \
19865 X"$as_dir" : 'X\(//\)$' \| \
19866 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19867 $as_echo X"$as_dir" |
19868 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19869 s//\1/
19870 q
19871 }
19872 /^X\(\/\/\)[^/].*/{
19873 s//\1/
19874 q
19875 }
19876 /^X\(\/\/\)$/{
19877 s//\1/
19878 q
19879 }
19880 /^X\(\/\).*/{
19881 s//\1/
19882 q
19883 }
19884 s/.*/./; q'`
19885 test -d "$as_dir" && break
19886 done
19887 test -z "$as_dirs" || eval "mkdir $as_dirs"
19888 } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
19889 $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
19890 { (exit 1); exit 1; }; }; }
17507 as_dir=$dirpart/$fdir; as_fn_mkdir_p
1989117508 # echo "creating $dirpart/$file"
1989217509 echo '# dummy' > "$dirpart/$file"
1989317510 done
2070118318 done # for ac_tag
2070218319
2070318320
20704 { (exit 0); exit 0; }
18321 as_fn_exit 0
2070518322 _ACEOF
20706 chmod +x $CONFIG_STATUS
2070718323 ac_clean_files=$ac_clean_files_save
2070818324
2070918325 test $ac_write_fail = 0 ||
20710 { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
20711 $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
20712 { (exit 1); exit 1; }; }
18326 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
2071318327
2071418328
2071518329 # configure is writing to config.log, and then calls config.status.
2073018344 exec 5>>config.log
2073118345 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2073218346 # would make configure fail if this is the last instruction.
20733 $ac_cs_success || { (exit 1); exit 1; }
18347 $ac_cs_success || as_fn_exit $?
2073418348 fi
2073518349 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20736 { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2073718351 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
2073818352 fi
2073918353
114114
115115 AC_SYS_LARGEFILE
116116
117 PKG_CHECK_MODULES([LIBUDEV], [libudev])
118 AC_DEFINE([LIBUDEV_I_KNOW_THE_API_IS_SUBJECT_TO_CHANGE], 1, [I know the API is subject to change.])
117 PKG_CHECK_MODULES([LIBUDEV], [libudev >= 143])
119118
120119 ###################################
121120 # Output #
00 #! /bin/sh
11 # depcomp - compile a program generating dependencies as side-effects
22
3 scriptversion=2007-03-29.01
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007 Free Software
6 # Foundation, Inc.
3 scriptversion=2009-04-28.21; # UTC
4
5 # Copyright (C) 1999, 2000, 2003, 2004, 2005, 2006, 2007, 2009 Free
6 # Software Foundation, Inc.
77
88 # This program is free software; you can redistribute it and/or modify
99 # it under the terms of the GNU General Public License as published by
1616 # GNU General Public License for more details.
1717
1818 # You should have received a copy of the GNU General Public License
19 # along with this program; if not, write to the Free Software
20 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
21 # 02110-1301, USA.
19 # along with this program. If not, see <http://www.gnu.org/licenses/>.
2220
2321 # As a special exception to the GNU General Public License, if you
2422 # distribute this file as part of a program that contains a
8482 # This is just like dashmstdout with a different argument.
8583 dashmflag=-xM
8684 depmode=dashmstdout
85 fi
86
87 cygpath_u="cygpath -u -f -"
88 if test "$depmode" = msvcmsys; then
89 # This is just like msvisualcpp but w/o cygpath translation.
90 # Just convert the backslash-escaped backslashes to single forward
91 # slashes to satisfy depend.m4
92 cygpath_u="sed s,\\\\\\\\,/,g"
93 depmode=msvisualcpp
8794 fi
8895
8996 case "$depmode" in
191198 ' < "$tmpdepfile" \
192199 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' | \
193200 tr '
194 ' ' ' >> $depfile
195 echo >> $depfile
201 ' ' ' >> "$depfile"
202 echo >> "$depfile"
196203
197204 # The second pass generates a dummy entry for each header file.
198205 tr ' ' '
199206 ' < "$tmpdepfile" \
200207 | sed -e 's/^.*\.o://' -e 's/#.*$//' -e '/^$/ d' -e 's/$/:/' \
201 >> $depfile
208 >> "$depfile"
202209 else
203210 # The sourcefile does not contain any dependencies, so just
204211 # store a dummy comment line, to avoid errors with the Makefile
327334 if test -f "$tmpdepfile"; then
328335 sed -e "s,^.*\.[a-z]*:,$object:," "$tmpdepfile" > "$depfile"
329336 # Add `dependent.h:' lines.
330 sed -ne '2,${; s/^ *//; s/ \\*$//; s/$/:/; p;}' "$tmpdepfile" >> "$depfile"
337 sed -ne '2,${
338 s/^ *//
339 s/ \\*$//
340 s/$/:/
341 p
342 }' "$tmpdepfile" >> "$depfile"
331343 else
332344 echo "#dummy" > "$depfile"
333345 fi
403415
404416 # Remove the call to Libtool.
405417 if test "$libtool" = yes; then
406 while test $1 != '--mode=compile'; do
418 while test "X$1" != 'X--mode=compile'; do
407419 shift
408420 done
409421 shift
454466 "$@" || exit $?
455467 # Remove any Libtool call
456468 if test "$libtool" = yes; then
457 while test $1 != '--mode=compile'; do
469 while test "X$1" != 'X--mode=compile'; do
458470 shift
459471 done
460472 shift
461473 fi
462474 # X makedepend
463475 shift
464 cleared=no
465 for arg in "$@"; do
476 cleared=no eat=no
477 for arg
478 do
466479 case $cleared in
467480 no)
468481 set ""; shift
469482 cleared=yes ;;
470483 esac
484 if test $eat = yes; then
485 eat=no
486 continue
487 fi
471488 case "$arg" in
472489 -D*|-I*)
473490 set fnord "$@" "$arg"; shift ;;
474491 # Strip any option that makedepend may not understand. Remove
475492 # the object too, otherwise makedepend will parse it as a source file.
493 -arch)
494 eat=yes ;;
476495 -*|$object)
477496 ;;
478497 *)
479498 set fnord "$@" "$arg"; shift ;;
480499 esac
481500 done
482 obj_suffix="`echo $object | sed 's/^.*\././'`"
501 obj_suffix=`echo "$object" | sed 's/^.*\././'`
483502 touch "$tmpdepfile"
484503 ${MAKEDEPEND-makedepend} -o"$obj_suffix" -f"$tmpdepfile" "$@"
485504 rm -f "$depfile"
499518
500519 # Remove the call to Libtool.
501520 if test "$libtool" = yes; then
502 while test $1 != '--mode=compile'; do
521 while test "X$1" != 'X--mode=compile'; do
503522 shift
504523 done
505524 shift
537556
538557 msvisualcpp)
539558 # Important note: in order to support this mode, a compiler *must*
540 # always write the preprocessed file to stdout, regardless of -o,
541 # because we must use -o when running libtool.
559 # always write the preprocessed file to stdout.
542560 "$@" || exit $?
561
562 # Remove the call to Libtool.
563 if test "$libtool" = yes; then
564 while test "X$1" != 'X--mode=compile'; do
565 shift
566 done
567 shift
568 fi
569
543570 IFS=" "
544571 for arg
545572 do
546573 case "$arg" in
574 -o)
575 shift
576 ;;
577 $object)
578 shift
579 ;;
547580 "-Gm"|"/Gm"|"-Gi"|"/Gi"|"-ZI"|"/ZI")
548581 set fnord "$@"
549582 shift
556589 ;;
557590 esac
558591 done
559 "$@" -E |
560 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::echo "`cygpath -u \\"\1\\"`":p' | sort | uniq > "$tmpdepfile"
592 "$@" -E 2>/dev/null |
593 sed -n '/^#line [0-9][0-9]* "\([^"]*\)"/ s::\1:p' | $cygpath_u | sort -u > "$tmpdepfile"
561594 rm -f "$depfile"
562595 echo "$object : \\" > "$depfile"
563 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
596 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s:: \1 \\:p' >> "$depfile"
564597 echo " " >> "$depfile"
565 . "$tmpdepfile" | sed 's% %\\ %g' | sed -n '/^\(.*\)$/ s::\1\::p' >> "$depfile"
598 sed < "$tmpdepfile" -n -e 's% %\\ %g' -e '/^\(.*\)$/ s::\1\::p' >> "$depfile"
566599 rm -f "$tmpdepfile"
600 ;;
601
602 msvcmsys)
603 # This case exists only to let depend.m4 do its work. It works by
604 # looking at the text of this script. This case will never be run,
605 # since it is checked for above.
606 exit 1
567607 ;;
568608
569609 none)
584624 # eval: (add-hook 'write-file-hooks 'time-stamp)
585625 # time-stamp-start: "scriptversion="
586626 # time-stamp-format: "%:y-%02m-%02d.%02H"
587 # time-stamp-end: "$"
627 # time-stamp-time-zone: "UTC"
628 # time-stamp-end: "; # UTC"
588629 # End:
00 #!/bin/sh
11 # install - install a program, script, or datafile
22
3 scriptversion=2006-12-25.00
3 scriptversion=2009-04-28.21; # UTC
44
55 # This originates from X11R5 (mit/util/scripts/install.sh), which was
66 # later released in X11R6 (xc/config/util/install.sh) with the
514514 # eval: (add-hook 'write-file-hooks 'time-stamp)
515515 # time-stamp-start: "scriptversion="
516516 # time-stamp-format: "%:y-%02m-%02d.%02H"
517 # time-stamp-end: "$"
517 # time-stamp-time-zone: "UTC"
518 # time-stamp-end: "; # UTC"
518519 # End:
00 # Generated from ltmain.m4sh.
11
2 # ltmain.sh (GNU libtool) 2.2.6
2 # ltmain.sh (GNU libtool) 2.2.6b
33 # Written by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
44
55 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005, 2006, 2007 2008 Free Software Foundation, Inc.
6464 # compiler: $LTCC
6565 # compiler flags: $LTCFLAGS
6666 # linker: $LD (gnu? $with_gnu_ld)
67 # $progname: (GNU libtool) 2.2.6
67 # $progname: (GNU libtool) 2.2.6b Debian-2.2.6b-2ubuntu1
6868 # automake: $automake_version
6969 # autoconf: $autoconf_version
7070 #
7272
7373 PROGRAM=ltmain.sh
7474 PACKAGE=libtool
75 VERSION=2.2.6
75 VERSION="2.2.6b Debian-2.2.6b-2ubuntu1"
7676 TIMESTAMP=""
77 package_revision=1.3012
77 package_revision=1.3017
7878
7979 # Be Bourne compatible
8080 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
23202320
23212321 #ifdef __cplusplus
23222322 extern \"C\" {
2323 #endif
2324
2325 #if defined(__GNUC__) && (((__GNUC__ == 4) && (__GNUC_MINOR__ >= 4)) || (__GNUC__ > 4))
2326 #pragma GCC diagnostic ignored \"-Wstrict-prototypes\"
23272323 #endif
23282324
23292325 /* External symbol declarations for the compiler. */\
50365032 case $pass in
50375033 dlopen) libs="$dlfiles" ;;
50385034 dlpreopen) libs="$dlprefiles" ;;
5039 link) libs="$deplibs %DEPLIBS% $dependency_libs" ;;
5035 link)
5036 libs="$deplibs %DEPLIBS%"
5037 test "X$link_all_deplibs" != Xno && libs="$libs $dependency_libs"
5038 ;;
50405039 esac
50415040 fi
50425041 if test "$linkmode,$pass" = "lib,dlpreopen"; then
53475346 # It is a libtool convenience library, so add in its objects.
53485347 convenience="$convenience $ladir/$objdir/$old_library"
53495348 old_convenience="$old_convenience $ladir/$objdir/$old_library"
5349 tmp_libs=
5350 for deplib in $dependency_libs; do
5351 deplibs="$deplib $deplibs"
5352 if $opt_duplicate_deps ; then
5353 case "$tmp_libs " in
5354 *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5355 esac
5356 fi
5357 tmp_libs="$tmp_libs $deplib"
5358 done
53505359 elif test "$linkmode" != prog && test "$linkmode" != lib; then
53515360 func_fatal_error "\`$lib' is not a convenience library"
53525361 fi
5353 tmp_libs=
5354 for deplib in $dependency_libs; do
5355 deplibs="$deplib $deplibs"
5356 if $opt_duplicate_deps ; then
5357 case "$tmp_libs " in
5358 *" $deplib "*) specialdeplibs="$specialdeplibs $deplib" ;;
5359 esac
5360 fi
5361 tmp_libs="$tmp_libs $deplib"
5362 done
53635362 continue
53645363 fi # $pass = conv
53655364
58965895 if test "$link_all_deplibs" != no; then
58975896 # Add the search paths of all dependency libraries
58985897 for deplib in $dependency_libs; do
5898 path=
58995899 case $deplib in
59005900 -L*) path="$deplib" ;;
59015901 *.la)
62086208 age="$number_minor"
62096209 revision="$number_minor"
62106210 lt_irix_increment=no
6211 ;;
6212 *)
6213 func_fatal_configuration "$modename: unknown library version type \`$version_type'"
62116214 ;;
62126215 esac
62136216 ;;
00 #! /bin/sh
11 # Common stub for a few missing GNU programs while installing.
22
3 scriptversion=2006-05-10.23
4
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006
6 # Free Software Foundation, Inc.
3 scriptversion=2009-04-28.21; # UTC
4
5 # Copyright (C) 1996, 1997, 1999, 2000, 2002, 2003, 2004, 2005, 2006,
6 # 2008, 2009 Free Software Foundation, Inc.
77 # Originally by Fran,cois Pinard <pinard@iro.umontreal.ca>, 1996.
88
99 # This program is free software; you can redistribute it and/or modify
1717 # GNU General Public License for more details.
1818
1919 # You should have received a copy of the GNU General Public License
20 # along with this program; if not, write to the Free Software
21 # Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
22 # 02110-1301, USA.
20 # along with this program. If not, see <http://www.gnu.org/licenses/>.
2321
2422 # As a special exception to the GNU General Public License, if you
2523 # distribute this file as part of a program that contains a
8886 tar try tar, gnutar, gtar, then tar without non-portable flags
8987 yacc create \`y.tab.[ch]', if possible, from existing .[ch]
9088
89 Version suffixes to PROGRAM as well as the prefixes \`gnu-', \`gnu', and
90 \`g' are ignored when checking the name.
91
9192 Send bug reports to <bug-automake@gnu.org>."
9293 exit $?
9394 ;;
105106
106107 esac
107108
109 # normalize program name to check for.
110 program=`echo "$1" | sed '
111 s/^gnu-//; t
112 s/^gnu//; t
113 s/^g//; t'`
114
108115 # Now exit if we have it, but it failed. Also exit now if we
109116 # don't have it and --version was passed (most likely to detect
110 # the program).
117 # the program). This is about non-GNU programs, so use $1 not
118 # $program.
111119 case $1 in
112 lex|yacc)
120 lex*|yacc*)
113121 # Not GNU programs, they don't have --version.
114122 ;;
115123
116 tar)
124 tar*)
117125 if test -n "$run"; then
118126 echo 1>&2 "ERROR: \`tar' requires --run"
119127 exit 1
137145
138146 # If it does not exist, or fails to run (possibly an outdated version),
139147 # try to emulate it.
140 case $1 in
148 case $program in
141149 aclocal*)
142150 echo 1>&2 "\
143151 WARNING: \`$1' is $msg. You should only need it if
147155 touch aclocal.m4
148156 ;;
149157
150 autoconf)
158 autoconf*)
151159 echo 1>&2 "\
152160 WARNING: \`$1' is $msg. You should only need it if
153161 you modified \`${configure_ac}'. You might want to install the
156164 touch configure
157165 ;;
158166
159 autoheader)
167 autoheader*)
160168 echo 1>&2 "\
161169 WARNING: \`$1' is $msg. You should only need it if
162170 you modified \`acconfig.h' or \`${configure_ac}'. You might want
186194 while read f; do touch "$f"; done
187195 ;;
188196
189 autom4te)
197 autom4te*)
190198 echo 1>&2 "\
191199 WARNING: \`$1' is needed, but is $msg.
192200 You might have modified some files without having the
209217 fi
210218 ;;
211219
212 bison|yacc)
220 bison*|yacc*)
213221 echo 1>&2 "\
214222 WARNING: \`$1' $msg. You should only need it if
215223 you modified a \`.y' file. You may need the \`Bison' package
239247 fi
240248 ;;
241249
242 lex|flex)
250 lex*|flex*)
243251 echo 1>&2 "\
244252 WARNING: \`$1' is $msg. You should only need it if
245253 you modified a \`.l' file. You may need the \`Flex' package
262270 fi
263271 ;;
264272
265 help2man)
273 help2man*)
266274 echo 1>&2 "\
267275 WARNING: \`$1' is $msg. You should only need it if
268276 you modified a dependency of a manual page. You may need the
276284 else
277285 test -z "$file" || exec >$file
278286 echo ".ab help2man is required to generate this page"
279 exit 1
280 fi
281 ;;
282
283 makeinfo)
287 exit $?
288 fi
289 ;;
290
291 makeinfo*)
284292 echo 1>&2 "\
285293 WARNING: \`$1' is $msg. You should only need it if
286294 you modified a \`.texi' or \`.texinfo' file, or any other file
309317 touch $file
310318 ;;
311319
312 tar)
320 tar*)
313321 shift
314322
315323 # We have already tried tar in the generic part.
362370 # eval: (add-hook 'write-file-hooks 'time-stamp)
363371 # time-stamp-start: "scriptversion="
364372 # time-stamp-format: "%:y-%02m-%02d.%02H"
365 # time-stamp-end: "$"
373 # time-stamp-time-zone: "UTC"
374 # time-stamp-end: "; # UTC"
366375 # End: