2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.61 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 more Bourne compatible
16 DUALCASE
=1; export DUALCASE
# for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
20 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in
26 *posix
*) set -o posix
;;
35 # Avoid depending upon Character Ranges.
36 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
37 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
38 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
39 as_cr_digits
='0123456789'
40 as_cr_alnum
=$as_cr_Letters$as_cr_digits
42 # The user is always right.
43 if test "${PATH_SEPARATOR+set}" != set; then
44 echo "#! /bin/sh" >conf$$.sh
45 echo "exit 0" >>conf$$.sh
47 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
55 # Support unset when possible.
56 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
64 # We need space, tab and new line, in precisely that order. Quoting is
65 # there to prevent editors from complaining about space-tab.
66 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
67 # splitting by setting IFS to empty value.)
72 # Find who we are. Look in the path if we contain no directory separator.
74 *[\\/]* ) as_myself
=$0 ;;
75 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
79 test -z "$as_dir" && as_dir
=.
80 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
86 # We did not find ourselves, most probably we were run as `sh COMMAND'
87 # in which case we are not to be found in the path.
88 if test "x$as_myself" = x
; then
91 if test ! -f "$as_myself"; then
92 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
96 # Work around bugs in pre-3.0 UWIN ksh.
97 for as_var
in ENV MAIL MAILPATH
98 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
106 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
107 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
110 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
111 eval $as_var=C
; export $as_var
113 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
117 # Required to use basename.
118 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
119 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
125 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
132 # Name of the executable.
133 as_me
=`$as_basename -- "$0" ||
134 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
135 X"$0" : 'X\(//\)$' \| \
136 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
138 sed '/^.*\/\([^/][^/]*\)\/*$/{
156 if test "x$CONFIG_SHELL" = x
; then
157 if (eval ":") 2>/dev
/null
; then
163 if test $as_have_required = yes && (eval ":
173 as_func_ret_success () {
176 as_func_ret_failure () {
181 if as_func_success; then
185 echo as_func_success failed.
188 if as_func_failure; then
190 echo as_func_failure succeeded.
193 if as_func_ret_success; then
197 echo as_func_ret_success failed.
200 if as_func_ret_failure; then
202 echo as_func_ret_failure succeeded.
205 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
209 echo positional parameters were not saved.
212 test \$exitcode = 0) || { (exit 1); exit 1; }
217 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
218 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
219 ") 2> /dev
/null
; then
223 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
224 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
227 test -z "$as_dir" && as_dir
=.
230 for as_base
in sh bash ksh sh5
; do
231 as_candidate_shells
="$as_candidate_shells $as_dir/$as_base"
238 for as_shell
in $as_candidate_shells $SHELL; do
239 # Try only shells that exist, to save several forks.
240 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
241 { ("$as_shell") 2> /dev
/null
<<\_ASEOF
242 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
245 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
246 # is contrary to our usage. Disable this feature.
247 alias -g '${1+"$@"}'='"$@"'
250 case `(set -o) 2>/dev/null` in
251 *posix
*) set -o posix
;;
260 CONFIG_SHELL
=$as_shell
262 if { "$as_shell" 2> /dev
/null
<<\_ASEOF
263 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
266 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
267 # is contrary to our usage. Disable this feature.
268 alias -g '${1+"$@"}'='"$@"'
271 case `(set -o) 2>/dev/null` in
272 *posix
*) set -o posix
;;
288 as_func_ret_success
() {
291 as_func_ret_failure
() {
296 if as_func_success
; then
300 echo as_func_success failed.
303 if as_func_failure
; then
305 echo as_func_failure succeeded.
308 if as_func_ret_success
; then
312 echo as_func_ret_success failed.
315 if as_func_ret_failure
; then
317 echo as_func_ret_failure succeeded.
320 if ( set x
; as_func_ret_success y
&& test x
= "$1" ); then
324 echo positional parameters were not saved.
327 test $exitcode = 0) ||
{ (exit 1); exit 1; }
332 test "x$as_lineno_1" != "x$as_lineno_2" &&
333 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") ||
{ (exit 1); exit 1; }
344 if test "x$CONFIG_SHELL" != x
; then
345 for as_var
in BASH_ENV ENV
346 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
349 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
353 if test $as_have_required = no
; then
354 echo This
script requires a shell
more modern than all the
355 echo shells that I found on your system. Please
install a
356 echo modern shell
, or manually run the
script under such a
357 echo shell
if you
do have one.
358 { (exit 1); exit 1; }
368 (eval "as_func_return () {
377 as_func_ret_success () {
380 as_func_ret_failure () {
385 if as_func_success; then
389 echo as_func_success failed.
392 if as_func_failure; then
394 echo as_func_failure succeeded.
397 if as_func_ret_success; then
401 echo as_func_ret_success failed.
404 if as_func_ret_failure; then
406 echo as_func_ret_failure succeeded.
409 if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
413 echo positional parameters were not saved.
416 test \$exitcode = 0") ||
{
417 echo No shell found that supports shell functions.
418 echo Please tell autoconf@gnu.org about your system
,
419 echo including any error possibly output before this
427 test "x$as_lineno_1" != "x$as_lineno_2" &&
428 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
430 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
431 # uniformly replaced by the line number. The first 'sed' inserts a
432 # line-number line after each line using $LINENO; the second 'sed'
433 # does the real work. The second script uses 'N' to pair each
434 # line-number line with the line containing $LINENO, and appends
435 # trailing '-' during substitution so that $LINENO is not a special
437 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
438 # scripts with optimization help from Paolo Bonzini. Blame Lee
439 # E. McMahon (1931-1989) for sed's syntax. :-)
451 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
455 chmod +x
"$as_me.lineno" ||
456 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
457 { (exit 1); exit 1; }; }
459 # Don't try to exec as it changes $[0], causing all sort of problems
460 # (the dirname of $[0] is not the place where we might find the
461 # original and so on. Autoconf is especially sensitive to this).
463 # Exit status is that of the last command.
468 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
474 ECHO_C
= ECHO_N
= ECHO_T
=
478 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
485 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
486 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
492 rm -f conf$$ conf$$.exe conf$$.
file
493 if test -d conf$$.dir
; then
494 rm -f conf$$.dir
/conf$$.
file
500 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
502 # ... but there are two gotchas:
503 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
504 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
505 # In both cases, we have to default to `cp -p'.
506 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
508 elif ln conf$$.
file conf$$
2>/dev
/null
; then
513 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
514 rmdir conf$$.dir
2>/dev
/null
516 if mkdir
-p .
2>/dev
/null
; then
519 test -d .
/-p && rmdir .
/-p
523 if test -x / >/dev
/null
2>&1; then
526 if ls -dL / >/dev
/null
2>&1; then
533 if test -d "$1"; then
539 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
540 ???[sx]*):;;*)false;;esac;fi
544 as_executable_p
=$as_test_x
546 # Sed expression to map a string onto a valid CPP name.
547 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
549 # Sed expression to map a string onto a valid variable name.
550 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
554 exec 7<&0 </dev
/null
6>&1
557 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
558 # so uname gets run too.
559 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
564 ac_default_prefix
=/usr
/local
566 ac_config_libobj_dir
=.
572 SHELL
=${CONFIG_SHELL-/bin/sh}
574 # Identity of this package.
575 PACKAGE_NAME
='smartmontools'
576 PACKAGE_TARNAME
='smartmontools'
577 PACKAGE_VERSION
='5.38'
578 PACKAGE_STRING
='smartmontools 5.38'
579 PACKAGE_BUGREPORT
='smartmontools-support@lists.sourceforge.net'
581 ac_unique_file
="smartctl.cpp"
582 # Factoring default headers for most tests.
583 ac_includes_default
="\
585 #ifdef HAVE_SYS_TYPES_H
586 # include <sys/types.h>
588 #ifdef HAVE_SYS_STAT_H
589 # include <sys/stat.h>
595 # ifdef HAVE_STDLIB_H
600 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
605 #ifdef HAVE_STRINGS_H
606 # include <strings.h>
608 #ifdef HAVE_INTTYPES_H
609 # include <inttypes.h>
627 program_transform_name
669 INSTALL_STRIP_PROGRAM
678 MAINTAINER_MODE_FALSE
706 am__fastdepCCAS_FALSE
718 libc_have_working_snprintf
727 smartmontools_release_date
728 smartmontools_release_time
740 ac_precious_vars
='build_alias
756 # Initialize some variables set by options.
758 ac_init_version
=false
759 # The variables have the same names as the options, with
760 # dashes changed to underlines.
768 program_transform_name
=s
,x
,x
,
776 # Installation directory options.
777 # These are left unexpanded so users can "make install exec_prefix=/foo"
778 # and all the variables that are supposed to be based on exec_prefix
779 # by default will actually change.
780 # Use braces instead of parens because sh, perl, etc. also accept them.
781 # (The list follows the same order as the GNU Coding Standards.)
782 bindir
='${exec_prefix}/bin'
783 sbindir
='${exec_prefix}/sbin'
784 libexecdir
='${exec_prefix}/libexec'
785 datarootdir
='${prefix}/share'
786 datadir
='${datarootdir}'
787 sysconfdir
='${prefix}/etc'
788 sharedstatedir
='${prefix}/com'
789 localstatedir
='${prefix}/var'
790 includedir
='${prefix}/include'
791 oldincludedir
='/usr/include'
792 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
793 infodir
='${datarootdir}/info'
798 libdir
='${exec_prefix}/lib'
799 localedir
='${datarootdir}/locale'
800 mandir
='${datarootdir}/man'
806 # If the previous option needs an argument, assign it.
807 if test -n "$ac_prev"; then
808 eval $ac_prev=\
$ac_option
814 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
818 # Accept the important Cygnus configure options, so we can diagnose typos.
820 case $ac_dashdash$ac_option in
824 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
826 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
829 -build |
--build |
--buil |
--bui |
--bu)
830 ac_prev
=build_alias
;;
831 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
832 build_alias
=$ac_optarg ;;
834 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
835 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
836 ac_prev
=cache_file
;;
837 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
838 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
839 cache_file
=$ac_optarg ;;
842 cache_file
=config.cache
;;
844 -datadir |
--datadir |
--datadi |
--datad)
846 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
847 datadir
=$ac_optarg ;;
849 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
850 |
--dataroo |
--dataro |
--datar)
851 ac_prev
=datarootdir
;;
852 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
853 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
854 datarootdir
=$ac_optarg ;;
856 -disable-* |
--disable-*)
857 ac_feature
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
858 # Reject names that are not valid shell variable names.
859 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
860 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
861 { (exit 1); exit 1; }; }
862 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
863 eval enable_
$ac_feature=no
;;
865 -docdir |
--docdir |
--docdi |
--doc |
--do)
867 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
870 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
872 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
875 -enable-* |
--enable-*)
876 ac_feature
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
877 # Reject names that are not valid shell variable names.
878 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
879 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
880 { (exit 1); exit 1; }; }
881 ac_feature
=`echo $ac_feature | sed 's/[-.]/_/g'`
882 eval enable_
$ac_feature=\
$ac_optarg ;;
884 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
885 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
886 |
--exec |
--exe |
--ex)
887 ac_prev
=exec_prefix
;;
888 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
889 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
890 |
--exec=* |
--exe=* |
--ex=*)
891 exec_prefix
=$ac_optarg ;;
893 -gas |
--gas |
--ga |
--g)
894 # Obsolete; use --with-gas.
897 -help |
--help |
--hel |
--he |
-h)
899 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
900 ac_init_help
=recursive
;;
901 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
902 ac_init_help
=short
;;
904 -host |
--host |
--hos |
--ho)
905 ac_prev
=host_alias
;;
906 -host=* |
--host=* |
--hos=* |
--ho=*)
907 host_alias
=$ac_optarg ;;
909 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
911 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
913 htmldir
=$ac_optarg ;;
915 -includedir |
--includedir |
--includedi |
--included |
--include \
916 |
--includ |
--inclu |
--incl |
--inc)
917 ac_prev
=includedir
;;
918 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
919 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
920 includedir
=$ac_optarg ;;
922 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
924 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
925 infodir
=$ac_optarg ;;
927 -libdir |
--libdir |
--libdi |
--libd)
929 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
932 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
933 |
--libexe |
--libex |
--libe)
934 ac_prev
=libexecdir
;;
935 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
936 |
--libexe=* |
--libex=* |
--libe=*)
937 libexecdir
=$ac_optarg ;;
939 -localedir |
--localedir |
--localedi |
--localed |
--locale)
941 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
942 localedir
=$ac_optarg ;;
944 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
945 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
946 ac_prev
=localstatedir
;;
947 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
948 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
949 localstatedir
=$ac_optarg ;;
951 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
953 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
957 # Obsolete; use --without-fp.
960 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
961 |
--no-cr |
--no-c |
-n)
964 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
965 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
968 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
969 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
970 |
--oldin |
--oldi |
--old |
--ol |
--o)
971 ac_prev
=oldincludedir
;;
972 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
973 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
974 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
975 oldincludedir
=$ac_optarg ;;
977 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
979 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
982 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
983 |
--program-pre |
--program-pr |
--program-p)
984 ac_prev
=program_prefix
;;
985 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
986 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
987 program_prefix
=$ac_optarg ;;
989 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
990 |
--program-suf |
--program-su |
--program-s)
991 ac_prev
=program_suffix
;;
992 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
993 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
994 program_suffix
=$ac_optarg ;;
996 -program-transform-name |
--program-transform-name \
997 |
--program-transform-nam |
--program-transform-na \
998 |
--program-transform-n |
--program-transform- \
999 |
--program-transform |
--program-transfor \
1000 |
--program-transfo |
--program-transf \
1001 |
--program-trans |
--program-tran \
1002 |
--progr-tra |
--program-tr |
--program-t)
1003 ac_prev
=program_transform_name
;;
1004 -program-transform-name=* |
--program-transform-name=* \
1005 |
--program-transform-nam=* |
--program-transform-na=* \
1006 |
--program-transform-n=* |
--program-transform-=* \
1007 |
--program-transform=* |
--program-transfor=* \
1008 |
--program-transfo=* |
--program-transf=* \
1009 |
--program-trans=* |
--program-tran=* \
1010 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1011 program_transform_name
=$ac_optarg ;;
1013 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1015 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1016 pdfdir
=$ac_optarg ;;
1018 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1020 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1023 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1024 |
-silent |
--silent |
--silen |
--sile |
--sil)
1027 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1029 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1031 sbindir
=$ac_optarg ;;
1033 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1034 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1035 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1037 ac_prev
=sharedstatedir
;;
1038 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1039 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1040 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1042 sharedstatedir
=$ac_optarg ;;
1044 -site |
--site |
--sit)
1046 -site=* |
--site=* |
--sit=*)
1049 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1051 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1052 srcdir
=$ac_optarg ;;
1054 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1055 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1056 ac_prev
=sysconfdir
;;
1057 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1058 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1059 sysconfdir
=$ac_optarg ;;
1061 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1062 ac_prev
=target_alias
;;
1063 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1064 target_alias
=$ac_optarg ;;
1066 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1069 -version |
--version |
--versio |
--versi |
--vers |
-V)
1070 ac_init_version
=: ;;
1073 ac_package
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1074 # Reject names that are not valid shell variable names.
1075 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1076 { echo "$as_me: error: invalid package name: $ac_package" >&2
1077 { (exit 1); exit 1; }; }
1078 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1079 eval with_
$ac_package=\
$ac_optarg ;;
1081 -without-* |
--without-*)
1082 ac_package
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1083 # Reject names that are not valid shell variable names.
1084 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1085 { echo "$as_me: error: invalid package name: $ac_package" >&2
1086 { (exit 1); exit 1; }; }
1087 ac_package
=`echo $ac_package | sed 's/[-.]/_/g'`
1088 eval with_
$ac_package=no
;;
1091 # Obsolete; use --with-x.
1094 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1095 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1096 ac_prev
=x_includes
;;
1097 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1098 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1099 x_includes
=$ac_optarg ;;
1101 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1102 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1103 ac_prev
=x_libraries
;;
1104 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1105 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1106 x_libraries
=$ac_optarg ;;
1108 -*) { echo "$as_me: error: unrecognized option: $ac_option
1109 Try \`$0 --help' for more information." >&2
1110 { (exit 1); exit 1; }; }
1114 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1115 # Reject names that are not valid shell variable names.
1116 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev
/null
&&
1117 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1118 { (exit 1); exit 1; }; }
1119 eval $ac_envvar=\
$ac_optarg
1120 export $ac_envvar ;;
1123 # FIXME: should be removed in autoconf 3.0.
1124 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1125 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1126 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1127 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1133 if test -n "$ac_prev"; then
1134 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1135 { echo "$as_me: error: missing argument to $ac_option" >&2
1136 { (exit 1); exit 1; }; }
1139 # Be sure to have absolute directory names.
1140 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1141 datadir sysconfdir sharedstatedir localstatedir includedir \
1142 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1143 libdir localedir mandir
1145 eval ac_val
=\$
$ac_var
1147 [\\/$
]* | ?
:[\\/]* ) continue;;
1148 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1150 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1151 { (exit 1); exit 1; }; }
1154 # There might be people who depend on the old broken behavior: `$host'
1155 # used to hold the argument of --host etc.
1156 # FIXME: To remove some day.
1159 target
=$target_alias
1161 # FIXME: To remove some day.
1162 if test "x$host_alias" != x
; then
1163 if test "x$build_alias" = x
; then
1164 cross_compiling
=maybe
1165 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1166 If a cross compiler is detected then cross compile mode will be used." >&2
1167 elif test "x$build_alias" != "x$host_alias"; then
1173 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1175 test "$silent" = yes && exec 6>/dev
/null
1178 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1179 ac_ls_di
=`ls -di .` &&
1180 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1181 { echo "$as_me: error: Working directory cannot be determined" >&2
1182 { (exit 1); exit 1; }; }
1183 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1184 { echo "$as_me: error: pwd does not report name of working directory" >&2
1185 { (exit 1); exit 1; }; }
1188 # Find the source files, if location was not specified.
1189 if test -z "$srcdir"; then
1190 ac_srcdir_defaulted
=yes
1191 # Try the directory containing this script, then the parent directory.
1192 ac_confdir
=`$as_dirname -- "$0" ||
1193 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1194 X"$0" : 'X\(//\)[^/]' \| \
1195 X"$0" : 'X\(//\)$' \| \
1196 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1198 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1216 if test ! -r "$srcdir/$ac_unique_file"; then
1220 ac_srcdir_defaulted
=no
1222 if test ! -r "$srcdir/$ac_unique_file"; then
1223 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1224 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1225 { (exit 1); exit 1; }; }
1227 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1229 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1230 { (exit 1); exit 1; }; }
1232 # When building in place, set srcdir=.
1233 if test "$ac_abs_confdir" = "$ac_pwd"; then
1236 # Remove unnecessary trailing slashes from srcdir.
1237 # Double slashes in file names in object file debugging info
1238 # mess up M-x gdb in Emacs.
1240 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1242 for ac_var
in $ac_precious_vars; do
1243 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1244 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1245 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1246 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1250 # Report the --help message.
1252 if test "$ac_init_help" = "long"; then
1253 # Omit some internal or obsolete options to make the list less imposing.
1254 # This message is too long to be a string in the A/UX 3.1 sh.
1256 \`configure' configures smartmontools 5.38 to adapt to many kinds of systems.
1258 Usage: $0 [OPTION]... [VAR=VALUE]...
1260 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1261 VAR=VALUE. See below for descriptions of some of the useful variables.
1263 Defaults for the options are specified in brackets.
1266 -h, --help display this help and exit
1267 --help=short display options specific to this package
1268 --help=recursive display the short help of all the included packages
1269 -V, --version display version information and exit
1270 -q, --quiet, --silent do not print \`checking...' messages
1271 --cache-file=FILE cache test results in FILE [disabled]
1272 -C, --config-cache alias for \`--cache-file=config.cache'
1273 -n, --no-create do not create output files
1274 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1276 Installation directories:
1277 --prefix=PREFIX install architecture-independent files in PREFIX
1278 [$ac_default_prefix]
1279 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1282 By default, \`make install' will install all the files in
1283 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1284 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1285 for instance \`--prefix=\$HOME'.
1287 For better control, use the options below.
1289 Fine tuning of the installation directories:
1290 --bindir=DIR user executables [EPREFIX/bin]
1291 --sbindir=DIR system admin executables [EPREFIX/sbin]
1292 --libexecdir=DIR program executables [EPREFIX/libexec]
1293 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1294 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1295 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1296 --libdir=DIR object code libraries [EPREFIX/lib]
1297 --includedir=DIR C header files [PREFIX/include]
1298 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1299 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1300 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1301 --infodir=DIR info documentation [DATAROOTDIR/info]
1302 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1303 --mandir=DIR man documentation [DATAROOTDIR/man]
1304 --docdir=DIR documentation root [DATAROOTDIR/doc/smartmontools]
1305 --htmldir=DIR html documentation [DOCDIR]
1306 --dvidir=DIR dvi documentation [DOCDIR]
1307 --pdfdir=DIR pdf documentation [DOCDIR]
1308 --psdir=DIR ps documentation [DOCDIR]
1314 --program-prefix=PREFIX prepend PREFIX to installed program names
1315 --program-suffix=SUFFIX append SUFFIX to installed program names
1316 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1319 --build=BUILD configure
for building on BUILD
[guessed
]
1320 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1324 if test -n "$ac_init_help"; then
1325 case $ac_init_help in
1326 short | recursive
) echo "Configuration of smartmontools 5.38:";;
1331 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1332 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1333 --enable-maintainer-mode enable make rules and dependencies not useful
1334 (and sometimes confusing
) to the casual installer
1335 --disable-dependency-tracking speeds up one-time build
1336 --enable-dependency-tracking do not reject slow dependency extractors
1337 --enable-sample Enables appending .sample to the installed smartd rc
1338 script and configuration
file
1341 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1342 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1343 --with-initscriptdir=dir
1344 Location of init scripts
(default is
1345 ${sysconfdir}/rc.d
/init.d
)
1346 --with-docdir=dir Location of documentation
(default is
1347 ${prefix}/share
/doc
/smartmontools-5.X
)
1349 Some influential environment variables
:
1350 CXX C
++ compiler
command
1351 CXXFLAGS C
++ compiler flags
1352 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1353 nonstandard directory
<lib dir
>
1354 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1355 CPPFLAGS C
/C
++/Objective C preprocessor flags
, e.g.
-I<include dir
> if
1356 you have headers
in a nonstandard directory
<include dir
>
1357 CC C compiler
command
1358 CFLAGS C compiler flags
1359 CCAS assembler compiler
command (defaults to CC
)
1360 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1361 CXXCPP C
++ preprocessor
1363 Use these variables to override the choices made by
`configure' or to help
1364 it to find libraries and programs with nonstandard names/locations.
1366 Report bugs to <smartmontools-support@lists.sourceforge.net>.
1371 if test "$ac_init_help" = "recursive"; then
1372 # If there are subdirs, report their specific --help.
1373 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1374 test -d "$ac_dir" || continue
1378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1380 ac_dir_suffix=/`echo "$ac_dir" |
sed 's,^\.[\\/],,'`
1381 # A ".." for each directory in $ac_dir_suffix.
1382 ac_top_builddir_sub=`echo "$ac_dir_suffix" |
sed 's,/[^\\/]*,/..,g;s,/,,'`
1383 case $ac_top_builddir_sub in
1384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1388 ac_abs_top_builddir=$ac_pwd
1389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1390 # for backward compatibility:
1391 ac_top_builddir=$ac_top_build_prefix
1394 .) # We are building in place.
1396 ac_top_srcdir=$ac_top_builddir_sub
1397 ac_abs_top_srcdir=$ac_pwd ;;
1398 [\\/]* | ?:[\\/]* ) # Absolute name.
1399 ac_srcdir=$srcdir$ac_dir_suffix;
1400 ac_top_srcdir=$srcdir
1401 ac_abs_top_srcdir=$srcdir ;;
1403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1404 ac_top_srcdir=$ac_top_build_prefix$srcdir
1405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1409 cd "$ac_dir" || { ac_status=$?; continue; }
1410 # Check for guested configure.
1411 if test -f "$ac_srcdir/configure.gnu"; then
1413 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1414 elif test -f "$ac_srcdir/configure"; then
1416 $SHELL "$ac_srcdir/configure" --help=recursive
1418 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1420 cd "$ac_pwd" || { ac_status=$?; break; }
1424 test -n "$ac_init_help" && exit $ac_status
1425 if $ac_init_version; then
1427 smartmontools configure 5.38
1428 generated by GNU Autoconf 2.61
1430 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1431 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1432 This configure script is free software; the Free Software Foundation
1433 gives unlimited permission to copy, distribute and modify it.
1437 cat >config.log <<_ACEOF
1438 This file contains any messages produced by compilers while
1439 running configure, to aid debugging if configure makes a mistake.
1441 It was created by smartmontools $as_me 5.38, which was
1442 generated by GNU Autoconf 2.61. Invocation command line was
1454 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
1455 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
1456 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
1457 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
1458 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
1460 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
1461 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
1463 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
1464 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
1465 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
1466 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
1467 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
1468 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
1469 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
1473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1477 test -z "$as_dir" && as_dir=.
1478 echo "PATH: $as_dir"
1494 # Keep a trace of the command line.
1495 # Strip out --no-create and --no-recursion so they do not pile up.
1496 # Strip out --silent because we don't want to record it for future runs.
1497 # Also quote any args containing shell meta-characters.
1498 # Make two passes to allow for proper duplicate-argument suppression.
1502 ac_must_keep_next=false
1508 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1509 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1510 | -silent | --silent | --silen | --sile | --sil)
1513 ac_arg=`echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
1516 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1518 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1519 if test $ac_must_keep_next = true; then
1520 ac_must_keep_next=false # Got value, back to normal.
1523 *=* | --config-cache | -C | -disable-* | --disable-* \
1524 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1525 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1526 | -with-* | --with-* | -without-* | --without-* | --x)
1527 case "$ac_configure_args0 " in
1528 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1531 -* ) ac_must_keep_next=true ;;
1534 ac_configure_args="$ac_configure_args '$ac_arg'"
1539 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1540 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1542 # When interrupted or exit'd, cleanup temporary files, and complete
1543 # config.log. We remove comments because anyway the quotes in there
1544 # would cause problems or look ugly.
1545 # WARNING: Use '\'' to represent an apostrophe within the trap.
1546 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1547 trap 'exit_status=$?
1548 # Save into config.log some information that might help in debugging.
1553 ## ---------------- ##
1554 ## Cache variables. ##
1555 ## ---------------- ##
1558 # The following way of writing the cache mishandles newlines in values,
1560 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
1561 eval ac_val=\$$ac_var
1565 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1566 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1569 _ | IFS | as_nl) ;; #(
1570 *) $as_unset $ac_var ;;
1575 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
1576 *${as_nl}ac_space=\ *)
1578 "s/'\''/'\''\\\\'\'''\''/g;
1579 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1582 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1590 ## ----------------- ##
1591 ## Output variables. ##
1592 ## ----------------- ##
1595 for ac_var in $ac_subst_vars
1597 eval ac_val=\$$ac_var
1599 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1601 echo "$ac_var='\''$ac_val'\''"
1605 if test -n "$ac_subst_files"; then
1607 ## ------------------- ##
1608 ## File substitutions. ##
1609 ## ------------------- ##
1612 for ac_var in $ac_subst_files
1614 eval ac_val=\$$ac_var
1616 *\'\''*) ac_val=`echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1618 echo "$ac_var='\''$ac_val'\''"
1623 if test -s confdefs.h; then
1633 test "$ac_signal" != 0 &&
1634 echo "$as_me: caught signal $ac_signal"
1635 echo "$as_me: exit $exit_status"
1637 rm -f core *.core core.conftest.* &&
1638 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1641 for ac_signal in 1 2 13 15; do
1642 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1646 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1647 rm -f -r conftest* confdefs.h
1649 # Predefined preprocessor variables.
1651 cat >>confdefs.h <<_ACEOF
1652 #define PACKAGE_NAME "$PACKAGE_NAME"
1656 cat >>confdefs.h <<_ACEOF
1657 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1661 cat >>confdefs.h <<_ACEOF
1662 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1666 cat >>confdefs.h <<_ACEOF
1667 #define PACKAGE_STRING "$PACKAGE_STRING"
1671 cat >>confdefs.h <<_ACEOF
1672 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1676 # Let the site file select an alternate cache file if it wants to.
1677 # Prefer explicitly selected file to automatically selected ones.
1678 if test -n "$CONFIG_SITE"; then
1679 set x "$CONFIG_SITE"
1680 elif test "x$prefix" != xNONE; then
1681 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1683 set x "$ac_default_prefix/share/config.site" \
1684 "$ac_default_prefix/etc/config.site"
1689 if test -r "$ac_site_file"; then
1690 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1691 echo "$as_me: loading site script $ac_site_file" >&6;}
1692 sed 's/^/| /' "$ac_site_file" >&5
1697 if test -r "$cache_file"; then
1698 # Some versions of bash will fail to source /dev/null (special
1699 # files actually), so we avoid doing that.
1700 if test -f "$cache_file"; then
1701 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1702 echo "$as_me: loading cache $cache_file" >&6;}
1704 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1705 *) . "./$cache_file";;
1709 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1710 echo "$as_me: creating cache $cache_file" >&6;}
1714 # Check that the precious variables saved in the cache have kept the same
1716 ac_cache_corrupted=false
1717 for ac_var in $ac_precious_vars; do
1718 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1719 eval ac_new_set=\$ac_env_${ac_var}_set
1720 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1721 eval ac_new_val=\$ac_env_${ac_var}_value
1722 case $ac_old_set,$ac_new_set in
1724 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
1725 echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1726 ac_cache_corrupted=: ;;
1728 { echo "$as_me:$LINENO: error: \`$ac_var' was not
set in the previous run
" >&5
1729 echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
1730 ac_cache_corrupted=: ;;
1733 if test "x$ac_old_val" != "x$ac_new_val"; then
1734 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1735 echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
1736 { echo "$as_me:$LINENO: former value
: $ac_old_val" >&5
1737 echo "$as_me: former value
: $ac_old_val" >&2;}
1738 { echo "$as_me:$LINENO: current value
: $ac_new_val" >&5
1739 echo "$as_me: current value
: $ac_new_val" >&2;}
1740 ac_cache_corrupted=:
1743 # Pass precious variables to config.status.
1744 if test "$ac_new_set" = set; then
1746 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
1747 *) ac_arg=$ac_var=$ac_new_val ;;
1749 case " $ac_configure_args " in
1750 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1751 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1755 if $ac_cache_corrupted; then
1756 { echo "$as_me:$LINENO: error
: changes
in the environment can compromise the build
" >&5
1757 echo "$as_me: error
: changes
in the environment can compromise the build
" >&2;}
1758 { { echo "$as_me:$LINENO: error
: run \
`make distclean' and/or \`rm $cache_file' and start over" >&5
1759 echo "$as_me: error: run \`make distclean' and
/or \
`rm $cache_file' and start over" >&2;}
1760 { (exit 1); exit 1; }; }
1788 ac_cpp='$CPP $CPPFLAGS'
1789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1796 smartmontools_configure_date=`date -u +"%Y/%m/%d %T %Z"`
1797 smartmontools_cvs_tag=`echo '$Id: configure.in,v 1.134 2008/03/09 13:41:23 card_captor Exp $'`
1798 smartmontools_release_date=2008/03/10
1799 smartmontools_release_time="10:44:07 GMT"
1802 cat >>confdefs.h <<_ACEOF
1803 #define SMARTMONTOOLS_CONFIGURE_ARGS "$ac_configure_args"
1807 cat >>confdefs.h <<_ACEOF
1808 #define SMARTMONTOOLS_CONFIGURE_DATE "$smartmontools_configure_date"
1812 cat >>confdefs.h <<_ACEOF
1813 #define SMARTMONTOOLS_RELEASE_DATE "$smartmontools_release_date"
1817 cat >>confdefs.h <<_ACEOF
1818 #define SMARTMONTOOLS_RELEASE_TIME "$smartmontools_release_time"
1822 cat >>confdefs.h <<_ACEOF
1823 #define CONFIG_H_CVSID "$smartmontools_cvs_tag"
1827 cat >>confdefs.h <<_ACEOF
1828 #define PACKAGE_HOMEPAGE "http://smartmontools.sourceforge.net/"
1832 ac_config_headers="$ac_config_headers config.h"
1835 am__api_version='1.10'
1838 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1839 if test -f "$ac_dir/install-sh"; then
1841 ac_install_sh="$ac_aux_dir/install-sh -c"
1843 elif test -f "$ac_dir/install.sh"; then
1845 ac_install_sh="$ac_aux_dir/install.sh -c"
1847 elif test -f "$ac_dir/shtool"; then
1849 ac_install_sh="$ac_aux_dir/shtool install -c"
1853 if test -z "$ac_aux_dir"; then
1854 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1855 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1856 { (exit 1); exit 1; }; }
1859 # These three variables are undocumented and unsupported,
1860 # and are intended to be withdrawn in a future Autoconf release.
1861 # They can cause serious problems if a builder's source tree is in a directory
1862 # whose full name contains unusual characters.
1863 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1864 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1865 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1868 # Find a good install program. We prefer a C program (faster),
1869 # so one script is as good as another. But avoid the broken or
1870 # incompatible versions:
1871 # SysV /etc/install, /usr/sbin/install
1872 # SunOS /usr/etc/install
1873 # IRIX /sbin/install
1875 # AmigaOS /C/install, which installs bootblocks on floppy discs
1876 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1877 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1878 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1879 # OS/2's system install, which has a completely different semantic
1880 # ./install, which can be erroneously created by make from ./install.sh.
1881 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1882 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1883 if test -z "$INSTALL"; then
1884 if test "${ac_cv_path_install+set}" = set; then
1885 echo $ECHO_N "(cached) $ECHO_C" >&6
1887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1891 test -z "$as_dir" && as_dir=.
1892 # Account for people who put trailing slashes in PATH elements.
1894 ./ | .// | /cC/* | \
1895 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1896 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1899 # OSF1 and SCO ODT 3.0 have their own names for install.
1900 # Don't use installbsd from OSF since it installs stuff as root
1902 for ac_prog in ginstall scoinst install; do
1903 for ac_exec_ext in '' $ac_executable_extensions; do
1904 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1905 if test $ac_prog = install &&
1906 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1907 # AIX install. It has an incompatible calling convention.
1909 elif test $ac_prog = install &&
1910 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1911 # program-specific install script used by HP pwplus--don't use.
1914 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1927 if test "${ac_cv_path_install+set}" = set; then
1928 INSTALL=$ac_cv_path_install
1930 # As a last resort, use the slow shell script. Don't cache a
1931 # value for INSTALL within a source directory, because that will
1932 # break other packages using the cache if that directory is
1933 # removed, or if the value is a relative name.
1934 INSTALL=$ac_install_sh
1937 { echo "$as_me:$LINENO: result: $INSTALL" >&5
1938 echo "${ECHO_T}$INSTALL" >&6; }
1940 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1941 # It thinks the first close brace ends the variable substitution.
1942 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1944 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1946 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1948 { echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1949 echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1952 echo timestamp > conftest.file
1953 # Do `set' in a subshell so we don't clobber the current shell
's
1954 # arguments. Must try -L first in case configure is actually a
1955 # symlink; some systems play weird games with the mod time of symlinks
1956 # (eg FreeBSD returns the mod time of the symlink's containing
1959 set X
`ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1960 if test "$*" = "X"; then
1962 set X
`ls -t $srcdir/configure conftest.file`
1965 if test "$*" != "X $srcdir/configure conftest.file" \
1966 && test "$*" != "X conftest.file $srcdir/configure"; then
1968 # If neither matched, then we have a broken ls. This can happen
1969 # if, for instance, CONFIG_SHELL is bash and it inherits a
1970 # broken ls alias from the environment. This has actually
1971 # happened. Such a system could not be considered "sane".
1972 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1973 alias in your environment" >&5
1974 echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1975 alias in your environment" >&2;}
1976 { (exit 1); exit 1; }; }
1979 test "$2" = conftest.
file
1985 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1986 Check your system clock" >&5
1987 echo "$as_me: error: newly created file is older than distributed files!
1988 Check your system clock" >&2;}
1989 { (exit 1); exit 1; }; }
1991 { echo "$as_me:$LINENO: result: yes" >&5
1992 echo "${ECHO_T}yes" >&6; }
1993 test "$program_prefix" != NONE
&&
1994 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
1995 # Use a double $ so make ignores it.
1996 test "$program_suffix" != NONE
&&
1997 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
1998 # Double any \ or $. echo might interpret backslashes.
1999 # By default was `s,x,x', remove it if useless.
2000 cat <<\_ACEOF
>conftest.
sed
2001 s
/[\\$
]/&&/g
;s
/;s
,x
,x
,$
//
2003 program_transform_name
=`echo $program_transform_name | sed -f conftest.sed`
2006 # expand $ac_aux_dir to an absolute path
2007 am_aux_dir
=`cd $ac_aux_dir && pwd`
2009 test x
"${MISSING+set}" = xset || MISSING
="\${SHELL} $am_aux_dir/missing"
2010 # Use eval to expand $SHELL
2011 if eval "$MISSING --run true"; then
2012 am_missing_run
="$MISSING --run "
2015 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
2016 echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
2019 { echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
2020 echo $ECHO_N "checking for a thread-safe mkdir -p... $ECHO_C" >&6; }
2021 if test -z "$MKDIR_P"; then
2022 if test "${ac_cv_path_mkdir+set}" = set; then
2023 echo $ECHO_N "(cached) $ECHO_C" >&6
2025 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2026 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2029 test -z "$as_dir" && as_dir
=.
2030 for ac_prog
in mkdir gmkdir
; do
2031 for ac_exec_ext
in '' $ac_executable_extensions; do
2032 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } ||
continue
2033 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2034 'mkdir (GNU coreutils) '* | \
2035 'mkdir (coreutils) '* | \
2036 'mkdir (fileutils) '4.1*)
2037 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2047 if test "${ac_cv_path_mkdir+set}" = set; then
2048 MKDIR_P
="$ac_cv_path_mkdir -p"
2050 # As a last resort, use the slow shell script. Don't cache a
2051 # value for MKDIR_P within a source directory, because that will
2052 # break other packages using the cache if that directory is
2053 # removed, or if the value is a relative name.
2054 test -d .
/--version && rmdir .
/--version
2055 MKDIR_P
="$ac_install_sh -d"
2058 { echo "$as_me:$LINENO: result: $MKDIR_P" >&5
2059 echo "${ECHO_T}$MKDIR_P" >&6; }
2063 [\\/$
]* | ?
:[\\/]*) ;;
2064 */*) mkdir_p
="\$(top_builddir)/$mkdir_p" ;;
2067 for ac_prog
in gawk mawk nawk
awk
2069 # Extract the first word of "$ac_prog", so it can be a program name with args.
2070 set dummy
$ac_prog; ac_word
=$2
2071 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2072 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2073 if test "${ac_cv_prog_AWK+set}" = set; then
2074 echo $ECHO_N "(cached) $ECHO_C" >&6
2076 if test -n "$AWK"; then
2077 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir
=.
2084 for ac_exec_ext
in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_AWK
="$ac_prog"
2087 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 if test -n "$AWK"; then
2098 { echo "$as_me:$LINENO: result: $AWK" >&5
2099 echo "${ECHO_T}$AWK" >&6; }
2101 { echo "$as_me:$LINENO: result: no" >&5
2102 echo "${ECHO_T}no" >&6; }
2106 test -n "$AWK" && break
2109 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2110 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2111 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2112 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2113 echo $ECHO_N "(cached) $ECHO_C" >&6
2115 cat >conftest.
make <<\_ACEOF
2118 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2120 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2121 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2123 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2125 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2129 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2130 { echo "$as_me:$LINENO: result: yes" >&5
2131 echo "${ECHO_T}yes" >&6; }
2134 { echo "$as_me:$LINENO: result: no" >&5
2135 echo "${ECHO_T}no" >&6; }
2136 SET_MAKE
="MAKE=${MAKE-make}"
2139 rm -rf .tst
2>/dev
/null
2140 mkdir .tst
2>/dev
/null
2141 if test -d .tst
; then
2146 rmdir .tst
2>/dev
/null
2148 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2149 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2150 # is not polluted with repeated "-I."
2151 am__isrc
=' -I$(srcdir)'
2152 # test to see if srcdir already configured
2153 if test -f $srcdir/config.status
; then
2154 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2155 echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2156 { (exit 1); exit 1; }; }
2160 # test whether we have cygpath
2161 if test -z "$CYGPATH_W"; then
2162 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2163 CYGPATH_W
='cygpath -w'
2170 # Define the identity of the package.
2171 PACKAGE
='smartmontools'
2175 cat >>confdefs.h
<<_ACEOF
2176 #define PACKAGE "$PACKAGE"
2180 cat >>confdefs.h
<<_ACEOF
2181 #define VERSION "$VERSION"
2184 # Some tools Automake needs.
2186 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2189 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2192 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2195 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2198 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2200 install_sh
=${install_sh-"\$(SHELL) $am_aux_dir/install-sh"}
2202 # Installed binaries are usually stripped using `strip' when the user
2203 # run `make install-strip'. However `strip' might not be the right
2204 # tool to use in cross-compilation environments, therefore Automake
2205 # will honor the `STRIP' environment variable to overrule this program.
2206 if test "$cross_compiling" != no
; then
2207 if test -n "$ac_tool_prefix"; then
2208 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2209 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2210 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2211 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2212 if test "${ac_cv_prog_STRIP+set}" = set; then
2213 echo $ECHO_N "(cached) $ECHO_C" >&6
2215 if test -n "$STRIP"; then
2216 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2218 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2222 test -z "$as_dir" && as_dir
=.
2223 for ac_exec_ext
in '' $ac_executable_extensions; do
2224 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2225 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2226 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2235 STRIP
=$ac_cv_prog_STRIP
2236 if test -n "$STRIP"; then
2237 { echo "$as_me:$LINENO: result: $STRIP" >&5
2238 echo "${ECHO_T}$STRIP" >&6; }
2240 { echo "$as_me:$LINENO: result: no" >&5
2241 echo "${ECHO_T}no" >&6; }
2246 if test -z "$ac_cv_prog_STRIP"; then
2248 # Extract the first word of "strip", so it can be a program name with args.
2249 set dummy strip
; ac_word
=$2
2250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2252 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2253 echo $ECHO_N "(cached) $ECHO_C" >&6
2255 if test -n "$ac_ct_STRIP"; then
2256 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2258 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2262 test -z "$as_dir" && as_dir
=.
2263 for ac_exec_ext
in '' $ac_executable_extensions; do
2264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2265 ac_cv_prog_ac_ct_STRIP
="strip"
2266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2275 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2276 if test -n "$ac_ct_STRIP"; then
2277 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2278 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2280 { echo "$as_me:$LINENO: result: no" >&5
2281 echo "${ECHO_T}no" >&6; }
2284 if test "x$ac_ct_STRIP" = x
; then
2287 case $cross_compiling:$ac_tool_warned in
2289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2290 whose name does not start with the host triplet. If you think this
2291 configuration is useful to you, please write to autoconf@gnu.org." >&5
2292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2293 whose name does not start with the host triplet. If you think this
2294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2295 ac_tool_warned
=yes ;;
2300 STRIP
="$ac_cv_prog_STRIP"
2304 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2306 # We need awk for the "check" target. The system "awk" is bad on
2308 # Always define AMTAR for backward compatibility.
2310 AMTAR
=${AMTAR-"${am_missing_run}tar"}
2312 am__tar
='${AMTAR} chof - "$$tardir"'; am__untar
='${AMTAR} xf -'
2319 { echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2320 echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2321 # Check whether --enable-maintainer-mode was given.
2322 if test "${enable_maintainer_mode+set}" = set; then
2323 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
2325 USE_MAINTAINER_MODE
=no
2328 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2329 echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2330 if test $USE_MAINTAINER_MODE = yes; then
2331 MAINTAINER_MODE_TRUE
=
2332 MAINTAINER_MODE_FALSE
='#'
2334 MAINTAINER_MODE_TRUE
='#'
2335 MAINTAINER_MODE_FALSE
=
2338 MAINT
=$MAINTAINER_MODE_TRUE
2343 ac_cpp
='$CXXCPP $CPPFLAGS'
2344 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2345 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2346 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2349 ac_cpp
='$CXXCPP $CPPFLAGS'
2350 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2351 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2352 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
2353 if test -z "$CXX"; then
2354 if test -n "$CCC"; then
2357 if test -n "$ac_tool_prefix"; then
2358 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2360 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2361 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2362 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2363 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2364 if test "${ac_cv_prog_CXX+set}" = set; then
2365 echo $ECHO_N "(cached) $ECHO_C" >&6
2367 if test -n "$CXX"; then
2368 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
2370 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2374 test -z "$as_dir" && as_dir
=.
2375 for ac_exec_ext
in '' $ac_executable_extensions; do
2376 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2377 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
2378 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2388 if test -n "$CXX"; then
2389 { echo "$as_me:$LINENO: result: $CXX" >&5
2390 echo "${ECHO_T}$CXX" >&6; }
2392 { echo "$as_me:$LINENO: result: no" >&5
2393 echo "${ECHO_T}no" >&6; }
2397 test -n "$CXX" && break
2400 if test -z "$CXX"; then
2402 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
2404 # Extract the first word of "$ac_prog", so it can be a program name with args.
2405 set dummy
$ac_prog; ac_word
=$2
2406 { echo "$as_me:$LINENO: checking for $ac_word" >&5
2407 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2408 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2409 echo $ECHO_N "(cached) $ECHO_C" >&6
2411 if test -n "$ac_ct_CXX"; then
2412 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
2414 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2418 test -z "$as_dir" && as_dir
=.
2419 for ac_exec_ext
in '' $ac_executable_extensions; do
2420 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2421 ac_cv_prog_ac_ct_CXX
="$ac_prog"
2422 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2431 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
2432 if test -n "$ac_ct_CXX"; then
2433 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2434 echo "${ECHO_T}$ac_ct_CXX" >&6; }
2436 { echo "$as_me:$LINENO: result: no" >&5
2437 echo "${ECHO_T}no" >&6; }
2441 test -n "$ac_ct_CXX" && break
2444 if test "x$ac_ct_CXX" = x
; then
2447 case $cross_compiling:$ac_tool_warned in
2449 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2450 whose name does not start with the host triplet. If you think this
2451 configuration is useful to you, please write to autoconf@gnu.org." >&5
2452 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2453 whose name does not start with the host triplet. If you think this
2454 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2455 ac_tool_warned
=yes ;;
2463 # Provide some information about the compiler.
2464 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2465 ac_compiler
=`set X $ac_compile; echo $2`
2466 { (ac_try
="$ac_compiler --version >&5"
2468 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2469 *) ac_try_echo=$ac_try;;
2471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2472 (eval "$ac_compiler --version >&5") 2>&5
2474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2475 (exit $ac_status); }
2476 { (ac_try="$ac_compiler -v >&5"
2478 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2479 *) ac_try_echo
=$ac_try;;
2481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2482 (eval "$ac_compiler -v >&5") 2>&5
2484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2485 (exit $ac_status); }
2486 { (ac_try
="$ac_compiler -V >&5"
2488 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2489 *) ac_try_echo=$ac_try;;
2491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2492 (eval "$ac_compiler -V >&5") 2>&5
2494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2495 (exit $ac_status); }
2497 cat >conftest.$ac_ext <<_ACEOF
2500 cat confdefs.h >>conftest.$ac_ext
2501 cat >>conftest.$ac_ext <<_ACEOF
2502 /* end confdefs.h. */
2512 ac_clean_files_save=$ac_clean_files
2513 ac_clean_files="$ac_clean_files a.out a.exe b.out"
2514 # Try to create an executable without -o first, disregard a.out.
2515 # It will help us diagnose broken compilers, and finding out an intuition
2517 { echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2518 echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2519 ac_link_default=`echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2521 # List of possible output files, starting from the most likely.
2522 # The algorithm is not robust to junk in `.
', hence go to wildcards (a.*)
2523 # only as a last resort. b.out is created by i960 compilers.
2524 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.
* conftest.
* b.out
'
2526 # The IRIX 6 linker writes into existing files which may not be
2527 # executable, retaining their permissions. Remove them first so a
2528 # subsequent execution test works.
2530 for ac_file in $ac_files
2533 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2534 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2539 if { (ac_try="$ac_link_default"
2541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2542 *) ac_try_echo=$ac_try;;
2544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2545 (eval "$ac_link_default") 2>&5
2547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2548 (exit $ac_status); }; then
2549 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2550 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2551 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2552 # so that the user can short-circuit this test for compilers unknown to
2554 for ac_file
in $ac_files ''
2556 test -f "$ac_file" ||
continue
2558 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
)
2561 # We found the default executable, but exeext='' is most
2565 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2567 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2569 # We set ac_cv_exeext here because the later test for it is not
2570 # safe: cross compilers may not add the suffix if given an `-o'
2571 # argument, so we may need to know it at that point already.
2572 # Even if this section looks crufty: it has the advantage of
2579 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2585 { echo "$as_me:$LINENO: result: $ac_file" >&5
2586 echo "${ECHO_T}$ac_file" >&6; }
2587 if test -z "$ac_file"; then
2588 echo "$as_me: failed program was:" >&5
2589 sed 's/^/| /' conftest.
$ac_ext >&5
2591 { { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2592 See \`config.log' for more details." >&5
2593 echo "$as_me: error: C++ compiler cannot create executables
2594 See \`config.log' for more details." >&2;}
2595 { (exit 77); exit 77; }; }
2598 ac_exeext
=$ac_cv_exeext
2600 # Check that the compiler produces executables we can run. If not, either
2601 # the compiler is broken, or we cross compile.
2602 { echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2603 echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2604 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2605 # If not cross compiling, check that we can run a simple program.
2606 if test "$cross_compiling" != yes; then
2607 if { ac_try
='./$ac_file'
2608 { (case "(($ac_try" in
2609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2613 (eval "$ac_try") 2>&5
2615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2616 (exit $ac_status); }; }; then
2619 if test "$cross_compiling" = maybe; then
2622 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2623 If you meant to cross compile, use \`--host'.
2624 See \`config.log' for more details.
" >&5
2625 echo "$as_me: error
: cannot run C
++ compiled programs.
2626 If you meant to cross compile
, use \
`--host'.
2627 See \`config.log
' for more details." >&2;}
2628 { (exit 1); exit 1; }; }
2632 { echo "$as_me:$LINENO: result: yes" >&5
2633 echo "${ECHO_T}yes" >&6; }
2635 rm -f a.out a.exe conftest$ac_cv_exeext b.out
2636 ac_clean_files=$ac_clean_files_save
2637 # Check that the compiler produces executables we can run. If not, either
2638 # the compiler is broken, or we cross compile.
2639 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2640 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2641 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
2642 echo "${ECHO_T}$cross_compiling" >&6; }
2644 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
2645 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2646 if { (ac_try="$ac_link"
2648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2649 *) ac_try_echo=$ac_try;;
2651 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2652 (eval "$ac_link") 2>&5
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; then
2656 # If both `conftest.exe' and
`conftest' are `present
' (well, observable)
2657 # catch `conftest.exe'. For instance with Cygwin
, `ls conftest' will
2658 # work properly (i.e., refer to `conftest.exe
'), while it won't with
2660 for ac_file
in conftest.exe conftest conftest.
*; do
2661 test -f "$ac_file" ||
continue
2663 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.o |
*.obj
) ;;
2664 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2670 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2671 See \`config.log' for more details." >&5
2672 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2673 See \`config.log' for more details." >&2;}
2674 { (exit 1); exit 1; }; }
2677 rm -f conftest
$ac_cv_exeext
2678 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2679 echo "${ECHO_T}$ac_cv_exeext" >&6; }
2681 rm -f conftest.
$ac_ext
2682 EXEEXT
=$ac_cv_exeext
2684 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
2685 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2686 if test "${ac_cv_objext+set}" = set; then
2687 echo $ECHO_N "(cached) $ECHO_C" >&6
2689 cat >conftest.
$ac_ext <<_ACEOF
2692 cat confdefs.h
>>conftest.
$ac_ext
2693 cat >>conftest.
$ac_ext <<_ACEOF
2694 /* end confdefs.h. */
2704 rm -f conftest.o conftest.obj
2705 if { (ac_try
="$ac_compile"
2707 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2708 *) ac_try_echo=$ac_try;;
2710 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2711 (eval "$ac_compile") 2>&5
2713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2714 (exit $ac_status); }; then
2715 for ac_file in conftest.o conftest.obj conftest.*; do
2716 test -f "$ac_file" || continue;
2718 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2719 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2724 echo "$as_me: failed program was:" >&5
2725 sed 's/^/| /' conftest.$ac_ext >&5
2727 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2728 See \`config.log
' for more details." >&5
2729 echo "$as_me: error: cannot compute suffix of object files: cannot compile
2730 See \`config.log' for more details.
" >&2;}
2731 { (exit 1); exit 1; }; }
2734 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2736 { echo "$as_me:$LINENO: result
: $ac_cv_objext" >&5
2737 echo "${ECHO_T}$ac_cv_objext" >&6; }
2738 OBJEXT=$ac_cv_objext
2740 { echo "$as_me:$LINENO: checking whether we are using the GNU C
++ compiler
" >&5
2741 echo $ECHO_N "checking whether we are using the GNU C
++ compiler...
$ECHO_C" >&6; }
2742 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2743 echo $ECHO_N "(cached
) $ECHO_C" >&6
2745 cat >conftest.$ac_ext <<_ACEOF
2748 cat confdefs.h >>conftest.$ac_ext
2749 cat >>conftest.$ac_ext <<_ACEOF
2750 /* end confdefs.h. */
2763 rm -f conftest.$ac_objext
2764 if { (ac_try="$ac_compile"
2766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2767 *) ac_try_echo=$ac_try;;
2769 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2770 (eval "$ac_compile") 2>conftest.er1
2772 grep -v '^ *+' conftest.er1 >conftest.err
2774 cat conftest.err >&5
2775 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2776 (exit $ac_status); } && {
2777 test -z "$ac_cxx_werror_flag" ||
2778 test ! -s conftest.err
2779 } && test -s conftest.$ac_objext; then
2782 echo "$as_me: failed program was
:" >&5
2783 sed 's/^/| /' conftest.$ac_ext >&5
2788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2789 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2792 { echo "$as_me:$LINENO: result
: $ac_cv_cxx_compiler_gnu" >&5
2793 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2794 GXX=`test $ac_compiler_gnu = yes && echo yes`
2795 ac_test_CXXFLAGS=${CXXFLAGS+set}
2796 ac_save_CXXFLAGS=$CXXFLAGS
2797 { echo "$as_me:$LINENO: checking whether
$CXX accepts
-g" >&5
2798 echo $ECHO_N "checking whether
$CXX accepts
-g...
$ECHO_C" >&6; }
2799 if test "${ac_cv_prog_cxx_g+set}" = set; then
2800 echo $ECHO_N "(cached
) $ECHO_C" >&6
2802 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2803 ac_cxx_werror_flag=yes
2806 cat >conftest.$ac_ext <<_ACEOF
2809 cat confdefs.h >>conftest.$ac_ext
2810 cat >>conftest.$ac_ext <<_ACEOF
2811 /* end confdefs.h. */
2821 rm -f conftest.$ac_objext
2822 if { (ac_try="$ac_compile"
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2827 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2828 (eval "$ac_compile") 2>conftest.er1
2830 grep -v '^ *+' conftest.er1 >conftest.err
2832 cat conftest.err >&5
2833 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2834 (exit $ac_status); } && {
2835 test -z "$ac_cxx_werror_flag" ||
2836 test ! -s conftest.err
2837 } && test -s conftest.$ac_objext; then
2838 ac_cv_prog_cxx_g=yes
2840 echo "$as_me: failed program was
:" >&5
2841 sed 's/^/| /' conftest.$ac_ext >&5
2844 cat >conftest.$ac_ext <<_ACEOF
2847 cat confdefs.h >>conftest.$ac_ext
2848 cat >>conftest.$ac_ext <<_ACEOF
2849 /* end confdefs.h. */
2859 rm -f conftest.$ac_objext
2860 if { (ac_try="$ac_compile"
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2865 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2866 (eval "$ac_compile") 2>conftest.er1
2868 grep -v '^ *+' conftest.er1 >conftest.err
2870 cat conftest.err >&5
2871 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2872 (exit $ac_status); } && {
2873 test -z "$ac_cxx_werror_flag" ||
2874 test ! -s conftest.err
2875 } && test -s conftest.$ac_objext; then
2878 echo "$as_me: failed program was
:" >&5
2879 sed 's/^/| /' conftest.$ac_ext >&5
2881 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2883 cat >conftest.$ac_ext <<_ACEOF
2886 cat confdefs.h >>conftest.$ac_ext
2887 cat >>conftest.$ac_ext <<_ACEOF
2888 /* end confdefs.h. */
2898 rm -f conftest.$ac_objext
2899 if { (ac_try="$ac_compile"
2901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2902 *) ac_try_echo=$ac_try;;
2904 eval "echo \"\
$as_me:$LINENO: $ac_try_echo\"") >&5
2905 (eval "$ac_compile") 2>conftest.er1
2907 grep -v '^ *+' conftest.er1 >conftest.err
2909 cat conftest.err >&5
2910 echo "$as_me:$LINENO: \$?
= $ac_status" >&5
2911 (exit $ac_status); } && {
2912 test -z "$ac_cxx_werror_flag" ||
2913 test ! -s conftest.err
2914 } && test -s conftest.$ac_objext; then
2915 ac_cv_prog_cxx_g=yes
2917 echo "$as_me: failed program was
:" >&5
2918 sed 's/^/| /' conftest.$ac_ext >&5
2923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2930 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2932 { echo "$as_me:$LINENO: result
: $ac_cv_prog_cxx_g" >&5
2933 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2934 if test "$ac_test_CXXFLAGS" = set; then
2935 CXXFLAGS=$ac_save_CXXFLAGS
2936 elif test $ac_cv_prog_cxx_g = yes; then
2937 if test "$GXX" = yes; then
2943 if test "$GXX" = yes; then
2950 ac_cpp='$CXXCPP $CPPFLAGS'
2951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2954 DEPDIR="${am__leading_dot}deps
"
2956 ac_config_commands="$ac_config_commands depfiles
"
2959 am_make=${MAKE-make}
2960 cat > confinc << 'END'
2965 # If we don't find an include directive, just comment out the code.
2966 { echo "$as_me:$LINENO: checking
for style of include used by
$am_make" >&5
2967 echo $ECHO_N "checking
for style of include used by
$am_make...
$ECHO_C" >&6; }
2971 # First try GNU make style include.
2972 echo "include confinc" > confmf
2973 # We grep out `Entering directory' and `Leaving directory'
2974 # messages which can occur if `w' ends up in MAKEFLAGS.
2975 # In particular we don't look at `^make:' because GNU make might
2976 # be invoked under some other name (usually "gmake"), in which
2977 # case it prints its new name instead of `make'.
2978 if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2983 # Now try BSD make style include.
2984 if test "$am__include" = "#"; then
2985 echo '.include "confinc"' > confmf
2986 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2987 am__include
=.include
2994 { echo "$as_me:$LINENO: result: $_am_result" >&5
2995 echo "${ECHO_T}$_am_result" >&6; }
2996 rm -f confinc confmf
2998 # Check whether --enable-dependency-tracking was given.
2999 if test "${enable_dependency_tracking+set}" = set; then
3000 enableval
=$enable_dependency_tracking;
3003 if test "x$enable_dependency_tracking" != xno
; then
3004 am_depcomp
="$ac_aux_dir/depcomp"
3007 if test "x$enable_dependency_tracking" != xno; then
3017 depcc
="$CXX" am_compiler_list
=
3019 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3020 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3021 if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3022 echo $ECHO_N "(cached) $ECHO_C" >&6
3024 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3025 # We make a subdir and do the tests there. Otherwise we can end up
3026 # making bogus files that we don't know about and never remove. For
3027 # instance it was reported that on HP-UX the gcc test will end up
3028 # making a dummy file named `D' -- because `-MD' means `put the output
3031 # Copy depcomp to subdir because otherwise we won't find it if we're
3032 # using a relative directory.
3033 cp "$am_depcomp" conftest.dir
3035 # We will build objects and dependencies in a subdirectory because
3036 # it helps to detect inapplicable dependency modes. For instance
3037 # both Tru64's cc and ICC support -MD to output dependencies as a
3038 # side effect of compilation, but ICC will put the dependencies in
3039 # the current directory while Tru64 will put them in the object
3043 am_cv_CXX_dependencies_compiler_type
=none
3044 if test "$am_compiler_list" = ""; then
3045 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3047 for depmode
in $am_compiler_list; do
3048 # Setup a source with many dependencies, because some compilers
3049 # like to wrap large dependency lists on column 80 (with \), and
3050 # we should not choose a depcomp mode which is confused by this.
3052 # We need to recreate these files for each test, as the compiler may
3053 # overwrite some of them when testing with obscure command lines.
3054 # This happens at least with the AIX C compiler.
3056 for i
in 1 2 3 4 5 6; do
3057 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3058 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3059 # Solaris 8's {/usr,}/bin/sh.
3060 touch sub
/conftst
$i.h
3062 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3066 # after this tag, mechanisms are not by side-effect, so they'll
3067 # only be used when explicitly requested
3068 if test "x$enable_dependency_tracking" = xyes
; then
3076 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3077 # mode. It turns out that the SunPro C++ compiler does not properly
3078 # handle `-M -o', and we need to detect this.
3079 if depmode
=$depmode \
3080 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3081 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3082 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3083 >/dev
/null
2>conftest.err
&&
3084 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3085 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3086 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3087 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3088 # icc doesn't choke on unknown options, it will just issue warnings
3089 # or remarks (even with -Werror). So we grep stderr for any message
3090 # that says an option was ignored or not supported.
3091 # When given -MP, icc 7.0 and 7.1 complain thusly:
3092 # icc: Command line warning: ignoring option '-M'; no argument required
3093 # The diagnosis changed in icc 8.0:
3094 # icc: Command line remark: option '-MP' not supported
3095 if (grep 'ignoring option' conftest.err ||
3096 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3097 am_cv_CXX_dependencies_compiler_type
=$depmode
3106 am_cv_CXX_dependencies_compiler_type
=none
3110 { echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3111 echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3112 CXXDEPMODE
=depmode
=$am_cv_CXX_dependencies_compiler_type
3115 test "x$enable_dependency_tracking" != xno \
3116 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3
; then
3117 am__fastdepCXX_TRUE
=
3118 am__fastdepCXX_FALSE
='#'
3120 am__fastdepCXX_TRUE
='#'
3121 am__fastdepCXX_FALSE
=
3126 ac_cpp
='$CPP $CPPFLAGS'
3127 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3128 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3129 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3130 if test -n "$ac_tool_prefix"; then
3131 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3132 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
3133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3135 if test "${ac_cv_prog_CC+set}" = set; then
3136 echo $ECHO_N "(cached) $ECHO_C" >&6
3138 if test -n "$CC"; then
3139 ac_cv_prog_CC
="$CC" # Let the user override the test.
3141 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3145 test -z "$as_dir" && as_dir
=.
3146 for ac_exec_ext
in '' $ac_executable_extensions; do
3147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3148 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
3149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3159 if test -n "$CC"; then
3160 { echo "$as_me:$LINENO: result: $CC" >&5
3161 echo "${ECHO_T}$CC" >&6; }
3163 { echo "$as_me:$LINENO: result: no" >&5
3164 echo "${ECHO_T}no" >&6; }
3169 if test -z "$ac_cv_prog_CC"; then
3171 # Extract the first word of "gcc", so it can be a program name with args.
3172 set dummy gcc
; ac_word
=$2
3173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3175 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3176 echo $ECHO_N "(cached) $ECHO_C" >&6
3178 if test -n "$ac_ct_CC"; then
3179 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3181 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3185 test -z "$as_dir" && as_dir
=.
3186 for ac_exec_ext
in '' $ac_executable_extensions; do
3187 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3188 ac_cv_prog_ac_ct_CC
="gcc"
3189 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3198 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3199 if test -n "$ac_ct_CC"; then
3200 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3201 echo "${ECHO_T}$ac_ct_CC" >&6; }
3203 { echo "$as_me:$LINENO: result: no" >&5
3204 echo "${ECHO_T}no" >&6; }
3207 if test "x$ac_ct_CC" = x
; then
3210 case $cross_compiling:$ac_tool_warned in
3212 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3213 whose name does not start with the host triplet. If you think this
3214 configuration is useful to you, please write to autoconf@gnu.org." >&5
3215 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3216 whose name does not start with the host triplet. If you think this
3217 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3218 ac_tool_warned
=yes ;;
3226 if test -z "$CC"; then
3227 if test -n "$ac_tool_prefix"; then
3228 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3229 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
3230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3232 if test "${ac_cv_prog_CC+set}" = set; then
3233 echo $ECHO_N "(cached) $ECHO_C" >&6
3235 if test -n "$CC"; then
3236 ac_cv_prog_CC
="$CC" # Let the user override the test.
3238 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3242 test -z "$as_dir" && as_dir
=.
3243 for ac_exec_ext
in '' $ac_executable_extensions; do
3244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3245 ac_cv_prog_CC
="${ac_tool_prefix}cc"
3246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3256 if test -n "$CC"; then
3257 { echo "$as_me:$LINENO: result: $CC" >&5
3258 echo "${ECHO_T}$CC" >&6; }
3260 { echo "$as_me:$LINENO: result: no" >&5
3261 echo "${ECHO_T}no" >&6; }
3267 if test -z "$CC"; then
3268 # Extract the first word of "cc", so it can be a program name with args.
3269 set dummy cc
; ac_word
=$2
3270 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3271 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3272 if test "${ac_cv_prog_CC+set}" = set; then
3273 echo $ECHO_N "(cached) $ECHO_C" >&6
3275 if test -n "$CC"; then
3276 ac_cv_prog_CC
="$CC" # Let the user override the test.
3279 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3283 test -z "$as_dir" && as_dir
=.
3284 for ac_exec_ext
in '' $ac_executable_extensions; do
3285 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3286 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3287 ac_prog_rejected
=yes
3291 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3298 if test $ac_prog_rejected = yes; then
3299 # We found a bogon in the path, so make sure we never use it.
3300 set dummy
$ac_cv_prog_CC
3302 if test $# != 0; then
3303 # We chose a different compiler from the bogus one.
3304 # However, it has the same basename, so the bogon will be chosen
3305 # first if we set CC to just the basename; use the full file name.
3307 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
3313 if test -n "$CC"; then
3314 { echo "$as_me:$LINENO: result: $CC" >&5
3315 echo "${ECHO_T}$CC" >&6; }
3317 { echo "$as_me:$LINENO: result: no" >&5
3318 echo "${ECHO_T}no" >&6; }
3323 if test -z "$CC"; then
3324 if test -n "$ac_tool_prefix"; then
3325 for ac_prog
in cl.exe
3327 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3328 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3329 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3330 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3331 if test "${ac_cv_prog_CC+set}" = set; then
3332 echo $ECHO_N "(cached) $ECHO_C" >&6
3334 if test -n "$CC"; then
3335 ac_cv_prog_CC
="$CC" # Let the user override the test.
3337 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3341 test -z "$as_dir" && as_dir
=.
3342 for ac_exec_ext
in '' $ac_executable_extensions; do
3343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3344 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
3345 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3355 if test -n "$CC"; then
3356 { echo "$as_me:$LINENO: result: $CC" >&5
3357 echo "${ECHO_T}$CC" >&6; }
3359 { echo "$as_me:$LINENO: result: no" >&5
3360 echo "${ECHO_T}no" >&6; }
3364 test -n "$CC" && break
3367 if test -z "$CC"; then
3369 for ac_prog
in cl.exe
3371 # Extract the first word of "$ac_prog", so it can be a program name with args.
3372 set dummy
$ac_prog; ac_word
=$2
3373 { echo "$as_me:$LINENO: checking for $ac_word" >&5
3374 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3375 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3376 echo $ECHO_N "(cached) $ECHO_C" >&6
3378 if test -n "$ac_ct_CC"; then
3379 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
3381 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3385 test -z "$as_dir" && as_dir
=.
3386 for ac_exec_ext
in '' $ac_executable_extensions; do
3387 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3388 ac_cv_prog_ac_ct_CC
="$ac_prog"
3389 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3398 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
3399 if test -n "$ac_ct_CC"; then
3400 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3401 echo "${ECHO_T}$ac_ct_CC" >&6; }
3403 { echo "$as_me:$LINENO: result: no" >&5
3404 echo "${ECHO_T}no" >&6; }
3408 test -n "$ac_ct_CC" && break
3411 if test "x$ac_ct_CC" = x
; then
3414 case $cross_compiling:$ac_tool_warned in
3416 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3417 whose name does not start with the host triplet. If you think this
3418 configuration is useful to you, please write to autoconf@gnu.org." >&5
3419 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3420 whose name does not start with the host triplet. If you think this
3421 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3422 ac_tool_warned
=yes ;;
3431 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3432 See \`config.log' for more details." >&5
3433 echo "$as_me: error: no acceptable C compiler found in \$PATH
3434 See \`config.log' for more details." >&2;}
3435 { (exit 1); exit 1; }; }
3437 # Provide some information about the compiler.
3438 echo "$as_me:$LINENO: checking for C compiler version" >&5
3439 ac_compiler
=`set X $ac_compile; echo $2`
3440 { (ac_try
="$ac_compiler --version >&5"
3442 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3443 *) ac_try_echo=$ac_try;;
3445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3446 (eval "$ac_compiler --version >&5") 2>&5
3448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3449 (exit $ac_status); }
3450 { (ac_try="$ac_compiler -v >&5"
3452 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3453 *) ac_try_echo
=$ac_try;;
3455 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3456 (eval "$ac_compiler -v >&5") 2>&5
3458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3459 (exit $ac_status); }
3460 { (ac_try
="$ac_compiler -V >&5"
3462 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3463 *) ac_try_echo=$ac_try;;
3465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3466 (eval "$ac_compiler -V >&5") 2>&5
3468 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3469 (exit $ac_status); }
3471 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3472 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3473 if test "${ac_cv_c_compiler_gnu+set}" = set; then
3474 echo $ECHO_N "(cached) $ECHO_C" >&6
3476 cat >conftest.$ac_ext <<_ACEOF
3479 cat confdefs.h >>conftest.$ac_ext
3480 cat >>conftest.$ac_ext <<_ACEOF
3481 /* end confdefs.h. */
3494 rm -f conftest.$ac_objext
3495 if { (ac_try="$ac_compile"
3497 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3498 *) ac_try_echo
=$ac_try;;
3500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3501 (eval "$ac_compile") 2>conftest.er1
3503 grep -v '^ *+' conftest.er1
>conftest.err
3505 cat conftest.err
>&5
3506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3507 (exit $ac_status); } && {
3508 test -z "$ac_c_werror_flag" ||
3509 test ! -s conftest.err
3510 } && test -s conftest.
$ac_objext; then
3513 echo "$as_me: failed program was:" >&5
3514 sed 's/^/| /' conftest.
$ac_ext >&5
3519 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3520 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
3523 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3524 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3525 GCC
=`test $ac_compiler_gnu = yes && echo yes`
3526 ac_test_CFLAGS
=${CFLAGS+set}
3527 ac_save_CFLAGS
=$CFLAGS
3528 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3529 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3530 if test "${ac_cv_prog_cc_g+set}" = set; then
3531 echo $ECHO_N "(cached) $ECHO_C" >&6
3533 ac_save_c_werror_flag
=$ac_c_werror_flag
3534 ac_c_werror_flag
=yes
3537 cat >conftest.
$ac_ext <<_ACEOF
3540 cat confdefs.h
>>conftest.
$ac_ext
3541 cat >>conftest.
$ac_ext <<_ACEOF
3542 /* end confdefs.h. */
3552 rm -f conftest.
$ac_objext
3553 if { (ac_try
="$ac_compile"
3555 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3556 *) ac_try_echo=$ac_try;;
3558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3559 (eval "$ac_compile") 2>conftest.er1
3561 grep -v '^ *+' conftest.er1 >conftest.err
3563 cat conftest.err >&5
3564 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3565 (exit $ac_status); } && {
3566 test -z "$ac_c_werror_flag" ||
3567 test ! -s conftest.err
3568 } && test -s conftest.$ac_objext; then
3571 echo "$as_me: failed program was:" >&5
3572 sed 's/^/| /' conftest.$ac_ext >&5
3575 cat >conftest.$ac_ext <<_ACEOF
3578 cat confdefs.h >>conftest.$ac_ext
3579 cat >>conftest.$ac_ext <<_ACEOF
3580 /* end confdefs.h. */
3590 rm -f conftest.$ac_objext
3591 if { (ac_try="$ac_compile"
3593 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3594 *) ac_try_echo
=$ac_try;;
3596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3597 (eval "$ac_compile") 2>conftest.er1
3599 grep -v '^ *+' conftest.er1
>conftest.err
3601 cat conftest.err
>&5
3602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3603 (exit $ac_status); } && {
3604 test -z "$ac_c_werror_flag" ||
3605 test ! -s conftest.err
3606 } && test -s conftest.
$ac_objext; then
3609 echo "$as_me: failed program was:" >&5
3610 sed 's/^/| /' conftest.
$ac_ext >&5
3612 ac_c_werror_flag
=$ac_save_c_werror_flag
3614 cat >conftest.
$ac_ext <<_ACEOF
3617 cat confdefs.h
>>conftest.
$ac_ext
3618 cat >>conftest.
$ac_ext <<_ACEOF
3619 /* end confdefs.h. */
3629 rm -f conftest.
$ac_objext
3630 if { (ac_try
="$ac_compile"
3632 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3633 *) ac_try_echo=$ac_try;;
3635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3636 (eval "$ac_compile") 2>conftest.er1
3638 grep -v '^ *+' conftest.er1 >conftest.err
3640 cat conftest.err >&5
3641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3642 (exit $ac_status); } && {
3643 test -z "$ac_c_werror_flag" ||
3644 test ! -s conftest.err
3645 } && test -s conftest.$ac_objext; then
3648 echo "$as_me: failed program was:" >&5
3649 sed 's/^/| /' conftest.$ac_ext >&5
3654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3661 ac_c_werror_flag=$ac_save_c_werror_flag
3663 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3664 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3665 if test "$ac_test_CFLAGS" = set; then
3666 CFLAGS=$ac_save_CFLAGS
3667 elif test $ac_cv_prog_cc_g = yes; then
3668 if test "$GCC" = yes; then
3674 if test "$GCC" = yes; then
3680 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3681 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3682 if test "${ac_cv_prog_cc_c89+set}" = set; then
3683 echo $ECHO_N "(cached) $ECHO_C" >&6
3685 ac_cv_prog_cc_c89=no
3687 cat >conftest.$ac_ext <<_ACEOF
3690 cat confdefs.h >>conftest.$ac_ext
3691 cat >>conftest.$ac_ext <<_ACEOF
3692 /* end confdefs.h. */
3695 #include <sys/types.h>
3696 #include <sys/stat.h>
3697 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3698 struct buf { int x; };
3699 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3700 static char *e (p, i)
3706 static char *f (char * (*g) (char **, int), char **p, ...)
3711 s = g (p, va_arg (v,int));
3716 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3717 function prototypes and stuff, but not '\xHH' hex character constants.
3718 These don't provoke an error unfortunately, instead are silently treated
3719 as 'x'. The following induces an error, until -std is added to get
3720 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3721 array size at least. It's necessary to write '\x00'==0 to get something
3722 that's true only with -std. */
3723 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3725 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3726 inside strings and character constants. */
3728 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3730 int test (int i, double x);
3731 struct s1 {int (*f) (int a);};
3732 struct s2 {int (*f) (double a);};
3733 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3739 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3744 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3745 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3747 CC="$ac_save_CC $ac_arg"
3748 rm -f conftest.$ac_objext
3749 if { (ac_try="$ac_compile"
3751 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3752 *) ac_try_echo
=$ac_try;;
3754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3755 (eval "$ac_compile") 2>conftest.er1
3757 grep -v '^ *+' conftest.er1
>conftest.err
3759 cat conftest.err
>&5
3760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3761 (exit $ac_status); } && {
3762 test -z "$ac_c_werror_flag" ||
3763 test ! -s conftest.err
3764 } && test -s conftest.
$ac_objext; then
3765 ac_cv_prog_cc_c89
=$ac_arg
3767 echo "$as_me: failed program was:" >&5
3768 sed 's/^/| /' conftest.
$ac_ext >&5
3773 rm -f core conftest.err conftest.
$ac_objext
3774 test "x$ac_cv_prog_cc_c89" != "xno" && break
3776 rm -f conftest.
$ac_ext
3781 case "x$ac_cv_prog_cc_c89" in
3783 { echo "$as_me:$LINENO: result: none needed" >&5
3784 echo "${ECHO_T}none needed" >&6; } ;;
3786 { echo "$as_me:$LINENO: result: unsupported" >&5
3787 echo "${ECHO_T}unsupported" >&6; } ;;
3789 CC
="$CC $ac_cv_prog_cc_c89"
3790 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3791 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3796 ac_cpp
='$CXXCPP $CPPFLAGS'
3797 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3801 depcc
="$CC" am_compiler_list
=
3803 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3804 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3805 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3806 echo $ECHO_N "(cached) $ECHO_C" >&6
3808 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3809 # We make a subdir and do the tests there. Otherwise we can end up
3810 # making bogus files that we don't know about and never remove. For
3811 # instance it was reported that on HP-UX the gcc test will end up
3812 # making a dummy file named `D' -- because `-MD' means `put the output
3815 # Copy depcomp to subdir because otherwise we won't find it if we're
3816 # using a relative directory.
3817 cp "$am_depcomp" conftest.dir
3819 # We will build objects and dependencies in a subdirectory because
3820 # it helps to detect inapplicable dependency modes. For instance
3821 # both Tru64's cc and ICC support -MD to output dependencies as a
3822 # side effect of compilation, but ICC will put the dependencies in
3823 # the current directory while Tru64 will put them in the object
3827 am_cv_CC_dependencies_compiler_type
=none
3828 if test "$am_compiler_list" = ""; then
3829 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3831 for depmode
in $am_compiler_list; do
3832 # Setup a source with many dependencies, because some compilers
3833 # like to wrap large dependency lists on column 80 (with \), and
3834 # we should not choose a depcomp mode which is confused by this.
3836 # We need to recreate these files for each test, as the compiler may
3837 # overwrite some of them when testing with obscure command lines.
3838 # This happens at least with the AIX C compiler.
3840 for i
in 1 2 3 4 5 6; do
3841 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3842 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3843 # Solaris 8's {/usr,}/bin/sh.
3844 touch sub
/conftst
$i.h
3846 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3850 # after this tag, mechanisms are not by side-effect, so they'll
3851 # only be used when explicitly requested
3852 if test "x$enable_dependency_tracking" = xyes
; then
3860 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3861 # mode. It turns out that the SunPro C++ compiler does not properly
3862 # handle `-M -o', and we need to detect this.
3863 if depmode
=$depmode \
3864 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3865 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3866 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3867 >/dev
/null
2>conftest.err
&&
3868 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3869 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3870 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3871 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3872 # icc doesn't choke on unknown options, it will just issue warnings
3873 # or remarks (even with -Werror). So we grep stderr for any message
3874 # that says an option was ignored or not supported.
3875 # When given -MP, icc 7.0 and 7.1 complain thusly:
3876 # icc: Command line warning: ignoring option '-M'; no argument required
3877 # The diagnosis changed in icc 8.0:
3878 # icc: Command line remark: option '-MP' not supported
3879 if (grep 'ignoring option' conftest.err ||
3880 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3881 am_cv_CC_dependencies_compiler_type
=$depmode
3890 am_cv_CC_dependencies_compiler_type
=none
3894 { echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
3895 echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
3896 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
3899 test "x$enable_dependency_tracking" != xno \
3900 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
3902 am__fastdepCC_FALSE
='#'
3904 am__fastdepCC_TRUE
='#'
3905 am__fastdepCC_FALSE
=
3909 # By default we simply use the C compiler to build assembly code.
3911 test "${CCAS+set}" = set || CCAS
=$CC
3912 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
3916 depcc
="$CCAS" am_compiler_list
=
3918 { echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3919 echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3920 if test "${am_cv_CCAS_dependencies_compiler_type+set}" = set; then
3921 echo $ECHO_N "(cached) $ECHO_C" >&6
3923 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3924 # We make a subdir and do the tests there. Otherwise we can end up
3925 # making bogus files that we don't know about and never remove. For
3926 # instance it was reported that on HP-UX the gcc test will end up
3927 # making a dummy file named `D' -- because `-MD' means `put the output
3930 # Copy depcomp to subdir because otherwise we won't find it if we're
3931 # using a relative directory.
3932 cp "$am_depcomp" conftest.dir
3934 # We will build objects and dependencies in a subdirectory because
3935 # it helps to detect inapplicable dependency modes. For instance
3936 # both Tru64's cc and ICC support -MD to output dependencies as a
3937 # side effect of compilation, but ICC will put the dependencies in
3938 # the current directory while Tru64 will put them in the object
3942 am_cv_CCAS_dependencies_compiler_type
=none
3943 if test "$am_compiler_list" = ""; then
3944 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3946 for depmode
in $am_compiler_list; do
3947 # Setup a source with many dependencies, because some compilers
3948 # like to wrap large dependency lists on column 80 (with \), and
3949 # we should not choose a depcomp mode which is confused by this.
3951 # We need to recreate these files for each test, as the compiler may
3952 # overwrite some of them when testing with obscure command lines.
3953 # This happens at least with the AIX C compiler.
3955 for i
in 1 2 3 4 5 6; do
3956 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
3957 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3958 # Solaris 8's {/usr,}/bin/sh.
3959 touch sub
/conftst
$i.h
3961 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3965 # after this tag, mechanisms are not by side-effect, so they'll
3966 # only be used when explicitly requested
3967 if test "x$enable_dependency_tracking" = xyes
; then
3975 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3976 # mode. It turns out that the SunPro C++ compiler does not properly
3977 # handle `-M -o', and we need to detect this.
3978 if depmode
=$depmode \
3979 source=sub
/conftest.c object
=sub
/conftest.
${OBJEXT-o} \
3980 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
3981 $SHELL .
/depcomp
$depcc -c -o sub
/conftest.
${OBJEXT-o} sub
/conftest.c \
3982 >/dev
/null
2>conftest.err
&&
3983 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3984 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
3985 grep sub
/conftest.
${OBJEXT-o} sub
/conftest.Po
> /dev
/null
2>&1 &&
3986 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
3987 # icc doesn't choke on unknown options, it will just issue warnings
3988 # or remarks (even with -Werror). So we grep stderr for any message
3989 # that says an option was ignored or not supported.
3990 # When given -MP, icc 7.0 and 7.1 complain thusly:
3991 # icc: Command line warning: ignoring option '-M'; no argument required
3992 # The diagnosis changed in icc 8.0:
3993 # icc: Command line remark: option '-MP' not supported
3994 if (grep 'ignoring option' conftest.err ||
3995 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
3996 am_cv_CCAS_dependencies_compiler_type
=$depmode
4005 am_cv_CCAS_dependencies_compiler_type
=none
4009 { echo "$as_me:$LINENO: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4010 echo "${ECHO_T}$am_cv_CCAS_dependencies_compiler_type" >&6; }
4011 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4014 test "x$enable_dependency_tracking" != xno \
4015 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4016 am__fastdepCCAS_TRUE
=
4017 am__fastdepCCAS_FALSE
='#'
4019 am__fastdepCCAS_TRUE
='#'
4020 am__fastdepCCAS_FALSE
=
4024 # Find a good install program. We prefer a C program (faster),
4025 # so one script is as good as another. But avoid the broken or
4026 # incompatible versions:
4027 # SysV /etc/install, /usr/sbin/install
4028 # SunOS /usr/etc/install
4029 # IRIX /sbin/install
4031 # AmigaOS /C/install, which installs bootblocks on floppy discs
4032 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4033 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
4034 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4035 # OS/2's system install, which has a completely different semantic
4036 # ./install, which can be erroneously created by make from ./install.sh.
4037 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4038 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4039 if test -z "$INSTALL"; then
4040 if test "${ac_cv_path_install+set}" = set; then
4041 echo $ECHO_N "(cached) $ECHO_C" >&6
4043 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4047 test -z "$as_dir" && as_dir
=.
4048 # Account for people who put trailing slashes in PATH elements.
4050 .
/ | .
// |
/cC
/* | \
4051 /etc
/* |
/usr
/sbin
/* |
/usr
/etc
/* |
/sbin
/* |
/usr
/afsws
/bin
/* | \
4052 ?
:\\/os2
\\/install\\/* | ?
:\\/OS2
\\/INSTALL
\\/* | \
4055 # OSF1 and SCO ODT 3.0 have their own names for install.
4056 # Don't use installbsd from OSF since it installs stuff as root
4058 for ac_prog
in ginstall scoinst
install; do
4059 for ac_exec_ext
in '' $ac_executable_extensions; do
4060 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
4061 if test $ac_prog = install &&
4062 grep dspmsg
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4063 # AIX install. It has an incompatible calling convention.
4065 elif test $ac_prog = install &&
4066 grep pwplus
"$as_dir/$ac_prog$ac_exec_ext" >/dev
/null
2>&1; then
4067 # program-specific install script used by HP pwplus--don't use.
4070 ac_cv_path_install
="$as_dir/$ac_prog$ac_exec_ext -c"
4083 if test "${ac_cv_path_install+set}" = set; then
4084 INSTALL
=$ac_cv_path_install
4086 # As a last resort, use the slow shell script. Don't cache a
4087 # value for INSTALL within a source directory, because that will
4088 # break other packages using the cache if that directory is
4089 # removed, or if the value is a relative name.
4090 INSTALL
=$ac_install_sh
4093 { echo "$as_me:$LINENO: result: $INSTALL" >&5
4094 echo "${ECHO_T}$INSTALL" >&6; }
4096 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4097 # It thinks the first close brace ends the variable substitution.
4098 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM
='${INSTALL}'
4100 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT
='${INSTALL}'
4102 test -z "$INSTALL_DATA" && INSTALL_DATA
='${INSTALL} -m 644'
4105 # Make sure we can run config.sub.
4106 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4107 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4108 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4109 { (exit 1); exit 1; }; }
4111 { echo "$as_me:$LINENO: checking build system type" >&5
4112 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4113 if test "${ac_cv_build+set}" = set; then
4114 echo $ECHO_N "(cached) $ECHO_C" >&6
4116 ac_build_alias
=$build_alias
4117 test "x$ac_build_alias" = x
&&
4118 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4119 test "x$ac_build_alias" = x
&&
4120 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4121 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4122 { (exit 1); exit 1; }; }
4123 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4124 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4125 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4126 { (exit 1); exit 1; }; }
4129 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4130 echo "${ECHO_T}$ac_cv_build" >&6; }
4131 case $ac_cv_build in
4133 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4134 echo "$as_me: error: invalid value of canonical build" >&2;}
4135 { (exit 1); exit 1; }; };;
4138 ac_save_IFS
=$IFS; IFS
='-'
4144 # Remember, the first character of IFS is used to create $*,
4145 # except with old shells:
4148 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4151 { echo "$as_me:$LINENO: checking host system type" >&5
4152 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4153 if test "${ac_cv_host+set}" = set; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4156 if test "x$host_alias" = x
; then
4157 ac_cv_host
=$ac_cv_build
4159 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4160 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4161 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4162 { (exit 1); exit 1; }; }
4166 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4167 echo "${ECHO_T}$ac_cv_host" >&6; }
4170 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4171 echo "$as_me: error: invalid value of canonical host" >&2;}
4172 { (exit 1); exit 1; }; };;
4175 ac_save_IFS
=$IFS; IFS
='-'
4181 # Remember, the first character of IFS is used to create $*,
4182 # except with old shells:
4185 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4190 CPPFLAGS
="$CPPFLAGS -mno-cygwin"
4191 LDFLAGS
="$LDFLAGS -mno-cygwin"
4192 CPPFLAGS
="$CPPFLAGS -idirafter ${srcdir}/posix -idirafter ${srcdir}/os_win32"
4195 CPPFLAGS
="$CPPFLAGS -I/usr/src/sys"
4199 # AC_SEARCH_LIBS (FUNCTION, SEARCH-LIBS, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [OTHER-LIBRARIES])
4200 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
4201 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
4202 if test "${ac_cv_search_gethostbyname+set}" = set; then
4203 echo $ECHO_N "(cached) $ECHO_C" >&6
4205 ac_func_search_save_LIBS
=$LIBS
4206 cat >conftest.
$ac_ext <<_ACEOF
4209 cat confdefs.h
>>conftest.
$ac_ext
4210 cat >>conftest.
$ac_ext <<_ACEOF
4211 /* end confdefs.h. */
4213 /* Override any GCC internal prototype to avoid an error.
4214 Use char because int might match the return type of a GCC
4215 builtin and then its argument prototype would still apply. */
4219 char gethostbyname ();
4223 return gethostbyname ();
4228 for ac_lib
in '' nsl
; do
4229 if test -z "$ac_lib"; then
4230 ac_res
="none required"
4233 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
4235 rm -f conftest.
$ac_objext conftest
$ac_exeext
4236 if { (ac_try
="$ac_link"
4238 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4239 *) ac_try_echo=$ac_try;;
4241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4242 (eval "$ac_link") 2>conftest.er1
4244 grep -v '^ *+' conftest.er1 >conftest.err
4246 cat conftest.err >&5
4247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4248 (exit $ac_status); } && {
4249 test -z "$ac_cxx_werror_flag" ||
4250 test ! -s conftest.err
4251 } && test -s conftest$ac_exeext &&
4252 $as_test_x conftest$ac_exeext; then
4253 ac_cv_search_gethostbyname=$ac_res
4255 echo "$as_me: failed program was:" >&5
4256 sed 's/^/| /' conftest.$ac_ext >&5
4261 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
4263 if test "${ac_cv_search_gethostbyname+set}" = set; then
4267 if test "${ac_cv_search_gethostbyname+set}" = set; then
4270 ac_cv_search_gethostbyname=no
4273 LIBS=$ac_func_search_save_LIBS
4275 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4276 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
4277 ac_res=$ac_cv_search_gethostbyname
4278 if test "$ac_res" != no; then
4279 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4282 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
4283 echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
4284 if test "${ac_cv_search_gethostbyname+set}" = set; then
4285 echo $ECHO_N "(cached) $ECHO_C" >&6
4287 ac_func_search_save_LIBS=$LIBS
4288 cat >conftest.$ac_ext <<_ACEOF
4291 cat confdefs.h >>conftest.$ac_ext
4292 cat >>conftest.$ac_ext <<_ACEOF
4293 /* end confdefs.h. */
4295 /* Override any GCC internal prototype to avoid an error.
4296 Use char because int might match the return type of a GCC
4297 builtin and then its argument prototype would still apply. */
4301 char gethostbyname ();
4305 return gethostbyname ();
4310 for ac_lib in '' nsl; do
4311 if test -z "$ac_lib"; then
4312 ac_res="none required"
4315 LIBS="-l$ac_lib -lsocket $ac_func_search_save_LIBS"
4318 rm -f conftest.$ac_objext conftest$ac_exeext
4319 if { (ac_try="$ac_link"
4321 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4322 *) ac_try_echo
=$ac_try;;
4324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4325 (eval "$ac_link") 2>conftest.er1
4327 grep -v '^ *+' conftest.er1
>conftest.err
4329 cat conftest.err
>&5
4330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4331 (exit $ac_status); } && {
4332 test -z "$ac_cxx_werror_flag" ||
4333 test ! -s conftest.err
4334 } && test -s conftest
$ac_exeext &&
4335 $as_test_x conftest
$ac_exeext; then
4336 ac_cv_search_gethostbyname
=$ac_res
4338 echo "$as_me: failed program was:" >&5
4339 sed 's/^/| /' conftest.
$ac_ext >&5
4344 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
4346 if test "${ac_cv_search_gethostbyname+set}" = set; then
4350 if test "${ac_cv_search_gethostbyname+set}" = set; then
4353 ac_cv_search_gethostbyname
=no
4356 LIBS
=$ac_func_search_save_LIBS
4358 { echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4359 echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
4360 ac_res
=$ac_cv_search_gethostbyname
4361 if test "$ac_res" != no
; then
4362 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
4370 ac_cpp
='$CXXCPP $CPPFLAGS'
4371 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4374 { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4375 echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4376 if test -z "$CXXCPP"; then
4377 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4378 echo $ECHO_N "(cached) $ECHO_C" >&6
4380 # Double quotes because CXXCPP needs to be expanded
4381 for CXXCPP
in "$CXX -E" "/lib/cpp"
4384 for ac_cxx_preproc_warn_flag
in '' yes
4386 # Use a header file that comes with gcc, so configuring glibc
4387 # with a fresh cross-compiler works.
4388 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4389 # <limits.h> exists even on freestanding compilers.
4390 # On the NeXT, cc -E runs the code through the compiler's parser,
4391 # not just through cpp. "Syntax error" is here to catch this case.
4392 cat >conftest.
$ac_ext <<_ACEOF
4395 cat confdefs.h
>>conftest.
$ac_ext
4396 cat >>conftest.
$ac_ext <<_ACEOF
4397 /* end confdefs.h. */
4399 # include <limits.h>
4401 # include <assert.h>
4405 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4407 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4408 *) ac_try_echo=$ac_try;;
4410 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4411 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4413 grep -v '^ *+' conftest.er1 >conftest.err
4415 cat conftest.err >&5
4416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4417 (exit $ac_status); } >/dev/null && {
4418 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4419 test ! -s conftest.err
4423 echo "$as_me: failed program was:" >&5
4424 sed 's/^/| /' conftest.$ac_ext >&5
4426 # Broken: fails on valid input.
4430 rm -f conftest.err conftest.$ac_ext
4432 # OK, works on sane cases. Now check whether nonexistent headers
4433 # can be detected and how.
4434 cat >conftest.$ac_ext <<_ACEOF
4437 cat confdefs.h >>conftest.$ac_ext
4438 cat >>conftest.$ac_ext <<_ACEOF
4439 /* end confdefs.h. */
4440 #include <ac_nonexistent.h>
4442 if { (ac_try="$ac_cpp conftest.$ac_ext"
4444 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4445 *) ac_try_echo
=$ac_try;;
4447 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4448 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4450 grep -v '^ *+' conftest.er1
>conftest.err
4452 cat conftest.err
>&5
4453 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4454 (exit $ac_status); } >/dev
/null
&& {
4455 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4456 test ! -s conftest.err
4458 # Broken: success on invalid input.
4461 echo "$as_me: failed program was:" >&5
4462 sed 's/^/| /' conftest.
$ac_ext >&5
4464 # Passes both tests.
4469 rm -f conftest.err conftest.
$ac_ext
4472 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4473 rm -f conftest.err conftest.
$ac_ext
4474 if $ac_preproc_ok; then
4479 ac_cv_prog_CXXCPP
=$CXXCPP
4482 CXXCPP
=$ac_cv_prog_CXXCPP
4484 ac_cv_prog_CXXCPP
=$CXXCPP
4486 { echo "$as_me:$LINENO: result: $CXXCPP" >&5
4487 echo "${ECHO_T}$CXXCPP" >&6; }
4489 for ac_cxx_preproc_warn_flag
in '' yes
4491 # Use a header file that comes with gcc, so configuring glibc
4492 # with a fresh cross-compiler works.
4493 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4494 # <limits.h> exists even on freestanding compilers.
4495 # On the NeXT, cc -E runs the code through the compiler's parser,
4496 # not just through cpp. "Syntax error" is here to catch this case.
4497 cat >conftest.
$ac_ext <<_ACEOF
4500 cat confdefs.h
>>conftest.
$ac_ext
4501 cat >>conftest.
$ac_ext <<_ACEOF
4502 /* end confdefs.h. */
4504 # include <limits.h>
4506 # include <assert.h>
4510 if { (ac_try
="$ac_cpp conftest.$ac_ext"
4512 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4513 *) ac_try_echo=$ac_try;;
4515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4516 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4518 grep -v '^ *+' conftest.er1 >conftest.err
4520 cat conftest.err >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); } >/dev/null && {
4523 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4524 test ! -s conftest.err
4528 echo "$as_me: failed program was:" >&5
4529 sed 's/^/| /' conftest.$ac_ext >&5
4531 # Broken: fails on valid input.
4535 rm -f conftest.err conftest.$ac_ext
4537 # OK, works on sane cases. Now check whether nonexistent headers
4538 # can be detected and how.
4539 cat >conftest.$ac_ext <<_ACEOF
4542 cat confdefs.h >>conftest.$ac_ext
4543 cat >>conftest.$ac_ext <<_ACEOF
4544 /* end confdefs.h. */
4545 #include <ac_nonexistent.h>
4547 if { (ac_try="$ac_cpp conftest.$ac_ext"
4549 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4550 *) ac_try_echo
=$ac_try;;
4552 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4553 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4555 grep -v '^ *+' conftest.er1
>conftest.err
4557 cat conftest.err
>&5
4558 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4559 (exit $ac_status); } >/dev
/null
&& {
4560 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
4561 test ! -s conftest.err
4563 # Broken: success on invalid input.
4566 echo "$as_me: failed program was:" >&5
4567 sed 's/^/| /' conftest.
$ac_ext >&5
4569 # Passes both tests.
4574 rm -f conftest.err conftest.
$ac_ext
4577 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4578 rm -f conftest.err conftest.
$ac_ext
4579 if $ac_preproc_ok; then
4582 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4583 See \`config.log' for more details." >&5
4584 echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4585 See \`config.log' for more details." >&2;}
4586 { (exit 1); exit 1; }; }
4590 ac_cpp
='$CXXCPP $CPPFLAGS'
4591 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4592 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4593 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4596 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4597 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4598 if test "${ac_cv_path_GREP+set}" = set; then
4599 echo $ECHO_N "(cached) $ECHO_C" >&6
4601 # Extract the first word of "grep ggrep" to use in msg output
4602 if test -z "$GREP"; then
4603 set dummy
grep ggrep
; ac_prog_name
=$2
4604 if test "${ac_cv_path_GREP+set}" = set; then
4605 echo $ECHO_N "(cached) $ECHO_C" >&6
4607 ac_path_GREP_found
=false
4608 # Loop through the user's path and test for each of PROGNAME-LIST
4609 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4610 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4613 test -z "$as_dir" && as_dir
=.
4614 for ac_prog
in grep ggrep
; do
4615 for ac_exec_ext
in '' $ac_executable_extensions; do
4616 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
4617 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
4618 # Check for GNU ac_path_GREP and select it if it is found.
4619 # Check for GNU $ac_path_GREP
4620 case `"$ac_path_GREP" --version 2>&1` in
4622 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
4625 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4628 cat "conftest.in" "conftest.in" >"conftest.tmp"
4629 mv "conftest.tmp" "conftest.in"
4630 cp "conftest.in" "conftest.nl"
4631 echo 'GREP' >> "conftest.nl"
4632 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4633 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4634 ac_count
=`expr $ac_count + 1`
4635 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4636 # Best one so far, save it but keep looking for a better one
4637 ac_cv_path_GREP
="$ac_path_GREP"
4638 ac_path_GREP_max
=$ac_count
4640 # 10*(2^10) chars as input seems more than enough
4641 test $ac_count -gt 10 && break
4643 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4647 $ac_path_GREP_found && break 3
4657 GREP
="$ac_cv_path_GREP"
4658 if test -z "$GREP"; then
4659 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4660 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4661 { (exit 1); exit 1; }; }
4665 ac_cv_path_GREP
=$GREP
4670 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4671 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4672 GREP
="$ac_cv_path_GREP"
4675 { echo "$as_me:$LINENO: checking for egrep" >&5
4676 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4677 if test "${ac_cv_path_EGREP+set}" = set; then
4678 echo $ECHO_N "(cached) $ECHO_C" >&6
4680 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
4681 then ac_cv_path_EGREP
="$GREP -E"
4683 # Extract the first word of "egrep" to use in msg output
4684 if test -z "$EGREP"; then
4685 set dummy
egrep; ac_prog_name
=$2
4686 if test "${ac_cv_path_EGREP+set}" = set; then
4687 echo $ECHO_N "(cached) $ECHO_C" >&6
4689 ac_path_EGREP_found
=false
4690 # Loop through the user's path and test for each of PROGNAME-LIST
4691 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4692 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
4695 test -z "$as_dir" && as_dir
=.
4696 for ac_prog
in egrep; do
4697 for ac_exec_ext
in '' $ac_executable_extensions; do
4698 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
4699 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
4700 # Check for GNU ac_path_EGREP and select it if it is found.
4701 # Check for GNU $ac_path_EGREP
4702 case `"$ac_path_EGREP" --version 2>&1` in
4704 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
4707 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4710 cat "conftest.in" "conftest.in" >"conftest.tmp"
4711 mv "conftest.tmp" "conftest.in"
4712 cp "conftest.in" "conftest.nl"
4713 echo 'EGREP' >> "conftest.nl"
4714 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
4715 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
4716 ac_count
=`expr $ac_count + 1`
4717 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4718 # Best one so far, save it but keep looking for a better one
4719 ac_cv_path_EGREP
="$ac_path_EGREP"
4720 ac_path_EGREP_max
=$ac_count
4722 # 10*(2^10) chars as input seems more than enough
4723 test $ac_count -gt 10 && break
4725 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
4729 $ac_path_EGREP_found && break 3
4739 EGREP
="$ac_cv_path_EGREP"
4740 if test -z "$EGREP"; then
4741 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4742 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4743 { (exit 1); exit 1; }; }
4747 ac_cv_path_EGREP
=$EGREP
4753 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4754 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4755 EGREP
="$ac_cv_path_EGREP"
4758 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4759 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4760 if test "${ac_cv_header_stdc+set}" = set; then
4761 echo $ECHO_N "(cached) $ECHO_C" >&6
4763 cat >conftest.
$ac_ext <<_ACEOF
4766 cat confdefs.h
>>conftest.
$ac_ext
4767 cat >>conftest.
$ac_ext <<_ACEOF
4768 /* end confdefs.h. */
4782 rm -f conftest.
$ac_objext
4783 if { (ac_try
="$ac_compile"
4785 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4786 *) ac_try_echo=$ac_try;;
4788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4789 (eval "$ac_compile") 2>conftest.er1
4791 grep -v '^ *+' conftest.er1 >conftest.err
4793 cat conftest.err >&5
4794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4795 (exit $ac_status); } && {
4796 test -z "$ac_cxx_werror_flag" ||
4797 test ! -s conftest.err
4798 } && test -s conftest.$ac_objext; then
4799 ac_cv_header_stdc=yes
4801 echo "$as_me: failed program was:" >&5
4802 sed 's/^/| /' conftest.$ac_ext >&5
4804 ac_cv_header_stdc=no
4807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4809 if test $ac_cv_header_stdc = yes; then
4810 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4811 cat >conftest.$ac_ext <<_ACEOF
4814 cat confdefs.h >>conftest.$ac_ext
4815 cat >>conftest.$ac_ext <<_ACEOF
4816 /* end confdefs.h. */
4820 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4821 $EGREP "memchr" >/dev/null 2>&1; then
4824 ac_cv_header_stdc=no
4830 if test $ac_cv_header_stdc = yes; then
4831 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4832 cat >conftest.$ac_ext <<_ACEOF
4835 cat confdefs.h >>conftest.$ac_ext
4836 cat >>conftest.$ac_ext <<_ACEOF
4837 /* end confdefs.h. */
4841 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4842 $EGREP "free" >/dev/null 2>&1; then
4845 ac_cv_header_stdc=no
4851 if test $ac_cv_header_stdc = yes; then
4852 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4853 if test "$cross_compiling" = yes; then
4856 cat >conftest.$ac_ext <<_ACEOF
4859 cat confdefs.h >>conftest.$ac_ext
4860 cat >>conftest.$ac_ext <<_ACEOF
4861 /* end confdefs.h. */
4864 #if ((' ' & 0x0FF) == 0x020)
4865 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4866 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4868 # define ISLOWER(c) \
4869 (('a' <= (c) && (c) <= 'i') \
4870 || ('j' <= (c) && (c) <= 'r') \
4871 || ('s' <= (c) && (c) <= 'z'))
4872 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4875 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4880 for (i = 0; i < 256; i++)
4881 if (XOR (islower (i), ISLOWER (i))
4882 || toupper (i) != TOUPPER (i))
4887 rm -f conftest$ac_exeext
4888 if { (ac_try="$ac_link"
4890 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4891 *) ac_try_echo
=$ac_try;;
4893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4894 (eval "$ac_link") 2>&5
4896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4897 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
4898 { (case "(($ac_try" in
4899 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
4900 *) ac_try_echo=$ac_try;;
4902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4903 (eval "$ac_try") 2>&5
4905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4906 (exit $ac_status); }; }; then
4909 echo "$as_me: program exited with status $ac_status" >&5
4910 echo "$as_me: failed program was:" >&5
4911 sed 's/^/| /' conftest.$ac_ext >&5
4914 ac_cv_header_stdc=no
4916 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
4922 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
4923 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
4924 if test $ac_cv_header_stdc = yes; then
4926 cat >>confdefs.h <<\_ACEOF
4927 #define STDC_HEADERS 1
4932 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4942 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4943 inttypes.h stdint.h unistd.h
4945 as_ac_Header=`echo "ac_cv_header_$ac_header" |
$as_tr_sh`
4946 { echo "$as_me:$LINENO: checking for $ac_header" >&5
4947 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
4948 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
4949 echo $ECHO_N "(cached) $ECHO_C" >&6
4951 cat >conftest.$ac_ext <<_ACEOF
4954 cat confdefs.h >>conftest.$ac_ext
4955 cat >>conftest.$ac_ext <<_ACEOF
4956 /* end confdefs.h. */
4957 $ac_includes_default
4959 #include <$ac_header>
4961 rm -f conftest.$ac_objext
4962 if { (ac_try="$ac_compile"
4964 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4965 *) ac_try_echo
=$ac_try;;
4967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4968 (eval "$ac_compile") 2>conftest.er1
4970 grep -v '^ *+' conftest.er1
>conftest.err
4972 cat conftest.err
>&5
4973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4974 (exit $ac_status); } && {
4975 test -z "$ac_cxx_werror_flag" ||
4976 test ! -s conftest.err
4977 } && test -s conftest.
$ac_objext; then
4978 eval "$as_ac_Header=yes"
4980 echo "$as_me: failed program was:" >&5
4981 sed 's/^/| /' conftest.
$ac_ext >&5
4983 eval "$as_ac_Header=no"
4986 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4988 ac_res
=`eval echo '${'$as_ac_Header'}'`
4989 { echo "$as_me:$LINENO: result: $ac_res" >&5
4990 echo "${ECHO_T}$ac_res" >&6; }
4991 if test `eval echo '${'$as_ac_Header'}'` = yes; then
4992 cat >>confdefs.h
<<_ACEOF
4993 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5002 for ac_header
in locale.h
5004 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5005 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5006 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5007 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5008 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5009 echo $ECHO_N "(cached) $ECHO_C" >&6
5011 ac_res
=`eval echo '${'$as_ac_Header'}'`
5012 { echo "$as_me:$LINENO: result: $ac_res" >&5
5013 echo "${ECHO_T}$ac_res" >&6; }
5015 # Is the header compilable?
5016 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5017 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5018 cat >conftest.
$ac_ext <<_ACEOF
5021 cat confdefs.h
>>conftest.
$ac_ext
5022 cat >>conftest.
$ac_ext <<_ACEOF
5023 /* end confdefs.h. */
5024 $ac_includes_default
5025 #include <$ac_header>
5027 rm -f conftest.
$ac_objext
5028 if { (ac_try
="$ac_compile"
5030 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5031 *) ac_try_echo=$ac_try;;
5033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5034 (eval "$ac_compile") 2>conftest.er1
5036 grep -v '^ *+' conftest.er1 >conftest.err
5038 cat conftest.err >&5
5039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5040 (exit $ac_status); } && {
5041 test -z "$ac_cxx_werror_flag" ||
5042 test ! -s conftest.err
5043 } && test -s conftest.$ac_objext; then
5044 ac_header_compiler=yes
5046 echo "$as_me: failed program was:" >&5
5047 sed 's/^/| /' conftest.$ac_ext >&5
5049 ac_header_compiler=no
5052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5053 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5054 echo "${ECHO_T}$ac_header_compiler" >&6; }
5056 # Is the header present?
5057 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5058 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5059 cat >conftest.$ac_ext <<_ACEOF
5062 cat confdefs.h >>conftest.$ac_ext
5063 cat >>conftest.$ac_ext <<_ACEOF
5064 /* end confdefs.h. */
5065 #include <$ac_header>
5067 if { (ac_try="$ac_cpp conftest.$ac_ext"
5069 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5070 *) ac_try_echo
=$ac_try;;
5072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5073 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5075 grep -v '^ *+' conftest.er1
>conftest.err
5077 cat conftest.err
>&5
5078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5079 (exit $ac_status); } >/dev
/null
&& {
5080 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5081 test ! -s conftest.err
5083 ac_header_preproc
=yes
5085 echo "$as_me: failed program was:" >&5
5086 sed 's/^/| /' conftest.
$ac_ext >&5
5088 ac_header_preproc
=no
5091 rm -f conftest.err conftest.
$ac_ext
5092 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5093 echo "${ECHO_T}$ac_header_preproc" >&6; }
5095 # So? What about this header?
5096 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5098 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5099 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5100 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5101 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5102 ac_header_preproc
=yes
5105 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5106 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5107 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5108 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5109 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5110 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5111 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5112 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5113 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5114 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5115 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5116 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5118 ## ---------------------------------------------------------- ##
5119 ## Report this to smartmontools-support@lists.sourceforge.net ##
5120 ## ---------------------------------------------------------- ##
5122 ) |
sed "s/^/$as_me: WARNING: /" >&2
5125 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5126 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5127 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5128 echo $ECHO_N "(cached) $ECHO_C" >&6
5130 eval "$as_ac_Header=\$ac_header_preproc"
5132 ac_res
=`eval echo '${'$as_ac_Header'}'`
5133 { echo "$as_me:$LINENO: result: $ac_res" >&5
5134 echo "${ECHO_T}$ac_res" >&6; }
5137 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5138 cat >>confdefs.h
<<_ACEOF
5139 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5147 for ac_header
in getopt.h
5149 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5150 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5151 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5152 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5153 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5154 echo $ECHO_N "(cached) $ECHO_C" >&6
5156 ac_res
=`eval echo '${'$as_ac_Header'}'`
5157 { echo "$as_me:$LINENO: result: $ac_res" >&5
5158 echo "${ECHO_T}$ac_res" >&6; }
5160 # Is the header compilable?
5161 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5162 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5163 cat >conftest.
$ac_ext <<_ACEOF
5166 cat confdefs.h
>>conftest.
$ac_ext
5167 cat >>conftest.
$ac_ext <<_ACEOF
5168 /* end confdefs.h. */
5169 $ac_includes_default
5170 #include <$ac_header>
5172 rm -f conftest.
$ac_objext
5173 if { (ac_try
="$ac_compile"
5175 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5176 *) ac_try_echo=$ac_try;;
5178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5179 (eval "$ac_compile") 2>conftest.er1
5181 grep -v '^ *+' conftest.er1 >conftest.err
5183 cat conftest.err >&5
5184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5185 (exit $ac_status); } && {
5186 test -z "$ac_cxx_werror_flag" ||
5187 test ! -s conftest.err
5188 } && test -s conftest.$ac_objext; then
5189 ac_header_compiler=yes
5191 echo "$as_me: failed program was:" >&5
5192 sed 's/^/| /' conftest.$ac_ext >&5
5194 ac_header_compiler=no
5197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5198 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5199 echo "${ECHO_T}$ac_header_compiler" >&6; }
5201 # Is the header present?
5202 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5203 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5204 cat >conftest.$ac_ext <<_ACEOF
5207 cat confdefs.h >>conftest.$ac_ext
5208 cat >>conftest.$ac_ext <<_ACEOF
5209 /* end confdefs.h. */
5210 #include <$ac_header>
5212 if { (ac_try="$ac_cpp conftest.$ac_ext"
5214 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5215 *) ac_try_echo
=$ac_try;;
5217 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5218 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5220 grep -v '^ *+' conftest.er1
>conftest.err
5222 cat conftest.err
>&5
5223 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5224 (exit $ac_status); } >/dev
/null
&& {
5225 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5226 test ! -s conftest.err
5228 ac_header_preproc
=yes
5230 echo "$as_me: failed program was:" >&5
5231 sed 's/^/| /' conftest.
$ac_ext >&5
5233 ac_header_preproc
=no
5236 rm -f conftest.err conftest.
$ac_ext
5237 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5238 echo "${ECHO_T}$ac_header_preproc" >&6; }
5240 # So? What about this header?
5241 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5243 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5244 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5245 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5246 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5247 ac_header_preproc
=yes
5250 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5251 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5252 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5253 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5254 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5255 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5256 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5257 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5258 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5259 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5260 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5261 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5263 ## ---------------------------------------------------------- ##
5264 ## Report this to smartmontools-support@lists.sourceforge.net ##
5265 ## ---------------------------------------------------------- ##
5267 ) |
sed "s/^/$as_me: WARNING: /" >&2
5270 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5271 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5272 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5273 echo $ECHO_N "(cached) $ECHO_C" >&6
5275 eval "$as_ac_Header=\$ac_header_preproc"
5277 ac_res
=`eval echo '${'$as_ac_Header'}'`
5278 { echo "$as_me:$LINENO: result: $ac_res" >&5
5279 echo "${ECHO_T}$ac_res" >&6; }
5282 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5283 cat >>confdefs.h
<<_ACEOF
5284 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5292 for ac_header
in dev
/ata
/atavar.h
5294 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5295 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5296 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5297 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5298 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5299 echo $ECHO_N "(cached) $ECHO_C" >&6
5301 ac_res
=`eval echo '${'$as_ac_Header'}'`
5302 { echo "$as_me:$LINENO: result: $ac_res" >&5
5303 echo "${ECHO_T}$ac_res" >&6; }
5305 # Is the header compilable?
5306 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5307 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5308 cat >conftest.
$ac_ext <<_ACEOF
5311 cat confdefs.h
>>conftest.
$ac_ext
5312 cat >>conftest.
$ac_ext <<_ACEOF
5313 /* end confdefs.h. */
5314 $ac_includes_default
5315 #include <$ac_header>
5317 rm -f conftest.
$ac_objext
5318 if { (ac_try
="$ac_compile"
5320 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5321 *) ac_try_echo=$ac_try;;
5323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5324 (eval "$ac_compile") 2>conftest.er1
5326 grep -v '^ *+' conftest.er1 >conftest.err
5328 cat conftest.err >&5
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); } && {
5331 test -z "$ac_cxx_werror_flag" ||
5332 test ! -s conftest.err
5333 } && test -s conftest.$ac_objext; then
5334 ac_header_compiler=yes
5336 echo "$as_me: failed program was:" >&5
5337 sed 's/^/| /' conftest.$ac_ext >&5
5339 ac_header_compiler=no
5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5343 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5344 echo "${ECHO_T}$ac_header_compiler" >&6; }
5346 # Is the header present?
5347 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5348 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5349 cat >conftest.$ac_ext <<_ACEOF
5352 cat confdefs.h >>conftest.$ac_ext
5353 cat >>conftest.$ac_ext <<_ACEOF
5354 /* end confdefs.h. */
5355 #include <$ac_header>
5357 if { (ac_try="$ac_cpp conftest.$ac_ext"
5359 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5360 *) ac_try_echo
=$ac_try;;
5362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5363 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5365 grep -v '^ *+' conftest.er1
>conftest.err
5367 cat conftest.err
>&5
5368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5369 (exit $ac_status); } >/dev
/null
&& {
5370 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5371 test ! -s conftest.err
5373 ac_header_preproc
=yes
5375 echo "$as_me: failed program was:" >&5
5376 sed 's/^/| /' conftest.
$ac_ext >&5
5378 ac_header_preproc
=no
5381 rm -f conftest.err conftest.
$ac_ext
5382 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5383 echo "${ECHO_T}$ac_header_preproc" >&6; }
5385 # So? What about this header?
5386 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5388 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5389 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5390 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5391 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5392 ac_header_preproc
=yes
5395 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5396 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5397 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5398 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5399 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5400 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5402 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5403 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5404 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5405 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5406 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5408 ## ---------------------------------------------------------- ##
5409 ## Report this to smartmontools-support@lists.sourceforge.net ##
5410 ## ---------------------------------------------------------- ##
5412 ) |
sed "s/^/$as_me: WARNING: /" >&2
5415 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5416 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5417 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5418 echo $ECHO_N "(cached) $ECHO_C" >&6
5420 eval "$as_ac_Header=\$ac_header_preproc"
5422 ac_res
=`eval echo '${'$as_ac_Header'}'`
5423 { echo "$as_me:$LINENO: result: $ac_res" >&5
5424 echo "${ECHO_T}$ac_res" >&6; }
5427 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5428 cat >>confdefs.h
<<_ACEOF
5429 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5437 for ac_header
in netdb.h
5439 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5440 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5441 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5442 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5443 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5444 echo $ECHO_N "(cached) $ECHO_C" >&6
5446 ac_res
=`eval echo '${'$as_ac_Header'}'`
5447 { echo "$as_me:$LINENO: result: $ac_res" >&5
5448 echo "${ECHO_T}$ac_res" >&6; }
5450 # Is the header compilable?
5451 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5452 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5453 cat >conftest.
$ac_ext <<_ACEOF
5456 cat confdefs.h
>>conftest.
$ac_ext
5457 cat >>conftest.
$ac_ext <<_ACEOF
5458 /* end confdefs.h. */
5459 $ac_includes_default
5460 #include <$ac_header>
5462 rm -f conftest.
$ac_objext
5463 if { (ac_try
="$ac_compile"
5465 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5466 *) ac_try_echo=$ac_try;;
5468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5469 (eval "$ac_compile") 2>conftest.er1
5471 grep -v '^ *+' conftest.er1 >conftest.err
5473 cat conftest.err >&5
5474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5475 (exit $ac_status); } && {
5476 test -z "$ac_cxx_werror_flag" ||
5477 test ! -s conftest.err
5478 } && test -s conftest.$ac_objext; then
5479 ac_header_compiler=yes
5481 echo "$as_me: failed program was:" >&5
5482 sed 's/^/| /' conftest.$ac_ext >&5
5484 ac_header_compiler=no
5487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5488 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5489 echo "${ECHO_T}$ac_header_compiler" >&6; }
5491 # Is the header present?
5492 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5493 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5494 cat >conftest.$ac_ext <<_ACEOF
5497 cat confdefs.h >>conftest.$ac_ext
5498 cat >>conftest.$ac_ext <<_ACEOF
5499 /* end confdefs.h. */
5500 #include <$ac_header>
5502 if { (ac_try="$ac_cpp conftest.$ac_ext"
5504 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5505 *) ac_try_echo
=$ac_try;;
5507 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5508 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5510 grep -v '^ *+' conftest.er1
>conftest.err
5512 cat conftest.err
>&5
5513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5514 (exit $ac_status); } >/dev
/null
&& {
5515 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5516 test ! -s conftest.err
5518 ac_header_preproc
=yes
5520 echo "$as_me: failed program was:" >&5
5521 sed 's/^/| /' conftest.
$ac_ext >&5
5523 ac_header_preproc
=no
5526 rm -f conftest.err conftest.
$ac_ext
5527 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5528 echo "${ECHO_T}$ac_header_preproc" >&6; }
5530 # So? What about this header?
5531 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5533 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5534 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5535 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5536 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5537 ac_header_preproc
=yes
5540 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5541 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5542 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5543 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5544 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5545 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5546 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5547 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5548 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5549 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5550 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5551 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5553 ## ---------------------------------------------------------- ##
5554 ## Report this to smartmontools-support@lists.sourceforge.net ##
5555 ## ---------------------------------------------------------- ##
5557 ) |
sed "s/^/$as_me: WARNING: /" >&2
5560 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5561 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5562 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5563 echo $ECHO_N "(cached) $ECHO_C" >&6
5565 eval "$as_ac_Header=\$ac_header_preproc"
5567 ac_res
=`eval echo '${'$as_ac_Header'}'`
5568 { echo "$as_me:$LINENO: result: $ac_res" >&5
5569 echo "${ECHO_T}$ac_res" >&6; }
5572 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5573 cat >>confdefs.h
<<_ACEOF
5574 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5582 for ac_header
in inttypes.h
5584 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5585 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5586 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5587 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5588 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5589 echo $ECHO_N "(cached) $ECHO_C" >&6
5591 ac_res
=`eval echo '${'$as_ac_Header'}'`
5592 { echo "$as_me:$LINENO: result: $ac_res" >&5
5593 echo "${ECHO_T}$ac_res" >&6; }
5595 # Is the header compilable?
5596 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5597 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5598 cat >conftest.
$ac_ext <<_ACEOF
5601 cat confdefs.h
>>conftest.
$ac_ext
5602 cat >>conftest.
$ac_ext <<_ACEOF
5603 /* end confdefs.h. */
5604 $ac_includes_default
5605 #include <$ac_header>
5607 rm -f conftest.
$ac_objext
5608 if { (ac_try
="$ac_compile"
5610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5611 *) ac_try_echo=$ac_try;;
5613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5614 (eval "$ac_compile") 2>conftest.er1
5616 grep -v '^ *+' conftest.er1 >conftest.err
5618 cat conftest.err >&5
5619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5620 (exit $ac_status); } && {
5621 test -z "$ac_cxx_werror_flag" ||
5622 test ! -s conftest.err
5623 } && test -s conftest.$ac_objext; then
5624 ac_header_compiler=yes
5626 echo "$as_me: failed program was:" >&5
5627 sed 's/^/| /' conftest.$ac_ext >&5
5629 ac_header_compiler=no
5632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5633 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5634 echo "${ECHO_T}$ac_header_compiler" >&6; }
5636 # Is the header present?
5637 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5638 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5639 cat >conftest.$ac_ext <<_ACEOF
5642 cat confdefs.h >>conftest.$ac_ext
5643 cat >>conftest.$ac_ext <<_ACEOF
5644 /* end confdefs.h. */
5645 #include <$ac_header>
5647 if { (ac_try="$ac_cpp conftest.$ac_ext"
5649 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5650 *) ac_try_echo
=$ac_try;;
5652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5653 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5655 grep -v '^ *+' conftest.er1
>conftest.err
5657 cat conftest.err
>&5
5658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5659 (exit $ac_status); } >/dev
/null
&& {
5660 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5661 test ! -s conftest.err
5663 ac_header_preproc
=yes
5665 echo "$as_me: failed program was:" >&5
5666 sed 's/^/| /' conftest.
$ac_ext >&5
5668 ac_header_preproc
=no
5671 rm -f conftest.err conftest.
$ac_ext
5672 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5673 echo "${ECHO_T}$ac_header_preproc" >&6; }
5675 # So? What about this header?
5676 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5678 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5679 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5680 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5681 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5682 ac_header_preproc
=yes
5685 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5686 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5687 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5688 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5689 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5690 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5691 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5692 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5693 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5694 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5695 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5696 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5698 ## ---------------------------------------------------------- ##
5699 ## Report this to smartmontools-support@lists.sourceforge.net ##
5700 ## ---------------------------------------------------------- ##
5702 ) |
sed "s/^/$as_me: WARNING: /" >&2
5705 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5706 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5707 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5708 echo $ECHO_N "(cached) $ECHO_C" >&6
5710 eval "$as_ac_Header=\$ac_header_preproc"
5712 ac_res
=`eval echo '${'$as_ac_Header'}'`
5713 { echo "$as_me:$LINENO: result: $ac_res" >&5
5714 echo "${ECHO_T}$ac_res" >&6; }
5717 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5718 cat >>confdefs.h
<<_ACEOF
5719 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5726 for ac_header
in stdint.h
5728 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5729 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5730 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5731 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5732 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5733 echo $ECHO_N "(cached) $ECHO_C" >&6
5735 ac_res
=`eval echo '${'$as_ac_Header'}'`
5736 { echo "$as_me:$LINENO: result: $ac_res" >&5
5737 echo "${ECHO_T}$ac_res" >&6; }
5739 # Is the header compilable?
5740 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5741 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5742 cat >conftest.
$ac_ext <<_ACEOF
5745 cat confdefs.h
>>conftest.
$ac_ext
5746 cat >>conftest.
$ac_ext <<_ACEOF
5747 /* end confdefs.h. */
5748 $ac_includes_default
5749 #include <$ac_header>
5751 rm -f conftest.
$ac_objext
5752 if { (ac_try
="$ac_compile"
5754 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5755 *) ac_try_echo=$ac_try;;
5757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5758 (eval "$ac_compile") 2>conftest.er1
5760 grep -v '^ *+' conftest.er1 >conftest.err
5762 cat conftest.err >&5
5763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5764 (exit $ac_status); } && {
5765 test -z "$ac_cxx_werror_flag" ||
5766 test ! -s conftest.err
5767 } && test -s conftest.$ac_objext; then
5768 ac_header_compiler=yes
5770 echo "$as_me: failed program was:" >&5
5771 sed 's/^/| /' conftest.$ac_ext >&5
5773 ac_header_compiler=no
5776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5777 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5778 echo "${ECHO_T}$ac_header_compiler" >&6; }
5780 # Is the header present?
5781 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5782 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5783 cat >conftest.$ac_ext <<_ACEOF
5786 cat confdefs.h >>conftest.$ac_ext
5787 cat >>conftest.$ac_ext <<_ACEOF
5788 /* end confdefs.h. */
5789 #include <$ac_header>
5791 if { (ac_try="$ac_cpp conftest.$ac_ext"
5793 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5794 *) ac_try_echo
=$ac_try;;
5796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5797 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5799 grep -v '^ *+' conftest.er1
>conftest.err
5801 cat conftest.err
>&5
5802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5803 (exit $ac_status); } >/dev
/null
&& {
5804 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5805 test ! -s conftest.err
5807 ac_header_preproc
=yes
5809 echo "$as_me: failed program was:" >&5
5810 sed 's/^/| /' conftest.
$ac_ext >&5
5812 ac_header_preproc
=no
5815 rm -f conftest.err conftest.
$ac_ext
5816 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5817 echo "${ECHO_T}$ac_header_preproc" >&6; }
5819 # So? What about this header?
5820 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5822 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5823 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5824 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5825 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5826 ac_header_preproc
=yes
5829 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5830 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5831 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5832 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5833 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5834 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5835 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5836 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5837 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5838 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5839 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5840 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5842 ## ---------------------------------------------------------- ##
5843 ## Report this to smartmontools-support@lists.sourceforge.net ##
5844 ## ---------------------------------------------------------- ##
5846 ) |
sed "s/^/$as_me: WARNING: /" >&2
5849 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5850 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5851 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5852 echo $ECHO_N "(cached) $ECHO_C" >&6
5854 eval "$as_ac_Header=\$ac_header_preproc"
5856 ac_res
=`eval echo '${'$as_ac_Header'}'`
5857 { echo "$as_me:$LINENO: result: $ac_res" >&5
5858 echo "${ECHO_T}$ac_res" >&6; }
5861 if test `eval echo '${'$as_ac_Header'}'` = yes; then
5862 cat >>confdefs.h
<<_ACEOF
5863 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5870 for ac_header
in sys
/inttypes.h
5872 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5873 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5874 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5875 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5876 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5877 echo $ECHO_N "(cached) $ECHO_C" >&6
5879 ac_res
=`eval echo '${'$as_ac_Header'}'`
5880 { echo "$as_me:$LINENO: result: $ac_res" >&5
5881 echo "${ECHO_T}$ac_res" >&6; }
5883 # Is the header compilable?
5884 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
5885 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5886 cat >conftest.
$ac_ext <<_ACEOF
5889 cat confdefs.h
>>conftest.
$ac_ext
5890 cat >>conftest.
$ac_ext <<_ACEOF
5891 /* end confdefs.h. */
5892 $ac_includes_default
5893 #include <$ac_header>
5895 rm -f conftest.
$ac_objext
5896 if { (ac_try
="$ac_compile"
5898 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
5899 *) ac_try_echo=$ac_try;;
5901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5902 (eval "$ac_compile") 2>conftest.er1
5904 grep -v '^ *+' conftest.er1 >conftest.err
5906 cat conftest.err >&5
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); } && {
5909 test -z "$ac_cxx_werror_flag" ||
5910 test ! -s conftest.err
5911 } && test -s conftest.$ac_objext; then
5912 ac_header_compiler=yes
5914 echo "$as_me: failed program was:" >&5
5915 sed 's/^/| /' conftest.$ac_ext >&5
5917 ac_header_compiler=no
5920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5921 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5922 echo "${ECHO_T}$ac_header_compiler" >&6; }
5924 # Is the header present?
5925 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
5926 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5927 cat >conftest.$ac_ext <<_ACEOF
5930 cat confdefs.h >>conftest.$ac_ext
5931 cat >>conftest.$ac_ext <<_ACEOF
5932 /* end confdefs.h. */
5933 #include <$ac_header>
5935 if { (ac_try="$ac_cpp conftest.$ac_ext"
5937 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
5938 *) ac_try_echo
=$ac_try;;
5940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5941 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5943 grep -v '^ *+' conftest.er1
>conftest.err
5945 cat conftest.err
>&5
5946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5947 (exit $ac_status); } >/dev
/null
&& {
5948 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
5949 test ! -s conftest.err
5951 ac_header_preproc
=yes
5953 echo "$as_me: failed program was:" >&5
5954 sed 's/^/| /' conftest.
$ac_ext >&5
5956 ac_header_preproc
=no
5959 rm -f conftest.err conftest.
$ac_ext
5960 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5961 echo "${ECHO_T}$ac_header_preproc" >&6; }
5963 # So? What about this header?
5964 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5966 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5967 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5968 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5969 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5970 ac_header_preproc
=yes
5973 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5974 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5975 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5976 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5977 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5978 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5979 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5980 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5981 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5982 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5983 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5984 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5986 ## ---------------------------------------------------------- ##
5987 ## Report this to smartmontools-support@lists.sourceforge.net ##
5988 ## ---------------------------------------------------------- ##
5990 ) |
sed "s/^/$as_me: WARNING: /" >&2
5993 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5994 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5995 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5996 echo $ECHO_N "(cached) $ECHO_C" >&6
5998 eval "$as_ac_Header=\$ac_header_preproc"
6000 ac_res
=`eval echo '${'$as_ac_Header'}'`
6001 { echo "$as_me:$LINENO: result: $ac_res" >&5
6002 echo "${ECHO_T}$ac_res" >&6; }
6005 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6006 cat >>confdefs.h
<<_ACEOF
6007 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6014 for ac_header
in sys
/int_types.h
6016 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6017 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6018 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6019 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6020 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6021 echo $ECHO_N "(cached) $ECHO_C" >&6
6023 ac_res
=`eval echo '${'$as_ac_Header'}'`
6024 { echo "$as_me:$LINENO: result: $ac_res" >&5
6025 echo "${ECHO_T}$ac_res" >&6; }
6027 # Is the header compilable?
6028 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6029 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6030 cat >conftest.
$ac_ext <<_ACEOF
6033 cat confdefs.h
>>conftest.
$ac_ext
6034 cat >>conftest.
$ac_ext <<_ACEOF
6035 /* end confdefs.h. */
6036 $ac_includes_default
6037 #include <$ac_header>
6039 rm -f conftest.
$ac_objext
6040 if { (ac_try
="$ac_compile"
6042 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6043 *) ac_try_echo=$ac_try;;
6045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6046 (eval "$ac_compile") 2>conftest.er1
6048 grep -v '^ *+' conftest.er1 >conftest.err
6050 cat conftest.err >&5
6051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6052 (exit $ac_status); } && {
6053 test -z "$ac_cxx_werror_flag" ||
6054 test ! -s conftest.err
6055 } && test -s conftest.$ac_objext; then
6056 ac_header_compiler=yes
6058 echo "$as_me: failed program was:" >&5
6059 sed 's/^/| /' conftest.$ac_ext >&5
6061 ac_header_compiler=no
6064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6065 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6066 echo "${ECHO_T}$ac_header_compiler" >&6; }
6068 # Is the header present?
6069 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6070 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6071 cat >conftest.$ac_ext <<_ACEOF
6074 cat confdefs.h >>conftest.$ac_ext
6075 cat >>conftest.$ac_ext <<_ACEOF
6076 /* end confdefs.h. */
6077 #include <$ac_header>
6079 if { (ac_try="$ac_cpp conftest.$ac_ext"
6081 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6082 *) ac_try_echo
=$ac_try;;
6084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6085 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6087 grep -v '^ *+' conftest.er1
>conftest.err
6089 cat conftest.err
>&5
6090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6091 (exit $ac_status); } >/dev
/null
&& {
6092 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6093 test ! -s conftest.err
6095 ac_header_preproc
=yes
6097 echo "$as_me: failed program was:" >&5
6098 sed 's/^/| /' conftest.
$ac_ext >&5
6100 ac_header_preproc
=no
6103 rm -f conftest.err conftest.
$ac_ext
6104 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6105 echo "${ECHO_T}$ac_header_preproc" >&6; }
6107 # So? What about this header?
6108 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6110 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6111 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6113 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6114 ac_header_preproc
=yes
6117 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6118 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6119 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6120 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6121 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6122 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6123 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6124 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6125 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6126 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6127 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6128 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6130 ## ---------------------------------------------------------- ##
6131 ## Report this to smartmontools-support@lists.sourceforge.net ##
6132 ## ---------------------------------------------------------- ##
6134 ) |
sed "s/^/$as_me: WARNING: /" >&2
6137 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6138 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6139 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6142 eval "$as_ac_Header=\$ac_header_preproc"
6144 ac_res
=`eval echo '${'$as_ac_Header'}'`
6145 { echo "$as_me:$LINENO: result: $ac_res" >&5
6146 echo "${ECHO_T}$ac_res" >&6; }
6149 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6150 cat >>confdefs.h
<<_ACEOF
6151 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6158 for ac_header
in sys
/tweio.h
6160 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6161 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6162 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6163 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6164 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6165 echo $ECHO_N "(cached) $ECHO_C" >&6
6167 ac_res
=`eval echo '${'$as_ac_Header'}'`
6168 { echo "$as_me:$LINENO: result: $ac_res" >&5
6169 echo "${ECHO_T}$ac_res" >&6; }
6171 # Is the header compilable?
6172 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6173 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6174 cat >conftest.
$ac_ext <<_ACEOF
6177 cat confdefs.h
>>conftest.
$ac_ext
6178 cat >>conftest.
$ac_ext <<_ACEOF
6179 /* end confdefs.h. */
6180 $ac_includes_default
6181 #include <$ac_header>
6183 rm -f conftest.
$ac_objext
6184 if { (ac_try
="$ac_compile"
6186 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6187 *) ac_try_echo=$ac_try;;
6189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6190 (eval "$ac_compile") 2>conftest.er1
6192 grep -v '^ *+' conftest.er1 >conftest.err
6194 cat conftest.err >&5
6195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6196 (exit $ac_status); } && {
6197 test -z "$ac_cxx_werror_flag" ||
6198 test ! -s conftest.err
6199 } && test -s conftest.$ac_objext; then
6200 ac_header_compiler=yes
6202 echo "$as_me: failed program was:" >&5
6203 sed 's/^/| /' conftest.$ac_ext >&5
6205 ac_header_compiler=no
6208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6209 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6210 echo "${ECHO_T}$ac_header_compiler" >&6; }
6212 # Is the header present?
6213 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6214 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6215 cat >conftest.$ac_ext <<_ACEOF
6218 cat confdefs.h >>conftest.$ac_ext
6219 cat >>conftest.$ac_ext <<_ACEOF
6220 /* end confdefs.h. */
6221 #include <$ac_header>
6223 if { (ac_try="$ac_cpp conftest.$ac_ext"
6225 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6226 *) ac_try_echo
=$ac_try;;
6228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6229 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6231 grep -v '^ *+' conftest.er1
>conftest.err
6233 cat conftest.err
>&5
6234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6235 (exit $ac_status); } >/dev
/null
&& {
6236 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6237 test ! -s conftest.err
6239 ac_header_preproc
=yes
6241 echo "$as_me: failed program was:" >&5
6242 sed 's/^/| /' conftest.
$ac_ext >&5
6244 ac_header_preproc
=no
6247 rm -f conftest.err conftest.
$ac_ext
6248 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6249 echo "${ECHO_T}$ac_header_preproc" >&6; }
6251 # So? What about this header?
6252 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6254 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6255 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6256 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6257 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6258 ac_header_preproc
=yes
6261 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6262 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6263 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6264 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6265 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6266 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6267 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6268 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6269 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6270 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6271 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6272 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6274 ## ---------------------------------------------------------- ##
6275 ## Report this to smartmontools-support@lists.sourceforge.net ##
6276 ## ---------------------------------------------------------- ##
6278 ) |
sed "s/^/$as_me: WARNING: /" >&2
6281 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6282 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6283 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6284 echo $ECHO_N "(cached) $ECHO_C" >&6
6286 eval "$as_ac_Header=\$ac_header_preproc"
6288 ac_res
=`eval echo '${'$as_ac_Header'}'`
6289 { echo "$as_me:$LINENO: result: $ac_res" >&5
6290 echo "${ECHO_T}$ac_res" >&6; }
6293 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6294 cat >>confdefs.h
<<_ACEOF
6295 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6303 for ac_header
in sys
/twereg.h
6305 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6306 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6307 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6308 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6309 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6310 echo $ECHO_N "(cached) $ECHO_C" >&6
6312 ac_res
=`eval echo '${'$as_ac_Header'}'`
6313 { echo "$as_me:$LINENO: result: $ac_res" >&5
6314 echo "${ECHO_T}$ac_res" >&6; }
6316 # Is the header compilable?
6317 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6318 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6319 cat >conftest.
$ac_ext <<_ACEOF
6322 cat confdefs.h
>>conftest.
$ac_ext
6323 cat >>conftest.
$ac_ext <<_ACEOF
6324 /* end confdefs.h. */
6325 $ac_includes_default
6326 #include <$ac_header>
6328 rm -f conftest.
$ac_objext
6329 if { (ac_try
="$ac_compile"
6331 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6332 *) ac_try_echo=$ac_try;;
6334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6335 (eval "$ac_compile") 2>conftest.er1
6337 grep -v '^ *+' conftest.er1 >conftest.err
6339 cat conftest.err >&5
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); } && {
6342 test -z "$ac_cxx_werror_flag" ||
6343 test ! -s conftest.err
6344 } && test -s conftest.$ac_objext; then
6345 ac_header_compiler=yes
6347 echo "$as_me: failed program was:" >&5
6348 sed 's/^/| /' conftest.$ac_ext >&5
6350 ac_header_compiler=no
6353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6354 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6355 echo "${ECHO_T}$ac_header_compiler" >&6; }
6357 # Is the header present?
6358 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6359 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6360 cat >conftest.$ac_ext <<_ACEOF
6363 cat confdefs.h >>conftest.$ac_ext
6364 cat >>conftest.$ac_ext <<_ACEOF
6365 /* end confdefs.h. */
6366 #include <$ac_header>
6368 if { (ac_try="$ac_cpp conftest.$ac_ext"
6370 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6371 *) ac_try_echo
=$ac_try;;
6373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6374 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6376 grep -v '^ *+' conftest.er1
>conftest.err
6378 cat conftest.err
>&5
6379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6380 (exit $ac_status); } >/dev
/null
&& {
6381 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6382 test ! -s conftest.err
6384 ac_header_preproc
=yes
6386 echo "$as_me: failed program was:" >&5
6387 sed 's/^/| /' conftest.
$ac_ext >&5
6389 ac_header_preproc
=no
6392 rm -f conftest.err conftest.
$ac_ext
6393 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6394 echo "${ECHO_T}$ac_header_preproc" >&6; }
6396 # So? What about this header?
6397 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6399 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6400 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6401 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6402 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6403 ac_header_preproc
=yes
6406 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6407 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6408 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6409 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6411 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6412 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6413 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6415 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6417 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6419 ## ---------------------------------------------------------- ##
6420 ## Report this to smartmontools-support@lists.sourceforge.net ##
6421 ## ---------------------------------------------------------- ##
6423 ) |
sed "s/^/$as_me: WARNING: /" >&2
6426 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6427 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6428 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6429 echo $ECHO_N "(cached) $ECHO_C" >&6
6431 eval "$as_ac_Header=\$ac_header_preproc"
6433 ac_res
=`eval echo '${'$as_ac_Header'}'`
6434 { echo "$as_me:$LINENO: result: $ac_res" >&5
6435 echo "${ECHO_T}$ac_res" >&6; }
6438 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6439 cat >>confdefs.h
<<_ACEOF
6440 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6448 for ac_header
in sys
/tw_osl_ioctl.h
6450 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6451 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6452 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6453 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6454 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6455 echo $ECHO_N "(cached) $ECHO_C" >&6
6457 ac_res
=`eval echo '${'$as_ac_Header'}'`
6458 { echo "$as_me:$LINENO: result: $ac_res" >&5
6459 echo "${ECHO_T}$ac_res" >&6; }
6461 # Is the header compilable?
6462 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6463 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6464 cat >conftest.
$ac_ext <<_ACEOF
6467 cat confdefs.h
>>conftest.
$ac_ext
6468 cat >>conftest.
$ac_ext <<_ACEOF
6469 /* end confdefs.h. */
6470 $ac_includes_default
6471 #include <$ac_header>
6473 rm -f conftest.
$ac_objext
6474 if { (ac_try
="$ac_compile"
6476 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6477 *) ac_try_echo=$ac_try;;
6479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6480 (eval "$ac_compile") 2>conftest.er1
6482 grep -v '^ *+' conftest.er1 >conftest.err
6484 cat conftest.err >&5
6485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6486 (exit $ac_status); } && {
6487 test -z "$ac_cxx_werror_flag" ||
6488 test ! -s conftest.err
6489 } && test -s conftest.$ac_objext; then
6490 ac_header_compiler=yes
6492 echo "$as_me: failed program was:" >&5
6493 sed 's/^/| /' conftest.$ac_ext >&5
6495 ac_header_compiler=no
6498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6499 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6500 echo "${ECHO_T}$ac_header_compiler" >&6; }
6502 # Is the header present?
6503 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6504 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6505 cat >conftest.$ac_ext <<_ACEOF
6508 cat confdefs.h >>conftest.$ac_ext
6509 cat >>conftest.$ac_ext <<_ACEOF
6510 /* end confdefs.h. */
6511 #include <$ac_header>
6513 if { (ac_try="$ac_cpp conftest.$ac_ext"
6515 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6516 *) ac_try_echo
=$ac_try;;
6518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6519 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6521 grep -v '^ *+' conftest.er1
>conftest.err
6523 cat conftest.err
>&5
6524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6525 (exit $ac_status); } >/dev
/null
&& {
6526 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6527 test ! -s conftest.err
6529 ac_header_preproc
=yes
6531 echo "$as_me: failed program was:" >&5
6532 sed 's/^/| /' conftest.
$ac_ext >&5
6534 ac_header_preproc
=no
6537 rm -f conftest.err conftest.
$ac_ext
6538 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6539 echo "${ECHO_T}$ac_header_preproc" >&6; }
6541 # So? What about this header?
6542 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6544 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6545 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6546 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6547 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6548 ac_header_preproc
=yes
6551 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6552 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6553 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6554 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6555 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6556 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6557 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6558 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6559 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6560 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6561 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6562 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6564 ## ---------------------------------------------------------- ##
6565 ## Report this to smartmontools-support@lists.sourceforge.net ##
6566 ## ---------------------------------------------------------- ##
6568 ) |
sed "s/^/$as_me: WARNING: /" >&2
6571 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6572 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6573 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6574 echo $ECHO_N "(cached) $ECHO_C" >&6
6576 eval "$as_ac_Header=\$ac_header_preproc"
6578 ac_res
=`eval echo '${'$as_ac_Header'}'`
6579 { echo "$as_me:$LINENO: result: $ac_res" >&5
6580 echo "${ECHO_T}$ac_res" >&6; }
6583 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6584 cat >>confdefs.h
<<_ACEOF
6585 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6593 for ac_header
in dev
/ciss
/cissio.h
6595 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6596 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6597 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6598 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6599 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6600 echo $ECHO_N "(cached) $ECHO_C" >&6
6602 ac_res
=`eval echo '${'$as_ac_Header'}'`
6603 { echo "$as_me:$LINENO: result: $ac_res" >&5
6604 echo "${ECHO_T}$ac_res" >&6; }
6606 # Is the header compilable?
6607 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6608 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6609 cat >conftest.
$ac_ext <<_ACEOF
6612 cat confdefs.h
>>conftest.
$ac_ext
6613 cat >>conftest.
$ac_ext <<_ACEOF
6614 /* end confdefs.h. */
6615 $ac_includes_default
6616 #include <$ac_header>
6618 rm -f conftest.
$ac_objext
6619 if { (ac_try
="$ac_compile"
6621 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6622 *) ac_try_echo=$ac_try;;
6624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6625 (eval "$ac_compile") 2>conftest.er1
6627 grep -v '^ *+' conftest.er1 >conftest.err
6629 cat conftest.err >&5
6630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6631 (exit $ac_status); } && {
6632 test -z "$ac_cxx_werror_flag" ||
6633 test ! -s conftest.err
6634 } && test -s conftest.$ac_objext; then
6635 ac_header_compiler=yes
6637 echo "$as_me: failed program was:" >&5
6638 sed 's/^/| /' conftest.$ac_ext >&5
6640 ac_header_compiler=no
6643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6644 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6645 echo "${ECHO_T}$ac_header_compiler" >&6; }
6647 # Is the header present?
6648 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6649 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6650 cat >conftest.$ac_ext <<_ACEOF
6653 cat confdefs.h >>conftest.$ac_ext
6654 cat >>conftest.$ac_ext <<_ACEOF
6655 /* end confdefs.h. */
6656 #include <$ac_header>
6658 if { (ac_try="$ac_cpp conftest.$ac_ext"
6660 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6661 *) ac_try_echo
=$ac_try;;
6663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6664 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6666 grep -v '^ *+' conftest.er1
>conftest.err
6668 cat conftest.err
>&5
6669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6670 (exit $ac_status); } >/dev
/null
&& {
6671 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6672 test ! -s conftest.err
6674 ac_header_preproc
=yes
6676 echo "$as_me: failed program was:" >&5
6677 sed 's/^/| /' conftest.
$ac_ext >&5
6679 ac_header_preproc
=no
6682 rm -f conftest.err conftest.
$ac_ext
6683 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6684 echo "${ECHO_T}$ac_header_preproc" >&6; }
6686 # So? What about this header?
6687 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6689 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6690 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6691 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6692 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6693 ac_header_preproc
=yes
6696 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6697 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6698 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6699 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6700 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6701 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6702 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6703 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6704 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6705 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6706 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6707 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6709 ## ---------------------------------------------------------- ##
6710 ## Report this to smartmontools-support@lists.sourceforge.net ##
6711 ## ---------------------------------------------------------- ##
6713 ) |
sed "s/^/$as_me: WARNING: /" >&2
6716 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6717 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6718 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6719 echo $ECHO_N "(cached) $ECHO_C" >&6
6721 eval "$as_ac_Header=\$ac_header_preproc"
6723 ac_res
=`eval echo '${'$as_ac_Header'}'`
6724 { echo "$as_me:$LINENO: result: $ac_res" >&5
6725 echo "${ECHO_T}$ac_res" >&6; }
6728 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6729 cat >>confdefs.h
<<_ACEOF
6730 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6738 for ac_header
in linux
/compiler.h
6740 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6741 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6742 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6743 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6744 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6745 echo $ECHO_N "(cached) $ECHO_C" >&6
6747 ac_res
=`eval echo '${'$as_ac_Header'}'`
6748 { echo "$as_me:$LINENO: result: $ac_res" >&5
6749 echo "${ECHO_T}$ac_res" >&6; }
6751 # Is the header compilable?
6752 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
6753 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6754 cat >conftest.
$ac_ext <<_ACEOF
6757 cat confdefs.h
>>conftest.
$ac_ext
6758 cat >>conftest.
$ac_ext <<_ACEOF
6759 /* end confdefs.h. */
6760 $ac_includes_default
6761 #include <$ac_header>
6763 rm -f conftest.
$ac_objext
6764 if { (ac_try
="$ac_compile"
6766 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6767 *) ac_try_echo=$ac_try;;
6769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6770 (eval "$ac_compile") 2>conftest.er1
6772 grep -v '^ *+' conftest.er1 >conftest.err
6774 cat conftest.err >&5
6775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6776 (exit $ac_status); } && {
6777 test -z "$ac_cxx_werror_flag" ||
6778 test ! -s conftest.err
6779 } && test -s conftest.$ac_objext; then
6780 ac_header_compiler=yes
6782 echo "$as_me: failed program was:" >&5
6783 sed 's/^/| /' conftest.$ac_ext >&5
6785 ac_header_compiler=no
6788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6789 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6790 echo "${ECHO_T}$ac_header_compiler" >&6; }
6792 # Is the header present?
6793 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
6794 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6795 cat >conftest.$ac_ext <<_ACEOF
6798 cat confdefs.h >>conftest.$ac_ext
6799 cat >>conftest.$ac_ext <<_ACEOF
6800 /* end confdefs.h. */
6801 #include <$ac_header>
6803 if { (ac_try="$ac_cpp conftest.$ac_ext"
6805 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6806 *) ac_try_echo
=$ac_try;;
6808 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6809 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6811 grep -v '^ *+' conftest.er1
>conftest.err
6813 cat conftest.err
>&5
6814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6815 (exit $ac_status); } >/dev
/null
&& {
6816 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
6817 test ! -s conftest.err
6819 ac_header_preproc
=yes
6821 echo "$as_me: failed program was:" >&5
6822 sed 's/^/| /' conftest.
$ac_ext >&5
6824 ac_header_preproc
=no
6827 rm -f conftest.err conftest.
$ac_ext
6828 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6829 echo "${ECHO_T}$ac_header_preproc" >&6; }
6831 # So? What about this header?
6832 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6834 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6835 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6836 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6837 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6838 ac_header_preproc
=yes
6841 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6842 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6843 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6844 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6845 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6846 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6847 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6848 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6849 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6850 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6851 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6852 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6854 ## ---------------------------------------------------------- ##
6855 ## Report this to smartmontools-support@lists.sourceforge.net ##
6856 ## ---------------------------------------------------------- ##
6858 ) |
sed "s/^/$as_me: WARNING: /" >&2
6861 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6862 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6863 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6864 echo $ECHO_N "(cached) $ECHO_C" >&6
6866 eval "$as_ac_Header=\$ac_header_preproc"
6868 ac_res
=`eval echo '${'$as_ac_Header'}'`
6869 { echo "$as_me:$LINENO: result: $ac_res" >&5
6870 echo "${ECHO_T}$ac_res" >&6; }
6873 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6874 cat >>confdefs.h
<<_ACEOF
6875 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6883 for ac_header
in linux
/cciss_ioctl.h
6885 as_ac_Header
=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6886 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6887 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6888 if { as_var
=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6889 echo $ECHO_N "(cached) $ECHO_C" >&6
6891 cat >conftest.
$ac_ext <<_ACEOF
6894 cat confdefs.h
>>conftest.
$ac_ext
6895 cat >>conftest.
$ac_ext <<_ACEOF
6896 /* end confdefs.h. */
6897 $ac_includes_default
6898 #ifdef HAVE_LINUX_COMPILER_H
6899 # include <linux/compiler.h>
6903 #include <$ac_header>
6905 rm -f conftest.
$ac_objext
6906 if { (ac_try
="$ac_compile"
6908 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
6909 *) ac_try_echo=$ac_try;;
6911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6912 (eval "$ac_compile") 2>conftest.er1
6914 grep -v '^ *+' conftest.er1 >conftest.err
6916 cat conftest.err >&5
6917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6918 (exit $ac_status); } && {
6919 test -z "$ac_cxx_werror_flag" ||
6920 test ! -s conftest.err
6921 } && test -s conftest.$ac_objext; then
6922 eval "$as_ac_Header=yes"
6924 echo "$as_me: failed program was:" >&5
6925 sed 's/^/| /' conftest.$ac_ext >&5
6927 eval "$as_ac_Header=no"
6930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6932 ac_res=`eval echo '${'$as_ac_Header'}'`
6933 { echo "$as_me:$LINENO: result: $ac_res" >&5
6934 echo "${ECHO_T}$ac_res" >&6; }
6935 if test `eval echo '${'$as_ac_Header'}'` = yes; then
6936 cat >>confdefs.h <<_ACEOF
6937 #define `echo "HAVE_$ac_header" |
$as_tr_cpp` 1
6945 { echo "$as_me:$LINENO: checking for int64_t" >&5
6946 echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
6947 if test "${ac_cv_type_int64_t+set}" = set; then
6948 echo $ECHO_N "(cached) $ECHO_C" >&6
6950 cat >conftest.$ac_ext <<_ACEOF
6953 cat confdefs.h >>conftest.$ac_ext
6954 cat >>conftest.$ac_ext <<_ACEOF
6955 /* end confdefs.h. */
6956 $ac_includes_default
6957 typedef int64_t ac__type_new_;
6961 if ((ac__type_new_ *) 0)
6963 if (sizeof (ac__type_new_))
6969 rm -f conftest.$ac_objext
6970 if { (ac_try="$ac_compile"
6972 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
6973 *) ac_try_echo
=$ac_try;;
6975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6976 (eval "$ac_compile") 2>conftest.er1
6978 grep -v '^ *+' conftest.er1
>conftest.err
6980 cat conftest.err
>&5
6981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6982 (exit $ac_status); } && {
6983 test -z "$ac_cxx_werror_flag" ||
6984 test ! -s conftest.err
6985 } && test -s conftest.
$ac_objext; then
6986 ac_cv_type_int64_t
=yes
6988 echo "$as_me: failed program was:" >&5
6989 sed 's/^/| /' conftest.
$ac_ext >&5
6991 ac_cv_type_int64_t
=no
6994 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6996 { echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
6997 echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
6998 if test $ac_cv_type_int64_t = yes; then
7000 cat >>confdefs.h
<<_ACEOF
7001 #define HAVE_INT64_T 1
7006 { echo "$as_me:$LINENO: checking for uint64_t" >&5
7007 echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
7008 if test "${ac_cv_type_uint64_t+set}" = set; then
7009 echo $ECHO_N "(cached) $ECHO_C" >&6
7011 cat >conftest.
$ac_ext <<_ACEOF
7014 cat confdefs.h
>>conftest.
$ac_ext
7015 cat >>conftest.
$ac_ext <<_ACEOF
7016 /* end confdefs.h. */
7017 $ac_includes_default
7018 typedef uint64_t ac__type_new_;
7022 if ((ac__type_new_ *) 0)
7024 if (sizeof (ac__type_new_))
7030 rm -f conftest.
$ac_objext
7031 if { (ac_try
="$ac_compile"
7033 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7034 *) ac_try_echo=$ac_try;;
7036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7037 (eval "$ac_compile") 2>conftest.er1
7039 grep -v '^ *+' conftest.er1 >conftest.err
7041 cat conftest.err >&5
7042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7043 (exit $ac_status); } && {
7044 test -z "$ac_cxx_werror_flag" ||
7045 test ! -s conftest.err
7046 } && test -s conftest.$ac_objext; then
7047 ac_cv_type_uint64_t=yes
7049 echo "$as_me: failed program was:" >&5
7050 sed 's/^/| /' conftest.$ac_ext >&5
7052 ac_cv_type_uint64_t=no
7055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7057 { echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7058 echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
7059 if test $ac_cv_type_uint64_t = yes; then
7061 cat >>confdefs.h <<_ACEOF
7062 #define HAVE_UINT64_T 1
7070 for ac_func in getopt
7072 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7073 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7074 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7075 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7076 echo $ECHO_N "(cached) $ECHO_C" >&6
7078 cat >conftest.$ac_ext <<_ACEOF
7081 cat confdefs.h >>conftest.$ac_ext
7082 cat >>conftest.$ac_ext <<_ACEOF
7083 /* end confdefs.h. */
7084 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7085 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7086 #define $ac_func innocuous_$ac_func
7088 /* System header to define __stub macros and hopefully few prototypes,
7089 which can conflict with char $ac_func (); below.
7090 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7091 <limits.h> exists even on freestanding compilers. */
7094 # include <limits.h>
7096 # include <assert.h>
7101 /* Override any GCC internal prototype to avoid an error.
7102 Use char because int might match the return type of a GCC
7103 builtin and then its argument prototype would still apply. */
7108 /* The GNU C library defines this for functions which it implements
7109 to always fail with ENOSYS. Some functions are actually named
7110 something starting with __ and the normal name is an alias. */
7111 #if defined __stub_$ac_func || defined __stub___$ac_func
7123 rm -f conftest.$ac_objext conftest$ac_exeext
7124 if { (ac_try="$ac_link"
7126 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7127 *) ac_try_echo
=$ac_try;;
7129 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7130 (eval "$ac_link") 2>conftest.er1
7132 grep -v '^ *+' conftest.er1
>conftest.err
7134 cat conftest.err
>&5
7135 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7136 (exit $ac_status); } && {
7137 test -z "$ac_cxx_werror_flag" ||
7138 test ! -s conftest.err
7139 } && test -s conftest
$ac_exeext &&
7140 $as_test_x conftest
$ac_exeext; then
7141 eval "$as_ac_var=yes"
7143 echo "$as_me: failed program was:" >&5
7144 sed 's/^/| /' conftest.
$ac_ext >&5
7146 eval "$as_ac_var=no"
7149 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7150 conftest
$ac_exeext conftest.
$ac_ext
7152 ac_res
=`eval echo '${'$as_ac_var'}'`
7153 { echo "$as_me:$LINENO: result: $ac_res" >&5
7154 echo "${ECHO_T}$ac_res" >&6; }
7155 if test `eval echo '${'$as_ac_var'}'` = yes; then
7156 cat >>confdefs.h
<<_ACEOF
7157 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7164 for ac_func
in getopt_long
7166 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7167 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7168 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7169 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7170 echo $ECHO_N "(cached) $ECHO_C" >&6
7172 cat >conftest.
$ac_ext <<_ACEOF
7175 cat confdefs.h
>>conftest.
$ac_ext
7176 cat >>conftest.
$ac_ext <<_ACEOF
7177 /* end confdefs.h. */
7178 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7179 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7180 #define $ac_func innocuous_$ac_func
7182 /* System header to define __stub macros and hopefully few prototypes,
7183 which can conflict with char $ac_func (); below.
7184 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7185 <limits.h> exists even on freestanding compilers. */
7188 # include <limits.h>
7190 # include <assert.h>
7195 /* Override any GCC internal prototype to avoid an error.
7196 Use char because int might match the return type of a GCC
7197 builtin and then its argument prototype would still apply. */
7202 /* The GNU C library defines this for functions which it implements
7203 to always fail with ENOSYS. Some functions are actually named
7204 something starting with __ and the normal name is an alias. */
7205 #if defined __stub_$ac_func || defined __stub___$ac_func
7217 rm -f conftest.
$ac_objext conftest
$ac_exeext
7218 if { (ac_try
="$ac_link"
7220 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7221 *) ac_try_echo=$ac_try;;
7223 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7224 (eval "$ac_link") 2>conftest.er1
7226 grep -v '^ *+' conftest.er1 >conftest.err
7228 cat conftest.err >&5
7229 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7230 (exit $ac_status); } && {
7231 test -z "$ac_cxx_werror_flag" ||
7232 test ! -s conftest.err
7233 } && test -s conftest$ac_exeext &&
7234 $as_test_x conftest$ac_exeext; then
7235 eval "$as_ac_var=yes"
7237 echo "$as_me: failed program was:" >&5
7238 sed 's/^/| /' conftest.$ac_ext >&5
7240 eval "$as_ac_var=no"
7243 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7244 conftest$ac_exeext conftest.$ac_ext
7246 ac_res=`eval echo '${'$as_ac_var'}'`
7247 { echo "$as_me:$LINENO: result: $ac_res" >&5
7248 echo "${ECHO_T}$ac_res" >&6; }
7249 if test `eval echo '${'$as_ac_var'}'` = yes; then
7250 cat >>confdefs.h <<_ACEOF
7251 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7258 for ac_func in getdomainname
7260 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7261 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7262 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7263 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7264 echo $ECHO_N "(cached) $ECHO_C" >&6
7266 cat >conftest.$ac_ext <<_ACEOF
7269 cat confdefs.h >>conftest.$ac_ext
7270 cat >>conftest.$ac_ext <<_ACEOF
7271 /* end confdefs.h. */
7272 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7273 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7274 #define $ac_func innocuous_$ac_func
7276 /* System header to define __stub macros and hopefully few prototypes,
7277 which can conflict with char $ac_func (); below.
7278 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7279 <limits.h> exists even on freestanding compilers. */
7282 # include <limits.h>
7284 # include <assert.h>
7289 /* Override any GCC internal prototype to avoid an error.
7290 Use char because int might match the return type of a GCC
7291 builtin and then its argument prototype would still apply. */
7296 /* The GNU C library defines this for functions which it implements
7297 to always fail with ENOSYS. Some functions are actually named
7298 something starting with __ and the normal name is an alias. */
7299 #if defined __stub_$ac_func || defined __stub___$ac_func
7311 rm -f conftest.$ac_objext conftest$ac_exeext
7312 if { (ac_try="$ac_link"
7314 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7315 *) ac_try_echo
=$ac_try;;
7317 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7318 (eval "$ac_link") 2>conftest.er1
7320 grep -v '^ *+' conftest.er1
>conftest.err
7322 cat conftest.err
>&5
7323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7324 (exit $ac_status); } && {
7325 test -z "$ac_cxx_werror_flag" ||
7326 test ! -s conftest.err
7327 } && test -s conftest
$ac_exeext &&
7328 $as_test_x conftest
$ac_exeext; then
7329 eval "$as_ac_var=yes"
7331 echo "$as_me: failed program was:" >&5
7332 sed 's/^/| /' conftest.
$ac_ext >&5
7334 eval "$as_ac_var=no"
7337 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7338 conftest
$ac_exeext conftest.
$ac_ext
7340 ac_res
=`eval echo '${'$as_ac_var'}'`
7341 { echo "$as_me:$LINENO: result: $ac_res" >&5
7342 echo "${ECHO_T}$ac_res" >&6; }
7343 if test `eval echo '${'$as_ac_var'}'` = yes; then
7344 cat >>confdefs.h
<<_ACEOF
7345 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7352 for ac_func
in gethostname
7354 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7355 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7356 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7357 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7358 echo $ECHO_N "(cached) $ECHO_C" >&6
7360 cat >conftest.
$ac_ext <<_ACEOF
7363 cat confdefs.h
>>conftest.
$ac_ext
7364 cat >>conftest.
$ac_ext <<_ACEOF
7365 /* end confdefs.h. */
7366 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7367 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7368 #define $ac_func innocuous_$ac_func
7370 /* System header to define __stub macros and hopefully few prototypes,
7371 which can conflict with char $ac_func (); below.
7372 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7373 <limits.h> exists even on freestanding compilers. */
7376 # include <limits.h>
7378 # include <assert.h>
7383 /* Override any GCC internal prototype to avoid an error.
7384 Use char because int might match the return type of a GCC
7385 builtin and then its argument prototype would still apply. */
7390 /* The GNU C library defines this for functions which it implements
7391 to always fail with ENOSYS. Some functions are actually named
7392 something starting with __ and the normal name is an alias. */
7393 #if defined __stub_$ac_func || defined __stub___$ac_func
7405 rm -f conftest.
$ac_objext conftest
$ac_exeext
7406 if { (ac_try
="$ac_link"
7408 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7409 *) ac_try_echo=$ac_try;;
7411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7412 (eval "$ac_link") 2>conftest.er1
7414 grep -v '^ *+' conftest.er1 >conftest.err
7416 cat conftest.err >&5
7417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7418 (exit $ac_status); } && {
7419 test -z "$ac_cxx_werror_flag" ||
7420 test ! -s conftest.err
7421 } && test -s conftest$ac_exeext &&
7422 $as_test_x conftest$ac_exeext; then
7423 eval "$as_ac_var=yes"
7425 echo "$as_me: failed program was:" >&5
7426 sed 's/^/| /' conftest.$ac_ext >&5
7428 eval "$as_ac_var=no"
7431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7432 conftest$ac_exeext conftest.$ac_ext
7434 ac_res=`eval echo '${'$as_ac_var'}'`
7435 { echo "$as_me:$LINENO: result: $ac_res" >&5
7436 echo "${ECHO_T}$ac_res" >&6; }
7437 if test `eval echo '${'$as_ac_var'}'` = yes; then
7438 cat >>confdefs.h <<_ACEOF
7439 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7446 for ac_func in gethostbyname
7448 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7449 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7450 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7451 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7452 echo $ECHO_N "(cached) $ECHO_C" >&6
7454 cat >conftest.$ac_ext <<_ACEOF
7457 cat confdefs.h >>conftest.$ac_ext
7458 cat >>conftest.$ac_ext <<_ACEOF
7459 /* end confdefs.h. */
7460 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7461 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7462 #define $ac_func innocuous_$ac_func
7464 /* System header to define __stub macros and hopefully few prototypes,
7465 which can conflict with char $ac_func (); below.
7466 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7467 <limits.h> exists even on freestanding compilers. */
7470 # include <limits.h>
7472 # include <assert.h>
7477 /* Override any GCC internal prototype to avoid an error.
7478 Use char because int might match the return type of a GCC
7479 builtin and then its argument prototype would still apply. */
7484 /* The GNU C library defines this for functions which it implements
7485 to always fail with ENOSYS. Some functions are actually named
7486 something starting with __ and the normal name is an alias. */
7487 #if defined __stub_$ac_func || defined __stub___$ac_func
7499 rm -f conftest.$ac_objext conftest$ac_exeext
7500 if { (ac_try="$ac_link"
7502 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7503 *) ac_try_echo
=$ac_try;;
7505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7506 (eval "$ac_link") 2>conftest.er1
7508 grep -v '^ *+' conftest.er1
>conftest.err
7510 cat conftest.err
>&5
7511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7512 (exit $ac_status); } && {
7513 test -z "$ac_cxx_werror_flag" ||
7514 test ! -s conftest.err
7515 } && test -s conftest
$ac_exeext &&
7516 $as_test_x conftest
$ac_exeext; then
7517 eval "$as_ac_var=yes"
7519 echo "$as_me: failed program was:" >&5
7520 sed 's/^/| /' conftest.
$ac_ext >&5
7522 eval "$as_ac_var=no"
7525 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7526 conftest
$ac_exeext conftest.
$ac_ext
7528 ac_res
=`eval echo '${'$as_ac_var'}'`
7529 { echo "$as_me:$LINENO: result: $ac_res" >&5
7530 echo "${ECHO_T}$ac_res" >&6; }
7531 if test `eval echo '${'$as_ac_var'}'` = yes; then
7532 cat >>confdefs.h
<<_ACEOF
7533 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7540 for ac_func
in sigset
7542 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7543 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7544 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7545 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7546 echo $ECHO_N "(cached) $ECHO_C" >&6
7548 cat >conftest.
$ac_ext <<_ACEOF
7551 cat confdefs.h
>>conftest.
$ac_ext
7552 cat >>conftest.
$ac_ext <<_ACEOF
7553 /* end confdefs.h. */
7554 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7555 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7556 #define $ac_func innocuous_$ac_func
7558 /* System header to define __stub macros and hopefully few prototypes,
7559 which can conflict with char $ac_func (); below.
7560 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7561 <limits.h> exists even on freestanding compilers. */
7564 # include <limits.h>
7566 # include <assert.h>
7571 /* Override any GCC internal prototype to avoid an error.
7572 Use char because int might match the return type of a GCC
7573 builtin and then its argument prototype would still apply. */
7578 /* The GNU C library defines this for functions which it implements
7579 to always fail with ENOSYS. Some functions are actually named
7580 something starting with __ and the normal name is an alias. */
7581 #if defined __stub_$ac_func || defined __stub___$ac_func
7593 rm -f conftest.
$ac_objext conftest
$ac_exeext
7594 if { (ac_try
="$ac_link"
7596 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7597 *) ac_try_echo=$ac_try;;
7599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7600 (eval "$ac_link") 2>conftest.er1
7602 grep -v '^ *+' conftest.er1 >conftest.err
7604 cat conftest.err >&5
7605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7606 (exit $ac_status); } && {
7607 test -z "$ac_cxx_werror_flag" ||
7608 test ! -s conftest.err
7609 } && test -s conftest$ac_exeext &&
7610 $as_test_x conftest$ac_exeext; then
7611 eval "$as_ac_var=yes"
7613 echo "$as_me: failed program was:" >&5
7614 sed 's/^/| /' conftest.$ac_ext >&5
7616 eval "$as_ac_var=no"
7619 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7620 conftest$ac_exeext conftest.$ac_ext
7622 ac_res=`eval echo '${'$as_ac_var'}'`
7623 { echo "$as_me:$LINENO: result: $ac_res" >&5
7624 echo "${ECHO_T}$ac_res" >&6; }
7625 if test `eval echo '${'$as_ac_var'}'` = yes; then
7626 cat >>confdefs.h <<_ACEOF
7627 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7634 for ac_func in strtoull
7636 as_ac_var=`echo "ac_cv_func_$ac_func" |
$as_tr_sh`
7637 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7638 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7639 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7640 echo $ECHO_N "(cached) $ECHO_C" >&6
7642 cat >conftest.$ac_ext <<_ACEOF
7645 cat confdefs.h >>conftest.$ac_ext
7646 cat >>conftest.$ac_ext <<_ACEOF
7647 /* end confdefs.h. */
7648 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7649 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7650 #define $ac_func innocuous_$ac_func
7652 /* System header to define __stub macros and hopefully few prototypes,
7653 which can conflict with char $ac_func (); below.
7654 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7655 <limits.h> exists even on freestanding compilers. */
7658 # include <limits.h>
7660 # include <assert.h>
7665 /* Override any GCC internal prototype to avoid an error.
7666 Use char because int might match the return type of a GCC
7667 builtin and then its argument prototype would still apply. */
7672 /* The GNU C library defines this for functions which it implements
7673 to always fail with ENOSYS. Some functions are actually named
7674 something starting with __ and the normal name is an alias. */
7675 #if defined __stub_$ac_func || defined __stub___$ac_func
7687 rm -f conftest.$ac_objext conftest$ac_exeext
7688 if { (ac_try="$ac_link"
7690 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7691 *) ac_try_echo
=$ac_try;;
7693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7694 (eval "$ac_link") 2>conftest.er1
7696 grep -v '^ *+' conftest.er1
>conftest.err
7698 cat conftest.err
>&5
7699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7700 (exit $ac_status); } && {
7701 test -z "$ac_cxx_werror_flag" ||
7702 test ! -s conftest.err
7703 } && test -s conftest
$ac_exeext &&
7704 $as_test_x conftest
$ac_exeext; then
7705 eval "$as_ac_var=yes"
7707 echo "$as_me: failed program was:" >&5
7708 sed 's/^/| /' conftest.
$ac_ext >&5
7710 eval "$as_ac_var=no"
7713 rm -f core conftest.err conftest.
$ac_objext conftest_ipa8_conftest.oo \
7714 conftest
$ac_exeext conftest.
$ac_ext
7716 ac_res
=`eval echo '${'$as_ac_var'}'`
7717 { echo "$as_me:$LINENO: result: $ac_res" >&5
7718 echo "${ECHO_T}$ac_res" >&6; }
7719 if test `eval echo '${'$as_ac_var'}'` = yes; then
7720 cat >>confdefs.h
<<_ACEOF
7721 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7728 for ac_func
in uname
7730 as_ac_var
=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7731 { echo "$as_me:$LINENO: checking for $ac_func" >&5
7732 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7733 if { as_var
=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7734 echo $ECHO_N "(cached) $ECHO_C" >&6
7736 cat >conftest.
$ac_ext <<_ACEOF
7739 cat confdefs.h
>>conftest.
$ac_ext
7740 cat >>conftest.
$ac_ext <<_ACEOF
7741 /* end confdefs.h. */
7742 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7743 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7744 #define $ac_func innocuous_$ac_func
7746 /* System header to define __stub macros and hopefully few prototypes,
7747 which can conflict with char $ac_func (); below.
7748 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7749 <limits.h> exists even on freestanding compilers. */
7752 # include <limits.h>
7754 # include <assert.h>
7759 /* Override any GCC internal prototype to avoid an error.
7760 Use char because int might match the return type of a GCC
7761 builtin and then its argument prototype would still apply. */
7766 /* The GNU C library defines this for functions which it implements
7767 to always fail with ENOSYS. Some functions are actually named
7768 something starting with __ and the normal name is an alias. */
7769 #if defined __stub_$ac_func || defined __stub___$ac_func
7781 rm -f conftest.
$ac_objext conftest
$ac_exeext
7782 if { (ac_try
="$ac_link"
7784 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7785 *) ac_try_echo=$ac_try;;
7787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7788 (eval "$ac_link") 2>conftest.er1
7790 grep -v '^ *+' conftest.er1 >conftest.err
7792 cat conftest.err >&5
7793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7794 (exit $ac_status); } && {
7795 test -z "$ac_cxx_werror_flag" ||
7796 test ! -s conftest.err
7797 } && test -s conftest$ac_exeext &&
7798 $as_test_x conftest$ac_exeext; then
7799 eval "$as_ac_var=yes"
7801 echo "$as_me: failed program was:" >&5
7802 sed 's/^/| /' conftest.$ac_ext >&5
7804 eval "$as_ac_var=no"
7807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
7808 conftest$ac_exeext conftest.$ac_ext
7810 ac_res=`eval echo '${'$as_ac_var'}'`
7811 { echo "$as_me:$LINENO: result: $ac_res" >&5
7812 echo "${ECHO_T}$ac_res" >&6; }
7813 if test `eval echo '${'$as_ac_var'}'` = yes; then
7814 cat >>confdefs.h <<_ACEOF
7815 #define `echo "HAVE_$ac_func" |
$as_tr_cpp` 1
7822 # Check whether snprintf appends null char and returns expected length on overflow
7825 { echo "$as_me:$LINENO: checking for working snprintf" >&5
7826 echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6; }
7827 if test "$cross_compiling" = yes; then
7828 libc_have_working_snprintf=no
7830 cat >conftest.$ac_ext <<_ACEOF
7833 cat confdefs.h >>conftest.$ac_ext
7834 cat >>conftest.$ac_ext <<_ACEOF
7835 /* end confdefs.h. */
7840 char buf[]="ABCDEFGHI";
7841 int i=snprintf(buf,8,"12345678"); return !(!buf[7] && i==8);
7846 rm -f conftest$ac_exeext
7847 if { (ac_try="$ac_link"
7849 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7850 *) ac_try_echo
=$ac_try;;
7852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7853 (eval "$ac_link") 2>&5
7855 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7856 (exit $ac_status); } && { ac_try
='./conftest$ac_exeext'
7857 { (case "(($ac_try" in
7858 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7859 *) ac_try_echo=$ac_try;;
7861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7862 (eval "$ac_try") 2>&5
7864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7865 (exit $ac_status); }; }; then
7866 libc_have_working_snprintf=yes
7868 echo "$as_me: program exited with status $ac_status" >&5
7869 echo "$as_me: failed program was:" >&5
7870 sed 's/^/| /' conftest.$ac_ext >&5
7873 libc_have_working_snprintf=no
7875 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
7880 if test "$libc_have_working_snprintf" = "yes"; then
7881 cat >>confdefs.h <<\_ACEOF
7882 #define HAVE_WORKING_SNPRINTF 1
7886 { echo "$as_me:$LINENO: result: $libc_have_working_snprintf" >&5
7887 echo "${ECHO_T}$libc_have_working_snprintf" >&6; }
7889 # check for __attribute__((packed))
7892 { echo "$as_me:$LINENO: checking whether C++ compiler supports __attribute__((packed))" >&5
7893 echo $ECHO_N "checking whether C++ compiler supports __attribute__((packed))... $ECHO_C" >&6; }
7894 cat >conftest.$ac_ext <<_ACEOF
7897 cat confdefs.h >>conftest.$ac_ext
7898 cat >>conftest.$ac_ext <<_ACEOF
7899 /* end confdefs.h. */
7904 struct a { int b; } __attribute__((packed));
7909 rm -f conftest.$ac_objext
7910 if { (ac_try="$ac_compile"
7912 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
7913 *) ac_try_echo
=$ac_try;;
7915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7916 (eval "$ac_compile") 2>conftest.er1
7918 grep -v '^ *+' conftest.er1
>conftest.err
7920 cat conftest.err
>&5
7921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7922 (exit $ac_status); } && {
7923 test -z "$ac_cxx_werror_flag" ||
7924 test ! -s conftest.err
7925 } && test -s conftest.
$ac_objext; then
7926 gcc_have_attr_packed
=yes
7928 echo "$as_me: failed program was:" >&5
7929 sed 's/^/| /' conftest.
$ac_ext >&5
7931 gcc_have_attr_packed
=no
7934 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7935 cat >conftest.
$ac_ext <<_ACEOF
7938 cat confdefs.h
>>conftest.
$ac_ext
7939 cat >>conftest.
$ac_ext <<_ACEOF
7940 /* end confdefs.h. */
7945 #if defined(__SUNPRO_C) || defined(__SUNPRO_CC)
7946 #error "Sun's compiler cannot handle __attribute__((packed))!"
7952 rm -f conftest.
$ac_objext
7953 if { (ac_try
="$ac_compile"
7955 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
7956 *) ac_try_echo=$ac_try;;
7958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7959 (eval "$ac_compile") 2>conftest.er1
7961 grep -v '^ *+' conftest.er1 >conftest.err
7963 cat conftest.err >&5
7964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7965 (exit $ac_status); } && {
7966 test -z "$ac_cxx_werror_flag" ||
7967 test ! -s conftest.err
7968 } && test -s conftest.$ac_objext; then
7971 echo "$as_me: failed program was:" >&5
7972 sed 's/^/| /' conftest.$ac_ext >&5
7974 gcc_have_attr_packed=no
7977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7979 if test "$gcc_have_attr_packed" = "yes"; then
7980 cat >>confdefs.h <<\_ACEOF
7981 #define HAVE_ATTR_PACKED 1
7985 { echo "$as_me:$LINENO: result: $gcc_have_attr_packed" >&5
7986 echo "${ECHO_T}$gcc_have_attr_packed" >&6; }
7992 exampledir='${docdir}/examplescripts'
7996 # Check whether --with-initscriptdir was given.
7997 if test "${with_initscriptdir+set}" = set; then
7998 withval=$with_initscriptdir; initddir="$withval"
8000 initddir='${sysconfdir}/rc.d/init.d'
8006 # Check whether --with-docdir was given.
8007 if test "${with_docdir+set}" = set; then
8008 withval=$with_docdir; docdir="$withval"
8010 docdir='${prefix}/share/doc/${PACKAGE}-${VERSION}'
8015 # Check whether --enable-sample was given.
8016 if test "${enable_sample+set}" = set; then
8017 enableval=$enable_sample; smartd_suffix='.sample'
8023 if test $smartd_suffix; then
8025 SMARTD_SUFFIX_FALSE='#'
8027 SMARTD_SUFFIX_TRUE='#'
8028 SMARTD_SUFFIX_FALSE=
8032 if test "$prefix" = "NONE"; then
8033 if test "$mandir" = '${prefix}/man'; then
8034 mandir='${prefix}/share/man'
8039 releaseversion='${PACKAGE}-${VERSION}'
8046 os_deps='os_linux.o cciss.o'
8050 *-*-freebsd*|*-*-dragonfly*|*-*-kfreebsd*-gnu*)
8051 os_deps='os_freebsd.o cciss.o'
8057 cat >>confdefs.h <<_ACEOF
8058 #define DEFAULT_MAILER "mailx"
8062 cat >>confdefs.h <<_ACEOF
8063 #define NEED_SOLARIS_ATA_CODE "os_solaris_ata.s"
8066 os_deps='os_solaris.o os_solaris_ata.o'
8072 cat >>confdefs.h <<_ACEOF
8073 #define DEFAULT_MAILER "mailx"
8076 os_deps='os_solaris.o'
8081 os_deps='os_netbsd.o'
8086 os_deps='os_openbsd.o'
8091 os_deps='os_win32.o'
8096 os_deps='os_win32.o'
8101 os_deps='os_darwin.o'
8103 os_libs='-framework CoreFoundation -framework IOKit'
8106 os_deps='os_qnxnto.o'
8112 os_deps='os_generic.o'
8118 # Define symbols for optional functions in OS specific module
8119 case "${os_deps}" in
8122 cat >>confdefs.h <<\_ACEOF
8123 #define HAVE_ATA_IDENTIFY_IS_CACHED 1
8127 case "${os_deps}" in
8130 cat >>confdefs.h <<\_ACEOF
8131 #define HAVE_GET_OS_VERSION_STR 1
8136 if echo $host_os | grep '^darwin' > /dev/null; then
8144 if echo $host_os | grep '^solaris' > /dev/null; then
8146 OS_SOLARIS_FALSE='#'
8152 if echo $host_os | grep '^mingw' > /dev/null; then
8153 OS_WIN32_MINGW_TRUE=
8154 OS_WIN32_MINGW_FALSE='#'
8156 OS_WIN32_MINGW_TRUE='#'
8157 OS_WIN32_MINGW_FALSE=
8161 if test "x$GCC" = "xyes"; then
8162 if test -z "`echo "$CXXFLAGS" |
grep "\-Wall" 2> /dev
/null
`" ; then
8163 CXXFLAGS="$CXXFLAGS -Wall"
8165 # In the next line, do NOT delete the 2 spaces inside double quotes.
8166 if test -z "`echo "$CXXFLAGS " |
grep "\-W " 2> /dev
/null
`" ; then
8167 CXXFLAGS="$CXXFLAGS -W"
8171 # MinGW uses MSVCRT.DLL which uses printf format "%I64d" and not "%lld" for int64_t
8172 CXXFLAGS="$CXXFLAGS -Wno-format";;
8177 if test -z "`echo "$CXXFLAGS" |
grep "\-xmemalign" 2> /dev
/null
`" ; then
8178 CXXFLAGS="-xmemalign=1i $CXXFLAGS"
8183 if test -z "`echo "$CXXFLAGS" |
grep "\-xO" 2> /dev
/null
`" ; then
8184 CXXFLAGS="-xO2 $CXXFLAGS"
8186 if test -z "`echo "$CXXFLAGS" |
grep "\-erroff" 2> /dev
/null
`" ; then
8187 CXXFLAGS="-erroff=%none,wbadinitl,wbadasgl,badargtypel2w $CXXFLAGS"
8193 cat >>confdefs.h <<_ACEOF
8194 #define SMARTMONTOOLS_BUILD_HOST "${host}"
8200 ac_config_files="$ac_config_files Makefile examplescripts/Makefile"
8202 cat >confcache <<\_ACEOF
8203 # This file is a shell script that caches the results of configure
8204 # tests run on this system so they can be shared between configure
8205 # scripts and configure runs, see configure's option --config-cache.
8206 # It is not useful on other systems. If it contains results you don't
8207 # want to keep, you may remove or edit it.
8209 # config.status only pays attention to the cache file if you give it
8210 # the --recheck option to rerun configure.
8212 # `ac_cv_env_foo
' variables (set or unset) will be overridden when
8213 # loading this file, other *unset* `ac_cv_foo' will be assigned the
8218 # The following way of writing the cache mishandles newlines in values,
8219 # but we know of no workaround that is simple, portable, and efficient.
8220 # So, we kill variables containing newlines.
8221 # Ultrix sh set writes to stderr and can't be redirected directly,
8222 # and sets the high bit in the cache file unless we assign to the vars.
8224 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8225 eval ac_val
=\$
$ac_var
8229 *_cv_
*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8230 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8233 _ | IFS | as_nl
) ;; #(
8234 *) $as_unset $ac_var ;;
8240 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8241 *${as_nl}ac_space
=\
*)
8242 # `set' does not quote correctly, so add quotes (double-quote
8243 # substitution turns \\\\ into \\, and sed turns \\ into \).
8246 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8249 # `set' quotes correctly as required by POSIX, so do not add quotes.
8250 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8259 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8261 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8263 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
8264 if test -w "$cache_file"; then
8265 test "x$cache_file" != "x/dev/null" &&
8266 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8267 echo "$as_me: updating cache $cache_file" >&6;}
8268 cat confcache
>$cache_file
8270 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8271 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8276 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
8277 # Let make expand exec_prefix.
8278 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
8280 DEFS
=-DHAVE_CONFIG_H
8284 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
8285 # 1. Remove the extension, and $U if already installed.
8286 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
8287 ac_i
=`echo "$ac_i" | sed "$ac_script"`
8288 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8289 # will be set to the directory where LIBOBJS objects are built.
8290 ac_libobjs
="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8291 ac_ltlibobjs
="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8295 LTLIBOBJS
=$ac_ltlibobjs
8298 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8299 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8300 Usually this means the macro was only invoked conditionally." >&5
8301 echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8302 Usually this means the macro was only invoked conditionally." >&2;}
8303 { (exit 1); exit 1; }; }
8305 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8306 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8307 Usually this means the macro was only invoked conditionally." >&5
8308 echo "$as_me: error: conditional \"AMDEP\" was never defined.
8309 Usually this means the macro was only invoked conditionally." >&2;}
8310 { (exit 1); exit 1; }; }
8312 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8313 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
8314 Usually this means the macro was only invoked conditionally." >&5
8315 echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
8316 Usually this means the macro was only invoked conditionally." >&2;}
8317 { (exit 1); exit 1; }; }
8319 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8320 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8321 Usually this means the macro was only invoked conditionally." >&5
8322 echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8323 Usually this means the macro was only invoked conditionally." >&2;}
8324 { (exit 1); exit 1; }; }
8326 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
8327 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCCAS\" was never defined.
8328 Usually this means the macro was only invoked conditionally." >&5
8329 echo "$as_me: error: conditional \"am__fastdepCCAS\" was never defined.
8330 Usually this means the macro was only invoked conditionally." >&2;}
8331 { (exit 1); exit 1; }; }
8333 if test -z "${SMARTD_SUFFIX_TRUE}" && test -z "${SMARTD_SUFFIX_FALSE}"; then
8334 { { echo "$as_me:$LINENO: error: conditional \"SMARTD_SUFFIX\" was never defined.
8335 Usually this means the macro was only invoked conditionally." >&5
8336 echo "$as_me: error: conditional \"SMARTD_SUFFIX\" was never defined.
8337 Usually this means the macro was only invoked conditionally." >&2;}
8338 { (exit 1); exit 1; }; }
8340 if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then
8341 { { echo "$as_me:$LINENO: error: conditional \"OS_DARWIN\" was never defined.
8342 Usually this means the macro was only invoked conditionally." >&5
8343 echo "$as_me: error: conditional \"OS_DARWIN\" was never defined.
8344 Usually this means the macro was only invoked conditionally." >&2;}
8345 { (exit 1); exit 1; }; }
8347 if test -z "${OS_SOLARIS_TRUE}" && test -z "${OS_SOLARIS_FALSE}"; then
8348 { { echo "$as_me:$LINENO: error: conditional \"OS_SOLARIS\" was never defined.
8349 Usually this means the macro was only invoked conditionally." >&5
8350 echo "$as_me: error: conditional \"OS_SOLARIS\" was never defined.
8351 Usually this means the macro was only invoked conditionally." >&2;}
8352 { (exit 1); exit 1; }; }
8354 if test -z "${OS_WIN32_MINGW_TRUE}" && test -z "${OS_WIN32_MINGW_FALSE}"; then
8355 { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32_MINGW\" was never defined.
8356 Usually this means the macro was only invoked conditionally." >&5
8357 echo "$as_me: error: conditional \"OS_WIN32_MINGW\" was never defined.
8358 Usually this means the macro was only invoked conditionally." >&2;}
8359 { (exit 1); exit 1; }; }
8362 : ${CONFIG_STATUS=./config.status}
8363 ac_clean_files_save
=$ac_clean_files
8364 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
8365 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8366 echo "$as_me: creating $CONFIG_STATUS" >&6;}
8367 cat >$CONFIG_STATUS <<_ACEOF
8369 # Generated by $as_me.
8370 # Run this file to recreate the current configuration.
8371 # Compiler output produced by configure, useful for debugging
8372 # configure, is in config.log if it exists.
8377 SHELL=\${CONFIG_SHELL-$SHELL}
8380 cat >>$CONFIG_STATUS <<\_ACEOF
8381 ## --------------------- ##
8382 ## M4sh Initialization. ##
8383 ## --------------------- ##
8385 # Be more Bourne compatible
8386 DUALCASE
=1; export DUALCASE
# for MKS sh
8387 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then
8390 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8391 # is contrary to our usage. Disable this feature.
8392 alias -g '${1+"$@"}'='"$@"'
8393 setopt NO_GLOB_SUBST
8395 case `(set -o) 2>/dev/null` in
8396 *posix
*) set -o posix
;;
8405 # Avoid depending upon Character Ranges.
8406 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
8407 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8408 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
8409 as_cr_digits
='0123456789'
8410 as_cr_alnum
=$as_cr_Letters$as_cr_digits
8412 # The user is always right.
8413 if test "${PATH_SEPARATOR+set}" != set; then
8414 echo "#! /bin/sh" >conf$$.sh
8415 echo "exit 0" >>conf$$.sh
8417 if (PATH
="/nonexistent;."; conf$$.sh
) >/dev
/null
2>&1; then
8425 # Support unset when possible.
8426 if ( (MAIL
=60; unset MAIL
) ||
exit) >/dev
/null
2>&1; then
8434 # We need space, tab and new line, in precisely that order. Quoting is
8435 # there to prevent editors from complaining about space-tab.
8436 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
8437 # splitting by setting IFS to empty value.)
8442 # Find who we are. Look in the path if we contain no directory separator.
8444 *[\\/]* ) as_myself
=$0 ;;
8445 *) as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
8449 test -z "$as_dir" && as_dir
=.
8450 test -r "$as_dir/$0" && as_myself
=$as_dir/$0 && break
8456 # We did not find ourselves, most probably we were run as `sh COMMAND'
8457 # in which case we are not to be found in the path.
8458 if test "x$as_myself" = x
; then
8461 if test ! -f "$as_myself"; then
8462 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
8463 { (exit 1); exit 1; }
8466 # Work around bugs in pre-3.0 UWIN ksh.
8467 for as_var
in ENV MAIL MAILPATH
8468 do ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8476 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
8477 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
8478 LC_TELEPHONE LC_TIME
8480 if (set +x
; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
8481 eval $as_var=C
; export $as_var
8483 ($as_unset $as_var) >/dev
/null
2>&1 && $as_unset $as_var
8487 # Required to use basename.
8488 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8489 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8495 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
8496 as_basename
=basename
8502 # Name of the executable.
8503 as_me
=`$as_basename -- "$0" ||
8504 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
8505 X"$0" : 'X\(//\)$' \| \
8506 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
8508 sed '/^.*\/\([^/][^/]*\)\/*$/{
8529 test "x$as_lineno_1" != "x$as_lineno_2" &&
8530 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" ||
{
8532 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
8533 # uniformly replaced by the line number. The first 'sed' inserts a
8534 # line-number line after each line using $LINENO; the second 'sed'
8535 # does the real work. The second script uses 'N' to pair each
8536 # line-number line with the line containing $LINENO, and appends
8537 # trailing '-' during substitution so that $LINENO is not a special
8539 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
8540 # scripts with optimization help from Paolo Bonzini. Blame Lee
8541 # E. McMahon (1931-1989) for sed's syntax. :-)
8553 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
8557 chmod +x
"$as_me.lineno" ||
8558 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
8559 { (exit 1); exit 1; }; }
8561 # Don't try to exec as it changes $[0], causing all sort of problems
8562 # (the dirname of $[0] is not the place where we might find the
8563 # original and so on. Autoconf is especially sensitive to this).
8565 # Exit status is that of the last command.
8570 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
8576 ECHO_C
= ECHO_N
= ECHO_T
=
8579 case `echo 'x\c'` in
8580 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
8587 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
8588 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
8594 rm -f conf$$ conf$$.exe conf$$.
file
8595 if test -d conf$$.dir
; then
8596 rm -f conf$$.dir
/conf$$.
file
8602 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
8604 # ... but there are two gotchas:
8605 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
8606 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
8607 # In both cases, we have to default to `cp -p'.
8608 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
8610 elif ln conf$$.
file conf$$
2>/dev
/null
; then
8615 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
8616 rmdir conf$$.dir
2>/dev
/null
8618 if mkdir
-p .
2>/dev
/null
; then
8621 test -d .
/-p && rmdir .
/-p
8625 if test -x / >/dev
/null
2>&1; then
8628 if ls -dL / >/dev
/null
2>&1; then
8635 if test -d "$1"; then
8641 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
8642 ???[sx]*):;;*)false;;esac;fi
8646 as_executable_p
=$as_test_x
8648 # Sed expression to map a string onto a valid CPP name.
8649 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
8651 # Sed expression to map a string onto a valid variable name.
8652 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
8657 # Save the log message, to keep $[0] and so on meaningful, and to
8658 # report actual input values of CONFIG_FILES etc. instead of their
8659 # values after options handling.
8661 This file was extended by smartmontools $as_me 5.38, which was
8662 generated by GNU Autoconf 2.61. Invocation command line was
8664 CONFIG_FILES = $CONFIG_FILES
8665 CONFIG_HEADERS = $CONFIG_HEADERS
8666 CONFIG_LINKS = $CONFIG_LINKS
8667 CONFIG_COMMANDS = $CONFIG_COMMANDS
8670 on `(hostname || uname -n) 2>/dev/null | sed 1q`
8675 cat >>$CONFIG_STATUS <<_ACEOF
8676 # Files that config.status was made for.
8677 config_files="$ac_config_files"
8678 config_headers="$ac_config_headers"
8679 config_commands="$ac_config_commands"
8683 cat >>$CONFIG_STATUS <<\_ACEOF
8685 \`$as_me' instantiates files from templates according to the
8686 current configuration.
8688 Usage: $0 [OPTIONS] [FILE]...
8690 -h, --help print this help, then exit
8691 -V, --version print version number and configuration settings, then exit
8692 -q, --quiet do not print progress messages
8693 -d, --debug don't remove temporary files
8694 --recheck update $as_me by reconfiguring in the same conditions
8695 --file=FILE[:TEMPLATE]
8696 instantiate the configuration file FILE
8697 --header=FILE[:TEMPLATE]
8698 instantiate the configuration header FILE
8700 Configuration files:
8703 Configuration headers:
8706 Configuration commands:
8709 Report bugs to <bug-autoconf@gnu.org>."
8712 cat >>$CONFIG_STATUS <<_ACEOF
8714 smartmontools config.status 5.38
8715 configured by $0, generated by GNU Autoconf 2.61,
8716 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
8718 Copyright (C) 2006 Free Software Foundation, Inc.
8719 This config.status script is free software; the Free Software Foundation
8720 gives unlimited permission to copy, distribute and modify it."
8728 cat >>$CONFIG_STATUS <<\_ACEOF
8729 # If no file are specified by the user, then we need to provide default
8730 # value. By we need to know if files were specified by the user.
8736 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
8737 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
8748 # Handling of the options.
8749 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
8751 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
8752 echo "$ac_cs_version"; exit ;;
8753 --debug |
--debu |
--deb |
--de |
--d |
-d )
8755 --file |
--fil |
--fi |
--f )
8757 CONFIG_FILES
="$CONFIG_FILES $ac_optarg"
8758 ac_need_defaults
=false
;;
8759 --header |
--heade |
--head |
--hea )
8761 CONFIG_HEADERS
="$CONFIG_HEADERS $ac_optarg"
8762 ac_need_defaults
=false
;;
8764 # Conflict between --help and --header
8765 { echo "$as_me: error: ambiguous option: $1
8766 Try \`$0 --help' for more information." >&2
8767 { (exit 1); exit 1; }; };;
8768 --help |
--hel |
-h )
8769 echo "$ac_cs_usage"; exit ;;
8770 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
8771 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
8775 -*) { echo "$as_me: error: unrecognized option: $1
8776 Try \`$0 --help' for more information." >&2
8777 { (exit 1); exit 1; }; } ;;
8779 *) ac_config_targets
="$ac_config_targets $1"
8780 ac_need_defaults
=false
;;
8786 ac_configure_extra_args
=
8788 if $ac_cs_silent; then
8790 ac_configure_extra_args
="$ac_configure_extra_args --silent"
8794 cat >>$CONFIG_STATUS <<_ACEOF
8795 if \$ac_cs_recheck; then
8796 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
8799 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
8803 cat >>$CONFIG_STATUS <<\_ACEOF
8807 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
8808 ## Running $as_me. ##
8814 cat >>$CONFIG_STATUS <<_ACEOF
8818 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
8822 cat >>$CONFIG_STATUS <<\_ACEOF
8824 # Handling of arguments.
8825 for ac_config_target
in $ac_config_targets
8827 case $ac_config_target in
8828 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
8829 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
8830 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
8831 "examplescripts/Makefile") CONFIG_FILES
="$CONFIG_FILES examplescripts/Makefile" ;;
8833 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
8834 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
8835 { (exit 1); exit 1; }; };;
8840 # If the user did not use the arguments to specify the items to instantiate,
8841 # then the envvar interface is used. Set only those that are not.
8842 # We use the long form for the default assignment because of an extremely
8843 # bizarre bug on SunOS 4.1.3.
8844 if $ac_need_defaults; then
8845 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8846 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8847 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8850 # Have a temporary directory for convenience. Make it in the build tree
8851 # simply because there is no reason against having it here, and in addition,
8852 # creating and moving files from /tmp can sometimes cause problems.
8853 # Hook for its removal unless debugging.
8854 # Note that there is a small window in which the directory will not be cleaned:
8855 # after its creation but before its name has been assigned to `$tmp'.
8859 trap 'exit_status=$?
8860 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
8862 trap '{ (exit 1); exit 1; }' 1 2 13 15
8864 # Create a (secure) tmp directory for tmp files.
8867 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8868 test -n "$tmp" && test -d "$tmp"
8871 tmp
=.
/conf$$
-$RANDOM
8872 (umask 077 && mkdir
"$tmp")
8875 echo "$me: cannot create a temporary directory in ." >&2
8876 { (exit 1); exit 1; }
8880 # Set up the sed scripts for CONFIG_FILES section.
8883 # No need to generate the scripts if there are no CONFIG_FILES.
8884 # This happens for instance when ./config.status config.h
8885 if test -n "$CONFIG_FILES"; then
8892 for ac_last_try
in false false false false false
:; do
8893 cat >conf$
$subs.
sed <<_ACEOF
8894 SHELL!$SHELL$ac_delim
8895 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
8896 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
8897 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
8898 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
8899 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
8900 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
8901 exec_prefix!$exec_prefix$ac_delim
8902 prefix!$prefix$ac_delim
8903 program_transform_name!$program_transform_name$ac_delim
8904 bindir!$bindir$ac_delim
8905 sbindir!$sbindir$ac_delim
8906 libexecdir!$libexecdir$ac_delim
8907 datarootdir!$datarootdir$ac_delim
8908 datadir!$datadir$ac_delim
8909 sysconfdir!$sysconfdir$ac_delim
8910 sharedstatedir!$sharedstatedir$ac_delim
8911 localstatedir!$localstatedir$ac_delim
8912 includedir!$includedir$ac_delim
8913 oldincludedir!$oldincludedir$ac_delim
8914 docdir!$docdir$ac_delim
8915 infodir!$infodir$ac_delim
8916 htmldir!$htmldir$ac_delim
8917 dvidir!$dvidir$ac_delim
8918 pdfdir!$pdfdir$ac_delim
8919 psdir!$psdir$ac_delim
8920 libdir!$libdir$ac_delim
8921 localedir!$localedir$ac_delim
8922 mandir!$mandir$ac_delim
8924 ECHO_C!$ECHO_C$ac_delim
8925 ECHO_N!$ECHO_N$ac_delim
8926 ECHO_T!$ECHO_T$ac_delim
8928 build_alias!$build_alias$ac_delim
8929 host_alias!$host_alias$ac_delim
8930 target_alias!$target_alias$ac_delim
8931 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
8932 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
8933 INSTALL_DATA!$INSTALL_DATA$ac_delim
8934 am__isrc!$am__isrc$ac_delim
8935 CYGPATH_W!$CYGPATH_W$ac_delim
8936 PACKAGE!$PACKAGE$ac_delim
8937 VERSION!$VERSION$ac_delim
8938 ACLOCAL!$ACLOCAL$ac_delim
8939 AUTOCONF!$AUTOCONF$ac_delim
8940 AUTOMAKE!$AUTOMAKE$ac_delim
8941 AUTOHEADER!$AUTOHEADER$ac_delim
8942 MAKEINFO!$MAKEINFO$ac_delim
8943 install_sh!$install_sh$ac_delim
8944 STRIP!$STRIP$ac_delim
8945 INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
8946 mkdir_p!$mkdir_p$ac_delim
8948 SET_MAKE!$SET_MAKE$ac_delim
8949 am__leading_dot!$am__leading_dot$ac_delim
8950 AMTAR!$AMTAR$ac_delim
8951 am__tar!$am__tar$ac_delim
8952 am__untar!$am__untar$ac_delim
8953 MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
8954 MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
8955 MAINT!$MAINT$ac_delim
8957 CXXFLAGS!$CXXFLAGS$ac_delim
8958 LDFLAGS!$LDFLAGS$ac_delim
8959 CPPFLAGS!$CPPFLAGS$ac_delim
8960 ac_ct_CXX!$ac_ct_CXX$ac_delim
8961 EXEEXT!$EXEEXT$ac_delim
8962 OBJEXT!$OBJEXT$ac_delim
8963 DEPDIR!$DEPDIR$ac_delim
8964 am__include!$am__include$ac_delim
8965 am__quote!$am__quote$ac_delim
8966 AMDEP_TRUE!$AMDEP_TRUE$ac_delim
8967 AMDEP_FALSE!$AMDEP_FALSE$ac_delim
8968 AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
8969 CXXDEPMODE!$CXXDEPMODE$ac_delim
8970 am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
8971 am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
8973 CFLAGS!$CFLAGS$ac_delim
8974 ac_ct_CC!$ac_ct_CC$ac_delim
8975 CCDEPMODE!$CCDEPMODE$ac_delim
8976 am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
8977 am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
8979 CCASFLAGS!$CCASFLAGS$ac_delim
8980 CCASDEPMODE!$CCASDEPMODE$ac_delim
8981 am__fastdepCCAS_TRUE!$am__fastdepCCAS_TRUE$ac_delim
8982 am__fastdepCCAS_FALSE!$am__fastdepCCAS_FALSE$ac_delim
8983 build!$build$ac_delim
8984 build_cpu!$build_cpu$ac_delim
8985 build_vendor!$build_vendor$ac_delim
8986 build_os!$build_os$ac_delim
8988 host_cpu!$host_cpu$ac_delim
8989 host_vendor!$host_vendor$ac_delim
8990 host_os!$host_os$ac_delim
8993 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
8995 elif $ac_last_try; then
8996 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
8997 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
8998 { (exit 1); exit 1; }; }
9000 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9004 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9005 if test -n "$ac_eof"; then
9006 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9007 ac_eof
=`expr $ac_eof + 1`
9010 cat >>$CONFIG_STATUS <<_ACEOF
9011 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9012 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9015 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9016 s/^/s,@/; s/!/@,|#_!!_#|/
9019 s/'"$ac_delim"'$/,g/; t
9021 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9022 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9023 rm -f conf$
$subs.
sed
9024 cat >>$CONFIG_STATUS <<_ACEOF
9030 for ac_last_try
in false false false false false
:; do
9031 cat >conf$
$subs.
sed <<_ACEOF
9032 CXXCPP!$CXXCPP$ac_delim
9034 EGREP!$EGREP$ac_delim
9035 libc_have_working_snprintf!$libc_have_working_snprintf$ac_delim
9036 gcc_have_attr_packed!$gcc_have_attr_packed$ac_delim
9037 ASFLAGS!$ASFLAGS$ac_delim
9038 exampledir!$exampledir$ac_delim
9039 initddir!$initddir$ac_delim
9040 smartd_suffix!$smartd_suffix$ac_delim
9041 SMARTD_SUFFIX_TRUE!$SMARTD_SUFFIX_TRUE$ac_delim
9042 SMARTD_SUFFIX_FALSE!$SMARTD_SUFFIX_FALSE$ac_delim
9043 releaseversion!$releaseversion$ac_delim
9044 smartmontools_release_date!$smartmontools_release_date$ac_delim
9045 smartmontools_release_time!$smartmontools_release_time$ac_delim
9046 os_deps!$os_deps$ac_delim
9047 os_libs!$os_libs$ac_delim
9048 OS_DARWIN_TRUE!$OS_DARWIN_TRUE$ac_delim
9049 OS_DARWIN_FALSE!$OS_DARWIN_FALSE$ac_delim
9050 OS_SOLARIS_TRUE!$OS_SOLARIS_TRUE$ac_delim
9051 OS_SOLARIS_FALSE!$OS_SOLARIS_FALSE$ac_delim
9052 OS_WIN32_MINGW_TRUE!$OS_WIN32_MINGW_TRUE$ac_delim
9053 OS_WIN32_MINGW_FALSE!$OS_WIN32_MINGW_FALSE$ac_delim
9054 LIBOBJS!$LIBOBJS$ac_delim
9055 LTLIBOBJS!$LTLIBOBJS$ac_delim
9058 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 24; then
9060 elif $ac_last_try; then
9061 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9062 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9063 { (exit 1); exit 1; }; }
9065 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
9069 ac_eof
=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9070 if test -n "$ac_eof"; then
9071 ac_eof
=`echo "$ac_eof" | sort -nru | sed 1q`
9072 ac_eof
=`expr $ac_eof + 1`
9075 cat >>$CONFIG_STATUS <<_ACEOF
9076 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9077 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9080 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9081 s/^/s,@/; s/!/@,|#_!!_#|/
9084 s/'"$ac_delim"'$/,g/; t
9086 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9087 ' >>$CONFIG_STATUS <conf$
$subs.
sed
9088 rm -f conf$
$subs.
sed
9089 cat >>$CONFIG_STATUS <<_ACEOF
9096 # VPATH may cause trouble with some makes, so we remove $(srcdir),
9097 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9098 # trailing colons and then remove the whole line if VPATH becomes empty
9099 # (actually we leave an empty line to preserve line numbers).
9100 if test "x$srcdir" = x.
; then
9101 ac_vpsub
='/^[ ]*VPATH[ ]*=/{
9105 s/^\([^=]*=[ ]*\):*/\1/
9111 cat >>$CONFIG_STATUS <<\_ACEOF
9112 fi # test -n "$CONFIG_FILES"
9115 for ac_tag
in :F
$CONFIG_FILES :H
$CONFIG_HEADERS :C
$CONFIG_COMMANDS
9118 :[FHLC
]) ac_mode
=$ac_tag; continue;;
9120 case $ac_mode$ac_tag in
9122 :L
* |
:C
*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9123 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9124 { (exit 1); exit 1; }; };;
9125 :[FH
]-) ac_tag
=-:-;;
9126 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
9143 -) ac_f
="$tmp/stdin";;
9144 *) # Look for the file first in the build tree, then in the source tree
9145 # (if the path is not absolute). The absolute path cannot be DOS-style,
9146 # because $ac_f cannot contain `:'.
9150 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
9152 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9153 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9154 { (exit 1); exit 1; }; };;
9156 ac_file_inputs
="$ac_file_inputs $ac_f"
9159 # Let's still pretend it is `configure' which instantiates (i.e., don't
9160 # use $as_me), people would be surprised to read:
9161 # /* config.h. Generated by config.status. */
9162 configure_input
="Generated from "`IFS=:
9163 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9164 if test x
"$ac_file" != x-
; then
9165 configure_input
="$ac_file. $configure_input"
9166 { echo "$as_me:$LINENO: creating $ac_file" >&5
9167 echo "$as_me: creating $ac_file" >&6;}
9171 *:-:* |
*:-) cat >"$tmp/stdin";;
9176 ac_dir
=`$as_dirname -- "$ac_file" ||
9177 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9178 X"$ac_file" : 'X\(//\)[^/]' \| \
9179 X"$ac_file" : 'X\(//\)$' \| \
9180 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9182 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9201 -*) as_dir
=.
/$as_dir;;
9203 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9207 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9208 *) as_qdir
=$as_dir;;
9210 as_dirs
="'$as_qdir' $as_dirs"
9211 as_dir
=`$as_dirname -- "$as_dir" ||
9212 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9213 X"$as_dir" : 'X\(//\)[^/]' \| \
9214 X"$as_dir" : 'X\(//\)$' \| \
9215 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9217 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9234 test -d "$as_dir" && break
9236 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9237 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9238 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9239 { (exit 1); exit 1; }; }; }
9243 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9245 ac_dir_suffix
=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9246 # A ".." for each directory in $ac_dir_suffix.
9247 ac_top_builddir_sub
=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9248 case $ac_top_builddir_sub in
9249 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
9250 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
9253 ac_abs_top_builddir
=$ac_pwd
9254 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
9255 # for backward compatibility:
9256 ac_top_builddir
=$ac_top_build_prefix
9259 .
) # We are building in place.
9261 ac_top_srcdir
=$ac_top_builddir_sub
9262 ac_abs_top_srcdir
=$ac_pwd ;;
9263 [\\/]* | ?
:[\\/]* ) # Absolute name.
9264 ac_srcdir
=$srcdir$ac_dir_suffix;
9265 ac_top_srcdir
=$srcdir
9266 ac_abs_top_srcdir
=$srcdir ;;
9268 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
9269 ac_top_srcdir
=$ac_top_build_prefix$srcdir
9270 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
9272 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
9282 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
9283 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
9287 [\\/$
]* | ?
:[\\/]* ) ;;
9288 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
9292 cat >>$CONFIG_STATUS <<\_ACEOF
9293 # If the template does not know about datarootdir, expand it.
9294 # FIXME: This hack should be removed a few years after 2.60.
9295 ac_datarootdir_hack
=; ac_datarootdir_seen
=
9297 case `sed -n '/datarootdir/ {
9306 ' $ac_file_inputs` in
9307 *datarootdir
*) ac_datarootdir_seen
=yes;;
9308 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
9309 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9310 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9312 cat >>$CONFIG_STATUS <<_ACEOF
9313 ac_datarootdir_hack='
9314 s&@datadir@&$datadir&g
9315 s&@docdir@&$docdir&g
9316 s&@infodir@&$infodir&g
9317 s&@localedir@&$localedir&g
9318 s&@mandir@&$mandir&g
9319 s&\\\${datarootdir}&$datarootdir&g' ;;
9323 # Neutralize VPATH when `$srcdir' = `.'.
9324 # Shell code in configure.ac might set extrasub.
9325 # FIXME: do we really want to maintain this feature?
9326 cat >>$CONFIG_STATUS <<_ACEOF
9330 cat >>$CONFIG_STATUS <<\_ACEOF
9332 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
9333 s
&@configure_input@
&$configure_input&;t t
9334 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
9335 s
&@srcdir@
&$ac_srcdir&;t t
9336 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
9337 s
&@top_srcdir@
&$ac_top_srcdir&;t t
9338 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
9339 s
&@builddir@
&$ac_builddir&;t t
9340 s
&@abs_builddir@
&$ac_abs_builddir&;t t
9341 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
9342 s
&@INSTALL@
&$ac_INSTALL&;t t
9343 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
9344 $ac_datarootdir_hack
9345 " $ac_file_inputs | sed -f "$tmp/subs-1.
sed" | sed -f "$tmp/subs-2.
sed" >$tmp/out
9347 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9348 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
9349 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
9350 { echo "$as_me:$LINENO: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
9351 which seems to be undefined. Please make sure it is defined." >&5
9352 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
9353 which seems to be undefined. Please make sure it is defined." >&2;}
9357 -) cat "$tmp/out"; rm -f "$tmp/out";;
9358 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9367 # Transform confdefs.h into a sed script `conftest.defines', that
9368 # substitutes the proper values into config.h.in to produce config.h.
9369 rm -f conftest.defines conftest.
tail
9370 # First, append a space to every undef/define line, to ease matching.
9371 echo 's/$/ /' >conftest.defines
9372 # Then, protect against being on the right side of a sed subst, or in
9373 # an unquoted here document, in config.status. If some macros were
9374 # called several times there might be several #defines for the same
9375 # symbol, which is useless. But do not sort them, since the last
9376 # AC_DEFINE must be honored.
9377 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
9378 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9379 # NAME is the cpp macro being defined, VALUE is the value it is being given.
9380 # PARAMS is the parameter list in the macro definition--in most cases, it's
9381 # just an empty string.
9382 ac_dA
='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9383 ac_dB
='\\)[ (].*,\\1define\\2'
9391 s/^[ ]*#[ ]*define[ ][ ]*//
9396 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9397 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9398 ' >>conftest.defines
9400 # Remove the space that was appended to ease matching.
9401 # Then replace #undef with comments. This is necessary, for
9402 # example, in the case of _POSIX_SOURCE, which is predefined and required
9403 # on some systems where configure will not decide to define it.
9404 # (The regexp can be short, since the line contains either #define or #undef.)
9406 s,^[ #]*u.*,/* & */,' >>conftest.defines
9408 # Break up conftest.defines:
9411 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9412 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9413 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9415 ac_in
='$ac_file_inputs'
9416 ac_out
='"$tmp/out1"'
9417 ac_nxt
='"$tmp/out2"'
9421 # Write a here document:
9422 cat >>$CONFIG_STATUS <<_ACEOF
9423 # First, check the format of the line:
9424 cat >"\$tmp/defines.sed" <<\\CEOF
9425 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9426 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9430 sed ${ac_max_sed_lines}q conftest.defines
>>$CONFIG_STATUS
9432 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9433 ac_in
=$ac_out; ac_out
=$ac_nxt; ac_nxt
=$ac_in
9434 sed 1,${ac_max_sed_lines}d conftest.defines
>conftest.
tail
9435 grep . conftest.
tail >/dev
/null ||
break
9436 rm -f conftest.defines
9437 mv conftest.
tail conftest.defines
9439 rm -f conftest.defines conftest.
tail
9441 echo "ac_result=$ac_in" >>$CONFIG_STATUS
9442 cat >>$CONFIG_STATUS <<\_ACEOF
9443 if test x
"$ac_file" != x-
; then
9444 echo "/* $configure_input */" >"$tmp/config.h"
9445 cat "$ac_result" >>"$tmp/config.h"
9446 if diff $ac_file "$tmp/config.h" >/dev
/null
2>&1; then
9447 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9448 echo "$as_me: $ac_file is unchanged" >&6;}
9451 mv "$tmp/config.h" $ac_file
9454 echo "/* $configure_input */"
9458 # Compute $ac_file's index in $config_headers.
9460 for _am_header
in $config_headers :; do
9462 $ac_file |
$ac_file:* )
9465 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
9468 echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
9469 $as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9470 X$ac_file : 'X\(//\)[^/]' \| \
9471 X$ac_file : 'X\(//\)$' \| \
9472 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
9474 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9490 s/.*/./; q'`/stamp-h
$_am_stamp_count
9493 :C
) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
9494 echo "$as_me: executing $ac_file commands" >&6;}
9499 case $ac_file$ac_mode in
9500 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
for mf
in $CONFIG_FILES; do
9501 # Strip MF so we end up with the name of the file.
9502 mf
=`echo "$mf" | sed -e 's/:.*$//'`
9503 # Check whether this is an Automake generated Makefile or not.
9504 # We used to match only the files named `Makefile.in', but
9505 # some people rename them; so instead we look at the file content.
9506 # Grep'ing the first line is not enough: some people post-process
9507 # each Makefile.in and add a new line on top of each file to say so.
9508 # Grep'ing the whole file is not good either: AIX grep has a line
9509 # limit of 2048, but all sed's we know have understand at least 4000.
9510 if sed 10q
"$mf" |
grep '^#.*generated by automake' > /dev
/null
2>&1; then
9511 dirpart
=`$as_dirname -- "$mf" ||
9512 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9513 X"$mf" : 'X\(//\)[^/]' \| \
9514 X"$mf" : 'X\(//\)$' \| \
9515 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
9517 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9537 # Extract the definition of DEPDIR, am__include, and am__quote
9538 # from the Makefile without running `make'.
9539 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
9540 test -z "$DEPDIR" && continue
9541 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
9542 test -z "am__include" && continue
9543 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
9544 # When using ansi2knr, U may be empty or an underscore; expand it
9545 U
=`sed -n 's/^U = //p' < "$mf"`
9546 # Find all dependency output files, they are included files with
9547 # $(DEPDIR) in their names. We invoke sed twice because it is the
9548 # simplest approach to changing $(DEPDIR) to its actual value in the
9550 for file in `sed -n "
9551 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
9552 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
9553 # Make sure the directory exists.
9554 test -f "$dirpart/$file" && continue
9555 fdir
=`$as_dirname -- "$file" ||
9556 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9557 X"$file" : 'X\(//\)[^/]' \| \
9558 X"$file" : 'X\(//\)$' \| \
9559 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
9561 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9578 { as_dir
=$dirpart/$fdir
9580 -*) as_dir
=.
/$as_dir;;
9582 test -d "$as_dir" ||
{ $as_mkdir_p && mkdir
-p "$as_dir"; } ||
{
9586 *\'*) as_qdir
=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9587 *) as_qdir
=$as_dir;;
9589 as_dirs
="'$as_qdir' $as_dirs"
9590 as_dir
=`$as_dirname -- "$as_dir" ||
9591 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9592 X"$as_dir" : 'X\(//\)[^/]' \| \
9593 X"$as_dir" : 'X\(//\)$' \| \
9594 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9596 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9613 test -d "$as_dir" && break
9615 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
9616 } ||
test -d "$as_dir" ||
{ { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9617 echo "$as_me: error: cannot create directory $as_dir" >&2;}
9618 { (exit 1); exit 1; }; }; }
9619 # echo "creating $dirpart/$file"
9620 echo '# dummy' > "$dirpart/$file"
9629 { (exit 0); exit 0; }
9631 chmod +x
$CONFIG_STATUS
9632 ac_clean_files
=$ac_clean_files_save
9635 # configure is writing to config.log, and then calls config.status.
9636 # config.status does its own redirection, appending to config.log.
9637 # Unfortunately, on DOS this fails, as config.log is still kept open
9638 # by configure, so config.status won't be able to write to it; its
9639 # output is simply discarded. So we exec the FD to /dev/null,
9640 # effectively closing config.log, so it can be properly (re)opened and
9641 # appended to by config.status. When coming back to configure, we
9642 # need to make the FD available again.
9643 if test "$no_create" != yes; then
9645 ac_config_status_args
=
9646 test "$silent" = yes &&
9647 ac_config_status_args
="$ac_config_status_args --quiet"
9649 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
9651 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
9652 # would make configure fail if this is the last instruction.
9653 $ac_cs_success ||
{ (exit 1); exit 1; }
9656 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
9657 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
9658 set x
${MAKE-make}; ac_make
=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
9659 if { as_var
=ac_cv_prog_make_
${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
9660 echo $ECHO_N "(cached) $ECHO_C" >&6
9662 cat >conftest.
make <<\_ACEOF
9665 @
echo '@@@%%%=$(MAKE)=@@@%%%'
9667 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
9668 case `${MAKE-make} -f conftest.make 2>/dev/null` in
9670 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
9672 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
9676 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
9677 { echo "$as_me:$LINENO: result: yes" >&5
9678 echo "${ECHO_T}yes" >&6; }
9681 { echo "$as_me:$LINENO: result: no" >&5
9682 echo "${ECHO_T}no" >&6; }
9683 SET_MAKE
="MAKE=${MAKE-make}"