2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.60 for smartmontools 5.38.
5 # Report bugs to <smartmontools-support@lists.sourceforge.net>.
7 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
8 # 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## --------------------- ##
12 ## M4sh Initialization. ##
13 ## --------------------- ##
15 # Be Bourne compatible
16 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
24 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
26 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
27 DUALCASE
=1; export DUALCASE
# for MKS sh
31 # Avoid depending upon Character Ranges.
32 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
33 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
35 as_cr_digits
='0123456789'
36 as_cr_alnum
=$as_cr_Letters$as_cr_digits
38 # The user is always right.
39 if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
43 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
51 # Support unset when possible.
52 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
60 # We need space, tab and new line, in precisely that order. Quoting is
61 # there to prevent editors from complaining about space-tab.
62 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
63 # splitting by setting IFS to empty value.)
68 # Find who we are. Look in the path if we contain no directory separator.
70 *[\\/]* ) as_myself
=$0 ;;
71 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
75 test -z "$as_dir" && as_dir
=.
76 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
82 # We did not find ourselves, most probably we were run as `sh COMMAND'
83 # in which case we are not to be found in the path.
84 if test "x$as_myself" = x
; then
87 if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
92 # Work around bugs in pre-3.0 UWIN ksh.
93 for as_var
in ENV MAIL MAILPATH
94 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
106 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C
; export $as_var
109 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
113 # Required to use basename.
114 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
121 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
128 # Name of the executable.
129 as_me
=`$as_basename -- "$0" ||
130 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
152 if test "x$CONFIG_SHELL" = x
; then
153 if (eval ":") 2>/dev
/null
; then
159 if test $as_have_required = yes && (eval ":
169 as_func_ret_success () {
172 as_func_ret_failure () {
177 if as_func_success; then
181 echo as_func_success failed.
184 if as_func_failure; then
186 echo as_func_failure succeeded.
189 if as_func_ret_success; then
193 echo as_func_ret_success failed.
196 if as_func_ret_failure; then
198 echo as_func_ret_failure succeeded.
201 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
205 echo positional parameters were not saved.
208 test \$exitcode = 0) || { (exit 1); exit 1; }
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215 ") 2> /dev
/null
; then
219 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
220 for as_dir
in /usr
/bin
/posix
$PATH_SEPARATOR/bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
223 test -z "$as_dir" && as_dir
=.
226 for as_base
in sh bash ksh sh5
; do
227 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
234 for as_shell
in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
238 # Be Bourne compatible
239 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
247 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
249 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
250 DUALCASE
=1; export DUALCASE
# for MKS sh
255 CONFIG_SHELL
=$as_shell
257 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
258 # Be Bourne compatible
259 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
267 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
269 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
270 DUALCASE
=1; export DUALCASE
# for MKS sh
282 as_func_ret_success
() {
285 as_func_ret_failure
() {
290 if as_func_success
; then
294 echo as_func_success failed.
297 if as_func_failure
; then
299 echo as_func_failure succeeded.
302 if as_func_ret_success
; then
306 echo as_func_ret_success failed.
309 if as_func_ret_failure
; then
311 echo as_func_ret_failure succeeded.
314 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
318 echo positional parameters were not saved.
321 test $exitcode = 0) ||
{ (exit 1); exit 1; }
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
338 if test "x$CONFIG_SHELL" != x
; then
339 for as_var
in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
347 if test $as_have_required = no
; then
348 echo This
script requires a shell
more modern than all the
349 echo shells that I found on your system. Please
install a
350 echo modern shell
, or manually run the
script under such a
351 echo shell
if you
do have one.
352 { (exit 1); exit 1; }
362 (eval "as_func_return () {
371 as_func_ret_success () {
374 as_func_ret_failure () {
379 if as_func_success; then
383 echo as_func_success failed.
386 if as_func_failure; then
388 echo as_func_failure succeeded.
391 if as_func_ret_success; then
395 echo as_func_ret_success failed.
398 if as_func_ret_failure; then
400 echo as_func_ret_failure succeeded.
403 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
407 echo positional parameters were not saved.
410 test \$exitcode = 0") ||
{
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system
,
413 echo including any error possibly output before this
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
449 chmod +x
"$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
457 # Exit status is that of the last command.
462 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
468 ECHO_C
= ECHO_N
= ECHO_T
=
472 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
479 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
486 rm -f conf$$ conf$$.exe conf$$.
file
487 if test -d conf$$.dir
; then
488 rm -f conf$$.dir
/conf$$.
file
494 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
502 elif ln conf$$.
file conf$$
2>/dev
/null
; then
507 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
508 rmdir conf$$.dir
2>/dev
/null
510 if mkdir
-p .
2>/dev
/null
; then
513 test -d .
/-p && rmdir .
/-p
517 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
518 # systems may use methods other than mode bits to determine executability.
519 cat >conf$$.
file <<_ASEOF
524 if test -x conf$$.
file >/dev
/null
2>&1; then
525 as_executable_p
="test -x"
531 # Sed expression to map a string onto a valid CPP name.
532 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
534 # Sed expression to map a string onto a valid variable name.
535 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
539 exec 7<&0 </dev
/null
6>&1
542 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543 # so uname gets run too.
544 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
549 ac_default_prefix
=/usr
/local
551 ac_config_libobj_dir
=.
557 SHELL
=${CONFIG_SHELL-/bin/sh}
559 # Identity of this package.
560 PACKAGE_NAME
='smartmontools'
561 PACKAGE_TARNAME
='smartmontools'
562 PACKAGE_VERSION
='5.38'
563 PACKAGE_STRING
='smartmontools 5.38'
564 PACKAGE_BUGREPORT
='smartmontools-support@lists.sourceforge.net'
566 ac_unique_file
="smartctl.cpp"
567 # Factoring default headers for most tests.
568 ac_includes_default
="\
571 # include <sys/types.h>
574 # include <sys/stat.h>
585 # if !STDC_HEADERS && HAVE_MEMORY_H
591 # include <strings.h>
594 # include <inttypes.h>
612 program_transform_name
653 INSTALL_STRIP_PROGRAM
662 MAINTAINER_MODE_FALSE
699 libc_have_working_snprintf
708 smartmontools_release_date
709 smartmontools_release_time
721 ac_precious_vars
='build_alias
736 # Initialize some variables set by options.
738 ac_init_version
=false
739 # The variables have the same names as the options, with
740 # dashes changed to underlines.
748 program_transform_name
=s
,x
,x
,
756 # Installation directory options.
757 # These are left unexpanded so users can "make install exec_prefix=/foo"
758 # and all the variables that are supposed to be based on exec_prefix
759 # by default will actually change.
760 # Use braces instead of parens because sh, perl, etc. also accept them.
761 # (The list follows the same order as the GNU Coding Standards.)
762 bindir
='${exec_prefix}/bin'
763 sbindir
='${exec_prefix}/sbin'
764 libexecdir
='${exec_prefix}/libexec'
765 datarootdir
='${prefix}/share'
766 datadir
='${datarootdir}'
767 sysconfdir
='${prefix}/etc'
768 sharedstatedir
='${prefix}/com'
769 localstatedir
='${prefix}/var'
770 includedir
='${prefix}/include'
771 oldincludedir
='/usr/include'
772 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
773 infodir
='${datarootdir}/info'
778 libdir
='${exec_prefix}/lib'
779 localedir
='${datarootdir}/locale'
780 mandir
='${datarootdir}/man'
786 # If the previous option needs an argument, assign it.
787 if test -n "$ac_prev"; then
788 eval $ac_prev=\
$ac_option
794 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
798 # Accept the important Cygnus configure options, so we can diagnose typos.
800 case $ac_dashdash$ac_option in
804 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
806 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
809 -build |
--build |
--buil |
--bui |
--bu)
810 ac_prev
=build_alias
;;
811 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
812 build_alias
=$ac_optarg ;;
814 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
815 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
816 ac_prev
=cache_file
;;
817 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
818 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
819 cache_file
=$ac_optarg ;;
822 cache_file
=config.cache
;;
824 -datadir |
--datadir |
--datadi |
--datad)
826 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
827 datadir
=$ac_optarg ;;
829 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
830 |
--dataroo |
--dataro |
--datar)
831 ac_prev
=datarootdir
;;
832 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
833 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
834 datarootdir
=$ac_optarg ;;
836 -disable-* |
--disable-*)
837 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
841 { (exit 1); exit 1; }; }
842 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
843 eval enable_
$ac_feature=no
;;
845 -docdir |
--docdir |
--docdi |
--doc |
--do)
847 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
850 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
852 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
855 -enable-* |
--enable-*)
856 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
859 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
860 { (exit 1); exit 1; }; }
861 ac_feature
=`echo $ac_feature | sed 's/-/_/g'`
862 eval enable_
$ac_feature=\
$ac_optarg ;;
864 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
865 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
866 |
--exec |
--exe |
--ex)
867 ac_prev
=exec_prefix
;;
868 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
869 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
870 |
--exec=* |
--exe=* |
--ex=*)
871 exec_prefix
=$ac_optarg ;;
873 -gas |
--gas |
--ga |
--g)
874 # Obsolete; use --with-gas.
877 -help |
--help |
--hel |
--he |
-h)
879 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
880 ac_init_help
=recursive
;;
881 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
882 ac_init_help
=short
;;
884 -host |
--host |
--hos |
--ho)
885 ac_prev
=host_alias
;;
886 -host=* |
--host=* |
--hos=* |
--ho=*)
887 host_alias
=$ac_optarg ;;
889 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
891 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
893 htmldir
=$ac_optarg ;;
895 -includedir |
--includedir |
--includedi |
--included |
--include \
896 |
--includ |
--inclu |
--incl |
--inc)
897 ac_prev
=includedir
;;
898 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
899 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
900 includedir
=$ac_optarg ;;
902 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
904 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
905 infodir
=$ac_optarg ;;
907 -libdir |
--libdir |
--libdi |
--libd)
909 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
912 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
913 |
--libexe |
--libex |
--libe)
914 ac_prev
=libexecdir
;;
915 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
916 |
--libexe=* |
--libex=* |
--libe=*)
917 libexecdir
=$ac_optarg ;;
919 -localedir |
--localedir |
--localedi |
--localed |
--locale)
921 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
922 localedir
=$ac_optarg ;;
924 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
925 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
926 ac_prev
=localstatedir
;;
927 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
928 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
929 localstatedir
=$ac_optarg ;;
931 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
933 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
937 # Obsolete; use --without-fp.
940 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
941 |
--no-cr |
--no-c |
-n)
944 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
945 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
948 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
949 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
950 |
--oldin |
--oldi |
--old |
--ol |
--o)
951 ac_prev
=oldincludedir
;;
952 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
953 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
954 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
955 oldincludedir
=$ac_optarg ;;
957 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
959 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
962 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
963 |
--program-pre |
--program-pr |
--program-p)
964 ac_prev
=program_prefix
;;
965 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
966 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
967 program_prefix
=$ac_optarg ;;
969 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
970 |
--program-suf |
--program-su |
--program-s)
971 ac_prev
=program_suffix
;;
972 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
973 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
974 program_suffix
=$ac_optarg ;;
976 -program-transform-name |
--program-transform-name \
977 |
--program-transform-nam |
--program-transform-na \
978 |
--program-transform-n |
--program-transform- \
979 |
--program-transform |
--program-transfor \
980 |
--program-transfo |
--program-transf \
981 |
--program-trans |
--program-tran \
982 |
--progr-tra |
--program-tr |
--program-t)
983 ac_prev
=program_transform_name
;;
984 -program-transform-name=* |
--program-transform-name=* \
985 |
--program-transform-nam=* |
--program-transform-na=* \
986 |
--program-transform-n=* |
--program-transform-=* \
987 |
--program-transform=* |
--program-transfor=* \
988 |
--program-transfo=* |
--program-transf=* \
989 |
--program-trans=* |
--program-tran=* \
990 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
991 program_transform_name
=$ac_optarg ;;
993 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
995 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
998 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1000 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1003 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1004 |
-silent |
--silent |
--silen |
--sile |
--sil)
1007 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1009 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1011 sbindir
=$ac_optarg ;;
1013 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1014 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1015 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1017 ac_prev
=sharedstatedir
;;
1018 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1019 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1020 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1022 sharedstatedir
=$ac_optarg ;;
1024 -site |
--site |
--sit)
1026 -site=* |
--site=* |
--sit=*)
1029 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1031 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1032 srcdir
=$ac_optarg ;;
1034 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1035 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1036 ac_prev
=sysconfdir
;;
1037 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1038 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1039 sysconfdir
=$ac_optarg ;;
1041 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1042 ac_prev
=target_alias
;;
1043 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1044 target_alias
=$ac_optarg ;;
1046 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1049 -version |
--version |
--versio |
--versi |
--vers |
-V)
1050 ac_init_version
=: ;;
1053 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1056 { echo "$as_me: error: invalid package name: $ac_package" >&2
1057 { (exit 1); exit 1; }; }
1058 ac_package
=`echo $ac_package| sed 's/-/_/g'`
1059 eval with_
$ac_package=\
$ac_optarg ;;
1061 -without-* |
--without-*)
1062 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev
/null
&&
1065 { echo "$as_me: error: invalid package name: $ac_package" >&2
1066 { (exit 1); exit 1; }; }
1067 ac_package
=`echo $ac_package | sed 's/-/_/g'`
1068 eval with_
$ac_package=no
;;
1071 # Obsolete; use --with-x.
1074 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1075 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1076 ac_prev
=x_includes
;;
1077 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1078 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1079 x_includes
=$ac_optarg ;;
1081 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1082 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1083 ac_prev
=x_libraries
;;
1084 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1085 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1086 x_libraries
=$ac_optarg ;;
1088 -*) { echo "$as_me: error: unrecognized option: $ac_option
1089 Try \`$0 --help' for more information." >&2
1090 { (exit 1); exit 1; }; }
1094 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1097 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1098 { (exit 1); exit 1; }; }
1099 eval $ac_envvar=\
$ac_optarg
1100 export $ac_envvar ;;
1103 # FIXME: should be removed in autoconf 3.0.
1104 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1106 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1113 if test -n "$ac_prev"; then
1114 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1115 { echo "$as_me: error: missing argument to $ac_option" >&2
1116 { (exit 1); exit 1; }; }
1119 # Be sure to have absolute directory names.
1120 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1121 datadir sysconfdir sharedstatedir localstatedir includedir \
1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1123 libdir localedir mandir
1125 eval ac_val
=\$
$ac_var
1127 [\\/$
]* | ?
:[\\/]* ) continue;;
1128 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1130 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1131 { (exit 1); exit 1; }; }
1134 # There might be people who depend on the old broken behavior: `$host'
1135 # used to hold the argument of --host etc.
1136 # FIXME: To remove some day.
1139 target
=$target_alias
1141 # FIXME: To remove some day.
1142 if test "x$host_alias" != x
; then
1143 if test "x$build_alias" = x
; then
1144 cross_compiling
=maybe
1145 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1146 If a cross compiler is detected then cross compile mode will be used." >&2
1147 elif test "x$build_alias" != "x$host_alias"; then
1153 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1155 test "$silent" = yes && exec 6>/dev
/null
1158 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1159 ac_ls_di
=`ls -di .` &&
1160 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1161 { echo "$as_me: error: Working directory cannot be determined" >&2
1162 { (exit 1); exit 1; }; }
1163 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164 { echo "$as_me: error: pwd does not report name of working directory" >&2
1165 { (exit 1); exit 1; }; }
1168 # Find the source files, if location was not specified.
1169 if test -z "$srcdir"; then
1170 ac_srcdir_defaulted
=yes
1171 # Try the directory containing this script, then the parent directory.
1172 ac_confdir
=`$as_dirname -- "$0" ||
1173 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1174 X"$0" : 'X\(//\)[^/]' \| \
1175 X"$0" : 'X\(//\)$' \| \
1176 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1200 ac_srcdir_defaulted
=no
1202 if test ! -r "$srcdir/$ac_unique_file"; then
1203 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1204 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1205 { (exit 1); exit 1; }; }
1207 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1209 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1210 { (exit 1); exit 1; }; }
1212 # When building in place, set srcdir=.
1213 if test "$ac_abs_confdir" = "$ac_pwd"; then
1216 # Remove unnecessary trailing slashes from srcdir.
1217 # Double slashes in file names in object file debugging info
1218 # mess up M-x gdb in Emacs.
1220 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1222 for ac_var
in $ac_precious_vars; do
1223 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1224 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1225 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1226 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1230 # Report the --help message.
1232 if test "$ac_init_help" = "long"; then
1233 # Omit some internal or obsolete options to make the list less imposing.
1234 # This message is too long to be a string in the A/UX 3.1 sh.
1236 \`configure' configures smartmontools 5.38 to adapt to many kinds of systems.
1238 Usage: $0 [OPTION]... [VAR=VALUE]...
1240 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241 VAR=VALUE. See below for descriptions of some of the useful variables.
1243 Defaults for the options are specified in brackets.
1246 -h, --help display this help and exit
1247 --help=short display options specific to this package
1248 --help=recursive display the short help of all the included packages
1249 -V, --version display version information and exit
1250 -q, --quiet, --silent do not print \`checking...' messages
1251 --cache-file=FILE cache test results in FILE [disabled]
1252 -C, --config-cache alias for \`--cache-file=config.cache'
1253 -n, --no-create do not create output files
1254 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1256 Installation directories:
1257 --prefix=PREFIX install architecture-independent files in PREFIX
1258 [$ac_default_prefix]
1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1262 By default, \`make install' will install all the files in
1263 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1264 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265 for instance \`--prefix=\$HOME'.
1267 For better control, use the options below.
1269 Fine tuning of the installation directories:
1270 --bindir=DIR user executables [EPREFIX/bin]
1271 --sbindir=DIR system admin executables [EPREFIX/sbin]
1272 --libexecdir=DIR program executables [EPREFIX/libexec]
1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1276 --libdir=DIR object code libraries [EPREFIX/lib]
1277 --includedir=DIR C header files [PREFIX/include]
1278 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1281 --infodir=DIR info documentation [DATAROOTDIR/info]
1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1283 --mandir=DIR man documentation [DATAROOTDIR/man]
1284 --docdir=DIR documentation root [DATAROOTDIR/doc/smartmontools]
1285 --htmldir=DIR html documentation [DOCDIR]
1286 --dvidir=DIR dvi documentation [DOCDIR]
1287 --pdfdir=DIR pdf documentation [DOCDIR]
1288 --psdir=DIR ps documentation [DOCDIR]
1294 --program-prefix=PREFIX prepend PREFIX to installed program names
1295 --program-suffix=SUFFIX append SUFFIX to installed program names
1296 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1299 --build=BUILD configure
for building on BUILD
[guessed
]
1300 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1304 if test -n "$ac_init_help"; then
1305 case $ac_init_help in
1306 short | recursive
) echo "Configuration of smartmontools 5.38:";;
1311 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1312 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1313 --enable-maintainer-mode enable make rules and dependencies not useful
1314 (and sometimes confusing
) to the casual installer
1315 --disable-dependency-tracking speeds up one-time build
1316 --enable-dependency-tracking do not reject slow dependency extractors
1317 --enable-sample Enables appending .sample to the installed smartd rc
1318 script and configuration
file
1321 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1322 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1323 --with-initscriptdir=dir
1324 Location of init scripts
(default is
1325 ${sysconfdir}/rc.d
/init.d
)
1326 --with-docdir=dir Location of documentation
(default is
1327 ${prefix}/share
/doc
/smartmontools-5.X
)
1329 Some influential environment variables
:
1330 CXX C
++ compiler
command
1331 CXXFLAGS C
++ compiler flags
1332 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1333 nonstandard directory
<lib dir
>
1334 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1335 you have headers
in a nonstandard directory
<include dir
>
1336 CC C compiler
command
1337 CFLAGS C compiler flags
1338 CCAS assembler compiler
command (defaults to CC
)
1339 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1340 CXXCPP C
++ preprocessor
1342 Use these variables to override the choices made by
`configure' or to help
1343 it to find libraries and programs with nonstandard names/locations.
1345 Report bugs to <smartmontools-support@lists.sourceforge.net>.
1350 if test "$ac_init_help" = "recursive"; then
1351 # If there are subdirs, report their specific --help.
1352 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1353 test -d "$ac_dir" || continue
1357 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1359 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1360 # A ".." for each directory in $ac_dir_suffix.
1361 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1362 case $ac_top_builddir_sub in
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1367 ac_abs_top_builddir=$ac_pwd
1368 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369 # for backward compatibility:
1370 ac_top_builddir=$ac_top_build_prefix
1373 .) # We are building in place.
1375 ac_top_srcdir=$ac_top_builddir_sub
1376 ac_abs_top_srcdir=$ac_pwd ;;
1377 [\\/]* | ?:[\\/]* ) # Absolute name.
1378 ac_srcdir=$srcdir$ac_dir_suffix;
1379 ac_top_srcdir=$srcdir
1380 ac_abs_top_srcdir=$srcdir ;;
1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383 ac_top_srcdir=$ac_top_build_prefix$srcdir
1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1386 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1389 # Check for guested configure.
1390 if test -f "$ac_srcdir/configure.gnu"; then
1392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393 elif test -f "$ac_srcdir/configure"; then
1395 $SHELL "$ac_srcdir/configure" --help=recursive
1397 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1399 cd "$ac_pwd" || { ac_status=$?; break; }
1403 test -n "$ac_init_help" && exit $ac_status
1404 if $ac_init_version; then
1406 smartmontools configure 5.38
1407 generated by GNU Autoconf 2.60
1409 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1410 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1411 This configure script is free software; the Free Software Foundation
1412 gives unlimited permission to copy, distribute and modify it.
1416 cat >config.log <<_ACEOF
1417 This file contains any messages produced by compilers while
1418 running configure, to aid debugging if configure makes a mistake.
1420 It was created by smartmontools $as_me 5.38, which was
1421 generated by GNU Autoconf 2.60. Invocation command line was
1433 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1434 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1435 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1436 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1437 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1439 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1440 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1442 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1443 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1444 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1445 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1446 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1447 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1448 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1452 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1456 test -z "$as_dir" && as_dir=.
1457 echo "PATH: $as_dir"
1473 # Keep a trace of the command line.
1474 # Strip out --no-create and --no-recursion so they do not pile up.
1475 # Strip out --silent because we don't want to record it for future runs.
1476 # Also quote any args containing shell meta-characters.
1477 # Make two passes to allow for proper duplicate-argument suppression.
1481 ac_must_keep_next=false
1487 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1489 | -silent | --silent | --silen | --sile | --sil)
1492 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1495 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1497 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1498 if test $ac_must_keep_next = true; then
1499 ac_must_keep_next=false # Got value, back to normal.
1502 *=* | --config-cache | -C | -disable-* | --disable-* \
1503 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1504 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1505 | -with-* | --with-* | -without-* | --without-* | --x)
1506 case "$ac_configure_args0 " in
1507 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1510 -* ) ac_must_keep_next=true ;;
1513 ac_configure_args="$ac_configure_args '$ac_arg'"
1518 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1519 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1521 # When interrupted or exit'd, cleanup temporary files, and complete
1522 # config.log. We remove comments because anyway the quotes in there
1523 # would cause problems or look ugly.
1524 # WARNING: Use '\'' to represent an apostrophe within the trap.
1525 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1526 trap 'exit_status=$?
1527 # Save into config.log some information that might help in debugging.
1532 ## ---------------- ##
1533 ## Cache variables. ##
1534 ## ---------------- ##
1537 # The following way of writing the cache mishandles newlines in values,
1539 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1540 eval ac_val=\$$ac_var
1544 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1545 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1548 _ | IFS | as_nl) ;; #(
1549 *) $as_unset $ac_var ;;
1554 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1555 *${as_nl}ac_space=\ *)
1557 "s/'\''/'\''\\\\'\'''\''/g;
1558 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1561 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1569 ## ----------------- ##
1570 ## Output variables. ##
1571 ## ----------------- ##
1574 for ac_var in $ac_subst_vars
1576 eval ac_val=\$$ac_var
1578 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1580 echo "$ac_var='\''$ac_val'\''"
1584 if test -n "$ac_subst_files"; then
1586 ## ------------------- ##
1587 ## File substitutions. ##
1588 ## ------------------- ##
1591 for ac_var in $ac_subst_files
1593 eval ac_val=\$$ac_var
1595 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1597 echo "$ac_var='\''$ac_val'\''"
1602 if test -s confdefs.h; then
1612 test "$ac_signal" != 0 &&
1613 echo "$as_me: caught signal $ac_signal"
1614 echo "$as_me: exit $exit_status"
1616 rm -f core *.core core.conftest.* &&
1617 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1620 for ac_signal in 1 2 13 15; do
1621 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1625 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1626 rm -f -r conftest* confdefs.h
1628 # Predefined preprocessor variables.
1630 cat >>confdefs.h <<_ACEOF
1631 #define PACKAGE_NAME "$PACKAGE_NAME"
1635 cat >>confdefs.h <<_ACEOF
1636 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1640 cat >>confdefs.h <<_ACEOF
1641 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1645 cat >>confdefs.h <<_ACEOF
1646 #define PACKAGE_STRING "$PACKAGE_STRING"
1650 cat >>confdefs.h <<_ACEOF
1651 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1655 # Let the site file select an alternate cache file if it wants to.
1656 # Prefer explicitly selected file to automatically selected ones.
1657 if test -n "$CONFIG_SITE"; then
1658 set x "$CONFIG_SITE"
1659 elif test "x$prefix" != xNONE; then
1660 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1662 set x "$ac_default_prefix/share/config.site" \
1663 "$ac_default_prefix/etc/config.site"
1668 if test -r "$ac_site_file"; then
1669 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1670 echo "$as_me: loading site script $ac_site_file" >&6;}
1671 sed 's/^/| /' "$ac_site_file" >&5
1676 if test -r "$cache_file"; then
1677 # Some versions of bash will fail to source /dev/null (special
1678 # files actually), so we avoid doing that.
1679 if test -f "$cache_file"; then
1680 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1681 echo "$as_me: loading cache $cache_file" >&6;}
1683 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1684 *) . "./$cache_file";;
1688 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1689 echo "$as_me: creating cache $cache_file" >&6;}
1693 # Check that the precious variables saved in the cache have kept the same
1695 ac_cache_corrupted=false
1696 for ac_var in $ac_precious_vars; do
1697 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1698 eval ac_new_set=\$ac_env_${ac_var}_set
1699 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1700 eval ac_new_val=\$ac_env_${ac_var}_value
1701 case $ac_old_set,$ac_new_set in
1703 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1704 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1705 ac_cache_corrupted=: ;;
1707 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1708 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1709 ac_cache_corrupted=: ;;
1712 if test "x$ac_old_val" != "x$ac_new_val"; then
1713 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1714 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1715 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1716 echo "$as_me: former value
: $ac_old_val" >&2;}
1717 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1718 echo "$as_me: current value
: $ac_new_val" >&2;}
1719 ac_cache_corrupted=:
1722 # Pass precious variables to config.status.
1723 if test "$ac_new_set" = set; then
1725 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1726 *) ac_arg=$ac_var=$ac_new_val ;;
1728 case " $ac_configure_args " in
1729 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1730 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1734 if $ac_cache_corrupted; then
1735 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1736 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1737 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1738 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1739 { (exit 1); exit 1; }; }
1767 ac_cpp='$CPP $CPPFLAGS'
1768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1775 smartmontools_configure_date=`date -u +"%Y/%m/%d %T %Z"`
1776 smartmontools_cvs_tag=`echo '$Id: configure.in,v 1.129 2007/12/20 17:34:18 chrfranke Exp $'`
1777 smartmontools_release_date=2008/02/24
1778 smartmontools_release_time="20:16:09 GMT"
1781 cat >>confdefs.h <<_ACEOF
1782 #define SMARTMONTOOLS_CONFIGURE_ARGS "$ac_configure_args"
1786 cat >>confdefs.h <<_ACEOF
1787 #define SMARTMONTOOLS_CONFIGURE_DATE "$smartmontools_configure_date"
1791 cat >>confdefs.h <<_ACEOF
1792 #define SMARTMONTOOLS_RELEASE_DATE "$smartmontools_release_date"
1796 cat >>confdefs.h <<_ACEOF
1797 #define SMARTMONTOOLS_RELEASE_TIME "$smartmontools_release_time"
1801 cat >>confdefs.h <<_ACEOF
1802 #define CONFIG_H_CVSID "$smartmontools_cvs_tag"
1806 cat >>confdefs.h <<_ACEOF
1807 #define PACKAGE_HOMEPAGE "http://smartmontools.sourceforge.net/"
1811 ac_config_headers="$ac_config_headers config.h"
1814 am__api_version="1.9"
1816 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1817 if test -f "$ac_dir/install-sh"; then
1819 ac_install_sh="$ac_aux_dir/install-sh -c"
1821 elif test -f "$ac_dir/install.sh"; then
1823 ac_install_sh="$ac_aux_dir/install.sh -c"
1825 elif test -f "$ac_dir/shtool"; then
1827 ac_install_sh="$ac_aux_dir/shtool install -c"
1831 if test -z "$ac_aux_dir"; then
1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1833 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1834 { (exit 1); exit 1; }; }
1837 # These three variables are undocumented and unsupported,
1838 # and are intended to be withdrawn in a future Autoconf release.
1839 # They can cause serious problems if a builder's source tree is in a directory
1840 # whose full name contains unusual characters.
1841 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1842 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1843 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1846 # Find a good install program. We prefer a C program (faster),
1847 # so one script is as good as another. But avoid the broken or
1848 # incompatible versions:
1849 # SysV /etc/install, /usr/sbin/install
1850 # SunOS /usr/etc/install
1851 # IRIX /sbin/install
1853 # AmigaOS /C/install, which installs bootblocks on floppy discs
1854 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1855 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1856 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1857 # OS/2's system install, which has a completely different semantic
1858 # ./install, which can be erroneously created by make from ./install.sh.
1859 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1860 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1861 if test -z "$INSTALL"; then
1862 if test "${ac_cv_path_install+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1869 test -z "$as_dir" && as_dir=.
1870 # Account for people who put trailing slashes in PATH elements.
1872 ./ | .// | /cC/* | \
1873 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1874 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1877 # OSF1 and SCO ODT 3.0 have their own names for install.
1878 # Don't use installbsd from OSF since it installs stuff as root
1880 for ac_prog in ginstall scoinst install; do
1881 for ac_exec_ext in '' $ac_executable_extensions; do
1882 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1883 if test $ac_prog = install &&
1884 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1885 # AIX install. It has an incompatible calling convention.
1887 elif test $ac_prog = install &&
1888 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1889 # program-specific install script used by HP pwplus--don't use.
1892 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1905 if test "${ac_cv_path_install+set}" = set; then
1906 INSTALL=$ac_cv_path_install
1908 # As a last resort, use the slow shell script. Don't cache a
1909 # value for INSTALL within a source directory, because that will
1910 # break other packages using the cache if that directory is
1911 # removed, or if the value is a relative name.
1912 INSTALL=$ac_install_sh
1915 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1916 echo "${ECHO_T}$INSTALL" >&6; }
1918 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1919 # It thinks the first close brace ends the variable substitution.
1920 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1922 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1924 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1926 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1927 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1930 echo timestamp > conftest.file
1931 # Do `set' in a subshell so we don't clobber the current shell
's
1932 # arguments. Must try -L first in case configure is actually a
1933 # symlink; some systems play weird games with the mod time of symlinks
1934 # (eg FreeBSD returns the mod time of the symlink's containing
1937 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1938 if test "$*" = "X"; then
1940 set X
`ls -t $srcdir/configure conftest.file`
1943 if test "$*" != "X $srcdir/configure conftest.file" \
1944 && test "$*" != "X conftest.file $srcdir/configure"; then
1946 # If neither matched, then we have a broken ls. This can happen
1947 # if, for instance, CONFIG_SHELL is bash and it inherits a
1948 # broken ls alias from the environment. This has actually
1949 # happened. Such a system could not be considered "sane".
1950 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1951 alias in your environment" >&5
1952 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1953 alias in your environment" >&2;}
1954 { (exit 1); exit 1; }; }
1957 test "$2" = conftest.
file
1963 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1964 Check your system clock" >&5
1965 echo "$as_me: error: newly created file is older than distributed files!
1966 Check your system clock" >&2;}
1967 { (exit 1); exit 1; }; }
1969 { echo "$as_me:$LINENO: result: yes" >&5
1970 echo "${ECHO_T}yes" >&6; }
1971 test "$program_prefix" != NONE
&&
1972 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1973 # Use a double $ so make ignores it.
1974 test "$program_suffix" != NONE
&&
1975 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1976 # Double any \ or $. echo might interpret backslashes.
1977 # By default was `s,x,x', remove it if useless.
1978 cat <<\_ACEOF
>conftest.
sed
1979 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
1981 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
1984 # expand $ac_aux_dir to an absolute path
1985 am_aux_dir
=`cd $ac_aux_dir && pwd`
1987 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
1988 # Use eval to expand $SHELL
1989 if eval "$MISSING --run true"; then
1990 am_missing_run
="$MISSING --run "
1993 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1994 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1997 if mkdir
-p --version .
>/dev
/null
2>&1 && test ! -d .
/--version; then
1998 # We used to keeping the `.' as first argument, in order to
1999 # allow $(mkdir_p) to be used without argument. As in
2000 # $(mkdir_p) $(somedir)
2001 # where $(somedir) is conditionally defined. However this is wrong
2003 # 1. if the package is installed by a user who cannot write `.'
2004 # make install will fail,
2005 # 2. the above comment should most certainly read
2006 # $(mkdir_p) $(DESTDIR)$(somedir)
2007 # so it does not work when $(somedir) is undefined and
2008 # $(DESTDIR) is not.
2009 # To support the latter case, we have to write
2010 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2011 # so the `.' trick is pointless.
2012 mkdir_p
='mkdir -p --'
2014 # On NextStep and OpenStep, the `mkdir' command does not
2015 # recognize any option. It will interpret all options as
2016 # directories to create, and then abort because `.' already
2018 for d
in .
/-p .
/--version;
2020 test -d $d && rmdir $d
2022 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2023 if test -f "$ac_aux_dir/mkinstalldirs"; then
2024 mkdir_p
='$(mkinstalldirs)'
2026 mkdir_p
='$(install_sh) -d'
2030 for ac_prog
in gawk mawk nawk
awk
2032 # Extract the first word of "$ac_prog", so it can be a program name with args.
2033 set dummy
$ac_prog; ac_word
=$2
2034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2036 if test "${ac_cv_prog_AWK+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2039 if test -n "$AWK"; then
2040 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2042 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2046 test -z "$as_dir" && as_dir
=.
2047 for ac_exec_ext
in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2049 ac_cv_prog_AWK
="$ac_prog"
2050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2060 if test -n "$AWK"; then
2061 { echo "$as_me:$LINENO: result: $AWK" >&5
2062 echo "${ECHO_T}$AWK" >&6; }
2064 { echo "$as_me:$LINENO: result: no" >&5
2065 echo "${ECHO_T}no" >&6; }
2069 test -n "$AWK" && break
2072 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2073 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2074 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2075 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2078 cat >conftest.
make <<\_ACEOF
2081 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2083 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2084 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2086 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2088 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2092 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2093 { echo "$as_me:$LINENO: result: yes" >&5
2094 echo "${ECHO_T}yes" >&6; }
2097 { echo "$as_me:$LINENO: result: no" >&5
2098 echo "${ECHO_T}no" >&6; }
2099 SET_MAKE
="MAKE=${MAKE-make}"
2102 rm -rf .tst
2>/dev
/null
2103 mkdir .tst
2>/dev
/null
2104 if test -d .tst
; then
2109 rmdir .tst
2>/dev
/null
2111 # test to see if srcdir already configured
2112 if test "`cd $srcdir && pwd`" != "`pwd`" &&
2113 test -f $srcdir/config.status
; then
2114 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2115 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2116 { (exit 1); exit 1; }; }
2119 # test whether we have cygpath
2120 if test -z "$CYGPATH_W"; then
2121 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2122 CYGPATH_W
='cygpath -w'
2129 # Define the identity of the package.
2130 PACKAGE
='smartmontools'
2134 cat >>confdefs.h
<<_ACEOF
2135 #define PACKAGE "$PACKAGE"
2139 cat >>confdefs.h
<<_ACEOF
2140 #define VERSION "$VERSION"
2143 # Some tools Automake needs.
2145 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2148 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2151 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2154 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2157 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2159 install_sh
=${install_sh-"$am_aux_dir/install-sh"}
2161 # Installed binaries are usually stripped using `strip' when the user
2162 # run `make install-strip'. However `strip' might not be the right
2163 # tool to use in cross-compilation environments, therefore Automake
2164 # will honor the `STRIP' environment variable to overrule this program.
2165 if test "$cross_compiling" != no
; then
2166 if test -n "$ac_tool_prefix"; then
2167 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2168 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2169 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2170 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2171 if test "${ac_cv_prog_STRIP+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2174 if test -n "$STRIP"; then
2175 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2177 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2181 test -z "$as_dir" && as_dir
=.
2182 for ac_exec_ext
in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2194 STRIP
=$ac_cv_prog_STRIP
2195 if test -n "$STRIP"; then
2196 { echo "$as_me:$LINENO: result: $STRIP" >&5
2197 echo "${ECHO_T}$STRIP" >&6; }
2199 { echo "$as_me:$LINENO: result: no" >&5
2200 echo "${ECHO_T}no" >&6; }
2205 if test -z "$ac_cv_prog_STRIP"; then
2207 # Extract the first word of "strip", so it can be a program name with args.
2208 set dummy strip
; ac_word
=$2
2209 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2210 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2211 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2214 if test -n "$ac_ct_STRIP"; then
2215 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2217 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2221 test -z "$as_dir" && as_dir
=.
2222 for ac_exec_ext
in '' $ac_executable_extensions; do
2223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2224 ac_cv_prog_ac_ct_STRIP
="strip"
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2234 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2235 if test -n "$ac_ct_STRIP"; then
2236 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2237 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2239 { echo "$as_me:$LINENO: result: no" >&5
2240 echo "${ECHO_T}no" >&6; }
2243 if test "x$ac_ct_STRIP" = x
; then
2246 case $cross_compiling:$ac_tool_warned in
2248 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2249 whose name does not start with the host triplet. If you think this
2250 configuration is useful to you, please write to autoconf@gnu.org." >&5
2251 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2252 whose name does not start with the host triplet. If you think this
2253 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2254 ac_tool_warned
=yes ;;
2259 STRIP
="$ac_cv_prog_STRIP"
2263 INSTALL_STRIP_PROGRAM
="\${SHELL} \$(install_sh) -c -s"
2265 # We need awk for the "check" target. The system "awk" is bad on
2267 # Always define AMTAR for backward compatibility.
2269 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2271 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2278 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2279 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2280 # Check whether --enable-maintainer-mode was given.
2281 if test "${enable_maintainer_mode+set}" = set; then
2282 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2284 USE_MAINTAINER_MODE
=no
2287 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2288 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2291 if test $USE_MAINTAINER_MODE = yes; then
2292 MAINTAINER_MODE_TRUE
=
2293 MAINTAINER_MODE_FALSE
='#'
2295 MAINTAINER_MODE_TRUE
='#'
2296 MAINTAINER_MODE_FALSE
=
2299 MAINT
=$MAINTAINER_MODE_TRUE
2304 ac_cpp
='$CXXCPP $CPPFLAGS'
2305 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2306 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2307 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2310 ac_cpp
='$CXXCPP $CPPFLAGS'
2311 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2314 if test -z "$CXX"; then
2315 if test -n "$CCC"; then
2318 if test -n "$ac_tool_prefix"; then
2319 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2321 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2322 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2323 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2324 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2325 if test "${ac_cv_prog_CXX+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2328 if test -n "$CXX"; then
2329 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2331 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2335 test -z "$as_dir" && as_dir
=.
2336 for ac_exec_ext
in '' $ac_executable_extensions; do
2337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2338 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2349 if test -n "$CXX"; then
2350 { echo "$as_me:$LINENO: result: $CXX" >&5
2351 echo "${ECHO_T}$CXX" >&6; }
2353 { echo "$as_me:$LINENO: result: no" >&5
2354 echo "${ECHO_T}no" >&6; }
2358 test -n "$CXX" && break
2361 if test -z "$CXX"; then
2363 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2365 # Extract the first word of "$ac_prog", so it can be a program name with args.
2366 set dummy
$ac_prog; ac_word
=$2
2367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2369 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2372 if test -n "$ac_ct_CXX"; then
2373 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2375 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2379 test -z "$as_dir" && as_dir
=.
2380 for ac_exec_ext
in '' $ac_executable_extensions; do
2381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2382 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2392 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2393 if test -n "$ac_ct_CXX"; then
2394 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2395 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2397 { echo "$as_me:$LINENO: result: no" >&5
2398 echo "${ECHO_T}no" >&6; }
2402 test -n "$ac_ct_CXX" && break
2405 if test "x$ac_ct_CXX" = x
; then
2408 case $cross_compiling:$ac_tool_warned in
2410 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2411 whose name does not start with the host triplet. If you think this
2412 configuration is useful to you, please write to autoconf@gnu.org." >&5
2413 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2414 whose name does not start with the host triplet. If you think this
2415 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2416 ac_tool_warned
=yes ;;
2424 # Provide some information about the compiler.
2425 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2426 ac_compiler
=`set X $ac_compile; echo $2`
2427 { (ac_try
="$ac_compiler --version >&5"
2429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_compiler --version >&5") 2>&5
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }
2437 { (ac_try="$ac_compiler -v >&5"
2439 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2440 *) ac_try_echo
=$ac_try;;
2442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2443 (eval "$ac_compiler -v >&5") 2>&5
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }
2447 { (ac_try
="$ac_compiler -V >&5"
2449 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2453 (eval "$ac_compiler -V >&5") 2>&5
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }
2458 cat >conftest.$ac_ext <<_ACEOF
2461 cat confdefs.h >>conftest.$ac_ext
2462 cat >>conftest.$ac_ext <<_ACEOF
2463 /* end confdefs.h. */
2473 ac_clean_files_save=$ac_clean_files
2474 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2475 # Try to create an executable without -o first, disregard a.out.
2476 # It will help us diagnose broken compilers, and finding out an intuition
2478 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2479 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2480 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2482 # List of possible output files, starting from the most likely.
2483 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2484 # only as a last resort. b.out is created by i960 compilers.
2485 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2487 # The IRIX 6 linker writes into existing files which may not be
2488 # executable, retaining their permissions. Remove them first so a
2489 # subsequent execution test works.
2491 for ac_file in $ac_files
2494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2495 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2500 if { (ac_try="$ac_link_default"
2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2506 (eval "$ac_link_default") 2>&5
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; then
2510 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2511 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2512 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2513 # so that the user can short-circuit this test for compilers unknown to
2515 for ac_file
in $ac_files
2517 test -f "$ac_file" ||
continue
2519 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2522 # We found the default executable, but exeext='' is most
2526 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2528 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2530 # We set ac_cv_exeext here because the later test for it is not
2531 # safe: cross compilers may not add the suffix if given an `-o'
2532 # argument, so we may need to know it at that point already.
2533 # Even if this section looks crufty: it has the advantage of
2540 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2543 echo "$as_me: failed program was:" >&5
2544 sed 's/^/| /' conftest.
$ac_ext >&5
2546 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2547 See \`config.log' for more details." >&5
2548 echo "$as_me: error: C++ compiler cannot create executables
2549 See \`config.log' for more details." >&2;}
2550 { (exit 77); exit 77; }; }
2553 ac_exeext
=$ac_cv_exeext
2554 { echo "$as_me:$LINENO: result: $ac_file" >&5
2555 echo "${ECHO_T}$ac_file" >&6; }
2557 # Check that the compiler produces executables we can run. If not, either
2558 # the compiler is broken, or we cross compile.
2559 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2560 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2561 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2562 # If not cross compiling, check that we can run a simple program.
2563 if test "$cross_compiling" != yes; then
2564 if { ac_try
='./$ac_file'
2565 { (case "(($ac_try" in
2566 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2570 (eval "$ac_try") 2>&5
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }; }; then
2576 if test "$cross_compiling" = maybe; then
2579 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2580 If you meant to cross compile, use \`--host'.
2581 See \`config.log' for more details.
" >&5
2582 echo "$as_me: error
: cannot run C
++ compiled programs.
2583 If you meant to cross compile
, use \
`--host'.
2584 See \`config.log
' for more details." >&2;}
2585 { (exit 1); exit 1; }; }
2589 { echo "$as_me:$LINENO: result: yes" >&5
2590 echo "${ECHO_T}yes" >&6; }
2592 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2593 ac_clean_files=$ac_clean_files_save
2594 # Check that the compiler produces executables we can run. If not, either
2595 # the compiler is broken, or we cross compile.
2596 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2597 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2598 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2599 echo "${ECHO_T}$cross_compiling" >&6; }
2601 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2602 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2603 if { (ac_try="$ac_link"
2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2608 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2609 (eval "$ac_link") 2>&5
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; then
2613 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2614 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2615 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2617 for ac_file
in conftest.exe conftest conftest.
*; do
2618 test -f "$ac_file" ||
continue
2620 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2621 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2627 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2628 See \`config.log' for more details." >&5
2629 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2630 See \`config.log' for more details." >&2;}
2631 { (exit 1); exit 1; }; }
2634 rm -f conftest
$ac_cv_exeext
2635 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2636 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2638 rm -f conftest.
$ac_ext
2639 EXEEXT
=$ac_cv_exeext
2641 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2642 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2643 if test "${ac_cv_objext+set}" = set; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2646 cat >conftest.
$ac_ext <<_ACEOF
2649 cat confdefs.h
>>conftest.
$ac_ext
2650 cat >>conftest.
$ac_ext <<_ACEOF
2651 /* end confdefs.h. */
2661 rm -f conftest.o conftest.obj
2662 if { (ac_try
="$ac_compile"
2664 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2665 *) ac_try_echo=$ac_try;;
2667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2668 (eval "$ac_compile") 2>&5
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; then
2672 for ac_file in conftest.o conftest.obj conftest.*; do
2673 test -f "$ac_file" || continue;
2675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2676 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2681 echo "$as_me: failed program was:" >&5
2682 sed 's/^/| /' conftest.$ac_ext >&5
2684 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2685 See \`config.log
' for more details." >&5
2686 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2687 See \`config.log' for more details.
" >&2;}
2688 { (exit 1); exit 1; }; }
2691 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2693 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2694 echo "${ECHO_T}$ac_cv_objext" >&6; }
2695 OBJEXT=$ac_cv_objext
2697 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2698 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2699 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2700 echo $ECHO_N "(cached
) $ECHO_C" >&6
2702 cat >conftest.$ac_ext <<_ACEOF
2705 cat confdefs.h >>conftest.$ac_ext
2706 cat >>conftest.$ac_ext <<_ACEOF
2707 /* end confdefs.h. */
2720 rm -f conftest.$ac_objext
2721 if { (ac_try="$ac_compile"
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2726 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_compile") 2>conftest.er1
2729 grep -v '^ *+' conftest.er1 >conftest.err
2731 cat conftest.err >&5
2732 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2735 { (case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2739 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_try") 2>&5
2742 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2743 (exit $ac_status); }; } &&
2744 { ac_try='test -s conftest.$ac_objext'
2745 { (case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2749 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2750 (eval "$ac_try") 2>&5
2752 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2753 (exit $ac_status); }; }; then
2756 echo "$as_me: failed program was
:" >&5
2757 sed 's/^/| /' conftest.$ac_ext >&5
2762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2766 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2767 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2768 GXX=`test $ac_compiler_gnu = yes && echo yes`
2769 ac_test_CXXFLAGS=${CXXFLAGS+set}
2770 ac_save_CXXFLAGS=$CXXFLAGS
2771 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2772 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2773 if test "${ac_cv_prog_cxx_g+set}" = set; then
2774 echo $ECHO_N "(cached
) $ECHO_C" >&6
2776 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2777 ac_cxx_werror_flag=yes
2780 cat >conftest.$ac_ext <<_ACEOF
2783 cat confdefs.h >>conftest.$ac_ext
2784 cat >>conftest.$ac_ext <<_ACEOF
2785 /* end confdefs.h. */
2795 rm -f conftest.$ac_objext
2796 if { (ac_try="$ac_compile"
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2801 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2802 (eval "$ac_compile") 2>conftest.er1
2804 grep -v '^ *+' conftest.er1 >conftest.err
2806 cat conftest.err >&5
2807 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2808 (exit $ac_status); } &&
2809 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2810 { (case "(($ac_try" in
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2814 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2815 (eval "$ac_try") 2>&5
2817 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2818 (exit $ac_status); }; } &&
2819 { ac_try='test -s conftest.$ac_objext'
2820 { (case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2824 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_try") 2>&5
2827 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2828 (exit $ac_status); }; }; then
2829 ac_cv_prog_cxx_g=yes
2831 echo "$as_me: failed program was
:" >&5
2832 sed 's/^/| /' conftest.$ac_ext >&5
2835 cat >conftest.$ac_ext <<_ACEOF
2838 cat confdefs.h >>conftest.$ac_ext
2839 cat >>conftest.$ac_ext <<_ACEOF
2840 /* end confdefs.h. */
2850 rm -f conftest.$ac_objext
2851 if { (ac_try="$ac_compile"
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2856 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2857 (eval "$ac_compile") 2>conftest.er1
2859 grep -v '^ *+' conftest.er1 >conftest.err
2861 cat conftest.err >&5
2862 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2863 (exit $ac_status); } &&
2864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2865 { (case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2869 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2870 (eval "$ac_try") 2>&5
2872 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2873 (exit $ac_status); }; } &&
2874 { ac_try='test -s conftest.$ac_objext'
2875 { (case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2879 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_try") 2>&5
2882 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2883 (exit $ac_status); }; }; then
2886 echo "$as_me: failed program was
:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2889 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2891 cat >conftest.$ac_ext <<_ACEOF
2894 cat confdefs.h >>conftest.$ac_ext
2895 cat >>conftest.$ac_ext <<_ACEOF
2896 /* end confdefs.h. */
2906 rm -f conftest.$ac_objext
2907 if { (ac_try="$ac_compile"
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2912 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2913 (eval "$ac_compile") 2>conftest.er1
2915 grep -v '^ *+' conftest.er1 >conftest.err
2917 cat conftest.err >&5
2918 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2919 (exit $ac_status); } &&
2920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2921 { (case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2925 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2926 (eval "$ac_try") 2>&5
2928 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2929 (exit $ac_status); }; } &&
2930 { ac_try='test -s conftest.$ac_objext'
2931 { (case "(($ac_try" in
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2935 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2936 (eval "$ac_try") 2>&5
2938 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2939 (exit $ac_status); }; }; then
2940 ac_cv_prog_cxx_g=yes
2942 echo "$as_me: failed program was
:" >&5
2943 sed 's/^/| /' conftest.$ac_ext >&5
2948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2957 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
2958 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2959 if test "$ac_test_CXXFLAGS" = set; then
2960 CXXFLAGS=$ac_save_CXXFLAGS
2961 elif test $ac_cv_prog_cxx_g = yes; then
2962 if test "$GXX" = yes; then
2968 if test "$GXX" = yes; then
2975 ac_cpp='$CXXCPP $CPPFLAGS'
2976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2979 DEPDIR="${am__leading_dot}deps
"
2981 ac_config_commands="$ac_config_commands depfiles
"
2984 am_make=${MAKE-make}
2985 cat > confinc << 'END'
2990 # If we don't find an include directive, just comment out the code.
2991 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
2992 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
2996 # First try GNU make style include.
2997 echo "include confinc" > confmf
2998 # We grep out `Entering directory' and `Leaving directory'
2999 # messages which can occur if `w' ends up in MAKEFLAGS.
3000 # In particular we don't look at `^make:' because GNU make might
3001 # be invoked under some other name (usually "gmake"), in which
3002 # case it prints its new name instead of `make'.
3003 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3008 # Now try BSD make style include.
3009 if test "$am__include" = "#"; then
3010 echo '.include "confinc"' > confmf
3011 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3012 am__include
=.include
3019 { echo "$as_me:$LINENO: result: $_am_result" >&5
3020 echo "${ECHO_T}$_am_result" >&6; }
3021 rm -f confinc confmf
3023 # Check whether --enable-dependency-tracking was given.
3024 if test "${enable_dependency_tracking+set}" = set; then
3025 enableval
=$enable_dependency_tracking;
3028 if test "x$enable_dependency_tracking" != xno
; then
3029 am_depcomp
="$ac_aux_dir/depcomp"
3034 if test "x$enable_dependency_tracking" != xno; then
3045 depcc
="$CXX" am_compiler_list
=
3047 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3048 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3049 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3052 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3053 # We make a subdir and do the tests there. Otherwise we can end up
3054 # making bogus files that we don't know about and never remove. For
3055 # instance it was reported that on HP-UX the gcc test will end up
3056 # making a dummy file named `D' -- because `-MD' means `put the output
3059 # Copy depcomp to subdir because otherwise we won't find it if we're
3060 # using a relative directory.
3061 cp "$am_depcomp" conftest.dir
3063 # We will build objects and dependencies in a subdirectory because
3064 # it helps to detect inapplicable dependency modes. For instance
3065 # both Tru64's cc and ICC support -MD to output dependencies as a
3066 # side effect of compilation, but ICC will put the dependencies in
3067 # the current directory while Tru64 will put them in the object
3071 am_cv_CXX_dependencies_compiler_type
=none
3072 if test "$am_compiler_list" = ""; then
3073 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3075 for depmode
in $am_compiler_list; do
3076 # Setup a source with many dependencies, because some compilers
3077 # like to wrap large dependency lists on column 80 (with \), and
3078 # we should not choose a depcomp mode which is confused by this.
3080 # We need to recreate these files for each test, as the compiler may
3081 # overwrite some of them when testing with obscure command lines.
3082 # This happens at least with the AIX C compiler.
3084 for i
in 1 2 3 4 5 6; do
3085 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3086 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3087 # Solaris 8's {/usr,}/bin/sh.
3088 touch sub
/conftst
$i.h
3090 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3094 # after this tag, mechanisms are not by side-effect, so they'll
3095 # only be used when explicitly requested
3096 if test "x$enable_dependency_tracking" = xyes
; then
3104 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3105 # mode. It turns out that the SunPro C++ compiler does not properly
3106 # handle `-M -o', and we need to detect this.
3107 if depmode
=$depmode \
3108 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3109 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3110 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3111 >/dev
/null
2>conftest.err
&&
3112 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3113 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3114 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3115 # icc doesn't choke on unknown options, it will just issue warnings
3116 # or remarks (even with -Werror). So we grep stderr for any message
3117 # that says an option was ignored or not supported.
3118 # When given -MP, icc 7.0 and 7.1 complain thusly:
3119 # icc: Command line warning: ignoring option '-M'; no argument required
3120 # The diagnosis changed in icc 8.0:
3121 # icc: Command line remark: option '-MP' not supported
3122 if (grep 'ignoring option' conftest.err ||
3123 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3124 am_cv_CXX_dependencies_compiler_type
=$depmode
3133 am_cv_CXX_dependencies_compiler_type
=none
3137 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3138 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3139 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3144 test "x$enable_dependency_tracking" != xno \
3145 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3146 am__fastdepCXX_TRUE
=
3147 am__fastdepCXX_FALSE
='#'
3149 am__fastdepCXX_TRUE
='#'
3150 am__fastdepCXX_FALSE
=
3155 ac_cpp
='$CPP $CPPFLAGS'
3156 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3159 if test -n "$ac_tool_prefix"; then
3160 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3161 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3162 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3163 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3164 if test "${ac_cv_prog_CC+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC
="$CC" # Let the user override the test.
3170 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3174 test -z "$as_dir" && as_dir
=.
3175 for ac_exec_ext
in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3188 if test -n "$CC"; then
3189 { echo "$as_me:$LINENO: result: $CC" >&5
3190 echo "${ECHO_T}$CC" >&6; }
3192 { echo "$as_me:$LINENO: result: no" >&5
3193 echo "${ECHO_T}no" >&6; }
3198 if test -z "$ac_cv_prog_CC"; then
3200 # Extract the first word of "gcc", so it can be a program name with args.
3201 set dummy gcc
; ac_word
=$2
3202 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3203 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3204 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3207 if test -n "$ac_ct_CC"; then
3208 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3214 test -z "$as_dir" && as_dir
=.
3215 for ac_exec_ext
in '' $ac_executable_extensions; do
3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 ac_cv_prog_ac_ct_CC
="gcc"
3218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3227 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3228 if test -n "$ac_ct_CC"; then
3229 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3230 echo "${ECHO_T}$ac_ct_CC" >&6; }
3232 { echo "$as_me:$LINENO: result: no" >&5
3233 echo "${ECHO_T}no" >&6; }
3236 if test "x$ac_ct_CC" = x
; then
3239 case $cross_compiling:$ac_tool_warned in
3241 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3242 whose name does not start with the host triplet. If you think this
3243 configuration is useful to you, please write to autoconf@gnu.org." >&5
3244 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3245 whose name does not start with the host triplet. If you think this
3246 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3247 ac_tool_warned
=yes ;;
3255 if test -z "$CC"; then
3256 if test -n "$ac_tool_prefix"; then
3257 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3258 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3259 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3260 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3261 if test "${ac_cv_prog_CC+set}" = set; then
3262 echo $ECHO_N "(cached) $ECHO_C" >&6
3264 if test -n "$CC"; then
3265 ac_cv_prog_CC
="$CC" # Let the user override the test.
3267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3271 test -z "$as_dir" && as_dir
=.
3272 for ac_exec_ext
in '' $ac_executable_extensions; do
3273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3274 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3285 if test -n "$CC"; then
3286 { echo "$as_me:$LINENO: result: $CC" >&5
3287 echo "${ECHO_T}$CC" >&6; }
3289 { echo "$as_me:$LINENO: result: no" >&5
3290 echo "${ECHO_T}no" >&6; }
3296 if test -z "$CC"; then
3297 # Extract the first word of "cc", so it can be a program name with args.
3298 set dummy cc
; ac_word
=$2
3299 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3300 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3301 if test "${ac_cv_prog_CC+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3304 if test -n "$CC"; then
3305 ac_cv_prog_CC
="$CC" # Let the user override the test.
3308 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3312 test -z "$as_dir" && as_dir
=.
3313 for ac_exec_ext
in '' $ac_executable_extensions; do
3314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3315 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3316 ac_prog_rejected
=yes
3320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3327 if test $ac_prog_rejected = yes; then
3328 # We found a bogon in the path, so make sure we never use it.
3329 set dummy
$ac_cv_prog_CC
3331 if test $# != 0; then
3332 # We chose a different compiler from the bogus one.
3333 # However, it has the same basename, so the bogon will be chosen
3334 # first if we set CC to just the basename; use the full file name.
3336 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3342 if test -n "$CC"; then
3343 { echo "$as_me:$LINENO: result: $CC" >&5
3344 echo "${ECHO_T}$CC" >&6; }
3346 { echo "$as_me:$LINENO: result: no" >&5
3347 echo "${ECHO_T}no" >&6; }
3352 if test -z "$CC"; then
3353 if test -n "$ac_tool_prefix"; then
3354 for ac_prog
in cl.exe
3356 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3357 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3358 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3359 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3360 if test "${ac_cv_prog_CC+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3363 if test -n "$CC"; then
3364 ac_cv_prog_CC
="$CC" # Let the user override the test.
3366 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3370 test -z "$as_dir" && as_dir
=.
3371 for ac_exec_ext
in '' $ac_executable_extensions; do
3372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3373 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3384 if test -n "$CC"; then
3385 { echo "$as_me:$LINENO: result: $CC" >&5
3386 echo "${ECHO_T}$CC" >&6; }
3388 { echo "$as_me:$LINENO: result: no" >&5
3389 echo "${ECHO_T}no" >&6; }
3393 test -n "$CC" && break
3396 if test -z "$CC"; then
3398 for ac_prog
in cl.exe
3400 # Extract the first word of "$ac_prog", so it can be a program name with args.
3401 set dummy
$ac_prog; ac_word
=$2
3402 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3403 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3404 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3405 echo $ECHO_N "(cached) $ECHO_C" >&6
3407 if test -n "$ac_ct_CC"; then
3408 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3410 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3414 test -z "$as_dir" && as_dir
=.
3415 for ac_exec_ext
in '' $ac_executable_extensions; do
3416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3417 ac_cv_prog_ac_ct_CC
="$ac_prog"
3418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3427 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3428 if test -n "$ac_ct_CC"; then
3429 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3430 echo "${ECHO_T}$ac_ct_CC" >&6; }
3432 { echo "$as_me:$LINENO: result: no" >&5
3433 echo "${ECHO_T}no" >&6; }
3437 test -n "$ac_ct_CC" && break
3440 if test "x$ac_ct_CC" = x
; then
3443 case $cross_compiling:$ac_tool_warned in
3445 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3446 whose name does not start with the host triplet. If you think this
3447 configuration is useful to you, please write to autoconf@gnu.org." >&5
3448 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3449 whose name does not start with the host triplet. If you think this
3450 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3451 ac_tool_warned
=yes ;;
3460 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3461 See \`config.log' for more details." >&5
3462 echo "$as_me: error: no acceptable C compiler found in \$PATH
3463 See \`config.log' for more details." >&2;}
3464 { (exit 1); exit 1; }; }
3466 # Provide some information about the compiler.
3467 echo "$as_me:$LINENO: checking for C compiler version" >&5
3468 ac_compiler
=`set X $ac_compile; echo $2`
3469 { (ac_try
="$ac_compiler --version >&5"
3471 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3475 (eval "$ac_compiler --version >&5") 2>&5
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }
3479 { (ac_try="$ac_compiler -v >&5"
3481 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3482 *) ac_try_echo
=$ac_try;;
3484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3485 (eval "$ac_compiler -v >&5") 2>&5
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }
3489 { (ac_try
="$ac_compiler -V >&5"
3491 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_compiler -V >&5") 2>&5
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }
3500 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3501 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3502 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3505 cat >conftest.$ac_ext <<_ACEOF
3508 cat confdefs.h >>conftest.$ac_ext
3509 cat >>conftest.$ac_ext <<_ACEOF
3510 /* end confdefs.h. */
3523 rm -f conftest.$ac_objext
3524 if { (ac_try="$ac_compile"
3526 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3527 *) ac_try_echo
=$ac_try;;
3529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3530 (eval "$ac_compile") 2>conftest.er1
3532 grep -v '^ *+' conftest.er1
>conftest.err
3534 cat conftest.err
>&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); } &&
3537 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3538 { (case "(($ac_try" in
3539 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3543 (eval "$ac_try") 2>&5
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; } &&
3547 { ac_try='test -s conftest.$ac_objext'
3548 { (case "(($ac_try" in
3549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3550 *) ac_try_echo
=$ac_try;;
3552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_try") 2>&5
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); }; }; then
3559 echo "$as_me: failed program was:" >&5
3560 sed 's/^/| /' conftest.
$ac_ext >&5
3565 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3566 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3569 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3570 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3571 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3572 ac_test_CFLAGS
=${CFLAGS+set}
3573 ac_save_CFLAGS
=$CFLAGS
3574 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3575 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3576 if test "${ac_cv_prog_cc_g+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3579 ac_save_c_werror_flag
=$ac_c_werror_flag
3580 ac_c_werror_flag
=yes
3583 cat >conftest.
$ac_ext <<_ACEOF
3586 cat confdefs.h
>>conftest.
$ac_ext
3587 cat >>conftest.
$ac_ext <<_ACEOF
3588 /* end confdefs.h. */
3598 rm -f conftest.
$ac_objext
3599 if { (ac_try
="$ac_compile"
3601 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3605 (eval "$ac_compile") 2>conftest.er1
3607 grep -v '^ *+' conftest.er1 >conftest.err
3609 cat conftest.err >&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } &&
3612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3613 { (case "(($ac_try" in
3614 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3615 *) ac_try_echo
=$ac_try;;
3617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3618 (eval "$ac_try") 2>&5
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); }; } &&
3622 { ac_try
='test -s conftest.$ac_objext'
3623 { (case "(($ac_try" in
3624 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3628 (eval "$ac_try") 2>&5
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then
3634 echo "$as_me: failed program was:" >&5
3635 sed 's/^/| /' conftest.$ac_ext >&5
3638 cat >conftest.$ac_ext <<_ACEOF
3641 cat confdefs.h >>conftest.$ac_ext
3642 cat >>conftest.$ac_ext <<_ACEOF
3643 /* end confdefs.h. */
3653 rm -f conftest.$ac_objext
3654 if { (ac_try="$ac_compile"
3656 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3657 *) ac_try_echo
=$ac_try;;
3659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3660 (eval "$ac_compile") 2>conftest.er1
3662 grep -v '^ *+' conftest.er1
>conftest.err
3664 cat conftest.err
>&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } &&
3667 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3668 { (case "(($ac_try" in
3669 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3670 *) ac_try_echo=$ac_try;;
3672 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3673 (eval "$ac_try") 2>&5
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; } &&
3677 { ac_try='test -s conftest.$ac_objext'
3678 { (case "(($ac_try" in
3679 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3680 *) ac_try_echo
=$ac_try;;
3682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3683 (eval "$ac_try") 2>&5
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; }; then
3689 echo "$as_me: failed program was:" >&5
3690 sed 's/^/| /' conftest.
$ac_ext >&5
3692 ac_c_werror_flag
=$ac_save_c_werror_flag
3694 cat >conftest.
$ac_ext <<_ACEOF
3697 cat confdefs.h
>>conftest.
$ac_ext
3698 cat >>conftest.
$ac_ext <<_ACEOF
3699 /* end confdefs.h. */
3709 rm -f conftest.
$ac_objext
3710 if { (ac_try
="$ac_compile"
3712 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3716 (eval "$ac_compile") 2>conftest.er1
3718 grep -v '^ *+' conftest.er1 >conftest.err
3720 cat conftest.err >&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } &&
3723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3724 { (case "(($ac_try" in
3725 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3726 *) ac_try_echo
=$ac_try;;
3728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3729 (eval "$ac_try") 2>&5
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }; } &&
3733 { ac_try
='test -s conftest.$ac_objext'
3734 { (case "(($ac_try" in
3735 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3736 *) ac_try_echo=$ac_try;;
3738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3739 (eval "$ac_try") 2>&5
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; }; then
3745 echo "$as_me: failed program was:" >&5
3746 sed 's/^/| /' conftest.$ac_ext >&5
3751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 ac_c_werror_flag=$ac_save_c_werror_flag
3760 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3761 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3762 if test "$ac_test_CFLAGS" = set; then
3763 CFLAGS=$ac_save_CFLAGS
3764 elif test $ac_cv_prog_cc_g = yes; then
3765 if test "$GCC" = yes; then
3771 if test "$GCC" = yes; then
3777 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3778 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3779 if test "${ac_cv_prog_cc_c89+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3782 ac_cv_prog_cc_c89=no
3784 cat >conftest.$ac_ext <<_ACEOF
3787 cat confdefs.h >>conftest.$ac_ext
3788 cat >>conftest.$ac_ext <<_ACEOF
3789 /* end confdefs.h. */
3792 #include <sys/types.h>
3793 #include <sys/stat.h>
3794 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3795 struct buf { int x; };
3796 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3797 static char *e (p, i)
3803 static char *f (char * (*g) (char **, int), char **p, ...)
3808 s = g (p, va_arg (v,int));
3813 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3814 function prototypes and stuff, but not '\xHH' hex character constants.
3815 These don't provoke an error unfortunately, instead are silently treated
3816 as 'x'. The following induces an error, until -std is added to get
3817 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3818 array size at least. It's necessary to write '\x00'==0 to get something
3819 that's true only with -std. */
3820 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3822 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3823 inside strings and character constants. */
3825 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3827 int test (int i, double x);
3828 struct s1 {int (*f) (int a);};
3829 struct s2 {int (*f) (double a);};
3830 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3836 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3841 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3842 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3844 CC="$ac_save_CC $ac_arg"
3845 rm -f conftest.$ac_objext
3846 if { (ac_try="$ac_compile"
3848 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3849 *) ac_try_echo
=$ac_try;;
3851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3852 (eval "$ac_compile") 2>conftest.er1
3854 grep -v '^ *+' conftest.er1
>conftest.err
3856 cat conftest.err
>&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } &&
3859 { ac_try
='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3860 { (case "(($ac_try" in
3861 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3865 (eval "$ac_try") 2>&5
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); }; } &&
3869 { ac_try='test -s conftest.$ac_objext'
3870 { (case "(($ac_try" in
3871 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3872 *) ac_try_echo
=$ac_try;;
3874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3875 (eval "$ac_try") 2>&5
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); }; }; then
3879 ac_cv_prog_cc_c89
=$ac_arg
3881 echo "$as_me: failed program was:" >&5
3882 sed 's/^/| /' conftest.
$ac_ext >&5
3887 rm -f core conftest.err conftest.
$ac_objext
3888 test "x$ac_cv_prog_cc_c89" != "xno" && break
3890 rm -f conftest.
$ac_ext
3895 case "x$ac_cv_prog_cc_c89" in
3897 { echo "$as_me:$LINENO: result: none needed" >&5
3898 echo "${ECHO_T}none needed" >&6; } ;;
3900 { echo "$as_me:$LINENO: result: unsupported" >&5
3901 echo "${ECHO_T}unsupported" >&6; } ;;
3903 CC
="$CC $ac_cv_prog_cc_c89"
3904 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3905 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3910 ac_cpp
='$CXXCPP $CPPFLAGS'
3911 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3915 depcc
="$CC" am_compiler_list
=
3917 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3918 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3919 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3922 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3923 # We make a subdir and do the tests there. Otherwise we can end up
3924 # making bogus files that we don't know about and never remove. For
3925 # instance it was reported that on HP-UX the gcc test will end up
3926 # making a dummy file named `D' -- because `-MD' means `put the output
3929 # Copy depcomp to subdir because otherwise we won't find it if we're
3930 # using a relative directory.
3931 cp "$am_depcomp" conftest.dir
3933 # We will build objects and dependencies in a subdirectory because
3934 # it helps to detect inapplicable dependency modes. For instance
3935 # both Tru64's cc and ICC support -MD to output dependencies as a
3936 # side effect of compilation, but ICC will put the dependencies in
3937 # the current directory while Tru64 will put them in the object
3941 am_cv_CC_dependencies_compiler_type
=none
3942 if test "$am_compiler_list" = ""; then
3943 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3945 for depmode
in $am_compiler_list; do
3946 # Setup a source with many dependencies, because some compilers
3947 # like to wrap large dependency lists on column 80 (with \), and
3948 # we should not choose a depcomp mode which is confused by this.
3950 # We need to recreate these files for each test, as the compiler may
3951 # overwrite some of them when testing with obscure command lines.
3952 # This happens at least with the AIX C compiler.
3954 for i
in 1 2 3 4 5 6; do
3955 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3956 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3957 # Solaris 8's {/usr,}/bin/sh.
3958 touch sub
/conftst
$i.h
3960 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3964 # after this tag, mechanisms are not by side-effect, so they'll
3965 # only be used when explicitly requested
3966 if test "x$enable_dependency_tracking" = xyes
; then
3974 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3975 # mode. It turns out that the SunPro C++ compiler does not properly
3976 # handle `-M -o', and we need to detect this.
3977 if depmode
=$depmode \
3978 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3979 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3980 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3981 >/dev
/null
2>conftest.err
&&
3982 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3983 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3984 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3985 # icc doesn't choke on unknown options, it will just issue warnings
3986 # or remarks (even with -Werror). So we grep stderr for any message
3987 # that says an option was ignored or not supported.
3988 # When given -MP, icc 7.0 and 7.1 complain thusly:
3989 # icc: Command line warning: ignoring option '-M'; no argument required
3990 # The diagnosis changed in icc 8.0:
3991 # icc: Command line remark: option '-MP' not supported
3992 if (grep 'ignoring option' conftest.err ||
3993 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3994 am_cv_CC_dependencies_compiler_type
=$depmode
4003 am_cv_CC_dependencies_compiler_type
=none
4007 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4008 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4009 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4014 test "x$enable_dependency_tracking" != xno \
4015 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4017 am__fastdepCC_FALSE
='#'
4019 am__fastdepCC_TRUE
='#'
4020 am__fastdepCC_FALSE
=
4024 # By default we simply use the C compiler to build assembly code.
4026 test "${CCAS+set}" = set || CCAS
=$CC
4027 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4031 # Find a good install program. We prefer a C program (faster),
4032 # so one script is as good as another. But avoid the broken or
4033 # incompatible versions:
4034 # SysV /etc/install, /usr/sbin/install
4035 # SunOS /usr/etc/install
4036 # IRIX /sbin/install
4038 # AmigaOS /C/install, which installs bootblocks on floppy discs
4039 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4040 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4041 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4042 # OS/2's system install, which has a completely different semantic
4043 # ./install, which can be erroneously created by make from ./install.sh.
4044 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4045 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4046 if test -z "$INSTALL"; then
4047 if test "${ac_cv_path_install+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4050 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4054 test -z "$as_dir" && as_dir
=.
4055 # Account for people who put trailing slashes in PATH elements.
4057 .
/ | .
// |
/cC
/* | \
4058 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4059 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4062 # OSF1 and SCO ODT 3.0 have their own names for install.
4063 # Don't use installbsd from OSF since it installs stuff as root
4065 for ac_prog
in ginstall scoinst
install; do
4066 for ac_exec_ext
in '' $ac_executable_extensions; do
4067 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
4068 if test $ac_prog = install &&
4069 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4070 # AIX install. It has an incompatible calling convention.
4072 elif test $ac_prog = install &&
4073 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4074 # program-specific install script used by HP pwplus--don't use.
4077 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4090 if test "${ac_cv_path_install+set}" = set; then
4091 INSTALL
=$ac_cv_path_install
4093 # As a last resort, use the slow shell script. Don't cache a
4094 # value for INSTALL within a source directory, because that will
4095 # break other packages using the cache if that directory is
4096 # removed, or if the value is a relative name.
4097 INSTALL
=$ac_install_sh
4100 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4101 echo "${ECHO_T}$INSTALL" >&6; }
4103 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4104 # It thinks the first close brace ends the variable substitution.
4105 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4107 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4109 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4112 # Make sure we can run config.sub.
4113 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4114 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4115 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4116 { (exit 1); exit 1; }; }
4118 { echo "$as_me:$LINENO: checking build system type" >&5
4119 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4120 if test "${ac_cv_build+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4123 ac_build_alias
=$build_alias
4124 test "x$ac_build_alias" = x
&&
4125 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4126 test "x$ac_build_alias" = x
&&
4127 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4128 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4129 { (exit 1); exit 1; }; }
4130 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4131 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4132 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4133 { (exit 1); exit 1; }; }
4136 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4137 echo "${ECHO_T}$ac_cv_build" >&6; }
4138 case $ac_cv_build in
4140 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4141 echo "$as_me: error: invalid value of canonical build" >&2;}
4142 { (exit 1); exit 1; }; };;
4145 ac_save_IFS
=$IFS; IFS
='-'
4151 # Remember, the first character of IFS is used to create $*,
4152 # except with old shells:
4155 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4158 { echo "$as_me:$LINENO: checking host system type" >&5
4159 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4160 if test "${ac_cv_host+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4163 if test "x$host_alias" = x
; then
4164 ac_cv_host
=$ac_cv_build
4166 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4167 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4168 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4169 { (exit 1); exit 1; }; }
4173 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4174 echo "${ECHO_T}$ac_cv_host" >&6; }
4177 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4178 echo "$as_me: error: invalid value of canonical host" >&2;}
4179 { (exit 1); exit 1; }; };;
4182 ac_save_IFS
=$IFS; IFS
='-'
4188 # Remember, the first character of IFS is used to create $*,
4189 # except with old shells:
4192 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4197 CPPFLAGS
="$CPPFLAGS -mno-cygwin"
4198 LDFLAGS
="$LDFLAGS -mno-cygwin"
4199 CPPFLAGS
="$CPPFLAGS -idirafter ${srcdir}/posix -idirafter ${srcdir}/os_win32"
4202 CPPFLAGS
="$CPPFLAGS -I/usr/src/sys"
4206 # AC_SEARCH_LIBS (FUNCTION, SEARCH-LIBS, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [OTHER-LIBRARIES])
4207 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
4208 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
4209 if test "${ac_cv_search_gethostbyname+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4212 ac_func_search_save_LIBS
=$LIBS
4213 cat >conftest.
$ac_ext <<_ACEOF
4216 cat confdefs.h
>>conftest.
$ac_ext
4217 cat >>conftest.
$ac_ext <<_ACEOF
4218 /* end confdefs.h. */
4220 /* Override any GCC internal prototype to avoid an error.
4221 Use char because int might match the return type of a GCC
4222 builtin and then its argument prototype would still apply. */
4226 char gethostbyname ();
4230 return gethostbyname ();
4235 for ac_lib
in '' nsl
; do
4236 if test -z "$ac_lib"; then
4237 ac_res
="none required"
4240 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4242 rm -f conftest.
$ac_objext conftest
$ac_exeext
4243 if { (ac_try
="$ac_link"
4245 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4249 (eval "$ac_link") 2>conftest.er1
4251 grep -v '^ *+' conftest.er1 >conftest.err
4253 cat conftest.err >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } &&
4256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4257 { (case "(($ac_try" in
4258 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4259 *) ac_try_echo
=$ac_try;;
4261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4262 (eval "$ac_try") 2>&5
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); }; } &&
4266 { ac_try
='test -s conftest$ac_exeext'
4267 { (case "(($ac_try" in
4268 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4272 (eval "$ac_try") 2>&5
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); }; }; then
4276 ac_cv_search_gethostbyname=$ac_res
4278 echo "$as_me: failed program was:" >&5
4279 sed 's/^/| /' conftest.$ac_ext >&5
4284 rm -f core conftest.err conftest.$ac_objext \
4286 if test "${ac_cv_search_gethostbyname+set}" = set; then
4290 if test "${ac_cv_search_gethostbyname+set}" = set; then
4293 ac_cv_search_gethostbyname=no
4296 LIBS=$ac_func_search_save_LIBS
4298 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4299 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
4300 ac_res=$ac_cv_search_gethostbyname
4301 if test "$ac_res" != no; then
4302 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4305 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
4306 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
4307 if test "${ac_cv_search_gethostbyname+set}" = set; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4310 ac_func_search_save_LIBS=$LIBS
4311 cat >conftest.$ac_ext <<_ACEOF
4314 cat confdefs.h >>conftest.$ac_ext
4315 cat >>conftest.$ac_ext <<_ACEOF
4316 /* end confdefs.h. */
4318 /* Override any GCC internal prototype to avoid an error.
4319 Use char because int might match the return type of a GCC
4320 builtin and then its argument prototype would still apply. */
4324 char gethostbyname ();
4328 return gethostbyname ();
4333 for ac_lib in '' nsl; do
4334 if test -z "$ac_lib"; then
4335 ac_res="none required"
4338 LIBS="-l$ac_lib -lsocket $ac_func_search_save_LIBS"
4341 rm -f conftest.$ac_objext conftest$ac_exeext
4342 if { (ac_try="$ac_link"
4344 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4345 *) ac_try_echo
=$ac_try;;
4347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4348 (eval "$ac_link") 2>conftest.er1
4350 grep -v '^ *+' conftest.er1
>conftest.err
4352 cat conftest.err
>&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); } &&
4355 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4356 { (case "(($ac_try" in
4357 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4358 *) ac_try_echo=$ac_try;;
4360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4361 (eval "$ac_try") 2>&5
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; } &&
4365 { ac_try='test -s conftest$ac_exeext'
4366 { (case "(($ac_try" in
4367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4368 *) ac_try_echo
=$ac_try;;
4370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4371 (eval "$ac_try") 2>&5
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 ac_cv_search_gethostbyname
=$ac_res
4377 echo "$as_me: failed program was:" >&5
4378 sed 's/^/| /' conftest.
$ac_ext >&5
4383 rm -f core conftest.err conftest.
$ac_objext \
4385 if test "${ac_cv_search_gethostbyname+set}" = set; then
4389 if test "${ac_cv_search_gethostbyname+set}" = set; then
4392 ac_cv_search_gethostbyname
=no
4395 LIBS
=$ac_func_search_save_LIBS
4397 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4398 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
4399 ac_res
=$ac_cv_search_gethostbyname
4400 if test "$ac_res" != no
; then
4401 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4409 ac_cpp
='$CXXCPP $CPPFLAGS'
4410 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4413 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4414 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4415 if test -z "$CXXCPP"; then
4416 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4419 # Double quotes because CXXCPP needs to be expanded
4420 for CXXCPP
in "$CXX -E" "/lib/cpp"
4423 for ac_cxx_preproc_warn_flag
in '' yes
4425 # Use a header file that comes with gcc, so configuring glibc
4426 # with a fresh cross-compiler works.
4427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4428 # <limits.h> exists even on freestanding compilers.
4429 # On the NeXT, cc -E runs the code through the compiler's parser,
4430 # not just through cpp. "Syntax error" is here to catch this case.
4431 cat >conftest.
$ac_ext <<_ACEOF
4434 cat confdefs.h
>>conftest.
$ac_ext
4435 cat >>conftest.
$ac_ext <<_ACEOF
4436 /* end confdefs.h. */
4438 # include <limits.h>
4440 # include <assert.h>
4444 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4446 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4452 grep -v '^ *+' conftest.er1 >conftest.err
4454 cat conftest.err >&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); } >/dev/null; then
4457 if test -s conftest.err; then
4458 ac_cpp_err=$ac_cxx_preproc_warn_flag
4459 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4466 if test -z "$ac_cpp_err"; then
4469 echo "$as_me: failed program was:" >&5
4470 sed 's/^/| /' conftest.$ac_ext >&5
4472 # Broken: fails on valid input.
4476 rm -f conftest.err conftest.$ac_ext
4478 # OK, works on sane cases. Now check whether nonexistent headers
4479 # can be detected and how.
4480 cat >conftest.$ac_ext <<_ACEOF
4483 cat confdefs.h >>conftest.$ac_ext
4484 cat >>conftest.$ac_ext <<_ACEOF
4485 /* end confdefs.h. */
4486 #include <ac_nonexistent.h>
4488 if { (ac_try="$ac_cpp conftest.$ac_ext"
4490 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4491 *) ac_try_echo
=$ac_try;;
4493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4496 grep -v '^ *+' conftest.er1
>conftest.err
4498 cat conftest.err
>&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } >/dev
/null
; then
4501 if test -s conftest.err
; then
4502 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4503 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4510 if test -z "$ac_cpp_err"; then
4511 # Broken: success on invalid input.
4514 echo "$as_me: failed program was:" >&5
4515 sed 's/^/| /' conftest.
$ac_ext >&5
4517 # Passes both tests.
4522 rm -f conftest.err conftest.
$ac_ext
4525 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4526 rm -f conftest.err conftest.
$ac_ext
4527 if $ac_preproc_ok; then
4532 ac_cv_prog_CXXCPP
=$CXXCPP
4535 CXXCPP
=$ac_cv_prog_CXXCPP
4537 ac_cv_prog_CXXCPP
=$CXXCPP
4539 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
4540 echo "${ECHO_T}$CXXCPP" >&6; }
4542 for ac_cxx_preproc_warn_flag
in '' yes
4544 # Use a header file that comes with gcc, so configuring glibc
4545 # with a fresh cross-compiler works.
4546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4547 # <limits.h> exists even on freestanding compilers.
4548 # On the NeXT, cc -E runs the code through the compiler's parser,
4549 # not just through cpp. "Syntax error" is here to catch this case.
4550 cat >conftest.
$ac_ext <<_ACEOF
4553 cat confdefs.h
>>conftest.
$ac_ext
4554 cat >>conftest.
$ac_ext <<_ACEOF
4555 /* end confdefs.h. */
4557 # include <limits.h>
4559 # include <assert.h>
4563 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4565 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4566 *) ac_try_echo=$ac_try;;
4568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4571 grep -v '^ *+' conftest.er1 >conftest.err
4573 cat conftest.err >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); } >/dev/null; then
4576 if test -s conftest.err; then
4577 ac_cpp_err=$ac_cxx_preproc_warn_flag
4578 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4585 if test -z "$ac_cpp_err"; then
4588 echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4591 # Broken: fails on valid input.
4595 rm -f conftest.err conftest.$ac_ext
4597 # OK, works on sane cases. Now check whether nonexistent headers
4598 # can be detected and how.
4599 cat >conftest.$ac_ext <<_ACEOF
4602 cat confdefs.h >>conftest.$ac_ext
4603 cat >>conftest.$ac_ext <<_ACEOF
4604 /* end confdefs.h. */
4605 #include <ac_nonexistent.h>
4607 if { (ac_try="$ac_cpp conftest.$ac_ext"
4609 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4610 *) ac_try_echo
=$ac_try;;
4612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4613 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4615 grep -v '^ *+' conftest.er1
>conftest.err
4617 cat conftest.err
>&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); } >/dev
/null
; then
4620 if test -s conftest.err
; then
4621 ac_cpp_err
=$ac_cxx_preproc_warn_flag
4622 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
4629 if test -z "$ac_cpp_err"; then
4630 # Broken: success on invalid input.
4633 echo "$as_me: failed program was:" >&5
4634 sed 's/^/| /' conftest.
$ac_ext >&5
4636 # Passes both tests.
4641 rm -f conftest.err conftest.
$ac_ext
4644 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4645 rm -f conftest.err conftest.
$ac_ext
4646 if $ac_preproc_ok; then
4649 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4650 See \`config.log' for more details." >&5
4651 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4652 See \`config.log' for more details." >&2;}
4653 { (exit 1); exit 1; }; }
4657 ac_cpp
='$CXXCPP $CPPFLAGS'
4658 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4663 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4664 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4665 if test "${ac_cv_path_GREP+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4668 # Extract the first word of "grep ggrep" to use in msg output
4669 if test -z "$GREP"; then
4670 set dummy
grep ggrep
; ac_prog_name
=$2
4671 if test "${ac_cv_path_GREP+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4674 ac_path_GREP_found
=false
4675 # Loop through the user's path and test for each of PROGNAME-LIST
4676 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4677 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4680 test -z "$as_dir" && as_dir
=.
4681 for ac_prog
in grep ggrep
; do
4682 for ac_exec_ext
in '' $ac_executable_extensions; do
4683 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4684 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } ||
continue
4685 # Check for GNU ac_path_GREP and select it if it is found.
4686 # Check for GNU $ac_path_GREP
4687 case `"$ac_path_GREP" --version 2>&1` in
4689 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4692 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4695 cat "conftest.in" "conftest.in" >"conftest.tmp"
4696 mv "conftest.tmp" "conftest.in"
4697 cp "conftest.in" "conftest.nl"
4698 echo 'GREP' >> "conftest.nl"
4699 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4700 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4701 ac_count
=`expr $ac_count + 1`
4702 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4703 # Best one so far, save it but keep looking for a better one
4704 ac_cv_path_GREP
="$ac_path_GREP"
4705 ac_path_GREP_max
=$ac_count
4707 # 10*(2^10) chars as input seems more than enough
4708 test $ac_count -gt 10 && break
4710 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4714 $ac_path_GREP_found && break 3
4724 GREP
="$ac_cv_path_GREP"
4725 if test -z "$GREP"; then
4726 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4727 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4728 { (exit 1); exit 1; }; }
4732 ac_cv_path_GREP
=$GREP
4737 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4738 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4739 GREP
="$ac_cv_path_GREP"
4742 { echo "$as_me:$LINENO: checking for egrep" >&5
4743 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4744 if test "${ac_cv_path_EGREP+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4747 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4748 then ac_cv_path_EGREP
="$GREP -E"
4750 # Extract the first word of "egrep" to use in msg output
4751 if test -z "$EGREP"; then
4752 set dummy
egrep; ac_prog_name
=$2
4753 if test "${ac_cv_path_EGREP+set}" = set; then
4754 echo $ECHO_N "(cached) $ECHO_C" >&6
4756 ac_path_EGREP_found
=false
4757 # Loop through the user's path and test for each of PROGNAME-LIST
4758 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4759 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4762 test -z "$as_dir" && as_dir
=.
4763 for ac_prog
in egrep; do
4764 for ac_exec_ext
in '' $ac_executable_extensions; do
4765 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4766 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } ||
continue
4767 # Check for GNU ac_path_EGREP and select it if it is found.
4768 # Check for GNU $ac_path_EGREP
4769 case `"$ac_path_EGREP" --version 2>&1` in
4771 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4774 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4777 cat "conftest.in" "conftest.in" >"conftest.tmp"
4778 mv "conftest.tmp" "conftest.in"
4779 cp "conftest.in" "conftest.nl"
4780 echo 'EGREP' >> "conftest.nl"
4781 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4782 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4783 ac_count
=`expr $ac_count + 1`
4784 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4785 # Best one so far, save it but keep looking for a better one
4786 ac_cv_path_EGREP
="$ac_path_EGREP"
4787 ac_path_EGREP_max
=$ac_count
4789 # 10*(2^10) chars as input seems more than enough
4790 test $ac_count -gt 10 && break
4792 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4796 $ac_path_EGREP_found && break 3
4806 EGREP
="$ac_cv_path_EGREP"
4807 if test -z "$EGREP"; then
4808 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4809 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4810 { (exit 1); exit 1; }; }
4814 ac_cv_path_EGREP
=$EGREP
4820 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4821 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4822 EGREP
="$ac_cv_path_EGREP"
4825 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4826 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4827 if test "${ac_cv_header_stdc+set}" = set; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4830 cat >conftest.
$ac_ext <<_ACEOF
4833 cat confdefs.h
>>conftest.
$ac_ext
4834 cat >>conftest.
$ac_ext <<_ACEOF
4835 /* end confdefs.h. */
4849 rm -f conftest.
$ac_objext
4850 if { (ac_try
="$ac_compile"
4852 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856 (eval "$ac_compile") 2>conftest.er1
4858 grep -v '^ *+' conftest.er1 >conftest.err
4860 cat conftest.err >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } &&
4863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4864 { (case "(($ac_try" in
4865 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4866 *) ac_try_echo
=$ac_try;;
4868 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4869 (eval "$ac_try") 2>&5
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); }; } &&
4873 { ac_try
='test -s conftest.$ac_objext'
4874 { (case "(($ac_try" in
4875 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4876 *) ac_try_echo=$ac_try;;
4878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4879 (eval "$ac_try") 2>&5
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }; }; then
4883 ac_cv_header_stdc=yes
4885 echo "$as_me: failed program was:" >&5
4886 sed 's/^/| /' conftest.$ac_ext >&5
4888 ac_cv_header_stdc=no
4891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4893 if test $ac_cv_header_stdc = yes; then
4894 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4895 cat >conftest.$ac_ext <<_ACEOF
4898 cat confdefs.h >>conftest.$ac_ext
4899 cat >>conftest.$ac_ext <<_ACEOF
4900 /* end confdefs.h. */
4904 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4905 $EGREP "memchr" >/dev/null 2>&1; then
4908 ac_cv_header_stdc=no
4914 if test $ac_cv_header_stdc = yes; then
4915 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4916 cat >conftest.$ac_ext <<_ACEOF
4919 cat confdefs.h >>conftest.$ac_ext
4920 cat >>conftest.$ac_ext <<_ACEOF
4921 /* end confdefs.h. */
4925 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4926 $EGREP "free" >/dev/null 2>&1; then
4929 ac_cv_header_stdc=no
4935 if test $ac_cv_header_stdc = yes; then
4936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4937 if test "$cross_compiling" = yes; then
4940 cat >conftest.$ac_ext <<_ACEOF
4943 cat confdefs.h >>conftest.$ac_ext
4944 cat >>conftest.$ac_ext <<_ACEOF
4945 /* end confdefs.h. */
4948 #if ((' ' & 0x0FF) == 0x020)
4949 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4950 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4952 # define ISLOWER(c) \
4953 (('a' <= (c) && (c) <= 'i') \
4954 || ('j' <= (c) && (c) <= 'r') \
4955 || ('s' <= (c) && (c) <= 'z'))
4956 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4959 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4964 for (i = 0; i < 256; i++)
4965 if (XOR (islower (i), ISLOWER (i))
4966 || toupper (i) != TOUPPER (i))
4971 rm -f conftest$ac_exeext
4972 if { (ac_try="$ac_link"
4974 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4975 *) ac_try_echo
=$ac_try;;
4977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_link") 2>&5
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4982 { (case "(($ac_try" in
4983 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4984 *) ac_try_echo=$ac_try;;
4986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987 (eval "$ac_try") 2>&5
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; }; then
4993 echo "$as_me: program exited with status $ac_status" >&5
4994 echo "$as_me: failed program was:" >&5
4995 sed 's/^/| /' conftest.$ac_ext >&5
4998 ac_cv_header_stdc=no
5000 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5006 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5007 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5008 if test $ac_cv_header_stdc = yes; then
5010 cat >>confdefs.h <<\_ACEOF
5011 #define STDC_HEADERS 1
5016 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5026 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5027 inttypes.h stdint.h unistd.h
5029 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
5030 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5031 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5032 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5035 cat >conftest.$ac_ext <<_ACEOF
5038 cat confdefs.h >>conftest.$ac_ext
5039 cat >>conftest.$ac_ext <<_ACEOF
5040 /* end confdefs.h. */
5041 $ac_includes_default
5043 #include <$ac_header>
5045 rm -f conftest.$ac_objext
5046 if { (ac_try="$ac_compile"
5048 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5049 *) ac_try_echo
=$ac_try;;
5051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5052 (eval "$ac_compile") 2>conftest.er1
5054 grep -v '^ *+' conftest.er1
>conftest.err
5056 cat conftest.err
>&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } &&
5059 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5060 { (case "(($ac_try" in
5061 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5062 *) ac_try_echo=$ac_try;;
5064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5065 (eval "$ac_try") 2>&5
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); }; } &&
5069 { ac_try='test -s conftest.$ac_objext'
5070 { (case "(($ac_try" in
5071 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5072 *) ac_try_echo
=$ac_try;;
5074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_try") 2>&5
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; }; then
5079 eval "$as_ac_Header=yes"
5081 echo "$as_me: failed program was:" >&5
5082 sed 's/^/| /' conftest.
$ac_ext >&5
5084 eval "$as_ac_Header=no"
5087 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5089 ac_res
=`eval echo '${'$as_ac_Header'}'`
5090 { echo "$as_me:$LINENO: result: $ac_res" >&5
5091 echo "${ECHO_T}$ac_res" >&6; }
5092 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5093 cat >>confdefs.h
<<_ACEOF
5094 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5103 for ac_header
in locale.h
5105 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5106 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5108 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5109 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5110 echo $ECHO_N "(cached) $ECHO_C" >&6
5112 ac_res
=`eval echo '${'$as_ac_Header'}'`
5113 { echo "$as_me:$LINENO: result: $ac_res" >&5
5114 echo "${ECHO_T}$ac_res" >&6; }
5116 # Is the header compilable?
5117 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5118 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5119 cat >conftest.
$ac_ext <<_ACEOF
5122 cat confdefs.h
>>conftest.
$ac_ext
5123 cat >>conftest.
$ac_ext <<_ACEOF
5124 /* end confdefs.h. */
5125 $ac_includes_default
5126 #include <$ac_header>
5128 rm -f conftest.
$ac_objext
5129 if { (ac_try
="$ac_compile"
5131 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5132 *) ac_try_echo=$ac_try;;
5134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5135 (eval "$ac_compile") 2>conftest.er1
5137 grep -v '^ *+' conftest.er1 >conftest.err
5139 cat conftest.err >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); } &&
5142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5143 { (case "(($ac_try" in
5144 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5145 *) ac_try_echo
=$ac_try;;
5147 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5148 (eval "$ac_try") 2>&5
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); }; } &&
5152 { ac_try
='test -s conftest.$ac_objext'
5153 { (case "(($ac_try" in
5154 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5155 *) ac_try_echo=$ac_try;;
5157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5158 (eval "$ac_try") 2>&5
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); }; }; then
5162 ac_header_compiler=yes
5164 echo "$as_me: failed program was:" >&5
5165 sed 's/^/| /' conftest.$ac_ext >&5
5167 ac_header_compiler=no
5170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5171 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5172 echo "${ECHO_T}$ac_header_compiler" >&6; }
5174 # Is the header present?
5175 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5176 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5177 cat >conftest.$ac_ext <<_ACEOF
5180 cat confdefs.h >>conftest.$ac_ext
5181 cat >>conftest.$ac_ext <<_ACEOF
5182 /* end confdefs.h. */
5183 #include <$ac_header>
5185 if { (ac_try="$ac_cpp conftest.$ac_ext"
5187 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5188 *) ac_try_echo
=$ac_try;;
5190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5193 grep -v '^ *+' conftest.er1
>conftest.err
5195 cat conftest.err
>&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); } >/dev
/null
; then
5198 if test -s conftest.err
; then
5199 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5200 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5207 if test -z "$ac_cpp_err"; then
5208 ac_header_preproc
=yes
5210 echo "$as_me: failed program was:" >&5
5211 sed 's/^/| /' conftest.
$ac_ext >&5
5213 ac_header_preproc
=no
5216 rm -f conftest.err conftest.
$ac_ext
5217 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5218 echo "${ECHO_T}$ac_header_preproc" >&6; }
5220 # So? What about this header?
5221 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5224 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5226 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5227 ac_header_preproc
=yes
5230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5231 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5233 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5235 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5237 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5239 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5241 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5243 ## ---------------------------------------------------------- ##
5244 ## Report this to smartmontools-support@lists.sourceforge.net ##
5245 ## ---------------------------------------------------------- ##
5247 ) |
sed "s/^/$as_me: WARNING: /" >&2
5250 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5251 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5252 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5255 eval "$as_ac_Header=\$ac_header_preproc"
5257 ac_res
=`eval echo '${'$as_ac_Header'}'`
5258 { echo "$as_me:$LINENO: result: $ac_res" >&5
5259 echo "${ECHO_T}$ac_res" >&6; }
5262 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5263 cat >>confdefs.h
<<_ACEOF
5264 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5272 for ac_header
in getopt.h
5274 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5275 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5277 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5278 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5281 ac_res
=`eval echo '${'$as_ac_Header'}'`
5282 { echo "$as_me:$LINENO: result: $ac_res" >&5
5283 echo "${ECHO_T}$ac_res" >&6; }
5285 # Is the header compilable?
5286 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5287 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5288 cat >conftest.
$ac_ext <<_ACEOF
5291 cat confdefs.h
>>conftest.
$ac_ext
5292 cat >>conftest.
$ac_ext <<_ACEOF
5293 /* end confdefs.h. */
5294 $ac_includes_default
5295 #include <$ac_header>
5297 rm -f conftest.
$ac_objext
5298 if { (ac_try
="$ac_compile"
5300 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5303 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5304 (eval "$ac_compile") 2>conftest.er1
5306 grep -v '^ *+' conftest.er1 >conftest.err
5308 cat conftest.err >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } &&
5311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5312 { (case "(($ac_try" in
5313 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5314 *) ac_try_echo
=$ac_try;;
5316 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5317 (eval "$ac_try") 2>&5
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; } &&
5321 { ac_try
='test -s conftest.$ac_objext'
5322 { (case "(($ac_try" in
5323 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5324 *) ac_try_echo=$ac_try;;
5326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5327 (eval "$ac_try") 2>&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); }; }; then
5331 ac_header_compiler=yes
5333 echo "$as_me: failed program was:" >&5
5334 sed 's/^/| /' conftest.$ac_ext >&5
5336 ac_header_compiler=no
5339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5340 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5341 echo "${ECHO_T}$ac_header_compiler" >&6; }
5343 # Is the header present?
5344 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5345 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5346 cat >conftest.$ac_ext <<_ACEOF
5349 cat confdefs.h >>conftest.$ac_ext
5350 cat >>conftest.$ac_ext <<_ACEOF
5351 /* end confdefs.h. */
5352 #include <$ac_header>
5354 if { (ac_try="$ac_cpp conftest.$ac_ext"
5356 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5357 *) ac_try_echo
=$ac_try;;
5359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5362 grep -v '^ *+' conftest.er1
>conftest.err
5364 cat conftest.err
>&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); } >/dev
/null
; then
5367 if test -s conftest.err
; then
5368 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5369 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5376 if test -z "$ac_cpp_err"; then
5377 ac_header_preproc
=yes
5379 echo "$as_me: failed program was:" >&5
5380 sed 's/^/| /' conftest.
$ac_ext >&5
5382 ac_header_preproc
=no
5385 rm -f conftest.err conftest.
$ac_ext
5386 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5387 echo "${ECHO_T}$ac_header_preproc" >&6; }
5389 # So? What about this header?
5390 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5393 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5395 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5396 ac_header_preproc
=yes
5399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5400 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5402 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5403 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5404 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5405 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5406 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5408 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5410 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5412 ## ---------------------------------------------------------- ##
5413 ## Report this to smartmontools-support@lists.sourceforge.net ##
5414 ## ---------------------------------------------------------- ##
5416 ) |
sed "s/^/$as_me: WARNING: /" >&2
5419 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5420 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5421 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5422 echo $ECHO_N "(cached) $ECHO_C" >&6
5424 eval "$as_ac_Header=\$ac_header_preproc"
5426 ac_res
=`eval echo '${'$as_ac_Header'}'`
5427 { echo "$as_me:$LINENO: result: $ac_res" >&5
5428 echo "${ECHO_T}$ac_res" >&6; }
5431 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5432 cat >>confdefs.h
<<_ACEOF
5433 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5441 for ac_header
in dev
/ata
/atavar.h
5443 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5444 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5445 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5446 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5447 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5450 ac_res
=`eval echo '${'$as_ac_Header'}'`
5451 { echo "$as_me:$LINENO: result: $ac_res" >&5
5452 echo "${ECHO_T}$ac_res" >&6; }
5454 # Is the header compilable?
5455 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5456 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5457 cat >conftest.
$ac_ext <<_ACEOF
5460 cat confdefs.h
>>conftest.
$ac_ext
5461 cat >>conftest.
$ac_ext <<_ACEOF
5462 /* end confdefs.h. */
5463 $ac_includes_default
5464 #include <$ac_header>
5466 rm -f conftest.
$ac_objext
5467 if { (ac_try
="$ac_compile"
5469 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5470 *) ac_try_echo=$ac_try;;
5472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5473 (eval "$ac_compile") 2>conftest.er1
5475 grep -v '^ *+' conftest.er1 >conftest.err
5477 cat conftest.err >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5481 { (case "(($ac_try" in
5482 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5483 *) ac_try_echo
=$ac_try;;
5485 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5486 (eval "$ac_try") 2>&5
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); }; } &&
5490 { ac_try
='test -s conftest.$ac_objext'
5491 { (case "(($ac_try" in
5492 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5493 *) ac_try_echo=$ac_try;;
5495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5496 (eval "$ac_try") 2>&5
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); }; }; then
5500 ac_header_compiler=yes
5502 echo "$as_me: failed program was:" >&5
5503 sed 's/^/| /' conftest.$ac_ext >&5
5505 ac_header_compiler=no
5508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5510 echo "${ECHO_T}$ac_header_compiler" >&6; }
5512 # Is the header present?
5513 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5514 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5515 cat >conftest.$ac_ext <<_ACEOF
5518 cat confdefs.h >>conftest.$ac_ext
5519 cat >>conftest.$ac_ext <<_ACEOF
5520 /* end confdefs.h. */
5521 #include <$ac_header>
5523 if { (ac_try="$ac_cpp conftest.$ac_ext"
5525 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5526 *) ac_try_echo
=$ac_try;;
5528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5529 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5531 grep -v '^ *+' conftest.er1
>conftest.err
5533 cat conftest.err
>&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); } >/dev
/null
; then
5536 if test -s conftest.err
; then
5537 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5538 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5545 if test -z "$ac_cpp_err"; then
5546 ac_header_preproc
=yes
5548 echo "$as_me: failed program was:" >&5
5549 sed 's/^/| /' conftest.
$ac_ext >&5
5551 ac_header_preproc
=no
5554 rm -f conftest.err conftest.
$ac_ext
5555 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5556 echo "${ECHO_T}$ac_header_preproc" >&6; }
5558 # So? What about this header?
5559 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5562 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5564 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5565 ac_header_preproc
=yes
5568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5569 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5571 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5573 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5575 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5577 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5579 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5581 ## ---------------------------------------------------------- ##
5582 ## Report this to smartmontools-support@lists.sourceforge.net ##
5583 ## ---------------------------------------------------------- ##
5585 ) |
sed "s/^/$as_me: WARNING: /" >&2
5588 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5589 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5590 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5593 eval "$as_ac_Header=\$ac_header_preproc"
5595 ac_res
=`eval echo '${'$as_ac_Header'}'`
5596 { echo "$as_me:$LINENO: result: $ac_res" >&5
5597 echo "${ECHO_T}$ac_res" >&6; }
5600 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5601 cat >>confdefs.h
<<_ACEOF
5602 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5610 for ac_header
in netdb.h
5612 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5613 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5615 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5616 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5619 ac_res
=`eval echo '${'$as_ac_Header'}'`
5620 { echo "$as_me:$LINENO: result: $ac_res" >&5
5621 echo "${ECHO_T}$ac_res" >&6; }
5623 # Is the header compilable?
5624 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5625 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5626 cat >conftest.
$ac_ext <<_ACEOF
5629 cat confdefs.h
>>conftest.
$ac_ext
5630 cat >>conftest.
$ac_ext <<_ACEOF
5631 /* end confdefs.h. */
5632 $ac_includes_default
5633 #include <$ac_header>
5635 rm -f conftest.
$ac_objext
5636 if { (ac_try
="$ac_compile"
5638 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5639 *) ac_try_echo=$ac_try;;
5641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5642 (eval "$ac_compile") 2>conftest.er1
5644 grep -v '^ *+' conftest.er1 >conftest.err
5646 cat conftest.err >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } &&
5649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5650 { (case "(($ac_try" in
5651 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5652 *) ac_try_echo
=$ac_try;;
5654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5655 (eval "$ac_try") 2>&5
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; } &&
5659 { ac_try
='test -s conftest.$ac_objext'
5660 { (case "(($ac_try" in
5661 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5662 *) ac_try_echo=$ac_try;;
5664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5665 (eval "$ac_try") 2>&5
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); }; }; then
5669 ac_header_compiler=yes
5671 echo "$as_me: failed program was:" >&5
5672 sed 's/^/| /' conftest.$ac_ext >&5
5674 ac_header_compiler=no
5677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5679 echo "${ECHO_T}$ac_header_compiler" >&6; }
5681 # Is the header present?
5682 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5683 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5684 cat >conftest.$ac_ext <<_ACEOF
5687 cat confdefs.h >>conftest.$ac_ext
5688 cat >>conftest.$ac_ext <<_ACEOF
5689 /* end confdefs.h. */
5690 #include <$ac_header>
5692 if { (ac_try="$ac_cpp conftest.$ac_ext"
5694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5695 *) ac_try_echo
=$ac_try;;
5697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5700 grep -v '^ *+' conftest.er1
>conftest.err
5702 cat conftest.err
>&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } >/dev
/null
; then
5705 if test -s conftest.err
; then
5706 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5707 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5714 if test -z "$ac_cpp_err"; then
5715 ac_header_preproc
=yes
5717 echo "$as_me: failed program was:" >&5
5718 sed 's/^/| /' conftest.
$ac_ext >&5
5720 ac_header_preproc
=no
5723 rm -f conftest.err conftest.
$ac_ext
5724 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5725 echo "${ECHO_T}$ac_header_preproc" >&6; }
5727 # So? What about this header?
5728 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5731 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5733 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5734 ac_header_preproc
=yes
5737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5738 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5740 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5742 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5744 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5746 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5748 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5750 ## ---------------------------------------------------------- ##
5751 ## Report this to smartmontools-support@lists.sourceforge.net ##
5752 ## ---------------------------------------------------------- ##
5754 ) |
sed "s/^/$as_me: WARNING: /" >&2
5757 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5758 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5759 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5760 echo $ECHO_N "(cached) $ECHO_C" >&6
5762 eval "$as_ac_Header=\$ac_header_preproc"
5764 ac_res
=`eval echo '${'$as_ac_Header'}'`
5765 { echo "$as_me:$LINENO: result: $ac_res" >&5
5766 echo "${ECHO_T}$ac_res" >&6; }
5769 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5770 cat >>confdefs.h
<<_ACEOF
5771 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5779 for ac_header
in inttypes.h
5781 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5782 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5784 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5785 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5788 ac_res
=`eval echo '${'$as_ac_Header'}'`
5789 { echo "$as_me:$LINENO: result: $ac_res" >&5
5790 echo "${ECHO_T}$ac_res" >&6; }
5792 # Is the header compilable?
5793 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5794 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5795 cat >conftest.
$ac_ext <<_ACEOF
5798 cat confdefs.h
>>conftest.
$ac_ext
5799 cat >>conftest.
$ac_ext <<_ACEOF
5800 /* end confdefs.h. */
5801 $ac_includes_default
5802 #include <$ac_header>
5804 rm -f conftest.
$ac_objext
5805 if { (ac_try
="$ac_compile"
5807 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5808 *) ac_try_echo=$ac_try;;
5810 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5811 (eval "$ac_compile") 2>conftest.er1
5813 grep -v '^ *+' conftest.er1 >conftest.err
5815 cat conftest.err >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); } &&
5818 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5819 { (case "(($ac_try" in
5820 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5821 *) ac_try_echo
=$ac_try;;
5823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5824 (eval "$ac_try") 2>&5
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); }; } &&
5828 { ac_try
='test -s conftest.$ac_objext'
5829 { (case "(($ac_try" in
5830 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834 (eval "$ac_try") 2>&5
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); }; }; then
5838 ac_header_compiler=yes
5840 echo "$as_me: failed program was:" >&5
5841 sed 's/^/| /' conftest.$ac_ext >&5
5843 ac_header_compiler=no
5846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5847 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5848 echo "${ECHO_T}$ac_header_compiler" >&6; }
5850 # Is the header present?
5851 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5852 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5853 cat >conftest.$ac_ext <<_ACEOF
5856 cat confdefs.h >>conftest.$ac_ext
5857 cat >>conftest.$ac_ext <<_ACEOF
5858 /* end confdefs.h. */
5859 #include <$ac_header>
5861 if { (ac_try="$ac_cpp conftest.$ac_ext"
5863 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5864 *) ac_try_echo
=$ac_try;;
5866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5869 grep -v '^ *+' conftest.er1
>conftest.err
5871 cat conftest.err
>&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); } >/dev
/null
; then
5874 if test -s conftest.err
; then
5875 ac_cpp_err
=$ac_cxx_preproc_warn_flag
5876 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
5883 if test -z "$ac_cpp_err"; then
5884 ac_header_preproc
=yes
5886 echo "$as_me: failed program was:" >&5
5887 sed 's/^/| /' conftest.
$ac_ext >&5
5889 ac_header_preproc
=no
5892 rm -f conftest.err conftest.
$ac_ext
5893 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5894 echo "${ECHO_T}$ac_header_preproc" >&6; }
5896 # So? What about this header?
5897 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5900 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5902 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5903 ac_header_preproc
=yes
5906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5907 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5909 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5911 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5913 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5915 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5917 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5919 ## ---------------------------------------------------------- ##
5920 ## Report this to smartmontools-support@lists.sourceforge.net ##
5921 ## ---------------------------------------------------------- ##
5923 ) |
sed "s/^/$as_me: WARNING: /" >&2
5926 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5927 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5928 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5931 eval "$as_ac_Header=\$ac_header_preproc"
5933 ac_res
=`eval echo '${'$as_ac_Header'}'`
5934 { echo "$as_me:$LINENO: result: $ac_res" >&5
5935 echo "${ECHO_T}$ac_res" >&6; }
5938 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5939 cat >>confdefs.h
<<_ACEOF
5940 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5947 for ac_header
in stdint.h
5949 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5950 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5952 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5953 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5956 ac_res
=`eval echo '${'$as_ac_Header'}'`
5957 { echo "$as_me:$LINENO: result: $ac_res" >&5
5958 echo "${ECHO_T}$ac_res" >&6; }
5960 # Is the header compilable?
5961 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5962 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5963 cat >conftest.
$ac_ext <<_ACEOF
5966 cat confdefs.h
>>conftest.
$ac_ext
5967 cat >>conftest.
$ac_ext <<_ACEOF
5968 /* end confdefs.h. */
5969 $ac_includes_default
5970 #include <$ac_header>
5972 rm -f conftest.
$ac_objext
5973 if { (ac_try
="$ac_compile"
5975 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5976 *) ac_try_echo=$ac_try;;
5978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5979 (eval "$ac_compile") 2>conftest.er1
5981 grep -v '^ *+' conftest.er1 >conftest.err
5983 cat conftest.err >&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); } &&
5986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5987 { (case "(($ac_try" in
5988 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5989 *) ac_try_echo
=$ac_try;;
5991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5992 (eval "$ac_try") 2>&5
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; } &&
5996 { ac_try
='test -s conftest.$ac_objext'
5997 { (case "(($ac_try" in
5998 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5999 *) ac_try_echo=$ac_try;;
6001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6002 (eval "$ac_try") 2>&5
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; }; then
6006 ac_header_compiler=yes
6008 echo "$as_me: failed program was:" >&5
6009 sed 's/^/| /' conftest.$ac_ext >&5
6011 ac_header_compiler=no
6014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6015 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6016 echo "${ECHO_T}$ac_header_compiler" >&6; }
6018 # Is the header present?
6019 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6020 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6021 cat >conftest.$ac_ext <<_ACEOF
6024 cat confdefs.h >>conftest.$ac_ext
6025 cat >>conftest.$ac_ext <<_ACEOF
6026 /* end confdefs.h. */
6027 #include <$ac_header>
6029 if { (ac_try="$ac_cpp conftest.$ac_ext"
6031 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6032 *) ac_try_echo
=$ac_try;;
6034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6037 grep -v '^ *+' conftest.er1
>conftest.err
6039 cat conftest.err
>&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); } >/dev
/null
; then
6042 if test -s conftest.err
; then
6043 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6044 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6051 if test -z "$ac_cpp_err"; then
6052 ac_header_preproc
=yes
6054 echo "$as_me: failed program was:" >&5
6055 sed 's/^/| /' conftest.
$ac_ext >&5
6057 ac_header_preproc
=no
6060 rm -f conftest.err conftest.
$ac_ext
6061 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6062 echo "${ECHO_T}$ac_header_preproc" >&6; }
6064 # So? What about this header?
6065 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6068 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6070 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6071 ac_header_preproc
=yes
6074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6075 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6077 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6079 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6081 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6083 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6085 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6087 ## ---------------------------------------------------------- ##
6088 ## Report this to smartmontools-support@lists.sourceforge.net ##
6089 ## ---------------------------------------------------------- ##
6091 ) |
sed "s/^/$as_me: WARNING: /" >&2
6094 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6095 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6096 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6099 eval "$as_ac_Header=\$ac_header_preproc"
6101 ac_res
=`eval echo '${'$as_ac_Header'}'`
6102 { echo "$as_me:$LINENO: result: $ac_res" >&5
6103 echo "${ECHO_T}$ac_res" >&6; }
6106 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6107 cat >>confdefs.h
<<_ACEOF
6108 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6115 for ac_header
in sys
/inttypes.h
6117 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6118 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6119 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6120 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6121 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6124 ac_res
=`eval echo '${'$as_ac_Header'}'`
6125 { echo "$as_me:$LINENO: result: $ac_res" >&5
6126 echo "${ECHO_T}$ac_res" >&6; }
6128 # Is the header compilable?
6129 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6130 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6131 cat >conftest.
$ac_ext <<_ACEOF
6134 cat confdefs.h
>>conftest.
$ac_ext
6135 cat >>conftest.
$ac_ext <<_ACEOF
6136 /* end confdefs.h. */
6137 $ac_includes_default
6138 #include <$ac_header>
6140 rm -f conftest.
$ac_objext
6141 if { (ac_try
="$ac_compile"
6143 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6144 *) ac_try_echo=$ac_try;;
6146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6147 (eval "$ac_compile") 2>conftest.er1
6149 grep -v '^ *+' conftest.er1 >conftest.err
6151 cat conftest.err >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } &&
6154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6155 { (case "(($ac_try" in
6156 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6157 *) ac_try_echo
=$ac_try;;
6159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6160 (eval "$ac_try") 2>&5
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; } &&
6164 { ac_try
='test -s conftest.$ac_objext'
6165 { (case "(($ac_try" in
6166 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6167 *) ac_try_echo=$ac_try;;
6169 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6170 (eval "$ac_try") 2>&5
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; }; then
6174 ac_header_compiler=yes
6176 echo "$as_me: failed program was:" >&5
6177 sed 's/^/| /' conftest.$ac_ext >&5
6179 ac_header_compiler=no
6182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6183 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6184 echo "${ECHO_T}$ac_header_compiler" >&6; }
6186 # Is the header present?
6187 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6188 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6189 cat >conftest.$ac_ext <<_ACEOF
6192 cat confdefs.h >>conftest.$ac_ext
6193 cat >>conftest.$ac_ext <<_ACEOF
6194 /* end confdefs.h. */
6195 #include <$ac_header>
6197 if { (ac_try="$ac_cpp conftest.$ac_ext"
6199 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6200 *) ac_try_echo
=$ac_try;;
6202 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6203 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6205 grep -v '^ *+' conftest.er1
>conftest.err
6207 cat conftest.err
>&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } >/dev
/null
; then
6210 if test -s conftest.err
; then
6211 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6212 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6219 if test -z "$ac_cpp_err"; then
6220 ac_header_preproc
=yes
6222 echo "$as_me: failed program was:" >&5
6223 sed 's/^/| /' conftest.
$ac_ext >&5
6225 ac_header_preproc
=no
6228 rm -f conftest.err conftest.
$ac_ext
6229 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6230 echo "${ECHO_T}$ac_header_preproc" >&6; }
6232 # So? What about this header?
6233 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6236 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6238 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6239 ac_header_preproc
=yes
6242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6243 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6245 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6247 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6249 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6251 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6253 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6255 ## ---------------------------------------------------------- ##
6256 ## Report this to smartmontools-support@lists.sourceforge.net ##
6257 ## ---------------------------------------------------------- ##
6259 ) |
sed "s/^/$as_me: WARNING: /" >&2
6262 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6263 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6264 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
6267 eval "$as_ac_Header=\$ac_header_preproc"
6269 ac_res
=`eval echo '${'$as_ac_Header'}'`
6270 { echo "$as_me:$LINENO: result: $ac_res" >&5
6271 echo "${ECHO_T}$ac_res" >&6; }
6274 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6275 cat >>confdefs.h
<<_ACEOF
6276 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6283 for ac_header
in sys
/int_types.h
6285 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6286 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6288 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6289 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6290 echo $ECHO_N "(cached) $ECHO_C" >&6
6292 ac_res
=`eval echo '${'$as_ac_Header'}'`
6293 { echo "$as_me:$LINENO: result: $ac_res" >&5
6294 echo "${ECHO_T}$ac_res" >&6; }
6296 # Is the header compilable?
6297 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6298 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6299 cat >conftest.
$ac_ext <<_ACEOF
6302 cat confdefs.h
>>conftest.
$ac_ext
6303 cat >>conftest.
$ac_ext <<_ACEOF
6304 /* end confdefs.h. */
6305 $ac_includes_default
6306 #include <$ac_header>
6308 rm -f conftest.
$ac_objext
6309 if { (ac_try
="$ac_compile"
6311 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6312 *) ac_try_echo=$ac_try;;
6314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6315 (eval "$ac_compile") 2>conftest.er1
6317 grep -v '^ *+' conftest.er1 >conftest.err
6319 cat conftest.err >&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); } &&
6322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6323 { (case "(($ac_try" in
6324 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6325 *) ac_try_echo
=$ac_try;;
6327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6328 (eval "$ac_try") 2>&5
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); }; } &&
6332 { ac_try
='test -s conftest.$ac_objext'
6333 { (case "(($ac_try" in
6334 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6335 *) ac_try_echo=$ac_try;;
6337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6338 (eval "$ac_try") 2>&5
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); }; }; then
6342 ac_header_compiler=yes
6344 echo "$as_me: failed program was:" >&5
6345 sed 's/^/| /' conftest.$ac_ext >&5
6347 ac_header_compiler=no
6350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6351 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6352 echo "${ECHO_T}$ac_header_compiler" >&6; }
6354 # Is the header present?
6355 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6356 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6357 cat >conftest.$ac_ext <<_ACEOF
6360 cat confdefs.h >>conftest.$ac_ext
6361 cat >>conftest.$ac_ext <<_ACEOF
6362 /* end confdefs.h. */
6363 #include <$ac_header>
6365 if { (ac_try="$ac_cpp conftest.$ac_ext"
6367 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6368 *) ac_try_echo
=$ac_try;;
6370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6373 grep -v '^ *+' conftest.er1
>conftest.err
6375 cat conftest.err
>&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); } >/dev
/null
; then
6378 if test -s conftest.err
; then
6379 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6380 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6387 if test -z "$ac_cpp_err"; then
6388 ac_header_preproc
=yes
6390 echo "$as_me: failed program was:" >&5
6391 sed 's/^/| /' conftest.
$ac_ext >&5
6393 ac_header_preproc
=no
6396 rm -f conftest.err conftest.
$ac_ext
6397 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6398 echo "${ECHO_T}$ac_header_preproc" >&6; }
6400 # So? What about this header?
6401 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6404 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6406 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6407 ac_header_preproc
=yes
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6411 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6413 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6415 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6417 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6419 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6420 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6421 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6423 ## ---------------------------------------------------------- ##
6424 ## Report this to smartmontools-support@lists.sourceforge.net ##
6425 ## ---------------------------------------------------------- ##
6427 ) |
sed "s/^/$as_me: WARNING: /" >&2
6430 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6431 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6432 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6435 eval "$as_ac_Header=\$ac_header_preproc"
6437 ac_res
=`eval echo '${'$as_ac_Header'}'`
6438 { echo "$as_me:$LINENO: result: $ac_res" >&5
6439 echo "${ECHO_T}$ac_res" >&6; }
6442 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6443 cat >>confdefs.h
<<_ACEOF
6444 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6451 for ac_header
in sys
/tweio.h
6453 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6454 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6456 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6457 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6460 ac_res
=`eval echo '${'$as_ac_Header'}'`
6461 { echo "$as_me:$LINENO: result: $ac_res" >&5
6462 echo "${ECHO_T}$ac_res" >&6; }
6464 # Is the header compilable?
6465 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6466 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6467 cat >conftest.
$ac_ext <<_ACEOF
6470 cat confdefs.h
>>conftest.
$ac_ext
6471 cat >>conftest.
$ac_ext <<_ACEOF
6472 /* end confdefs.h. */
6473 $ac_includes_default
6474 #include <$ac_header>
6476 rm -f conftest.
$ac_objext
6477 if { (ac_try
="$ac_compile"
6479 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6480 *) ac_try_echo=$ac_try;;
6482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6483 (eval "$ac_compile") 2>conftest.er1
6485 grep -v '^ *+' conftest.er1 >conftest.err
6487 cat conftest.err >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } &&
6490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6491 { (case "(($ac_try" in
6492 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6493 *) ac_try_echo
=$ac_try;;
6495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6496 (eval "$ac_try") 2>&5
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); }; } &&
6500 { ac_try
='test -s conftest.$ac_objext'
6501 { (case "(($ac_try" in
6502 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6503 *) ac_try_echo=$ac_try;;
6505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6506 (eval "$ac_try") 2>&5
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); }; }; then
6510 ac_header_compiler=yes
6512 echo "$as_me: failed program was:" >&5
6513 sed 's/^/| /' conftest.$ac_ext >&5
6515 ac_header_compiler=no
6518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6519 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6520 echo "${ECHO_T}$ac_header_compiler" >&6; }
6522 # Is the header present?
6523 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6524 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6525 cat >conftest.$ac_ext <<_ACEOF
6528 cat confdefs.h >>conftest.$ac_ext
6529 cat >>conftest.$ac_ext <<_ACEOF
6530 /* end confdefs.h. */
6531 #include <$ac_header>
6533 if { (ac_try="$ac_cpp conftest.$ac_ext"
6535 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6536 *) ac_try_echo
=$ac_try;;
6538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6541 grep -v '^ *+' conftest.er1
>conftest.err
6543 cat conftest.err
>&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } >/dev
/null
; then
6546 if test -s conftest.err
; then
6547 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6548 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6555 if test -z "$ac_cpp_err"; then
6556 ac_header_preproc
=yes
6558 echo "$as_me: failed program was:" >&5
6559 sed 's/^/| /' conftest.
$ac_ext >&5
6561 ac_header_preproc
=no
6564 rm -f conftest.err conftest.
$ac_ext
6565 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6566 echo "${ECHO_T}$ac_header_preproc" >&6; }
6568 # So? What about this header?
6569 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6572 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6574 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6575 ac_header_preproc
=yes
6578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6579 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6581 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6583 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6585 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6587 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6589 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6591 ## ---------------------------------------------------------- ##
6592 ## Report this to smartmontools-support@lists.sourceforge.net ##
6593 ## ---------------------------------------------------------- ##
6595 ) |
sed "s/^/$as_me: WARNING: /" >&2
6598 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6599 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6600 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6603 eval "$as_ac_Header=\$ac_header_preproc"
6605 ac_res
=`eval echo '${'$as_ac_Header'}'`
6606 { echo "$as_me:$LINENO: result: $ac_res" >&5
6607 echo "${ECHO_T}$ac_res" >&6; }
6610 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6611 cat >>confdefs.h
<<_ACEOF
6612 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6620 for ac_header
in sys
/twereg.h
6622 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6623 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6625 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6626 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6629 ac_res
=`eval echo '${'$as_ac_Header'}'`
6630 { echo "$as_me:$LINENO: result: $ac_res" >&5
6631 echo "${ECHO_T}$ac_res" >&6; }
6633 # Is the header compilable?
6634 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6635 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6636 cat >conftest.
$ac_ext <<_ACEOF
6639 cat confdefs.h
>>conftest.
$ac_ext
6640 cat >>conftest.
$ac_ext <<_ACEOF
6641 /* end confdefs.h. */
6642 $ac_includes_default
6643 #include <$ac_header>
6645 rm -f conftest.
$ac_objext
6646 if { (ac_try
="$ac_compile"
6648 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6649 *) ac_try_echo=$ac_try;;
6651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6652 (eval "$ac_compile") 2>conftest.er1
6654 grep -v '^ *+' conftest.er1 >conftest.err
6656 cat conftest.err >&5
6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658 (exit $ac_status); } &&
6659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6660 { (case "(($ac_try" in
6661 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6662 *) ac_try_echo
=$ac_try;;
6664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6665 (eval "$ac_try") 2>&5
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); }; } &&
6669 { ac_try
='test -s conftest.$ac_objext'
6670 { (case "(($ac_try" in
6671 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6672 *) ac_try_echo=$ac_try;;
6674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6675 (eval "$ac_try") 2>&5
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); }; }; then
6679 ac_header_compiler=yes
6681 echo "$as_me: failed program was:" >&5
6682 sed 's/^/| /' conftest.$ac_ext >&5
6684 ac_header_compiler=no
6687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6688 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6689 echo "${ECHO_T}$ac_header_compiler" >&6; }
6691 # Is the header present?
6692 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6693 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6694 cat >conftest.$ac_ext <<_ACEOF
6697 cat confdefs.h >>conftest.$ac_ext
6698 cat >>conftest.$ac_ext <<_ACEOF
6699 /* end confdefs.h. */
6700 #include <$ac_header>
6702 if { (ac_try="$ac_cpp conftest.$ac_ext"
6704 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6705 *) ac_try_echo
=$ac_try;;
6707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6710 grep -v '^ *+' conftest.er1
>conftest.err
6712 cat conftest.err
>&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } >/dev
/null
; then
6715 if test -s conftest.err
; then
6716 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6717 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6724 if test -z "$ac_cpp_err"; then
6725 ac_header_preproc
=yes
6727 echo "$as_me: failed program was:" >&5
6728 sed 's/^/| /' conftest.
$ac_ext >&5
6730 ac_header_preproc
=no
6733 rm -f conftest.err conftest.
$ac_ext
6734 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6735 echo "${ECHO_T}$ac_header_preproc" >&6; }
6737 # So? What about this header?
6738 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6740 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6741 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6743 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6744 ac_header_preproc
=yes
6747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6748 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6750 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6751 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6752 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6753 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6754 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6756 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6757 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6758 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6760 ## ---------------------------------------------------------- ##
6761 ## Report this to smartmontools-support@lists.sourceforge.net ##
6762 ## ---------------------------------------------------------- ##
6764 ) |
sed "s/^/$as_me: WARNING: /" >&2
6767 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6768 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6769 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6770 echo $ECHO_N "(cached) $ECHO_C" >&6
6772 eval "$as_ac_Header=\$ac_header_preproc"
6774 ac_res
=`eval echo '${'$as_ac_Header'}'`
6775 { echo "$as_me:$LINENO: result: $ac_res" >&5
6776 echo "${ECHO_T}$ac_res" >&6; }
6779 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6780 cat >>confdefs.h
<<_ACEOF
6781 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6789 for ac_header
in sys
/tw_osl_ioctl.h
6791 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6792 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6793 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6794 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6795 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6798 ac_res
=`eval echo '${'$as_ac_Header'}'`
6799 { echo "$as_me:$LINENO: result: $ac_res" >&5
6800 echo "${ECHO_T}$ac_res" >&6; }
6802 # Is the header compilable?
6803 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6804 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6805 cat >conftest.
$ac_ext <<_ACEOF
6808 cat confdefs.h
>>conftest.
$ac_ext
6809 cat >>conftest.
$ac_ext <<_ACEOF
6810 /* end confdefs.h. */
6811 $ac_includes_default
6812 #include <$ac_header>
6814 rm -f conftest.
$ac_objext
6815 if { (ac_try
="$ac_compile"
6817 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6818 *) ac_try_echo=$ac_try;;
6820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6821 (eval "$ac_compile") 2>conftest.er1
6823 grep -v '^ *+' conftest.er1 >conftest.err
6825 cat conftest.err >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6829 { (case "(($ac_try" in
6830 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6831 *) ac_try_echo
=$ac_try;;
6833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6834 (eval "$ac_try") 2>&5
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); }; } &&
6838 { ac_try
='test -s conftest.$ac_objext'
6839 { (case "(($ac_try" in
6840 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6841 *) ac_try_echo=$ac_try;;
6843 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6844 (eval "$ac_try") 2>&5
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; }; then
6848 ac_header_compiler=yes
6850 echo "$as_me: failed program was:" >&5
6851 sed 's/^/| /' conftest.$ac_ext >&5
6853 ac_header_compiler=no
6856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6858 echo "${ECHO_T}$ac_header_compiler" >&6; }
6860 # Is the header present?
6861 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6862 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6863 cat >conftest.$ac_ext <<_ACEOF
6866 cat confdefs.h >>conftest.$ac_ext
6867 cat >>conftest.$ac_ext <<_ACEOF
6868 /* end confdefs.h. */
6869 #include <$ac_header>
6871 if { (ac_try="$ac_cpp conftest.$ac_ext"
6873 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6874 *) ac_try_echo
=$ac_try;;
6876 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6879 grep -v '^ *+' conftest.er1
>conftest.err
6881 cat conftest.err
>&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } >/dev
/null
; then
6884 if test -s conftest.err
; then
6885 ac_cpp_err
=$ac_cxx_preproc_warn_flag
6886 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
6893 if test -z "$ac_cpp_err"; then
6894 ac_header_preproc
=yes
6896 echo "$as_me: failed program was:" >&5
6897 sed 's/^/| /' conftest.
$ac_ext >&5
6899 ac_header_preproc
=no
6902 rm -f conftest.err conftest.
$ac_ext
6903 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6904 echo "${ECHO_T}$ac_header_preproc" >&6; }
6906 # So? What about this header?
6907 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6910 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6912 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6913 ac_header_preproc
=yes
6916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6917 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6919 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6920 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6921 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6922 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6923 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6925 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6926 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6927 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6929 ## ---------------------------------------------------------- ##
6930 ## Report this to smartmontools-support@lists.sourceforge.net ##
6931 ## ---------------------------------------------------------- ##
6933 ) |
sed "s/^/$as_me: WARNING: /" >&2
6936 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6937 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6938 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6941 eval "$as_ac_Header=\$ac_header_preproc"
6943 ac_res
=`eval echo '${'$as_ac_Header'}'`
6944 { echo "$as_me:$LINENO: result: $ac_res" >&5
6945 echo "${ECHO_T}$ac_res" >&6; }
6948 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6949 cat >>confdefs.h
<<_ACEOF
6950 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6958 for ac_header
in dev
/ciss
/cissio.h
6960 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6961 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6963 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6964 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6967 ac_res
=`eval echo '${'$as_ac_Header'}'`
6968 { echo "$as_me:$LINENO: result: $ac_res" >&5
6969 echo "${ECHO_T}$ac_res" >&6; }
6971 # Is the header compilable?
6972 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6973 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6974 cat >conftest.
$ac_ext <<_ACEOF
6977 cat confdefs.h
>>conftest.
$ac_ext
6978 cat >>conftest.
$ac_ext <<_ACEOF
6979 /* end confdefs.h. */
6980 $ac_includes_default
6981 #include <$ac_header>
6983 rm -f conftest.
$ac_objext
6984 if { (ac_try
="$ac_compile"
6986 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6987 *) ac_try_echo=$ac_try;;
6989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6990 (eval "$ac_compile") 2>conftest.er1
6992 grep -v '^ *+' conftest.er1 >conftest.err
6994 cat conftest.err >&5
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); } &&
6997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6998 { (case "(($ac_try" in
6999 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7000 *) ac_try_echo
=$ac_try;;
7002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7003 (eval "$ac_try") 2>&5
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); }; } &&
7007 { ac_try
='test -s conftest.$ac_objext'
7008 { (case "(($ac_try" in
7009 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7010 *) ac_try_echo=$ac_try;;
7012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7013 (eval "$ac_try") 2>&5
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7017 ac_header_compiler=yes
7019 echo "$as_me: failed program was:" >&5
7020 sed 's/^/| /' conftest.$ac_ext >&5
7022 ac_header_compiler=no
7025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7026 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7027 echo "${ECHO_T}$ac_header_compiler" >&6; }
7029 # Is the header present?
7030 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7031 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7032 cat >conftest.$ac_ext <<_ACEOF
7035 cat confdefs.h >>conftest.$ac_ext
7036 cat >>conftest.$ac_ext <<_ACEOF
7037 /* end confdefs.h. */
7038 #include <$ac_header>
7040 if { (ac_try="$ac_cpp conftest.$ac_ext"
7042 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7043 *) ac_try_echo
=$ac_try;;
7045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7046 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7048 grep -v '^ *+' conftest.er1
>conftest.err
7050 cat conftest.err
>&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } >/dev
/null
; then
7053 if test -s conftest.err
; then
7054 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7055 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7062 if test -z "$ac_cpp_err"; then
7063 ac_header_preproc
=yes
7065 echo "$as_me: failed program was:" >&5
7066 sed 's/^/| /' conftest.
$ac_ext >&5
7068 ac_header_preproc
=no
7071 rm -f conftest.err conftest.
$ac_ext
7072 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7073 echo "${ECHO_T}$ac_header_preproc" >&6; }
7075 # So? What about this header?
7076 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7079 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7081 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7082 ac_header_preproc
=yes
7085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7086 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7088 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7090 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7092 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7094 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7096 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7098 ## ---------------------------------------------------------- ##
7099 ## Report this to smartmontools-support@lists.sourceforge.net ##
7100 ## ---------------------------------------------------------- ##
7102 ) |
sed "s/^/$as_me: WARNING: /" >&2
7105 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7106 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7107 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7110 eval "$as_ac_Header=\$ac_header_preproc"
7112 ac_res
=`eval echo '${'$as_ac_Header'}'`
7113 { echo "$as_me:$LINENO: result: $ac_res" >&5
7114 echo "${ECHO_T}$ac_res" >&6; }
7117 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7118 cat >>confdefs.h
<<_ACEOF
7119 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7127 for ac_header
in linux
/compiler.h
7129 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7130 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7131 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7132 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7133 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7136 ac_res
=`eval echo '${'$as_ac_Header'}'`
7137 { echo "$as_me:$LINENO: result: $ac_res" >&5
7138 echo "${ECHO_T}$ac_res" >&6; }
7140 # Is the header compilable?
7141 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
7142 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7143 cat >conftest.
$ac_ext <<_ACEOF
7146 cat confdefs.h
>>conftest.
$ac_ext
7147 cat >>conftest.
$ac_ext <<_ACEOF
7148 /* end confdefs.h. */
7149 $ac_includes_default
7150 #include <$ac_header>
7152 rm -f conftest.
$ac_objext
7153 if { (ac_try
="$ac_compile"
7155 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7156 *) ac_try_echo=$ac_try;;
7158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7159 (eval "$ac_compile") 2>conftest.er1
7161 grep -v '^ *+' conftest.er1 >conftest.err
7163 cat conftest.err >&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); } &&
7166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7167 { (case "(($ac_try" in
7168 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7169 *) ac_try_echo
=$ac_try;;
7171 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7172 (eval "$ac_try") 2>&5
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; } &&
7176 { ac_try
='test -s conftest.$ac_objext'
7177 { (case "(($ac_try" in
7178 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_try") 2>&5
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; }; then
7186 ac_header_compiler=yes
7188 echo "$as_me: failed program was:" >&5
7189 sed 's/^/| /' conftest.$ac_ext >&5
7191 ac_header_compiler=no
7194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7195 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7196 echo "${ECHO_T}$ac_header_compiler" >&6; }
7198 # Is the header present?
7199 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
7200 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7201 cat >conftest.$ac_ext <<_ACEOF
7204 cat confdefs.h >>conftest.$ac_ext
7205 cat >>conftest.$ac_ext <<_ACEOF
7206 /* end confdefs.h. */
7207 #include <$ac_header>
7209 if { (ac_try="$ac_cpp conftest.$ac_ext"
7211 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7212 *) ac_try_echo
=$ac_try;;
7214 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7217 grep -v '^ *+' conftest.er1
>conftest.err
7219 cat conftest.err
>&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } >/dev
/null
; then
7222 if test -s conftest.err
; then
7223 ac_cpp_err
=$ac_cxx_preproc_warn_flag
7224 ac_cpp_err
=$ac_cpp_err$ac_cxx_werror_flag
7231 if test -z "$ac_cpp_err"; then
7232 ac_header_preproc
=yes
7234 echo "$as_me: failed program was:" >&5
7235 sed 's/^/| /' conftest.
$ac_ext >&5
7237 ac_header_preproc
=no
7240 rm -f conftest.err conftest.
$ac_ext
7241 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7242 echo "${ECHO_T}$ac_header_preproc" >&6; }
7244 # So? What about this header?
7245 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7248 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7250 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7251 ac_header_preproc
=yes
7254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7255 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7257 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7258 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7259 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7260 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7261 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7263 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7265 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7267 ## ---------------------------------------------------------- ##
7268 ## Report this to smartmontools-support@lists.sourceforge.net ##
7269 ## ---------------------------------------------------------- ##
7271 ) |
sed "s/^/$as_me: WARNING: /" >&2
7274 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7275 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7276 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7277 echo $ECHO_N "(cached) $ECHO_C" >&6
7279 eval "$as_ac_Header=\$ac_header_preproc"
7281 ac_res
=`eval echo '${'$as_ac_Header'}'`
7282 { echo "$as_me:$LINENO: result: $ac_res" >&5
7283 echo "${ECHO_T}$ac_res" >&6; }
7286 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7287 cat >>confdefs.h
<<_ACEOF
7288 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7296 for ac_header
in linux
/cciss_ioctl.h
7298 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7299 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7300 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7301 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7302 echo $ECHO_N "(cached) $ECHO_C" >&6
7304 cat >conftest.
$ac_ext <<_ACEOF
7307 cat confdefs.h
>>conftest.
$ac_ext
7308 cat >>conftest.
$ac_ext <<_ACEOF
7309 /* end confdefs.h. */
7310 $ac_includes_default
7311 #ifdef HAVE_LINUX_COMPILER_H
7312 # include <linux/compiler.h>
7316 #include <$ac_header>
7318 rm -f conftest.
$ac_objext
7319 if { (ac_try
="$ac_compile"
7321 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_compile") 2>conftest.er1
7327 grep -v '^ *+' conftest.er1 >conftest.err
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } &&
7332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7333 { (case "(($ac_try" in
7334 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7335 *) ac_try_echo
=$ac_try;;
7337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 (eval "$ac_try") 2>&5
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; } &&
7342 { ac_try
='test -s conftest.$ac_objext'
7343 { (case "(($ac_try" in
7344 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7345 *) ac_try_echo=$ac_try;;
7347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7348 (eval "$ac_try") 2>&5
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; }; then
7352 eval "$as_ac_Header=yes"
7354 echo "$as_me: failed program was:" >&5
7355 sed 's/^/| /' conftest.$ac_ext >&5
7357 eval "$as_ac_Header=no"
7360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7362 ac_res=`eval echo '${'$as_ac_Header'}'`
7363 { echo "$as_me:$LINENO: result: $ac_res" >&5
7364 echo "${ECHO_T}$ac_res" >&6; }
7365 if test `eval echo '${'$as_ac_Header'}'` = yes; then
7366 cat >>confdefs.h <<_ACEOF
7367 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
7375 { echo "$as_me:$LINENO: checking for int64_t" >&5
7376 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
7377 if test "${ac_cv_type_int64_t+set}" = set; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7380 cat >conftest.$ac_ext <<_ACEOF
7383 cat confdefs.h >>conftest.$ac_ext
7384 cat >>conftest.$ac_ext <<_ACEOF
7385 /* end confdefs.h. */
7386 $ac_includes_default
7387 typedef int64_t ac__type_new_;
7391 if ((ac__type_new_ *) 0)
7393 if (sizeof (ac__type_new_))
7399 rm -f conftest.$ac_objext
7400 if { (ac_try="$ac_compile"
7402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7403 *) ac_try_echo
=$ac_try;;
7405 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7406 (eval "$ac_compile") 2>conftest.er1
7408 grep -v '^ *+' conftest.er1
>conftest.err
7410 cat conftest.err
>&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } &&
7413 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7414 { (case "(($ac_try" in
7415 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7416 *) ac_try_echo=$ac_try;;
7418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7419 (eval "$ac_try") 2>&5
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); }; } &&
7423 { ac_try='test -s conftest.$ac_objext'
7424 { (case "(($ac_try" in
7425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7426 *) ac_try_echo
=$ac_try;;
7428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7429 (eval "$ac_try") 2>&5
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); }; }; then
7433 ac_cv_type_int64_t
=yes
7435 echo "$as_me: failed program was:" >&5
7436 sed 's/^/| /' conftest.
$ac_ext >&5
7438 ac_cv_type_int64_t
=no
7441 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7443 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
7444 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
7445 if test $ac_cv_type_int64_t = yes; then
7447 cat >>confdefs.h
<<_ACEOF
7448 #define HAVE_INT64_T 1
7453 { echo "$as_me:$LINENO: checking for uint64_t" >&5
7454 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
7455 if test "${ac_cv_type_uint64_t+set}" = set; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7458 cat >conftest.
$ac_ext <<_ACEOF
7461 cat confdefs.h
>>conftest.
$ac_ext
7462 cat >>conftest.
$ac_ext <<_ACEOF
7463 /* end confdefs.h. */
7464 $ac_includes_default
7465 typedef uint64_t ac__type_new_;
7469 if ((ac__type_new_ *) 0)
7471 if (sizeof (ac__type_new_))
7477 rm -f conftest.
$ac_objext
7478 if { (ac_try
="$ac_compile"
7480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7481 *) ac_try_echo=$ac_try;;
7483 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7484 (eval "$ac_compile") 2>conftest.er1
7486 grep -v '^ *+' conftest.er1 >conftest.err
7488 cat conftest.err >&5
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); } &&
7491 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7492 { (case "(($ac_try" in
7493 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7494 *) ac_try_echo
=$ac_try;;
7496 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7497 (eval "$ac_try") 2>&5
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); }; } &&
7501 { ac_try
='test -s conftest.$ac_objext'
7502 { (case "(($ac_try" in
7503 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7504 *) ac_try_echo=$ac_try;;
7506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7507 (eval "$ac_try") 2>&5
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; }; then
7511 ac_cv_type_uint64_t=yes
7513 echo "$as_me: failed program was:" >&5
7514 sed 's/^/| /' conftest.$ac_ext >&5
7516 ac_cv_type_uint64_t=no
7519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7521 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7522 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
7523 if test $ac_cv_type_uint64_t = yes; then
7525 cat >>confdefs.h <<_ACEOF
7526 #define HAVE_UINT64_T 1
7534 for ac_func in getopt
7536 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7537 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7538 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7539 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7540 echo $ECHO_N "(cached) $ECHO_C" >&6
7542 cat >conftest.$ac_ext <<_ACEOF
7545 cat confdefs.h >>conftest.$ac_ext
7546 cat >>conftest.$ac_ext <<_ACEOF
7547 /* end confdefs.h. */
7548 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7550 #define $ac_func innocuous_$ac_func
7552 /* System header to define __stub macros and hopefully few prototypes,
7553 which can conflict with char $ac_func (); below.
7554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7555 <limits.h> exists even on freestanding compilers. */
7558 # include <limits.h>
7560 # include <assert.h>
7565 /* Override any GCC internal prototype to avoid an error.
7566 Use char because int might match the return type of a GCC
7567 builtin and then its argument prototype would still apply. */
7572 /* The GNU C library defines this for functions which it implements
7573 to always fail with ENOSYS. Some functions are actually named
7574 something starting with __ and the normal name is an alias. */
7575 #if defined __stub_$ac_func || defined __stub___$ac_func
7587 rm -f conftest.$ac_objext conftest$ac_exeext
7588 if { (ac_try="$ac_link"
7590 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7591 *) ac_try_echo
=$ac_try;;
7593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7594 (eval "$ac_link") 2>conftest.er1
7596 grep -v '^ *+' conftest.er1
>conftest.err
7598 cat conftest.err
>&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } &&
7601 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7602 { (case "(($ac_try" in
7603 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7604 *) ac_try_echo=$ac_try;;
7606 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7607 (eval "$ac_try") 2>&5
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); }; } &&
7611 { ac_try='test -s conftest$ac_exeext'
7612 { (case "(($ac_try" in
7613 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7614 *) ac_try_echo
=$ac_try;;
7616 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7617 (eval "$ac_try") 2>&5
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); }; }; then
7621 eval "$as_ac_var=yes"
7623 echo "$as_me: failed program was:" >&5
7624 sed 's/^/| /' conftest.
$ac_ext >&5
7626 eval "$as_ac_var=no"
7629 rm -f core conftest.err conftest.
$ac_objext \
7630 conftest
$ac_exeext conftest.
$ac_ext
7632 ac_res
=`eval echo '${'$as_ac_var'}'`
7633 { echo "$as_me:$LINENO: result: $ac_res" >&5
7634 echo "${ECHO_T}$ac_res" >&6; }
7635 if test `eval echo '${'$as_ac_var'}'` = yes; then
7636 cat >>confdefs.h
<<_ACEOF
7637 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7644 for ac_func
in getopt_long
7646 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7647 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7648 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7649 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7650 echo $ECHO_N "(cached) $ECHO_C" >&6
7652 cat >conftest.
$ac_ext <<_ACEOF
7655 cat confdefs.h
>>conftest.
$ac_ext
7656 cat >>conftest.
$ac_ext <<_ACEOF
7657 /* end confdefs.h. */
7658 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7660 #define $ac_func innocuous_$ac_func
7662 /* System header to define __stub macros and hopefully few prototypes,
7663 which can conflict with char $ac_func (); below.
7664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7665 <limits.h> exists even on freestanding compilers. */
7668 # include <limits.h>
7670 # include <assert.h>
7675 /* Override any GCC internal prototype to avoid an error.
7676 Use char because int might match the return type of a GCC
7677 builtin and then its argument prototype would still apply. */
7682 /* The GNU C library defines this for functions which it implements
7683 to always fail with ENOSYS. Some functions are actually named
7684 something starting with __ and the normal name is an alias. */
7685 #if defined __stub_$ac_func || defined __stub___$ac_func
7697 rm -f conftest.
$ac_objext conftest
$ac_exeext
7698 if { (ac_try
="$ac_link"
7700 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7701 *) ac_try_echo=$ac_try;;
7703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7704 (eval "$ac_link") 2>conftest.er1
7706 grep -v '^ *+' conftest.er1 >conftest.err
7708 cat conftest.err >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); } &&
7711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7712 { (case "(($ac_try" in
7713 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7714 *) ac_try_echo
=$ac_try;;
7716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7717 (eval "$ac_try") 2>&5
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; } &&
7721 { ac_try
='test -s conftest$ac_exeext'
7722 { (case "(($ac_try" in
7723 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7724 *) ac_try_echo=$ac_try;;
7726 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7727 (eval "$ac_try") 2>&5
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); }; }; then
7731 eval "$as_ac_var=yes"
7733 echo "$as_me: failed program was:" >&5
7734 sed 's/^/| /' conftest.$ac_ext >&5
7736 eval "$as_ac_var=no"
7739 rm -f core conftest.err conftest.$ac_objext \
7740 conftest$ac_exeext conftest.$ac_ext
7742 ac_res=`eval echo '${'$as_ac_var'}'`
7743 { echo "$as_me:$LINENO: result: $ac_res" >&5
7744 echo "${ECHO_T}$ac_res" >&6; }
7745 if test `eval echo '${'$as_ac_var'}'` = yes; then
7746 cat >>confdefs.h <<_ACEOF
7747 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7754 for ac_func in getdomainname
7756 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7757 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7758 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7759 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6
7762 cat >conftest.$ac_ext <<_ACEOF
7765 cat confdefs.h >>conftest.$ac_ext
7766 cat >>conftest.$ac_ext <<_ACEOF
7767 /* end confdefs.h. */
7768 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7770 #define $ac_func innocuous_$ac_func
7772 /* System header to define __stub macros and hopefully few prototypes,
7773 which can conflict with char $ac_func (); below.
7774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7775 <limits.h> exists even on freestanding compilers. */
7778 # include <limits.h>
7780 # include <assert.h>
7785 /* Override any GCC internal prototype to avoid an error.
7786 Use char because int might match the return type of a GCC
7787 builtin and then its argument prototype would still apply. */
7792 /* The GNU C library defines this for functions which it implements
7793 to always fail with ENOSYS. Some functions are actually named
7794 something starting with __ and the normal name is an alias. */
7795 #if defined __stub_$ac_func || defined __stub___$ac_func
7807 rm -f conftest.$ac_objext conftest$ac_exeext
7808 if { (ac_try="$ac_link"
7810 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7811 *) ac_try_echo
=$ac_try;;
7813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7814 (eval "$ac_link") 2>conftest.er1
7816 grep -v '^ *+' conftest.er1
>conftest.err
7818 cat conftest.err
>&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } &&
7821 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7822 { (case "(($ac_try" in
7823 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_try") 2>&5
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; } &&
7831 { ac_try='test -s conftest$ac_exeext'
7832 { (case "(($ac_try" in
7833 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7834 *) ac_try_echo
=$ac_try;;
7836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7837 (eval "$ac_try") 2>&5
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; }; then
7841 eval "$as_ac_var=yes"
7843 echo "$as_me: failed program was:" >&5
7844 sed 's/^/| /' conftest.
$ac_ext >&5
7846 eval "$as_ac_var=no"
7849 rm -f core conftest.err conftest.
$ac_objext \
7850 conftest
$ac_exeext conftest.
$ac_ext
7852 ac_res
=`eval echo '${'$as_ac_var'}'`
7853 { echo "$as_me:$LINENO: result: $ac_res" >&5
7854 echo "${ECHO_T}$ac_res" >&6; }
7855 if test `eval echo '${'$as_ac_var'}'` = yes; then
7856 cat >>confdefs.h
<<_ACEOF
7857 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7864 for ac_func
in gethostname
7866 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7867 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7869 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7872 cat >conftest.
$ac_ext <<_ACEOF
7875 cat confdefs.h
>>conftest.
$ac_ext
7876 cat >>conftest.
$ac_ext <<_ACEOF
7877 /* end confdefs.h. */
7878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7880 #define $ac_func innocuous_$ac_func
7882 /* System header to define __stub macros and hopefully few prototypes,
7883 which can conflict with char $ac_func (); below.
7884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7885 <limits.h> exists even on freestanding compilers. */
7888 # include <limits.h>
7890 # include <assert.h>
7895 /* Override any GCC internal prototype to avoid an error.
7896 Use char because int might match the return type of a GCC
7897 builtin and then its argument prototype would still apply. */
7902 /* The GNU C library defines this for functions which it implements
7903 to always fail with ENOSYS. Some functions are actually named
7904 something starting with __ and the normal name is an alias. */
7905 #if defined __stub_$ac_func || defined __stub___$ac_func
7917 rm -f conftest.
$ac_objext conftest
$ac_exeext
7918 if { (ac_try
="$ac_link"
7920 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7921 *) ac_try_echo=$ac_try;;
7923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7924 (eval "$ac_link") 2>conftest.er1
7926 grep -v '^ *+' conftest.er1 >conftest.err
7928 cat conftest.err >&5
7929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930 (exit $ac_status); } &&
7931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7932 { (case "(($ac_try" in
7933 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7934 *) ac_try_echo
=$ac_try;;
7936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7937 (eval "$ac_try") 2>&5
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try
='test -s conftest$ac_exeext'
7942 { (case "(($ac_try" in
7943 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7944 *) ac_try_echo=$ac_try;;
7946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7947 (eval "$ac_try") 2>&5
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; }; then
7951 eval "$as_ac_var=yes"
7953 echo "$as_me: failed program was:" >&5
7954 sed 's/^/| /' conftest.$ac_ext >&5
7956 eval "$as_ac_var=no"
7959 rm -f core conftest.err conftest.$ac_objext \
7960 conftest$ac_exeext conftest.$ac_ext
7962 ac_res=`eval echo '${'$as_ac_var'}'`
7963 { echo "$as_me:$LINENO: result: $ac_res" >&5
7964 echo "${ECHO_T}$ac_res" >&6; }
7965 if test `eval echo '${'$as_ac_var'}'` = yes; then
7966 cat >>confdefs.h <<_ACEOF
7967 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7974 for ac_func in gethostbyname
7976 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7980 echo $ECHO_N "(cached) $ECHO_C" >&6
7982 cat >conftest.$ac_ext <<_ACEOF
7985 cat confdefs.h >>conftest.$ac_ext
7986 cat >>conftest.$ac_ext <<_ACEOF
7987 /* end confdefs.h. */
7988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7990 #define $ac_func innocuous_$ac_func
7992 /* System header to define __stub macros and hopefully few prototypes,
7993 which can conflict with char $ac_func (); below.
7994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7995 <limits.h> exists even on freestanding compilers. */
7998 # include <limits.h>
8000 # include <assert.h>
8005 /* Override any GCC internal prototype to avoid an error.
8006 Use char because int might match the return type of a GCC
8007 builtin and then its argument prototype would still apply. */
8012 /* The GNU C library defines this for functions which it implements
8013 to always fail with ENOSYS. Some functions are actually named
8014 something starting with __ and the normal name is an alias. */
8015 #if defined __stub_$ac_func || defined __stub___$ac_func
8027 rm -f conftest.$ac_objext conftest$ac_exeext
8028 if { (ac_try="$ac_link"
8030 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8031 *) ac_try_echo
=$ac_try;;
8033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8034 (eval "$ac_link") 2>conftest.er1
8036 grep -v '^ *+' conftest.er1
>conftest.err
8038 cat conftest.err
>&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } &&
8041 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8042 { (case "(($ac_try" in
8043 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8044 *) ac_try_echo=$ac_try;;
8046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8047 (eval "$ac_try") 2>&5
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 (exit $ac_status); }; } &&
8051 { ac_try='test -s conftest$ac_exeext'
8052 { (case "(($ac_try" in
8053 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8054 *) ac_try_echo
=$ac_try;;
8056 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8057 (eval "$ac_try") 2>&5
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); }; }; then
8061 eval "$as_ac_var=yes"
8063 echo "$as_me: failed program was:" >&5
8064 sed 's/^/| /' conftest.
$ac_ext >&5
8066 eval "$as_ac_var=no"
8069 rm -f core conftest.err conftest.
$ac_objext \
8070 conftest
$ac_exeext conftest.
$ac_ext
8072 ac_res
=`eval echo '${'$as_ac_var'}'`
8073 { echo "$as_me:$LINENO: result: $ac_res" >&5
8074 echo "${ECHO_T}$ac_res" >&6; }
8075 if test `eval echo '${'$as_ac_var'}'` = yes; then
8076 cat >>confdefs.h
<<_ACEOF
8077 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8084 for ac_func
in sigset
8086 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8087 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8088 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8089 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8090 echo $ECHO_N "(cached) $ECHO_C" >&6
8092 cat >conftest.
$ac_ext <<_ACEOF
8095 cat confdefs.h
>>conftest.
$ac_ext
8096 cat >>conftest.
$ac_ext <<_ACEOF
8097 /* end confdefs.h. */
8098 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8100 #define $ac_func innocuous_$ac_func
8102 /* System header to define __stub macros and hopefully few prototypes,
8103 which can conflict with char $ac_func (); below.
8104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8105 <limits.h> exists even on freestanding compilers. */
8108 # include <limits.h>
8110 # include <assert.h>
8115 /* Override any GCC internal prototype to avoid an error.
8116 Use char because int might match the return type of a GCC
8117 builtin and then its argument prototype would still apply. */
8122 /* The GNU C library defines this for functions which it implements
8123 to always fail with ENOSYS. Some functions are actually named
8124 something starting with __ and the normal name is an alias. */
8125 #if defined __stub_$ac_func || defined __stub___$ac_func
8137 rm -f conftest.
$ac_objext conftest
$ac_exeext
8138 if { (ac_try
="$ac_link"
8140 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8141 *) ac_try_echo=$ac_try;;
8143 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8144 (eval "$ac_link") 2>conftest.er1
8146 grep -v '^ *+' conftest.er1 >conftest.err
8148 cat conftest.err >&5
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); } &&
8151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8152 { (case "(($ac_try" in
8153 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8154 *) ac_try_echo
=$ac_try;;
8156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8157 (eval "$ac_try") 2>&5
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; } &&
8161 { ac_try
='test -s conftest$ac_exeext'
8162 { (case "(($ac_try" in
8163 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8164 *) ac_try_echo=$ac_try;;
8166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8167 (eval "$ac_try") 2>&5
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); }; }; then
8171 eval "$as_ac_var=yes"
8173 echo "$as_me: failed program was:" >&5
8174 sed 's/^/| /' conftest.$ac_ext >&5
8176 eval "$as_ac_var=no"
8179 rm -f core conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8182 ac_res=`eval echo '${'$as_ac_var'}'`
8183 { echo "$as_me:$LINENO: result: $ac_res" >&5
8184 echo "${ECHO_T}$ac_res" >&6; }
8185 if test `eval echo '${'$as_ac_var'}'` = yes; then
8186 cat >>confdefs.h <<_ACEOF
8187 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8194 for ac_func in strtoull
8196 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
8197 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8198 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8199 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
8202 cat >conftest.$ac_ext <<_ACEOF
8205 cat confdefs.h >>conftest.$ac_ext
8206 cat >>conftest.$ac_ext <<_ACEOF
8207 /* end confdefs.h. */
8208 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8210 #define $ac_func innocuous_$ac_func
8212 /* System header to define __stub macros and hopefully few prototypes,
8213 which can conflict with char $ac_func (); below.
8214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8215 <limits.h> exists even on freestanding compilers. */
8218 # include <limits.h>
8220 # include <assert.h>
8225 /* Override any GCC internal prototype to avoid an error.
8226 Use char because int might match the return type of a GCC
8227 builtin and then its argument prototype would still apply. */
8232 /* The GNU C library defines this for functions which it implements
8233 to always fail with ENOSYS. Some functions are actually named
8234 something starting with __ and the normal name is an alias. */
8235 #if defined __stub_$ac_func || defined __stub___$ac_func
8247 rm -f conftest.$ac_objext conftest$ac_exeext
8248 if { (ac_try="$ac_link"
8250 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8251 *) ac_try_echo
=$ac_try;;
8253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8254 (eval "$ac_link") 2>conftest.er1
8256 grep -v '^ *+' conftest.er1
>conftest.err
8258 cat conftest.err
>&5
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); } &&
8261 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8262 { (case "(($ac_try" in
8263 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8264 *) ac_try_echo=$ac_try;;
8266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8267 (eval "$ac_try") 2>&5
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); }; } &&
8271 { ac_try='test -s conftest$ac_exeext'
8272 { (case "(($ac_try" in
8273 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8274 *) ac_try_echo
=$ac_try;;
8276 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8277 (eval "$ac_try") 2>&5
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); }; }; then
8281 eval "$as_ac_var=yes"
8283 echo "$as_me: failed program was:" >&5
8284 sed 's/^/| /' conftest.
$ac_ext >&5
8286 eval "$as_ac_var=no"
8289 rm -f core conftest.err conftest.
$ac_objext \
8290 conftest
$ac_exeext conftest.
$ac_ext
8292 ac_res
=`eval echo '${'$as_ac_var'}'`
8293 { echo "$as_me:$LINENO: result: $ac_res" >&5
8294 echo "${ECHO_T}$ac_res" >&6; }
8295 if test `eval echo '${'$as_ac_var'}'` = yes; then
8296 cat >>confdefs.h
<<_ACEOF
8297 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8304 for ac_func
in uname
8306 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8307 { echo "$as_me:$LINENO: checking for $ac_func" >&5
8308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8309 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8310 echo $ECHO_N "(cached) $ECHO_C" >&6
8312 cat >conftest.
$ac_ext <<_ACEOF
8315 cat confdefs.h
>>conftest.
$ac_ext
8316 cat >>conftest.
$ac_ext <<_ACEOF
8317 /* end confdefs.h. */
8318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8320 #define $ac_func innocuous_$ac_func
8322 /* System header to define __stub macros and hopefully few prototypes,
8323 which can conflict with char $ac_func (); below.
8324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8325 <limits.h> exists even on freestanding compilers. */
8328 # include <limits.h>
8330 # include <assert.h>
8335 /* Override any GCC internal prototype to avoid an error.
8336 Use char because int might match the return type of a GCC
8337 builtin and then its argument prototype would still apply. */
8342 /* The GNU C library defines this for functions which it implements
8343 to always fail with ENOSYS. Some functions are actually named
8344 something starting with __ and the normal name is an alias. */
8345 #if defined __stub_$ac_func || defined __stub___$ac_func
8357 rm -f conftest.
$ac_objext conftest
$ac_exeext
8358 if { (ac_try
="$ac_link"
8360 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8361 *) ac_try_echo=$ac_try;;
8363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8364 (eval "$ac_link") 2>conftest.er1
8366 grep -v '^ *+' conftest.er1 >conftest.err
8368 cat conftest.err >&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); } &&
8371 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8372 { (case "(($ac_try" in
8373 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8374 *) ac_try_echo
=$ac_try;;
8376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8377 (eval "$ac_try") 2>&5
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); }; } &&
8381 { ac_try
='test -s conftest$ac_exeext'
8382 { (case "(($ac_try" in
8383 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8384 *) ac_try_echo=$ac_try;;
8386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8387 (eval "$ac_try") 2>&5
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; }; then
8391 eval "$as_ac_var=yes"
8393 echo "$as_me: failed program was:" >&5
8394 sed 's/^/| /' conftest.$ac_ext >&5
8396 eval "$as_ac_var=no"
8399 rm -f core conftest.err conftest.$ac_objext \
8400 conftest$ac_exeext conftest.$ac_ext
8402 ac_res=`eval echo '${'$as_ac_var'}'`
8403 { echo "$as_me:$LINENO: result: $ac_res" >&5
8404 echo "${ECHO_T}$ac_res" >&6; }
8405 if test `eval echo '${'$as_ac_var'}'` = yes; then
8406 cat >>confdefs.h <<_ACEOF
8407 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
8414 # Check whether snprintf appends null char and returns expected length on overflow
8417 { echo "$as_me:$LINENO: checking for working snprintf" >&5
8418 echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6; }
8419 if test "$cross_compiling" = yes; then
8420 libc_have_working_snprintf=no
8422 cat >conftest.$ac_ext <<_ACEOF
8425 cat confdefs.h >>conftest.$ac_ext
8426 cat >>conftest.$ac_ext <<_ACEOF
8427 /* end confdefs.h. */
8432 char buf[]="ABCDEFGHI";
8433 int i=snprintf(buf,8,"12345678"); return !(!buf[7] && i==8);
8438 rm -f conftest$ac_exeext
8439 if { (ac_try="$ac_link"
8441 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8442 *) ac_try_echo
=$ac_try;;
8444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8445 (eval "$ac_link") 2>&5
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
8449 { (case "(($ac_try" in
8450 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8451 *) ac_try_echo=$ac_try;;
8453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8454 (eval "$ac_try") 2>&5
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); }; }; then
8458 libc_have_working_snprintf=yes
8460 echo "$as_me: program exited with status $ac_status" >&5
8461 echo "$as_me: failed program was:" >&5
8462 sed 's/^/| /' conftest.$ac_ext >&5
8465 libc_have_working_snprintf=no
8467 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8472 if test "$libc_have_working_snprintf" = "yes"; then
8473 cat >>confdefs.h <<\_ACEOF
8474 #define HAVE_WORKING_SNPRINTF 1
8478 { echo "$as_me:$LINENO: result: $libc_have_working_snprintf" >&5
8479 echo "${ECHO_T}$libc_have_working_snprintf" >&6; }
8481 # check for __attribute__((packed))
8484 { echo "$as_me:$LINENO: checking whether C++ compiler supports __attribute__((packed))" >&5
8485 echo $ECHO_N "checking whether C++ compiler supports __attribute__((packed))... $ECHO_C" >&6; }
8486 cat >conftest.$ac_ext <<_ACEOF
8489 cat confdefs.h >>conftest.$ac_ext
8490 cat >>conftest.$ac_ext <<_ACEOF
8491 /* end confdefs.h. */
8496 struct a { int b; } __attribute__((packed));
8501 rm -f conftest.$ac_objext
8502 if { (ac_try="$ac_compile"
8504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8505 *) ac_try_echo
=$ac_try;;
8507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8508 (eval "$ac_compile") 2>conftest.er1
8510 grep -v '^ *+' conftest.er1
>conftest.err
8512 cat conftest.err
>&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); } &&
8515 { ac_try
='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8516 { (case "(($ac_try" in
8517 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
8518 *) ac_try_echo=$ac_try;;
8520 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8521 (eval "$ac_try") 2>&5
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); }; } &&
8525 { ac_try='test -s conftest.$ac_objext'
8526 { (case "(($ac_try" in
8527 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
8528 *) ac_try_echo
=$ac_try;;
8530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8531 (eval "$ac_try") 2>&5
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); }; }; then
8535 gcc_have_attr_packed
=yes
8537 echo "$as_me: failed program was:" >&5
8538 sed 's/^/| /' conftest.
$ac_ext >&5
8540 gcc_have_attr_packed
=no
8543 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
8545 if test "$gcc_have_attr_packed" = "yes"; then
8546 cat >>confdefs.h
<<\_ACEOF
8547 #define HAVE_ATTR_PACKED 1
8551 { echo "$as_me:$LINENO: result: $gcc_have_attr_packed" >&5
8552 echo "${ECHO_T}$gcc_have_attr_packed" >&6; }
8558 exampledir
='${docdir}/examplescripts'
8562 # Check whether --with-initscriptdir was given.
8563 if test "${with_initscriptdir+set}" = set; then
8564 withval
=$with_initscriptdir; initddir
="$withval"
8566 initddir
='${sysconfdir}/rc.d/init.d'
8572 # Check whether --with-docdir was given.
8573 if test "${with_docdir+set}" = set; then
8574 withval
=$with_docdir; docdir
="$withval"
8576 docdir
='${prefix}/share/doc/${PACKAGE}-${VERSION}'
8581 # Check whether --enable-sample was given.
8582 if test "${enable_sample+set}" = set; then
8583 enableval
=$enable_sample; smartd_suffix
='.sample'
8591 if test $smartd_suffix; then
8593 SMARTD_SUFFIX_FALSE
='#'
8595 SMARTD_SUFFIX_TRUE
='#'
8596 SMARTD_SUFFIX_FALSE
=
8600 if test "$prefix" = "NONE"; then
8601 if test "$mandir" = '${prefix}/man'; then
8602 mandir
='${prefix}/share/man'
8607 releaseversion
='${PACKAGE}-${VERSION}'
8614 os_deps
='os_linux.o cciss.o'
8618 *-*-freebsd*|
*-*-dragonfly*)
8619 os_deps
='os_freebsd.o cciss.o'
8625 cat >>confdefs.h
<<_ACEOF
8626 #define DEFAULT_MAILER "mailx"
8630 cat >>confdefs.h
<<_ACEOF
8631 #define NEED_SOLARIS_ATA_CODE "os_solaris_ata.s"
8634 os_deps
='os_solaris.o os_solaris_ata.o'
8640 cat >>confdefs.h
<<_ACEOF
8641 #define DEFAULT_MAILER "mailx"
8644 os_deps
='os_solaris.o'
8649 os_deps
='os_netbsd.o'
8654 os_deps
='os_openbsd.o'
8659 os_deps
='os_win32.o'
8664 os_deps
='os_win32.o'
8669 os_deps
='os_darwin.o'
8671 os_libs
='-framework CoreFoundation -framework IOKit'
8674 os_deps
='os_qnxnto.o'
8680 os_deps
='os_generic.o'
8686 # Define symbols for optional functions in OS specific module
8687 case "${os_deps}" in
8690 cat >>confdefs.h
<<\_ACEOF
8691 #define HAVE_ATA_IDENTIFY_IS_CACHED 1
8695 case "${os_deps}" in
8698 cat >>confdefs.h
<<\_ACEOF
8699 #define HAVE_GET_OS_VERSION_STR 1
8706 if echo $host_os |
grep '^darwin' > /dev
/null
; then
8716 if echo $host_os |
grep '^solaris' > /dev
/null
; then
8718 OS_SOLARIS_FALSE
='#'
8726 if echo $host_os |
grep '^mingw' > /dev
/null
; then
8727 OS_WIN32_MINGW_TRUE
=
8728 OS_WIN32_MINGW_FALSE
='#'
8730 OS_WIN32_MINGW_TRUE
='#'
8731 OS_WIN32_MINGW_FALSE
=
8735 if test "x$GCC" = "xyes"; then
8736 if test -z "`echo "$CXXFLAGS" | grep "\
-Wall" 2> /dev/null`" ; then
8737 CXXFLAGS
="$CXXFLAGS -Wall"
8739 # In the next line, do NOT delete the 2 spaces inside double quotes.
8740 if test -z "`echo "$CXXFLAGS " | grep "\
-W " 2> /dev/null`" ; then
8741 CXXFLAGS
="$CXXFLAGS -W"
8745 # MinGW uses MSVCRT.DLL which uses printf format "%I64d" and not "%lld" for int64_t
8746 CXXFLAGS
="$CXXFLAGS -Wno-format";;
8751 if test -z "`echo "$CXXFLAGS" | grep "\
-xmemalign" 2> /dev/null`" ; then
8752 CXXFLAGS
="-xmemalign=1i $CXXFLAGS"
8754 if test -z "`echo "$CXXFLAGS" | grep "\
-xO" 2> /dev/null`" ; then
8755 CXXFLAGS
="-xO2 $CXXFLAGS"
8757 if test -z "`echo "$CXXFLAGS" | grep "\
-erroff" 2> /dev/null`" ; then
8758 CXXFLAGS
="-erroff=%none,wbadinitl,wbadasgl,badargtypel2w $CXXFLAGS"
8764 cat >>confdefs.h
<<_ACEOF
8765 #define SMARTMONTOOLS_BUILD_HOST "${host}"
8771 ac_config_files
="$ac_config_files Makefile examplescripts/Makefile"
8773 cat >confcache
<<\_ACEOF
8774 # This file is a shell script that caches the results of configure
8775 # tests run on this system so they can be shared between configure
8776 # scripts and configure runs, see configure's option --config-cache.
8777 # It is not useful on other systems. If it contains results you don't
8778 # want to keep, you may remove or edit it.
8780 # config.status only pays attention to the cache file if you give it
8781 # the --recheck option to rerun configure.
8783 # `ac_cv_env_foo' variables (set or unset) will be overridden when
8784 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8789 # The following way of writing the cache mishandles newlines in values,
8790 # but we know of no workaround that is simple, portable, and efficient.
8791 # So, we kill variables containing newlines.
8792 # Ultrix sh set writes to stderr and can't be redirected directly,
8793 # and sets the high bit in the cache file unless we assign to the vars.
8795 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8796 eval ac_val
=\$
$ac_var
8800 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8801 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8804 _ | IFS | as_nl
) ;; #(
8805 *) $as_unset $ac_var ;;
8811 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8812 *${as_nl}ac_space
=\
*)
8813 # `set' does not quote correctly, so add quotes (double-quote
8814 # substitution turns \\\\ into \\, and sed turns \\ into \).
8817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8820 # `set' quotes correctly as required by POSIX, so do not add quotes.
8821 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8832 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8834 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8835 if test -w "$cache_file"; then
8836 test "x$cache_file" != "x/dev/null" &&
8837 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8838 echo "$as_me: updating cache $cache_file" >&6;}
8839 cat confcache
>$cache_file
8841 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8842 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8847 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8848 # Let make expand exec_prefix.
8849 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8851 DEFS
=-DHAVE_CONFIG_H
8855 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8856 # 1. Remove the extension, and $U if already installed.
8857 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8858 ac_i
=`echo "$ac_i" | sed "$ac_script"`
8859 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8860 # will be set to the directory where LIBOBJS objects are built.
8861 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8862 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8866 LTLIBOBJS
=$ac_ltlibobjs
8869 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8870 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8871 Usually this means the macro was only invoked conditionally." >&5
8872 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8873 Usually this means the macro was only invoked conditionally." >&2;}
8874 { (exit 1); exit 1; }; }
8876 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8877 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8878 Usually this means the macro was only invoked conditionally." >&5
8879 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8880 Usually this means the macro was only invoked conditionally." >&2;}
8881 { (exit 1); exit 1; }; }
8883 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8884 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
8885 Usually this means the macro was only invoked conditionally." >&5
8886 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
8887 Usually this means the macro was only invoked conditionally." >&2;}
8888 { (exit 1); exit 1; }; }
8890 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8891 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8892 Usually this means the macro was only invoked conditionally." >&5
8893 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8894 Usually this means the macro was only invoked conditionally." >&2;}
8895 { (exit 1); exit 1; }; }
8897 if test -z "${SMARTD_SUFFIX_TRUE}" && test -z "${SMARTD_SUFFIX_FALSE}"; then
8898 { { echo "$as_me:$LINENO: error: conditional \"SMARTD_SUFFIX\" was never defined.
8899 Usually this means the macro was only invoked conditionally." >&5
8900 echo "$as_me: error: conditional \"SMARTD_SUFFIX\" was never defined.
8901 Usually this means the macro was only invoked conditionally." >&2;}
8902 { (exit 1); exit 1; }; }
8904 if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then
8905 { { echo "$as_me:$LINENO: error: conditional \"OS_DARWIN\" was never defined.
8906 Usually this means the macro was only invoked conditionally." >&5
8907 echo "$as_me: error: conditional \"OS_DARWIN\" was never defined.
8908 Usually this means the macro was only invoked conditionally." >&2;}
8909 { (exit 1); exit 1; }; }
8911 if test -z "${OS_SOLARIS_TRUE}" && test -z "${OS_SOLARIS_FALSE}"; then
8912 { { echo "$as_me:$LINENO: error: conditional \"OS_SOLARIS\" was never defined.
8913 Usually this means the macro was only invoked conditionally." >&5
8914 echo "$as_me: error: conditional \"OS_SOLARIS\" was never defined.
8915 Usually this means the macro was only invoked conditionally." >&2;}
8916 { (exit 1); exit 1; }; }
8918 if test -z "${OS_WIN32_MINGW_TRUE}" && test -z "${OS_WIN32_MINGW_FALSE}"; then
8919 { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32_MINGW\" was never defined.
8920 Usually this means the macro was only invoked conditionally." >&5
8921 echo "$as_me: error: conditional \"OS_WIN32_MINGW\" was never defined.
8922 Usually this means the macro was only invoked conditionally." >&2;}
8923 { (exit 1); exit 1; }; }
8926 : ${CONFIG_STATUS=./config.status}
8927 ac_clean_files_save
=$ac_clean_files
8928 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8929 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8930 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8931 cat >$CONFIG_STATUS <<_ACEOF
8933 # Generated by $as_me.
8934 # Run this file to recreate the current configuration.
8935 # Compiler output produced by configure, useful for debugging
8936 # configure, is in config.log if it exists.
8941 SHELL=\${CONFIG_SHELL-$SHELL}
8944 cat >>$CONFIG_STATUS <<\_ACEOF
8945 ## --------------------- ##
8946 ## M4sh Initialization. ##
8947 ## --------------------- ##
8949 # Be Bourne compatible
8950 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8953 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8954 # is contrary to our usage. Disable this feature.
8955 alias -g '${1+"$@"}'='"$@"'
8956 setopt NO_GLOB_SUBST
8958 case `(set -o) 2>/dev/null` in *posix
*) set -o posix
;; esac
8960 BIN_SH
=xpg4
; export BIN_SH
# for Tru64
8961 DUALCASE
=1; export DUALCASE
# for MKS sh
8965 # Avoid depending upon Character Ranges.
8966 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8967 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8968 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8969 as_cr_digits
='0123456789'
8970 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8972 # The user is always right.
8973 if test "${PATH_SEPARATOR+set}" != set; then
8974 echo "#! /bin/sh" >conf$$.sh
8975 echo "exit 0" >>conf$$.sh
8977 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8985 # Support unset when possible.
8986 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8994 # We need space, tab and new line, in precisely that order. Quoting is
8995 # there to prevent editors from complaining about space-tab.
8996 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8997 # splitting by setting IFS to empty value.)
9002 # Find who we are. Look in the path if we contain no directory separator.
9004 *[\\/]* ) as_myself
=$0 ;;
9005 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
9009 test -z "$as_dir" && as_dir
=.
9010 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
9016 # We did not find ourselves, most probably we were run as `sh COMMAND'
9017 # in which case we are not to be found in the path.
9018 if test "x$as_myself" = x
; then
9021 if test ! -f "$as_myself"; then
9022 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9023 { (exit 1); exit 1; }
9026 # Work around bugs in pre-3.0 UWIN ksh.
9027 for as_var
in ENV MAIL MAILPATH
9028 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9036 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9037 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9038 LC_TELEPHONE LC_TIME
9040 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9041 eval $as_var=C
; export $as_var
9043 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
9047 # Required to use basename.
9048 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9049 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9055 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9056 as_basename
=basename
9062 # Name of the executable.
9063 as_me
=`$as_basename -- "$0" ||
9064 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9065 X"$0" : 'X\(//\)$' \| \
9066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9068 sed '/^.*\/\([^/][^/]*\)\/*$/{
9089 test "x$as_lineno_1" != "x$as_lineno_2" &&
9090 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
9092 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9093 # uniformly replaced by the line number. The first 'sed' inserts a
9094 # line-number line after each line using $LINENO; the second 'sed'
9095 # does the real work. The second script uses 'N' to pair each
9096 # line-number line with the line containing $LINENO, and appends
9097 # trailing '-' during substitution so that $LINENO is not a special
9099 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9100 # scripts with optimization help from Paolo Bonzini. Blame Lee
9101 # E. McMahon (1931-1989) for sed's syntax. :-)
9113 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9117 chmod +x
"$as_me.lineno" ||
9118 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9119 { (exit 1); exit 1; }; }
9121 # Don't try to exec as it changes $[0], causing all sort of problems
9122 # (the dirname of $[0] is not the place where we might find the
9123 # original and so on. Autoconf is especially sensitive to this).
9125 # Exit status is that of the last command.
9130 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
9136 ECHO_C
= ECHO_N
= ECHO_T
=
9139 case `echo 'x\c'` in
9140 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
9147 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
9148 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
9154 rm -f conf$$ conf$$.exe conf$$.
file
9155 if test -d conf$$.dir
; then
9156 rm -f conf$$.dir
/conf$$.
file
9162 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
9164 # ... but there are two gotchas:
9165 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9166 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9167 # In both cases, we have to default to `cp -p'.
9168 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
9170 elif ln conf$$.
file conf$$
2>/dev
/null
; then
9175 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
9176 rmdir conf$$.dir
2>/dev
/null
9178 if mkdir
-p .
2>/dev
/null
; then
9181 test -d .
/-p && rmdir .
/-p
9185 # Find out whether ``test -x'' works. Don't use a zero-byte file, as
9186 # systems may use methods other than mode bits to determine executability.
9187 cat >conf$$.
file <<_ASEOF
9191 chmod +x conf$$.
file
9192 if test -x conf$$.
file >/dev
/null
2>&1; then
9193 as_executable_p
="test -x"
9199 # Sed expression to map a string onto a valid CPP name.
9200 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9202 # Sed expression to map a string onto a valid variable name.
9203 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9208 # Save the log message, to keep $[0] and so on meaningful, and to
9209 # report actual input values of CONFIG_FILES etc. instead of their
9210 # values after options handling.
9212 This file was extended by smartmontools $as_me 5.38, which was
9213 generated by GNU Autoconf 2.60. Invocation command line was
9215 CONFIG_FILES = $CONFIG_FILES
9216 CONFIG_HEADERS = $CONFIG_HEADERS
9217 CONFIG_LINKS = $CONFIG_LINKS
9218 CONFIG_COMMANDS = $CONFIG_COMMANDS
9221 on `(hostname || uname -n) 2>/dev/null | sed 1q`
9226 cat >>$CONFIG_STATUS <<_ACEOF
9227 # Files that config.status was made for.
9228 config_files="$ac_config_files"
9229 config_headers="$ac_config_headers"
9230 config_commands="$ac_config_commands"
9234 cat >>$CONFIG_STATUS <<\_ACEOF
9236 \`$as_me' instantiates files from templates according to the
9237 current configuration.
9239 Usage: $0 [OPTIONS] [FILE]...
9241 -h, --help print this help, then exit
9242 -V, --version print version number, then exit
9243 -q, --quiet do not print progress messages
9244 -d, --debug don't remove temporary files
9245 --recheck update $as_me by reconfiguring in the same conditions
9246 --file=FILE[:TEMPLATE]
9247 instantiate the configuration file FILE
9248 --header=FILE[:TEMPLATE]
9249 instantiate the configuration header FILE
9251 Configuration files:
9254 Configuration headers:
9257 Configuration commands:
9260 Report bugs to <bug-autoconf@gnu.org>."
9263 cat >>$CONFIG_STATUS <<_ACEOF
9265 smartmontools config.status 5.38
9266 configured by $0, generated by GNU Autoconf 2.60,
9267 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9269 Copyright (C) 2006 Free Software Foundation, Inc.
9270 This config.status script is free software; the Free Software Foundation
9271 gives unlimited permission to copy, distribute and modify it."
9278 cat >>$CONFIG_STATUS <<\_ACEOF
9279 # If no file are specified by the user, then we need to provide default
9280 # value. By we need to know if files were specified by the user.
9286 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
9287 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
9298 # Handling of the options.
9299 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
9301 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
9302 echo "$ac_cs_version"; exit ;;
9303 --debug |
--debu |
--deb |
--de |
--d |
-d )
9305 --file |
--fil |
--fi |
--f )
9307 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
9308 ac_need_defaults
=false
;;
9309 --header |
--heade |
--head |
--hea )
9311 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
9312 ac_need_defaults
=false
;;
9314 # Conflict between --help and --header
9315 { echo "$as_me: error: ambiguous option: $1
9316 Try \`$0 --help' for more information." >&2
9317 { (exit 1); exit 1; }; };;
9318 --help |
--hel |
-h )
9319 echo "$ac_cs_usage"; exit ;;
9320 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
9321 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
9325 -*) { echo "$as_me: error: unrecognized option: $1
9326 Try \`$0 --help' for more information." >&2
9327 { (exit 1); exit 1; }; } ;;
9329 *) ac_config_targets
="$ac_config_targets $1"
9330 ac_need_defaults
=false
;;
9336 ac_configure_extra_args
=
9338 if $ac_cs_silent; then
9340 ac_configure_extra_args
="$ac_configure_extra_args --silent"
9344 cat >>$CONFIG_STATUS <<_ACEOF
9345 if \$ac_cs_recheck; then
9346 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9349 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9353 cat >>$CONFIG_STATUS <<\_ACEOF
9357 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9358 ## Running $as_me. ##
9364 cat >>$CONFIG_STATUS <<_ACEOF
9368 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9372 cat >>$CONFIG_STATUS <<\_ACEOF
9374 # Handling of arguments.
9375 for ac_config_target
in $ac_config_targets
9377 case $ac_config_target in
9378 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
9379 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
9380 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
9381 "examplescripts/Makefile") CONFIG_FILES
="$CONFIG_FILES examplescripts/Makefile" ;;
9383 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9384 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9385 { (exit 1); exit 1; }; };;
9390 # If the user did not use the arguments to specify the items to instantiate,
9391 # then the envvar interface is used. Set only those that are not.
9392 # We use the long form for the default assignment because of an extremely
9393 # bizarre bug on SunOS 4.1.3.
9394 if $ac_need_defaults; then
9395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
9396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
9397 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
9400 # Have a temporary directory for convenience. Make it in the build tree
9401 # simply because there is no reason against having it here, and in addition,
9402 # creating and moving files from /tmp can sometimes cause problems.
9403 # Hook for its removal unless debugging.
9404 # Note that there is a small window in which the directory will not be cleaned:
9405 # after its creation but before its name has been assigned to `$tmp'.
9409 trap 'exit_status=$?
9410 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9412 trap '{ (exit 1); exit 1; }' 1 2 13 15
9414 # Create a (secure) tmp directory for tmp files.
9417 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9418 test -n "$tmp" && test -d "$tmp"
9421 tmp
=.
/conf$$
-$RANDOM
9422 (umask 077 && mkdir
"$tmp")
9425 echo "$me: cannot create a temporary directory in ." >&2
9426 { (exit 1); exit 1; }
9430 # Set up the sed scripts for CONFIG_FILES section.
9433 # No need to generate the scripts if there are no CONFIG_FILES.
9434 # This happens for instance when ./config.status config.h
9435 if test -n "$CONFIG_FILES"; then
9442 for ac_last_try
in false false false false false
:; do
9443 cat >conf$
$subs.
sed <<_ACEOF
9444 SHELL!$SHELL$ac_delim
9445 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9446 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9447 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9448 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9449 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9450 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9451 exec_prefix!$exec_prefix$ac_delim
9452 prefix!$prefix$ac_delim
9453 program_transform_name!$program_transform_name$ac_delim
9454 bindir!$bindir$ac_delim
9455 sbindir!$sbindir$ac_delim
9456 libexecdir!$libexecdir$ac_delim
9457 datarootdir!$datarootdir$ac_delim
9458 datadir!$datadir$ac_delim
9459 sysconfdir!$sysconfdir$ac_delim
9460 sharedstatedir!$sharedstatedir$ac_delim
9461 localstatedir!$localstatedir$ac_delim
9462 includedir!$includedir$ac_delim
9463 oldincludedir!$oldincludedir$ac_delim
9464 docdir!$docdir$ac_delim
9465 infodir!$infodir$ac_delim
9466 htmldir!$htmldir$ac_delim
9467 dvidir!$dvidir$ac_delim
9468 pdfdir!$pdfdir$ac_delim
9469 psdir!$psdir$ac_delim
9470 libdir!$libdir$ac_delim
9471 localedir!$localedir$ac_delim
9472 mandir!$mandir$ac_delim
9474 ECHO_C!$ECHO_C$ac_delim
9475 ECHO_N!$ECHO_N$ac_delim
9476 ECHO_T!$ECHO_T$ac_delim
9478 build_alias!$build_alias$ac_delim
9479 host_alias!$host_alias$ac_delim
9480 target_alias!$target_alias$ac_delim
9481 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9482 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9483 INSTALL_DATA!$INSTALL_DATA$ac_delim
9484 CYGPATH_W!$CYGPATH_W$ac_delim
9485 PACKAGE!$PACKAGE$ac_delim
9486 VERSION!$VERSION$ac_delim
9487 ACLOCAL!$ACLOCAL$ac_delim
9488 AUTOCONF!$AUTOCONF$ac_delim
9489 AUTOMAKE!$AUTOMAKE$ac_delim
9490 AUTOHEADER!$AUTOHEADER$ac_delim
9491 MAKEINFO!$MAKEINFO$ac_delim
9492 install_sh!$install_sh$ac_delim
9493 STRIP!$STRIP$ac_delim
9494 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9495 mkdir_p!$mkdir_p$ac_delim
9497 SET_MAKE!$SET_MAKE$ac_delim
9498 am__leading_dot!$am__leading_dot$ac_delim
9499 AMTAR!$AMTAR$ac_delim
9500 am__tar!$am__tar$ac_delim
9501 am__untar!$am__untar$ac_delim
9502 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
9503 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
9504 MAINT!$MAINT$ac_delim
9506 CXXFLAGS!$CXXFLAGS$ac_delim
9507 LDFLAGS!$LDFLAGS$ac_delim
9508 CPPFLAGS!$CPPFLAGS$ac_delim
9509 ac_ct_CXX!$ac_ct_CXX$ac_delim
9510 EXEEXT!$EXEEXT$ac_delim
9511 OBJEXT!$OBJEXT$ac_delim
9512 DEPDIR!$DEPDIR$ac_delim
9513 am__include!$am__include$ac_delim
9514 am__quote!$am__quote$ac_delim
9515 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9516 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9517 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9518 CXXDEPMODE!$CXXDEPMODE$ac_delim
9519 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
9520 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
9522 CFLAGS!$CFLAGS$ac_delim
9523 ac_ct_CC!$ac_ct_CC$ac_delim
9524 CCDEPMODE!$CCDEPMODE$ac_delim
9525 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9526 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9528 CCASFLAGS!$CCASFLAGS$ac_delim
9529 build!$build$ac_delim
9530 build_cpu!$build_cpu$ac_delim
9531 build_vendor!$build_vendor$ac_delim
9532 build_os!$build_os$ac_delim
9534 host_cpu!$host_cpu$ac_delim
9535 host_vendor!$host_vendor$ac_delim
9536 host_os!$host_os$ac_delim
9537 CXXCPP!$CXXCPP$ac_delim
9539 EGREP!$EGREP$ac_delim
9540 libc_have_working_snprintf!$libc_have_working_snprintf$ac_delim
9543 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9545 elif $ac_last_try; then
9546 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9547 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9548 { (exit 1); exit 1; }; }
9550 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9554 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9555 if test -n "$ac_eof"; then
9556 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9557 ac_eof
=`expr $ac_eof + 1`
9560 cat >>$CONFIG_STATUS <<_ACEOF
9561 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9562 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9565 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9566 s/^/s,@/; s/!/@,|#_!!_#|/
9569 s/'"$ac_delim"'$/,g/; t
9571 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9572 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9573 rm -f conf$
$subs.
sed
9574 cat >>$CONFIG_STATUS <<_ACEOF
9580 for ac_last_try
in false false false false false
:; do
9581 cat >conf$
$subs.
sed <<_ACEOF
9582 gcc_have_attr_packed!$gcc_have_attr_packed$ac_delim
9583 ASFLAGS!$ASFLAGS$ac_delim
9584 exampledir!$exampledir$ac_delim
9585 initddir!$initddir$ac_delim
9586 smartd_suffix!$smartd_suffix$ac_delim
9587 SMARTD_SUFFIX_TRUE!$SMARTD_SUFFIX_TRUE$ac_delim
9588 SMARTD_SUFFIX_FALSE!$SMARTD_SUFFIX_FALSE$ac_delim
9589 releaseversion!$releaseversion$ac_delim
9590 smartmontools_release_date!$smartmontools_release_date$ac_delim
9591 smartmontools_release_time!$smartmontools_release_time$ac_delim
9592 os_deps!$os_deps$ac_delim
9593 os_libs!$os_libs$ac_delim
9594 OS_DARWIN_TRUE!$OS_DARWIN_TRUE$ac_delim
9595 OS_DARWIN_FALSE!$OS_DARWIN_FALSE$ac_delim
9596 OS_SOLARIS_TRUE!$OS_SOLARIS_TRUE$ac_delim
9597 OS_SOLARIS_FALSE!$OS_SOLARIS_FALSE$ac_delim
9598 OS_WIN32_MINGW_TRUE!$OS_WIN32_MINGW_TRUE$ac_delim
9599 OS_WIN32_MINGW_FALSE!$OS_WIN32_MINGW_FALSE$ac_delim
9600 LIBOBJS!$LIBOBJS$ac_delim
9601 LTLIBOBJS!$LTLIBOBJS$ac_delim
9604 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
9606 elif $ac_last_try; then
9607 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9608 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9609 { (exit 1); exit 1; }; }
9611 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9615 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9616 if test -n "$ac_eof"; then
9617 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9618 ac_eof
=`expr $ac_eof + 1`
9621 cat >>$CONFIG_STATUS <<_ACEOF
9622 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9623 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9626 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9627 s/^/s,@/; s/!/@,|#_!!_#|/
9630 s/'"$ac_delim"'$/,g/; t
9632 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9633 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9634 rm -f conf$
$subs.
sed
9635 cat >>$CONFIG_STATUS <<_ACEOF
9642 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9643 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9644 # trailing colons and then remove the whole line if VPATH becomes empty
9645 # (actually we leave an empty line to preserve line numbers).
9646 if test "x$srcdir" = x.
; then
9647 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9651 s/^\([^=]*=[ ]*\):*/\1/
9657 cat >>$CONFIG_STATUS <<\_ACEOF
9658 fi # test -n "$CONFIG_FILES"
9661 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
9664 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9666 case $ac_mode$ac_tag in
9668 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9669 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9670 { (exit 1); exit 1; }; };;
9671 :[FH
]-) ac_tag
=-:-;;
9672 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9689 -) ac_f
="$tmp/stdin";;
9690 *) # Look for the file first in the build tree, then in the source tree
9691 # (if the path is not absolute). The absolute path cannot be DOS-style,
9692 # because $ac_f cannot contain `:'.
9696 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9698 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9699 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9700 { (exit 1); exit 1; }; };;
9702 ac_file_inputs
="$ac_file_inputs $ac_f"
9705 # Let's still pretend it is `configure' which instantiates (i.e., don't
9706 # use $as_me), people would be surprised to read:
9707 # /* config.h. Generated by config.status. */
9708 configure_input
="Generated from "`IFS=:
9709 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9710 if test x
"$ac_file" != x-
; then
9711 configure_input
="$ac_file. $configure_input"
9712 { echo "$as_me:$LINENO: creating $ac_file" >&5
9713 echo "$as_me: creating $ac_file" >&6;}
9717 *:-:* |
*:-) cat >"$tmp/stdin";;
9722 ac_dir
=`$as_dirname -- "$ac_file" ||
9723 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9724 X"$ac_file" : 'X\(//\)[^/]' \| \
9725 X"$ac_file" : 'X\(//\)$' \| \
9726 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9747 -*) as_dir
=.
/$as_dir;;
9749 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9753 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9754 *) as_qdir
=$as_dir;;
9756 as_dirs
="'$as_qdir' $as_dirs"
9757 as_dir
=`$as_dirname -- "$as_dir" ||
9758 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9759 X"$as_dir" : 'X\(//\)[^/]' \| \
9760 X"$as_dir" : 'X\(//\)$' \| \
9761 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9780 test -d "$as_dir" && break
9782 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9783 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9784 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9785 { (exit 1); exit 1; }; }; }
9789 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9791 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9792 # A ".." for each directory in $ac_dir_suffix.
9793 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9794 case $ac_top_builddir_sub in
9795 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9796 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9799 ac_abs_top_builddir
=$ac_pwd
9800 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9801 # for backward compatibility:
9802 ac_top_builddir
=$ac_top_build_prefix
9805 .
) # We are building in place.
9807 ac_top_srcdir
=$ac_top_builddir_sub
9808 ac_abs_top_srcdir
=$ac_pwd ;;
9809 [\\/]* | ?
:[\\/]* ) # Absolute name.
9810 ac_srcdir
=$srcdir$ac_dir_suffix;
9811 ac_top_srcdir
=$srcdir
9812 ac_abs_top_srcdir
=$srcdir ;;
9814 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9815 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9816 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9818 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9828 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9829 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9833 cat >>$CONFIG_STATUS <<\_ACEOF
9834 # If the template does not know about datarootdir, expand it.
9835 # FIXME: This hack should be removed a few years after 2.60.
9836 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9838 case `sed -n '/datarootdir/ {
9847 ' $ac_file_inputs` in
9848 *datarootdir
*) ac_datarootdir_seen
=yes;;
9849 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9850 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9851 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9853 cat >>$CONFIG_STATUS <<_ACEOF
9854 ac_datarootdir_hack='
9855 s&@datadir@&$datadir&g
9856 s&@docdir@&$docdir&g
9857 s&@infodir@&$infodir&g
9858 s&@localedir@&$localedir&g
9859 s&@mandir@&$mandir&g
9860 s&\\\${datarootdir}&$datarootdir&g' ;;
9864 # Neutralize VPATH when `$srcdir' = `.'.
9865 # Shell code in configure.ac might set extrasub.
9866 # FIXME: do we really want to maintain this feature?
9867 cat >>$CONFIG_STATUS <<_ACEOF
9871 cat >>$CONFIG_STATUS <<\_ACEOF
9873 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9874 s
&@configure_input@
&$configure_input&;t t
9875 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9876 s
&@srcdir@
&$ac_srcdir&;t t
9877 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9878 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9879 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9880 s
&@builddir@
&$ac_builddir&;t t
9881 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9882 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9883 s
&@INSTALL@
&$ac_INSTALL&;t t
9884 $ac_datarootdir_hack
9885 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
9887 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9888 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9889 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9890 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9891 which seems to be undefined. Please make sure it is defined." >&5
9892 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9893 which seems to be undefined. Please make sure it is defined." >&2;}
9897 -) cat "$tmp/out"; rm -f "$tmp/out";;
9898 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9907 # Transform confdefs.h into a sed script `conftest.defines', that
9908 # substitutes the proper values into config.h.in to produce config.h.
9909 rm -f conftest.defines conftest.
tail
9910 # First, append a space to every undef/define line, to ease matching.
9911 echo 's/$/ /' >conftest.defines
9912 # Then, protect against being on the right side of a sed subst, or in
9913 # an unquoted here document, in config.status. If some macros were
9914 # called several times there might be several #defines for the same
9915 # symbol, which is useless. But do not sort them, since the last
9916 # AC_DEFINE must be honored.
9917 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
9918 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9919 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9920 # PARAMS is the parameter list in the macro definition--in most cases, it's
9921 # just an empty string.
9922 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9923 ac_dB
='\\)[ (].*,\\1define\\2'
9931 s/^[ ]*#[ ]*define[ ][ ]*//
9936 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9937 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9938 ' >>conftest.defines
9940 # Remove the space that was appended to ease matching.
9941 # Then replace #undef with comments. This is necessary, for
9942 # example, in the case of _POSIX_SOURCE, which is predefined and required
9943 # on some systems where configure will not decide to define it.
9944 # (The regexp can be short, since the line contains either #define or #undef.)
9946 s,^[ #]*u.*,/* & */,' >>conftest.defines
9948 # Break up conftest.defines:
9951 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9952 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9953 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9955 ac_in
='$ac_file_inputs'
9956 ac_out
='"$tmp/out1"'
9957 ac_nxt
='"$tmp/out2"'
9961 # Write a here document:
9962 cat >>$CONFIG_STATUS <<_ACEOF
9963 # First, check the format of the line:
9964 cat >"\$tmp/defines.sed" <<\\CEOF
9965 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9966 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9970 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
9972 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9973 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
9974 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
9975 grep . conftest.
tail >/dev
/null ||
break
9976 rm -f conftest.defines
9977 mv conftest.
tail conftest.defines
9979 rm -f conftest.defines conftest.
tail
9981 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9982 cat >>$CONFIG_STATUS <<\_ACEOF
9983 if test x
"$ac_file" != x-
; then
9984 echo "/* $configure_input */" >"$tmp/config.h"
9985 cat "$ac_result" >>"$tmp/config.h"
9986 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
9987 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9988 echo "$as_me: $ac_file is unchanged" >&6;}
9991 mv "$tmp/config.h" $ac_file
9994 echo "/* $configure_input */"
9998 # Compute $ac_file's index in $config_headers.
10000 for _am_header
in $config_headers :; do
10001 case $_am_header in
10002 $ac_file |
$ac_file:* )
10005 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
10008 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
10009 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10010 X$ac_file : 'X\(//\)[^/]' \| \
10011 X$ac_file : 'X\(//\)$' \| \
10012 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10018 /^X\(\/\/\)[^/].*/{
10030 s/.*/./; q'`/stamp-h
$_am_stamp_count
10033 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10034 echo "$as_me: executing $ac_file commands" >&6;}
10039 case $ac_file$ac_mode in
10040 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
10041 # Strip MF so we end up with the name of the file.
10042 mf
=`echo "$mf" | sed -e 's/:.*$//'`
10043 # Check whether this is an Automake generated Makefile or not.
10044 # We used to match only the files named `Makefile.in', but
10045 # some people rename them; so instead we look at the file content.
10046 # Grep'ing the first line is not enough: some people post-process
10047 # each Makefile.in and add a new line on top of each file to say so.
10048 # So let's grep whole file.
10049 if grep '^#.*generated by automake' $mf > /dev
/null
2>&1; then
10050 dirpart
=`$as_dirname -- "$mf" ||
10051 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10052 X"$mf" : 'X\(//\)[^/]' \| \
10053 X"$mf" : 'X\(//\)$' \| \
10054 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10060 /^X\(\/\/\)[^/].*/{
10076 # Extract the definition of DEPDIR, am__include, and am__quote
10077 # from the Makefile without running `make'.
10078 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
10079 test -z "$DEPDIR" && continue
10080 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
10081 test -z "am__include" && continue
10082 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
10083 # When using ansi2knr, U may be empty or an underscore; expand it
10084 U
=`sed -n 's/^U = //p' < "$mf"`
10085 # Find all dependency output files, they are included files with
10086 # $(DEPDIR) in their names. We invoke sed twice because it is the
10087 # simplest approach to changing $(DEPDIR) to its actual value in the
10089 for file in `sed -n "
10090 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10091 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10092 # Make sure the directory exists.
10093 test -f "$dirpart/$file" && continue
10094 fdir
=`$as_dirname -- "$file" ||
10095 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10096 X"$file" : 'X\(//\)[^/]' \| \
10097 X"$file" : 'X\(//\)$' \| \
10098 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10104 /^X\(\/\/\)[^/].*/{
10117 { as_dir
=$dirpart/$fdir
10119 -*) as_dir
=.
/$as_dir;;
10121 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
10125 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10126 *) as_qdir
=$as_dir;;
10128 as_dirs
="'$as_qdir' $as_dirs"
10129 as_dir
=`$as_dirname -- "$as_dir" ||
10130 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10131 X"$as_dir" : 'X\(//\)[^/]' \| \
10132 X"$as_dir" : 'X\(//\)$' \| \
10133 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10139 /^X\(\/\/\)[^/].*/{
10152 test -d "$as_dir" && break
10154 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
10155 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10156 echo "$as_me: error: cannot create directory $as_dir" >&2;}
10157 { (exit 1); exit 1; }; }; }
10158 # echo "creating $dirpart/$file"
10159 echo '# dummy' > "$dirpart/$file"
10168 { (exit 0); exit 0; }
10170 chmod +x
$CONFIG_STATUS
10171 ac_clean_files
=$ac_clean_files_save
10174 # configure is writing to config.log, and then calls config.status.
10175 # config.status does its own redirection, appending to config.log.
10176 # Unfortunately, on DOS this fails, as config.log is still kept open
10177 # by configure, so config.status won't be able to write to it; its
10178 # output is simply discarded. So we exec the FD to /dev/null,
10179 # effectively closing config.log, so it can be properly (re)opened and
10180 # appended to by config.status. When coming back to configure, we
10181 # need to make the FD available again.
10182 if test "$no_create" != yes; then
10184 ac_config_status_args
=
10185 test "$silent" = yes &&
10186 ac_config_status_args
="$ac_config_status_args --quiet"
10188 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
10190 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10191 # would make configure fail if this is the last instruction.
10192 $ac_cs_success ||
{ (exit 1); exit 1; }
10195 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10196 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
10197 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
10198 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
10199 echo $ECHO_N "(cached) $ECHO_C" >&6
10201 cat >conftest.
make <<\_ACEOF
10204 @
echo '@@@%%%=$(MAKE)=@@@%%%'
10206 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10207 case `${MAKE-make} -f conftest.make 2>/dev/null` in
10208 *@@@
%%%=?
*=@@@
%%%*)
10209 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
10211 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
10213 rm -f conftest.
make
10215 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
10216 { echo "$as_me:$LINENO: result: yes" >&5
10217 echo "${ECHO_T}yes" >&6; }
10220 { echo "$as_me:$LINENO: result: no" >&5
10221 echo "${ECHO_T}no" >&6; }
10222 SET_MAKE
="MAKE=${MAKE-make}"