Package list libatasmart / 8b0bb99
Imported Upstream version 0.17+git20100219 Martin Pitt 11 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