]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - configure
drop 01_sat-error-handling.diff - included upstream
[mirror_smartmontools-debian.git] / configure
CommitLineData
1953ff6d
GG
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.60 for smartmontools 5.38.
4#
5# Report bugs to <smartmontools-support@lists.sourceforge.net>.
6#
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## --------------------- ##
14
15# Be Bourne compatible
16if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
17 emulate sh
18 NULLCMD=:
19 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
20 # is contrary to our usage. Disable this feature.
21 alias -g '${1+"$@"}'='"$@"'
22 setopt NO_GLOB_SUBST
23else
24 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
25fi
26BIN_SH=xpg4; export BIN_SH # for Tru64
27DUALCASE=1; export DUALCASE # for MKS sh
28
29
30# PATH needs CR
31# Avoid depending upon Character Ranges.
32as_cr_letters='abcdefghijklmnopqrstuvwxyz'
33as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
34as_cr_Letters=$as_cr_letters$as_cr_LETTERS
35as_cr_digits='0123456789'
36as_cr_alnum=$as_cr_Letters$as_cr_digits
37
38# The user is always right.
39if test "${PATH_SEPARATOR+set}" != set; then
40 echo "#! /bin/sh" >conf$$.sh
41 echo "exit 0" >>conf$$.sh
42 chmod +x conf$$.sh
43 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
44 PATH_SEPARATOR=';'
45 else
46 PATH_SEPARATOR=:
47 fi
48 rm -f conf$$.sh
49fi
50
51# Support unset when possible.
52if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
53 as_unset=unset
54else
55 as_unset=false
56fi
57
58
59# IFS
60# We need space, tab and new line, in precisely that order. Quoting is
61# there to prevent editors from complaining about space-tab.
62# (If _AS_PATH_WALK were called with IFS unset, it would disable word
63# splitting by setting IFS to empty value.)
64as_nl='
65'
66IFS=" "" $as_nl"
67
68# Find who we are. Look in the path if we contain no directory separator.
69case $0 in
70 *[\\/]* ) as_myself=$0 ;;
71 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
72for as_dir in $PATH
73do
74 IFS=$as_save_IFS
75 test -z "$as_dir" && as_dir=.
76 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
77done
78IFS=$as_save_IFS
79
80 ;;
81esac
82# We did not find ourselves, most probably we were run as `sh COMMAND'
83# in which case we are not to be found in the path.
84if test "x$as_myself" = x; then
85 as_myself=$0
86fi
87if test ! -f "$as_myself"; then
88 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
89 { (exit 1); exit 1; }
90fi
91
92# Work around bugs in pre-3.0 UWIN ksh.
93for as_var in ENV MAIL MAILPATH
94do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
95done
96PS1='$ '
97PS2='> '
98PS4='+ '
99
100# NLS nuisances.
101for as_var in \
102 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
103 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
104 LC_TELEPHONE LC_TIME
105do
106 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
107 eval $as_var=C; export $as_var
108 else
109 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
110 fi
111done
112
113# Required to use basename.
114if expr a : '\(a\)' >/dev/null 2>&1 &&
115 test "X`expr 00001 : '.*\(...\)'`" = X001; then
116 as_expr=expr
117else
118 as_expr=false
119fi
120
121if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
122 as_basename=basename
123else
124 as_basename=false
125fi
126
127
128# Name of the executable.
129as_me=`$as_basename -- "$0" ||
130$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
131 X"$0" : 'X\(//\)$' \| \
132 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
133echo X/"$0" |
134 sed '/^.*\/\([^/][^/]*\)\/*$/{
135 s//\1/
136 q
137 }
138 /^X\/\(\/\/\)$/{
139 s//\1/
140 q
141 }
142 /^X\/\(\/\).*/{
143 s//\1/
144 q
145 }
146 s/.*/./; q'`
147
148# CDPATH.
149$as_unset CDPATH
150
151
152if test "x$CONFIG_SHELL" = x; then
153 if (eval ":") 2>/dev/null; then
154 as_have_required=yes
155else
156 as_have_required=no
157fi
158
159 if test $as_have_required = yes && (eval ":
160(as_func_return () {
161 (exit \$1)
162}
163as_func_success () {
164 as_func_return 0
165}
166as_func_failure () {
167 as_func_return 1
168}
169as_func_ret_success () {
170 return 0
171}
172as_func_ret_failure () {
173 return 1
174}
175
176exitcode=0
177if as_func_success; then
178 :
179else
180 exitcode=1
181 echo as_func_success failed.
182fi
183
184if as_func_failure; then
185 exitcode=1
186 echo as_func_failure succeeded.
187fi
188
189if as_func_ret_success; then
190 :
191else
192 exitcode=1
193 echo as_func_ret_success failed.
194fi
195
196if as_func_ret_failure; then
197 exitcode=1
198 echo as_func_ret_failure succeeded.
199fi
200
201if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
202 :
203else
204 exitcode=1
205 echo positional parameters were not saved.
206fi
207
208test \$exitcode = 0) || { (exit 1); exit 1; }
209
210(
211 as_lineno_1=\$LINENO
212 as_lineno_2=\$LINENO
213 test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
214 test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
215") 2> /dev/null; then
216 :
217else
218 as_candidate_shells=
219 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
220for as_dir in /usr/bin/posix$PATH_SEPARATOR/bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
221do
222 IFS=$as_save_IFS
223 test -z "$as_dir" && as_dir=.
224 case $as_dir in
225 /*)
226 for as_base in sh bash ksh sh5; do
227 as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
228 done;;
229 esac
230done
231IFS=$as_save_IFS
232
233
234 for as_shell in $as_candidate_shells $SHELL; do
235 # Try only shells that exist, to save several forks.
236 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
237 { ("$as_shell") 2> /dev/null <<\_ASEOF
238# Be Bourne compatible
239if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
240 emulate sh
241 NULLCMD=:
242 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
243 # is contrary to our usage. Disable this feature.
244 alias -g '${1+"$@"}'='"$@"'
245 setopt NO_GLOB_SUBST
246else
247 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
248fi
249BIN_SH=xpg4; export BIN_SH # for Tru64
250DUALCASE=1; export DUALCASE # for MKS sh
251
252:
253_ASEOF
254}; then
255 CONFIG_SHELL=$as_shell
256 as_have_required=yes
257 if { "$as_shell" 2> /dev/null <<\_ASEOF
258# Be Bourne compatible
259if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
260 emulate sh
261 NULLCMD=:
262 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
263 # is contrary to our usage. Disable this feature.
264 alias -g '${1+"$@"}'='"$@"'
265 setopt NO_GLOB_SUBST
266else
267 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
268fi
269BIN_SH=xpg4; export BIN_SH # for Tru64
270DUALCASE=1; export DUALCASE # for MKS sh
271
272:
273(as_func_return () {
274 (exit $1)
275}
276as_func_success () {
277 as_func_return 0
278}
279as_func_failure () {
280 as_func_return 1
281}
282as_func_ret_success () {
283 return 0
284}
285as_func_ret_failure () {
286 return 1
287}
288
289exitcode=0
290if as_func_success; then
291 :
292else
293 exitcode=1
294 echo as_func_success failed.
295fi
296
297if as_func_failure; then
298 exitcode=1
299 echo as_func_failure succeeded.
300fi
301
302if as_func_ret_success; then
303 :
304else
305 exitcode=1
306 echo as_func_ret_success failed.
307fi
308
309if as_func_ret_failure; then
310 exitcode=1
311 echo as_func_ret_failure succeeded.
312fi
313
314if ( set x; as_func_ret_success y && test x = "$1" ); then
315 :
316else
317 exitcode=1
318 echo positional parameters were not saved.
319fi
320
321test $exitcode = 0) || { (exit 1); exit 1; }
322
323(
324 as_lineno_1=$LINENO
325 as_lineno_2=$LINENO
326 test "x$as_lineno_1" != "x$as_lineno_2" &&
327 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
328
329_ASEOF
330}; then
331 break
332fi
333
334fi
335
336 done
337
338 if test "x$CONFIG_SHELL" != x; then
339 for as_var in BASH_ENV ENV
340 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
341 done
342 export CONFIG_SHELL
343 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
344fi
345
346
347 if test $as_have_required = no; then
348 echo This script requires a shell more modern than all the
349 echo shells that I found on your system. Please install a
350 echo modern shell, or manually run the script under such a
351 echo shell if you do have one.
352 { (exit 1); exit 1; }
353fi
354
355
356fi
357
358fi
359
360
361
362(eval "as_func_return () {
363 (exit \$1)
364}
365as_func_success () {
366 as_func_return 0
367}
368as_func_failure () {
369 as_func_return 1
370}
371as_func_ret_success () {
372 return 0
373}
374as_func_ret_failure () {
375 return 1
376}
377
378exitcode=0
379if as_func_success; then
380 :
381else
382 exitcode=1
383 echo as_func_success failed.
384fi
385
386if as_func_failure; then
387 exitcode=1
388 echo as_func_failure succeeded.
389fi
390
391if as_func_ret_success; then
392 :
393else
394 exitcode=1
395 echo as_func_ret_success failed.
396fi
397
398if as_func_ret_failure; then
399 exitcode=1
400 echo as_func_ret_failure succeeded.
401fi
402
403if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
404 :
405else
406 exitcode=1
407 echo positional parameters were not saved.
408fi
409
410test \$exitcode = 0") || {
411 echo No shell found that supports shell functions.
412 echo Please tell autoconf@gnu.org about your system,
413 echo including any error possibly output before this
414 echo message
415}
416
417
418
419 as_lineno_1=$LINENO
420 as_lineno_2=$LINENO
421 test "x$as_lineno_1" != "x$as_lineno_2" &&
422 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
423
424 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
425 # uniformly replaced by the line number. The first 'sed' inserts a
426 # line-number line after each line using $LINENO; the second 'sed'
427 # does the real work. The second script uses 'N' to pair each
428 # line-number line with the line containing $LINENO, and appends
429 # trailing '-' during substitution so that $LINENO is not a special
430 # case at line end.
431 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
432 # scripts with optimization help from Paolo Bonzini. Blame Lee
433 # E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
435 p
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
441 b
442 :lineno
443 N
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
451 { (exit 1); exit 1; }; }
452
453 # Don't try to exec as it changes $[0], causing all sort of problems
454 # (the dirname of $[0] is not the place where we might find the
455 # original and so on. Autoconf is especially sensitive to this).
456 . "./$as_me.lineno"
457 # Exit status is that of the last command.
458 exit
459}
460
461
462if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
463 as_dirname=dirname
464else
465 as_dirname=false
466fi
467
468ECHO_C= ECHO_N= ECHO_T=
469case `echo -n x` in
470-n*)
471 case `echo 'x\c'` in
472 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
473 *) ECHO_C='\c';;
474 esac;;
475*)
476 ECHO_N='-n';;
477esac
478
479if expr a : '\(a\)' >/dev/null 2>&1 &&
480 test "X`expr 00001 : '.*\(...\)'`" = X001; then
481 as_expr=expr
482else
483 as_expr=false
484fi
485
486rm -f conf$$ conf$$.exe conf$$.file
487if test -d conf$$.dir; then
488 rm -f conf$$.dir/conf$$.file
489else
490 rm -f conf$$.dir
491 mkdir conf$$.dir
492fi
493echo >conf$$.file
494if ln -s conf$$.file conf$$ 2>/dev/null; then
495 as_ln_s='ln -s'
496 # ... but there are two gotchas:
497 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
498 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
499 # In both cases, we have to default to `cp -p'.
500 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
501 as_ln_s='cp -p'
502elif ln conf$$.file conf$$ 2>/dev/null; then
503 as_ln_s=ln
504else
505 as_ln_s='cp -p'
506fi
507rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
508rmdir conf$$.dir 2>/dev/null
509
510if mkdir -p . 2>/dev/null; then
511 as_mkdir_p=:
512else
513 test -d ./-p && rmdir ./-p
514 as_mkdir_p=false
515fi
516
517# Find out whether ``test -x'' works. Don't use a zero-byte file, as
518# systems may use methods other than mode bits to determine executability.
519cat >conf$$.file <<_ASEOF
520#! /bin/sh
521exit 0
522_ASEOF
523chmod +x conf$$.file
524if test -x conf$$.file >/dev/null 2>&1; then
525 as_executable_p="test -x"
526else
527 as_executable_p=:
528fi
529rm -f conf$$.file
530
531# Sed expression to map a string onto a valid CPP name.
532as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
533
534# Sed expression to map a string onto a valid variable name.
535as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536
537
538
539exec 7<&0 </dev/null 6>&1
540
541# Name of the host.
542# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
543# so uname gets run too.
544ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545
546#
547# Initializations.
548#
549ac_default_prefix=/usr/local
550ac_clean_files=
551ac_config_libobj_dir=.
552LIBOBJS=
553cross_compiling=no
554subdirs=
555MFLAGS=
556MAKEFLAGS=
557SHELL=${CONFIG_SHELL-/bin/sh}
558
559# Identity of this package.
560PACKAGE_NAME='smartmontools'
561PACKAGE_TARNAME='smartmontools'
562PACKAGE_VERSION='5.38'
563PACKAGE_STRING='smartmontools 5.38'
564PACKAGE_BUGREPORT='smartmontools-support@lists.sourceforge.net'
565
566ac_unique_file="smartctl.cpp"
567# Factoring default headers for most tests.
568ac_includes_default="\
569#include <stdio.h>
570#if HAVE_SYS_TYPES_H
571# include <sys/types.h>
572#endif
573#if HAVE_SYS_STAT_H
574# include <sys/stat.h>
575#endif
576#if STDC_HEADERS
577# include <stdlib.h>
578# include <stddef.h>
579#else
580# if HAVE_STDLIB_H
581# include <stdlib.h>
582# endif
583#endif
584#if HAVE_STRING_H
585# if !STDC_HEADERS && HAVE_MEMORY_H
586# include <memory.h>
587# endif
588# include <string.h>
589#endif
590#if HAVE_STRINGS_H
591# include <strings.h>
592#endif
593#if HAVE_INTTYPES_H
594# include <inttypes.h>
595#endif
596#if HAVE_STDINT_H
597# include <stdint.h>
598#endif
599#if HAVE_UNISTD_H
600# include <unistd.h>
601#endif"
602
603ac_subst_vars='SHELL
604PATH_SEPARATOR
605PACKAGE_NAME
606PACKAGE_TARNAME
607PACKAGE_VERSION
608PACKAGE_STRING
609PACKAGE_BUGREPORT
610exec_prefix
611prefix
612program_transform_name
613bindir
614sbindir
615libexecdir
616datarootdir
617datadir
618sysconfdir
619sharedstatedir
620localstatedir
621includedir
622oldincludedir
623docdir
624infodir
625htmldir
626dvidir
627pdfdir
628psdir
629libdir
630localedir
631mandir
632DEFS
633ECHO_C
634ECHO_N
635ECHO_T
636LIBS
637build_alias
638host_alias
639target_alias
640INSTALL_PROGRAM
641INSTALL_SCRIPT
642INSTALL_DATA
643CYGPATH_W
644PACKAGE
645VERSION
646ACLOCAL
647AUTOCONF
648AUTOMAKE
649AUTOHEADER
650MAKEINFO
651install_sh
652STRIP
653INSTALL_STRIP_PROGRAM
654mkdir_p
655AWK
656SET_MAKE
657am__leading_dot
658AMTAR
659am__tar
660am__untar
661MAINTAINER_MODE_TRUE
662MAINTAINER_MODE_FALSE
663MAINT
664CXX
665CXXFLAGS
666LDFLAGS
667CPPFLAGS
668ac_ct_CXX
669EXEEXT
670OBJEXT
671DEPDIR
672am__include
673am__quote
674AMDEP_TRUE
675AMDEP_FALSE
676AMDEPBACKSLASH
677CXXDEPMODE
678am__fastdepCXX_TRUE
679am__fastdepCXX_FALSE
680CC
681CFLAGS
682ac_ct_CC
683CCDEPMODE
684am__fastdepCC_TRUE
685am__fastdepCC_FALSE
686CCAS
687CCASFLAGS
688build
689build_cpu
690build_vendor
691build_os
692host
693host_cpu
694host_vendor
695host_os
696CXXCPP
697GREP
698EGREP
699libc_have_working_snprintf
700gcc_have_attr_packed
701ASFLAGS
702exampledir
703initddir
704smartd_suffix
705SMARTD_SUFFIX_TRUE
706SMARTD_SUFFIX_FALSE
707releaseversion
708smartmontools_release_date
709smartmontools_release_time
710os_deps
711os_libs
712OS_DARWIN_TRUE
713OS_DARWIN_FALSE
714OS_SOLARIS_TRUE
715OS_SOLARIS_FALSE
716OS_WIN32_MINGW_TRUE
717OS_WIN32_MINGW_FALSE
718LIBOBJS
719LTLIBOBJS'
720ac_subst_files=''
721 ac_precious_vars='build_alias
722host_alias
723target_alias
724CXX
725CXXFLAGS
726LDFLAGS
727CPPFLAGS
728CCC
729CC
730CFLAGS
731CCAS
732CCASFLAGS
733CXXCPP'
734
735
736# Initialize some variables set by options.
737ac_init_help=
738ac_init_version=false
739# The variables have the same names as the options, with
740# dashes changed to underlines.
741cache_file=/dev/null
742exec_prefix=NONE
743no_create=
744no_recursion=
745prefix=NONE
746program_prefix=NONE
747program_suffix=NONE
748program_transform_name=s,x,x,
749silent=
750site=
751srcdir=
752verbose=
753x_includes=NONE
754x_libraries=NONE
755
756# Installation directory options.
757# These are left unexpanded so users can "make install exec_prefix=/foo"
758# and all the variables that are supposed to be based on exec_prefix
759# by default will actually change.
760# Use braces instead of parens because sh, perl, etc. also accept them.
761# (The list follows the same order as the GNU Coding Standards.)
762bindir='${exec_prefix}/bin'
763sbindir='${exec_prefix}/sbin'
764libexecdir='${exec_prefix}/libexec'
765datarootdir='${prefix}/share'
766datadir='${datarootdir}'
767sysconfdir='${prefix}/etc'
768sharedstatedir='${prefix}/com'
769localstatedir='${prefix}/var'
770includedir='${prefix}/include'
771oldincludedir='/usr/include'
772docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
773infodir='${datarootdir}/info'
774htmldir='${docdir}'
775dvidir='${docdir}'
776pdfdir='${docdir}'
777psdir='${docdir}'
778libdir='${exec_prefix}/lib'
779localedir='${datarootdir}/locale'
780mandir='${datarootdir}/man'
781
782ac_prev=
783ac_dashdash=
784for ac_option
785do
786 # If the previous option needs an argument, assign it.
787 if test -n "$ac_prev"; then
788 eval $ac_prev=\$ac_option
789 ac_prev=
790 continue
791 fi
792
793 case $ac_option in
794 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
795 *) ac_optarg=yes ;;
796 esac
797
798 # Accept the important Cygnus configure options, so we can diagnose typos.
799
800 case $ac_dashdash$ac_option in
801 --)
802 ac_dashdash=yes ;;
803
804 -bindir | --bindir | --bindi | --bind | --bin | --bi)
805 ac_prev=bindir ;;
806 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
807 bindir=$ac_optarg ;;
808
809 -build | --build | --buil | --bui | --bu)
810 ac_prev=build_alias ;;
811 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
812 build_alias=$ac_optarg ;;
813
814 -cache-file | --cache-file | --cache-fil | --cache-fi \
815 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
816 ac_prev=cache_file ;;
817 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
818 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
819 cache_file=$ac_optarg ;;
820
821 --config-cache | -C)
822 cache_file=config.cache ;;
823
824 -datadir | --datadir | --datadi | --datad)
825 ac_prev=datadir ;;
826 -datadir=* | --datadir=* | --datadi=* | --datad=*)
827 datadir=$ac_optarg ;;
828
829 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
830 | --dataroo | --dataro | --datar)
831 ac_prev=datarootdir ;;
832 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
833 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
834 datarootdir=$ac_optarg ;;
835
836 -disable-* | --disable-*)
837 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
838 # Reject names that are not valid shell variable names.
839 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
840 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
841 { (exit 1); exit 1; }; }
842 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
843 eval enable_$ac_feature=no ;;
844
845 -docdir | --docdir | --docdi | --doc | --do)
846 ac_prev=docdir ;;
847 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
848 docdir=$ac_optarg ;;
849
850 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
851 ac_prev=dvidir ;;
852 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
853 dvidir=$ac_optarg ;;
854
855 -enable-* | --enable-*)
856 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
857 # Reject names that are not valid shell variable names.
858 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
859 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
860 { (exit 1); exit 1; }; }
861 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
862 eval enable_$ac_feature=\$ac_optarg ;;
863
864 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
865 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
866 | --exec | --exe | --ex)
867 ac_prev=exec_prefix ;;
868 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
869 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
870 | --exec=* | --exe=* | --ex=*)
871 exec_prefix=$ac_optarg ;;
872
873 -gas | --gas | --ga | --g)
874 # Obsolete; use --with-gas.
875 with_gas=yes ;;
876
877 -help | --help | --hel | --he | -h)
878 ac_init_help=long ;;
879 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
880 ac_init_help=recursive ;;
881 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
882 ac_init_help=short ;;
883
884 -host | --host | --hos | --ho)
885 ac_prev=host_alias ;;
886 -host=* | --host=* | --hos=* | --ho=*)
887 host_alias=$ac_optarg ;;
888
889 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
890 ac_prev=htmldir ;;
891 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
892 | --ht=*)
893 htmldir=$ac_optarg ;;
894
895 -includedir | --includedir | --includedi | --included | --include \
896 | --includ | --inclu | --incl | --inc)
897 ac_prev=includedir ;;
898 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
899 | --includ=* | --inclu=* | --incl=* | --inc=*)
900 includedir=$ac_optarg ;;
901
902 -infodir | --infodir | --infodi | --infod | --info | --inf)
903 ac_prev=infodir ;;
904 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
905 infodir=$ac_optarg ;;
906
907 -libdir | --libdir | --libdi | --libd)
908 ac_prev=libdir ;;
909 -libdir=* | --libdir=* | --libdi=* | --libd=*)
910 libdir=$ac_optarg ;;
911
912 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
913 | --libexe | --libex | --libe)
914 ac_prev=libexecdir ;;
915 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
916 | --libexe=* | --libex=* | --libe=*)
917 libexecdir=$ac_optarg ;;
918
919 -localedir | --localedir | --localedi | --localed | --locale)
920 ac_prev=localedir ;;
921 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
922 localedir=$ac_optarg ;;
923
924 -localstatedir | --localstatedir | --localstatedi | --localstated \
925 | --localstate | --localstat | --localsta | --localst | --locals)
926 ac_prev=localstatedir ;;
927 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
928 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
929 localstatedir=$ac_optarg ;;
930
931 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
932 ac_prev=mandir ;;
933 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
934 mandir=$ac_optarg ;;
935
936 -nfp | --nfp | --nf)
937 # Obsolete; use --without-fp.
938 with_fp=no ;;
939
940 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
941 | --no-cr | --no-c | -n)
942 no_create=yes ;;
943
944 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
945 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
946 no_recursion=yes ;;
947
948 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
949 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
950 | --oldin | --oldi | --old | --ol | --o)
951 ac_prev=oldincludedir ;;
952 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
953 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
954 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
955 oldincludedir=$ac_optarg ;;
956
957 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
958 ac_prev=prefix ;;
959 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
960 prefix=$ac_optarg ;;
961
962 -program-prefix | --program-prefix | --program-prefi | --program-pref \
963 | --program-pre | --program-pr | --program-p)
964 ac_prev=program_prefix ;;
965 -program-prefix=* | --program-prefix=* | --program-prefi=* \
966 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
967 program_prefix=$ac_optarg ;;
968
969 -program-suffix | --program-suffix | --program-suffi | --program-suff \
970 | --program-suf | --program-su | --program-s)
971 ac_prev=program_suffix ;;
972 -program-suffix=* | --program-suffix=* | --program-suffi=* \
973 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
974 program_suffix=$ac_optarg ;;
975
976 -program-transform-name | --program-transform-name \
977 | --program-transform-nam | --program-transform-na \
978 | --program-transform-n | --program-transform- \
979 | --program-transform | --program-transfor \
980 | --program-transfo | --program-transf \
981 | --program-trans | --program-tran \
982 | --progr-tra | --program-tr | --program-t)
983 ac_prev=program_transform_name ;;
984 -program-transform-name=* | --program-transform-name=* \
985 | --program-transform-nam=* | --program-transform-na=* \
986 | --program-transform-n=* | --program-transform-=* \
987 | --program-transform=* | --program-transfor=* \
988 | --program-transfo=* | --program-transf=* \
989 | --program-trans=* | --program-tran=* \
990 | --progr-tra=* | --program-tr=* | --program-t=*)
991 program_transform_name=$ac_optarg ;;
992
993 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
994 ac_prev=pdfdir ;;
995 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
996 pdfdir=$ac_optarg ;;
997
998 -psdir | --psdir | --psdi | --psd | --ps)
999 ac_prev=psdir ;;
1000 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1001 psdir=$ac_optarg ;;
1002
1003 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1004 | -silent | --silent | --silen | --sile | --sil)
1005 silent=yes ;;
1006
1007 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1008 ac_prev=sbindir ;;
1009 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1010 | --sbi=* | --sb=*)
1011 sbindir=$ac_optarg ;;
1012
1013 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1014 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1015 | --sharedst | --shareds | --shared | --share | --shar \
1016 | --sha | --sh)
1017 ac_prev=sharedstatedir ;;
1018 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1019 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1020 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1021 | --sha=* | --sh=*)
1022 sharedstatedir=$ac_optarg ;;
1023
1024 -site | --site | --sit)
1025 ac_prev=site ;;
1026 -site=* | --site=* | --sit=*)
1027 site=$ac_optarg ;;
1028
1029 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1030 ac_prev=srcdir ;;
1031 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1032 srcdir=$ac_optarg ;;
1033
1034 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1035 | --syscon | --sysco | --sysc | --sys | --sy)
1036 ac_prev=sysconfdir ;;
1037 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1038 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1039 sysconfdir=$ac_optarg ;;
1040
1041 -target | --target | --targe | --targ | --tar | --ta | --t)
1042 ac_prev=target_alias ;;
1043 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1044 target_alias=$ac_optarg ;;
1045
1046 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1047 verbose=yes ;;
1048
1049 -version | --version | --versio | --versi | --vers | -V)
1050 ac_init_version=: ;;
1051
1052 -with-* | --with-*)
1053 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1054 # Reject names that are not valid shell variable names.
1055 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1056 { echo "$as_me: error: invalid package name: $ac_package" >&2
1057 { (exit 1); exit 1; }; }
1058 ac_package=`echo $ac_package| sed 's/-/_/g'`
1059 eval with_$ac_package=\$ac_optarg ;;
1060
1061 -without-* | --without-*)
1062 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1063 # Reject names that are not valid shell variable names.
1064 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
1065 { echo "$as_me: error: invalid package name: $ac_package" >&2
1066 { (exit 1); exit 1; }; }
1067 ac_package=`echo $ac_package | sed 's/-/_/g'`
1068 eval with_$ac_package=no ;;
1069
1070 --x)
1071 # Obsolete; use --with-x.
1072 with_x=yes ;;
1073
1074 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1075 | --x-incl | --x-inc | --x-in | --x-i)
1076 ac_prev=x_includes ;;
1077 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1078 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1079 x_includes=$ac_optarg ;;
1080
1081 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1082 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1083 ac_prev=x_libraries ;;
1084 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1085 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1086 x_libraries=$ac_optarg ;;
1087
1088 -*) { echo "$as_me: error: unrecognized option: $ac_option
1089Try \`$0 --help' for more information." >&2
1090 { (exit 1); exit 1; }; }
1091 ;;
1092
1093 *=*)
1094 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1095 # Reject names that are not valid shell variable names.
1096 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1097 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1098 { (exit 1); exit 1; }; }
1099 eval $ac_envvar=\$ac_optarg
1100 export $ac_envvar ;;
1101
1102 *)
1103 # FIXME: should be removed in autoconf 3.0.
1104 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1105 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1106 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1107 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1108 ;;
1109
1110 esac
1111done
1112
1113if test -n "$ac_prev"; then
1114 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1115 { echo "$as_me: error: missing argument to $ac_option" >&2
1116 { (exit 1); exit 1; }; }
1117fi
1118
1119# Be sure to have absolute directory names.
1120for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1121 datadir sysconfdir sharedstatedir localstatedir includedir \
1122 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1123 libdir localedir mandir
1124do
1125 eval ac_val=\$$ac_var
1126 case $ac_val in
1127 [\\/$]* | ?:[\\/]* ) continue;;
1128 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1129 esac
1130 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1131 { (exit 1); exit 1; }; }
1132done
1133
1134# There might be people who depend on the old broken behavior: `$host'
1135# used to hold the argument of --host etc.
1136# FIXME: To remove some day.
1137build=$build_alias
1138host=$host_alias
1139target=$target_alias
1140
1141# FIXME: To remove some day.
1142if test "x$host_alias" != x; then
1143 if test "x$build_alias" = x; then
1144 cross_compiling=maybe
1145 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1146 If a cross compiler is detected then cross compile mode will be used." >&2
1147 elif test "x$build_alias" != "x$host_alias"; then
1148 cross_compiling=yes
1149 fi
1150fi
1151
1152ac_tool_prefix=
1153test -n "$host_alias" && ac_tool_prefix=$host_alias-
1154
1155test "$silent" = yes && exec 6>/dev/null
1156
1157
1158ac_pwd=`pwd` && test -n "$ac_pwd" &&
1159ac_ls_di=`ls -di .` &&
1160ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1161 { echo "$as_me: error: Working directory cannot be determined" >&2
1162 { (exit 1); exit 1; }; }
1163test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1164 { echo "$as_me: error: pwd does not report name of working directory" >&2
1165 { (exit 1); exit 1; }; }
1166
1167
1168# Find the source files, if location was not specified.
1169if test -z "$srcdir"; then
1170 ac_srcdir_defaulted=yes
1171 # Try the directory containing this script, then the parent directory.
1172 ac_confdir=`$as_dirname -- "$0" ||
1173$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1174 X"$0" : 'X\(//\)[^/]' \| \
1175 X"$0" : 'X\(//\)$' \| \
1176 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1177echo X"$0" |
1178 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1179 s//\1/
1180 q
1181 }
1182 /^X\(\/\/\)[^/].*/{
1183 s//\1/
1184 q
1185 }
1186 /^X\(\/\/\)$/{
1187 s//\1/
1188 q
1189 }
1190 /^X\(\/\).*/{
1191 s//\1/
1192 q
1193 }
1194 s/.*/./; q'`
1195 srcdir=$ac_confdir
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197 srcdir=..
1198 fi
1199else
1200 ac_srcdir_defaulted=no
1201fi
1202if test ! -r "$srcdir/$ac_unique_file"; then
1203 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1204 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1205 { (exit 1); exit 1; }; }
1206fi
1207ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1208ac_abs_confdir=`(
1209 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1210 { (exit 1); exit 1; }; }
1211 pwd)`
1212# When building in place, set srcdir=.
1213if test "$ac_abs_confdir" = "$ac_pwd"; then
1214 srcdir=.
1215fi
1216# Remove unnecessary trailing slashes from srcdir.
1217# Double slashes in file names in object file debugging info
1218# mess up M-x gdb in Emacs.
1219case $srcdir in
1220*/) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1221esac
1222for ac_var in $ac_precious_vars; do
1223 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1224 eval ac_env_${ac_var}_value=\$${ac_var}
1225 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1226 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1227done
1228
1229#
1230# Report the --help message.
1231#
1232if test "$ac_init_help" = "long"; then
1233 # Omit some internal or obsolete options to make the list less imposing.
1234 # This message is too long to be a string in the A/UX 3.1 sh.
1235 cat <<_ACEOF
1236\`configure' configures smartmontools 5.38 to adapt to many kinds of systems.
1237
1238Usage: $0 [OPTION]... [VAR=VALUE]...
1239
1240To assign environment variables (e.g., CC, CFLAGS...), specify them as
1241VAR=VALUE. See below for descriptions of some of the useful variables.
1242
1243Defaults for the options are specified in brackets.
1244
1245Configuration:
1246 -h, --help display this help and exit
1247 --help=short display options specific to this package
1248 --help=recursive display the short help of all the included packages
1249 -V, --version display version information and exit
1250 -q, --quiet, --silent do not print \`checking...' messages
1251 --cache-file=FILE cache test results in FILE [disabled]
1252 -C, --config-cache alias for \`--cache-file=config.cache'
1253 -n, --no-create do not create output files
1254 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1255
1256Installation directories:
1257 --prefix=PREFIX install architecture-independent files in PREFIX
1258 [$ac_default_prefix]
1259 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1260 [PREFIX]
1261
1262By default, \`make install' will install all the files in
1263\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1264an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1265for instance \`--prefix=\$HOME'.
1266
1267For better control, use the options below.
1268
1269Fine tuning of the installation directories:
1270 --bindir=DIR user executables [EPREFIX/bin]
1271 --sbindir=DIR system admin executables [EPREFIX/sbin]
1272 --libexecdir=DIR program executables [EPREFIX/libexec]
1273 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1274 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1275 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1276 --libdir=DIR object code libraries [EPREFIX/lib]
1277 --includedir=DIR C header files [PREFIX/include]
1278 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1279 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1280 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1281 --infodir=DIR info documentation [DATAROOTDIR/info]
1282 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1283 --mandir=DIR man documentation [DATAROOTDIR/man]
1284 --docdir=DIR documentation root [DATAROOTDIR/doc/smartmontools]
1285 --htmldir=DIR html documentation [DOCDIR]
1286 --dvidir=DIR dvi documentation [DOCDIR]
1287 --pdfdir=DIR pdf documentation [DOCDIR]
1288 --psdir=DIR ps documentation [DOCDIR]
1289_ACEOF
1290
1291 cat <<\_ACEOF
1292
1293Program names:
1294 --program-prefix=PREFIX prepend PREFIX to installed program names
1295 --program-suffix=SUFFIX append SUFFIX to installed program names
1296 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1297
1298System types:
1299 --build=BUILD configure for building on BUILD [guessed]
1300 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1301_ACEOF
1302fi
1303
1304if test -n "$ac_init_help"; then
1305 case $ac_init_help in
1306 short | recursive ) echo "Configuration of smartmontools 5.38:";;
1307 esac
1308 cat <<\_ACEOF
1309
1310Optional Features:
1311 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1312 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1313 --enable-maintainer-mode enable make rules and dependencies not useful
1314 (and sometimes confusing) to the casual installer
1315 --disable-dependency-tracking speeds up one-time build
1316 --enable-dependency-tracking do not reject slow dependency extractors
1317 --enable-sample Enables appending .sample to the installed smartd rc
1318 script and configuration file
1319
1320Optional Packages:
1321 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1322 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1323 --with-initscriptdir=dir
1324 Location of init scripts (default is
1325 ${sysconfdir}/rc.d/init.d)
1326 --with-docdir=dir Location of documentation (default is
1327 ${prefix}/share/doc/smartmontools-5.X)
1328
1329Some influential environment variables:
1330 CXX C++ compiler command
1331 CXXFLAGS C++ compiler flags
1332 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1333 nonstandard directory <lib dir>
1334 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1335 you have headers in a nonstandard directory <include dir>
1336 CC C compiler command
1337 CFLAGS C compiler flags
1338 CCAS assembler compiler command (defaults to CC)
1339 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
1340 CXXCPP C++ preprocessor
1341
1342Use these variables to override the choices made by `configure' or to help
1343it to find libraries and programs with nonstandard names/locations.
1344
1345Report bugs to <smartmontools-support@lists.sourceforge.net>.
1346_ACEOF
1347ac_status=$?
1348fi
1349
1350if test "$ac_init_help" = "recursive"; then
1351 # If there are subdirs, report their specific --help.
1352 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1353 test -d "$ac_dir" || continue
1354 ac_builddir=.
1355
1356case "$ac_dir" in
1357.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1358*)
1359 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1360 # A ".." for each directory in $ac_dir_suffix.
1361 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1362 case $ac_top_builddir_sub in
1363 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1365 esac ;;
1366esac
1367ac_abs_top_builddir=$ac_pwd
1368ac_abs_builddir=$ac_pwd$ac_dir_suffix
1369# for backward compatibility:
1370ac_top_builddir=$ac_top_build_prefix
1371
1372case $srcdir in
1373 .) # We are building in place.
1374 ac_srcdir=.
1375 ac_top_srcdir=$ac_top_builddir_sub
1376 ac_abs_top_srcdir=$ac_pwd ;;
1377 [\\/]* | ?:[\\/]* ) # Absolute name.
1378 ac_srcdir=$srcdir$ac_dir_suffix;
1379 ac_top_srcdir=$srcdir
1380 ac_abs_top_srcdir=$srcdir ;;
1381 *) # Relative name.
1382 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1383 ac_top_srcdir=$ac_top_build_prefix$srcdir
1384 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1385esac
1386ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1387
1388 cd "$ac_dir" || { ac_status=$?; continue; }
1389 # Check for guested configure.
1390 if test -f "$ac_srcdir/configure.gnu"; then
1391 echo &&
1392 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1393 elif test -f "$ac_srcdir/configure"; then
1394 echo &&
1395 $SHELL "$ac_srcdir/configure" --help=recursive
1396 else
1397 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1398 fi || ac_status=$?
1399 cd "$ac_pwd" || { ac_status=$?; break; }
1400 done
1401fi
1402
1403test -n "$ac_init_help" && exit $ac_status
1404if $ac_init_version; then
1405 cat <<\_ACEOF
1406smartmontools configure 5.38
1407generated by GNU Autoconf 2.60
1408
1409Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
14102002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1411This configure script is free software; the Free Software Foundation
1412gives unlimited permission to copy, distribute and modify it.
1413_ACEOF
1414 exit
1415fi
1416cat >config.log <<_ACEOF
1417This file contains any messages produced by compilers while
1418running configure, to aid debugging if configure makes a mistake.
1419
1420It was created by smartmontools $as_me 5.38, which was
1421generated by GNU Autoconf 2.60. Invocation command line was
1422
1423 $ $0 $@
1424
1425_ACEOF
1426exec 5>>config.log
1427{
1428cat <<_ASUNAME
1429## --------- ##
1430## Platform. ##
1431## --------- ##
1432
1433hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1434uname -m = `(uname -m) 2>/dev/null || echo unknown`
1435uname -r = `(uname -r) 2>/dev/null || echo unknown`
1436uname -s = `(uname -s) 2>/dev/null || echo unknown`
1437uname -v = `(uname -v) 2>/dev/null || echo unknown`
1438
1439/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1440/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1441
1442/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1443/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1444/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1445/usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1446/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1447/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1448/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1449
1450_ASUNAME
1451
1452as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1453for as_dir in $PATH
1454do
1455 IFS=$as_save_IFS
1456 test -z "$as_dir" && as_dir=.
1457 echo "PATH: $as_dir"
1458done
1459IFS=$as_save_IFS
1460
1461} >&5
1462
1463cat >&5 <<_ACEOF
1464
1465
1466## ----------- ##
1467## Core tests. ##
1468## ----------- ##
1469
1470_ACEOF
1471
1472
1473# Keep a trace of the command line.
1474# Strip out --no-create and --no-recursion so they do not pile up.
1475# Strip out --silent because we don't want to record it for future runs.
1476# Also quote any args containing shell meta-characters.
1477# Make two passes to allow for proper duplicate-argument suppression.
1478ac_configure_args=
1479ac_configure_args0=
1480ac_configure_args1=
1481ac_must_keep_next=false
1482for ac_pass in 1 2
1483do
1484 for ac_arg
1485 do
1486 case $ac_arg in
1487 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1489 | -silent | --silent | --silen | --sile | --sil)
1490 continue ;;
1491 *\'*)
1492 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1493 esac
1494 case $ac_pass in
1495 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1496 2)
1497 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1498 if test $ac_must_keep_next = true; then
1499 ac_must_keep_next=false # Got value, back to normal.
1500 else
1501 case $ac_arg in
1502 *=* | --config-cache | -C | -disable-* | --disable-* \
1503 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1504 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1505 | -with-* | --with-* | -without-* | --without-* | --x)
1506 case "$ac_configure_args0 " in
1507 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1508 esac
1509 ;;
1510 -* ) ac_must_keep_next=true ;;
1511 esac
1512 fi
1513 ac_configure_args="$ac_configure_args '$ac_arg'"
1514 ;;
1515 esac
1516 done
1517done
1518$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1519$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1520
1521# When interrupted or exit'd, cleanup temporary files, and complete
1522# config.log. We remove comments because anyway the quotes in there
1523# would cause problems or look ugly.
1524# WARNING: Use '\'' to represent an apostrophe within the trap.
1525# WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1526trap 'exit_status=$?
1527 # Save into config.log some information that might help in debugging.
1528 {
1529 echo
1530
1531 cat <<\_ASBOX
1532## ---------------- ##
1533## Cache variables. ##
1534## ---------------- ##
1535_ASBOX
1536 echo
1537 # The following way of writing the cache mishandles newlines in values,
1538(
1539 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1540 eval ac_val=\$$ac_var
1541 case $ac_val in #(
1542 *${as_nl}*)
1543 case $ac_var in #(
1544 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
1545echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
1546 esac
1547 case $ac_var in #(
1548 _ | IFS | as_nl) ;; #(
1549 *) $as_unset $ac_var ;;
1550 esac ;;
1551 esac
1552 done
1553 (set) 2>&1 |
1554 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1555 *${as_nl}ac_space=\ *)
1556 sed -n \
1557 "s/'\''/'\''\\\\'\'''\''/g;
1558 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1559 ;; #(
1560 *)
1561 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1562 ;;
1563 esac |
1564 sort
1565)
1566 echo
1567
1568 cat <<\_ASBOX
1569## ----------------- ##
1570## Output variables. ##
1571## ----------------- ##
1572_ASBOX
1573 echo
1574 for ac_var in $ac_subst_vars
1575 do
1576 eval ac_val=\$$ac_var
1577 case $ac_val in
1578 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1579 esac
1580 echo "$ac_var='\''$ac_val'\''"
1581 done | sort
1582 echo
1583
1584 if test -n "$ac_subst_files"; then
1585 cat <<\_ASBOX
1586## ------------------- ##
1587## File substitutions. ##
1588## ------------------- ##
1589_ASBOX
1590 echo
1591 for ac_var in $ac_subst_files
1592 do
1593 eval ac_val=\$$ac_var
1594 case $ac_val in
1595 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1596 esac
1597 echo "$ac_var='\''$ac_val'\''"
1598 done | sort
1599 echo
1600 fi
1601
1602 if test -s confdefs.h; then
1603 cat <<\_ASBOX
1604## ----------- ##
1605## confdefs.h. ##
1606## ----------- ##
1607_ASBOX
1608 echo
1609 cat confdefs.h
1610 echo
1611 fi
1612 test "$ac_signal" != 0 &&
1613 echo "$as_me: caught signal $ac_signal"
1614 echo "$as_me: exit $exit_status"
1615 } >&5
1616 rm -f core *.core core.conftest.* &&
1617 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1618 exit $exit_status
1619' 0
1620for ac_signal in 1 2 13 15; do
1621 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1622done
1623ac_signal=0
1624
1625# confdefs.h avoids OS command line length limits that DEFS can exceed.
1626rm -f -r conftest* confdefs.h
1627
1628# Predefined preprocessor variables.
1629
1630cat >>confdefs.h <<_ACEOF
1631#define PACKAGE_NAME "$PACKAGE_NAME"
1632_ACEOF
1633
1634
1635cat >>confdefs.h <<_ACEOF
1636#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1637_ACEOF
1638
1639
1640cat >>confdefs.h <<_ACEOF
1641#define PACKAGE_VERSION "$PACKAGE_VERSION"
1642_ACEOF
1643
1644
1645cat >>confdefs.h <<_ACEOF
1646#define PACKAGE_STRING "$PACKAGE_STRING"
1647_ACEOF
1648
1649
1650cat >>confdefs.h <<_ACEOF
1651#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1652_ACEOF
1653
1654
1655# Let the site file select an alternate cache file if it wants to.
1656# Prefer explicitly selected file to automatically selected ones.
1657if test -n "$CONFIG_SITE"; then
1658 set x "$CONFIG_SITE"
1659elif test "x$prefix" != xNONE; then
1660 set x "$prefix/share/config.site" "$prefix/etc/config.site"
1661else
1662 set x "$ac_default_prefix/share/config.site" \
1663 "$ac_default_prefix/etc/config.site"
1664fi
1665shift
1666for ac_site_file
1667do
1668 if test -r "$ac_site_file"; then
1669 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1670echo "$as_me: loading site script $ac_site_file" >&6;}
1671 sed 's/^/| /' "$ac_site_file" >&5
1672 . "$ac_site_file"
1673 fi
1674done
1675
1676if test -r "$cache_file"; then
1677 # Some versions of bash will fail to source /dev/null (special
1678 # files actually), so we avoid doing that.
1679 if test -f "$cache_file"; then
1680 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1681echo "$as_me: loading cache $cache_file" >&6;}
1682 case $cache_file in
1683 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1684 *) . "./$cache_file";;
1685 esac
1686 fi
1687else
1688 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1689echo "$as_me: creating cache $cache_file" >&6;}
1690 >$cache_file
1691fi
1692
1693# Check that the precious variables saved in the cache have kept the same
1694# value.
1695ac_cache_corrupted=false
1696for ac_var in $ac_precious_vars; do
1697 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1698 eval ac_new_set=\$ac_env_${ac_var}_set
1699 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1700 eval ac_new_val=\$ac_env_${ac_var}_value
1701 case $ac_old_set,$ac_new_set in
1702 set,)
1703 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1704echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1705 ac_cache_corrupted=: ;;
1706 ,set)
1707 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1708echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1709 ac_cache_corrupted=: ;;
1710 ,);;
1711 *)
1712 if test "x$ac_old_val" != "x$ac_new_val"; then
1713 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1714echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1715 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1716echo "$as_me: former value: $ac_old_val" >&2;}
1717 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1718echo "$as_me: current value: $ac_new_val" >&2;}
1719 ac_cache_corrupted=:
1720 fi;;
1721 esac
1722 # Pass precious variables to config.status.
1723 if test "$ac_new_set" = set; then
1724 case $ac_new_val in
1725 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1726 *) ac_arg=$ac_var=$ac_new_val ;;
1727 esac
1728 case " $ac_configure_args " in
1729 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1730 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1731 esac
1732 fi
1733done
1734if $ac_cache_corrupted; then
1735 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1736echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1737 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1738echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1739 { (exit 1); exit 1; }; }
1740fi
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766ac_ext=c
1767ac_cpp='$CPP $CPPFLAGS'
1768ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1769ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1770ac_compiler_gnu=$ac_cv_c_compiler_gnu
1771
1772
1773
1774
1775smartmontools_configure_date=`date -u +"%Y/%m/%d %T %Z"`
1776smartmontools_cvs_tag=`echo '$Id: configure.in,v 1.129 2007/12/20 17:34:18 chrfranke Exp $'`
1777smartmontools_release_date=2008/02/24
1778smartmontools_release_time="20:16:09 GMT"
1779
1780
1781cat >>confdefs.h <<_ACEOF
1782#define SMARTMONTOOLS_CONFIGURE_ARGS "$ac_configure_args"
1783_ACEOF
1784
1785
1786cat >>confdefs.h <<_ACEOF
1787#define SMARTMONTOOLS_CONFIGURE_DATE "$smartmontools_configure_date"
1788_ACEOF
1789
1790
1791cat >>confdefs.h <<_ACEOF
1792#define SMARTMONTOOLS_RELEASE_DATE "$smartmontools_release_date"
1793_ACEOF
1794
1795
1796cat >>confdefs.h <<_ACEOF
1797#define SMARTMONTOOLS_RELEASE_TIME "$smartmontools_release_time"
1798_ACEOF
1799
1800
1801cat >>confdefs.h <<_ACEOF
1802#define CONFIG_H_CVSID "$smartmontools_cvs_tag"
1803_ACEOF
1804
1805
1806cat >>confdefs.h <<_ACEOF
1807#define PACKAGE_HOMEPAGE "http://smartmontools.sourceforge.net/"
1808_ACEOF
1809
1810
1811ac_config_headers="$ac_config_headers config.h"
1812
1813
1814am__api_version="1.9"
1815ac_aux_dir=
1816for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1817 if test -f "$ac_dir/install-sh"; then
1818 ac_aux_dir=$ac_dir
1819 ac_install_sh="$ac_aux_dir/install-sh -c"
1820 break
1821 elif test -f "$ac_dir/install.sh"; then
1822 ac_aux_dir=$ac_dir
1823 ac_install_sh="$ac_aux_dir/install.sh -c"
1824 break
1825 elif test -f "$ac_dir/shtool"; then
1826 ac_aux_dir=$ac_dir
1827 ac_install_sh="$ac_aux_dir/shtool install -c"
1828 break
1829 fi
1830done
1831if test -z "$ac_aux_dir"; then
1832 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
1833echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
1834 { (exit 1); exit 1; }; }
1835fi
1836
1837# These three variables are undocumented and unsupported,
1838# and are intended to be withdrawn in a future Autoconf release.
1839# They can cause serious problems if a builder's source tree is in a directory
1840# whose full name contains unusual characters.
1841ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1842ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1843ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1844
1845
1846# Find a good install program. We prefer a C program (faster),
1847# so one script is as good as another. But avoid the broken or
1848# incompatible versions:
1849# SysV /etc/install, /usr/sbin/install
1850# SunOS /usr/etc/install
1851# IRIX /sbin/install
1852# AIX /bin/install
1853# AmigaOS /C/install, which installs bootblocks on floppy discs
1854# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1855# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1856# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1857# OS/2's system install, which has a completely different semantic
1858# ./install, which can be erroneously created by make from ./install.sh.
1859{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1860echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
1861if test -z "$INSTALL"; then
1862if test "${ac_cv_path_install+set}" = set; then
1863 echo $ECHO_N "(cached) $ECHO_C" >&6
1864else
1865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1866for as_dir in $PATH
1867do
1868 IFS=$as_save_IFS
1869 test -z "$as_dir" && as_dir=.
1870 # Account for people who put trailing slashes in PATH elements.
1871case $as_dir/ in
1872 ./ | .// | /cC/* | \
1873 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1874 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1875 /usr/ucb/* ) ;;
1876 *)
1877 # OSF1 and SCO ODT 3.0 have their own names for install.
1878 # Don't use installbsd from OSF since it installs stuff as root
1879 # by default.
1880 for ac_prog in ginstall scoinst install; do
1881 for ac_exec_ext in '' $ac_executable_extensions; do
1882 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
1883 if test $ac_prog = install &&
1884 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1885 # AIX install. It has an incompatible calling convention.
1886 :
1887 elif test $ac_prog = install &&
1888 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1889 # program-specific install script used by HP pwplus--don't use.
1890 :
1891 else
1892 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1893 break 3
1894 fi
1895 fi
1896 done
1897 done
1898 ;;
1899esac
1900done
1901IFS=$as_save_IFS
1902
1903
1904fi
1905 if test "${ac_cv_path_install+set}" = set; then
1906 INSTALL=$ac_cv_path_install
1907 else
1908 # As a last resort, use the slow shell script. Don't cache a
1909 # value for INSTALL within a source directory, because that will
1910 # break other packages using the cache if that directory is
1911 # removed, or if the value is a relative name.
1912 INSTALL=$ac_install_sh
1913 fi
1914fi
1915{ echo "$as_me:$LINENO: result: $INSTALL" >&5
1916echo "${ECHO_T}$INSTALL" >&6; }
1917
1918# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1919# It thinks the first close brace ends the variable substitution.
1920test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1921
1922test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1923
1924test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1925
1926{ echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1927echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6; }
1928# Just in case
1929sleep 1
1930echo timestamp > conftest.file
1931# Do `set' in a subshell so we don't clobber the current shell's
1932# arguments. Must try -L first in case configure is actually a
1933# symlink; some systems play weird games with the mod time of symlinks
1934# (eg FreeBSD returns the mod time of the symlink's containing
1935# directory).
1936if (
1937 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1938 if test "$*" = "X"; then
1939 # -L didn't work.
1940 set X `ls -t $srcdir/configure conftest.file`
1941 fi
1942 rm -f conftest.file
1943 if test "$*" != "X $srcdir/configure conftest.file" \
1944 && test "$*" != "X conftest.file $srcdir/configure"; then
1945
1946 # If neither matched, then we have a broken ls. This can happen
1947 # if, for instance, CONFIG_SHELL is bash and it inherits a
1948 # broken ls alias from the environment. This has actually
1949 # happened. Such a system could not be considered "sane".
1950 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1951alias in your environment" >&5
1952echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1953alias in your environment" >&2;}
1954 { (exit 1); exit 1; }; }
1955 fi
1956
1957 test "$2" = conftest.file
1958 )
1959then
1960 # Ok.
1961 :
1962else
1963 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1964Check your system clock" >&5
1965echo "$as_me: error: newly created file is older than distributed files!
1966Check your system clock" >&2;}
1967 { (exit 1); exit 1; }; }
1968fi
1969{ echo "$as_me:$LINENO: result: yes" >&5
1970echo "${ECHO_T}yes" >&6; }
1971test "$program_prefix" != NONE &&
1972 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1973# Use a double $ so make ignores it.
1974test "$program_suffix" != NONE &&
1975 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1976# Double any \ or $. echo might interpret backslashes.
1977# By default was `s,x,x', remove it if useless.
1978cat <<\_ACEOF >conftest.sed
1979s/[\\$]/&&/g;s/;s,x,x,$//
1980_ACEOF
1981program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1982rm -f conftest.sed
1983
1984# expand $ac_aux_dir to an absolute path
1985am_aux_dir=`cd $ac_aux_dir && pwd`
1986
1987test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1988# Use eval to expand $SHELL
1989if eval "$MISSING --run true"; then
1990 am_missing_run="$MISSING --run "
1991else
1992 am_missing_run=
1993 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1994echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1995fi
1996
1997if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1998 # We used to keeping the `.' as first argument, in order to
1999 # allow $(mkdir_p) to be used without argument. As in
2000 # $(mkdir_p) $(somedir)
2001 # where $(somedir) is conditionally defined. However this is wrong
2002 # for two reasons:
2003 # 1. if the package is installed by a user who cannot write `.'
2004 # make install will fail,
2005 # 2. the above comment should most certainly read
2006 # $(mkdir_p) $(DESTDIR)$(somedir)
2007 # so it does not work when $(somedir) is undefined and
2008 # $(DESTDIR) is not.
2009 # To support the latter case, we have to write
2010 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
2011 # so the `.' trick is pointless.
2012 mkdir_p='mkdir -p --'
2013else
2014 # On NextStep and OpenStep, the `mkdir' command does not
2015 # recognize any option. It will interpret all options as
2016 # directories to create, and then abort because `.' already
2017 # exists.
2018 for d in ./-p ./--version;
2019 do
2020 test -d $d && rmdir $d
2021 done
2022 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
2023 if test -f "$ac_aux_dir/mkinstalldirs"; then
2024 mkdir_p='$(mkinstalldirs)'
2025 else
2026 mkdir_p='$(install_sh) -d'
2027 fi
2028fi
2029
2030for ac_prog in gawk mawk nawk awk
2031do
2032 # Extract the first word of "$ac_prog", so it can be a program name with args.
2033set dummy $ac_prog; ac_word=$2
2034{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2035echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2036if test "${ac_cv_prog_AWK+set}" = set; then
2037 echo $ECHO_N "(cached) $ECHO_C" >&6
2038else
2039 if test -n "$AWK"; then
2040 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2041else
2042as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2043for as_dir in $PATH
2044do
2045 IFS=$as_save_IFS
2046 test -z "$as_dir" && as_dir=.
2047 for ac_exec_ext in '' $ac_executable_extensions; do
2048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2049 ac_cv_prog_AWK="$ac_prog"
2050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2051 break 2
2052 fi
2053done
2054done
2055IFS=$as_save_IFS
2056
2057fi
2058fi
2059AWK=$ac_cv_prog_AWK
2060if test -n "$AWK"; then
2061 { echo "$as_me:$LINENO: result: $AWK" >&5
2062echo "${ECHO_T}$AWK" >&6; }
2063else
2064 { echo "$as_me:$LINENO: result: no" >&5
2065echo "${ECHO_T}no" >&6; }
2066fi
2067
2068
2069 test -n "$AWK" && break
2070done
2071
2072{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2073echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
2074set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2075if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
2076 echo $ECHO_N "(cached) $ECHO_C" >&6
2077else
2078 cat >conftest.make <<\_ACEOF
2079SHELL = /bin/sh
2080all:
2081 @echo '@@@%%%=$(MAKE)=@@@%%%'
2082_ACEOF
2083# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2084case `${MAKE-make} -f conftest.make 2>/dev/null` in
2085 *@@@%%%=?*=@@@%%%*)
2086 eval ac_cv_prog_make_${ac_make}_set=yes;;
2087 *)
2088 eval ac_cv_prog_make_${ac_make}_set=no;;
2089esac
2090rm -f conftest.make
2091fi
2092if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2093 { echo "$as_me:$LINENO: result: yes" >&5
2094echo "${ECHO_T}yes" >&6; }
2095 SET_MAKE=
2096else
2097 { echo "$as_me:$LINENO: result: no" >&5
2098echo "${ECHO_T}no" >&6; }
2099 SET_MAKE="MAKE=${MAKE-make}"
2100fi
2101
2102rm -rf .tst 2>/dev/null
2103mkdir .tst 2>/dev/null
2104if test -d .tst; then
2105 am__leading_dot=.
2106else
2107 am__leading_dot=_
2108fi
2109rmdir .tst 2>/dev/null
2110
2111# test to see if srcdir already configured
2112if test "`cd $srcdir && pwd`" != "`pwd`" &&
2113 test -f $srcdir/config.status; then
2114 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
2115echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
2116 { (exit 1); exit 1; }; }
2117fi
2118
2119# test whether we have cygpath
2120if test -z "$CYGPATH_W"; then
2121 if (cygpath --version) >/dev/null 2>/dev/null; then
2122 CYGPATH_W='cygpath -w'
2123 else
2124 CYGPATH_W=echo
2125 fi
2126fi
2127
2128
2129# Define the identity of the package.
2130 PACKAGE='smartmontools'
2131 VERSION='5.38'
2132
2133
2134cat >>confdefs.h <<_ACEOF
2135#define PACKAGE "$PACKAGE"
2136_ACEOF
2137
2138
2139cat >>confdefs.h <<_ACEOF
2140#define VERSION "$VERSION"
2141_ACEOF
2142
2143# Some tools Automake needs.
2144
2145ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2146
2147
2148AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2149
2150
2151AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2152
2153
2154AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2155
2156
2157MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2158
2159install_sh=${install_sh-"$am_aux_dir/install-sh"}
2160
2161# Installed binaries are usually stripped using `strip' when the user
2162# run `make install-strip'. However `strip' might not be the right
2163# tool to use in cross-compilation environments, therefore Automake
2164# will honor the `STRIP' environment variable to overrule this program.
2165if test "$cross_compiling" != no; then
2166 if test -n "$ac_tool_prefix"; then
2167 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2168set dummy ${ac_tool_prefix}strip; ac_word=$2
2169{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2170echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2171if test "${ac_cv_prog_STRIP+set}" = set; then
2172 echo $ECHO_N "(cached) $ECHO_C" >&6
2173else
2174 if test -n "$STRIP"; then
2175 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2176else
2177as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2178for as_dir in $PATH
2179do
2180 IFS=$as_save_IFS
2181 test -z "$as_dir" && as_dir=.
2182 for ac_exec_ext in '' $ac_executable_extensions; do
2183 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2184 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2185 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2186 break 2
2187 fi
2188done
2189done
2190IFS=$as_save_IFS
2191
2192fi
2193fi
2194STRIP=$ac_cv_prog_STRIP
2195if test -n "$STRIP"; then
2196 { echo "$as_me:$LINENO: result: $STRIP" >&5
2197echo "${ECHO_T}$STRIP" >&6; }
2198else
2199 { echo "$as_me:$LINENO: result: no" >&5
2200echo "${ECHO_T}no" >&6; }
2201fi
2202
2203
2204fi
2205if test -z "$ac_cv_prog_STRIP"; then
2206 ac_ct_STRIP=$STRIP
2207 # Extract the first word of "strip", so it can be a program name with args.
2208set dummy strip; ac_word=$2
2209{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2210echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2211if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
2212 echo $ECHO_N "(cached) $ECHO_C" >&6
2213else
2214 if test -n "$ac_ct_STRIP"; then
2215 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2216else
2217as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2218for as_dir in $PATH
2219do
2220 IFS=$as_save_IFS
2221 test -z "$as_dir" && as_dir=.
2222 for ac_exec_ext in '' $ac_executable_extensions; do
2223 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2224 ac_cv_prog_ac_ct_STRIP="strip"
2225 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 break 2
2227 fi
2228done
2229done
2230IFS=$as_save_IFS
2231
2232fi
2233fi
2234ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2235if test -n "$ac_ct_STRIP"; then
2236 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
2237echo "${ECHO_T}$ac_ct_STRIP" >&6; }
2238else
2239 { echo "$as_me:$LINENO: result: no" >&5
2240echo "${ECHO_T}no" >&6; }
2241fi
2242
2243 if test "x$ac_ct_STRIP" = x; then
2244 STRIP=":"
2245 else
2246 case $cross_compiling:$ac_tool_warned in
2247yes:)
2248{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2249whose name does not start with the host triplet. If you think this
2250configuration is useful to you, please write to autoconf@gnu.org." >&5
2251echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2252whose name does not start with the host triplet. If you think this
2253configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2254ac_tool_warned=yes ;;
2255esac
2256 STRIP=$ac_ct_STRIP
2257 fi
2258else
2259 STRIP="$ac_cv_prog_STRIP"
2260fi
2261
2262fi
2263INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
2264
2265# We need awk for the "check" target. The system "awk" is bad on
2266# some platforms.
2267# Always define AMTAR for backward compatibility.
2268
2269AMTAR=${AMTAR-"${am_missing_run}tar"}
2270
2271am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2272
2273
2274
2275
2276
2277
2278{ echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
2279echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6; }
2280 # Check whether --enable-maintainer-mode was given.
2281if test "${enable_maintainer_mode+set}" = set; then
2282 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2283else
2284 USE_MAINTAINER_MODE=no
2285fi
2286
2287 { echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
2288echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6; }
2289
2290
2291if test $USE_MAINTAINER_MODE = yes; then
2292 MAINTAINER_MODE_TRUE=
2293 MAINTAINER_MODE_FALSE='#'
2294else
2295 MAINTAINER_MODE_TRUE='#'
2296 MAINTAINER_MODE_FALSE=
2297fi
2298
2299 MAINT=$MAINTAINER_MODE_TRUE
2300
2301
2302
2303ac_ext=cpp
2304ac_cpp='$CXXCPP $CPPFLAGS'
2305ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2306ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2307ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2308
2309ac_ext=cpp
2310ac_cpp='$CXXCPP $CPPFLAGS'
2311ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2312ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2313ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2314if test -z "$CXX"; then
2315 if test -n "$CCC"; then
2316 CXX=$CCC
2317 else
2318 if test -n "$ac_tool_prefix"; then
2319 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2320 do
2321 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2322set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2323{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2324echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2325if test "${ac_cv_prog_CXX+set}" = set; then
2326 echo $ECHO_N "(cached) $ECHO_C" >&6
2327else
2328 if test -n "$CXX"; then
2329 ac_cv_prog_CXX="$CXX" # Let the user override the test.
2330else
2331as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2332for as_dir in $PATH
2333do
2334 IFS=$as_save_IFS
2335 test -z "$as_dir" && as_dir=.
2336 for ac_exec_ext in '' $ac_executable_extensions; do
2337 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2338 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
2339 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2340 break 2
2341 fi
2342done
2343done
2344IFS=$as_save_IFS
2345
2346fi
2347fi
2348CXX=$ac_cv_prog_CXX
2349if test -n "$CXX"; then
2350 { echo "$as_me:$LINENO: result: $CXX" >&5
2351echo "${ECHO_T}$CXX" >&6; }
2352else
2353 { echo "$as_me:$LINENO: result: no" >&5
2354echo "${ECHO_T}no" >&6; }
2355fi
2356
2357
2358 test -n "$CXX" && break
2359 done
2360fi
2361if test -z "$CXX"; then
2362 ac_ct_CXX=$CXX
2363 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
2364do
2365 # Extract the first word of "$ac_prog", so it can be a program name with args.
2366set dummy $ac_prog; ac_word=$2
2367{ echo "$as_me:$LINENO: checking for $ac_word" >&5
2368echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
2369if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
2370 echo $ECHO_N "(cached) $ECHO_C" >&6
2371else
2372 if test -n "$ac_ct_CXX"; then
2373 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
2374else
2375as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2376for as_dir in $PATH
2377do
2378 IFS=$as_save_IFS
2379 test -z "$as_dir" && as_dir=.
2380 for ac_exec_ext in '' $ac_executable_extensions; do
2381 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
2382 ac_cv_prog_ac_ct_CXX="$ac_prog"
2383 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2384 break 2
2385 fi
2386done
2387done
2388IFS=$as_save_IFS
2389
2390fi
2391fi
2392ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
2393if test -n "$ac_ct_CXX"; then
2394 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
2395echo "${ECHO_T}$ac_ct_CXX" >&6; }
2396else
2397 { echo "$as_me:$LINENO: result: no" >&5
2398echo "${ECHO_T}no" >&6; }
2399fi
2400
2401
2402 test -n "$ac_ct_CXX" && break
2403done
2404
2405 if test "x$ac_ct_CXX" = x; then
2406 CXX="g++"
2407 else
2408 case $cross_compiling:$ac_tool_warned in
2409yes:)
2410{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
2411whose name does not start with the host triplet. If you think this
2412configuration is useful to you, please write to autoconf@gnu.org." >&5
2413echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
2414whose name does not start with the host triplet. If you think this
2415configuration is useful to you, please write to autoconf@gnu.org." >&2;}
2416ac_tool_warned=yes ;;
2417esac
2418 CXX=$ac_ct_CXX
2419 fi
2420fi
2421
2422 fi
2423fi
2424# Provide some information about the compiler.
2425echo "$as_me:$LINENO: checking for C++ compiler version" >&5
2426ac_compiler=`set X $ac_compile; echo $2`
2427{ (ac_try="$ac_compiler --version >&5"
2428case "(($ac_try" in
2429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2430 *) ac_try_echo=$ac_try;;
2431esac
2432eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2433 (eval "$ac_compiler --version >&5") 2>&5
2434 ac_status=$?
2435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2436 (exit $ac_status); }
2437{ (ac_try="$ac_compiler -v >&5"
2438case "(($ac_try" in
2439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2440 *) ac_try_echo=$ac_try;;
2441esac
2442eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2443 (eval "$ac_compiler -v >&5") 2>&5
2444 ac_status=$?
2445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2446 (exit $ac_status); }
2447{ (ac_try="$ac_compiler -V >&5"
2448case "(($ac_try" in
2449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2450 *) ac_try_echo=$ac_try;;
2451esac
2452eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2453 (eval "$ac_compiler -V >&5") 2>&5
2454 ac_status=$?
2455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2456 (exit $ac_status); }
2457
2458cat >conftest.$ac_ext <<_ACEOF
2459/* confdefs.h. */
2460_ACEOF
2461cat confdefs.h >>conftest.$ac_ext
2462cat >>conftest.$ac_ext <<_ACEOF
2463/* end confdefs.h. */
2464
2465int
2466main ()
2467{
2468
2469 ;
2470 return 0;
2471}
2472_ACEOF
2473ac_clean_files_save=$ac_clean_files
2474ac_clean_files="$ac_clean_files a.out a.exe b.out"
2475# Try to create an executable without -o first, disregard a.out.
2476# It will help us diagnose broken compilers, and finding out an intuition
2477# of exeext.
2478{ echo "$as_me:$LINENO: checking for C++ compiler default output file name" >&5
2479echo $ECHO_N "checking for C++ compiler default output file name... $ECHO_C" >&6; }
2480ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2481#
2482# List of possible output files, starting from the most likely.
2483# The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
2484# only as a last resort. b.out is created by i960 compilers.
2485ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
2486#
2487# The IRIX 6 linker writes into existing files which may not be
2488# executable, retaining their permissions. Remove them first so a
2489# subsequent execution test works.
2490ac_rmfiles=
2491for ac_file in $ac_files
2492do
2493 case $ac_file in
2494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2495 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2496 esac
2497done
2498rm -f $ac_rmfiles
2499
2500if { (ac_try="$ac_link_default"
2501case "(($ac_try" in
2502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2503 *) ac_try_echo=$ac_try;;
2504esac
2505eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2506 (eval "$ac_link_default") 2>&5
2507 ac_status=$?
2508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2509 (exit $ac_status); }; then
2510 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2511# So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2512# in a Makefile. We should not override ac_cv_exeext if it was cached,
2513# so that the user can short-circuit this test for compilers unknown to
2514# Autoconf.
2515for ac_file in $ac_files
2516do
2517 test -f "$ac_file" || continue
2518 case $ac_file in
2519 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
2520 ;;
2521 [ab].out )
2522 # We found the default executable, but exeext='' is most
2523 # certainly right.
2524 break;;
2525 *.* )
2526 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2527 then :; else
2528 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2529 fi
2530 # We set ac_cv_exeext here because the later test for it is not
2531 # safe: cross compilers may not add the suffix if given an `-o'
2532 # argument, so we may need to know it at that point already.
2533 # Even if this section looks crufty: it has the advantage of
2534 # actually working.
2535 break;;
2536 * )
2537 break;;
2538 esac
2539done
2540test "$ac_cv_exeext" = no && ac_cv_exeext=
2541
2542else
2543 echo "$as_me: failed program was:" >&5
2544sed 's/^/| /' conftest.$ac_ext >&5
2545
2546{ { echo "$as_me:$LINENO: error: C++ compiler cannot create executables
2547See \`config.log' for more details." >&5
2548echo "$as_me: error: C++ compiler cannot create executables
2549See \`config.log' for more details." >&2;}
2550 { (exit 77); exit 77; }; }
2551fi
2552
2553ac_exeext=$ac_cv_exeext
2554{ echo "$as_me:$LINENO: result: $ac_file" >&5
2555echo "${ECHO_T}$ac_file" >&6; }
2556
2557# Check that the compiler produces executables we can run. If not, either
2558# the compiler is broken, or we cross compile.
2559{ echo "$as_me:$LINENO: checking whether the C++ compiler works" >&5
2560echo $ECHO_N "checking whether the C++ compiler works... $ECHO_C" >&6; }
2561# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2562# If not cross compiling, check that we can run a simple program.
2563if test "$cross_compiling" != yes; then
2564 if { ac_try='./$ac_file'
2565 { (case "(($ac_try" in
2566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2567 *) ac_try_echo=$ac_try;;
2568esac
2569eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2570 (eval "$ac_try") 2>&5
2571 ac_status=$?
2572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2573 (exit $ac_status); }; }; then
2574 cross_compiling=no
2575 else
2576 if test "$cross_compiling" = maybe; then
2577 cross_compiling=yes
2578 else
2579 { { echo "$as_me:$LINENO: error: cannot run C++ compiled programs.
2580If you meant to cross compile, use \`--host'.
2581See \`config.log' for more details." >&5
2582echo "$as_me: error: cannot run C++ compiled programs.
2583If you meant to cross compile, use \`--host'.
2584See \`config.log' for more details." >&2;}
2585 { (exit 1); exit 1; }; }
2586 fi
2587 fi
2588fi
2589{ echo "$as_me:$LINENO: result: yes" >&5
2590echo "${ECHO_T}yes" >&6; }
2591
2592rm -f a.out a.exe conftest$ac_cv_exeext b.out
2593ac_clean_files=$ac_clean_files_save
2594# Check that the compiler produces executables we can run. If not, either
2595# the compiler is broken, or we cross compile.
2596{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2597echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
2598{ echo "$as_me:$LINENO: result: $cross_compiling" >&5
2599echo "${ECHO_T}$cross_compiling" >&6; }
2600
2601{ echo "$as_me:$LINENO: checking for suffix of executables" >&5
2602echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
2603if { (ac_try="$ac_link"
2604case "(($ac_try" in
2605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2606 *) ac_try_echo=$ac_try;;
2607esac
2608eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2609 (eval "$ac_link") 2>&5
2610 ac_status=$?
2611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2612 (exit $ac_status); }; then
2613 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2614# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2615# work properly (i.e., refer to `conftest.exe'), while it won't with
2616# `rm'.
2617for ac_file in conftest.exe conftest conftest.*; do
2618 test -f "$ac_file" || continue
2619 case $ac_file in
2620 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
2621 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2622 break;;
2623 * ) break;;
2624 esac
2625done
2626else
2627 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2628See \`config.log' for more details." >&5
2629echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2630See \`config.log' for more details." >&2;}
2631 { (exit 1); exit 1; }; }
2632fi
2633
2634rm -f conftest$ac_cv_exeext
2635{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2636echo "${ECHO_T}$ac_cv_exeext" >&6; }
2637
2638rm -f conftest.$ac_ext
2639EXEEXT=$ac_cv_exeext
2640ac_exeext=$EXEEXT
2641{ echo "$as_me:$LINENO: checking for suffix of object files" >&5
2642echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
2643if test "${ac_cv_objext+set}" = set; then
2644 echo $ECHO_N "(cached) $ECHO_C" >&6
2645else
2646 cat >conftest.$ac_ext <<_ACEOF
2647/* confdefs.h. */
2648_ACEOF
2649cat confdefs.h >>conftest.$ac_ext
2650cat >>conftest.$ac_ext <<_ACEOF
2651/* end confdefs.h. */
2652
2653int
2654main ()
2655{
2656
2657 ;
2658 return 0;
2659}
2660_ACEOF
2661rm -f conftest.o conftest.obj
2662if { (ac_try="$ac_compile"
2663case "(($ac_try" in
2664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2665 *) ac_try_echo=$ac_try;;
2666esac
2667eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2668 (eval "$ac_compile") 2>&5
2669 ac_status=$?
2670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2671 (exit $ac_status); }; then
2672 for ac_file in conftest.o conftest.obj conftest.*; do
2673 test -f "$ac_file" || continue;
2674 case $ac_file in
2675 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
2676 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2677 break;;
2678 esac
2679done
2680else
2681 echo "$as_me: failed program was:" >&5
2682sed 's/^/| /' conftest.$ac_ext >&5
2683
2684{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2685See \`config.log' for more details." >&5
2686echo "$as_me: error: cannot compute suffix of object files: cannot compile
2687See \`config.log' for more details." >&2;}
2688 { (exit 1); exit 1; }; }
2689fi
2690
2691rm -f conftest.$ac_cv_objext conftest.$ac_ext
2692fi
2693{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2694echo "${ECHO_T}$ac_cv_objext" >&6; }
2695OBJEXT=$ac_cv_objext
2696ac_objext=$OBJEXT
2697{ echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
2698echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
2699if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
2700 echo $ECHO_N "(cached) $ECHO_C" >&6
2701else
2702 cat >conftest.$ac_ext <<_ACEOF
2703/* confdefs.h. */
2704_ACEOF
2705cat confdefs.h >>conftest.$ac_ext
2706cat >>conftest.$ac_ext <<_ACEOF
2707/* end confdefs.h. */
2708
2709int
2710main ()
2711{
2712#ifndef __GNUC__
2713 choke me
2714#endif
2715
2716 ;
2717 return 0;
2718}
2719_ACEOF
2720rm -f conftest.$ac_objext
2721if { (ac_try="$ac_compile"
2722case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725esac
2726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_compile") 2>conftest.er1
2728 ac_status=$?
2729 grep -v '^ *+' conftest.er1 >conftest.err
2730 rm -f conftest.er1
2731 cat conftest.err >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } &&
2734 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2735 { (case "(($ac_try" in
2736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2737 *) ac_try_echo=$ac_try;;
2738esac
2739eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2740 (eval "$ac_try") 2>&5
2741 ac_status=$?
2742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2743 (exit $ac_status); }; } &&
2744 { ac_try='test -s conftest.$ac_objext'
2745 { (case "(($ac_try" in
2746 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2747 *) ac_try_echo=$ac_try;;
2748esac
2749eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2750 (eval "$ac_try") 2>&5
2751 ac_status=$?
2752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2753 (exit $ac_status); }; }; then
2754 ac_compiler_gnu=yes
2755else
2756 echo "$as_me: failed program was:" >&5
2757sed 's/^/| /' conftest.$ac_ext >&5
2758
2759 ac_compiler_gnu=no
2760fi
2761
2762rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2763ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
2764
2765fi
2766{ echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
2767echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
2768GXX=`test $ac_compiler_gnu = yes && echo yes`
2769ac_test_CXXFLAGS=${CXXFLAGS+set}
2770ac_save_CXXFLAGS=$CXXFLAGS
2771{ echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
2772echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
2773if test "${ac_cv_prog_cxx_g+set}" = set; then
2774 echo $ECHO_N "(cached) $ECHO_C" >&6
2775else
2776 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
2777 ac_cxx_werror_flag=yes
2778 ac_cv_prog_cxx_g=no
2779 CXXFLAGS="-g"
2780 cat >conftest.$ac_ext <<_ACEOF
2781/* confdefs.h. */
2782_ACEOF
2783cat confdefs.h >>conftest.$ac_ext
2784cat >>conftest.$ac_ext <<_ACEOF
2785/* end confdefs.h. */
2786
2787int
2788main ()
2789{
2790
2791 ;
2792 return 0;
2793}
2794_ACEOF
2795rm -f conftest.$ac_objext
2796if { (ac_try="$ac_compile"
2797case "(($ac_try" in
2798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2799 *) ac_try_echo=$ac_try;;
2800esac
2801eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2802 (eval "$ac_compile") 2>conftest.er1
2803 ac_status=$?
2804 grep -v '^ *+' conftest.er1 >conftest.err
2805 rm -f conftest.er1
2806 cat conftest.err >&5
2807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2808 (exit $ac_status); } &&
2809 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2810 { (case "(($ac_try" in
2811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2812 *) ac_try_echo=$ac_try;;
2813esac
2814eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2815 (eval "$ac_try") 2>&5
2816 ac_status=$?
2817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2818 (exit $ac_status); }; } &&
2819 { ac_try='test -s conftest.$ac_objext'
2820 { (case "(($ac_try" in
2821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2822 *) ac_try_echo=$ac_try;;
2823esac
2824eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2825 (eval "$ac_try") 2>&5
2826 ac_status=$?
2827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2828 (exit $ac_status); }; }; then
2829 ac_cv_prog_cxx_g=yes
2830else
2831 echo "$as_me: failed program was:" >&5
2832sed 's/^/| /' conftest.$ac_ext >&5
2833
2834 CXXFLAGS=""
2835 cat >conftest.$ac_ext <<_ACEOF
2836/* confdefs.h. */
2837_ACEOF
2838cat confdefs.h >>conftest.$ac_ext
2839cat >>conftest.$ac_ext <<_ACEOF
2840/* end confdefs.h. */
2841
2842int
2843main ()
2844{
2845
2846 ;
2847 return 0;
2848}
2849_ACEOF
2850rm -f conftest.$ac_objext
2851if { (ac_try="$ac_compile"
2852case "(($ac_try" in
2853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2854 *) ac_try_echo=$ac_try;;
2855esac
2856eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2857 (eval "$ac_compile") 2>conftest.er1
2858 ac_status=$?
2859 grep -v '^ *+' conftest.er1 >conftest.err
2860 rm -f conftest.er1
2861 cat conftest.err >&5
2862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2863 (exit $ac_status); } &&
2864 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2865 { (case "(($ac_try" in
2866 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2867 *) ac_try_echo=$ac_try;;
2868esac
2869eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2870 (eval "$ac_try") 2>&5
2871 ac_status=$?
2872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2873 (exit $ac_status); }; } &&
2874 { ac_try='test -s conftest.$ac_objext'
2875 { (case "(($ac_try" in
2876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2877 *) ac_try_echo=$ac_try;;
2878esac
2879eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2880 (eval "$ac_try") 2>&5
2881 ac_status=$?
2882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2883 (exit $ac_status); }; }; then
2884 :
2885else
2886 echo "$as_me: failed program was:" >&5
2887sed 's/^/| /' conftest.$ac_ext >&5
2888
2889 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2890 CXXFLAGS="-g"
2891 cat >conftest.$ac_ext <<_ACEOF
2892/* confdefs.h. */
2893_ACEOF
2894cat confdefs.h >>conftest.$ac_ext
2895cat >>conftest.$ac_ext <<_ACEOF
2896/* end confdefs.h. */
2897
2898int
2899main ()
2900{
2901
2902 ;
2903 return 0;
2904}
2905_ACEOF
2906rm -f conftest.$ac_objext
2907if { (ac_try="$ac_compile"
2908case "(($ac_try" in
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2911esac
2912eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2913 (eval "$ac_compile") 2>conftest.er1
2914 ac_status=$?
2915 grep -v '^ *+' conftest.er1 >conftest.err
2916 rm -f conftest.er1
2917 cat conftest.err >&5
2918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2919 (exit $ac_status); } &&
2920 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
2921 { (case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2924esac
2925eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2926 (eval "$ac_try") 2>&5
2927 ac_status=$?
2928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2929 (exit $ac_status); }; } &&
2930 { ac_try='test -s conftest.$ac_objext'
2931 { (case "(($ac_try" in
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2934esac
2935eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2936 (eval "$ac_try") 2>&5
2937 ac_status=$?
2938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2939 (exit $ac_status); }; }; then
2940 ac_cv_prog_cxx_g=yes
2941else
2942 echo "$as_me: failed program was:" >&5
2943sed 's/^/| /' conftest.$ac_ext >&5
2944
2945
2946fi
2947
2948rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2949fi
2950
2951rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2952fi
2953
2954rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2955 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
2956fi
2957{ echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
2958echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
2959if test "$ac_test_CXXFLAGS" = set; then
2960 CXXFLAGS=$ac_save_CXXFLAGS
2961elif test $ac_cv_prog_cxx_g = yes; then
2962 if test "$GXX" = yes; then
2963 CXXFLAGS="-g -O2"
2964 else
2965 CXXFLAGS="-g"
2966 fi
2967else
2968 if test "$GXX" = yes; then
2969 CXXFLAGS="-O2"
2970 else
2971 CXXFLAGS=
2972 fi
2973fi
2974ac_ext=cpp
2975ac_cpp='$CXXCPP $CPPFLAGS'
2976ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2977ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2978ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
2979DEPDIR="${am__leading_dot}deps"
2980
2981ac_config_commands="$ac_config_commands depfiles"
2982
2983
2984am_make=${MAKE-make}
2985cat > confinc << 'END'
2986am__doit:
2987 @echo done
2988.PHONY: am__doit
2989END
2990# If we don't find an include directive, just comment out the code.
2991{ echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2992echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6; }
2993am__include="#"
2994am__quote=
2995_am_result=none
2996# First try GNU make style include.
2997echo "include confinc" > confmf
2998# We grep out `Entering directory' and `Leaving directory'
2999# messages which can occur if `w' ends up in MAKEFLAGS.
3000# In particular we don't look at `^make:' because GNU make might
3001# be invoked under some other name (usually "gmake"), in which
3002# case it prints its new name instead of `make'.
3003if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
3004 am__include=include
3005 am__quote=
3006 _am_result=GNU
3007fi
3008# Now try BSD make style include.
3009if test "$am__include" = "#"; then
3010 echo '.include "confinc"' > confmf
3011 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
3012 am__include=.include
3013 am__quote="\""
3014 _am_result=BSD
3015 fi
3016fi
3017
3018
3019{ echo "$as_me:$LINENO: result: $_am_result" >&5
3020echo "${ECHO_T}$_am_result" >&6; }
3021rm -f confinc confmf
3022
3023# Check whether --enable-dependency-tracking was given.
3024if test "${enable_dependency_tracking+set}" = set; then
3025 enableval=$enable_dependency_tracking;
3026fi
3027
3028if test "x$enable_dependency_tracking" != xno; then
3029 am_depcomp="$ac_aux_dir/depcomp"
3030 AMDEPBACKSLASH='\'
3031fi
3032
3033
3034if test "x$enable_dependency_tracking" != xno; then
3035 AMDEP_TRUE=
3036 AMDEP_FALSE='#'
3037else
3038 AMDEP_TRUE='#'
3039 AMDEP_FALSE=
3040fi
3041
3042
3043
3044
3045depcc="$CXX" am_compiler_list=
3046
3047{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3048echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3049if test "${am_cv_CXX_dependencies_compiler_type+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3051else
3052 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3053 # We make a subdir and do the tests there. Otherwise we can end up
3054 # making bogus files that we don't know about and never remove. For
3055 # instance it was reported that on HP-UX the gcc test will end up
3056 # making a dummy file named `D' -- because `-MD' means `put the output
3057 # in D'.
3058 mkdir conftest.dir
3059 # Copy depcomp to subdir because otherwise we won't find it if we're
3060 # using a relative directory.
3061 cp "$am_depcomp" conftest.dir
3062 cd conftest.dir
3063 # We will build objects and dependencies in a subdirectory because
3064 # it helps to detect inapplicable dependency modes. For instance
3065 # both Tru64's cc and ICC support -MD to output dependencies as a
3066 # side effect of compilation, but ICC will put the dependencies in
3067 # the current directory while Tru64 will put them in the object
3068 # directory.
3069 mkdir sub
3070
3071 am_cv_CXX_dependencies_compiler_type=none
3072 if test "$am_compiler_list" = ""; then
3073 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3074 fi
3075 for depmode in $am_compiler_list; do
3076 # Setup a source with many dependencies, because some compilers
3077 # like to wrap large dependency lists on column 80 (with \), and
3078 # we should not choose a depcomp mode which is confused by this.
3079 #
3080 # We need to recreate these files for each test, as the compiler may
3081 # overwrite some of them when testing with obscure command lines.
3082 # This happens at least with the AIX C compiler.
3083 : > sub/conftest.c
3084 for i in 1 2 3 4 5 6; do
3085 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3086 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3087 # Solaris 8's {/usr,}/bin/sh.
3088 touch sub/conftst$i.h
3089 done
3090 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3091
3092 case $depmode in
3093 nosideeffect)
3094 # after this tag, mechanisms are not by side-effect, so they'll
3095 # only be used when explicitly requested
3096 if test "x$enable_dependency_tracking" = xyes; then
3097 continue
3098 else
3099 break
3100 fi
3101 ;;
3102 none) break ;;
3103 esac
3104 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3105 # mode. It turns out that the SunPro C++ compiler does not properly
3106 # handle `-M -o', and we need to detect this.
3107 if depmode=$depmode \
3108 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3109 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3110 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3111 >/dev/null 2>conftest.err &&
3112 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3113 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3114 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3115 # icc doesn't choke on unknown options, it will just issue warnings
3116 # or remarks (even with -Werror). So we grep stderr for any message
3117 # that says an option was ignored or not supported.
3118 # When given -MP, icc 7.0 and 7.1 complain thusly:
3119 # icc: Command line warning: ignoring option '-M'; no argument required
3120 # The diagnosis changed in icc 8.0:
3121 # icc: Command line remark: option '-MP' not supported
3122 if (grep 'ignoring option' conftest.err ||
3123 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3124 am_cv_CXX_dependencies_compiler_type=$depmode
3125 break
3126 fi
3127 fi
3128 done
3129
3130 cd ..
3131 rm -rf conftest.dir
3132else
3133 am_cv_CXX_dependencies_compiler_type=none
3134fi
3135
3136fi
3137{ echo "$as_me:$LINENO: result: $am_cv_CXX_dependencies_compiler_type" >&5
3138echo "${ECHO_T}$am_cv_CXX_dependencies_compiler_type" >&6; }
3139CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3140
3141
3142
3143if
3144 test "x$enable_dependency_tracking" != xno \
3145 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3146 am__fastdepCXX_TRUE=
3147 am__fastdepCXX_FALSE='#'
3148else
3149 am__fastdepCXX_TRUE='#'
3150 am__fastdepCXX_FALSE=
3151fi
3152
3153
3154ac_ext=c
3155ac_cpp='$CPP $CPPFLAGS'
3156ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3157ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3158ac_compiler_gnu=$ac_cv_c_compiler_gnu
3159if test -n "$ac_tool_prefix"; then
3160 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3161set dummy ${ac_tool_prefix}gcc; ac_word=$2
3162{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3163echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3164if test "${ac_cv_prog_CC+set}" = set; then
3165 echo $ECHO_N "(cached) $ECHO_C" >&6
3166else
3167 if test -n "$CC"; then
3168 ac_cv_prog_CC="$CC" # Let the user override the test.
3169else
3170as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3171for as_dir in $PATH
3172do
3173 IFS=$as_save_IFS
3174 test -z "$as_dir" && as_dir=.
3175 for ac_exec_ext in '' $ac_executable_extensions; do
3176 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3177 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3178 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3179 break 2
3180 fi
3181done
3182done
3183IFS=$as_save_IFS
3184
3185fi
3186fi
3187CC=$ac_cv_prog_CC
3188if test -n "$CC"; then
3189 { echo "$as_me:$LINENO: result: $CC" >&5
3190echo "${ECHO_T}$CC" >&6; }
3191else
3192 { echo "$as_me:$LINENO: result: no" >&5
3193echo "${ECHO_T}no" >&6; }
3194fi
3195
3196
3197fi
3198if test -z "$ac_cv_prog_CC"; then
3199 ac_ct_CC=$CC
3200 # Extract the first word of "gcc", so it can be a program name with args.
3201set dummy gcc; ac_word=$2
3202{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3203echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3204if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3205 echo $ECHO_N "(cached) $ECHO_C" >&6
3206else
3207 if test -n "$ac_ct_CC"; then
3208 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3209else
3210as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3211for as_dir in $PATH
3212do
3213 IFS=$as_save_IFS
3214 test -z "$as_dir" && as_dir=.
3215 for ac_exec_ext in '' $ac_executable_extensions; do
3216 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3217 ac_cv_prog_ac_ct_CC="gcc"
3218 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3219 break 2
3220 fi
3221done
3222done
3223IFS=$as_save_IFS
3224
3225fi
3226fi
3227ac_ct_CC=$ac_cv_prog_ac_ct_CC
3228if test -n "$ac_ct_CC"; then
3229 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3230echo "${ECHO_T}$ac_ct_CC" >&6; }
3231else
3232 { echo "$as_me:$LINENO: result: no" >&5
3233echo "${ECHO_T}no" >&6; }
3234fi
3235
3236 if test "x$ac_ct_CC" = x; then
3237 CC=""
3238 else
3239 case $cross_compiling:$ac_tool_warned in
3240yes:)
3241{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3242whose name does not start with the host triplet. If you think this
3243configuration is useful to you, please write to autoconf@gnu.org." >&5
3244echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3245whose name does not start with the host triplet. If you think this
3246configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3247ac_tool_warned=yes ;;
3248esac
3249 CC=$ac_ct_CC
3250 fi
3251else
3252 CC="$ac_cv_prog_CC"
3253fi
3254
3255if test -z "$CC"; then
3256 if test -n "$ac_tool_prefix"; then
3257 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3258set dummy ${ac_tool_prefix}cc; ac_word=$2
3259{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3260echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3261if test "${ac_cv_prog_CC+set}" = set; then
3262 echo $ECHO_N "(cached) $ECHO_C" >&6
3263else
3264 if test -n "$CC"; then
3265 ac_cv_prog_CC="$CC" # Let the user override the test.
3266else
3267as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3268for as_dir in $PATH
3269do
3270 IFS=$as_save_IFS
3271 test -z "$as_dir" && as_dir=.
3272 for ac_exec_ext in '' $ac_executable_extensions; do
3273 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3274 ac_cv_prog_CC="${ac_tool_prefix}cc"
3275 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3276 break 2
3277 fi
3278done
3279done
3280IFS=$as_save_IFS
3281
3282fi
3283fi
3284CC=$ac_cv_prog_CC
3285if test -n "$CC"; then
3286 { echo "$as_me:$LINENO: result: $CC" >&5
3287echo "${ECHO_T}$CC" >&6; }
3288else
3289 { echo "$as_me:$LINENO: result: no" >&5
3290echo "${ECHO_T}no" >&6; }
3291fi
3292
3293
3294 fi
3295fi
3296if test -z "$CC"; then
3297 # Extract the first word of "cc", so it can be a program name with args.
3298set dummy cc; ac_word=$2
3299{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3300echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3301if test "${ac_cv_prog_CC+set}" = set; then
3302 echo $ECHO_N "(cached) $ECHO_C" >&6
3303else
3304 if test -n "$CC"; then
3305 ac_cv_prog_CC="$CC" # Let the user override the test.
3306else
3307 ac_prog_rejected=no
3308as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3309for as_dir in $PATH
3310do
3311 IFS=$as_save_IFS
3312 test -z "$as_dir" && as_dir=.
3313 for ac_exec_ext in '' $ac_executable_extensions; do
3314 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3315 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3316 ac_prog_rejected=yes
3317 continue
3318 fi
3319 ac_cv_prog_CC="cc"
3320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3321 break 2
3322 fi
3323done
3324done
3325IFS=$as_save_IFS
3326
3327if test $ac_prog_rejected = yes; then
3328 # We found a bogon in the path, so make sure we never use it.
3329 set dummy $ac_cv_prog_CC
3330 shift
3331 if test $# != 0; then
3332 # We chose a different compiler from the bogus one.
3333 # However, it has the same basename, so the bogon will be chosen
3334 # first if we set CC to just the basename; use the full file name.
3335 shift
3336 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3337 fi
3338fi
3339fi
3340fi
3341CC=$ac_cv_prog_CC
3342if test -n "$CC"; then
3343 { echo "$as_me:$LINENO: result: $CC" >&5
3344echo "${ECHO_T}$CC" >&6; }
3345else
3346 { echo "$as_me:$LINENO: result: no" >&5
3347echo "${ECHO_T}no" >&6; }
3348fi
3349
3350
3351fi
3352if test -z "$CC"; then
3353 if test -n "$ac_tool_prefix"; then
3354 for ac_prog in cl.exe
3355 do
3356 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3357set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3358{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3359echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3360if test "${ac_cv_prog_CC+set}" = set; then
3361 echo $ECHO_N "(cached) $ECHO_C" >&6
3362else
3363 if test -n "$CC"; then
3364 ac_cv_prog_CC="$CC" # Let the user override the test.
3365else
3366as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3367for as_dir in $PATH
3368do
3369 IFS=$as_save_IFS
3370 test -z "$as_dir" && as_dir=.
3371 for ac_exec_ext in '' $ac_executable_extensions; do
3372 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3373 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3374 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3375 break 2
3376 fi
3377done
3378done
3379IFS=$as_save_IFS
3380
3381fi
3382fi
3383CC=$ac_cv_prog_CC
3384if test -n "$CC"; then
3385 { echo "$as_me:$LINENO: result: $CC" >&5
3386echo "${ECHO_T}$CC" >&6; }
3387else
3388 { echo "$as_me:$LINENO: result: no" >&5
3389echo "${ECHO_T}no" >&6; }
3390fi
3391
3392
3393 test -n "$CC" && break
3394 done
3395fi
3396if test -z "$CC"; then
3397 ac_ct_CC=$CC
3398 for ac_prog in cl.exe
3399do
3400 # Extract the first word of "$ac_prog", so it can be a program name with args.
3401set dummy $ac_prog; ac_word=$2
3402{ echo "$as_me:$LINENO: checking for $ac_word" >&5
3403echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
3404if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
3405 echo $ECHO_N "(cached) $ECHO_C" >&6
3406else
3407 if test -n "$ac_ct_CC"; then
3408 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3409else
3410as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3411for as_dir in $PATH
3412do
3413 IFS=$as_save_IFS
3414 test -z "$as_dir" && as_dir=.
3415 for ac_exec_ext in '' $ac_executable_extensions; do
3416 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; }; then
3417 ac_cv_prog_ac_ct_CC="$ac_prog"
3418 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
3419 break 2
3420 fi
3421done
3422done
3423IFS=$as_save_IFS
3424
3425fi
3426fi
3427ac_ct_CC=$ac_cv_prog_ac_ct_CC
3428if test -n "$ac_ct_CC"; then
3429 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
3430echo "${ECHO_T}$ac_ct_CC" >&6; }
3431else
3432 { echo "$as_me:$LINENO: result: no" >&5
3433echo "${ECHO_T}no" >&6; }
3434fi
3435
3436
3437 test -n "$ac_ct_CC" && break
3438done
3439
3440 if test "x$ac_ct_CC" = x; then
3441 CC=""
3442 else
3443 case $cross_compiling:$ac_tool_warned in
3444yes:)
3445{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
3446whose name does not start with the host triplet. If you think this
3447configuration is useful to you, please write to autoconf@gnu.org." >&5
3448echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
3449whose name does not start with the host triplet. If you think this
3450configuration is useful to you, please write to autoconf@gnu.org." >&2;}
3451ac_tool_warned=yes ;;
3452esac
3453 CC=$ac_ct_CC
3454 fi
3455fi
3456
3457fi
3458
3459
3460test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
3461See \`config.log' for more details." >&5
3462echo "$as_me: error: no acceptable C compiler found in \$PATH
3463See \`config.log' for more details." >&2;}
3464 { (exit 1); exit 1; }; }
3465
3466# Provide some information about the compiler.
3467echo "$as_me:$LINENO: checking for C compiler version" >&5
3468ac_compiler=`set X $ac_compile; echo $2`
3469{ (ac_try="$ac_compiler --version >&5"
3470case "(($ac_try" in
3471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3472 *) ac_try_echo=$ac_try;;
3473esac
3474eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3475 (eval "$ac_compiler --version >&5") 2>&5
3476 ac_status=$?
3477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3478 (exit $ac_status); }
3479{ (ac_try="$ac_compiler -v >&5"
3480case "(($ac_try" in
3481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3482 *) ac_try_echo=$ac_try;;
3483esac
3484eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3485 (eval "$ac_compiler -v >&5") 2>&5
3486 ac_status=$?
3487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3488 (exit $ac_status); }
3489{ (ac_try="$ac_compiler -V >&5"
3490case "(($ac_try" in
3491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3492 *) ac_try_echo=$ac_try;;
3493esac
3494eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3495 (eval "$ac_compiler -V >&5") 2>&5
3496 ac_status=$?
3497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3498 (exit $ac_status); }
3499
3500{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
3501echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
3502if test "${ac_cv_c_compiler_gnu+set}" = set; then
3503 echo $ECHO_N "(cached) $ECHO_C" >&6
3504else
3505 cat >conftest.$ac_ext <<_ACEOF
3506/* confdefs.h. */
3507_ACEOF
3508cat confdefs.h >>conftest.$ac_ext
3509cat >>conftest.$ac_ext <<_ACEOF
3510/* end confdefs.h. */
3511
3512int
3513main ()
3514{
3515#ifndef __GNUC__
3516 choke me
3517#endif
3518
3519 ;
3520 return 0;
3521}
3522_ACEOF
3523rm -f conftest.$ac_objext
3524if { (ac_try="$ac_compile"
3525case "(($ac_try" in
3526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3527 *) ac_try_echo=$ac_try;;
3528esac
3529eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3530 (eval "$ac_compile") 2>conftest.er1
3531 ac_status=$?
3532 grep -v '^ *+' conftest.er1 >conftest.err
3533 rm -f conftest.er1
3534 cat conftest.err >&5
3535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3536 (exit $ac_status); } &&
3537 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3538 { (case "(($ac_try" in
3539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3540 *) ac_try_echo=$ac_try;;
3541esac
3542eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3543 (eval "$ac_try") 2>&5
3544 ac_status=$?
3545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3546 (exit $ac_status); }; } &&
3547 { ac_try='test -s conftest.$ac_objext'
3548 { (case "(($ac_try" in
3549 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3550 *) ac_try_echo=$ac_try;;
3551esac
3552eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3553 (eval "$ac_try") 2>&5
3554 ac_status=$?
3555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3556 (exit $ac_status); }; }; then
3557 ac_compiler_gnu=yes
3558else
3559 echo "$as_me: failed program was:" >&5
3560sed 's/^/| /' conftest.$ac_ext >&5
3561
3562 ac_compiler_gnu=no
3563fi
3564
3565rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3566ac_cv_c_compiler_gnu=$ac_compiler_gnu
3567
3568fi
3569{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
3570echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
3571GCC=`test $ac_compiler_gnu = yes && echo yes`
3572ac_test_CFLAGS=${CFLAGS+set}
3573ac_save_CFLAGS=$CFLAGS
3574{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
3575echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
3576if test "${ac_cv_prog_cc_g+set}" = set; then
3577 echo $ECHO_N "(cached) $ECHO_C" >&6
3578else
3579 ac_save_c_werror_flag=$ac_c_werror_flag
3580 ac_c_werror_flag=yes
3581 ac_cv_prog_cc_g=no
3582 CFLAGS="-g"
3583 cat >conftest.$ac_ext <<_ACEOF
3584/* confdefs.h. */
3585_ACEOF
3586cat confdefs.h >>conftest.$ac_ext
3587cat >>conftest.$ac_ext <<_ACEOF
3588/* end confdefs.h. */
3589
3590int
3591main ()
3592{
3593
3594 ;
3595 return 0;
3596}
3597_ACEOF
3598rm -f conftest.$ac_objext
3599if { (ac_try="$ac_compile"
3600case "(($ac_try" in
3601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3602 *) ac_try_echo=$ac_try;;
3603esac
3604eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3605 (eval "$ac_compile") 2>conftest.er1
3606 ac_status=$?
3607 grep -v '^ *+' conftest.er1 >conftest.err
3608 rm -f conftest.er1
3609 cat conftest.err >&5
3610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3611 (exit $ac_status); } &&
3612 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3613 { (case "(($ac_try" in
3614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3615 *) ac_try_echo=$ac_try;;
3616esac
3617eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3618 (eval "$ac_try") 2>&5
3619 ac_status=$?
3620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3621 (exit $ac_status); }; } &&
3622 { ac_try='test -s conftest.$ac_objext'
3623 { (case "(($ac_try" in
3624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3625 *) ac_try_echo=$ac_try;;
3626esac
3627eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3628 (eval "$ac_try") 2>&5
3629 ac_status=$?
3630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3631 (exit $ac_status); }; }; then
3632 ac_cv_prog_cc_g=yes
3633else
3634 echo "$as_me: failed program was:" >&5
3635sed 's/^/| /' conftest.$ac_ext >&5
3636
3637 CFLAGS=""
3638 cat >conftest.$ac_ext <<_ACEOF
3639/* confdefs.h. */
3640_ACEOF
3641cat confdefs.h >>conftest.$ac_ext
3642cat >>conftest.$ac_ext <<_ACEOF
3643/* end confdefs.h. */
3644
3645int
3646main ()
3647{
3648
3649 ;
3650 return 0;
3651}
3652_ACEOF
3653rm -f conftest.$ac_objext
3654if { (ac_try="$ac_compile"
3655case "(($ac_try" in
3656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3657 *) ac_try_echo=$ac_try;;
3658esac
3659eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3660 (eval "$ac_compile") 2>conftest.er1
3661 ac_status=$?
3662 grep -v '^ *+' conftest.er1 >conftest.err
3663 rm -f conftest.er1
3664 cat conftest.err >&5
3665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3666 (exit $ac_status); } &&
3667 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3668 { (case "(($ac_try" in
3669 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3670 *) ac_try_echo=$ac_try;;
3671esac
3672eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3673 (eval "$ac_try") 2>&5
3674 ac_status=$?
3675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3676 (exit $ac_status); }; } &&
3677 { ac_try='test -s conftest.$ac_objext'
3678 { (case "(($ac_try" in
3679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3680 *) ac_try_echo=$ac_try;;
3681esac
3682eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3683 (eval "$ac_try") 2>&5
3684 ac_status=$?
3685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3686 (exit $ac_status); }; }; then
3687 :
3688else
3689 echo "$as_me: failed program was:" >&5
3690sed 's/^/| /' conftest.$ac_ext >&5
3691
3692 ac_c_werror_flag=$ac_save_c_werror_flag
3693 CFLAGS="-g"
3694 cat >conftest.$ac_ext <<_ACEOF
3695/* confdefs.h. */
3696_ACEOF
3697cat confdefs.h >>conftest.$ac_ext
3698cat >>conftest.$ac_ext <<_ACEOF
3699/* end confdefs.h. */
3700
3701int
3702main ()
3703{
3704
3705 ;
3706 return 0;
3707}
3708_ACEOF
3709rm -f conftest.$ac_objext
3710if { (ac_try="$ac_compile"
3711case "(($ac_try" in
3712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3713 *) ac_try_echo=$ac_try;;
3714esac
3715eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3716 (eval "$ac_compile") 2>conftest.er1
3717 ac_status=$?
3718 grep -v '^ *+' conftest.er1 >conftest.err
3719 rm -f conftest.er1
3720 cat conftest.err >&5
3721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3722 (exit $ac_status); } &&
3723 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3724 { (case "(($ac_try" in
3725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3726 *) ac_try_echo=$ac_try;;
3727esac
3728eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3729 (eval "$ac_try") 2>&5
3730 ac_status=$?
3731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3732 (exit $ac_status); }; } &&
3733 { ac_try='test -s conftest.$ac_objext'
3734 { (case "(($ac_try" in
3735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3736 *) ac_try_echo=$ac_try;;
3737esac
3738eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3739 (eval "$ac_try") 2>&5
3740 ac_status=$?
3741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3742 (exit $ac_status); }; }; then
3743 ac_cv_prog_cc_g=yes
3744else
3745 echo "$as_me: failed program was:" >&5
3746sed 's/^/| /' conftest.$ac_ext >&5
3747
3748
3749fi
3750
3751rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3752fi
3753
3754rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3755fi
3756
3757rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3758 ac_c_werror_flag=$ac_save_c_werror_flag
3759fi
3760{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
3761echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
3762if test "$ac_test_CFLAGS" = set; then
3763 CFLAGS=$ac_save_CFLAGS
3764elif test $ac_cv_prog_cc_g = yes; then
3765 if test "$GCC" = yes; then
3766 CFLAGS="-g -O2"
3767 else
3768 CFLAGS="-g"
3769 fi
3770else
3771 if test "$GCC" = yes; then
3772 CFLAGS="-O2"
3773 else
3774 CFLAGS=
3775 fi
3776fi
3777{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
3778echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
3779if test "${ac_cv_prog_cc_c89+set}" = set; then
3780 echo $ECHO_N "(cached) $ECHO_C" >&6
3781else
3782 ac_cv_prog_cc_c89=no
3783ac_save_CC=$CC
3784cat >conftest.$ac_ext <<_ACEOF
3785/* confdefs.h. */
3786_ACEOF
3787cat confdefs.h >>conftest.$ac_ext
3788cat >>conftest.$ac_ext <<_ACEOF
3789/* end confdefs.h. */
3790#include <stdarg.h>
3791#include <stdio.h>
3792#include <sys/types.h>
3793#include <sys/stat.h>
3794/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3795struct buf { int x; };
3796FILE * (*rcsopen) (struct buf *, struct stat *, int);
3797static char *e (p, i)
3798 char **p;
3799 int i;
3800{
3801 return p[i];
3802}
3803static char *f (char * (*g) (char **, int), char **p, ...)
3804{
3805 char *s;
3806 va_list v;
3807 va_start (v,p);
3808 s = g (p, va_arg (v,int));
3809 va_end (v);
3810 return s;
3811}
3812
3813/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3814 function prototypes and stuff, but not '\xHH' hex character constants.
3815 These don't provoke an error unfortunately, instead are silently treated
3816 as 'x'. The following induces an error, until -std is added to get
3817 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3818 array size at least. It's necessary to write '\x00'==0 to get something
3819 that's true only with -std. */
3820int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3821
3822/* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3823 inside strings and character constants. */
3824#define FOO(x) 'x'
3825int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3826
3827int test (int i, double x);
3828struct s1 {int (*f) (int a);};
3829struct s2 {int (*f) (double a);};
3830int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3831int argc;
3832char **argv;
3833int
3834main ()
3835{
3836return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3837 ;
3838 return 0;
3839}
3840_ACEOF
3841for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3842 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3843do
3844 CC="$ac_save_CC $ac_arg"
3845 rm -f conftest.$ac_objext
3846if { (ac_try="$ac_compile"
3847case "(($ac_try" in
3848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3849 *) ac_try_echo=$ac_try;;
3850esac
3851eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3852 (eval "$ac_compile") 2>conftest.er1
3853 ac_status=$?
3854 grep -v '^ *+' conftest.er1 >conftest.err
3855 rm -f conftest.er1
3856 cat conftest.err >&5
3857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3858 (exit $ac_status); } &&
3859 { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err'
3860 { (case "(($ac_try" in
3861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3862 *) ac_try_echo=$ac_try;;
3863esac
3864eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3865 (eval "$ac_try") 2>&5
3866 ac_status=$?
3867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3868 (exit $ac_status); }; } &&
3869 { ac_try='test -s conftest.$ac_objext'
3870 { (case "(($ac_try" in
3871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3872 *) ac_try_echo=$ac_try;;
3873esac
3874eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
3875 (eval "$ac_try") 2>&5
3876 ac_status=$?
3877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3878 (exit $ac_status); }; }; then
3879 ac_cv_prog_cc_c89=$ac_arg
3880else
3881 echo "$as_me: failed program was:" >&5
3882sed 's/^/| /' conftest.$ac_ext >&5
3883
3884
3885fi
3886
3887rm -f core conftest.err conftest.$ac_objext
3888 test "x$ac_cv_prog_cc_c89" != "xno" && break
3889done
3890rm -f conftest.$ac_ext
3891CC=$ac_save_CC
3892
3893fi
3894# AC_CACHE_VAL
3895case "x$ac_cv_prog_cc_c89" in
3896 x)
3897 { echo "$as_me:$LINENO: result: none needed" >&5
3898echo "${ECHO_T}none needed" >&6; } ;;
3899 xno)
3900 { echo "$as_me:$LINENO: result: unsupported" >&5
3901echo "${ECHO_T}unsupported" >&6; } ;;
3902 *)
3903 CC="$CC $ac_cv_prog_cc_c89"
3904 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
3905echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
3906esac
3907
3908
3909ac_ext=cpp
3910ac_cpp='$CXXCPP $CPPFLAGS'
3911ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3912ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3913ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3914
3915depcc="$CC" am_compiler_list=
3916
3917{ echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
3918echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6; }
3919if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
3920 echo $ECHO_N "(cached) $ECHO_C" >&6
3921else
3922 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3923 # We make a subdir and do the tests there. Otherwise we can end up
3924 # making bogus files that we don't know about and never remove. For
3925 # instance it was reported that on HP-UX the gcc test will end up
3926 # making a dummy file named `D' -- because `-MD' means `put the output
3927 # in D'.
3928 mkdir conftest.dir
3929 # Copy depcomp to subdir because otherwise we won't find it if we're
3930 # using a relative directory.
3931 cp "$am_depcomp" conftest.dir
3932 cd conftest.dir
3933 # We will build objects and dependencies in a subdirectory because
3934 # it helps to detect inapplicable dependency modes. For instance
3935 # both Tru64's cc and ICC support -MD to output dependencies as a
3936 # side effect of compilation, but ICC will put the dependencies in
3937 # the current directory while Tru64 will put them in the object
3938 # directory.
3939 mkdir sub
3940
3941 am_cv_CC_dependencies_compiler_type=none
3942 if test "$am_compiler_list" = ""; then
3943 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3944 fi
3945 for depmode in $am_compiler_list; do
3946 # Setup a source with many dependencies, because some compilers
3947 # like to wrap large dependency lists on column 80 (with \), and
3948 # we should not choose a depcomp mode which is confused by this.
3949 #
3950 # We need to recreate these files for each test, as the compiler may
3951 # overwrite some of them when testing with obscure command lines.
3952 # This happens at least with the AIX C compiler.
3953 : > sub/conftest.c
3954 for i in 1 2 3 4 5 6; do
3955 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3956 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3957 # Solaris 8's {/usr,}/bin/sh.
3958 touch sub/conftst$i.h
3959 done
3960 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3961
3962 case $depmode in
3963 nosideeffect)
3964 # after this tag, mechanisms are not by side-effect, so they'll
3965 # only be used when explicitly requested
3966 if test "x$enable_dependency_tracking" = xyes; then
3967 continue
3968 else
3969 break
3970 fi
3971 ;;
3972 none) break ;;
3973 esac
3974 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3975 # mode. It turns out that the SunPro C++ compiler does not properly
3976 # handle `-M -o', and we need to detect this.
3977 if depmode=$depmode \
3978 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
3979 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3980 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
3981 >/dev/null 2>conftest.err &&
3982 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3983 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
3984 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3985 # icc doesn't choke on unknown options, it will just issue warnings
3986 # or remarks (even with -Werror). So we grep stderr for any message
3987 # that says an option was ignored or not supported.
3988 # When given -MP, icc 7.0 and 7.1 complain thusly:
3989 # icc: Command line warning: ignoring option '-M'; no argument required
3990 # The diagnosis changed in icc 8.0:
3991 # icc: Command line remark: option '-MP' not supported
3992 if (grep 'ignoring option' conftest.err ||
3993 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3994 am_cv_CC_dependencies_compiler_type=$depmode
3995 break
3996 fi
3997 fi
3998 done
3999
4000 cd ..
4001 rm -rf conftest.dir
4002else
4003 am_cv_CC_dependencies_compiler_type=none
4004fi
4005
4006fi
4007{ echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
4008echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6; }
4009CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4010
4011
4012
4013if
4014 test "x$enable_dependency_tracking" != xno \
4015 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4016 am__fastdepCC_TRUE=
4017 am__fastdepCC_FALSE='#'
4018else
4019 am__fastdepCC_TRUE='#'
4020 am__fastdepCC_FALSE=
4021fi
4022
4023
4024# By default we simply use the C compiler to build assembly code.
4025
4026test "${CCAS+set}" = set || CCAS=$CC
4027test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
4028
4029
4030
4031# Find a good install program. We prefer a C program (faster),
4032# so one script is as good as another. But avoid the broken or
4033# incompatible versions:
4034# SysV /etc/install, /usr/sbin/install
4035# SunOS /usr/etc/install
4036# IRIX /sbin/install
4037# AIX /bin/install
4038# AmigaOS /C/install, which installs bootblocks on floppy discs
4039# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
4040# AFS /usr/afsws/bin/install, which mishandles nonexistent args
4041# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
4042# OS/2's system install, which has a completely different semantic
4043# ./install, which can be erroneously created by make from ./install.sh.
4044{ echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
4045echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
4046if test -z "$INSTALL"; then
4047if test "${ac_cv_path_install+set}" = set; then
4048 echo $ECHO_N "(cached) $ECHO_C" >&6
4049else
4050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4051for as_dir in $PATH
4052do
4053 IFS=$as_save_IFS
4054 test -z "$as_dir" && as_dir=.
4055 # Account for people who put trailing slashes in PATH elements.
4056case $as_dir/ in
4057 ./ | .// | /cC/* | \
4058 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
4059 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
4060 /usr/ucb/* ) ;;
4061 *)
4062 # OSF1 and SCO ODT 3.0 have their own names for install.
4063 # Don't use installbsd from OSF since it installs stuff as root
4064 # by default.
4065 for ac_prog in ginstall scoinst install; do
4066 for ac_exec_ext in '' $ac_executable_extensions; do
4067 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; }; then
4068 if test $ac_prog = install &&
4069 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4070 # AIX install. It has an incompatible calling convention.
4071 :
4072 elif test $ac_prog = install &&
4073 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
4074 # program-specific install script used by HP pwplus--don't use.
4075 :
4076 else
4077 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
4078 break 3
4079 fi
4080 fi
4081 done
4082 done
4083 ;;
4084esac
4085done
4086IFS=$as_save_IFS
4087
4088
4089fi
4090 if test "${ac_cv_path_install+set}" = set; then
4091 INSTALL=$ac_cv_path_install
4092 else
4093 # As a last resort, use the slow shell script. Don't cache a
4094 # value for INSTALL within a source directory, because that will
4095 # break other packages using the cache if that directory is
4096 # removed, or if the value is a relative name.
4097 INSTALL=$ac_install_sh
4098 fi
4099fi
4100{ echo "$as_me:$LINENO: result: $INSTALL" >&5
4101echo "${ECHO_T}$INSTALL" >&6; }
4102
4103# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
4104# It thinks the first close brace ends the variable substitution.
4105test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
4106
4107test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
4108
4109test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
4110
4111
4112# Make sure we can run config.sub.
4113$SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4114 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
4115echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
4116 { (exit 1); exit 1; }; }
4117
4118{ echo "$as_me:$LINENO: checking build system type" >&5
4119echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
4120if test "${ac_cv_build+set}" = set; then
4121 echo $ECHO_N "(cached) $ECHO_C" >&6
4122else
4123 ac_build_alias=$build_alias
4124test "x$ac_build_alias" = x &&
4125 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4126test "x$ac_build_alias" = x &&
4127 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
4128echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
4129 { (exit 1); exit 1; }; }
4130ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4131 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
4132echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
4133 { (exit 1); exit 1; }; }
4134
4135fi
4136{ echo "$as_me:$LINENO: result: $ac_cv_build" >&5
4137echo "${ECHO_T}$ac_cv_build" >&6; }
4138case $ac_cv_build in
4139*-*-*) ;;
4140*) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
4141echo "$as_me: error: invalid value of canonical build" >&2;}
4142 { (exit 1); exit 1; }; };;
4143esac
4144build=$ac_cv_build
4145ac_save_IFS=$IFS; IFS='-'
4146set x $ac_cv_build
4147shift
4148build_cpu=$1
4149build_vendor=$2
4150shift; shift
4151# Remember, the first character of IFS is used to create $*,
4152# except with old shells:
4153build_os=$*
4154IFS=$ac_save_IFS
4155case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4156
4157
4158{ echo "$as_me:$LINENO: checking host system type" >&5
4159echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
4160if test "${ac_cv_host+set}" = set; then
4161 echo $ECHO_N "(cached) $ECHO_C" >&6
4162else
4163 if test "x$host_alias" = x; then
4164 ac_cv_host=$ac_cv_build
4165else
4166 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4167 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
4168echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
4169 { (exit 1); exit 1; }; }
4170fi
4171
4172fi
4173{ echo "$as_me:$LINENO: result: $ac_cv_host" >&5
4174echo "${ECHO_T}$ac_cv_host" >&6; }
4175case $ac_cv_host in
4176*-*-*) ;;
4177*) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
4178echo "$as_me: error: invalid value of canonical host" >&2;}
4179 { (exit 1); exit 1; }; };;
4180esac
4181host=$ac_cv_host
4182ac_save_IFS=$IFS; IFS='-'
4183set x $ac_cv_host
4184shift
4185host_cpu=$1
4186host_vendor=$2
4187shift; shift
4188# Remember, the first character of IFS is used to create $*,
4189# except with old shells:
4190host_os=$*
4191IFS=$ac_save_IFS
4192case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4193
4194
4195case "${host}" in
4196 *-*-mingw*)
4197 CPPFLAGS="$CPPFLAGS -mno-cygwin"
4198 LDFLAGS="$LDFLAGS -mno-cygwin"
4199 CPPFLAGS="$CPPFLAGS -idirafter ${srcdir}/posix -idirafter ${srcdir}/os_win32"
4200 ;;
4201 *-*-freebsd*)
4202 CPPFLAGS="$CPPFLAGS -I/usr/src/sys"
4203 ;;
4204esac
4205
4206# AC_SEARCH_LIBS (FUNCTION, SEARCH-LIBS, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [OTHER-LIBRARIES])
4207{ echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
4208echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
4209if test "${ac_cv_search_gethostbyname+set}" = set; then
4210 echo $ECHO_N "(cached) $ECHO_C" >&6
4211else
4212 ac_func_search_save_LIBS=$LIBS
4213cat >conftest.$ac_ext <<_ACEOF
4214/* confdefs.h. */
4215_ACEOF
4216cat confdefs.h >>conftest.$ac_ext
4217cat >>conftest.$ac_ext <<_ACEOF
4218/* end confdefs.h. */
4219
4220/* Override any GCC internal prototype to avoid an error.
4221 Use char because int might match the return type of a GCC
4222 builtin and then its argument prototype would still apply. */
4223#ifdef __cplusplus
4224extern "C"
4225#endif
4226char gethostbyname ();
4227int
4228main ()
4229{
4230return gethostbyname ();
4231 ;
4232 return 0;
4233}
4234_ACEOF
4235for ac_lib in '' nsl; do
4236 if test -z "$ac_lib"; then
4237 ac_res="none required"
4238 else
4239 ac_res=-l$ac_lib
4240 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4241 fi
4242 rm -f conftest.$ac_objext conftest$ac_exeext
4243if { (ac_try="$ac_link"
4244case "(($ac_try" in
4245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4246 *) ac_try_echo=$ac_try;;
4247esac
4248eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4249 (eval "$ac_link") 2>conftest.er1
4250 ac_status=$?
4251 grep -v '^ *+' conftest.er1 >conftest.err
4252 rm -f conftest.er1
4253 cat conftest.err >&5
4254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4255 (exit $ac_status); } &&
4256 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4257 { (case "(($ac_try" in
4258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4259 *) ac_try_echo=$ac_try;;
4260esac
4261eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4262 (eval "$ac_try") 2>&5
4263 ac_status=$?
4264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4265 (exit $ac_status); }; } &&
4266 { ac_try='test -s conftest$ac_exeext'
4267 { (case "(($ac_try" in
4268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4269 *) ac_try_echo=$ac_try;;
4270esac
4271eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4272 (eval "$ac_try") 2>&5
4273 ac_status=$?
4274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4275 (exit $ac_status); }; }; then
4276 ac_cv_search_gethostbyname=$ac_res
4277else
4278 echo "$as_me: failed program was:" >&5
4279sed 's/^/| /' conftest.$ac_ext >&5
4280
4281
4282fi
4283
4284rm -f core conftest.err conftest.$ac_objext \
4285 conftest$ac_exeext
4286 if test "${ac_cv_search_gethostbyname+set}" = set; then
4287 break
4288fi
4289done
4290if test "${ac_cv_search_gethostbyname+set}" = set; then
4291 :
4292else
4293 ac_cv_search_gethostbyname=no
4294fi
4295rm conftest.$ac_ext
4296LIBS=$ac_func_search_save_LIBS
4297fi
4298{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4299echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
4300ac_res=$ac_cv_search_gethostbyname
4301if test "$ac_res" != no; then
4302 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4303
4304else
4305 { echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
4306echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6; }
4307if test "${ac_cv_search_gethostbyname+set}" = set; then
4308 echo $ECHO_N "(cached) $ECHO_C" >&6
4309else
4310 ac_func_search_save_LIBS=$LIBS
4311cat >conftest.$ac_ext <<_ACEOF
4312/* confdefs.h. */
4313_ACEOF
4314cat confdefs.h >>conftest.$ac_ext
4315cat >>conftest.$ac_ext <<_ACEOF
4316/* end confdefs.h. */
4317
4318/* Override any GCC internal prototype to avoid an error.
4319 Use char because int might match the return type of a GCC
4320 builtin and then its argument prototype would still apply. */
4321#ifdef __cplusplus
4322extern "C"
4323#endif
4324char gethostbyname ();
4325int
4326main ()
4327{
4328return gethostbyname ();
4329 ;
4330 return 0;
4331}
4332_ACEOF
4333for ac_lib in '' nsl; do
4334 if test -z "$ac_lib"; then
4335 ac_res="none required"
4336 else
4337 ac_res=-l$ac_lib
4338 LIBS="-l$ac_lib -lsocket $ac_func_search_save_LIBS"
4339 fi
4340
4341rm -f conftest.$ac_objext conftest$ac_exeext
4342if { (ac_try="$ac_link"
4343case "(($ac_try" in
4344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4345 *) ac_try_echo=$ac_try;;
4346esac
4347eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4348 (eval "$ac_link") 2>conftest.er1
4349 ac_status=$?
4350 grep -v '^ *+' conftest.er1 >conftest.err
4351 rm -f conftest.er1
4352 cat conftest.err >&5
4353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4354 (exit $ac_status); } &&
4355 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4356 { (case "(($ac_try" in
4357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4358 *) ac_try_echo=$ac_try;;
4359esac
4360eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4361 (eval "$ac_try") 2>&5
4362 ac_status=$?
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); }; } &&
4365 { ac_try='test -s conftest$ac_exeext'
4366 { (case "(($ac_try" in
4367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4368 *) ac_try_echo=$ac_try;;
4369esac
4370eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4371 (eval "$ac_try") 2>&5
4372 ac_status=$?
4373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4374 (exit $ac_status); }; }; then
4375 ac_cv_search_gethostbyname=$ac_res
4376else
4377 echo "$as_me: failed program was:" >&5
4378sed 's/^/| /' conftest.$ac_ext >&5
4379
4380
4381fi
4382
4383rm -f core conftest.err conftest.$ac_objext \
4384 conftest$ac_exeext
4385 if test "${ac_cv_search_gethostbyname+set}" = set; then
4386 break
4387fi
4388done
4389if test "${ac_cv_search_gethostbyname+set}" = set; then
4390 :
4391else
4392 ac_cv_search_gethostbyname=no
4393fi
4394rm conftest.$ac_ext
4395LIBS=$ac_func_search_save_LIBS
4396fi
4397{ echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
4398echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6; }
4399ac_res=$ac_cv_search_gethostbyname
4400if test "$ac_res" != no; then
4401 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4402
4403fi
4404
4405fi
4406
4407
4408ac_ext=cpp
4409ac_cpp='$CXXCPP $CPPFLAGS'
4410ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4411ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4412ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4413{ echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5
4414echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; }
4415if test -z "$CXXCPP"; then
4416 if test "${ac_cv_prog_CXXCPP+set}" = set; then
4417 echo $ECHO_N "(cached) $ECHO_C" >&6
4418else
4419 # Double quotes because CXXCPP needs to be expanded
4420 for CXXCPP in "$CXX -E" "/lib/cpp"
4421 do
4422 ac_preproc_ok=false
4423for ac_cxx_preproc_warn_flag in '' yes
4424do
4425 # Use a header file that comes with gcc, so configuring glibc
4426 # with a fresh cross-compiler works.
4427 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4428 # <limits.h> exists even on freestanding compilers.
4429 # On the NeXT, cc -E runs the code through the compiler's parser,
4430 # not just through cpp. "Syntax error" is here to catch this case.
4431 cat >conftest.$ac_ext <<_ACEOF
4432/* confdefs.h. */
4433_ACEOF
4434cat confdefs.h >>conftest.$ac_ext
4435cat >>conftest.$ac_ext <<_ACEOF
4436/* end confdefs.h. */
4437#ifdef __STDC__
4438# include <limits.h>
4439#else
4440# include <assert.h>
4441#endif
4442 Syntax error
4443_ACEOF
4444if { (ac_try="$ac_cpp conftest.$ac_ext"
4445case "(($ac_try" in
4446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4447 *) ac_try_echo=$ac_try;;
4448esac
4449eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4450 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4451 ac_status=$?
4452 grep -v '^ *+' conftest.er1 >conftest.err
4453 rm -f conftest.er1
4454 cat conftest.err >&5
4455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4456 (exit $ac_status); } >/dev/null; then
4457 if test -s conftest.err; then
4458 ac_cpp_err=$ac_cxx_preproc_warn_flag
4459 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4460 else
4461 ac_cpp_err=
4462 fi
4463else
4464 ac_cpp_err=yes
4465fi
4466if test -z "$ac_cpp_err"; then
4467 :
4468else
4469 echo "$as_me: failed program was:" >&5
4470sed 's/^/| /' conftest.$ac_ext >&5
4471
4472 # Broken: fails on valid input.
4473continue
4474fi
4475
4476rm -f conftest.err conftest.$ac_ext
4477
4478 # OK, works on sane cases. Now check whether nonexistent headers
4479 # can be detected and how.
4480 cat >conftest.$ac_ext <<_ACEOF
4481/* confdefs.h. */
4482_ACEOF
4483cat confdefs.h >>conftest.$ac_ext
4484cat >>conftest.$ac_ext <<_ACEOF
4485/* end confdefs.h. */
4486#include <ac_nonexistent.h>
4487_ACEOF
4488if { (ac_try="$ac_cpp conftest.$ac_ext"
4489case "(($ac_try" in
4490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4491 *) ac_try_echo=$ac_try;;
4492esac
4493eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4494 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4495 ac_status=$?
4496 grep -v '^ *+' conftest.er1 >conftest.err
4497 rm -f conftest.er1
4498 cat conftest.err >&5
4499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4500 (exit $ac_status); } >/dev/null; then
4501 if test -s conftest.err; then
4502 ac_cpp_err=$ac_cxx_preproc_warn_flag
4503 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4504 else
4505 ac_cpp_err=
4506 fi
4507else
4508 ac_cpp_err=yes
4509fi
4510if test -z "$ac_cpp_err"; then
4511 # Broken: success on invalid input.
4512continue
4513else
4514 echo "$as_me: failed program was:" >&5
4515sed 's/^/| /' conftest.$ac_ext >&5
4516
4517 # Passes both tests.
4518ac_preproc_ok=:
4519break
4520fi
4521
4522rm -f conftest.err conftest.$ac_ext
4523
4524done
4525# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4526rm -f conftest.err conftest.$ac_ext
4527if $ac_preproc_ok; then
4528 break
4529fi
4530
4531 done
4532 ac_cv_prog_CXXCPP=$CXXCPP
4533
4534fi
4535 CXXCPP=$ac_cv_prog_CXXCPP
4536else
4537 ac_cv_prog_CXXCPP=$CXXCPP
4538fi
4539{ echo "$as_me:$LINENO: result: $CXXCPP" >&5
4540echo "${ECHO_T}$CXXCPP" >&6; }
4541ac_preproc_ok=false
4542for ac_cxx_preproc_warn_flag in '' yes
4543do
4544 # Use a header file that comes with gcc, so configuring glibc
4545 # with a fresh cross-compiler works.
4546 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4547 # <limits.h> exists even on freestanding compilers.
4548 # On the NeXT, cc -E runs the code through the compiler's parser,
4549 # not just through cpp. "Syntax error" is here to catch this case.
4550 cat >conftest.$ac_ext <<_ACEOF
4551/* confdefs.h. */
4552_ACEOF
4553cat confdefs.h >>conftest.$ac_ext
4554cat >>conftest.$ac_ext <<_ACEOF
4555/* end confdefs.h. */
4556#ifdef __STDC__
4557# include <limits.h>
4558#else
4559# include <assert.h>
4560#endif
4561 Syntax error
4562_ACEOF
4563if { (ac_try="$ac_cpp conftest.$ac_ext"
4564case "(($ac_try" in
4565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4566 *) ac_try_echo=$ac_try;;
4567esac
4568eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4569 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4570 ac_status=$?
4571 grep -v '^ *+' conftest.er1 >conftest.err
4572 rm -f conftest.er1
4573 cat conftest.err >&5
4574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4575 (exit $ac_status); } >/dev/null; then
4576 if test -s conftest.err; then
4577 ac_cpp_err=$ac_cxx_preproc_warn_flag
4578 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4579 else
4580 ac_cpp_err=
4581 fi
4582else
4583 ac_cpp_err=yes
4584fi
4585if test -z "$ac_cpp_err"; then
4586 :
4587else
4588 echo "$as_me: failed program was:" >&5
4589sed 's/^/| /' conftest.$ac_ext >&5
4590
4591 # Broken: fails on valid input.
4592continue
4593fi
4594
4595rm -f conftest.err conftest.$ac_ext
4596
4597 # OK, works on sane cases. Now check whether nonexistent headers
4598 # can be detected and how.
4599 cat >conftest.$ac_ext <<_ACEOF
4600/* confdefs.h. */
4601_ACEOF
4602cat confdefs.h >>conftest.$ac_ext
4603cat >>conftest.$ac_ext <<_ACEOF
4604/* end confdefs.h. */
4605#include <ac_nonexistent.h>
4606_ACEOF
4607if { (ac_try="$ac_cpp conftest.$ac_ext"
4608case "(($ac_try" in
4609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4610 *) ac_try_echo=$ac_try;;
4611esac
4612eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4613 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
4614 ac_status=$?
4615 grep -v '^ *+' conftest.er1 >conftest.err
4616 rm -f conftest.er1
4617 cat conftest.err >&5
4618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4619 (exit $ac_status); } >/dev/null; then
4620 if test -s conftest.err; then
4621 ac_cpp_err=$ac_cxx_preproc_warn_flag
4622 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
4623 else
4624 ac_cpp_err=
4625 fi
4626else
4627 ac_cpp_err=yes
4628fi
4629if test -z "$ac_cpp_err"; then
4630 # Broken: success on invalid input.
4631continue
4632else
4633 echo "$as_me: failed program was:" >&5
4634sed 's/^/| /' conftest.$ac_ext >&5
4635
4636 # Passes both tests.
4637ac_preproc_ok=:
4638break
4639fi
4640
4641rm -f conftest.err conftest.$ac_ext
4642
4643done
4644# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4645rm -f conftest.err conftest.$ac_ext
4646if $ac_preproc_ok; then
4647 :
4648else
4649 { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4650See \`config.log' for more details." >&5
4651echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check
4652See \`config.log' for more details." >&2;}
4653 { (exit 1); exit 1; }; }
4654fi
4655
4656ac_ext=cpp
4657ac_cpp='$CXXCPP $CPPFLAGS'
4658ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4659ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4660ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4661
4662
4663{ echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
4664echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
4665if test "${ac_cv_path_GREP+set}" = set; then
4666 echo $ECHO_N "(cached) $ECHO_C" >&6
4667else
4668 # Extract the first word of "grep ggrep" to use in msg output
4669if test -z "$GREP"; then
4670set dummy grep ggrep; ac_prog_name=$2
4671if test "${ac_cv_path_GREP+set}" = set; then
4672 echo $ECHO_N "(cached) $ECHO_C" >&6
4673else
4674 ac_path_GREP_found=false
4675# Loop through the user's path and test for each of PROGNAME-LIST
4676as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4677for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4678do
4679 IFS=$as_save_IFS
4680 test -z "$as_dir" && as_dir=.
4681 for ac_prog in grep ggrep; do
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4684 { test -f "$ac_path_GREP" && $as_executable_p "$ac_path_GREP"; } || continue
4685 # Check for GNU ac_path_GREP and select it if it is found.
4686 # Check for GNU $ac_path_GREP
4687case `"$ac_path_GREP" --version 2>&1` in
4688*GNU*)
4689 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4690*)
4691 ac_count=0
4692 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4693 while :
4694 do
4695 cat "conftest.in" "conftest.in" >"conftest.tmp"
4696 mv "conftest.tmp" "conftest.in"
4697 cp "conftest.in" "conftest.nl"
4698 echo 'GREP' >> "conftest.nl"
4699 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4700 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4701 ac_count=`expr $ac_count + 1`
4702 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4703 # Best one so far, save it but keep looking for a better one
4704 ac_cv_path_GREP="$ac_path_GREP"
4705 ac_path_GREP_max=$ac_count
4706 fi
4707 # 10*(2^10) chars as input seems more than enough
4708 test $ac_count -gt 10 && break
4709 done
4710 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4711esac
4712
4713
4714 $ac_path_GREP_found && break 3
4715 done
4716done
4717
4718done
4719IFS=$as_save_IFS
4720
4721
4722fi
4723
4724GREP="$ac_cv_path_GREP"
4725if test -z "$GREP"; then
4726 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4727echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4728 { (exit 1); exit 1; }; }
4729fi
4730
4731else
4732 ac_cv_path_GREP=$GREP
4733fi
4734
4735
4736fi
4737{ echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
4738echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
4739 GREP="$ac_cv_path_GREP"
4740
4741
4742{ echo "$as_me:$LINENO: checking for egrep" >&5
4743echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
4744if test "${ac_cv_path_EGREP+set}" = set; then
4745 echo $ECHO_N "(cached) $ECHO_C" >&6
4746else
4747 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4748 then ac_cv_path_EGREP="$GREP -E"
4749 else
4750 # Extract the first word of "egrep" to use in msg output
4751if test -z "$EGREP"; then
4752set dummy egrep; ac_prog_name=$2
4753if test "${ac_cv_path_EGREP+set}" = set; then
4754 echo $ECHO_N "(cached) $ECHO_C" >&6
4755else
4756 ac_path_EGREP_found=false
4757# Loop through the user's path and test for each of PROGNAME-LIST
4758as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4759for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4760do
4761 IFS=$as_save_IFS
4762 test -z "$as_dir" && as_dir=.
4763 for ac_prog in egrep; do
4764 for ac_exec_ext in '' $ac_executable_extensions; do
4765 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4766 { test -f "$ac_path_EGREP" && $as_executable_p "$ac_path_EGREP"; } || continue
4767 # Check for GNU ac_path_EGREP and select it if it is found.
4768 # Check for GNU $ac_path_EGREP
4769case `"$ac_path_EGREP" --version 2>&1` in
4770*GNU*)
4771 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4772*)
4773 ac_count=0
4774 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
4775 while :
4776 do
4777 cat "conftest.in" "conftest.in" >"conftest.tmp"
4778 mv "conftest.tmp" "conftest.in"
4779 cp "conftest.in" "conftest.nl"
4780 echo 'EGREP' >> "conftest.nl"
4781 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4782 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4783 ac_count=`expr $ac_count + 1`
4784 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4785 # Best one so far, save it but keep looking for a better one
4786 ac_cv_path_EGREP="$ac_path_EGREP"
4787 ac_path_EGREP_max=$ac_count
4788 fi
4789 # 10*(2^10) chars as input seems more than enough
4790 test $ac_count -gt 10 && break
4791 done
4792 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4793esac
4794
4795
4796 $ac_path_EGREP_found && break 3
4797 done
4798done
4799
4800done
4801IFS=$as_save_IFS
4802
4803
4804fi
4805
4806EGREP="$ac_cv_path_EGREP"
4807if test -z "$EGREP"; then
4808 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
4809echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
4810 { (exit 1); exit 1; }; }
4811fi
4812
4813else
4814 ac_cv_path_EGREP=$EGREP
4815fi
4816
4817
4818 fi
4819fi
4820{ echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
4821echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
4822 EGREP="$ac_cv_path_EGREP"
4823
4824
4825{ echo "$as_me:$LINENO: checking for ANSI C header files" >&5
4826echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
4827if test "${ac_cv_header_stdc+set}" = set; then
4828 echo $ECHO_N "(cached) $ECHO_C" >&6
4829else
4830 cat >conftest.$ac_ext <<_ACEOF
4831/* confdefs.h. */
4832_ACEOF
4833cat confdefs.h >>conftest.$ac_ext
4834cat >>conftest.$ac_ext <<_ACEOF
4835/* end confdefs.h. */
4836#include <stdlib.h>
4837#include <stdarg.h>
4838#include <string.h>
4839#include <float.h>
4840
4841int
4842main ()
4843{
4844
4845 ;
4846 return 0;
4847}
4848_ACEOF
4849rm -f conftest.$ac_objext
4850if { (ac_try="$ac_compile"
4851case "(($ac_try" in
4852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4853 *) ac_try_echo=$ac_try;;
4854esac
4855eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4856 (eval "$ac_compile") 2>conftest.er1
4857 ac_status=$?
4858 grep -v '^ *+' conftest.er1 >conftest.err
4859 rm -f conftest.er1
4860 cat conftest.err >&5
4861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4862 (exit $ac_status); } &&
4863 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
4864 { (case "(($ac_try" in
4865 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4866 *) ac_try_echo=$ac_try;;
4867esac
4868eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4869 (eval "$ac_try") 2>&5
4870 ac_status=$?
4871 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4872 (exit $ac_status); }; } &&
4873 { ac_try='test -s conftest.$ac_objext'
4874 { (case "(($ac_try" in
4875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4876 *) ac_try_echo=$ac_try;;
4877esac
4878eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4879 (eval "$ac_try") 2>&5
4880 ac_status=$?
4881 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4882 (exit $ac_status); }; }; then
4883 ac_cv_header_stdc=yes
4884else
4885 echo "$as_me: failed program was:" >&5
4886sed 's/^/| /' conftest.$ac_ext >&5
4887
4888 ac_cv_header_stdc=no
4889fi
4890
4891rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4892
4893if test $ac_cv_header_stdc = yes; then
4894 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4895 cat >conftest.$ac_ext <<_ACEOF
4896/* confdefs.h. */
4897_ACEOF
4898cat confdefs.h >>conftest.$ac_ext
4899cat >>conftest.$ac_ext <<_ACEOF
4900/* end confdefs.h. */
4901#include <string.h>
4902
4903_ACEOF
4904if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4905 $EGREP "memchr" >/dev/null 2>&1; then
4906 :
4907else
4908 ac_cv_header_stdc=no
4909fi
4910rm -f conftest*
4911
4912fi
4913
4914if test $ac_cv_header_stdc = yes; then
4915 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4916 cat >conftest.$ac_ext <<_ACEOF
4917/* confdefs.h. */
4918_ACEOF
4919cat confdefs.h >>conftest.$ac_ext
4920cat >>conftest.$ac_ext <<_ACEOF
4921/* end confdefs.h. */
4922#include <stdlib.h>
4923
4924_ACEOF
4925if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4926 $EGREP "free" >/dev/null 2>&1; then
4927 :
4928else
4929 ac_cv_header_stdc=no
4930fi
4931rm -f conftest*
4932
4933fi
4934
4935if test $ac_cv_header_stdc = yes; then
4936 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4937 if test "$cross_compiling" = yes; then
4938 :
4939else
4940 cat >conftest.$ac_ext <<_ACEOF
4941/* confdefs.h. */
4942_ACEOF
4943cat confdefs.h >>conftest.$ac_ext
4944cat >>conftest.$ac_ext <<_ACEOF
4945/* end confdefs.h. */
4946#include <ctype.h>
4947#include <stdlib.h>
4948#if ((' ' & 0x0FF) == 0x020)
4949# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4950# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4951#else
4952# define ISLOWER(c) \
4953 (('a' <= (c) && (c) <= 'i') \
4954 || ('j' <= (c) && (c) <= 'r') \
4955 || ('s' <= (c) && (c) <= 'z'))
4956# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4957#endif
4958
4959#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4960int
4961main ()
4962{
4963 int i;
4964 for (i = 0; i < 256; i++)
4965 if (XOR (islower (i), ISLOWER (i))
4966 || toupper (i) != TOUPPER (i))
4967 return 2;
4968 return 0;
4969}
4970_ACEOF
4971rm -f conftest$ac_exeext
4972if { (ac_try="$ac_link"
4973case "(($ac_try" in
4974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4975 *) ac_try_echo=$ac_try;;
4976esac
4977eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4978 (eval "$ac_link") 2>&5
4979 ac_status=$?
4980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4981 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
4982 { (case "(($ac_try" in
4983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4984 *) ac_try_echo=$ac_try;;
4985esac
4986eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
4987 (eval "$ac_try") 2>&5
4988 ac_status=$?
4989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4990 (exit $ac_status); }; }; then
4991 :
4992else
4993 echo "$as_me: program exited with status $ac_status" >&5
4994echo "$as_me: failed program was:" >&5
4995sed 's/^/| /' conftest.$ac_ext >&5
4996
4997( exit $ac_status )
4998ac_cv_header_stdc=no
4999fi
5000rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
5001fi
5002
5003
5004fi
5005fi
5006{ echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
5007echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
5008if test $ac_cv_header_stdc = yes; then
5009
5010cat >>confdefs.h <<\_ACEOF
5011#define STDC_HEADERS 1
5012_ACEOF
5013
5014fi
5015
5016# On IRIX 5.3, sys/types and inttypes.h are conflicting.
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
5027 inttypes.h stdint.h unistd.h
5028do
5029as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5030{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5031echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5032if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5033 echo $ECHO_N "(cached) $ECHO_C" >&6
5034else
5035 cat >conftest.$ac_ext <<_ACEOF
5036/* confdefs.h. */
5037_ACEOF
5038cat confdefs.h >>conftest.$ac_ext
5039cat >>conftest.$ac_ext <<_ACEOF
5040/* end confdefs.h. */
5041$ac_includes_default
5042
5043#include <$ac_header>
5044_ACEOF
5045rm -f conftest.$ac_objext
5046if { (ac_try="$ac_compile"
5047case "(($ac_try" in
5048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5049 *) ac_try_echo=$ac_try;;
5050esac
5051eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5052 (eval "$ac_compile") 2>conftest.er1
5053 ac_status=$?
5054 grep -v '^ *+' conftest.er1 >conftest.err
5055 rm -f conftest.er1
5056 cat conftest.err >&5
5057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5058 (exit $ac_status); } &&
5059 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5060 { (case "(($ac_try" in
5061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5062 *) ac_try_echo=$ac_try;;
5063esac
5064eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5065 (eval "$ac_try") 2>&5
5066 ac_status=$?
5067 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5068 (exit $ac_status); }; } &&
5069 { ac_try='test -s conftest.$ac_objext'
5070 { (case "(($ac_try" in
5071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5072 *) ac_try_echo=$ac_try;;
5073esac
5074eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5075 (eval "$ac_try") 2>&5
5076 ac_status=$?
5077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5078 (exit $ac_status); }; }; then
5079 eval "$as_ac_Header=yes"
5080else
5081 echo "$as_me: failed program was:" >&5
5082sed 's/^/| /' conftest.$ac_ext >&5
5083
5084 eval "$as_ac_Header=no"
5085fi
5086
5087rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5088fi
5089ac_res=`eval echo '${'$as_ac_Header'}'`
5090 { echo "$as_me:$LINENO: result: $ac_res" >&5
5091echo "${ECHO_T}$ac_res" >&6; }
5092if test `eval echo '${'$as_ac_Header'}'` = yes; then
5093 cat >>confdefs.h <<_ACEOF
5094#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5095_ACEOF
5096
5097fi
5098
5099done
5100
5101
5102
5103for ac_header in locale.h
5104do
5105as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5106if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5107 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5108echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5109if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5110 echo $ECHO_N "(cached) $ECHO_C" >&6
5111fi
5112ac_res=`eval echo '${'$as_ac_Header'}'`
5113 { echo "$as_me:$LINENO: result: $ac_res" >&5
5114echo "${ECHO_T}$ac_res" >&6; }
5115else
5116 # Is the header compilable?
5117{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5118echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5119cat >conftest.$ac_ext <<_ACEOF
5120/* confdefs.h. */
5121_ACEOF
5122cat confdefs.h >>conftest.$ac_ext
5123cat >>conftest.$ac_ext <<_ACEOF
5124/* end confdefs.h. */
5125$ac_includes_default
5126#include <$ac_header>
5127_ACEOF
5128rm -f conftest.$ac_objext
5129if { (ac_try="$ac_compile"
5130case "(($ac_try" in
5131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5132 *) ac_try_echo=$ac_try;;
5133esac
5134eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5135 (eval "$ac_compile") 2>conftest.er1
5136 ac_status=$?
5137 grep -v '^ *+' conftest.er1 >conftest.err
5138 rm -f conftest.er1
5139 cat conftest.err >&5
5140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5141 (exit $ac_status); } &&
5142 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5143 { (case "(($ac_try" in
5144 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5145 *) ac_try_echo=$ac_try;;
5146esac
5147eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5148 (eval "$ac_try") 2>&5
5149 ac_status=$?
5150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5151 (exit $ac_status); }; } &&
5152 { ac_try='test -s conftest.$ac_objext'
5153 { (case "(($ac_try" in
5154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5155 *) ac_try_echo=$ac_try;;
5156esac
5157eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5158 (eval "$ac_try") 2>&5
5159 ac_status=$?
5160 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5161 (exit $ac_status); }; }; then
5162 ac_header_compiler=yes
5163else
5164 echo "$as_me: failed program was:" >&5
5165sed 's/^/| /' conftest.$ac_ext >&5
5166
5167 ac_header_compiler=no
5168fi
5169
5170rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5171{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5172echo "${ECHO_T}$ac_header_compiler" >&6; }
5173
5174# Is the header present?
5175{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5176echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5177cat >conftest.$ac_ext <<_ACEOF
5178/* confdefs.h. */
5179_ACEOF
5180cat confdefs.h >>conftest.$ac_ext
5181cat >>conftest.$ac_ext <<_ACEOF
5182/* end confdefs.h. */
5183#include <$ac_header>
5184_ACEOF
5185if { (ac_try="$ac_cpp conftest.$ac_ext"
5186case "(($ac_try" in
5187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5188 *) ac_try_echo=$ac_try;;
5189esac
5190eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5191 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5192 ac_status=$?
5193 grep -v '^ *+' conftest.er1 >conftest.err
5194 rm -f conftest.er1
5195 cat conftest.err >&5
5196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5197 (exit $ac_status); } >/dev/null; then
5198 if test -s conftest.err; then
5199 ac_cpp_err=$ac_cxx_preproc_warn_flag
5200 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5201 else
5202 ac_cpp_err=
5203 fi
5204else
5205 ac_cpp_err=yes
5206fi
5207if test -z "$ac_cpp_err"; then
5208 ac_header_preproc=yes
5209else
5210 echo "$as_me: failed program was:" >&5
5211sed 's/^/| /' conftest.$ac_ext >&5
5212
5213 ac_header_preproc=no
5214fi
5215
5216rm -f conftest.err conftest.$ac_ext
5217{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5218echo "${ECHO_T}$ac_header_preproc" >&6; }
5219
5220# So? What about this header?
5221case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5222 yes:no: )
5223 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5224echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5225 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5226echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5227 ac_header_preproc=yes
5228 ;;
5229 no:yes:* )
5230 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5231echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5232 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5233echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5234 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5235echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5236 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5237echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5238 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5239echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5240 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5241echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5242 ( cat <<\_ASBOX
5243## ---------------------------------------------------------- ##
5244## Report this to smartmontools-support@lists.sourceforge.net ##
5245## ---------------------------------------------------------- ##
5246_ASBOX
5247 ) | sed "s/^/$as_me: WARNING: /" >&2
5248 ;;
5249esac
5250{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5251echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5252if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5253 echo $ECHO_N "(cached) $ECHO_C" >&6
5254else
5255 eval "$as_ac_Header=\$ac_header_preproc"
5256fi
5257ac_res=`eval echo '${'$as_ac_Header'}'`
5258 { echo "$as_me:$LINENO: result: $ac_res" >&5
5259echo "${ECHO_T}$ac_res" >&6; }
5260
5261fi
5262if test `eval echo '${'$as_ac_Header'}'` = yes; then
5263 cat >>confdefs.h <<_ACEOF
5264#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5265_ACEOF
5266
5267fi
5268
5269done
5270
5271
5272for ac_header in getopt.h
5273do
5274as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5275if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5276 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5277echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5278if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5279 echo $ECHO_N "(cached) $ECHO_C" >&6
5280fi
5281ac_res=`eval echo '${'$as_ac_Header'}'`
5282 { echo "$as_me:$LINENO: result: $ac_res" >&5
5283echo "${ECHO_T}$ac_res" >&6; }
5284else
5285 # Is the header compilable?
5286{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5287echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5288cat >conftest.$ac_ext <<_ACEOF
5289/* confdefs.h. */
5290_ACEOF
5291cat confdefs.h >>conftest.$ac_ext
5292cat >>conftest.$ac_ext <<_ACEOF
5293/* end confdefs.h. */
5294$ac_includes_default
5295#include <$ac_header>
5296_ACEOF
5297rm -f conftest.$ac_objext
5298if { (ac_try="$ac_compile"
5299case "(($ac_try" in
5300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5301 *) ac_try_echo=$ac_try;;
5302esac
5303eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5304 (eval "$ac_compile") 2>conftest.er1
5305 ac_status=$?
5306 grep -v '^ *+' conftest.er1 >conftest.err
5307 rm -f conftest.er1
5308 cat conftest.err >&5
5309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5310 (exit $ac_status); } &&
5311 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5312 { (case "(($ac_try" in
5313 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5314 *) ac_try_echo=$ac_try;;
5315esac
5316eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5317 (eval "$ac_try") 2>&5
5318 ac_status=$?
5319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5320 (exit $ac_status); }; } &&
5321 { ac_try='test -s conftest.$ac_objext'
5322 { (case "(($ac_try" in
5323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5324 *) ac_try_echo=$ac_try;;
5325esac
5326eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5327 (eval "$ac_try") 2>&5
5328 ac_status=$?
5329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5330 (exit $ac_status); }; }; then
5331 ac_header_compiler=yes
5332else
5333 echo "$as_me: failed program was:" >&5
5334sed 's/^/| /' conftest.$ac_ext >&5
5335
5336 ac_header_compiler=no
5337fi
5338
5339rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5340{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5341echo "${ECHO_T}$ac_header_compiler" >&6; }
5342
5343# Is the header present?
5344{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5345echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5346cat >conftest.$ac_ext <<_ACEOF
5347/* confdefs.h. */
5348_ACEOF
5349cat confdefs.h >>conftest.$ac_ext
5350cat >>conftest.$ac_ext <<_ACEOF
5351/* end confdefs.h. */
5352#include <$ac_header>
5353_ACEOF
5354if { (ac_try="$ac_cpp conftest.$ac_ext"
5355case "(($ac_try" in
5356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5357 *) ac_try_echo=$ac_try;;
5358esac
5359eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5360 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5361 ac_status=$?
5362 grep -v '^ *+' conftest.er1 >conftest.err
5363 rm -f conftest.er1
5364 cat conftest.err >&5
5365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5366 (exit $ac_status); } >/dev/null; then
5367 if test -s conftest.err; then
5368 ac_cpp_err=$ac_cxx_preproc_warn_flag
5369 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5370 else
5371 ac_cpp_err=
5372 fi
5373else
5374 ac_cpp_err=yes
5375fi
5376if test -z "$ac_cpp_err"; then
5377 ac_header_preproc=yes
5378else
5379 echo "$as_me: failed program was:" >&5
5380sed 's/^/| /' conftest.$ac_ext >&5
5381
5382 ac_header_preproc=no
5383fi
5384
5385rm -f conftest.err conftest.$ac_ext
5386{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5387echo "${ECHO_T}$ac_header_preproc" >&6; }
5388
5389# So? What about this header?
5390case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5391 yes:no: )
5392 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5393echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5394 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5395echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5396 ac_header_preproc=yes
5397 ;;
5398 no:yes:* )
5399 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5400echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5401 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5402echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5403 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5404echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5405 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5406echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5407 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5408echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5409 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5410echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5411 ( cat <<\_ASBOX
5412## ---------------------------------------------------------- ##
5413## Report this to smartmontools-support@lists.sourceforge.net ##
5414## ---------------------------------------------------------- ##
5415_ASBOX
5416 ) | sed "s/^/$as_me: WARNING: /" >&2
5417 ;;
5418esac
5419{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5420echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5421if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5422 echo $ECHO_N "(cached) $ECHO_C" >&6
5423else
5424 eval "$as_ac_Header=\$ac_header_preproc"
5425fi
5426ac_res=`eval echo '${'$as_ac_Header'}'`
5427 { echo "$as_me:$LINENO: result: $ac_res" >&5
5428echo "${ECHO_T}$ac_res" >&6; }
5429
5430fi
5431if test `eval echo '${'$as_ac_Header'}'` = yes; then
5432 cat >>confdefs.h <<_ACEOF
5433#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5434_ACEOF
5435
5436fi
5437
5438done
5439
5440
5441for ac_header in dev/ata/atavar.h
5442do
5443as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5444if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5445 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5446echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5447if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5448 echo $ECHO_N "(cached) $ECHO_C" >&6
5449fi
5450ac_res=`eval echo '${'$as_ac_Header'}'`
5451 { echo "$as_me:$LINENO: result: $ac_res" >&5
5452echo "${ECHO_T}$ac_res" >&6; }
5453else
5454 # Is the header compilable?
5455{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5456echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5457cat >conftest.$ac_ext <<_ACEOF
5458/* confdefs.h. */
5459_ACEOF
5460cat confdefs.h >>conftest.$ac_ext
5461cat >>conftest.$ac_ext <<_ACEOF
5462/* end confdefs.h. */
5463$ac_includes_default
5464#include <$ac_header>
5465_ACEOF
5466rm -f conftest.$ac_objext
5467if { (ac_try="$ac_compile"
5468case "(($ac_try" in
5469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5470 *) ac_try_echo=$ac_try;;
5471esac
5472eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5473 (eval "$ac_compile") 2>conftest.er1
5474 ac_status=$?
5475 grep -v '^ *+' conftest.er1 >conftest.err
5476 rm -f conftest.er1
5477 cat conftest.err >&5
5478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5479 (exit $ac_status); } &&
5480 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5481 { (case "(($ac_try" in
5482 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5483 *) ac_try_echo=$ac_try;;
5484esac
5485eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5486 (eval "$ac_try") 2>&5
5487 ac_status=$?
5488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5489 (exit $ac_status); }; } &&
5490 { ac_try='test -s conftest.$ac_objext'
5491 { (case "(($ac_try" in
5492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5493 *) ac_try_echo=$ac_try;;
5494esac
5495eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5496 (eval "$ac_try") 2>&5
5497 ac_status=$?
5498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5499 (exit $ac_status); }; }; then
5500 ac_header_compiler=yes
5501else
5502 echo "$as_me: failed program was:" >&5
5503sed 's/^/| /' conftest.$ac_ext >&5
5504
5505 ac_header_compiler=no
5506fi
5507
5508rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5509{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5510echo "${ECHO_T}$ac_header_compiler" >&6; }
5511
5512# Is the header present?
5513{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5514echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5515cat >conftest.$ac_ext <<_ACEOF
5516/* confdefs.h. */
5517_ACEOF
5518cat confdefs.h >>conftest.$ac_ext
5519cat >>conftest.$ac_ext <<_ACEOF
5520/* end confdefs.h. */
5521#include <$ac_header>
5522_ACEOF
5523if { (ac_try="$ac_cpp conftest.$ac_ext"
5524case "(($ac_try" in
5525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5526 *) ac_try_echo=$ac_try;;
5527esac
5528eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5529 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5530 ac_status=$?
5531 grep -v '^ *+' conftest.er1 >conftest.err
5532 rm -f conftest.er1
5533 cat conftest.err >&5
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); } >/dev/null; then
5536 if test -s conftest.err; then
5537 ac_cpp_err=$ac_cxx_preproc_warn_flag
5538 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5539 else
5540 ac_cpp_err=
5541 fi
5542else
5543 ac_cpp_err=yes
5544fi
5545if test -z "$ac_cpp_err"; then
5546 ac_header_preproc=yes
5547else
5548 echo "$as_me: failed program was:" >&5
5549sed 's/^/| /' conftest.$ac_ext >&5
5550
5551 ac_header_preproc=no
5552fi
5553
5554rm -f conftest.err conftest.$ac_ext
5555{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5556echo "${ECHO_T}$ac_header_preproc" >&6; }
5557
5558# So? What about this header?
5559case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5560 yes:no: )
5561 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5562echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5563 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5564echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5565 ac_header_preproc=yes
5566 ;;
5567 no:yes:* )
5568 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5569echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5570 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5571echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5572 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5573echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5574 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5575echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5576 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5577echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5578 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5579echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5580 ( cat <<\_ASBOX
5581## ---------------------------------------------------------- ##
5582## Report this to smartmontools-support@lists.sourceforge.net ##
5583## ---------------------------------------------------------- ##
5584_ASBOX
5585 ) | sed "s/^/$as_me: WARNING: /" >&2
5586 ;;
5587esac
5588{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5589echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5590if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5591 echo $ECHO_N "(cached) $ECHO_C" >&6
5592else
5593 eval "$as_ac_Header=\$ac_header_preproc"
5594fi
5595ac_res=`eval echo '${'$as_ac_Header'}'`
5596 { echo "$as_me:$LINENO: result: $ac_res" >&5
5597echo "${ECHO_T}$ac_res" >&6; }
5598
5599fi
5600if test `eval echo '${'$as_ac_Header'}'` = yes; then
5601 cat >>confdefs.h <<_ACEOF
5602#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5603_ACEOF
5604
5605fi
5606
5607done
5608
5609
5610for ac_header in netdb.h
5611do
5612as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5613if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5614 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5615echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5616if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5617 echo $ECHO_N "(cached) $ECHO_C" >&6
5618fi
5619ac_res=`eval echo '${'$as_ac_Header'}'`
5620 { echo "$as_me:$LINENO: result: $ac_res" >&5
5621echo "${ECHO_T}$ac_res" >&6; }
5622else
5623 # Is the header compilable?
5624{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5625echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5626cat >conftest.$ac_ext <<_ACEOF
5627/* confdefs.h. */
5628_ACEOF
5629cat confdefs.h >>conftest.$ac_ext
5630cat >>conftest.$ac_ext <<_ACEOF
5631/* end confdefs.h. */
5632$ac_includes_default
5633#include <$ac_header>
5634_ACEOF
5635rm -f conftest.$ac_objext
5636if { (ac_try="$ac_compile"
5637case "(($ac_try" in
5638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5639 *) ac_try_echo=$ac_try;;
5640esac
5641eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5642 (eval "$ac_compile") 2>conftest.er1
5643 ac_status=$?
5644 grep -v '^ *+' conftest.er1 >conftest.err
5645 rm -f conftest.er1
5646 cat conftest.err >&5
5647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5648 (exit $ac_status); } &&
5649 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5650 { (case "(($ac_try" in
5651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5652 *) ac_try_echo=$ac_try;;
5653esac
5654eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5655 (eval "$ac_try") 2>&5
5656 ac_status=$?
5657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5658 (exit $ac_status); }; } &&
5659 { ac_try='test -s conftest.$ac_objext'
5660 { (case "(($ac_try" in
5661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5662 *) ac_try_echo=$ac_try;;
5663esac
5664eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5665 (eval "$ac_try") 2>&5
5666 ac_status=$?
5667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5668 (exit $ac_status); }; }; then
5669 ac_header_compiler=yes
5670else
5671 echo "$as_me: failed program was:" >&5
5672sed 's/^/| /' conftest.$ac_ext >&5
5673
5674 ac_header_compiler=no
5675fi
5676
5677rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5678{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5679echo "${ECHO_T}$ac_header_compiler" >&6; }
5680
5681# Is the header present?
5682{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5683echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5684cat >conftest.$ac_ext <<_ACEOF
5685/* confdefs.h. */
5686_ACEOF
5687cat confdefs.h >>conftest.$ac_ext
5688cat >>conftest.$ac_ext <<_ACEOF
5689/* end confdefs.h. */
5690#include <$ac_header>
5691_ACEOF
5692if { (ac_try="$ac_cpp conftest.$ac_ext"
5693case "(($ac_try" in
5694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5695 *) ac_try_echo=$ac_try;;
5696esac
5697eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5698 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5699 ac_status=$?
5700 grep -v '^ *+' conftest.er1 >conftest.err
5701 rm -f conftest.er1
5702 cat conftest.err >&5
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); } >/dev/null; then
5705 if test -s conftest.err; then
5706 ac_cpp_err=$ac_cxx_preproc_warn_flag
5707 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5708 else
5709 ac_cpp_err=
5710 fi
5711else
5712 ac_cpp_err=yes
5713fi
5714if test -z "$ac_cpp_err"; then
5715 ac_header_preproc=yes
5716else
5717 echo "$as_me: failed program was:" >&5
5718sed 's/^/| /' conftest.$ac_ext >&5
5719
5720 ac_header_preproc=no
5721fi
5722
5723rm -f conftest.err conftest.$ac_ext
5724{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5725echo "${ECHO_T}$ac_header_preproc" >&6; }
5726
5727# So? What about this header?
5728case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5729 yes:no: )
5730 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5731echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5732 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5733echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5734 ac_header_preproc=yes
5735 ;;
5736 no:yes:* )
5737 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5738echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5739 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5740echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5741 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5742echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5743 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5744echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5745 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5746echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5747 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5748echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5749 ( cat <<\_ASBOX
5750## ---------------------------------------------------------- ##
5751## Report this to smartmontools-support@lists.sourceforge.net ##
5752## ---------------------------------------------------------- ##
5753_ASBOX
5754 ) | sed "s/^/$as_me: WARNING: /" >&2
5755 ;;
5756esac
5757{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5758echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5759if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5760 echo $ECHO_N "(cached) $ECHO_C" >&6
5761else
5762 eval "$as_ac_Header=\$ac_header_preproc"
5763fi
5764ac_res=`eval echo '${'$as_ac_Header'}'`
5765 { echo "$as_me:$LINENO: result: $ac_res" >&5
5766echo "${ECHO_T}$ac_res" >&6; }
5767
5768fi
5769if test `eval echo '${'$as_ac_Header'}'` = yes; then
5770 cat >>confdefs.h <<_ACEOF
5771#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5772_ACEOF
5773
5774fi
5775
5776done
5777
5778
5779for ac_header in inttypes.h
5780do
5781as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5782if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5783 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5784echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5785if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5786 echo $ECHO_N "(cached) $ECHO_C" >&6
5787fi
5788ac_res=`eval echo '${'$as_ac_Header'}'`
5789 { echo "$as_me:$LINENO: result: $ac_res" >&5
5790echo "${ECHO_T}$ac_res" >&6; }
5791else
5792 # Is the header compilable?
5793{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5794echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5795cat >conftest.$ac_ext <<_ACEOF
5796/* confdefs.h. */
5797_ACEOF
5798cat confdefs.h >>conftest.$ac_ext
5799cat >>conftest.$ac_ext <<_ACEOF
5800/* end confdefs.h. */
5801$ac_includes_default
5802#include <$ac_header>
5803_ACEOF
5804rm -f conftest.$ac_objext
5805if { (ac_try="$ac_compile"
5806case "(($ac_try" in
5807 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5808 *) ac_try_echo=$ac_try;;
5809esac
5810eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5811 (eval "$ac_compile") 2>conftest.er1
5812 ac_status=$?
5813 grep -v '^ *+' conftest.er1 >conftest.err
5814 rm -f conftest.er1
5815 cat conftest.err >&5
5816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5817 (exit $ac_status); } &&
5818 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5819 { (case "(($ac_try" in
5820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5821 *) ac_try_echo=$ac_try;;
5822esac
5823eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5824 (eval "$ac_try") 2>&5
5825 ac_status=$?
5826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5827 (exit $ac_status); }; } &&
5828 { ac_try='test -s conftest.$ac_objext'
5829 { (case "(($ac_try" in
5830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5831 *) ac_try_echo=$ac_try;;
5832esac
5833eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5834 (eval "$ac_try") 2>&5
5835 ac_status=$?
5836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5837 (exit $ac_status); }; }; then
5838 ac_header_compiler=yes
5839else
5840 echo "$as_me: failed program was:" >&5
5841sed 's/^/| /' conftest.$ac_ext >&5
5842
5843 ac_header_compiler=no
5844fi
5845
5846rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5847{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5848echo "${ECHO_T}$ac_header_compiler" >&6; }
5849
5850# Is the header present?
5851{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
5852echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
5853cat >conftest.$ac_ext <<_ACEOF
5854/* confdefs.h. */
5855_ACEOF
5856cat confdefs.h >>conftest.$ac_ext
5857cat >>conftest.$ac_ext <<_ACEOF
5858/* end confdefs.h. */
5859#include <$ac_header>
5860_ACEOF
5861if { (ac_try="$ac_cpp conftest.$ac_ext"
5862case "(($ac_try" in
5863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5864 *) ac_try_echo=$ac_try;;
5865esac
5866eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5867 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
5868 ac_status=$?
5869 grep -v '^ *+' conftest.er1 >conftest.err
5870 rm -f conftest.er1
5871 cat conftest.err >&5
5872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5873 (exit $ac_status); } >/dev/null; then
5874 if test -s conftest.err; then
5875 ac_cpp_err=$ac_cxx_preproc_warn_flag
5876 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
5877 else
5878 ac_cpp_err=
5879 fi
5880else
5881 ac_cpp_err=yes
5882fi
5883if test -z "$ac_cpp_err"; then
5884 ac_header_preproc=yes
5885else
5886 echo "$as_me: failed program was:" >&5
5887sed 's/^/| /' conftest.$ac_ext >&5
5888
5889 ac_header_preproc=no
5890fi
5891
5892rm -f conftest.err conftest.$ac_ext
5893{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5894echo "${ECHO_T}$ac_header_preproc" >&6; }
5895
5896# So? What about this header?
5897case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
5898 yes:no: )
5899 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5900echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5901 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5902echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5903 ac_header_preproc=yes
5904 ;;
5905 no:yes:* )
5906 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5907echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5908 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5909echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5910 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5911echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5912 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5913echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5914 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5915echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5916 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5917echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5918 ( cat <<\_ASBOX
5919## ---------------------------------------------------------- ##
5920## Report this to smartmontools-support@lists.sourceforge.net ##
5921## ---------------------------------------------------------- ##
5922_ASBOX
5923 ) | sed "s/^/$as_me: WARNING: /" >&2
5924 ;;
5925esac
5926{ echo "$as_me:$LINENO: checking for $ac_header" >&5
5927echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5928if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5929 echo $ECHO_N "(cached) $ECHO_C" >&6
5930else
5931 eval "$as_ac_Header=\$ac_header_preproc"
5932fi
5933ac_res=`eval echo '${'$as_ac_Header'}'`
5934 { echo "$as_me:$LINENO: result: $ac_res" >&5
5935echo "${ECHO_T}$ac_res" >&6; }
5936
5937fi
5938if test `eval echo '${'$as_ac_Header'}'` = yes; then
5939 cat >>confdefs.h <<_ACEOF
5940#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5941_ACEOF
5942
5943fi
5944
5945done
5946
5947for ac_header in stdint.h
5948do
5949as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5950if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5951 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5952echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5953if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5954 echo $ECHO_N "(cached) $ECHO_C" >&6
5955fi
5956ac_res=`eval echo '${'$as_ac_Header'}'`
5957 { echo "$as_me:$LINENO: result: $ac_res" >&5
5958echo "${ECHO_T}$ac_res" >&6; }
5959else
5960 # Is the header compilable?
5961{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
5962echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
5963cat >conftest.$ac_ext <<_ACEOF
5964/* confdefs.h. */
5965_ACEOF
5966cat confdefs.h >>conftest.$ac_ext
5967cat >>conftest.$ac_ext <<_ACEOF
5968/* end confdefs.h. */
5969$ac_includes_default
5970#include <$ac_header>
5971_ACEOF
5972rm -f conftest.$ac_objext
5973if { (ac_try="$ac_compile"
5974case "(($ac_try" in
5975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5976 *) ac_try_echo=$ac_try;;
5977esac
5978eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5979 (eval "$ac_compile") 2>conftest.er1
5980 ac_status=$?
5981 grep -v '^ *+' conftest.er1 >conftest.err
5982 rm -f conftest.er1
5983 cat conftest.err >&5
5984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5985 (exit $ac_status); } &&
5986 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
5987 { (case "(($ac_try" in
5988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5989 *) ac_try_echo=$ac_try;;
5990esac
5991eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5992 (eval "$ac_try") 2>&5
5993 ac_status=$?
5994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5995 (exit $ac_status); }; } &&
5996 { ac_try='test -s conftest.$ac_objext'
5997 { (case "(($ac_try" in
5998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5999 *) ac_try_echo=$ac_try;;
6000esac
6001eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6002 (eval "$ac_try") 2>&5
6003 ac_status=$?
6004 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6005 (exit $ac_status); }; }; then
6006 ac_header_compiler=yes
6007else
6008 echo "$as_me: failed program was:" >&5
6009sed 's/^/| /' conftest.$ac_ext >&5
6010
6011 ac_header_compiler=no
6012fi
6013
6014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6015{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6016echo "${ECHO_T}$ac_header_compiler" >&6; }
6017
6018# Is the header present?
6019{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6020echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6021cat >conftest.$ac_ext <<_ACEOF
6022/* confdefs.h. */
6023_ACEOF
6024cat confdefs.h >>conftest.$ac_ext
6025cat >>conftest.$ac_ext <<_ACEOF
6026/* end confdefs.h. */
6027#include <$ac_header>
6028_ACEOF
6029if { (ac_try="$ac_cpp conftest.$ac_ext"
6030case "(($ac_try" in
6031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6032 *) ac_try_echo=$ac_try;;
6033esac
6034eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6035 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6036 ac_status=$?
6037 grep -v '^ *+' conftest.er1 >conftest.err
6038 rm -f conftest.er1
6039 cat conftest.err >&5
6040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6041 (exit $ac_status); } >/dev/null; then
6042 if test -s conftest.err; then
6043 ac_cpp_err=$ac_cxx_preproc_warn_flag
6044 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6045 else
6046 ac_cpp_err=
6047 fi
6048else
6049 ac_cpp_err=yes
6050fi
6051if test -z "$ac_cpp_err"; then
6052 ac_header_preproc=yes
6053else
6054 echo "$as_me: failed program was:" >&5
6055sed 's/^/| /' conftest.$ac_ext >&5
6056
6057 ac_header_preproc=no
6058fi
6059
6060rm -f conftest.err conftest.$ac_ext
6061{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6062echo "${ECHO_T}$ac_header_preproc" >&6; }
6063
6064# So? What about this header?
6065case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6066 yes:no: )
6067 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6068echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6069 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6070echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6071 ac_header_preproc=yes
6072 ;;
6073 no:yes:* )
6074 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6075echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6076 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6077echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6078 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6079echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6080 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6081echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6082 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6083echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6084 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6085echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6086 ( cat <<\_ASBOX
6087## ---------------------------------------------------------- ##
6088## Report this to smartmontools-support@lists.sourceforge.net ##
6089## ---------------------------------------------------------- ##
6090_ASBOX
6091 ) | sed "s/^/$as_me: WARNING: /" >&2
6092 ;;
6093esac
6094{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6095echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6096if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6097 echo $ECHO_N "(cached) $ECHO_C" >&6
6098else
6099 eval "$as_ac_Header=\$ac_header_preproc"
6100fi
6101ac_res=`eval echo '${'$as_ac_Header'}'`
6102 { echo "$as_me:$LINENO: result: $ac_res" >&5
6103echo "${ECHO_T}$ac_res" >&6; }
6104
6105fi
6106if test `eval echo '${'$as_ac_Header'}'` = yes; then
6107 cat >>confdefs.h <<_ACEOF
6108#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6109_ACEOF
6110
6111fi
6112
6113done
6114
6115for ac_header in sys/inttypes.h
6116do
6117as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6118if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6119 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6120echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6121if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6122 echo $ECHO_N "(cached) $ECHO_C" >&6
6123fi
6124ac_res=`eval echo '${'$as_ac_Header'}'`
6125 { echo "$as_me:$LINENO: result: $ac_res" >&5
6126echo "${ECHO_T}$ac_res" >&6; }
6127else
6128 # Is the header compilable?
6129{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6130echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6131cat >conftest.$ac_ext <<_ACEOF
6132/* confdefs.h. */
6133_ACEOF
6134cat confdefs.h >>conftest.$ac_ext
6135cat >>conftest.$ac_ext <<_ACEOF
6136/* end confdefs.h. */
6137$ac_includes_default
6138#include <$ac_header>
6139_ACEOF
6140rm -f conftest.$ac_objext
6141if { (ac_try="$ac_compile"
6142case "(($ac_try" in
6143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6144 *) ac_try_echo=$ac_try;;
6145esac
6146eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6147 (eval "$ac_compile") 2>conftest.er1
6148 ac_status=$?
6149 grep -v '^ *+' conftest.er1 >conftest.err
6150 rm -f conftest.er1
6151 cat conftest.err >&5
6152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6153 (exit $ac_status); } &&
6154 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6155 { (case "(($ac_try" in
6156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6157 *) ac_try_echo=$ac_try;;
6158esac
6159eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6160 (eval "$ac_try") 2>&5
6161 ac_status=$?
6162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6163 (exit $ac_status); }; } &&
6164 { ac_try='test -s conftest.$ac_objext'
6165 { (case "(($ac_try" in
6166 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6167 *) ac_try_echo=$ac_try;;
6168esac
6169eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6170 (eval "$ac_try") 2>&5
6171 ac_status=$?
6172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6173 (exit $ac_status); }; }; then
6174 ac_header_compiler=yes
6175else
6176 echo "$as_me: failed program was:" >&5
6177sed 's/^/| /' conftest.$ac_ext >&5
6178
6179 ac_header_compiler=no
6180fi
6181
6182rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6183{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6184echo "${ECHO_T}$ac_header_compiler" >&6; }
6185
6186# Is the header present?
6187{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6188echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6189cat >conftest.$ac_ext <<_ACEOF
6190/* confdefs.h. */
6191_ACEOF
6192cat confdefs.h >>conftest.$ac_ext
6193cat >>conftest.$ac_ext <<_ACEOF
6194/* end confdefs.h. */
6195#include <$ac_header>
6196_ACEOF
6197if { (ac_try="$ac_cpp conftest.$ac_ext"
6198case "(($ac_try" in
6199 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6200 *) ac_try_echo=$ac_try;;
6201esac
6202eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6203 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6204 ac_status=$?
6205 grep -v '^ *+' conftest.er1 >conftest.err
6206 rm -f conftest.er1
6207 cat conftest.err >&5
6208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6209 (exit $ac_status); } >/dev/null; then
6210 if test -s conftest.err; then
6211 ac_cpp_err=$ac_cxx_preproc_warn_flag
6212 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6213 else
6214 ac_cpp_err=
6215 fi
6216else
6217 ac_cpp_err=yes
6218fi
6219if test -z "$ac_cpp_err"; then
6220 ac_header_preproc=yes
6221else
6222 echo "$as_me: failed program was:" >&5
6223sed 's/^/| /' conftest.$ac_ext >&5
6224
6225 ac_header_preproc=no
6226fi
6227
6228rm -f conftest.err conftest.$ac_ext
6229{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6230echo "${ECHO_T}$ac_header_preproc" >&6; }
6231
6232# So? What about this header?
6233case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6234 yes:no: )
6235 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6236echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6237 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6238echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6239 ac_header_preproc=yes
6240 ;;
6241 no:yes:* )
6242 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6243echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6244 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6245echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6246 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6247echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6248 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6249echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6250 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6251echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6252 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6253echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6254 ( cat <<\_ASBOX
6255## ---------------------------------------------------------- ##
6256## Report this to smartmontools-support@lists.sourceforge.net ##
6257## ---------------------------------------------------------- ##
6258_ASBOX
6259 ) | sed "s/^/$as_me: WARNING: /" >&2
6260 ;;
6261esac
6262{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6263echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6264if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6265 echo $ECHO_N "(cached) $ECHO_C" >&6
6266else
6267 eval "$as_ac_Header=\$ac_header_preproc"
6268fi
6269ac_res=`eval echo '${'$as_ac_Header'}'`
6270 { echo "$as_me:$LINENO: result: $ac_res" >&5
6271echo "${ECHO_T}$ac_res" >&6; }
6272
6273fi
6274if test `eval echo '${'$as_ac_Header'}'` = yes; then
6275 cat >>confdefs.h <<_ACEOF
6276#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6277_ACEOF
6278
6279fi
6280
6281done
6282
6283for ac_header in sys/int_types.h
6284do
6285as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6286if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6287 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6288echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6289if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6290 echo $ECHO_N "(cached) $ECHO_C" >&6
6291fi
6292ac_res=`eval echo '${'$as_ac_Header'}'`
6293 { echo "$as_me:$LINENO: result: $ac_res" >&5
6294echo "${ECHO_T}$ac_res" >&6; }
6295else
6296 # Is the header compilable?
6297{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6298echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6299cat >conftest.$ac_ext <<_ACEOF
6300/* confdefs.h. */
6301_ACEOF
6302cat confdefs.h >>conftest.$ac_ext
6303cat >>conftest.$ac_ext <<_ACEOF
6304/* end confdefs.h. */
6305$ac_includes_default
6306#include <$ac_header>
6307_ACEOF
6308rm -f conftest.$ac_objext
6309if { (ac_try="$ac_compile"
6310case "(($ac_try" in
6311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6312 *) ac_try_echo=$ac_try;;
6313esac
6314eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6315 (eval "$ac_compile") 2>conftest.er1
6316 ac_status=$?
6317 grep -v '^ *+' conftest.er1 >conftest.err
6318 rm -f conftest.er1
6319 cat conftest.err >&5
6320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6321 (exit $ac_status); } &&
6322 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6323 { (case "(($ac_try" in
6324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6325 *) ac_try_echo=$ac_try;;
6326esac
6327eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6328 (eval "$ac_try") 2>&5
6329 ac_status=$?
6330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6331 (exit $ac_status); }; } &&
6332 { ac_try='test -s conftest.$ac_objext'
6333 { (case "(($ac_try" in
6334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6335 *) ac_try_echo=$ac_try;;
6336esac
6337eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6338 (eval "$ac_try") 2>&5
6339 ac_status=$?
6340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6341 (exit $ac_status); }; }; then
6342 ac_header_compiler=yes
6343else
6344 echo "$as_me: failed program was:" >&5
6345sed 's/^/| /' conftest.$ac_ext >&5
6346
6347 ac_header_compiler=no
6348fi
6349
6350rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6351{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6352echo "${ECHO_T}$ac_header_compiler" >&6; }
6353
6354# Is the header present?
6355{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6356echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6357cat >conftest.$ac_ext <<_ACEOF
6358/* confdefs.h. */
6359_ACEOF
6360cat confdefs.h >>conftest.$ac_ext
6361cat >>conftest.$ac_ext <<_ACEOF
6362/* end confdefs.h. */
6363#include <$ac_header>
6364_ACEOF
6365if { (ac_try="$ac_cpp conftest.$ac_ext"
6366case "(($ac_try" in
6367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6368 *) ac_try_echo=$ac_try;;
6369esac
6370eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6371 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6372 ac_status=$?
6373 grep -v '^ *+' conftest.er1 >conftest.err
6374 rm -f conftest.er1
6375 cat conftest.err >&5
6376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6377 (exit $ac_status); } >/dev/null; then
6378 if test -s conftest.err; then
6379 ac_cpp_err=$ac_cxx_preproc_warn_flag
6380 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6381 else
6382 ac_cpp_err=
6383 fi
6384else
6385 ac_cpp_err=yes
6386fi
6387if test -z "$ac_cpp_err"; then
6388 ac_header_preproc=yes
6389else
6390 echo "$as_me: failed program was:" >&5
6391sed 's/^/| /' conftest.$ac_ext >&5
6392
6393 ac_header_preproc=no
6394fi
6395
6396rm -f conftest.err conftest.$ac_ext
6397{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6398echo "${ECHO_T}$ac_header_preproc" >&6; }
6399
6400# So? What about this header?
6401case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6402 yes:no: )
6403 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6404echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6405 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6406echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6407 ac_header_preproc=yes
6408 ;;
6409 no:yes:* )
6410 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6411echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6412 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6413echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6414 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6415echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6416 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6417echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6418 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6419echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6420 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6421echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6422 ( cat <<\_ASBOX
6423## ---------------------------------------------------------- ##
6424## Report this to smartmontools-support@lists.sourceforge.net ##
6425## ---------------------------------------------------------- ##
6426_ASBOX
6427 ) | sed "s/^/$as_me: WARNING: /" >&2
6428 ;;
6429esac
6430{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6431echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6432if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6433 echo $ECHO_N "(cached) $ECHO_C" >&6
6434else
6435 eval "$as_ac_Header=\$ac_header_preproc"
6436fi
6437ac_res=`eval echo '${'$as_ac_Header'}'`
6438 { echo "$as_me:$LINENO: result: $ac_res" >&5
6439echo "${ECHO_T}$ac_res" >&6; }
6440
6441fi
6442if test `eval echo '${'$as_ac_Header'}'` = yes; then
6443 cat >>confdefs.h <<_ACEOF
6444#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6445_ACEOF
6446
6447fi
6448
6449done
6450
6451for ac_header in sys/tweio.h
6452do
6453as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6454if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6455 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6456echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6457if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6458 echo $ECHO_N "(cached) $ECHO_C" >&6
6459fi
6460ac_res=`eval echo '${'$as_ac_Header'}'`
6461 { echo "$as_me:$LINENO: result: $ac_res" >&5
6462echo "${ECHO_T}$ac_res" >&6; }
6463else
6464 # Is the header compilable?
6465{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6466echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6467cat >conftest.$ac_ext <<_ACEOF
6468/* confdefs.h. */
6469_ACEOF
6470cat confdefs.h >>conftest.$ac_ext
6471cat >>conftest.$ac_ext <<_ACEOF
6472/* end confdefs.h. */
6473$ac_includes_default
6474#include <$ac_header>
6475_ACEOF
6476rm -f conftest.$ac_objext
6477if { (ac_try="$ac_compile"
6478case "(($ac_try" in
6479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6480 *) ac_try_echo=$ac_try;;
6481esac
6482eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6483 (eval "$ac_compile") 2>conftest.er1
6484 ac_status=$?
6485 grep -v '^ *+' conftest.er1 >conftest.err
6486 rm -f conftest.er1
6487 cat conftest.err >&5
6488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6489 (exit $ac_status); } &&
6490 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6491 { (case "(($ac_try" in
6492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6493 *) ac_try_echo=$ac_try;;
6494esac
6495eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6496 (eval "$ac_try") 2>&5
6497 ac_status=$?
6498 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6499 (exit $ac_status); }; } &&
6500 { ac_try='test -s conftest.$ac_objext'
6501 { (case "(($ac_try" in
6502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6503 *) ac_try_echo=$ac_try;;
6504esac
6505eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6506 (eval "$ac_try") 2>&5
6507 ac_status=$?
6508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6509 (exit $ac_status); }; }; then
6510 ac_header_compiler=yes
6511else
6512 echo "$as_me: failed program was:" >&5
6513sed 's/^/| /' conftest.$ac_ext >&5
6514
6515 ac_header_compiler=no
6516fi
6517
6518rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6519{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6520echo "${ECHO_T}$ac_header_compiler" >&6; }
6521
6522# Is the header present?
6523{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6524echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6525cat >conftest.$ac_ext <<_ACEOF
6526/* confdefs.h. */
6527_ACEOF
6528cat confdefs.h >>conftest.$ac_ext
6529cat >>conftest.$ac_ext <<_ACEOF
6530/* end confdefs.h. */
6531#include <$ac_header>
6532_ACEOF
6533if { (ac_try="$ac_cpp conftest.$ac_ext"
6534case "(($ac_try" in
6535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6536 *) ac_try_echo=$ac_try;;
6537esac
6538eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6539 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6540 ac_status=$?
6541 grep -v '^ *+' conftest.er1 >conftest.err
6542 rm -f conftest.er1
6543 cat conftest.err >&5
6544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6545 (exit $ac_status); } >/dev/null; then
6546 if test -s conftest.err; then
6547 ac_cpp_err=$ac_cxx_preproc_warn_flag
6548 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6549 else
6550 ac_cpp_err=
6551 fi
6552else
6553 ac_cpp_err=yes
6554fi
6555if test -z "$ac_cpp_err"; then
6556 ac_header_preproc=yes
6557else
6558 echo "$as_me: failed program was:" >&5
6559sed 's/^/| /' conftest.$ac_ext >&5
6560
6561 ac_header_preproc=no
6562fi
6563
6564rm -f conftest.err conftest.$ac_ext
6565{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6566echo "${ECHO_T}$ac_header_preproc" >&6; }
6567
6568# So? What about this header?
6569case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6570 yes:no: )
6571 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6572echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6573 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6574echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6575 ac_header_preproc=yes
6576 ;;
6577 no:yes:* )
6578 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6579echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6580 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6581echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6582 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6583echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6584 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6585echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6586 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6587echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6588 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6589echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6590 ( cat <<\_ASBOX
6591## ---------------------------------------------------------- ##
6592## Report this to smartmontools-support@lists.sourceforge.net ##
6593## ---------------------------------------------------------- ##
6594_ASBOX
6595 ) | sed "s/^/$as_me: WARNING: /" >&2
6596 ;;
6597esac
6598{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6599echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6600if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6601 echo $ECHO_N "(cached) $ECHO_C" >&6
6602else
6603 eval "$as_ac_Header=\$ac_header_preproc"
6604fi
6605ac_res=`eval echo '${'$as_ac_Header'}'`
6606 { echo "$as_me:$LINENO: result: $ac_res" >&5
6607echo "${ECHO_T}$ac_res" >&6; }
6608
6609fi
6610if test `eval echo '${'$as_ac_Header'}'` = yes; then
6611 cat >>confdefs.h <<_ACEOF
6612#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6613_ACEOF
6614
6615fi
6616
6617done
6618
6619
6620for ac_header in sys/twereg.h
6621do
6622as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6623if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6624 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6625echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6626if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6627 echo $ECHO_N "(cached) $ECHO_C" >&6
6628fi
6629ac_res=`eval echo '${'$as_ac_Header'}'`
6630 { echo "$as_me:$LINENO: result: $ac_res" >&5
6631echo "${ECHO_T}$ac_res" >&6; }
6632else
6633 # Is the header compilable?
6634{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6635echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6636cat >conftest.$ac_ext <<_ACEOF
6637/* confdefs.h. */
6638_ACEOF
6639cat confdefs.h >>conftest.$ac_ext
6640cat >>conftest.$ac_ext <<_ACEOF
6641/* end confdefs.h. */
6642$ac_includes_default
6643#include <$ac_header>
6644_ACEOF
6645rm -f conftest.$ac_objext
6646if { (ac_try="$ac_compile"
6647case "(($ac_try" in
6648 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6649 *) ac_try_echo=$ac_try;;
6650esac
6651eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6652 (eval "$ac_compile") 2>conftest.er1
6653 ac_status=$?
6654 grep -v '^ *+' conftest.er1 >conftest.err
6655 rm -f conftest.er1
6656 cat conftest.err >&5
6657 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6658 (exit $ac_status); } &&
6659 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6660 { (case "(($ac_try" in
6661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6662 *) ac_try_echo=$ac_try;;
6663esac
6664eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6665 (eval "$ac_try") 2>&5
6666 ac_status=$?
6667 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6668 (exit $ac_status); }; } &&
6669 { ac_try='test -s conftest.$ac_objext'
6670 { (case "(($ac_try" in
6671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6672 *) ac_try_echo=$ac_try;;
6673esac
6674eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6675 (eval "$ac_try") 2>&5
6676 ac_status=$?
6677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6678 (exit $ac_status); }; }; then
6679 ac_header_compiler=yes
6680else
6681 echo "$as_me: failed program was:" >&5
6682sed 's/^/| /' conftest.$ac_ext >&5
6683
6684 ac_header_compiler=no
6685fi
6686
6687rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6688{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6689echo "${ECHO_T}$ac_header_compiler" >&6; }
6690
6691# Is the header present?
6692{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6693echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6694cat >conftest.$ac_ext <<_ACEOF
6695/* confdefs.h. */
6696_ACEOF
6697cat confdefs.h >>conftest.$ac_ext
6698cat >>conftest.$ac_ext <<_ACEOF
6699/* end confdefs.h. */
6700#include <$ac_header>
6701_ACEOF
6702if { (ac_try="$ac_cpp conftest.$ac_ext"
6703case "(($ac_try" in
6704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6705 *) ac_try_echo=$ac_try;;
6706esac
6707eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6708 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6709 ac_status=$?
6710 grep -v '^ *+' conftest.er1 >conftest.err
6711 rm -f conftest.er1
6712 cat conftest.err >&5
6713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6714 (exit $ac_status); } >/dev/null; then
6715 if test -s conftest.err; then
6716 ac_cpp_err=$ac_cxx_preproc_warn_flag
6717 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6718 else
6719 ac_cpp_err=
6720 fi
6721else
6722 ac_cpp_err=yes
6723fi
6724if test -z "$ac_cpp_err"; then
6725 ac_header_preproc=yes
6726else
6727 echo "$as_me: failed program was:" >&5
6728sed 's/^/| /' conftest.$ac_ext >&5
6729
6730 ac_header_preproc=no
6731fi
6732
6733rm -f conftest.err conftest.$ac_ext
6734{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6735echo "${ECHO_T}$ac_header_preproc" >&6; }
6736
6737# So? What about this header?
6738case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6739 yes:no: )
6740 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6741echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6742 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6743echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6744 ac_header_preproc=yes
6745 ;;
6746 no:yes:* )
6747 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6748echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6749 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6750echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6751 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6752echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6753 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6754echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6755 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6756echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6757 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6758echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6759 ( cat <<\_ASBOX
6760## ---------------------------------------------------------- ##
6761## Report this to smartmontools-support@lists.sourceforge.net ##
6762## ---------------------------------------------------------- ##
6763_ASBOX
6764 ) | sed "s/^/$as_me: WARNING: /" >&2
6765 ;;
6766esac
6767{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6768echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6769if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6770 echo $ECHO_N "(cached) $ECHO_C" >&6
6771else
6772 eval "$as_ac_Header=\$ac_header_preproc"
6773fi
6774ac_res=`eval echo '${'$as_ac_Header'}'`
6775 { echo "$as_me:$LINENO: result: $ac_res" >&5
6776echo "${ECHO_T}$ac_res" >&6; }
6777
6778fi
6779if test `eval echo '${'$as_ac_Header'}'` = yes; then
6780 cat >>confdefs.h <<_ACEOF
6781#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6782_ACEOF
6783
6784fi
6785
6786done
6787
6788
6789for ac_header in sys/tw_osl_ioctl.h
6790do
6791as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6792if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6793 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6794echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6795if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6796 echo $ECHO_N "(cached) $ECHO_C" >&6
6797fi
6798ac_res=`eval echo '${'$as_ac_Header'}'`
6799 { echo "$as_me:$LINENO: result: $ac_res" >&5
6800echo "${ECHO_T}$ac_res" >&6; }
6801else
6802 # Is the header compilable?
6803{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6804echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6805cat >conftest.$ac_ext <<_ACEOF
6806/* confdefs.h. */
6807_ACEOF
6808cat confdefs.h >>conftest.$ac_ext
6809cat >>conftest.$ac_ext <<_ACEOF
6810/* end confdefs.h. */
6811$ac_includes_default
6812#include <$ac_header>
6813_ACEOF
6814rm -f conftest.$ac_objext
6815if { (ac_try="$ac_compile"
6816case "(($ac_try" in
6817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6818 *) ac_try_echo=$ac_try;;
6819esac
6820eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6821 (eval "$ac_compile") 2>conftest.er1
6822 ac_status=$?
6823 grep -v '^ *+' conftest.er1 >conftest.err
6824 rm -f conftest.er1
6825 cat conftest.err >&5
6826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6827 (exit $ac_status); } &&
6828 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6829 { (case "(($ac_try" in
6830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6831 *) ac_try_echo=$ac_try;;
6832esac
6833eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6834 (eval "$ac_try") 2>&5
6835 ac_status=$?
6836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6837 (exit $ac_status); }; } &&
6838 { ac_try='test -s conftest.$ac_objext'
6839 { (case "(($ac_try" in
6840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6841 *) ac_try_echo=$ac_try;;
6842esac
6843eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6844 (eval "$ac_try") 2>&5
6845 ac_status=$?
6846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6847 (exit $ac_status); }; }; then
6848 ac_header_compiler=yes
6849else
6850 echo "$as_me: failed program was:" >&5
6851sed 's/^/| /' conftest.$ac_ext >&5
6852
6853 ac_header_compiler=no
6854fi
6855
6856rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6857{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
6858echo "${ECHO_T}$ac_header_compiler" >&6; }
6859
6860# Is the header present?
6861{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
6862echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
6863cat >conftest.$ac_ext <<_ACEOF
6864/* confdefs.h. */
6865_ACEOF
6866cat confdefs.h >>conftest.$ac_ext
6867cat >>conftest.$ac_ext <<_ACEOF
6868/* end confdefs.h. */
6869#include <$ac_header>
6870_ACEOF
6871if { (ac_try="$ac_cpp conftest.$ac_ext"
6872case "(($ac_try" in
6873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6874 *) ac_try_echo=$ac_try;;
6875esac
6876eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6877 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
6878 ac_status=$?
6879 grep -v '^ *+' conftest.er1 >conftest.err
6880 rm -f conftest.er1
6881 cat conftest.err >&5
6882 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6883 (exit $ac_status); } >/dev/null; then
6884 if test -s conftest.err; then
6885 ac_cpp_err=$ac_cxx_preproc_warn_flag
6886 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
6887 else
6888 ac_cpp_err=
6889 fi
6890else
6891 ac_cpp_err=yes
6892fi
6893if test -z "$ac_cpp_err"; then
6894 ac_header_preproc=yes
6895else
6896 echo "$as_me: failed program was:" >&5
6897sed 's/^/| /' conftest.$ac_ext >&5
6898
6899 ac_header_preproc=no
6900fi
6901
6902rm -f conftest.err conftest.$ac_ext
6903{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
6904echo "${ECHO_T}$ac_header_preproc" >&6; }
6905
6906# So? What about this header?
6907case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
6908 yes:no: )
6909 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
6910echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
6911 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
6912echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
6913 ac_header_preproc=yes
6914 ;;
6915 no:yes:* )
6916 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
6917echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
6918 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
6919echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
6920 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
6921echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
6922 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
6923echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
6924 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
6925echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
6926 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
6927echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
6928 ( cat <<\_ASBOX
6929## ---------------------------------------------------------- ##
6930## Report this to smartmontools-support@lists.sourceforge.net ##
6931## ---------------------------------------------------------- ##
6932_ASBOX
6933 ) | sed "s/^/$as_me: WARNING: /" >&2
6934 ;;
6935esac
6936{ echo "$as_me:$LINENO: checking for $ac_header" >&5
6937echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6938if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6939 echo $ECHO_N "(cached) $ECHO_C" >&6
6940else
6941 eval "$as_ac_Header=\$ac_header_preproc"
6942fi
6943ac_res=`eval echo '${'$as_ac_Header'}'`
6944 { echo "$as_me:$LINENO: result: $ac_res" >&5
6945echo "${ECHO_T}$ac_res" >&6; }
6946
6947fi
6948if test `eval echo '${'$as_ac_Header'}'` = yes; then
6949 cat >>confdefs.h <<_ACEOF
6950#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
6951_ACEOF
6952
6953fi
6954
6955done
6956
6957
6958for ac_header in dev/ciss/cissio.h
6959do
6960as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
6961if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6962 { echo "$as_me:$LINENO: checking for $ac_header" >&5
6963echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
6964if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
6965 echo $ECHO_N "(cached) $ECHO_C" >&6
6966fi
6967ac_res=`eval echo '${'$as_ac_Header'}'`
6968 { echo "$as_me:$LINENO: result: $ac_res" >&5
6969echo "${ECHO_T}$ac_res" >&6; }
6970else
6971 # Is the header compilable?
6972{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
6973echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
6974cat >conftest.$ac_ext <<_ACEOF
6975/* confdefs.h. */
6976_ACEOF
6977cat confdefs.h >>conftest.$ac_ext
6978cat >>conftest.$ac_ext <<_ACEOF
6979/* end confdefs.h. */
6980$ac_includes_default
6981#include <$ac_header>
6982_ACEOF
6983rm -f conftest.$ac_objext
6984if { (ac_try="$ac_compile"
6985case "(($ac_try" in
6986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
6987 *) ac_try_echo=$ac_try;;
6988esac
6989eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
6990 (eval "$ac_compile") 2>conftest.er1
6991 ac_status=$?
6992 grep -v '^ *+' conftest.er1 >conftest.err
6993 rm -f conftest.er1
6994 cat conftest.err >&5
6995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6996 (exit $ac_status); } &&
6997 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
6998 { (case "(($ac_try" in
6999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7000 *) ac_try_echo=$ac_try;;
7001esac
7002eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7003 (eval "$ac_try") 2>&5
7004 ac_status=$?
7005 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7006 (exit $ac_status); }; } &&
7007 { ac_try='test -s conftest.$ac_objext'
7008 { (case "(($ac_try" in
7009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7010 *) ac_try_echo=$ac_try;;
7011esac
7012eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7013 (eval "$ac_try") 2>&5
7014 ac_status=$?
7015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7016 (exit $ac_status); }; }; then
7017 ac_header_compiler=yes
7018else
7019 echo "$as_me: failed program was:" >&5
7020sed 's/^/| /' conftest.$ac_ext >&5
7021
7022 ac_header_compiler=no
7023fi
7024
7025rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7026{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7027echo "${ECHO_T}$ac_header_compiler" >&6; }
7028
7029# Is the header present?
7030{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7031echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7032cat >conftest.$ac_ext <<_ACEOF
7033/* confdefs.h. */
7034_ACEOF
7035cat confdefs.h >>conftest.$ac_ext
7036cat >>conftest.$ac_ext <<_ACEOF
7037/* end confdefs.h. */
7038#include <$ac_header>
7039_ACEOF
7040if { (ac_try="$ac_cpp conftest.$ac_ext"
7041case "(($ac_try" in
7042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7043 *) ac_try_echo=$ac_try;;
7044esac
7045eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7046 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7047 ac_status=$?
7048 grep -v '^ *+' conftest.er1 >conftest.err
7049 rm -f conftest.er1
7050 cat conftest.err >&5
7051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7052 (exit $ac_status); } >/dev/null; then
7053 if test -s conftest.err; then
7054 ac_cpp_err=$ac_cxx_preproc_warn_flag
7055 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7056 else
7057 ac_cpp_err=
7058 fi
7059else
7060 ac_cpp_err=yes
7061fi
7062if test -z "$ac_cpp_err"; then
7063 ac_header_preproc=yes
7064else
7065 echo "$as_me: failed program was:" >&5
7066sed 's/^/| /' conftest.$ac_ext >&5
7067
7068 ac_header_preproc=no
7069fi
7070
7071rm -f conftest.err conftest.$ac_ext
7072{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7073echo "${ECHO_T}$ac_header_preproc" >&6; }
7074
7075# So? What about this header?
7076case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7077 yes:no: )
7078 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7079echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7080 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7081echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7082 ac_header_preproc=yes
7083 ;;
7084 no:yes:* )
7085 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7086echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7087 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7088echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7089 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7090echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7091 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7092echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7093 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7094echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7095 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7096echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7097 ( cat <<\_ASBOX
7098## ---------------------------------------------------------- ##
7099## Report this to smartmontools-support@lists.sourceforge.net ##
7100## ---------------------------------------------------------- ##
7101_ASBOX
7102 ) | sed "s/^/$as_me: WARNING: /" >&2
7103 ;;
7104esac
7105{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7106echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7107if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7108 echo $ECHO_N "(cached) $ECHO_C" >&6
7109else
7110 eval "$as_ac_Header=\$ac_header_preproc"
7111fi
7112ac_res=`eval echo '${'$as_ac_Header'}'`
7113 { echo "$as_me:$LINENO: result: $ac_res" >&5
7114echo "${ECHO_T}$ac_res" >&6; }
7115
7116fi
7117if test `eval echo '${'$as_ac_Header'}'` = yes; then
7118 cat >>confdefs.h <<_ACEOF
7119#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7120_ACEOF
7121
7122fi
7123
7124done
7125
7126
7127for ac_header in linux/compiler.h
7128do
7129as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7130if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7131 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7132echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7133if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7134 echo $ECHO_N "(cached) $ECHO_C" >&6
7135fi
7136ac_res=`eval echo '${'$as_ac_Header'}'`
7137 { echo "$as_me:$LINENO: result: $ac_res" >&5
7138echo "${ECHO_T}$ac_res" >&6; }
7139else
7140 # Is the header compilable?
7141{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
7142echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
7143cat >conftest.$ac_ext <<_ACEOF
7144/* confdefs.h. */
7145_ACEOF
7146cat confdefs.h >>conftest.$ac_ext
7147cat >>conftest.$ac_ext <<_ACEOF
7148/* end confdefs.h. */
7149$ac_includes_default
7150#include <$ac_header>
7151_ACEOF
7152rm -f conftest.$ac_objext
7153if { (ac_try="$ac_compile"
7154case "(($ac_try" in
7155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7156 *) ac_try_echo=$ac_try;;
7157esac
7158eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7159 (eval "$ac_compile") 2>conftest.er1
7160 ac_status=$?
7161 grep -v '^ *+' conftest.er1 >conftest.err
7162 rm -f conftest.er1
7163 cat conftest.err >&5
7164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7165 (exit $ac_status); } &&
7166 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7167 { (case "(($ac_try" in
7168 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7169 *) ac_try_echo=$ac_try;;
7170esac
7171eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7172 (eval "$ac_try") 2>&5
7173 ac_status=$?
7174 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7175 (exit $ac_status); }; } &&
7176 { ac_try='test -s conftest.$ac_objext'
7177 { (case "(($ac_try" in
7178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7179 *) ac_try_echo=$ac_try;;
7180esac
7181eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7182 (eval "$ac_try") 2>&5
7183 ac_status=$?
7184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7185 (exit $ac_status); }; }; then
7186 ac_header_compiler=yes
7187else
7188 echo "$as_me: failed program was:" >&5
7189sed 's/^/| /' conftest.$ac_ext >&5
7190
7191 ac_header_compiler=no
7192fi
7193
7194rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7195{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
7196echo "${ECHO_T}$ac_header_compiler" >&6; }
7197
7198# Is the header present?
7199{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
7200echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
7201cat >conftest.$ac_ext <<_ACEOF
7202/* confdefs.h. */
7203_ACEOF
7204cat confdefs.h >>conftest.$ac_ext
7205cat >>conftest.$ac_ext <<_ACEOF
7206/* end confdefs.h. */
7207#include <$ac_header>
7208_ACEOF
7209if { (ac_try="$ac_cpp conftest.$ac_ext"
7210case "(($ac_try" in
7211 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7212 *) ac_try_echo=$ac_try;;
7213esac
7214eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7215 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
7216 ac_status=$?
7217 grep -v '^ *+' conftest.er1 >conftest.err
7218 rm -f conftest.er1
7219 cat conftest.err >&5
7220 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7221 (exit $ac_status); } >/dev/null; then
7222 if test -s conftest.err; then
7223 ac_cpp_err=$ac_cxx_preproc_warn_flag
7224 ac_cpp_err=$ac_cpp_err$ac_cxx_werror_flag
7225 else
7226 ac_cpp_err=
7227 fi
7228else
7229 ac_cpp_err=yes
7230fi
7231if test -z "$ac_cpp_err"; then
7232 ac_header_preproc=yes
7233else
7234 echo "$as_me: failed program was:" >&5
7235sed 's/^/| /' conftest.$ac_ext >&5
7236
7237 ac_header_preproc=no
7238fi
7239
7240rm -f conftest.err conftest.$ac_ext
7241{ echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
7242echo "${ECHO_T}$ac_header_preproc" >&6; }
7243
7244# So? What about this header?
7245case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
7246 yes:no: )
7247 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
7248echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
7249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
7250echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
7251 ac_header_preproc=yes
7252 ;;
7253 no:yes:* )
7254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
7255echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
7256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
7257echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
7258 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
7259echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
7260 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
7261echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
7262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
7263echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
7264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
7265echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
7266 ( cat <<\_ASBOX
7267## ---------------------------------------------------------- ##
7268## Report this to smartmontools-support@lists.sourceforge.net ##
7269## ---------------------------------------------------------- ##
7270_ASBOX
7271 ) | sed "s/^/$as_me: WARNING: /" >&2
7272 ;;
7273esac
7274{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7275echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7276if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7277 echo $ECHO_N "(cached) $ECHO_C" >&6
7278else
7279 eval "$as_ac_Header=\$ac_header_preproc"
7280fi
7281ac_res=`eval echo '${'$as_ac_Header'}'`
7282 { echo "$as_me:$LINENO: result: $ac_res" >&5
7283echo "${ECHO_T}$ac_res" >&6; }
7284
7285fi
7286if test `eval echo '${'$as_ac_Header'}'` = yes; then
7287 cat >>confdefs.h <<_ACEOF
7288#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7289_ACEOF
7290
7291fi
7292
7293done
7294
7295
7296for ac_header in linux/cciss_ioctl.h
7297do
7298as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7299{ echo "$as_me:$LINENO: checking for $ac_header" >&5
7300echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
7301if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7302 echo $ECHO_N "(cached) $ECHO_C" >&6
7303else
7304 cat >conftest.$ac_ext <<_ACEOF
7305/* confdefs.h. */
7306_ACEOF
7307cat confdefs.h >>conftest.$ac_ext
7308cat >>conftest.$ac_ext <<_ACEOF
7309/* end confdefs.h. */
7310$ac_includes_default
7311#ifdef HAVE_LINUX_COMPILER_H
7312# include <linux/compiler.h>
7313#endif
7314
7315
7316#include <$ac_header>
7317_ACEOF
7318rm -f conftest.$ac_objext
7319if { (ac_try="$ac_compile"
7320case "(($ac_try" in
7321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7322 *) ac_try_echo=$ac_try;;
7323esac
7324eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7325 (eval "$ac_compile") 2>conftest.er1
7326 ac_status=$?
7327 grep -v '^ *+' conftest.er1 >conftest.err
7328 rm -f conftest.er1
7329 cat conftest.err >&5
7330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7331 (exit $ac_status); } &&
7332 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7333 { (case "(($ac_try" in
7334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7335 *) ac_try_echo=$ac_try;;
7336esac
7337eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7338 (eval "$ac_try") 2>&5
7339 ac_status=$?
7340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7341 (exit $ac_status); }; } &&
7342 { ac_try='test -s conftest.$ac_objext'
7343 { (case "(($ac_try" in
7344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7345 *) ac_try_echo=$ac_try;;
7346esac
7347eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7348 (eval "$ac_try") 2>&5
7349 ac_status=$?
7350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7351 (exit $ac_status); }; }; then
7352 eval "$as_ac_Header=yes"
7353else
7354 echo "$as_me: failed program was:" >&5
7355sed 's/^/| /' conftest.$ac_ext >&5
7356
7357 eval "$as_ac_Header=no"
7358fi
7359
7360rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7361fi
7362ac_res=`eval echo '${'$as_ac_Header'}'`
7363 { echo "$as_me:$LINENO: result: $ac_res" >&5
7364echo "${ECHO_T}$ac_res" >&6; }
7365if test `eval echo '${'$as_ac_Header'}'` = yes; then
7366 cat >>confdefs.h <<_ACEOF
7367#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
7368_ACEOF
7369
7370fi
7371
7372done
7373
7374
7375{ echo "$as_me:$LINENO: checking for int64_t" >&5
7376echo $ECHO_N "checking for int64_t... $ECHO_C" >&6; }
7377if test "${ac_cv_type_int64_t+set}" = set; then
7378 echo $ECHO_N "(cached) $ECHO_C" >&6
7379else
7380 cat >conftest.$ac_ext <<_ACEOF
7381/* confdefs.h. */
7382_ACEOF
7383cat confdefs.h >>conftest.$ac_ext
7384cat >>conftest.$ac_ext <<_ACEOF
7385/* end confdefs.h. */
7386$ac_includes_default
7387typedef int64_t ac__type_new_;
7388int
7389main ()
7390{
7391if ((ac__type_new_ *) 0)
7392 return 0;
7393if (sizeof (ac__type_new_))
7394 return 0;
7395 ;
7396 return 0;
7397}
7398_ACEOF
7399rm -f conftest.$ac_objext
7400if { (ac_try="$ac_compile"
7401case "(($ac_try" in
7402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7403 *) ac_try_echo=$ac_try;;
7404esac
7405eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7406 (eval "$ac_compile") 2>conftest.er1
7407 ac_status=$?
7408 grep -v '^ *+' conftest.er1 >conftest.err
7409 rm -f conftest.er1
7410 cat conftest.err >&5
7411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7412 (exit $ac_status); } &&
7413 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7414 { (case "(($ac_try" in
7415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7416 *) ac_try_echo=$ac_try;;
7417esac
7418eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7419 (eval "$ac_try") 2>&5
7420 ac_status=$?
7421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7422 (exit $ac_status); }; } &&
7423 { ac_try='test -s conftest.$ac_objext'
7424 { (case "(($ac_try" in
7425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7426 *) ac_try_echo=$ac_try;;
7427esac
7428eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7429 (eval "$ac_try") 2>&5
7430 ac_status=$?
7431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7432 (exit $ac_status); }; }; then
7433 ac_cv_type_int64_t=yes
7434else
7435 echo "$as_me: failed program was:" >&5
7436sed 's/^/| /' conftest.$ac_ext >&5
7437
7438 ac_cv_type_int64_t=no
7439fi
7440
7441rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7442fi
7443{ echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
7444echo "${ECHO_T}$ac_cv_type_int64_t" >&6; }
7445if test $ac_cv_type_int64_t = yes; then
7446
7447cat >>confdefs.h <<_ACEOF
7448#define HAVE_INT64_T 1
7449_ACEOF
7450
7451
7452fi
7453{ echo "$as_me:$LINENO: checking for uint64_t" >&5
7454echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6; }
7455if test "${ac_cv_type_uint64_t+set}" = set; then
7456 echo $ECHO_N "(cached) $ECHO_C" >&6
7457else
7458 cat >conftest.$ac_ext <<_ACEOF
7459/* confdefs.h. */
7460_ACEOF
7461cat confdefs.h >>conftest.$ac_ext
7462cat >>conftest.$ac_ext <<_ACEOF
7463/* end confdefs.h. */
7464$ac_includes_default
7465typedef uint64_t ac__type_new_;
7466int
7467main ()
7468{
7469if ((ac__type_new_ *) 0)
7470 return 0;
7471if (sizeof (ac__type_new_))
7472 return 0;
7473 ;
7474 return 0;
7475}
7476_ACEOF
7477rm -f conftest.$ac_objext
7478if { (ac_try="$ac_compile"
7479case "(($ac_try" in
7480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7481 *) ac_try_echo=$ac_try;;
7482esac
7483eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7484 (eval "$ac_compile") 2>conftest.er1
7485 ac_status=$?
7486 grep -v '^ *+' conftest.er1 >conftest.err
7487 rm -f conftest.er1
7488 cat conftest.err >&5
7489 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7490 (exit $ac_status); } &&
7491 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7492 { (case "(($ac_try" in
7493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7494 *) ac_try_echo=$ac_try;;
7495esac
7496eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7497 (eval "$ac_try") 2>&5
7498 ac_status=$?
7499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7500 (exit $ac_status); }; } &&
7501 { ac_try='test -s conftest.$ac_objext'
7502 { (case "(($ac_try" in
7503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7504 *) ac_try_echo=$ac_try;;
7505esac
7506eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7507 (eval "$ac_try") 2>&5
7508 ac_status=$?
7509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7510 (exit $ac_status); }; }; then
7511 ac_cv_type_uint64_t=yes
7512else
7513 echo "$as_me: failed program was:" >&5
7514sed 's/^/| /' conftest.$ac_ext >&5
7515
7516 ac_cv_type_uint64_t=no
7517fi
7518
7519rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7520fi
7521{ echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
7522echo "${ECHO_T}$ac_cv_type_uint64_t" >&6; }
7523if test $ac_cv_type_uint64_t = yes; then
7524
7525cat >>confdefs.h <<_ACEOF
7526#define HAVE_UINT64_T 1
7527_ACEOF
7528
7529
7530fi
7531
7532
7533
7534for ac_func in getopt
7535do
7536as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7537{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7538echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7539if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7540 echo $ECHO_N "(cached) $ECHO_C" >&6
7541else
7542 cat >conftest.$ac_ext <<_ACEOF
7543/* confdefs.h. */
7544_ACEOF
7545cat confdefs.h >>conftest.$ac_ext
7546cat >>conftest.$ac_ext <<_ACEOF
7547/* end confdefs.h. */
7548/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7550#define $ac_func innocuous_$ac_func
7551
7552/* System header to define __stub macros and hopefully few prototypes,
7553 which can conflict with char $ac_func (); below.
7554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7555 <limits.h> exists even on freestanding compilers. */
7556
7557#ifdef __STDC__
7558# include <limits.h>
7559#else
7560# include <assert.h>
7561#endif
7562
7563#undef $ac_func
7564
7565/* Override any GCC internal prototype to avoid an error.
7566 Use char because int might match the return type of a GCC
7567 builtin and then its argument prototype would still apply. */
7568#ifdef __cplusplus
7569extern "C"
7570#endif
7571char $ac_func ();
7572/* The GNU C library defines this for functions which it implements
7573 to always fail with ENOSYS. Some functions are actually named
7574 something starting with __ and the normal name is an alias. */
7575#if defined __stub_$ac_func || defined __stub___$ac_func
7576choke me
7577#endif
7578
7579int
7580main ()
7581{
7582return $ac_func ();
7583 ;
7584 return 0;
7585}
7586_ACEOF
7587rm -f conftest.$ac_objext conftest$ac_exeext
7588if { (ac_try="$ac_link"
7589case "(($ac_try" in
7590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7591 *) ac_try_echo=$ac_try;;
7592esac
7593eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7594 (eval "$ac_link") 2>conftest.er1
7595 ac_status=$?
7596 grep -v '^ *+' conftest.er1 >conftest.err
7597 rm -f conftest.er1
7598 cat conftest.err >&5
7599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7600 (exit $ac_status); } &&
7601 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7602 { (case "(($ac_try" in
7603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7604 *) ac_try_echo=$ac_try;;
7605esac
7606eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7607 (eval "$ac_try") 2>&5
7608 ac_status=$?
7609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7610 (exit $ac_status); }; } &&
7611 { ac_try='test -s conftest$ac_exeext'
7612 { (case "(($ac_try" in
7613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7614 *) ac_try_echo=$ac_try;;
7615esac
7616eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7617 (eval "$ac_try") 2>&5
7618 ac_status=$?
7619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7620 (exit $ac_status); }; }; then
7621 eval "$as_ac_var=yes"
7622else
7623 echo "$as_me: failed program was:" >&5
7624sed 's/^/| /' conftest.$ac_ext >&5
7625
7626 eval "$as_ac_var=no"
7627fi
7628
7629rm -f core conftest.err conftest.$ac_objext \
7630 conftest$ac_exeext conftest.$ac_ext
7631fi
7632ac_res=`eval echo '${'$as_ac_var'}'`
7633 { echo "$as_me:$LINENO: result: $ac_res" >&5
7634echo "${ECHO_T}$ac_res" >&6; }
7635if test `eval echo '${'$as_ac_var'}'` = yes; then
7636 cat >>confdefs.h <<_ACEOF
7637#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7638_ACEOF
7639
7640fi
7641done
7642
7643
7644for ac_func in getopt_long
7645do
7646as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7647{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7648echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7649if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7650 echo $ECHO_N "(cached) $ECHO_C" >&6
7651else
7652 cat >conftest.$ac_ext <<_ACEOF
7653/* confdefs.h. */
7654_ACEOF
7655cat confdefs.h >>conftest.$ac_ext
7656cat >>conftest.$ac_ext <<_ACEOF
7657/* end confdefs.h. */
7658/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7659 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7660#define $ac_func innocuous_$ac_func
7661
7662/* System header to define __stub macros and hopefully few prototypes,
7663 which can conflict with char $ac_func (); below.
7664 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7665 <limits.h> exists even on freestanding compilers. */
7666
7667#ifdef __STDC__
7668# include <limits.h>
7669#else
7670# include <assert.h>
7671#endif
7672
7673#undef $ac_func
7674
7675/* Override any GCC internal prototype to avoid an error.
7676 Use char because int might match the return type of a GCC
7677 builtin and then its argument prototype would still apply. */
7678#ifdef __cplusplus
7679extern "C"
7680#endif
7681char $ac_func ();
7682/* The GNU C library defines this for functions which it implements
7683 to always fail with ENOSYS. Some functions are actually named
7684 something starting with __ and the normal name is an alias. */
7685#if defined __stub_$ac_func || defined __stub___$ac_func
7686choke me
7687#endif
7688
7689int
7690main ()
7691{
7692return $ac_func ();
7693 ;
7694 return 0;
7695}
7696_ACEOF
7697rm -f conftest.$ac_objext conftest$ac_exeext
7698if { (ac_try="$ac_link"
7699case "(($ac_try" in
7700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7701 *) ac_try_echo=$ac_try;;
7702esac
7703eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7704 (eval "$ac_link") 2>conftest.er1
7705 ac_status=$?
7706 grep -v '^ *+' conftest.er1 >conftest.err
7707 rm -f conftest.er1
7708 cat conftest.err >&5
7709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7710 (exit $ac_status); } &&
7711 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7712 { (case "(($ac_try" in
7713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7714 *) ac_try_echo=$ac_try;;
7715esac
7716eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7717 (eval "$ac_try") 2>&5
7718 ac_status=$?
7719 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7720 (exit $ac_status); }; } &&
7721 { ac_try='test -s conftest$ac_exeext'
7722 { (case "(($ac_try" in
7723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7724 *) ac_try_echo=$ac_try;;
7725esac
7726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7727 (eval "$ac_try") 2>&5
7728 ac_status=$?
7729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7730 (exit $ac_status); }; }; then
7731 eval "$as_ac_var=yes"
7732else
7733 echo "$as_me: failed program was:" >&5
7734sed 's/^/| /' conftest.$ac_ext >&5
7735
7736 eval "$as_ac_var=no"
7737fi
7738
7739rm -f core conftest.err conftest.$ac_objext \
7740 conftest$ac_exeext conftest.$ac_ext
7741fi
7742ac_res=`eval echo '${'$as_ac_var'}'`
7743 { echo "$as_me:$LINENO: result: $ac_res" >&5
7744echo "${ECHO_T}$ac_res" >&6; }
7745if test `eval echo '${'$as_ac_var'}'` = yes; then
7746 cat >>confdefs.h <<_ACEOF
7747#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7748_ACEOF
7749
7750fi
7751done
7752
7753
7754for ac_func in getdomainname
7755do
7756as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7757{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7758echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7759if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7760 echo $ECHO_N "(cached) $ECHO_C" >&6
7761else
7762 cat >conftest.$ac_ext <<_ACEOF
7763/* confdefs.h. */
7764_ACEOF
7765cat confdefs.h >>conftest.$ac_ext
7766cat >>conftest.$ac_ext <<_ACEOF
7767/* end confdefs.h. */
7768/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7769 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7770#define $ac_func innocuous_$ac_func
7771
7772/* System header to define __stub macros and hopefully few prototypes,
7773 which can conflict with char $ac_func (); below.
7774 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7775 <limits.h> exists even on freestanding compilers. */
7776
7777#ifdef __STDC__
7778# include <limits.h>
7779#else
7780# include <assert.h>
7781#endif
7782
7783#undef $ac_func
7784
7785/* Override any GCC internal prototype to avoid an error.
7786 Use char because int might match the return type of a GCC
7787 builtin and then its argument prototype would still apply. */
7788#ifdef __cplusplus
7789extern "C"
7790#endif
7791char $ac_func ();
7792/* The GNU C library defines this for functions which it implements
7793 to always fail with ENOSYS. Some functions are actually named
7794 something starting with __ and the normal name is an alias. */
7795#if defined __stub_$ac_func || defined __stub___$ac_func
7796choke me
7797#endif
7798
7799int
7800main ()
7801{
7802return $ac_func ();
7803 ;
7804 return 0;
7805}
7806_ACEOF
7807rm -f conftest.$ac_objext conftest$ac_exeext
7808if { (ac_try="$ac_link"
7809case "(($ac_try" in
7810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7811 *) ac_try_echo=$ac_try;;
7812esac
7813eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7814 (eval "$ac_link") 2>conftest.er1
7815 ac_status=$?
7816 grep -v '^ *+' conftest.er1 >conftest.err
7817 rm -f conftest.er1
7818 cat conftest.err >&5
7819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7820 (exit $ac_status); } &&
7821 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7822 { (case "(($ac_try" in
7823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7824 *) ac_try_echo=$ac_try;;
7825esac
7826eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7827 (eval "$ac_try") 2>&5
7828 ac_status=$?
7829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7830 (exit $ac_status); }; } &&
7831 { ac_try='test -s conftest$ac_exeext'
7832 { (case "(($ac_try" in
7833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7834 *) ac_try_echo=$ac_try;;
7835esac
7836eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7837 (eval "$ac_try") 2>&5
7838 ac_status=$?
7839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7840 (exit $ac_status); }; }; then
7841 eval "$as_ac_var=yes"
7842else
7843 echo "$as_me: failed program was:" >&5
7844sed 's/^/| /' conftest.$ac_ext >&5
7845
7846 eval "$as_ac_var=no"
7847fi
7848
7849rm -f core conftest.err conftest.$ac_objext \
7850 conftest$ac_exeext conftest.$ac_ext
7851fi
7852ac_res=`eval echo '${'$as_ac_var'}'`
7853 { echo "$as_me:$LINENO: result: $ac_res" >&5
7854echo "${ECHO_T}$ac_res" >&6; }
7855if test `eval echo '${'$as_ac_var'}'` = yes; then
7856 cat >>confdefs.h <<_ACEOF
7857#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7858_ACEOF
7859
7860fi
7861done
7862
7863
7864for ac_func in gethostname
7865do
7866as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7867{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7868echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7869if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7870 echo $ECHO_N "(cached) $ECHO_C" >&6
7871else
7872 cat >conftest.$ac_ext <<_ACEOF
7873/* confdefs.h. */
7874_ACEOF
7875cat confdefs.h >>conftest.$ac_ext
7876cat >>conftest.$ac_ext <<_ACEOF
7877/* end confdefs.h. */
7878/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7880#define $ac_func innocuous_$ac_func
7881
7882/* System header to define __stub macros and hopefully few prototypes,
7883 which can conflict with char $ac_func (); below.
7884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7885 <limits.h> exists even on freestanding compilers. */
7886
7887#ifdef __STDC__
7888# include <limits.h>
7889#else
7890# include <assert.h>
7891#endif
7892
7893#undef $ac_func
7894
7895/* Override any GCC internal prototype to avoid an error.
7896 Use char because int might match the return type of a GCC
7897 builtin and then its argument prototype would still apply. */
7898#ifdef __cplusplus
7899extern "C"
7900#endif
7901char $ac_func ();
7902/* The GNU C library defines this for functions which it implements
7903 to always fail with ENOSYS. Some functions are actually named
7904 something starting with __ and the normal name is an alias. */
7905#if defined __stub_$ac_func || defined __stub___$ac_func
7906choke me
7907#endif
7908
7909int
7910main ()
7911{
7912return $ac_func ();
7913 ;
7914 return 0;
7915}
7916_ACEOF
7917rm -f conftest.$ac_objext conftest$ac_exeext
7918if { (ac_try="$ac_link"
7919case "(($ac_try" in
7920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7921 *) ac_try_echo=$ac_try;;
7922esac
7923eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7924 (eval "$ac_link") 2>conftest.er1
7925 ac_status=$?
7926 grep -v '^ *+' conftest.er1 >conftest.err
7927 rm -f conftest.er1
7928 cat conftest.err >&5
7929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7930 (exit $ac_status); } &&
7931 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
7932 { (case "(($ac_try" in
7933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7934 *) ac_try_echo=$ac_try;;
7935esac
7936eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7937 (eval "$ac_try") 2>&5
7938 ac_status=$?
7939 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7940 (exit $ac_status); }; } &&
7941 { ac_try='test -s conftest$ac_exeext'
7942 { (case "(($ac_try" in
7943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7944 *) ac_try_echo=$ac_try;;
7945esac
7946eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7947 (eval "$ac_try") 2>&5
7948 ac_status=$?
7949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7950 (exit $ac_status); }; }; then
7951 eval "$as_ac_var=yes"
7952else
7953 echo "$as_me: failed program was:" >&5
7954sed 's/^/| /' conftest.$ac_ext >&5
7955
7956 eval "$as_ac_var=no"
7957fi
7958
7959rm -f core conftest.err conftest.$ac_objext \
7960 conftest$ac_exeext conftest.$ac_ext
7961fi
7962ac_res=`eval echo '${'$as_ac_var'}'`
7963 { echo "$as_me:$LINENO: result: $ac_res" >&5
7964echo "${ECHO_T}$ac_res" >&6; }
7965if test `eval echo '${'$as_ac_var'}'` = yes; then
7966 cat >>confdefs.h <<_ACEOF
7967#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
7968_ACEOF
7969
7970fi
7971done
7972
7973
7974for ac_func in gethostbyname
7975do
7976as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
7977{ echo "$as_me:$LINENO: checking for $ac_func" >&5
7978echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
7979if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7980 echo $ECHO_N "(cached) $ECHO_C" >&6
7981else
7982 cat >conftest.$ac_ext <<_ACEOF
7983/* confdefs.h. */
7984_ACEOF
7985cat confdefs.h >>conftest.$ac_ext
7986cat >>conftest.$ac_ext <<_ACEOF
7987/* end confdefs.h. */
7988/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
7989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
7990#define $ac_func innocuous_$ac_func
7991
7992/* System header to define __stub macros and hopefully few prototypes,
7993 which can conflict with char $ac_func (); below.
7994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7995 <limits.h> exists even on freestanding compilers. */
7996
7997#ifdef __STDC__
7998# include <limits.h>
7999#else
8000# include <assert.h>
8001#endif
8002
8003#undef $ac_func
8004
8005/* Override any GCC internal prototype to avoid an error.
8006 Use char because int might match the return type of a GCC
8007 builtin and then its argument prototype would still apply. */
8008#ifdef __cplusplus
8009extern "C"
8010#endif
8011char $ac_func ();
8012/* The GNU C library defines this for functions which it implements
8013 to always fail with ENOSYS. Some functions are actually named
8014 something starting with __ and the normal name is an alias. */
8015#if defined __stub_$ac_func || defined __stub___$ac_func
8016choke me
8017#endif
8018
8019int
8020main ()
8021{
8022return $ac_func ();
8023 ;
8024 return 0;
8025}
8026_ACEOF
8027rm -f conftest.$ac_objext conftest$ac_exeext
8028if { (ac_try="$ac_link"
8029case "(($ac_try" in
8030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8031 *) ac_try_echo=$ac_try;;
8032esac
8033eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8034 (eval "$ac_link") 2>conftest.er1
8035 ac_status=$?
8036 grep -v '^ *+' conftest.er1 >conftest.err
8037 rm -f conftest.er1
8038 cat conftest.err >&5
8039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8040 (exit $ac_status); } &&
8041 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8042 { (case "(($ac_try" in
8043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8044 *) ac_try_echo=$ac_try;;
8045esac
8046eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8047 (eval "$ac_try") 2>&5
8048 ac_status=$?
8049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8050 (exit $ac_status); }; } &&
8051 { ac_try='test -s conftest$ac_exeext'
8052 { (case "(($ac_try" in
8053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8054 *) ac_try_echo=$ac_try;;
8055esac
8056eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8057 (eval "$ac_try") 2>&5
8058 ac_status=$?
8059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8060 (exit $ac_status); }; }; then
8061 eval "$as_ac_var=yes"
8062else
8063 echo "$as_me: failed program was:" >&5
8064sed 's/^/| /' conftest.$ac_ext >&5
8065
8066 eval "$as_ac_var=no"
8067fi
8068
8069rm -f core conftest.err conftest.$ac_objext \
8070 conftest$ac_exeext conftest.$ac_ext
8071fi
8072ac_res=`eval echo '${'$as_ac_var'}'`
8073 { echo "$as_me:$LINENO: result: $ac_res" >&5
8074echo "${ECHO_T}$ac_res" >&6; }
8075if test `eval echo '${'$as_ac_var'}'` = yes; then
8076 cat >>confdefs.h <<_ACEOF
8077#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8078_ACEOF
8079
8080fi
8081done
8082
8083
8084for ac_func in sigset
8085do
8086as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8087{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8088echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8089if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8090 echo $ECHO_N "(cached) $ECHO_C" >&6
8091else
8092 cat >conftest.$ac_ext <<_ACEOF
8093/* confdefs.h. */
8094_ACEOF
8095cat confdefs.h >>conftest.$ac_ext
8096cat >>conftest.$ac_ext <<_ACEOF
8097/* end confdefs.h. */
8098/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8099 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8100#define $ac_func innocuous_$ac_func
8101
8102/* System header to define __stub macros and hopefully few prototypes,
8103 which can conflict with char $ac_func (); below.
8104 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8105 <limits.h> exists even on freestanding compilers. */
8106
8107#ifdef __STDC__
8108# include <limits.h>
8109#else
8110# include <assert.h>
8111#endif
8112
8113#undef $ac_func
8114
8115/* Override any GCC internal prototype to avoid an error.
8116 Use char because int might match the return type of a GCC
8117 builtin and then its argument prototype would still apply. */
8118#ifdef __cplusplus
8119extern "C"
8120#endif
8121char $ac_func ();
8122/* The GNU C library defines this for functions which it implements
8123 to always fail with ENOSYS. Some functions are actually named
8124 something starting with __ and the normal name is an alias. */
8125#if defined __stub_$ac_func || defined __stub___$ac_func
8126choke me
8127#endif
8128
8129int
8130main ()
8131{
8132return $ac_func ();
8133 ;
8134 return 0;
8135}
8136_ACEOF
8137rm -f conftest.$ac_objext conftest$ac_exeext
8138if { (ac_try="$ac_link"
8139case "(($ac_try" in
8140 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8141 *) ac_try_echo=$ac_try;;
8142esac
8143eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8144 (eval "$ac_link") 2>conftest.er1
8145 ac_status=$?
8146 grep -v '^ *+' conftest.er1 >conftest.err
8147 rm -f conftest.er1
8148 cat conftest.err >&5
8149 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8150 (exit $ac_status); } &&
8151 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8152 { (case "(($ac_try" in
8153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8154 *) ac_try_echo=$ac_try;;
8155esac
8156eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8157 (eval "$ac_try") 2>&5
8158 ac_status=$?
8159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8160 (exit $ac_status); }; } &&
8161 { ac_try='test -s conftest$ac_exeext'
8162 { (case "(($ac_try" in
8163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8164 *) ac_try_echo=$ac_try;;
8165esac
8166eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8167 (eval "$ac_try") 2>&5
8168 ac_status=$?
8169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8170 (exit $ac_status); }; }; then
8171 eval "$as_ac_var=yes"
8172else
8173 echo "$as_me: failed program was:" >&5
8174sed 's/^/| /' conftest.$ac_ext >&5
8175
8176 eval "$as_ac_var=no"
8177fi
8178
8179rm -f core conftest.err conftest.$ac_objext \
8180 conftest$ac_exeext conftest.$ac_ext
8181fi
8182ac_res=`eval echo '${'$as_ac_var'}'`
8183 { echo "$as_me:$LINENO: result: $ac_res" >&5
8184echo "${ECHO_T}$ac_res" >&6; }
8185if test `eval echo '${'$as_ac_var'}'` = yes; then
8186 cat >>confdefs.h <<_ACEOF
8187#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8188_ACEOF
8189
8190fi
8191done
8192
8193
8194for ac_func in strtoull
8195do
8196as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8197{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8198echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8199if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8200 echo $ECHO_N "(cached) $ECHO_C" >&6
8201else
8202 cat >conftest.$ac_ext <<_ACEOF
8203/* confdefs.h. */
8204_ACEOF
8205cat confdefs.h >>conftest.$ac_ext
8206cat >>conftest.$ac_ext <<_ACEOF
8207/* end confdefs.h. */
8208/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8209 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8210#define $ac_func innocuous_$ac_func
8211
8212/* System header to define __stub macros and hopefully few prototypes,
8213 which can conflict with char $ac_func (); below.
8214 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8215 <limits.h> exists even on freestanding compilers. */
8216
8217#ifdef __STDC__
8218# include <limits.h>
8219#else
8220# include <assert.h>
8221#endif
8222
8223#undef $ac_func
8224
8225/* Override any GCC internal prototype to avoid an error.
8226 Use char because int might match the return type of a GCC
8227 builtin and then its argument prototype would still apply. */
8228#ifdef __cplusplus
8229extern "C"
8230#endif
8231char $ac_func ();
8232/* The GNU C library defines this for functions which it implements
8233 to always fail with ENOSYS. Some functions are actually named
8234 something starting with __ and the normal name is an alias. */
8235#if defined __stub_$ac_func || defined __stub___$ac_func
8236choke me
8237#endif
8238
8239int
8240main ()
8241{
8242return $ac_func ();
8243 ;
8244 return 0;
8245}
8246_ACEOF
8247rm -f conftest.$ac_objext conftest$ac_exeext
8248if { (ac_try="$ac_link"
8249case "(($ac_try" in
8250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8251 *) ac_try_echo=$ac_try;;
8252esac
8253eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8254 (eval "$ac_link") 2>conftest.er1
8255 ac_status=$?
8256 grep -v '^ *+' conftest.er1 >conftest.err
8257 rm -f conftest.er1
8258 cat conftest.err >&5
8259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8260 (exit $ac_status); } &&
8261 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8262 { (case "(($ac_try" in
8263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8264 *) ac_try_echo=$ac_try;;
8265esac
8266eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8267 (eval "$ac_try") 2>&5
8268 ac_status=$?
8269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8270 (exit $ac_status); }; } &&
8271 { ac_try='test -s conftest$ac_exeext'
8272 { (case "(($ac_try" in
8273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8274 *) ac_try_echo=$ac_try;;
8275esac
8276eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8277 (eval "$ac_try") 2>&5
8278 ac_status=$?
8279 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8280 (exit $ac_status); }; }; then
8281 eval "$as_ac_var=yes"
8282else
8283 echo "$as_me: failed program was:" >&5
8284sed 's/^/| /' conftest.$ac_ext >&5
8285
8286 eval "$as_ac_var=no"
8287fi
8288
8289rm -f core conftest.err conftest.$ac_objext \
8290 conftest$ac_exeext conftest.$ac_ext
8291fi
8292ac_res=`eval echo '${'$as_ac_var'}'`
8293 { echo "$as_me:$LINENO: result: $ac_res" >&5
8294echo "${ECHO_T}$ac_res" >&6; }
8295if test `eval echo '${'$as_ac_var'}'` = yes; then
8296 cat >>confdefs.h <<_ACEOF
8297#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8298_ACEOF
8299
8300fi
8301done
8302
8303
8304for ac_func in uname
8305do
8306as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8307{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8308echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8309if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
8310 echo $ECHO_N "(cached) $ECHO_C" >&6
8311else
8312 cat >conftest.$ac_ext <<_ACEOF
8313/* confdefs.h. */
8314_ACEOF
8315cat confdefs.h >>conftest.$ac_ext
8316cat >>conftest.$ac_ext <<_ACEOF
8317/* end confdefs.h. */
8318/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
8319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
8320#define $ac_func innocuous_$ac_func
8321
8322/* System header to define __stub macros and hopefully few prototypes,
8323 which can conflict with char $ac_func (); below.
8324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8325 <limits.h> exists even on freestanding compilers. */
8326
8327#ifdef __STDC__
8328# include <limits.h>
8329#else
8330# include <assert.h>
8331#endif
8332
8333#undef $ac_func
8334
8335/* Override any GCC internal prototype to avoid an error.
8336 Use char because int might match the return type of a GCC
8337 builtin and then its argument prototype would still apply. */
8338#ifdef __cplusplus
8339extern "C"
8340#endif
8341char $ac_func ();
8342/* The GNU C library defines this for functions which it implements
8343 to always fail with ENOSYS. Some functions are actually named
8344 something starting with __ and the normal name is an alias. */
8345#if defined __stub_$ac_func || defined __stub___$ac_func
8346choke me
8347#endif
8348
8349int
8350main ()
8351{
8352return $ac_func ();
8353 ;
8354 return 0;
8355}
8356_ACEOF
8357rm -f conftest.$ac_objext conftest$ac_exeext
8358if { (ac_try="$ac_link"
8359case "(($ac_try" in
8360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8361 *) ac_try_echo=$ac_try;;
8362esac
8363eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8364 (eval "$ac_link") 2>conftest.er1
8365 ac_status=$?
8366 grep -v '^ *+' conftest.er1 >conftest.err
8367 rm -f conftest.er1
8368 cat conftest.err >&5
8369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8370 (exit $ac_status); } &&
8371 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8372 { (case "(($ac_try" in
8373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8374 *) ac_try_echo=$ac_try;;
8375esac
8376eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8377 (eval "$ac_try") 2>&5
8378 ac_status=$?
8379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8380 (exit $ac_status); }; } &&
8381 { ac_try='test -s conftest$ac_exeext'
8382 { (case "(($ac_try" in
8383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8384 *) ac_try_echo=$ac_try;;
8385esac
8386eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8387 (eval "$ac_try") 2>&5
8388 ac_status=$?
8389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8390 (exit $ac_status); }; }; then
8391 eval "$as_ac_var=yes"
8392else
8393 echo "$as_me: failed program was:" >&5
8394sed 's/^/| /' conftest.$ac_ext >&5
8395
8396 eval "$as_ac_var=no"
8397fi
8398
8399rm -f core conftest.err conftest.$ac_objext \
8400 conftest$ac_exeext conftest.$ac_ext
8401fi
8402ac_res=`eval echo '${'$as_ac_var'}'`
8403 { echo "$as_me:$LINENO: result: $ac_res" >&5
8404echo "${ECHO_T}$ac_res" >&6; }
8405if test `eval echo '${'$as_ac_var'}'` = yes; then
8406 cat >>confdefs.h <<_ACEOF
8407#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
8408_ACEOF
8409
8410fi
8411done
8412
8413
8414# Check whether snprintf appends null char and returns expected length on overflow
8415
8416
8417{ echo "$as_me:$LINENO: checking for working snprintf" >&5
8418echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6; }
8419if test "$cross_compiling" = yes; then
8420 libc_have_working_snprintf=no
8421else
8422 cat >conftest.$ac_ext <<_ACEOF
8423/* confdefs.h. */
8424_ACEOF
8425cat confdefs.h >>conftest.$ac_ext
8426cat >>conftest.$ac_ext <<_ACEOF
8427/* end confdefs.h. */
8428#include <stdio.h>
8429int
8430main ()
8431{
8432 char buf[]="ABCDEFGHI";
8433 int i=snprintf(buf,8,"12345678"); return !(!buf[7] && i==8);
8434 ;
8435 return 0;
8436}
8437_ACEOF
8438rm -f conftest$ac_exeext
8439if { (ac_try="$ac_link"
8440case "(($ac_try" in
8441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8442 *) ac_try_echo=$ac_try;;
8443esac
8444eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8445 (eval "$ac_link") 2>&5
8446 ac_status=$?
8447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8448 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
8449 { (case "(($ac_try" in
8450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8451 *) ac_try_echo=$ac_try;;
8452esac
8453eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8454 (eval "$ac_try") 2>&5
8455 ac_status=$?
8456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8457 (exit $ac_status); }; }; then
8458 libc_have_working_snprintf=yes
8459else
8460 echo "$as_me: program exited with status $ac_status" >&5
8461echo "$as_me: failed program was:" >&5
8462sed 's/^/| /' conftest.$ac_ext >&5
8463
8464( exit $ac_status )
8465libc_have_working_snprintf=no
8466fi
8467rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
8468fi
8469
8470
8471
8472if test "$libc_have_working_snprintf" = "yes"; then
8473 cat >>confdefs.h <<\_ACEOF
8474#define HAVE_WORKING_SNPRINTF 1
8475_ACEOF
8476
8477fi
8478{ echo "$as_me:$LINENO: result: $libc_have_working_snprintf" >&5
8479echo "${ECHO_T}$libc_have_working_snprintf" >&6; }
8480
8481# check for __attribute__((packed))
8482
8483
8484{ echo "$as_me:$LINENO: checking whether C++ compiler supports __attribute__((packed))" >&5
8485echo $ECHO_N "checking whether C++ compiler supports __attribute__((packed))... $ECHO_C" >&6; }
8486cat >conftest.$ac_ext <<_ACEOF
8487/* confdefs.h. */
8488_ACEOF
8489cat confdefs.h >>conftest.$ac_ext
8490cat >>conftest.$ac_ext <<_ACEOF
8491/* end confdefs.h. */
8492
8493int
8494main ()
8495{
8496struct a { int b; } __attribute__((packed));
8497 ;
8498 return 0;
8499}
8500_ACEOF
8501rm -f conftest.$ac_objext
8502if { (ac_try="$ac_compile"
8503case "(($ac_try" in
8504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8505 *) ac_try_echo=$ac_try;;
8506esac
8507eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8508 (eval "$ac_compile") 2>conftest.er1
8509 ac_status=$?
8510 grep -v '^ *+' conftest.er1 >conftest.err
8511 rm -f conftest.er1
8512 cat conftest.err >&5
8513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8514 (exit $ac_status); } &&
8515 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
8516 { (case "(($ac_try" in
8517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8518 *) ac_try_echo=$ac_try;;
8519esac
8520eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8521 (eval "$ac_try") 2>&5
8522 ac_status=$?
8523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8524 (exit $ac_status); }; } &&
8525 { ac_try='test -s conftest.$ac_objext'
8526 { (case "(($ac_try" in
8527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8528 *) ac_try_echo=$ac_try;;
8529esac
8530eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
8531 (eval "$ac_try") 2>&5
8532 ac_status=$?
8533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8534 (exit $ac_status); }; }; then
8535 gcc_have_attr_packed=yes
8536else
8537 echo "$as_me: failed program was:" >&5
8538sed 's/^/| /' conftest.$ac_ext >&5
8539
8540 gcc_have_attr_packed=no
8541fi
8542
8543rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8544
8545if test "$gcc_have_attr_packed" = "yes"; then
8546 cat >>confdefs.h <<\_ACEOF
8547#define HAVE_ATTR_PACKED 1
8548_ACEOF
8549
8550fi
8551{ echo "$as_me:$LINENO: result: $gcc_have_attr_packed" >&5
8552echo "${ECHO_T}$gcc_have_attr_packed" >&6; }
8553
8554
8555
8556
8557
8558exampledir='${docdir}/examplescripts'
8559
8560
8561
8562# Check whether --with-initscriptdir was given.
8563if test "${with_initscriptdir+set}" = set; then
8564 withval=$with_initscriptdir; initddir="$withval"
8565else
8566 initddir='${sysconfdir}/rc.d/init.d'
8567fi
8568
8569
8570
8571
8572# Check whether --with-docdir was given.
8573if test "${with_docdir+set}" = set; then
8574 withval=$with_docdir; docdir="$withval"
8575else
8576 docdir='${prefix}/share/doc/${PACKAGE}-${VERSION}'
8577fi
8578
8579
8580
8581# Check whether --enable-sample was given.
8582if test "${enable_sample+set}" = set; then
8583 enableval=$enable_sample; smartd_suffix='.sample'
8584else
8585 smartd_suffix=''
8586fi
8587
8588
8589
8590
8591if test $smartd_suffix; then
8592 SMARTD_SUFFIX_TRUE=
8593 SMARTD_SUFFIX_FALSE='#'
8594else
8595 SMARTD_SUFFIX_TRUE='#'
8596 SMARTD_SUFFIX_FALSE=
8597fi
8598
8599
8600if test "$prefix" = "NONE"; then
8601 if test "$mandir" = '${prefix}/man'; then
8602 mandir='${prefix}/share/man'
8603
8604 fi
8605fi
8606
8607releaseversion='${PACKAGE}-${VERSION}'
8608
8609
8610
8611
8612case "${host}" in
8613 *-*-linux*)
8614 os_deps='os_linux.o cciss.o'
8615
8616 os_libs=''
8617 ;;
8618 *-*-freebsd*|*-*-dragonfly*)
8619 os_deps='os_freebsd.o cciss.o'
8620
8621 os_libs='-lcam'
8622;;
8623 sparc-*-solaris*)
8624
8625cat >>confdefs.h <<_ACEOF
8626#define DEFAULT_MAILER "mailx"
8627_ACEOF
8628
8629
8630cat >>confdefs.h <<_ACEOF
8631#define NEED_SOLARIS_ATA_CODE "os_solaris_ata.s"
8632_ACEOF
8633
8634 os_deps='os_solaris.o os_solaris_ata.o'
8635
8636 os_libs=''
8637 ;;
8638 *-pc-solaris*)
8639
8640cat >>confdefs.h <<_ACEOF
8641#define DEFAULT_MAILER "mailx"
8642_ACEOF
8643
8644 os_deps='os_solaris.o'
8645
8646 os_libs=''
8647 ;;
8648 *-*-netbsd*)
8649 os_deps='os_netbsd.o'
8650
8651 os_libs='-lutil'
8652 ;;
8653 *-*-openbsd*)
8654 os_deps='os_openbsd.o'
8655
8656 os_libs='-lutil'
8657 ;;
8658 *-*-cygwin*)
8659 os_deps='os_win32.o'
8660
8661 os_libs=''
8662 ;;
8663 *-*-mingw*)
8664 os_deps='os_win32.o'
8665
8666 os_libs=''
8667 ;;
8668 *-*-darwin*)
8669 os_deps='os_darwin.o'
8670
8671 os_libs='-framework CoreFoundation -framework IOKit'
8672 ;;
8673 *-*-nto-qnx*)
8674 os_deps='os_qnxnto.o'
8675
8676 os_libs=''
8677 ;;
8678
8679 *)
8680 os_deps='os_generic.o'
8681
8682 os_libs=''
8683 ;;
8684esac
8685
8686# Define symbols for optional functions in OS specific module
8687case "${os_deps}" in
8688 os_win32*)
8689
8690cat >>confdefs.h <<\_ACEOF
8691#define HAVE_ATA_IDENTIFY_IS_CACHED 1
8692_ACEOF
8693 ;;
8694esac
8695case "${os_deps}" in
8696 os_win32*)
8697
8698cat >>confdefs.h <<\_ACEOF
8699#define HAVE_GET_OS_VERSION_STR 1
8700_ACEOF
8701 ;;
8702esac
8703
8704
8705
8706if echo $host_os | grep '^darwin' > /dev/null; then
8707 OS_DARWIN_TRUE=
8708 OS_DARWIN_FALSE='#'
8709else
8710 OS_DARWIN_TRUE='#'
8711 OS_DARWIN_FALSE=
8712fi
8713
8714
8715
8716if echo $host_os | grep '^solaris' > /dev/null; then
8717 OS_SOLARIS_TRUE=
8718 OS_SOLARIS_FALSE='#'
8719else
8720 OS_SOLARIS_TRUE='#'
8721 OS_SOLARIS_FALSE=
8722fi
8723
8724
8725
8726if echo $host_os | grep '^mingw' > /dev/null; then
8727 OS_WIN32_MINGW_TRUE=
8728 OS_WIN32_MINGW_FALSE='#'
8729else
8730 OS_WIN32_MINGW_TRUE='#'
8731 OS_WIN32_MINGW_FALSE=
8732fi
8733
8734
8735if test "x$GCC" = "xyes"; then
8736 if test -z "`echo "$CXXFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
8737 CXXFLAGS="$CXXFLAGS -Wall"
8738 fi
8739# In the next line, do NOT delete the 2 spaces inside double quotes.
8740 if test -z "`echo "$CXXFLAGS " | grep "\-W " 2> /dev/null`" ; then
8741 CXXFLAGS="$CXXFLAGS -W"
8742 fi
8743 case "${host}" in
8744 *-*-mingw*)
8745 # MinGW uses MSVCRT.DLL which uses printf format "%I64d" and not "%lld" for int64_t
8746 CXXFLAGS="$CXXFLAGS -Wno-format";;
8747 esac
8748else
8749 case "${host}" in
8750 *-*-solaris*)
8751 if test -z "`echo "$CXXFLAGS" | grep "\-xmemalign" 2> /dev/null`" ; then
8752 CXXFLAGS="-xmemalign=1i $CXXFLAGS"
8753 fi
8754 if test -z "`echo "$CXXFLAGS" | grep "\-xO" 2> /dev/null`" ; then
8755 CXXFLAGS="-xO2 $CXXFLAGS"
8756 fi
8757 if test -z "`echo "$CXXFLAGS" | grep "\-erroff" 2> /dev/null`" ; then
8758 CXXFLAGS="-erroff=%none,wbadinitl,wbadasgl,badargtypel2w $CXXFLAGS"
8759 fi
8760 esac
8761fi
8762
8763
8764cat >>confdefs.h <<_ACEOF
8765#define SMARTMONTOOLS_BUILD_HOST "${host}"
8766_ACEOF
8767
8768
8769
8770
8771ac_config_files="$ac_config_files Makefile examplescripts/Makefile"
8772
8773cat >confcache <<\_ACEOF
8774# This file is a shell script that caches the results of configure
8775# tests run on this system so they can be shared between configure
8776# scripts and configure runs, see configure's option --config-cache.
8777# It is not useful on other systems. If it contains results you don't
8778# want to keep, you may remove or edit it.
8779#
8780# config.status only pays attention to the cache file if you give it
8781# the --recheck option to rerun configure.
8782#
8783# `ac_cv_env_foo' variables (set or unset) will be overridden when
8784# loading this file, other *unset* `ac_cv_foo' will be assigned the
8785# following values.
8786
8787_ACEOF
8788
8789# The following way of writing the cache mishandles newlines in values,
8790# but we know of no workaround that is simple, portable, and efficient.
8791# So, we kill variables containing newlines.
8792# Ultrix sh set writes to stderr and can't be redirected directly,
8793# and sets the high bit in the cache file unless we assign to the vars.
8794(
8795 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
8796 eval ac_val=\$$ac_var
8797 case $ac_val in #(
8798 *${as_nl}*)
8799 case $ac_var in #(
8800 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
8801echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
8802 esac
8803 case $ac_var in #(
8804 _ | IFS | as_nl) ;; #(
8805 *) $as_unset $ac_var ;;
8806 esac ;;
8807 esac
8808 done
8809
8810 (set) 2>&1 |
8811 case $as_nl`(ac_space=' '; set) 2>&1` in #(
8812 *${as_nl}ac_space=\ *)
8813 # `set' does not quote correctly, so add quotes (double-quote
8814 # substitution turns \\\\ into \\, and sed turns \\ into \).
8815 sed -n \
8816 "s/'/'\\\\''/g;
8817 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
8818 ;; #(
8819 *)
8820 # `set' quotes correctly as required by POSIX, so do not add quotes.
8821 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
8822 ;;
8823 esac |
8824 sort
8825) |
8826 sed '
8827 /^ac_cv_env_/b end
8828 t clear
8829 :clear
8830 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
8831 t end
8832 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
8833 :end' >>confcache
8834if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
8835 if test -w "$cache_file"; then
8836 test "x$cache_file" != "x/dev/null" &&
8837 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
8838echo "$as_me: updating cache $cache_file" >&6;}
8839 cat confcache >$cache_file
8840 else
8841 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
8842echo "$as_me: not updating unwritable cache $cache_file" >&6;}
8843 fi
8844fi
8845rm -f confcache
8846
8847test "x$prefix" = xNONE && prefix=$ac_default_prefix
8848# Let make expand exec_prefix.
8849test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
8850
8851DEFS=-DHAVE_CONFIG_H
8852
8853ac_libobjs=
8854ac_ltlibobjs=
8855for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
8856 # 1. Remove the extension, and $U if already installed.
8857 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
8858 ac_i=`echo "$ac_i" | sed "$ac_script"`
8859 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
8860 # will be set to the directory where LIBOBJS objects are built.
8861 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
8862 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
8863done
8864LIBOBJS=$ac_libobjs
8865
8866LTLIBOBJS=$ac_ltlibobjs
8867
8868
8869if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
8870 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
8871Usually this means the macro was only invoked conditionally." >&5
8872echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
8873Usually this means the macro was only invoked conditionally." >&2;}
8874 { (exit 1); exit 1; }; }
8875fi
8876if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
8877 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
8878Usually this means the macro was only invoked conditionally." >&5
8879echo "$as_me: error: conditional \"AMDEP\" was never defined.
8880Usually this means the macro was only invoked conditionally." >&2;}
8881 { (exit 1); exit 1; }; }
8882fi
8883if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
8884 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCXX\" was never defined.
8885Usually this means the macro was only invoked conditionally." >&5
8886echo "$as_me: error: conditional \"am__fastdepCXX\" was never defined.
8887Usually this means the macro was only invoked conditionally." >&2;}
8888 { (exit 1); exit 1; }; }
8889fi
8890if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
8891 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
8892Usually this means the macro was only invoked conditionally." >&5
8893echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
8894Usually this means the macro was only invoked conditionally." >&2;}
8895 { (exit 1); exit 1; }; }
8896fi
8897if test -z "${SMARTD_SUFFIX_TRUE}" && test -z "${SMARTD_SUFFIX_FALSE}"; then
8898 { { echo "$as_me:$LINENO: error: conditional \"SMARTD_SUFFIX\" was never defined.
8899Usually this means the macro was only invoked conditionally." >&5
8900echo "$as_me: error: conditional \"SMARTD_SUFFIX\" was never defined.
8901Usually this means the macro was only invoked conditionally." >&2;}
8902 { (exit 1); exit 1; }; }
8903fi
8904if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then
8905 { { echo "$as_me:$LINENO: error: conditional \"OS_DARWIN\" was never defined.
8906Usually this means the macro was only invoked conditionally." >&5
8907echo "$as_me: error: conditional \"OS_DARWIN\" was never defined.
8908Usually this means the macro was only invoked conditionally." >&2;}
8909 { (exit 1); exit 1; }; }
8910fi
8911if test -z "${OS_SOLARIS_TRUE}" && test -z "${OS_SOLARIS_FALSE}"; then
8912 { { echo "$as_me:$LINENO: error: conditional \"OS_SOLARIS\" was never defined.
8913Usually this means the macro was only invoked conditionally." >&5
8914echo "$as_me: error: conditional \"OS_SOLARIS\" was never defined.
8915Usually this means the macro was only invoked conditionally." >&2;}
8916 { (exit 1); exit 1; }; }
8917fi
8918if test -z "${OS_WIN32_MINGW_TRUE}" && test -z "${OS_WIN32_MINGW_FALSE}"; then
8919 { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32_MINGW\" was never defined.
8920Usually this means the macro was only invoked conditionally." >&5
8921echo "$as_me: error: conditional \"OS_WIN32_MINGW\" was never defined.
8922Usually this means the macro was only invoked conditionally." >&2;}
8923 { (exit 1); exit 1; }; }
8924fi
8925
8926: ${CONFIG_STATUS=./config.status}
8927ac_clean_files_save=$ac_clean_files
8928ac_clean_files="$ac_clean_files $CONFIG_STATUS"
8929{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
8930echo "$as_me: creating $CONFIG_STATUS" >&6;}
8931cat >$CONFIG_STATUS <<_ACEOF
8932#! $SHELL
8933# Generated by $as_me.
8934# Run this file to recreate the current configuration.
8935# Compiler output produced by configure, useful for debugging
8936# configure, is in config.log if it exists.
8937
8938debug=false
8939ac_cs_recheck=false
8940ac_cs_silent=false
8941SHELL=\${CONFIG_SHELL-$SHELL}
8942_ACEOF
8943
8944cat >>$CONFIG_STATUS <<\_ACEOF
8945## --------------------- ##
8946## M4sh Initialization. ##
8947## --------------------- ##
8948
8949# Be Bourne compatible
8950if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
8951 emulate sh
8952 NULLCMD=:
8953 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
8954 # is contrary to our usage. Disable this feature.
8955 alias -g '${1+"$@"}'='"$@"'
8956 setopt NO_GLOB_SUBST
8957else
8958 case `(set -o) 2>/dev/null` in *posix*) set -o posix;; esac
8959fi
8960BIN_SH=xpg4; export BIN_SH # for Tru64
8961DUALCASE=1; export DUALCASE # for MKS sh
8962
8963
8964# PATH needs CR
8965# Avoid depending upon Character Ranges.
8966as_cr_letters='abcdefghijklmnopqrstuvwxyz'
8967as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
8968as_cr_Letters=$as_cr_letters$as_cr_LETTERS
8969as_cr_digits='0123456789'
8970as_cr_alnum=$as_cr_Letters$as_cr_digits
8971
8972# The user is always right.
8973if test "${PATH_SEPARATOR+set}" != set; then
8974 echo "#! /bin/sh" >conf$$.sh
8975 echo "exit 0" >>conf$$.sh
8976 chmod +x conf$$.sh
8977 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
8978 PATH_SEPARATOR=';'
8979 else
8980 PATH_SEPARATOR=:
8981 fi
8982 rm -f conf$$.sh
8983fi
8984
8985# Support unset when possible.
8986if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
8987 as_unset=unset
8988else
8989 as_unset=false
8990fi
8991
8992
8993# IFS
8994# We need space, tab and new line, in precisely that order. Quoting is
8995# there to prevent editors from complaining about space-tab.
8996# (If _AS_PATH_WALK were called with IFS unset, it would disable word
8997# splitting by setting IFS to empty value.)
8998as_nl='
8999'
9000IFS=" "" $as_nl"
9001
9002# Find who we are. Look in the path if we contain no directory separator.
9003case $0 in
9004 *[\\/]* ) as_myself=$0 ;;
9005 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9006for as_dir in $PATH
9007do
9008 IFS=$as_save_IFS
9009 test -z "$as_dir" && as_dir=.
9010 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
9011done
9012IFS=$as_save_IFS
9013
9014 ;;
9015esac
9016# We did not find ourselves, most probably we were run as `sh COMMAND'
9017# in which case we are not to be found in the path.
9018if test "x$as_myself" = x; then
9019 as_myself=$0
9020fi
9021if test ! -f "$as_myself"; then
9022 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
9023 { (exit 1); exit 1; }
9024fi
9025
9026# Work around bugs in pre-3.0 UWIN ksh.
9027for as_var in ENV MAIL MAILPATH
9028do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9029done
9030PS1='$ '
9031PS2='> '
9032PS4='+ '
9033
9034# NLS nuisances.
9035for as_var in \
9036 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
9037 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
9038 LC_TELEPHONE LC_TIME
9039do
9040 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
9041 eval $as_var=C; export $as_var
9042 else
9043 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
9044 fi
9045done
9046
9047# Required to use basename.
9048if expr a : '\(a\)' >/dev/null 2>&1 &&
9049 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9050 as_expr=expr
9051else
9052 as_expr=false
9053fi
9054
9055if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
9056 as_basename=basename
9057else
9058 as_basename=false
9059fi
9060
9061
9062# Name of the executable.
9063as_me=`$as_basename -- "$0" ||
9064$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
9065 X"$0" : 'X\(//\)$' \| \
9066 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
9067echo X/"$0" |
9068 sed '/^.*\/\([^/][^/]*\)\/*$/{
9069 s//\1/
9070 q
9071 }
9072 /^X\/\(\/\/\)$/{
9073 s//\1/
9074 q
9075 }
9076 /^X\/\(\/\).*/{
9077 s//\1/
9078 q
9079 }
9080 s/.*/./; q'`
9081
9082# CDPATH.
9083$as_unset CDPATH
9084
9085
9086
9087 as_lineno_1=$LINENO
9088 as_lineno_2=$LINENO
9089 test "x$as_lineno_1" != "x$as_lineno_2" &&
9090 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
9091
9092 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
9093 # uniformly replaced by the line number. The first 'sed' inserts a
9094 # line-number line after each line using $LINENO; the second 'sed'
9095 # does the real work. The second script uses 'N' to pair each
9096 # line-number line with the line containing $LINENO, and appends
9097 # trailing '-' during substitution so that $LINENO is not a special
9098 # case at line end.
9099 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
9100 # scripts with optimization help from Paolo Bonzini. Blame Lee
9101 # E. McMahon (1931-1989) for sed's syntax. :-)
9102 sed -n '
9103 p
9104 /[$]LINENO/=
9105 ' <$as_myself |
9106 sed '
9107 s/[$]LINENO.*/&-/
9108 t lineno
9109 b
9110 :lineno
9111 N
9112 :loop
9113 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
9114 t loop
9115 s/-\n.*//
9116 ' >$as_me.lineno &&
9117 chmod +x "$as_me.lineno" ||
9118 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
9119 { (exit 1); exit 1; }; }
9120
9121 # Don't try to exec as it changes $[0], causing all sort of problems
9122 # (the dirname of $[0] is not the place where we might find the
9123 # original and so on. Autoconf is especially sensitive to this).
9124 . "./$as_me.lineno"
9125 # Exit status is that of the last command.
9126 exit
9127}
9128
9129
9130if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
9131 as_dirname=dirname
9132else
9133 as_dirname=false
9134fi
9135
9136ECHO_C= ECHO_N= ECHO_T=
9137case `echo -n x` in
9138-n*)
9139 case `echo 'x\c'` in
9140 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
9141 *) ECHO_C='\c';;
9142 esac;;
9143*)
9144 ECHO_N='-n';;
9145esac
9146
9147if expr a : '\(a\)' >/dev/null 2>&1 &&
9148 test "X`expr 00001 : '.*\(...\)'`" = X001; then
9149 as_expr=expr
9150else
9151 as_expr=false
9152fi
9153
9154rm -f conf$$ conf$$.exe conf$$.file
9155if test -d conf$$.dir; then
9156 rm -f conf$$.dir/conf$$.file
9157else
9158 rm -f conf$$.dir
9159 mkdir conf$$.dir
9160fi
9161echo >conf$$.file
9162if ln -s conf$$.file conf$$ 2>/dev/null; then
9163 as_ln_s='ln -s'
9164 # ... but there are two gotchas:
9165 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
9166 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
9167 # In both cases, we have to default to `cp -p'.
9168 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
9169 as_ln_s='cp -p'
9170elif ln conf$$.file conf$$ 2>/dev/null; then
9171 as_ln_s=ln
9172else
9173 as_ln_s='cp -p'
9174fi
9175rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
9176rmdir conf$$.dir 2>/dev/null
9177
9178if mkdir -p . 2>/dev/null; then
9179 as_mkdir_p=:
9180else
9181 test -d ./-p && rmdir ./-p
9182 as_mkdir_p=false
9183fi
9184
9185# Find out whether ``test -x'' works. Don't use a zero-byte file, as
9186# systems may use methods other than mode bits to determine executability.
9187cat >conf$$.file <<_ASEOF
9188#! /bin/sh
9189exit 0
9190_ASEOF
9191chmod +x conf$$.file
9192if test -x conf$$.file >/dev/null 2>&1; then
9193 as_executable_p="test -x"
9194else
9195 as_executable_p=:
9196fi
9197rm -f conf$$.file
9198
9199# Sed expression to map a string onto a valid CPP name.
9200as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
9201
9202# Sed expression to map a string onto a valid variable name.
9203as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
9204
9205
9206exec 6>&1
9207
9208# Save the log message, to keep $[0] and so on meaningful, and to
9209# report actual input values of CONFIG_FILES etc. instead of their
9210# values after options handling.
9211ac_log="
9212This file was extended by smartmontools $as_me 5.38, which was
9213generated by GNU Autoconf 2.60. Invocation command line was
9214
9215 CONFIG_FILES = $CONFIG_FILES
9216 CONFIG_HEADERS = $CONFIG_HEADERS
9217 CONFIG_LINKS = $CONFIG_LINKS
9218 CONFIG_COMMANDS = $CONFIG_COMMANDS
9219 $ $0 $@
9220
9221on `(hostname || uname -n) 2>/dev/null | sed 1q`
9222"
9223
9224_ACEOF
9225
9226cat >>$CONFIG_STATUS <<_ACEOF
9227# Files that config.status was made for.
9228config_files="$ac_config_files"
9229config_headers="$ac_config_headers"
9230config_commands="$ac_config_commands"
9231
9232_ACEOF
9233
9234cat >>$CONFIG_STATUS <<\_ACEOF
9235ac_cs_usage="\
9236\`$as_me' instantiates files from templates according to the
9237current configuration.
9238
9239Usage: $0 [OPTIONS] [FILE]...
9240
9241 -h, --help print this help, then exit
9242 -V, --version print version number, then exit
9243 -q, --quiet do not print progress messages
9244 -d, --debug don't remove temporary files
9245 --recheck update $as_me by reconfiguring in the same conditions
9246 --file=FILE[:TEMPLATE]
9247 instantiate the configuration file FILE
9248 --header=FILE[:TEMPLATE]
9249 instantiate the configuration header FILE
9250
9251Configuration files:
9252$config_files
9253
9254Configuration headers:
9255$config_headers
9256
9257Configuration commands:
9258$config_commands
9259
9260Report bugs to <bug-autoconf@gnu.org>."
9261
9262_ACEOF
9263cat >>$CONFIG_STATUS <<_ACEOF
9264ac_cs_version="\\
9265smartmontools config.status 5.38
9266configured by $0, generated by GNU Autoconf 2.60,
9267 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
9268
9269Copyright (C) 2006 Free Software Foundation, Inc.
9270This config.status script is free software; the Free Software Foundation
9271gives unlimited permission to copy, distribute and modify it."
9272
9273ac_pwd='$ac_pwd'
9274srcdir='$srcdir'
9275INSTALL='$INSTALL'
9276_ACEOF
9277
9278cat >>$CONFIG_STATUS <<\_ACEOF
9279# If no file are specified by the user, then we need to provide default
9280# value. By we need to know if files were specified by the user.
9281ac_need_defaults=:
9282while test $# != 0
9283do
9284 case $1 in
9285 --*=*)
9286 ac_option=`expr "X$1" : 'X\([^=]*\)='`
9287 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
9288 ac_shift=:
9289 ;;
9290 *)
9291 ac_option=$1
9292 ac_optarg=$2
9293 ac_shift=shift
9294 ;;
9295 esac
9296
9297 case $ac_option in
9298 # Handling of the options.
9299 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
9300 ac_cs_recheck=: ;;
9301 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
9302 echo "$ac_cs_version"; exit ;;
9303 --debug | --debu | --deb | --de | --d | -d )
9304 debug=: ;;
9305 --file | --fil | --fi | --f )
9306 $ac_shift
9307 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
9308 ac_need_defaults=false;;
9309 --header | --heade | --head | --hea )
9310 $ac_shift
9311 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
9312 ac_need_defaults=false;;
9313 --he | --h)
9314 # Conflict between --help and --header
9315 { echo "$as_me: error: ambiguous option: $1
9316Try \`$0 --help' for more information." >&2
9317 { (exit 1); exit 1; }; };;
9318 --help | --hel | -h )
9319 echo "$ac_cs_usage"; exit ;;
9320 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
9321 | -silent | --silent | --silen | --sile | --sil | --si | --s)
9322 ac_cs_silent=: ;;
9323
9324 # This is an error.
9325 -*) { echo "$as_me: error: unrecognized option: $1
9326Try \`$0 --help' for more information." >&2
9327 { (exit 1); exit 1; }; } ;;
9328
9329 *) ac_config_targets="$ac_config_targets $1"
9330 ac_need_defaults=false ;;
9331
9332 esac
9333 shift
9334done
9335
9336ac_configure_extra_args=
9337
9338if $ac_cs_silent; then
9339 exec 6>/dev/null
9340 ac_configure_extra_args="$ac_configure_extra_args --silent"
9341fi
9342
9343_ACEOF
9344cat >>$CONFIG_STATUS <<_ACEOF
9345if \$ac_cs_recheck; then
9346 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
9347 CONFIG_SHELL=$SHELL
9348 export CONFIG_SHELL
9349 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
9350fi
9351
9352_ACEOF
9353cat >>$CONFIG_STATUS <<\_ACEOF
9354exec 5>>config.log
9355{
9356 echo
9357 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
9358## Running $as_me. ##
9359_ASBOX
9360 echo "$ac_log"
9361} >&5
9362
9363_ACEOF
9364cat >>$CONFIG_STATUS <<_ACEOF
9365#
9366# INIT-COMMANDS
9367#
9368AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
9369
9370_ACEOF
9371
9372cat >>$CONFIG_STATUS <<\_ACEOF
9373
9374# Handling of arguments.
9375for ac_config_target in $ac_config_targets
9376do
9377 case $ac_config_target in
9378 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
9379 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
9380 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
9381 "examplescripts/Makefile") CONFIG_FILES="$CONFIG_FILES examplescripts/Makefile" ;;
9382
9383 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
9384echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
9385 { (exit 1); exit 1; }; };;
9386 esac
9387done
9388
9389
9390# If the user did not use the arguments to specify the items to instantiate,
9391# then the envvar interface is used. Set only those that are not.
9392# We use the long form for the default assignment because of an extremely
9393# bizarre bug on SunOS 4.1.3.
9394if $ac_need_defaults; then
9395 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
9396 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
9397 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
9398fi
9399
9400# Have a temporary directory for convenience. Make it in the build tree
9401# simply because there is no reason against having it here, and in addition,
9402# creating and moving files from /tmp can sometimes cause problems.
9403# Hook for its removal unless debugging.
9404# Note that there is a small window in which the directory will not be cleaned:
9405# after its creation but before its name has been assigned to `$tmp'.
9406$debug ||
9407{
9408 tmp=
9409 trap 'exit_status=$?
9410 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
9411' 0
9412 trap '{ (exit 1); exit 1; }' 1 2 13 15
9413}
9414# Create a (secure) tmp directory for tmp files.
9415
9416{
9417 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
9418 test -n "$tmp" && test -d "$tmp"
9419} ||
9420{
9421 tmp=./conf$$-$RANDOM
9422 (umask 077 && mkdir "$tmp")
9423} ||
9424{
9425 echo "$me: cannot create a temporary directory in ." >&2
9426 { (exit 1); exit 1; }
9427}
9428
9429#
9430# Set up the sed scripts for CONFIG_FILES section.
9431#
9432
9433# No need to generate the scripts if there are no CONFIG_FILES.
9434# This happens for instance when ./config.status config.h
9435if test -n "$CONFIG_FILES"; then
9436
9437_ACEOF
9438
9439
9440
9441ac_delim='%!_!# '
9442for ac_last_try in false false false false false :; do
9443 cat >conf$$subs.sed <<_ACEOF
9444SHELL!$SHELL$ac_delim
9445PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
9446PACKAGE_NAME!$PACKAGE_NAME$ac_delim
9447PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
9448PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
9449PACKAGE_STRING!$PACKAGE_STRING$ac_delim
9450PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
9451exec_prefix!$exec_prefix$ac_delim
9452prefix!$prefix$ac_delim
9453program_transform_name!$program_transform_name$ac_delim
9454bindir!$bindir$ac_delim
9455sbindir!$sbindir$ac_delim
9456libexecdir!$libexecdir$ac_delim
9457datarootdir!$datarootdir$ac_delim
9458datadir!$datadir$ac_delim
9459sysconfdir!$sysconfdir$ac_delim
9460sharedstatedir!$sharedstatedir$ac_delim
9461localstatedir!$localstatedir$ac_delim
9462includedir!$includedir$ac_delim
9463oldincludedir!$oldincludedir$ac_delim
9464docdir!$docdir$ac_delim
9465infodir!$infodir$ac_delim
9466htmldir!$htmldir$ac_delim
9467dvidir!$dvidir$ac_delim
9468pdfdir!$pdfdir$ac_delim
9469psdir!$psdir$ac_delim
9470libdir!$libdir$ac_delim
9471localedir!$localedir$ac_delim
9472mandir!$mandir$ac_delim
9473DEFS!$DEFS$ac_delim
9474ECHO_C!$ECHO_C$ac_delim
9475ECHO_N!$ECHO_N$ac_delim
9476ECHO_T!$ECHO_T$ac_delim
9477LIBS!$LIBS$ac_delim
9478build_alias!$build_alias$ac_delim
9479host_alias!$host_alias$ac_delim
9480target_alias!$target_alias$ac_delim
9481INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
9482INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
9483INSTALL_DATA!$INSTALL_DATA$ac_delim
9484CYGPATH_W!$CYGPATH_W$ac_delim
9485PACKAGE!$PACKAGE$ac_delim
9486VERSION!$VERSION$ac_delim
9487ACLOCAL!$ACLOCAL$ac_delim
9488AUTOCONF!$AUTOCONF$ac_delim
9489AUTOMAKE!$AUTOMAKE$ac_delim
9490AUTOHEADER!$AUTOHEADER$ac_delim
9491MAKEINFO!$MAKEINFO$ac_delim
9492install_sh!$install_sh$ac_delim
9493STRIP!$STRIP$ac_delim
9494INSTALL_STRIP_PROGRAM!$INSTALL_STRIP_PROGRAM$ac_delim
9495mkdir_p!$mkdir_p$ac_delim
9496AWK!$AWK$ac_delim
9497SET_MAKE!$SET_MAKE$ac_delim
9498am__leading_dot!$am__leading_dot$ac_delim
9499AMTAR!$AMTAR$ac_delim
9500am__tar!$am__tar$ac_delim
9501am__untar!$am__untar$ac_delim
9502MAINTAINER_MODE_TRUE!$MAINTAINER_MODE_TRUE$ac_delim
9503MAINTAINER_MODE_FALSE!$MAINTAINER_MODE_FALSE$ac_delim
9504MAINT!$MAINT$ac_delim
9505CXX!$CXX$ac_delim
9506CXXFLAGS!$CXXFLAGS$ac_delim
9507LDFLAGS!$LDFLAGS$ac_delim
9508CPPFLAGS!$CPPFLAGS$ac_delim
9509ac_ct_CXX!$ac_ct_CXX$ac_delim
9510EXEEXT!$EXEEXT$ac_delim
9511OBJEXT!$OBJEXT$ac_delim
9512DEPDIR!$DEPDIR$ac_delim
9513am__include!$am__include$ac_delim
9514am__quote!$am__quote$ac_delim
9515AMDEP_TRUE!$AMDEP_TRUE$ac_delim
9516AMDEP_FALSE!$AMDEP_FALSE$ac_delim
9517AMDEPBACKSLASH!$AMDEPBACKSLASH$ac_delim
9518CXXDEPMODE!$CXXDEPMODE$ac_delim
9519am__fastdepCXX_TRUE!$am__fastdepCXX_TRUE$ac_delim
9520am__fastdepCXX_FALSE!$am__fastdepCXX_FALSE$ac_delim
9521CC!$CC$ac_delim
9522CFLAGS!$CFLAGS$ac_delim
9523ac_ct_CC!$ac_ct_CC$ac_delim
9524CCDEPMODE!$CCDEPMODE$ac_delim
9525am__fastdepCC_TRUE!$am__fastdepCC_TRUE$ac_delim
9526am__fastdepCC_FALSE!$am__fastdepCC_FALSE$ac_delim
9527CCAS!$CCAS$ac_delim
9528CCASFLAGS!$CCASFLAGS$ac_delim
9529build!$build$ac_delim
9530build_cpu!$build_cpu$ac_delim
9531build_vendor!$build_vendor$ac_delim
9532build_os!$build_os$ac_delim
9533host!$host$ac_delim
9534host_cpu!$host_cpu$ac_delim
9535host_vendor!$host_vendor$ac_delim
9536host_os!$host_os$ac_delim
9537CXXCPP!$CXXCPP$ac_delim
9538GREP!$GREP$ac_delim
9539EGREP!$EGREP$ac_delim
9540libc_have_working_snprintf!$libc_have_working_snprintf$ac_delim
9541_ACEOF
9542
9543 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
9544 break
9545 elif $ac_last_try; then
9546 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9547echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9548 { (exit 1); exit 1; }; }
9549 else
9550 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9551 fi
9552done
9553
9554ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9555if test -n "$ac_eof"; then
9556 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9557 ac_eof=`expr $ac_eof + 1`
9558fi
9559
9560cat >>$CONFIG_STATUS <<_ACEOF
9561cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
9562/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9563_ACEOF
9564sed '
9565s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9566s/^/s,@/; s/!/@,|#_!!_#|/
9567:n
9568t n
9569s/'"$ac_delim"'$/,g/; t
9570s/$/\\/; p
9571N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9572' >>$CONFIG_STATUS <conf$$subs.sed
9573rm -f conf$$subs.sed
9574cat >>$CONFIG_STATUS <<_ACEOF
9575CEOF$ac_eof
9576_ACEOF
9577
9578
9579ac_delim='%!_!# '
9580for ac_last_try in false false false false false :; do
9581 cat >conf$$subs.sed <<_ACEOF
9582gcc_have_attr_packed!$gcc_have_attr_packed$ac_delim
9583ASFLAGS!$ASFLAGS$ac_delim
9584exampledir!$exampledir$ac_delim
9585initddir!$initddir$ac_delim
9586smartd_suffix!$smartd_suffix$ac_delim
9587SMARTD_SUFFIX_TRUE!$SMARTD_SUFFIX_TRUE$ac_delim
9588SMARTD_SUFFIX_FALSE!$SMARTD_SUFFIX_FALSE$ac_delim
9589releaseversion!$releaseversion$ac_delim
9590smartmontools_release_date!$smartmontools_release_date$ac_delim
9591smartmontools_release_time!$smartmontools_release_time$ac_delim
9592os_deps!$os_deps$ac_delim
9593os_libs!$os_libs$ac_delim
9594OS_DARWIN_TRUE!$OS_DARWIN_TRUE$ac_delim
9595OS_DARWIN_FALSE!$OS_DARWIN_FALSE$ac_delim
9596OS_SOLARIS_TRUE!$OS_SOLARIS_TRUE$ac_delim
9597OS_SOLARIS_FALSE!$OS_SOLARIS_FALSE$ac_delim
9598OS_WIN32_MINGW_TRUE!$OS_WIN32_MINGW_TRUE$ac_delim
9599OS_WIN32_MINGW_FALSE!$OS_WIN32_MINGW_FALSE$ac_delim
9600LIBOBJS!$LIBOBJS$ac_delim
9601LTLIBOBJS!$LTLIBOBJS$ac_delim
9602_ACEOF
9603
9604 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 20; then
9605 break
9606 elif $ac_last_try; then
9607 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
9608echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
9609 { (exit 1); exit 1; }; }
9610 else
9611 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
9612 fi
9613done
9614
9615ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
9616if test -n "$ac_eof"; then
9617 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
9618 ac_eof=`expr $ac_eof + 1`
9619fi
9620
9621cat >>$CONFIG_STATUS <<_ACEOF
9622cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
9623/@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
9624_ACEOF
9625sed '
9626s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
9627s/^/s,@/; s/!/@,|#_!!_#|/
9628:n
9629t n
9630s/'"$ac_delim"'$/,g/; t
9631s/$/\\/; p
9632N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
9633' >>$CONFIG_STATUS <conf$$subs.sed
9634rm -f conf$$subs.sed
9635cat >>$CONFIG_STATUS <<_ACEOF
9636:end
9637s/|#_!!_#|//g
9638CEOF$ac_eof
9639_ACEOF
9640
9641
9642# VPATH may cause trouble with some makes, so we remove $(srcdir),
9643# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
9644# trailing colons and then remove the whole line if VPATH becomes empty
9645# (actually we leave an empty line to preserve line numbers).
9646if test "x$srcdir" = x.; then
9647 ac_vpsub='/^[ ]*VPATH[ ]*=/{
9648s/:*\$(srcdir):*/:/
9649s/:*\${srcdir}:*/:/
9650s/:*@srcdir@:*/:/
9651s/^\([^=]*=[ ]*\):*/\1/
9652s/:*$//
9653s/^[^=]*=[ ]*$//
9654}'
9655fi
9656
9657cat >>$CONFIG_STATUS <<\_ACEOF
9658fi # test -n "$CONFIG_FILES"
9659
9660
9661for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
9662do
9663 case $ac_tag in
9664 :[FHLC]) ac_mode=$ac_tag; continue;;
9665 esac
9666 case $ac_mode$ac_tag in
9667 :[FHL]*:*);;
9668 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
9669echo "$as_me: error: Invalid tag $ac_tag." >&2;}
9670 { (exit 1); exit 1; }; };;
9671 :[FH]-) ac_tag=-:-;;
9672 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
9673 esac
9674 ac_save_IFS=$IFS
9675 IFS=:
9676 set x $ac_tag
9677 IFS=$ac_save_IFS
9678 shift
9679 ac_file=$1
9680 shift
9681
9682 case $ac_mode in
9683 :L) ac_source=$1;;
9684 :[FH])
9685 ac_file_inputs=
9686 for ac_f
9687 do
9688 case $ac_f in
9689 -) ac_f="$tmp/stdin";;
9690 *) # Look for the file first in the build tree, then in the source tree
9691 # (if the path is not absolute). The absolute path cannot be DOS-style,
9692 # because $ac_f cannot contain `:'.
9693 test -f "$ac_f" ||
9694 case $ac_f in
9695 [\\/$]*) false;;
9696 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
9697 esac ||
9698 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
9699echo "$as_me: error: cannot find input file: $ac_f" >&2;}
9700 { (exit 1); exit 1; }; };;
9701 esac
9702 ac_file_inputs="$ac_file_inputs $ac_f"
9703 done
9704
9705 # Let's still pretend it is `configure' which instantiates (i.e., don't
9706 # use $as_me), people would be surprised to read:
9707 # /* config.h. Generated by config.status. */
9708 configure_input="Generated from "`IFS=:
9709 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
9710 if test x"$ac_file" != x-; then
9711 configure_input="$ac_file. $configure_input"
9712 { echo "$as_me:$LINENO: creating $ac_file" >&5
9713echo "$as_me: creating $ac_file" >&6;}
9714 fi
9715
9716 case $ac_tag in
9717 *:-:* | *:-) cat >"$tmp/stdin";;
9718 esac
9719 ;;
9720 esac
9721
9722 ac_dir=`$as_dirname -- "$ac_file" ||
9723$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9724 X"$ac_file" : 'X\(//\)[^/]' \| \
9725 X"$ac_file" : 'X\(//\)$' \| \
9726 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
9727echo X"$ac_file" |
9728 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9729 s//\1/
9730 q
9731 }
9732 /^X\(\/\/\)[^/].*/{
9733 s//\1/
9734 q
9735 }
9736 /^X\(\/\/\)$/{
9737 s//\1/
9738 q
9739 }
9740 /^X\(\/\).*/{
9741 s//\1/
9742 q
9743 }
9744 s/.*/./; q'`
9745 { as_dir="$ac_dir"
9746 case $as_dir in #(
9747 -*) as_dir=./$as_dir;;
9748 esac
9749 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
9750 as_dirs=
9751 while :; do
9752 case $as_dir in #(
9753 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
9754 *) as_qdir=$as_dir;;
9755 esac
9756 as_dirs="'$as_qdir' $as_dirs"
9757 as_dir=`$as_dirname -- "$as_dir" ||
9758$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
9759 X"$as_dir" : 'X\(//\)[^/]' \| \
9760 X"$as_dir" : 'X\(//\)$' \| \
9761 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
9762echo X"$as_dir" |
9763 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
9764 s//\1/
9765 q
9766 }
9767 /^X\(\/\/\)[^/].*/{
9768 s//\1/
9769 q
9770 }
9771 /^X\(\/\/\)$/{
9772 s//\1/
9773 q
9774 }
9775 /^X\(\/\).*/{
9776 s//\1/
9777 q
9778 }
9779 s/.*/./; q'`
9780 test -d "$as_dir" && break
9781 done
9782 test -z "$as_dirs" || eval "mkdir $as_dirs"
9783 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
9784echo "$as_me: error: cannot create directory $as_dir" >&2;}
9785 { (exit 1); exit 1; }; }; }
9786 ac_builddir=.
9787
9788case "$ac_dir" in
9789.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
9790*)
9791 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
9792 # A ".." for each directory in $ac_dir_suffix.
9793 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
9794 case $ac_top_builddir_sub in
9795 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
9796 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
9797 esac ;;
9798esac
9799ac_abs_top_builddir=$ac_pwd
9800ac_abs_builddir=$ac_pwd$ac_dir_suffix
9801# for backward compatibility:
9802ac_top_builddir=$ac_top_build_prefix
9803
9804case $srcdir in
9805 .) # We are building in place.
9806 ac_srcdir=.
9807 ac_top_srcdir=$ac_top_builddir_sub
9808 ac_abs_top_srcdir=$ac_pwd ;;
9809 [\\/]* | ?:[\\/]* ) # Absolute name.
9810 ac_srcdir=$srcdir$ac_dir_suffix;
9811 ac_top_srcdir=$srcdir
9812 ac_abs_top_srcdir=$srcdir ;;
9813 *) # Relative name.
9814 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
9815 ac_top_srcdir=$ac_top_build_prefix$srcdir
9816 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
9817esac
9818ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
9819
9820
9821 case $ac_mode in
9822 :F)
9823 #
9824 # CONFIG_FILE
9825 #
9826
9827 case $INSTALL in
9828 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
9829 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
9830 esac
9831_ACEOF
9832
9833cat >>$CONFIG_STATUS <<\_ACEOF
9834# If the template does not know about datarootdir, expand it.
9835# FIXME: This hack should be removed a few years after 2.60.
9836ac_datarootdir_hack=; ac_datarootdir_seen=
9837
9838case `sed -n '/datarootdir/ {
9839 p
9840 q
9841}
9842/@datadir@/p
9843/@docdir@/p
9844/@infodir@/p
9845/@localedir@/p
9846/@mandir@/p
9847' $ac_file_inputs` in
9848*datarootdir*) ac_datarootdir_seen=yes;;
9849*@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
9850 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
9851echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
9852_ACEOF
9853cat >>$CONFIG_STATUS <<_ACEOF
9854 ac_datarootdir_hack='
9855 s&@datadir@&$datadir&g
9856 s&@docdir@&$docdir&g
9857 s&@infodir@&$infodir&g
9858 s&@localedir@&$localedir&g
9859 s&@mandir@&$mandir&g
9860 s&\\\${datarootdir}&$datarootdir&g' ;;
9861esac
9862_ACEOF
9863
9864# Neutralize VPATH when `$srcdir' = `.'.
9865# Shell code in configure.ac might set extrasub.
9866# FIXME: do we really want to maintain this feature?
9867cat >>$CONFIG_STATUS <<_ACEOF
9868 sed "$ac_vpsub
9869$extrasub
9870_ACEOF
9871cat >>$CONFIG_STATUS <<\_ACEOF
9872:t
9873/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
9874s&@configure_input@&$configure_input&;t t
9875s&@top_builddir@&$ac_top_builddir_sub&;t t
9876s&@srcdir@&$ac_srcdir&;t t
9877s&@abs_srcdir@&$ac_abs_srcdir&;t t
9878s&@top_srcdir@&$ac_top_srcdir&;t t
9879s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
9880s&@builddir@&$ac_builddir&;t t
9881s&@abs_builddir@&$ac_abs_builddir&;t t
9882s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
9883s&@INSTALL@&$ac_INSTALL&;t t
9884$ac_datarootdir_hack
9885" $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out
9886
9887test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
9888 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
9889 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
9890 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9891which seems to be undefined. Please make sure it is defined." >&5
9892echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
9893which seems to be undefined. Please make sure it is defined." >&2;}
9894
9895 rm -f "$tmp/stdin"
9896 case $ac_file in
9897 -) cat "$tmp/out"; rm -f "$tmp/out";;
9898 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
9899 esac
9900 ;;
9901 :H)
9902 #
9903 # CONFIG_HEADER
9904 #
9905_ACEOF
9906
9907# Transform confdefs.h into a sed script `conftest.defines', that
9908# substitutes the proper values into config.h.in to produce config.h.
9909rm -f conftest.defines conftest.tail
9910# First, append a space to every undef/define line, to ease matching.
9911echo 's/$/ /' >conftest.defines
9912# Then, protect against being on the right side of a sed subst, or in
9913# an unquoted here document, in config.status. If some macros were
9914# called several times there might be several #defines for the same
9915# symbol, which is useless. But do not sort them, since the last
9916# AC_DEFINE must be honored.
9917ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
9918# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
9919# NAME is the cpp macro being defined, VALUE is the value it is being given.
9920# PARAMS is the parameter list in the macro definition--in most cases, it's
9921# just an empty string.
9922ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
9923ac_dB='\\)[ (].*,\\1define\\2'
9924ac_dC=' '
9925ac_dD=' ,'
9926
9927uniq confdefs.h |
9928 sed -n '
9929 t rset
9930 :rset
9931 s/^[ ]*#[ ]*define[ ][ ]*//
9932 t ok
9933 d
9934 :ok
9935 s/[\\&,]/\\&/g
9936 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
9937 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
9938 ' >>conftest.defines
9939
9940# Remove the space that was appended to ease matching.
9941# Then replace #undef with comments. This is necessary, for
9942# example, in the case of _POSIX_SOURCE, which is predefined and required
9943# on some systems where configure will not decide to define it.
9944# (The regexp can be short, since the line contains either #define or #undef.)
9945echo 's/ $//
9946s,^[ #]*u.*,/* & */,' >>conftest.defines
9947
9948# Break up conftest.defines:
9949ac_max_sed_lines=50
9950
9951# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
9952# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
9953# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
9954# et cetera.
9955ac_in='$ac_file_inputs'
9956ac_out='"$tmp/out1"'
9957ac_nxt='"$tmp/out2"'
9958
9959while :
9960do
9961 # Write a here document:
9962 cat >>$CONFIG_STATUS <<_ACEOF
9963 # First, check the format of the line:
9964 cat >"\$tmp/defines.sed" <<\\CEOF
9965/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
9966/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
9967b
9968:def
9969_ACEOF
9970 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
9971 echo 'CEOF
9972 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
9973 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
9974 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
9975 grep . conftest.tail >/dev/null || break
9976 rm -f conftest.defines
9977 mv conftest.tail conftest.defines
9978done
9979rm -f conftest.defines conftest.tail
9980
9981echo "ac_result=$ac_in" >>$CONFIG_STATUS
9982cat >>$CONFIG_STATUS <<\_ACEOF
9983 if test x"$ac_file" != x-; then
9984 echo "/* $configure_input */" >"$tmp/config.h"
9985 cat "$ac_result" >>"$tmp/config.h"
9986 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
9987 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
9988echo "$as_me: $ac_file is unchanged" >&6;}
9989 else
9990 rm -f $ac_file
9991 mv "$tmp/config.h" $ac_file
9992 fi
9993 else
9994 echo "/* $configure_input */"
9995 cat "$ac_result"
9996 fi
9997 rm -f "$tmp/out12"
9998# Compute $ac_file's index in $config_headers.
9999_am_stamp_count=1
10000for _am_header in $config_headers :; do
10001 case $_am_header in
10002 $ac_file | $ac_file:* )
10003 break ;;
10004 * )
10005 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
10006 esac
10007done
10008echo "timestamp for $ac_file" >`$as_dirname -- $ac_file ||
10009$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10010 X$ac_file : 'X\(//\)[^/]' \| \
10011 X$ac_file : 'X\(//\)$' \| \
10012 X$ac_file : 'X\(/\)' \| . 2>/dev/null ||
10013echo X$ac_file |
10014 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10015 s//\1/
10016 q
10017 }
10018 /^X\(\/\/\)[^/].*/{
10019 s//\1/
10020 q
10021 }
10022 /^X\(\/\/\)$/{
10023 s//\1/
10024 q
10025 }
10026 /^X\(\/\).*/{
10027 s//\1/
10028 q
10029 }
10030 s/.*/./; q'`/stamp-h$_am_stamp_count
10031 ;;
10032
10033 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
10034echo "$as_me: executing $ac_file commands" >&6;}
10035 ;;
10036 esac
10037
10038
10039 case $ac_file$ac_mode in
10040 "depfiles":C) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
10041 # Strip MF so we end up with the name of the file.
10042 mf=`echo "$mf" | sed -e 's/:.*$//'`
10043 # Check whether this is an Automake generated Makefile or not.
10044 # We used to match only the files named `Makefile.in', but
10045 # some people rename them; so instead we look at the file content.
10046 # Grep'ing the first line is not enough: some people post-process
10047 # each Makefile.in and add a new line on top of each file to say so.
10048 # So let's grep whole file.
10049 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
10050 dirpart=`$as_dirname -- "$mf" ||
10051$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10052 X"$mf" : 'X\(//\)[^/]' \| \
10053 X"$mf" : 'X\(//\)$' \| \
10054 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
10055echo X"$mf" |
10056 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10057 s//\1/
10058 q
10059 }
10060 /^X\(\/\/\)[^/].*/{
10061 s//\1/
10062 q
10063 }
10064 /^X\(\/\/\)$/{
10065 s//\1/
10066 q
10067 }
10068 /^X\(\/\).*/{
10069 s//\1/
10070 q
10071 }
10072 s/.*/./; q'`
10073 else
10074 continue
10075 fi
10076 # Extract the definition of DEPDIR, am__include, and am__quote
10077 # from the Makefile without running `make'.
10078 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
10079 test -z "$DEPDIR" && continue
10080 am__include=`sed -n 's/^am__include = //p' < "$mf"`
10081 test -z "am__include" && continue
10082 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
10083 # When using ansi2knr, U may be empty or an underscore; expand it
10084 U=`sed -n 's/^U = //p' < "$mf"`
10085 # Find all dependency output files, they are included files with
10086 # $(DEPDIR) in their names. We invoke sed twice because it is the
10087 # simplest approach to changing $(DEPDIR) to its actual value in the
10088 # expansion.
10089 for file in `sed -n "
10090 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
10091 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
10092 # Make sure the directory exists.
10093 test -f "$dirpart/$file" && continue
10094 fdir=`$as_dirname -- "$file" ||
10095$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10096 X"$file" : 'X\(//\)[^/]' \| \
10097 X"$file" : 'X\(//\)$' \| \
10098 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
10099echo X"$file" |
10100 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10101 s//\1/
10102 q
10103 }
10104 /^X\(\/\/\)[^/].*/{
10105 s//\1/
10106 q
10107 }
10108 /^X\(\/\/\)$/{
10109 s//\1/
10110 q
10111 }
10112 /^X\(\/\).*/{
10113 s//\1/
10114 q
10115 }
10116 s/.*/./; q'`
10117 { as_dir=$dirpart/$fdir
10118 case $as_dir in #(
10119 -*) as_dir=./$as_dir;;
10120 esac
10121 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
10122 as_dirs=
10123 while :; do
10124 case $as_dir in #(
10125 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
10126 *) as_qdir=$as_dir;;
10127 esac
10128 as_dirs="'$as_qdir' $as_dirs"
10129 as_dir=`$as_dirname -- "$as_dir" ||
10130$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
10131 X"$as_dir" : 'X\(//\)[^/]' \| \
10132 X"$as_dir" : 'X\(//\)$' \| \
10133 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
10134echo X"$as_dir" |
10135 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
10136 s//\1/
10137 q
10138 }
10139 /^X\(\/\/\)[^/].*/{
10140 s//\1/
10141 q
10142 }
10143 /^X\(\/\/\)$/{
10144 s//\1/
10145 q
10146 }
10147 /^X\(\/\).*/{
10148 s//\1/
10149 q
10150 }
10151 s/.*/./; q'`
10152 test -d "$as_dir" && break
10153 done
10154 test -z "$as_dirs" || eval "mkdir $as_dirs"
10155 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
10156echo "$as_me: error: cannot create directory $as_dir" >&2;}
10157 { (exit 1); exit 1; }; }; }
10158 # echo "creating $dirpart/$file"
10159 echo '# dummy' > "$dirpart/$file"
10160 done
10161done
10162 ;;
10163
10164 esac
10165done # for ac_tag
10166
10167
10168{ (exit 0); exit 0; }
10169_ACEOF
10170chmod +x $CONFIG_STATUS
10171ac_clean_files=$ac_clean_files_save
10172
10173
10174# configure is writing to config.log, and then calls config.status.
10175# config.status does its own redirection, appending to config.log.
10176# Unfortunately, on DOS this fails, as config.log is still kept open
10177# by configure, so config.status won't be able to write to it; its
10178# output is simply discarded. So we exec the FD to /dev/null,
10179# effectively closing config.log, so it can be properly (re)opened and
10180# appended to by config.status. When coming back to configure, we
10181# need to make the FD available again.
10182if test "$no_create" != yes; then
10183 ac_cs_success=:
10184 ac_config_status_args=
10185 test "$silent" = yes &&
10186 ac_config_status_args="$ac_config_status_args --quiet"
10187 exec 5>/dev/null
10188 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
10189 exec 5>>config.log
10190 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
10191 # would make configure fail if this is the last instruction.
10192 $ac_cs_success || { (exit 1); exit 1; }
10193fi
10194
10195{ echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
10196echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
10197set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
10198if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
10199 echo $ECHO_N "(cached) $ECHO_C" >&6
10200else
10201 cat >conftest.make <<\_ACEOF
10202SHELL = /bin/sh
10203all:
10204 @echo '@@@%%%=$(MAKE)=@@@%%%'
10205_ACEOF
10206# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
10207case `${MAKE-make} -f conftest.make 2>/dev/null` in
10208 *@@@%%%=?*=@@@%%%*)
10209 eval ac_cv_prog_make_${ac_make}_set=yes;;
10210 *)
10211 eval ac_cv_prog_make_${ac_make}_set=no;;
10212esac
10213rm -f conftest.make
10214fi
10215if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
10216 { echo "$as_me:$LINENO: result: yes" >&5
10217echo "${ECHO_T}yes" >&6; }
10218 SET_MAKE=
10219else
10220 { echo "$as_me:$LINENO: result: no" >&5
10221echo "${ECHO_T}no" >&6; }
10222 SET_MAKE="MAKE=${MAKE-make}"
10223fi
10224