]> git.proxmox.com Git - mirror_smartmontools-debian.git/blame - configure
debian/rules: - remove autogenerated files
[mirror_smartmontools-debian.git] / configure
CommitLineData
832b75ed
GG
1#! /bin/sh
2# Guess values for system-dependent variables and create Makefiles.
3# Generated by GNU Autoconf 2.59 for smartmontools 5.36.
4#
5# Report bugs to <smartmontools-support@lists.sourceforge.net>.
6#
7# Copyright (C) 2003 Free Software Foundation, Inc.
8# This configure script is free software; the Free Software Foundation
9# gives unlimited permission to copy, distribute and modify it.
10## --------------------- ##
11## M4sh Initialization. ##
12## --------------------- ##
13
14# Be Bourne compatible
15if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
16 emulate sh
17 NULLCMD=:
18 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
19 # is contrary to our usage. Disable this feature.
20 alias -g '${1+"$@"}'='"$@"'
21elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
22 set -o posix
23fi
24DUALCASE=1; export DUALCASE # for MKS sh
25
26# Support unset when possible.
27if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
28 as_unset=unset
29else
30 as_unset=false
31fi
32
33
34# Work around bugs in pre-3.0 UWIN ksh.
35$as_unset ENV MAIL MAILPATH
36PS1='$ '
37PS2='> '
38PS4='+ '
39
40# NLS nuisances.
41for as_var in \
42 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
43 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
44 LC_TELEPHONE LC_TIME
45do
46 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
47 eval $as_var=C; export $as_var
48 else
49 $as_unset $as_var
50 fi
51done
52
53# Required to use basename.
54if expr a : '\(a\)' >/dev/null 2>&1; then
55 as_expr=expr
56else
57 as_expr=false
58fi
59
60if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
61 as_basename=basename
62else
63 as_basename=false
64fi
65
66
67# Name of the executable.
68as_me=`$as_basename "$0" ||
69$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
70 X"$0" : 'X\(//\)$' \| \
71 X"$0" : 'X\(/\)$' \| \
72 . : '\(.\)' 2>/dev/null ||
73echo X/"$0" |
74 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
75 /^X\/\(\/\/\)$/{ s//\1/; q; }
76 /^X\/\(\/\).*/{ s//\1/; q; }
77 s/.*/./; q'`
78
79
80# PATH needs CR, and LINENO needs CR and PATH.
81# Avoid depending upon Character Ranges.
82as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
84as_cr_Letters=$as_cr_letters$as_cr_LETTERS
85as_cr_digits='0123456789'
86as_cr_alnum=$as_cr_Letters$as_cr_digits
87
88# The user is always right.
89if test "${PATH_SEPARATOR+set}" != set; then
90 echo "#! /bin/sh" >conf$$.sh
91 echo "exit 0" >>conf$$.sh
92 chmod +x conf$$.sh
93 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
94 PATH_SEPARATOR=';'
95 else
96 PATH_SEPARATOR=:
97 fi
98 rm -f conf$$.sh
99fi
100
101
102 as_lineno_1=$LINENO
103 as_lineno_2=$LINENO
104 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
105 test "x$as_lineno_1" != "x$as_lineno_2" &&
106 test "x$as_lineno_3" = "x$as_lineno_2" || {
107 # Find who we are. Look in the path if we contain no path at all
108 # relative or not.
109 case $0 in
110 *[\\/]* ) as_myself=$0 ;;
111 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
112for as_dir in $PATH
113do
114 IFS=$as_save_IFS
115 test -z "$as_dir" && as_dir=.
116 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
117done
118
119 ;;
120 esac
121 # We did not find ourselves, most probably we were run as `sh COMMAND'
122 # in which case we are not to be found in the path.
123 if test "x$as_myself" = x; then
124 as_myself=$0
125 fi
126 if test ! -f "$as_myself"; then
127 { echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2
128 { (exit 1); exit 1; }; }
129 fi
130 case $CONFIG_SHELL in
131 '')
132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
133for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
134do
135 IFS=$as_save_IFS
136 test -z "$as_dir" && as_dir=.
137 for as_base in sh bash ksh sh5; do
138 case $as_dir in
139 /*)
140 if ("$as_dir/$as_base" -c '
141 as_lineno_1=$LINENO
142 as_lineno_2=$LINENO
143 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
144 test "x$as_lineno_1" != "x$as_lineno_2" &&
145 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
146 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
147 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
148 CONFIG_SHELL=$as_dir/$as_base
149 export CONFIG_SHELL
150 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
151 fi;;
152 esac
153 done
154done
155;;
156 esac
157
158 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
159 # uniformly replaced by the line number. The first 'sed' inserts a
160 # line-number line before each line; the second 'sed' does the real
161 # work. The second script uses 'N' to pair each line-number line
162 # with the numbered line, and appends trailing '-' during
163 # substitution so that $LINENO is not a special case at line end.
164 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
165 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
166 sed '=' <$as_myself |
167 sed '
168 N
169 s,$,-,
170 : loop
171 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
172 t loop
173 s,-$,,
174 s,^['$as_cr_digits']*\n,,
175 ' >$as_me.lineno &&
176 chmod +x $as_me.lineno ||
177 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
178 { (exit 1); exit 1; }; }
179
180 # Don't try to exec as it changes $[0], causing all sort of problems
181 # (the dirname of $[0] is not the place where we might find the
182 # original and so on. Autoconf is especially sensible to this).
183 . ./$as_me.lineno
184 # Exit status is that of the last command.
185 exit
186}
187
188
189case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
190 *c*,-n*) ECHO_N= ECHO_C='
191' ECHO_T=' ' ;;
192 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
193 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
194esac
195
196if expr a : '\(a\)' >/dev/null 2>&1; then
197 as_expr=expr
198else
199 as_expr=false
200fi
201
202rm -f conf$$ conf$$.exe conf$$.file
203echo >conf$$.file
204if ln -s conf$$.file conf$$ 2>/dev/null; then
205 # We could just check for DJGPP; but this test a) works b) is more generic
206 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
207 if test -f conf$$.exe; then
208 # Don't use ln at all; we don't have any links
209 as_ln_s='cp -p'
210 else
211 as_ln_s='ln -s'
212 fi
213elif ln conf$$.file conf$$ 2>/dev/null; then
214 as_ln_s=ln
215else
216 as_ln_s='cp -p'
217fi
218rm -f conf$$ conf$$.exe conf$$.file
219
220if mkdir -p . 2>/dev/null; then
221 as_mkdir_p=:
222else
223 test -d ./-p && rmdir ./-p
224 as_mkdir_p=false
225fi
226
227as_executable_p="test -f"
228
229# Sed expression to map a string onto a valid CPP name.
230as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
231
232# Sed expression to map a string onto a valid variable name.
233as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
234
235
236# IFS
237# We need space, tab and new line, in precisely that order.
238as_nl='
239'
240IFS=" $as_nl"
241
242# CDPATH.
243$as_unset CDPATH
244
245
246# Name of the host.
247# hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
248# so uname gets run too.
249ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
250
251exec 6>&1
252
253#
254# Initializations.
255#
256ac_default_prefix=/usr/local
257ac_config_libobj_dir=.
258cross_compiling=no
259subdirs=
260MFLAGS=
261MAKEFLAGS=
262SHELL=${CONFIG_SHELL-/bin/sh}
263
264# Maximum number of lines to put in a shell here document.
265# This variable seems obsolete. It should probably be removed, and
266# only ac_max_sed_lines should be used.
267: ${ac_max_here_lines=38}
268
269# Identity of this package.
270PACKAGE_NAME='smartmontools'
271PACKAGE_TARNAME='smartmontools'
272PACKAGE_VERSION='5.36'
273PACKAGE_STRING='smartmontools 5.36'
274PACKAGE_BUGREPORT='smartmontools-support@lists.sourceforge.net'
275
276ac_unique_file="smartctl.c"
277# Factoring default headers for most tests.
278ac_includes_default="\
279#include <stdio.h>
280#if HAVE_SYS_TYPES_H
281# include <sys/types.h>
282#endif
283#if HAVE_SYS_STAT_H
284# include <sys/stat.h>
285#endif
286#if STDC_HEADERS
287# include <stdlib.h>
288# include <stddef.h>
289#else
290# if HAVE_STDLIB_H
291# include <stdlib.h>
292# endif
293#endif
294#if HAVE_STRING_H
295# if !STDC_HEADERS && HAVE_MEMORY_H
296# include <memory.h>
297# endif
298# include <string.h>
299#endif
300#if HAVE_STRINGS_H
301# include <strings.h>
302#endif
303#if HAVE_INTTYPES_H
304# include <inttypes.h>
305#else
306# if HAVE_STDINT_H
307# include <stdint.h>
308# endif
309#endif
310#if HAVE_UNISTD_H
311# include <unistd.h>
312#endif"
313
314ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA CYGPATH_W PACKAGE VERSION ACLOCAL AUTOCONF AUTOMAKE AUTOHEADER MAKEINFO install_sh STRIP ac_ct_STRIP INSTALL_STRIP_PROGRAM mkdir_p AWK SET_MAKE am__leading_dot AMTAR am__tar am__untar MAINTAINER_MODE_TRUE MAINTAINER_MODE_FALSE MAINT CC CFLAGS LDFLAGS CPPFLAGS ac_ct_CC EXEEXT OBJEXT DEPDIR am__include am__quote AMDEP_TRUE AMDEP_FALSE AMDEPBACKSLASH CCDEPMODE am__fastdepCC_TRUE am__fastdepCC_FALSE CCAS CCASFLAGS build build_cpu build_vendor build_os host host_cpu host_vendor host_os CPP EGREP libc_have_working_snprintf gcc_have_attr_packed ASFLAGS exampledir initddir docdir smartd_suffix SMARTD_SUFFIX_TRUE SMARTD_SUFFIX_FALSE releaseversion smartmontools_release_date smartmontools_release_time os_deps os_libs OS_DARWIN_TRUE OS_DARWIN_FALSE OS_SOLARIS_TRUE OS_SOLARIS_FALSE OS_WIN32_MINGW_TRUE OS_WIN32_MINGW_FALSE LIBOBJS LTLIBOBJS'
315ac_subst_files=''
316
317# Initialize some variables set by options.
318ac_init_help=
319ac_init_version=false
320# The variables have the same names as the options, with
321# dashes changed to underlines.
322cache_file=/dev/null
323exec_prefix=NONE
324no_create=
325no_recursion=
326prefix=NONE
327program_prefix=NONE
328program_suffix=NONE
329program_transform_name=s,x,x,
330silent=
331site=
332srcdir=
333verbose=
334x_includes=NONE
335x_libraries=NONE
336
337# Installation directory options.
338# These are left unexpanded so users can "make install exec_prefix=/foo"
339# and all the variables that are supposed to be based on exec_prefix
340# by default will actually change.
341# Use braces instead of parens because sh, perl, etc. also accept them.
342bindir='${exec_prefix}/bin'
343sbindir='${exec_prefix}/sbin'
344libexecdir='${exec_prefix}/libexec'
345datadir='${prefix}/share'
346sysconfdir='${prefix}/etc'
347sharedstatedir='${prefix}/com'
348localstatedir='${prefix}/var'
349libdir='${exec_prefix}/lib'
350includedir='${prefix}/include'
351oldincludedir='/usr/include'
352infodir='${prefix}/info'
353mandir='${prefix}/man'
354
355ac_prev=
356for ac_option
357do
358 # If the previous option needs an argument, assign it.
359 if test -n "$ac_prev"; then
360 eval "$ac_prev=\$ac_option"
361 ac_prev=
362 continue
363 fi
364
365 ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'`
366
367 # Accept the important Cygnus configure options, so we can diagnose typos.
368
369 case $ac_option in
370
371 -bindir | --bindir | --bindi | --bind | --bin | --bi)
372 ac_prev=bindir ;;
373 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
374 bindir=$ac_optarg ;;
375
376 -build | --build | --buil | --bui | --bu)
377 ac_prev=build_alias ;;
378 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
379 build_alias=$ac_optarg ;;
380
381 -cache-file | --cache-file | --cache-fil | --cache-fi \
382 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
383 ac_prev=cache_file ;;
384 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
385 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
386 cache_file=$ac_optarg ;;
387
388 --config-cache | -C)
389 cache_file=config.cache ;;
390
391 -datadir | --datadir | --datadi | --datad | --data | --dat | --da)
392 ac_prev=datadir ;;
393 -datadir=* | --datadir=* | --datadi=* | --datad=* | --data=* | --dat=* \
394 | --da=*)
395 datadir=$ac_optarg ;;
396
397 -disable-* | --disable-*)
398 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
399 # Reject names that are not valid shell variable names.
400 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
401 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
402 { (exit 1); exit 1; }; }
403 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
404 eval "enable_$ac_feature=no" ;;
405
406 -enable-* | --enable-*)
407 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
408 # Reject names that are not valid shell variable names.
409 expr "x$ac_feature" : ".*[^-_$as_cr_alnum]" >/dev/null &&
410 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
411 { (exit 1); exit 1; }; }
412 ac_feature=`echo $ac_feature | sed 's/-/_/g'`
413 case $ac_option in
414 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
415 *) ac_optarg=yes ;;
416 esac
417 eval "enable_$ac_feature='$ac_optarg'" ;;
418
419 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
420 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
421 | --exec | --exe | --ex)
422 ac_prev=exec_prefix ;;
423 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
424 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
425 | --exec=* | --exe=* | --ex=*)
426 exec_prefix=$ac_optarg ;;
427
428 -gas | --gas | --ga | --g)
429 # Obsolete; use --with-gas.
430 with_gas=yes ;;
431
432 -help | --help | --hel | --he | -h)
433 ac_init_help=long ;;
434 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
435 ac_init_help=recursive ;;
436 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
437 ac_init_help=short ;;
438
439 -host | --host | --hos | --ho)
440 ac_prev=host_alias ;;
441 -host=* | --host=* | --hos=* | --ho=*)
442 host_alias=$ac_optarg ;;
443
444 -includedir | --includedir | --includedi | --included | --include \
445 | --includ | --inclu | --incl | --inc)
446 ac_prev=includedir ;;
447 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
448 | --includ=* | --inclu=* | --incl=* | --inc=*)
449 includedir=$ac_optarg ;;
450
451 -infodir | --infodir | --infodi | --infod | --info | --inf)
452 ac_prev=infodir ;;
453 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
454 infodir=$ac_optarg ;;
455
456 -libdir | --libdir | --libdi | --libd)
457 ac_prev=libdir ;;
458 -libdir=* | --libdir=* | --libdi=* | --libd=*)
459 libdir=$ac_optarg ;;
460
461 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
462 | --libexe | --libex | --libe)
463 ac_prev=libexecdir ;;
464 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
465 | --libexe=* | --libex=* | --libe=*)
466 libexecdir=$ac_optarg ;;
467
468 -localstatedir | --localstatedir | --localstatedi | --localstated \
469 | --localstate | --localstat | --localsta | --localst \
470 | --locals | --local | --loca | --loc | --lo)
471 ac_prev=localstatedir ;;
472 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
473 | --localstate=* | --localstat=* | --localsta=* | --localst=* \
474 | --locals=* | --local=* | --loca=* | --loc=* | --lo=*)
475 localstatedir=$ac_optarg ;;
476
477 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
478 ac_prev=mandir ;;
479 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
480 mandir=$ac_optarg ;;
481
482 -nfp | --nfp | --nf)
483 # Obsolete; use --without-fp.
484 with_fp=no ;;
485
486 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
487 | --no-cr | --no-c | -n)
488 no_create=yes ;;
489
490 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
491 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
492 no_recursion=yes ;;
493
494 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
495 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
496 | --oldin | --oldi | --old | --ol | --o)
497 ac_prev=oldincludedir ;;
498 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
499 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
500 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
501 oldincludedir=$ac_optarg ;;
502
503 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
504 ac_prev=prefix ;;
505 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
506 prefix=$ac_optarg ;;
507
508 -program-prefix | --program-prefix | --program-prefi | --program-pref \
509 | --program-pre | --program-pr | --program-p)
510 ac_prev=program_prefix ;;
511 -program-prefix=* | --program-prefix=* | --program-prefi=* \
512 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
513 program_prefix=$ac_optarg ;;
514
515 -program-suffix | --program-suffix | --program-suffi | --program-suff \
516 | --program-suf | --program-su | --program-s)
517 ac_prev=program_suffix ;;
518 -program-suffix=* | --program-suffix=* | --program-suffi=* \
519 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
520 program_suffix=$ac_optarg ;;
521
522 -program-transform-name | --program-transform-name \
523 | --program-transform-nam | --program-transform-na \
524 | --program-transform-n | --program-transform- \
525 | --program-transform | --program-transfor \
526 | --program-transfo | --program-transf \
527 | --program-trans | --program-tran \
528 | --progr-tra | --program-tr | --program-t)
529 ac_prev=program_transform_name ;;
530 -program-transform-name=* | --program-transform-name=* \
531 | --program-transform-nam=* | --program-transform-na=* \
532 | --program-transform-n=* | --program-transform-=* \
533 | --program-transform=* | --program-transfor=* \
534 | --program-transfo=* | --program-transf=* \
535 | --program-trans=* | --program-tran=* \
536 | --progr-tra=* | --program-tr=* | --program-t=*)
537 program_transform_name=$ac_optarg ;;
538
539 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
540 | -silent | --silent | --silen | --sile | --sil)
541 silent=yes ;;
542
543 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
544 ac_prev=sbindir ;;
545 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
546 | --sbi=* | --sb=*)
547 sbindir=$ac_optarg ;;
548
549 -sharedstatedir | --sharedstatedir | --sharedstatedi \
550 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
551 | --sharedst | --shareds | --shared | --share | --shar \
552 | --sha | --sh)
553 ac_prev=sharedstatedir ;;
554 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
555 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
556 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
557 | --sha=* | --sh=*)
558 sharedstatedir=$ac_optarg ;;
559
560 -site | --site | --sit)
561 ac_prev=site ;;
562 -site=* | --site=* | --sit=*)
563 site=$ac_optarg ;;
564
565 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
566 ac_prev=srcdir ;;
567 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
568 srcdir=$ac_optarg ;;
569
570 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
571 | --syscon | --sysco | --sysc | --sys | --sy)
572 ac_prev=sysconfdir ;;
573 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
574 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
575 sysconfdir=$ac_optarg ;;
576
577 -target | --target | --targe | --targ | --tar | --ta | --t)
578 ac_prev=target_alias ;;
579 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
580 target_alias=$ac_optarg ;;
581
582 -v | -verbose | --verbose | --verbos | --verbo | --verb)
583 verbose=yes ;;
584
585 -version | --version | --versio | --versi | --vers | -V)
586 ac_init_version=: ;;
587
588 -with-* | --with-*)
589 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
590 # Reject names that are not valid shell variable names.
591 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
592 { echo "$as_me: error: invalid package name: $ac_package" >&2
593 { (exit 1); exit 1; }; }
594 ac_package=`echo $ac_package| sed 's/-/_/g'`
595 case $ac_option in
596 *=*) ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`;;
597 *) ac_optarg=yes ;;
598 esac
599 eval "with_$ac_package='$ac_optarg'" ;;
600
601 -without-* | --without-*)
602 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
603 # Reject names that are not valid shell variable names.
604 expr "x$ac_package" : ".*[^-_$as_cr_alnum]" >/dev/null &&
605 { echo "$as_me: error: invalid package name: $ac_package" >&2
606 { (exit 1); exit 1; }; }
607 ac_package=`echo $ac_package | sed 's/-/_/g'`
608 eval "with_$ac_package=no" ;;
609
610 --x)
611 # Obsolete; use --with-x.
612 with_x=yes ;;
613
614 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
615 | --x-incl | --x-inc | --x-in | --x-i)
616 ac_prev=x_includes ;;
617 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
618 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
619 x_includes=$ac_optarg ;;
620
621 -x-libraries | --x-libraries | --x-librarie | --x-librari \
622 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
623 ac_prev=x_libraries ;;
624 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
625 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
626 x_libraries=$ac_optarg ;;
627
628 -*) { echo "$as_me: error: unrecognized option: $ac_option
629Try \`$0 --help' for more information." >&2
630 { (exit 1); exit 1; }; }
631 ;;
632
633 *=*)
634 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
635 # Reject names that are not valid shell variable names.
636 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
637 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
638 { (exit 1); exit 1; }; }
639 ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"`
640 eval "$ac_envvar='$ac_optarg'"
641 export $ac_envvar ;;
642
643 *)
644 # FIXME: should be removed in autoconf 3.0.
645 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
646 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
647 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
648 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
649 ;;
650
651 esac
652done
653
654if test -n "$ac_prev"; then
655 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
656 { echo "$as_me: error: missing argument to $ac_option" >&2
657 { (exit 1); exit 1; }; }
658fi
659
660# Be sure to have absolute paths.
661for ac_var in exec_prefix prefix
662do
663 eval ac_val=$`echo $ac_var`
664 case $ac_val in
665 [\\/$]* | ?:[\\/]* | NONE | '' ) ;;
666 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
667 { (exit 1); exit 1; }; };;
668 esac
669done
670
671# Be sure to have absolute paths.
672for ac_var in bindir sbindir libexecdir datadir sysconfdir sharedstatedir \
673 localstatedir libdir includedir oldincludedir infodir mandir
674do
675 eval ac_val=$`echo $ac_var`
676 case $ac_val in
677 [\\/$]* | ?:[\\/]* ) ;;
678 *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
679 { (exit 1); exit 1; }; };;
680 esac
681done
682
683# There might be people who depend on the old broken behavior: `$host'
684# used to hold the argument of --host etc.
685# FIXME: To remove some day.
686build=$build_alias
687host=$host_alias
688target=$target_alias
689
690# FIXME: To remove some day.
691if test "x$host_alias" != x; then
692 if test "x$build_alias" = x; then
693 cross_compiling=maybe
694 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
695 If a cross compiler is detected then cross compile mode will be used." >&2
696 elif test "x$build_alias" != "x$host_alias"; then
697 cross_compiling=yes
698 fi
699fi
700
701ac_tool_prefix=
702test -n "$host_alias" && ac_tool_prefix=$host_alias-
703
704test "$silent" = yes && exec 6>/dev/null
705
706
707# Find the source files, if location was not specified.
708if test -z "$srcdir"; then
709 ac_srcdir_defaulted=yes
710 # Try the directory containing this script, then its parent.
711 ac_confdir=`(dirname "$0") 2>/dev/null ||
712$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
713 X"$0" : 'X\(//\)[^/]' \| \
714 X"$0" : 'X\(//\)$' \| \
715 X"$0" : 'X\(/\)' \| \
716 . : '\(.\)' 2>/dev/null ||
717echo X"$0" |
718 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
719 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
720 /^X\(\/\/\)$/{ s//\1/; q; }
721 /^X\(\/\).*/{ s//\1/; q; }
722 s/.*/./; q'`
723 srcdir=$ac_confdir
724 if test ! -r $srcdir/$ac_unique_file; then
725 srcdir=..
726 fi
727else
728 ac_srcdir_defaulted=no
729fi
730if test ! -r $srcdir/$ac_unique_file; then
731 if test "$ac_srcdir_defaulted" = yes; then
732 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $ac_confdir or .." >&2
733 { (exit 1); exit 1; }; }
734 else
735 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
736 { (exit 1); exit 1; }; }
737 fi
738fi
739(cd $srcdir && test -r ./$ac_unique_file) 2>/dev/null ||
740 { echo "$as_me: error: sources are in $srcdir, but \`cd $srcdir' does not work" >&2
741 { (exit 1); exit 1; }; }
742srcdir=`echo "$srcdir" | sed 's%\([^\\/]\)[\\/]*$%\1%'`
743ac_env_build_alias_set=${build_alias+set}
744ac_env_build_alias_value=$build_alias
745ac_cv_env_build_alias_set=${build_alias+set}
746ac_cv_env_build_alias_value=$build_alias
747ac_env_host_alias_set=${host_alias+set}
748ac_env_host_alias_value=$host_alias
749ac_cv_env_host_alias_set=${host_alias+set}
750ac_cv_env_host_alias_value=$host_alias
751ac_env_target_alias_set=${target_alias+set}
752ac_env_target_alias_value=$target_alias
753ac_cv_env_target_alias_set=${target_alias+set}
754ac_cv_env_target_alias_value=$target_alias
755ac_env_CC_set=${CC+set}
756ac_env_CC_value=$CC
757ac_cv_env_CC_set=${CC+set}
758ac_cv_env_CC_value=$CC
759ac_env_CFLAGS_set=${CFLAGS+set}
760ac_env_CFLAGS_value=$CFLAGS
761ac_cv_env_CFLAGS_set=${CFLAGS+set}
762ac_cv_env_CFLAGS_value=$CFLAGS
763ac_env_LDFLAGS_set=${LDFLAGS+set}
764ac_env_LDFLAGS_value=$LDFLAGS
765ac_cv_env_LDFLAGS_set=${LDFLAGS+set}
766ac_cv_env_LDFLAGS_value=$LDFLAGS
767ac_env_CPPFLAGS_set=${CPPFLAGS+set}
768ac_env_CPPFLAGS_value=$CPPFLAGS
769ac_cv_env_CPPFLAGS_set=${CPPFLAGS+set}
770ac_cv_env_CPPFLAGS_value=$CPPFLAGS
771ac_env_CCAS_set=${CCAS+set}
772ac_env_CCAS_value=$CCAS
773ac_cv_env_CCAS_set=${CCAS+set}
774ac_cv_env_CCAS_value=$CCAS
775ac_env_CCASFLAGS_set=${CCASFLAGS+set}
776ac_env_CCASFLAGS_value=$CCASFLAGS
777ac_cv_env_CCASFLAGS_set=${CCASFLAGS+set}
778ac_cv_env_CCASFLAGS_value=$CCASFLAGS
779ac_env_CPP_set=${CPP+set}
780ac_env_CPP_value=$CPP
781ac_cv_env_CPP_set=${CPP+set}
782ac_cv_env_CPP_value=$CPP
783
784#
785# Report the --help message.
786#
787if test "$ac_init_help" = "long"; then
788 # Omit some internal or obsolete options to make the list less imposing.
789 # This message is too long to be a string in the A/UX 3.1 sh.
790 cat <<_ACEOF
791\`configure' configures smartmontools 5.36 to adapt to many kinds of systems.
792
793Usage: $0 [OPTION]... [VAR=VALUE]...
794
795To assign environment variables (e.g., CC, CFLAGS...), specify them as
796VAR=VALUE. See below for descriptions of some of the useful variables.
797
798Defaults for the options are specified in brackets.
799
800Configuration:
801 -h, --help display this help and exit
802 --help=short display options specific to this package
803 --help=recursive display the short help of all the included packages
804 -V, --version display version information and exit
805 -q, --quiet, --silent do not print \`checking...' messages
806 --cache-file=FILE cache test results in FILE [disabled]
807 -C, --config-cache alias for \`--cache-file=config.cache'
808 -n, --no-create do not create output files
809 --srcdir=DIR find the sources in DIR [configure dir or \`..']
810
811_ACEOF
812
813 cat <<_ACEOF
814Installation directories:
815 --prefix=PREFIX install architecture-independent files in PREFIX
816 [$ac_default_prefix]
817 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
818 [PREFIX]
819
820By default, \`make install' will install all the files in
821\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
822an installation prefix other than \`$ac_default_prefix' using \`--prefix',
823for instance \`--prefix=\$HOME'.
824
825For better control, use the options below.
826
827Fine tuning of the installation directories:
828 --bindir=DIR user executables [EPREFIX/bin]
829 --sbindir=DIR system admin executables [EPREFIX/sbin]
830 --libexecdir=DIR program executables [EPREFIX/libexec]
831 --datadir=DIR read-only architecture-independent data [PREFIX/share]
832 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
833 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
834 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
835 --libdir=DIR object code libraries [EPREFIX/lib]
836 --includedir=DIR C header files [PREFIX/include]
837 --oldincludedir=DIR C header files for non-gcc [/usr/include]
838 --infodir=DIR info documentation [PREFIX/info]
839 --mandir=DIR man documentation [PREFIX/man]
840_ACEOF
841
842 cat <<\_ACEOF
843
844Program names:
845 --program-prefix=PREFIX prepend PREFIX to installed program names
846 --program-suffix=SUFFIX append SUFFIX to installed program names
847 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
848
849System types:
850 --build=BUILD configure for building on BUILD [guessed]
851 --host=HOST cross-compile to build programs to run on HOST [BUILD]
852_ACEOF
853fi
854
855if test -n "$ac_init_help"; then
856 case $ac_init_help in
857 short | recursive ) echo "Configuration of smartmontools 5.36:";;
858 esac
859 cat <<\_ACEOF
860
861Optional Features:
862 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
863 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
864 --enable-maintainer-mode enable make rules and dependencies not useful
865 (and sometimes confusing) to the casual installer
866 --disable-dependency-tracking speeds up one-time build
867 --enable-dependency-tracking do not reject slow dependency extractors
868 --enable-sample Enables appending .sample to the installed smartd rc
869 script and configuration file
870
871Optional Packages:
872 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
873 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
874 --with-initscriptdir=dir
875 Location of init scripts (default is
876 ${sysconfdir}/rc.d/init.d)
877 --with-docdir=dir Location of documentation (default is
878 ${prefix}/share/doc/smartmontools-5.X)
879
880Some influential environment variables:
881 CC C compiler command
882 CFLAGS C compiler flags
883 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
884 nonstandard directory <lib dir>
885 CPPFLAGS C/C++ preprocessor flags, e.g. -I<include dir> if you have
886 headers in a nonstandard directory <include dir>
887 CCAS assembler compiler command (defaults to CC)
888 CCASFLAGS assembler compiler flags (defaults to CFLAGS)
889 CPP C preprocessor
890
891Use these variables to override the choices made by `configure' or to help
892it to find libraries and programs with nonstandard names/locations.
893
894Report bugs to <smartmontools-support@lists.sourceforge.net>.
895_ACEOF
896fi
897
898if test "$ac_init_help" = "recursive"; then
899 # If there are subdirs, report their specific --help.
900 ac_popdir=`pwd`
901 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
902 test -d $ac_dir || continue
903 ac_builddir=.
904
905if test "$ac_dir" != .; then
906 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
907 # A "../" for each directory in $ac_dir_suffix.
908 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
909else
910 ac_dir_suffix= ac_top_builddir=
911fi
912
913case $srcdir in
914 .) # No --srcdir option. We are building in place.
915 ac_srcdir=.
916 if test -z "$ac_top_builddir"; then
917 ac_top_srcdir=.
918 else
919 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
920 fi ;;
921 [\\/]* | ?:[\\/]* ) # Absolute path.
922 ac_srcdir=$srcdir$ac_dir_suffix;
923 ac_top_srcdir=$srcdir ;;
924 *) # Relative path.
925 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
926 ac_top_srcdir=$ac_top_builddir$srcdir ;;
927esac
928
929# Do not use `cd foo && pwd` to compute absolute paths, because
930# the directories may not exist.
931case `pwd` in
932.) ac_abs_builddir="$ac_dir";;
933*)
934 case "$ac_dir" in
935 .) ac_abs_builddir=`pwd`;;
936 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
937 *) ac_abs_builddir=`pwd`/"$ac_dir";;
938 esac;;
939esac
940case $ac_abs_builddir in
941.) ac_abs_top_builddir=${ac_top_builddir}.;;
942*)
943 case ${ac_top_builddir}. in
944 .) ac_abs_top_builddir=$ac_abs_builddir;;
945 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
946 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
947 esac;;
948esac
949case $ac_abs_builddir in
950.) ac_abs_srcdir=$ac_srcdir;;
951*)
952 case $ac_srcdir in
953 .) ac_abs_srcdir=$ac_abs_builddir;;
954 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
955 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
956 esac;;
957esac
958case $ac_abs_builddir in
959.) ac_abs_top_srcdir=$ac_top_srcdir;;
960*)
961 case $ac_top_srcdir in
962 .) ac_abs_top_srcdir=$ac_abs_builddir;;
963 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
964 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
965 esac;;
966esac
967
968 cd $ac_dir
969 # Check for guested configure; otherwise get Cygnus style configure.
970 if test -f $ac_srcdir/configure.gnu; then
971 echo
972 $SHELL $ac_srcdir/configure.gnu --help=recursive
973 elif test -f $ac_srcdir/configure; then
974 echo
975 $SHELL $ac_srcdir/configure --help=recursive
976 elif test -f $ac_srcdir/configure.ac ||
977 test -f $ac_srcdir/configure.in; then
978 echo
979 $ac_configure --help
980 else
981 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
982 fi
983 cd $ac_popdir
984 done
985fi
986
987test -n "$ac_init_help" && exit 0
988if $ac_init_version; then
989 cat <<\_ACEOF
990smartmontools configure 5.36
991generated by GNU Autoconf 2.59
992
993Copyright (C) 2003 Free Software Foundation, Inc.
994This configure script is free software; the Free Software Foundation
995gives unlimited permission to copy, distribute and modify it.
996_ACEOF
997 exit 0
998fi
999exec 5>config.log
1000cat >&5 <<_ACEOF
1001This file contains any messages produced by compilers while
1002running configure, to aid debugging if configure makes a mistake.
1003
1004It was created by smartmontools $as_me 5.36, which was
1005generated by GNU Autoconf 2.59. Invocation command line was
1006
1007 $ $0 $@
1008
1009_ACEOF
1010{
1011cat <<_ASUNAME
1012## --------- ##
1013## Platform. ##
1014## --------- ##
1015
1016hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1017uname -m = `(uname -m) 2>/dev/null || echo unknown`
1018uname -r = `(uname -r) 2>/dev/null || echo unknown`
1019uname -s = `(uname -s) 2>/dev/null || echo unknown`
1020uname -v = `(uname -v) 2>/dev/null || echo unknown`
1021
1022/usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1023/bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1024
1025/bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1026/usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1027/usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1028hostinfo = `(hostinfo) 2>/dev/null || echo unknown`
1029/bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1030/usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1031/bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1032
1033_ASUNAME
1034
1035as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1036for as_dir in $PATH
1037do
1038 IFS=$as_save_IFS
1039 test -z "$as_dir" && as_dir=.
1040 echo "PATH: $as_dir"
1041done
1042
1043} >&5
1044
1045cat >&5 <<_ACEOF
1046
1047
1048## ----------- ##
1049## Core tests. ##
1050## ----------- ##
1051
1052_ACEOF
1053
1054
1055# Keep a trace of the command line.
1056# Strip out --no-create and --no-recursion so they do not pile up.
1057# Strip out --silent because we don't want to record it for future runs.
1058# Also quote any args containing shell meta-characters.
1059# Make two passes to allow for proper duplicate-argument suppression.
1060ac_configure_args=
1061ac_configure_args0=
1062ac_configure_args1=
1063ac_sep=
1064ac_must_keep_next=false
1065for ac_pass in 1 2
1066do
1067 for ac_arg
1068 do
1069 case $ac_arg in
1070 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1071 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1072 | -silent | --silent | --silen | --sile | --sil)
1073 continue ;;
1074 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1075 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1076 esac
1077 case $ac_pass in
1078 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
1079 2)
1080 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
1081 if test $ac_must_keep_next = true; then
1082 ac_must_keep_next=false # Got value, back to normal.
1083 else
1084 case $ac_arg in
1085 *=* | --config-cache | -C | -disable-* | --disable-* \
1086 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1087 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1088 | -with-* | --with-* | -without-* | --without-* | --x)
1089 case "$ac_configure_args0 " in
1090 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1091 esac
1092 ;;
1093 -* ) ac_must_keep_next=true ;;
1094 esac
1095 fi
1096 ac_configure_args="$ac_configure_args$ac_sep'$ac_arg'"
1097 # Get rid of the leading space.
1098 ac_sep=" "
1099 ;;
1100 esac
1101 done
1102done
1103$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
1104$as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
1105
1106# When interrupted or exit'd, cleanup temporary files, and complete
1107# config.log. We remove comments because anyway the quotes in there
1108# would cause problems or look ugly.
1109# WARNING: Be sure not to use single quotes in there, as some shells,
1110# such as our DU 5.0 friend, will then `close' the trap.
1111trap 'exit_status=$?
1112 # Save into config.log some information that might help in debugging.
1113 {
1114 echo
1115
1116 cat <<\_ASBOX
1117## ---------------- ##
1118## Cache variables. ##
1119## ---------------- ##
1120_ASBOX
1121 echo
1122 # The following way of writing the cache mishandles newlines in values,
1123{
1124 (set) 2>&1 |
1125 case `(ac_space='"'"' '"'"'; set | grep ac_space) 2>&1` in
1126 *ac_space=\ *)
1127 sed -n \
1128 "s/'"'"'/'"'"'\\\\'"'"''"'"'/g;
1129 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='"'"'\\2'"'"'/p"
1130 ;;
1131 *)
1132 sed -n \
1133 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
1134 ;;
1135 esac;
1136}
1137 echo
1138
1139 cat <<\_ASBOX
1140## ----------------- ##
1141## Output variables. ##
1142## ----------------- ##
1143_ASBOX
1144 echo
1145 for ac_var in $ac_subst_vars
1146 do
1147 eval ac_val=$`echo $ac_var`
1148 echo "$ac_var='"'"'$ac_val'"'"'"
1149 done | sort
1150 echo
1151
1152 if test -n "$ac_subst_files"; then
1153 cat <<\_ASBOX
1154## ------------- ##
1155## Output files. ##
1156## ------------- ##
1157_ASBOX
1158 echo
1159 for ac_var in $ac_subst_files
1160 do
1161 eval ac_val=$`echo $ac_var`
1162 echo "$ac_var='"'"'$ac_val'"'"'"
1163 done | sort
1164 echo
1165 fi
1166
1167 if test -s confdefs.h; then
1168 cat <<\_ASBOX
1169## ----------- ##
1170## confdefs.h. ##
1171## ----------- ##
1172_ASBOX
1173 echo
1174 sed "/^$/d" confdefs.h | sort
1175 echo
1176 fi
1177 test "$ac_signal" != 0 &&
1178 echo "$as_me: caught signal $ac_signal"
1179 echo "$as_me: exit $exit_status"
1180 } >&5
1181 rm -f core *.core &&
1182 rm -rf conftest* confdefs* conf$$* $ac_clean_files &&
1183 exit $exit_status
1184 ' 0
1185for ac_signal in 1 2 13 15; do
1186 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
1187done
1188ac_signal=0
1189
1190# confdefs.h avoids OS command line length limits that DEFS can exceed.
1191rm -rf conftest* confdefs.h
1192# AIX cpp loses on an empty file, so make sure it contains at least a newline.
1193echo >confdefs.h
1194
1195# Predefined preprocessor variables.
1196
1197cat >>confdefs.h <<_ACEOF
1198#define PACKAGE_NAME "$PACKAGE_NAME"
1199_ACEOF
1200
1201
1202cat >>confdefs.h <<_ACEOF
1203#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1204_ACEOF
1205
1206
1207cat >>confdefs.h <<_ACEOF
1208#define PACKAGE_VERSION "$PACKAGE_VERSION"
1209_ACEOF
1210
1211
1212cat >>confdefs.h <<_ACEOF
1213#define PACKAGE_STRING "$PACKAGE_STRING"
1214_ACEOF
1215
1216
1217cat >>confdefs.h <<_ACEOF
1218#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1219_ACEOF
1220
1221
1222# Let the site file select an alternate cache file if it wants to.
1223# Prefer explicitly selected file to automatically selected ones.
1224if test -z "$CONFIG_SITE"; then
1225 if test "x$prefix" != xNONE; then
1226 CONFIG_SITE="$prefix/share/config.site $prefix/etc/config.site"
1227 else
1228 CONFIG_SITE="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1229 fi
1230fi
1231for ac_site_file in $CONFIG_SITE; do
1232 if test -r "$ac_site_file"; then
1233 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
1234echo "$as_me: loading site script $ac_site_file" >&6;}
1235 sed 's/^/| /' "$ac_site_file" >&5
1236 . "$ac_site_file"
1237 fi
1238done
1239
1240if test -r "$cache_file"; then
1241 # Some versions of bash will fail to source /dev/null (special
1242 # files actually), so we avoid doing that.
1243 if test -f "$cache_file"; then
1244 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
1245echo "$as_me: loading cache $cache_file" >&6;}
1246 case $cache_file in
1247 [\\/]* | ?:[\\/]* ) . $cache_file;;
1248 *) . ./$cache_file;;
1249 esac
1250 fi
1251else
1252 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
1253echo "$as_me: creating cache $cache_file" >&6;}
1254 >$cache_file
1255fi
1256
1257# Check that the precious variables saved in the cache have kept the same
1258# value.
1259ac_cache_corrupted=false
1260for ac_var in `(set) 2>&1 |
1261 sed -n 's/^ac_env_\([a-zA-Z_0-9]*\)_set=.*/\1/p'`; do
1262 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1263 eval ac_new_set=\$ac_env_${ac_var}_set
1264 eval ac_old_val="\$ac_cv_env_${ac_var}_value"
1265 eval ac_new_val="\$ac_env_${ac_var}_value"
1266 case $ac_old_set,$ac_new_set in
1267 set,)
1268 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1269echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1270 ac_cache_corrupted=: ;;
1271 ,set)
1272 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
1273echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1274 ac_cache_corrupted=: ;;
1275 ,);;
1276 *)
1277 if test "x$ac_old_val" != "x$ac_new_val"; then
1278 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
1279echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1280 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
1281echo "$as_me: former value: $ac_old_val" >&2;}
1282 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
1283echo "$as_me: current value: $ac_new_val" >&2;}
1284 ac_cache_corrupted=:
1285 fi;;
1286 esac
1287 # Pass precious variables to config.status.
1288 if test "$ac_new_set" = set; then
1289 case $ac_new_val in
1290 *" "*|*" "*|*[\[\]\~\#\$\^\&\*\(\)\{\}\\\|\;\<\>\?\"\']*)
1291 ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1292 *) ac_arg=$ac_var=$ac_new_val ;;
1293 esac
1294 case " $ac_configure_args " in
1295 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1296 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
1297 esac
1298 fi
1299done
1300if $ac_cache_corrupted; then
1301 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
1302echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1303 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
1304echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
1305 { (exit 1); exit 1; }; }
1306fi
1307
1308ac_ext=c
1309ac_cpp='$CPP $CPPFLAGS'
1310ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1311ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1312ac_compiler_gnu=$ac_cv_c_compiler_gnu
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342smartmontools_configure_date=`date -u +"%Y/%m/%d %T %Z"`
1343smartmontools_cvs_tag=`echo '$Id: configure.in,v 1.113 2005/11/27 20:01:29 chrfranke Exp $'`
1344smartmontools_release_date=2006/04/12
1345smartmontools_release_time="17:39:01 UTC"
1346
1347
1348cat >>confdefs.h <<_ACEOF
1349#define SMARTMONTOOLS_CONFIGURE_ARGS "$ac_configure_args"
1350_ACEOF
1351
1352
1353cat >>confdefs.h <<_ACEOF
1354#define SMARTMONTOOLS_CONFIGURE_DATE "$smartmontools_configure_date"
1355_ACEOF
1356
1357
1358cat >>confdefs.h <<_ACEOF
1359#define SMARTMONTOOLS_RELEASE_DATE "$smartmontools_release_date"
1360_ACEOF
1361
1362
1363cat >>confdefs.h <<_ACEOF
1364#define SMARTMONTOOLS_RELEASE_TIME "$smartmontools_release_time"
1365_ACEOF
1366
1367
1368cat >>confdefs.h <<_ACEOF
1369#define CONFIG_H_CVSID "$smartmontools_cvs_tag"
1370_ACEOF
1371
1372
1373cat >>confdefs.h <<_ACEOF
1374#define PACKAGE_HOMEPAGE "http://smartmontools.sourceforge.net/"
1375_ACEOF
1376
1377
1378 ac_config_headers="$ac_config_headers config.h"
1379
1380
1381am__api_version="1.9"
1382ac_aux_dir=
1383for ac_dir in $srcdir $srcdir/.. $srcdir/../..; do
1384 if test -f $ac_dir/install-sh; then
1385 ac_aux_dir=$ac_dir
1386 ac_install_sh="$ac_aux_dir/install-sh -c"
1387 break
1388 elif test -f $ac_dir/install.sh; then
1389 ac_aux_dir=$ac_dir
1390 ac_install_sh="$ac_aux_dir/install.sh -c"
1391 break
1392 elif test -f $ac_dir/shtool; then
1393 ac_aux_dir=$ac_dir
1394 ac_install_sh="$ac_aux_dir/shtool install -c"
1395 break
1396 fi
1397done
1398if test -z "$ac_aux_dir"; then
1399 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&5
1400echo "$as_me: error: cannot find install-sh or install.sh in $srcdir $srcdir/.. $srcdir/../.." >&2;}
1401 { (exit 1); exit 1; }; }
1402fi
1403ac_config_guess="$SHELL $ac_aux_dir/config.guess"
1404ac_config_sub="$SHELL $ac_aux_dir/config.sub"
1405ac_configure="$SHELL $ac_aux_dir/configure" # This should be Cygnus configure.
1406
1407# Find a good install program. We prefer a C program (faster),
1408# so one script is as good as another. But avoid the broken or
1409# incompatible versions:
1410# SysV /etc/install, /usr/sbin/install
1411# SunOS /usr/etc/install
1412# IRIX /sbin/install
1413# AIX /bin/install
1414# AmigaOS /C/install, which installs bootblocks on floppy discs
1415# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1416# AFS /usr/afsws/bin/install, which mishandles nonexistent args
1417# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1418# OS/2's system install, which has a completely different semantic
1419# ./install, which can be erroneously created by make from ./install.sh.
1420echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
1421echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
1422if test -z "$INSTALL"; then
1423if test "${ac_cv_path_install+set}" = set; then
1424 echo $ECHO_N "(cached) $ECHO_C" >&6
1425else
1426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1427for as_dir in $PATH
1428do
1429 IFS=$as_save_IFS
1430 test -z "$as_dir" && as_dir=.
1431 # Account for people who put trailing slashes in PATH elements.
1432case $as_dir/ in
1433 ./ | .// | /cC/* | \
1434 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1435 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
1436 /usr/ucb/* ) ;;
1437 *)
1438 # OSF1 and SCO ODT 3.0 have their own names for install.
1439 # Don't use installbsd from OSF since it installs stuff as root
1440 # by default.
1441 for ac_prog in ginstall scoinst install; do
1442 for ac_exec_ext in '' $ac_executable_extensions; do
1443 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1444 if test $ac_prog = install &&
1445 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1446 # AIX install. It has an incompatible calling convention.
1447 :
1448 elif test $ac_prog = install &&
1449 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1450 # program-specific install script used by HP pwplus--don't use.
1451 :
1452 else
1453 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1454 break 3
1455 fi
1456 fi
1457 done
1458 done
1459 ;;
1460esac
1461done
1462
1463
1464fi
1465 if test "${ac_cv_path_install+set}" = set; then
1466 INSTALL=$ac_cv_path_install
1467 else
1468 # As a last resort, use the slow shell script. We don't cache a
1469 # path for INSTALL within a source directory, because that will
1470 # break other packages using the cache if that directory is
1471 # removed, or if the path is relative.
1472 INSTALL=$ac_install_sh
1473 fi
1474fi
1475echo "$as_me:$LINENO: result: $INSTALL" >&5
1476echo "${ECHO_T}$INSTALL" >&6
1477
1478# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1479# It thinks the first close brace ends the variable substitution.
1480test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1481
1482test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1483
1484test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1485
1486echo "$as_me:$LINENO: checking whether build environment is sane" >&5
1487echo $ECHO_N "checking whether build environment is sane... $ECHO_C" >&6
1488# Just in case
1489sleep 1
1490echo timestamp > conftest.file
1491# Do `set' in a subshell so we don't clobber the current shell's
1492# arguments. Must try -L first in case configure is actually a
1493# symlink; some systems play weird games with the mod time of symlinks
1494# (eg FreeBSD returns the mod time of the symlink's containing
1495# directory).
1496if (
1497 set X `ls -Lt $srcdir/configure conftest.file 2> /dev/null`
1498 if test "$*" = "X"; then
1499 # -L didn't work.
1500 set X `ls -t $srcdir/configure conftest.file`
1501 fi
1502 rm -f conftest.file
1503 if test "$*" != "X $srcdir/configure conftest.file" \
1504 && test "$*" != "X conftest.file $srcdir/configure"; then
1505
1506 # If neither matched, then we have a broken ls. This can happen
1507 # if, for instance, CONFIG_SHELL is bash and it inherits a
1508 # broken ls alias from the environment. This has actually
1509 # happened. Such a system could not be considered "sane".
1510 { { echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
1511alias in your environment" >&5
1512echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
1513alias in your environment" >&2;}
1514 { (exit 1); exit 1; }; }
1515 fi
1516
1517 test "$2" = conftest.file
1518 )
1519then
1520 # Ok.
1521 :
1522else
1523 { { echo "$as_me:$LINENO: error: newly created file is older than distributed files!
1524Check your system clock" >&5
1525echo "$as_me: error: newly created file is older than distributed files!
1526Check your system clock" >&2;}
1527 { (exit 1); exit 1; }; }
1528fi
1529echo "$as_me:$LINENO: result: yes" >&5
1530echo "${ECHO_T}yes" >&6
1531test "$program_prefix" != NONE &&
1532 program_transform_name="s,^,$program_prefix,;$program_transform_name"
1533# Use a double $ so make ignores it.
1534test "$program_suffix" != NONE &&
1535 program_transform_name="s,\$,$program_suffix,;$program_transform_name"
1536# Double any \ or $. echo might interpret backslashes.
1537# By default was `s,x,x', remove it if useless.
1538cat <<\_ACEOF >conftest.sed
1539s/[\\$]/&&/g;s/;s,x,x,$//
1540_ACEOF
1541program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
1542rm conftest.sed
1543
1544# expand $ac_aux_dir to an absolute path
1545am_aux_dir=`cd $ac_aux_dir && pwd`
1546
1547test x"${MISSING+set}" = xset || MISSING="\${SHELL} $am_aux_dir/missing"
1548# Use eval to expand $SHELL
1549if eval "$MISSING --run true"; then
1550 am_missing_run="$MISSING --run "
1551else
1552 am_missing_run=
1553 { echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
1554echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1555fi
1556
1557if mkdir -p --version . >/dev/null 2>&1 && test ! -d ./--version; then
1558 # We used to keeping the `.' as first argument, in order to
1559 # allow $(mkdir_p) to be used without argument. As in
1560 # $(mkdir_p) $(somedir)
1561 # where $(somedir) is conditionally defined. However this is wrong
1562 # for two reasons:
1563 # 1. if the package is installed by a user who cannot write `.'
1564 # make install will fail,
1565 # 2. the above comment should most certainly read
1566 # $(mkdir_p) $(DESTDIR)$(somedir)
1567 # so it does not work when $(somedir) is undefined and
1568 # $(DESTDIR) is not.
1569 # To support the latter case, we have to write
1570 # test -z "$(somedir)" || $(mkdir_p) $(DESTDIR)$(somedir),
1571 # so the `.' trick is pointless.
1572 mkdir_p='mkdir -p --'
1573else
1574 # On NextStep and OpenStep, the `mkdir' command does not
1575 # recognize any option. It will interpret all options as
1576 # directories to create, and then abort because `.' already
1577 # exists.
1578 for d in ./-p ./--version;
1579 do
1580 test -d $d && rmdir $d
1581 done
1582 # $(mkinstalldirs) is defined by Automake if mkinstalldirs exists.
1583 if test -f "$ac_aux_dir/mkinstalldirs"; then
1584 mkdir_p='$(mkinstalldirs)'
1585 else
1586 mkdir_p='$(install_sh) -d'
1587 fi
1588fi
1589
1590for ac_prog in gawk mawk nawk awk
1591do
1592 # Extract the first word of "$ac_prog", so it can be a program name with args.
1593set dummy $ac_prog; ac_word=$2
1594echo "$as_me:$LINENO: checking for $ac_word" >&5
1595echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1596if test "${ac_cv_prog_AWK+set}" = set; then
1597 echo $ECHO_N "(cached) $ECHO_C" >&6
1598else
1599 if test -n "$AWK"; then
1600 ac_cv_prog_AWK="$AWK" # Let the user override the test.
1601else
1602as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1603for as_dir in $PATH
1604do
1605 IFS=$as_save_IFS
1606 test -z "$as_dir" && as_dir=.
1607 for ac_exec_ext in '' $ac_executable_extensions; do
1608 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1609 ac_cv_prog_AWK="$ac_prog"
1610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1611 break 2
1612 fi
1613done
1614done
1615
1616fi
1617fi
1618AWK=$ac_cv_prog_AWK
1619if test -n "$AWK"; then
1620 echo "$as_me:$LINENO: result: $AWK" >&5
1621echo "${ECHO_T}$AWK" >&6
1622else
1623 echo "$as_me:$LINENO: result: no" >&5
1624echo "${ECHO_T}no" >&6
1625fi
1626
1627 test -n "$AWK" && break
1628done
1629
1630echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
1631echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
1632set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
1633if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
1634 echo $ECHO_N "(cached) $ECHO_C" >&6
1635else
1636 cat >conftest.make <<\_ACEOF
1637all:
1638 @echo 'ac_maketemp="$(MAKE)"'
1639_ACEOF
1640# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
1641eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
1642if test -n "$ac_maketemp"; then
1643 eval ac_cv_prog_make_${ac_make}_set=yes
1644else
1645 eval ac_cv_prog_make_${ac_make}_set=no
1646fi
1647rm -f conftest.make
1648fi
1649if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
1650 echo "$as_me:$LINENO: result: yes" >&5
1651echo "${ECHO_T}yes" >&6
1652 SET_MAKE=
1653else
1654 echo "$as_me:$LINENO: result: no" >&5
1655echo "${ECHO_T}no" >&6
1656 SET_MAKE="MAKE=${MAKE-make}"
1657fi
1658
1659rm -rf .tst 2>/dev/null
1660mkdir .tst 2>/dev/null
1661if test -d .tst; then
1662 am__leading_dot=.
1663else
1664 am__leading_dot=_
1665fi
1666rmdir .tst 2>/dev/null
1667
1668# test to see if srcdir already configured
1669if test "`cd $srcdir && pwd`" != "`pwd`" &&
1670 test -f $srcdir/config.status; then
1671 { { echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
1672echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
1673 { (exit 1); exit 1; }; }
1674fi
1675
1676# test whether we have cygpath
1677if test -z "$CYGPATH_W"; then
1678 if (cygpath --version) >/dev/null 2>/dev/null; then
1679 CYGPATH_W='cygpath -w'
1680 else
1681 CYGPATH_W=echo
1682 fi
1683fi
1684
1685
1686# Define the identity of the package.
1687 PACKAGE='smartmontools'
1688 VERSION='5.36'
1689
1690
1691cat >>confdefs.h <<_ACEOF
1692#define PACKAGE "$PACKAGE"
1693_ACEOF
1694
1695
1696cat >>confdefs.h <<_ACEOF
1697#define VERSION "$VERSION"
1698_ACEOF
1699
1700# Some tools Automake needs.
1701
1702ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
1703
1704
1705AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
1706
1707
1708AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
1709
1710
1711AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
1712
1713
1714MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
1715
1716install_sh=${install_sh-"$am_aux_dir/install-sh"}
1717
1718# Installed binaries are usually stripped using `strip' when the user
1719# run `make install-strip'. However `strip' might not be the right
1720# tool to use in cross-compilation environments, therefore Automake
1721# will honor the `STRIP' environment variable to overrule this program.
1722if test "$cross_compiling" != no; then
1723 if test -n "$ac_tool_prefix"; then
1724 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1725set dummy ${ac_tool_prefix}strip; ac_word=$2
1726echo "$as_me:$LINENO: checking for $ac_word" >&5
1727echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1728if test "${ac_cv_prog_STRIP+set}" = set; then
1729 echo $ECHO_N "(cached) $ECHO_C" >&6
1730else
1731 if test -n "$STRIP"; then
1732 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1733else
1734as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1735for as_dir in $PATH
1736do
1737 IFS=$as_save_IFS
1738 test -z "$as_dir" && as_dir=.
1739 for ac_exec_ext in '' $ac_executable_extensions; do
1740 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1741 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1742 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1743 break 2
1744 fi
1745done
1746done
1747
1748fi
1749fi
1750STRIP=$ac_cv_prog_STRIP
1751if test -n "$STRIP"; then
1752 echo "$as_me:$LINENO: result: $STRIP" >&5
1753echo "${ECHO_T}$STRIP" >&6
1754else
1755 echo "$as_me:$LINENO: result: no" >&5
1756echo "${ECHO_T}no" >&6
1757fi
1758
1759fi
1760if test -z "$ac_cv_prog_STRIP"; then
1761 ac_ct_STRIP=$STRIP
1762 # Extract the first word of "strip", so it can be a program name with args.
1763set dummy strip; ac_word=$2
1764echo "$as_me:$LINENO: checking for $ac_word" >&5
1765echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1766if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
1767 echo $ECHO_N "(cached) $ECHO_C" >&6
1768else
1769 if test -n "$ac_ct_STRIP"; then
1770 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
1771else
1772as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1773for as_dir in $PATH
1774do
1775 IFS=$as_save_IFS
1776 test -z "$as_dir" && as_dir=.
1777 for ac_exec_ext in '' $ac_executable_extensions; do
1778 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1779 ac_cv_prog_ac_ct_STRIP="strip"
1780 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1781 break 2
1782 fi
1783done
1784done
1785
1786 test -z "$ac_cv_prog_ac_ct_STRIP" && ac_cv_prog_ac_ct_STRIP=":"
1787fi
1788fi
1789ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
1790if test -n "$ac_ct_STRIP"; then
1791 echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
1792echo "${ECHO_T}$ac_ct_STRIP" >&6
1793else
1794 echo "$as_me:$LINENO: result: no" >&5
1795echo "${ECHO_T}no" >&6
1796fi
1797
1798 STRIP=$ac_ct_STRIP
1799else
1800 STRIP="$ac_cv_prog_STRIP"
1801fi
1802
1803fi
1804INSTALL_STRIP_PROGRAM="\${SHELL} \$(install_sh) -c -s"
1805
1806# We need awk for the "check" target. The system "awk" is bad on
1807# some platforms.
1808# Always define AMTAR for backward compatibility.
1809
1810AMTAR=${AMTAR-"${am_missing_run}tar"}
1811
1812am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
1813
1814
1815
1816
1817
1818
1819echo "$as_me:$LINENO: checking whether to enable maintainer-specific portions of Makefiles" >&5
1820echo $ECHO_N "checking whether to enable maintainer-specific portions of Makefiles... $ECHO_C" >&6
1821 # Check whether --enable-maintainer-mode or --disable-maintainer-mode was given.
1822if test "${enable_maintainer_mode+set}" = set; then
1823 enableval="$enable_maintainer_mode"
1824 USE_MAINTAINER_MODE=$enableval
1825else
1826 USE_MAINTAINER_MODE=no
1827fi;
1828 echo "$as_me:$LINENO: result: $USE_MAINTAINER_MODE" >&5
1829echo "${ECHO_T}$USE_MAINTAINER_MODE" >&6
1830
1831
1832if test $USE_MAINTAINER_MODE = yes; then
1833 MAINTAINER_MODE_TRUE=
1834 MAINTAINER_MODE_FALSE='#'
1835else
1836 MAINTAINER_MODE_TRUE='#'
1837 MAINTAINER_MODE_FALSE=
1838fi
1839
1840 MAINT=$MAINTAINER_MODE_TRUE
1841
1842
1843
1844ac_ext=c
1845ac_cpp='$CPP $CPPFLAGS'
1846ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1847ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1848ac_compiler_gnu=$ac_cv_c_compiler_gnu
1849
1850ac_ext=c
1851ac_cpp='$CPP $CPPFLAGS'
1852ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1853ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1854ac_compiler_gnu=$ac_cv_c_compiler_gnu
1855if test -n "$ac_tool_prefix"; then
1856 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1857set dummy ${ac_tool_prefix}gcc; ac_word=$2
1858echo "$as_me:$LINENO: checking for $ac_word" >&5
1859echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1860if test "${ac_cv_prog_CC+set}" = set; then
1861 echo $ECHO_N "(cached) $ECHO_C" >&6
1862else
1863 if test -n "$CC"; then
1864 ac_cv_prog_CC="$CC" # Let the user override the test.
1865else
1866as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1867for as_dir in $PATH
1868do
1869 IFS=$as_save_IFS
1870 test -z "$as_dir" && as_dir=.
1871 for ac_exec_ext in '' $ac_executable_extensions; do
1872 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1873 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1874 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1875 break 2
1876 fi
1877done
1878done
1879
1880fi
1881fi
1882CC=$ac_cv_prog_CC
1883if test -n "$CC"; then
1884 echo "$as_me:$LINENO: result: $CC" >&5
1885echo "${ECHO_T}$CC" >&6
1886else
1887 echo "$as_me:$LINENO: result: no" >&5
1888echo "${ECHO_T}no" >&6
1889fi
1890
1891fi
1892if test -z "$ac_cv_prog_CC"; then
1893 ac_ct_CC=$CC
1894 # Extract the first word of "gcc", so it can be a program name with args.
1895set dummy gcc; ac_word=$2
1896echo "$as_me:$LINENO: checking for $ac_word" >&5
1897echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1898if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1899 echo $ECHO_N "(cached) $ECHO_C" >&6
1900else
1901 if test -n "$ac_ct_CC"; then
1902 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1903else
1904as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1905for as_dir in $PATH
1906do
1907 IFS=$as_save_IFS
1908 test -z "$as_dir" && as_dir=.
1909 for ac_exec_ext in '' $ac_executable_extensions; do
1910 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1911 ac_cv_prog_ac_ct_CC="gcc"
1912 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1913 break 2
1914 fi
1915done
1916done
1917
1918fi
1919fi
1920ac_ct_CC=$ac_cv_prog_ac_ct_CC
1921if test -n "$ac_ct_CC"; then
1922 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
1923echo "${ECHO_T}$ac_ct_CC" >&6
1924else
1925 echo "$as_me:$LINENO: result: no" >&5
1926echo "${ECHO_T}no" >&6
1927fi
1928
1929 CC=$ac_ct_CC
1930else
1931 CC="$ac_cv_prog_CC"
1932fi
1933
1934if test -z "$CC"; then
1935 if test -n "$ac_tool_prefix"; then
1936 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1937set dummy ${ac_tool_prefix}cc; ac_word=$2
1938echo "$as_me:$LINENO: checking for $ac_word" >&5
1939echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1940if test "${ac_cv_prog_CC+set}" = set; then
1941 echo $ECHO_N "(cached) $ECHO_C" >&6
1942else
1943 if test -n "$CC"; then
1944 ac_cv_prog_CC="$CC" # Let the user override the test.
1945else
1946as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1947for as_dir in $PATH
1948do
1949 IFS=$as_save_IFS
1950 test -z "$as_dir" && as_dir=.
1951 for ac_exec_ext in '' $ac_executable_extensions; do
1952 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1953 ac_cv_prog_CC="${ac_tool_prefix}cc"
1954 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1955 break 2
1956 fi
1957done
1958done
1959
1960fi
1961fi
1962CC=$ac_cv_prog_CC
1963if test -n "$CC"; then
1964 echo "$as_me:$LINENO: result: $CC" >&5
1965echo "${ECHO_T}$CC" >&6
1966else
1967 echo "$as_me:$LINENO: result: no" >&5
1968echo "${ECHO_T}no" >&6
1969fi
1970
1971fi
1972if test -z "$ac_cv_prog_CC"; then
1973 ac_ct_CC=$CC
1974 # Extract the first word of "cc", so it can be a program name with args.
1975set dummy cc; ac_word=$2
1976echo "$as_me:$LINENO: checking for $ac_word" >&5
1977echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
1978if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
1979 echo $ECHO_N "(cached) $ECHO_C" >&6
1980else
1981 if test -n "$ac_ct_CC"; then
1982 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1983else
1984as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1985for as_dir in $PATH
1986do
1987 IFS=$as_save_IFS
1988 test -z "$as_dir" && as_dir=.
1989 for ac_exec_ext in '' $ac_executable_extensions; do
1990 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1991 ac_cv_prog_ac_ct_CC="cc"
1992 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
1993 break 2
1994 fi
1995done
1996done
1997
1998fi
1999fi
2000ac_ct_CC=$ac_cv_prog_ac_ct_CC
2001if test -n "$ac_ct_CC"; then
2002 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2003echo "${ECHO_T}$ac_ct_CC" >&6
2004else
2005 echo "$as_me:$LINENO: result: no" >&5
2006echo "${ECHO_T}no" >&6
2007fi
2008
2009 CC=$ac_ct_CC
2010else
2011 CC="$ac_cv_prog_CC"
2012fi
2013
2014fi
2015if test -z "$CC"; then
2016 # Extract the first word of "cc", so it can be a program name with args.
2017set dummy cc; ac_word=$2
2018echo "$as_me:$LINENO: checking for $ac_word" >&5
2019echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2020if test "${ac_cv_prog_CC+set}" = set; then
2021 echo $ECHO_N "(cached) $ECHO_C" >&6
2022else
2023 if test -n "$CC"; then
2024 ac_cv_prog_CC="$CC" # Let the user override the test.
2025else
2026 ac_prog_rejected=no
2027as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2028for as_dir in $PATH
2029do
2030 IFS=$as_save_IFS
2031 test -z "$as_dir" && as_dir=.
2032 for ac_exec_ext in '' $ac_executable_extensions; do
2033 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2034 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2035 ac_prog_rejected=yes
2036 continue
2037 fi
2038 ac_cv_prog_CC="cc"
2039 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2
2041 fi
2042done
2043done
2044
2045if test $ac_prog_rejected = yes; then
2046 # We found a bogon in the path, so make sure we never use it.
2047 set dummy $ac_cv_prog_CC
2048 shift
2049 if test $# != 0; then
2050 # We chose a different compiler from the bogus one.
2051 # However, it has the same basename, so the bogon will be chosen
2052 # first if we set CC to just the basename; use the full file name.
2053 shift
2054 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2055 fi
2056fi
2057fi
2058fi
2059CC=$ac_cv_prog_CC
2060if test -n "$CC"; then
2061 echo "$as_me:$LINENO: result: $CC" >&5
2062echo "${ECHO_T}$CC" >&6
2063else
2064 echo "$as_me:$LINENO: result: no" >&5
2065echo "${ECHO_T}no" >&6
2066fi
2067
2068fi
2069if test -z "$CC"; then
2070 if test -n "$ac_tool_prefix"; then
2071 for ac_prog in cl
2072 do
2073 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2074set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2075echo "$as_me:$LINENO: checking for $ac_word" >&5
2076echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2077if test "${ac_cv_prog_CC+set}" = set; then
2078 echo $ECHO_N "(cached) $ECHO_C" >&6
2079else
2080 if test -n "$CC"; then
2081 ac_cv_prog_CC="$CC" # Let the user override the test.
2082else
2083as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2084for as_dir in $PATH
2085do
2086 IFS=$as_save_IFS
2087 test -z "$as_dir" && as_dir=.
2088 for ac_exec_ext in '' $ac_executable_extensions; do
2089 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2090 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2091 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2092 break 2
2093 fi
2094done
2095done
2096
2097fi
2098fi
2099CC=$ac_cv_prog_CC
2100if test -n "$CC"; then
2101 echo "$as_me:$LINENO: result: $CC" >&5
2102echo "${ECHO_T}$CC" >&6
2103else
2104 echo "$as_me:$LINENO: result: no" >&5
2105echo "${ECHO_T}no" >&6
2106fi
2107
2108 test -n "$CC" && break
2109 done
2110fi
2111if test -z "$CC"; then
2112 ac_ct_CC=$CC
2113 for ac_prog in cl
2114do
2115 # Extract the first word of "$ac_prog", so it can be a program name with args.
2116set dummy $ac_prog; ac_word=$2
2117echo "$as_me:$LINENO: checking for $ac_word" >&5
2118echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6
2119if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
2120 echo $ECHO_N "(cached) $ECHO_C" >&6
2121else
2122 if test -n "$ac_ct_CC"; then
2123 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2124else
2125as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126for as_dir in $PATH
2127do
2128 IFS=$as_save_IFS
2129 test -z "$as_dir" && as_dir=.
2130 for ac_exec_ext in '' $ac_executable_extensions; do
2131 if $as_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2132 ac_cv_prog_ac_ct_CC="$ac_prog"
2133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
2134 break 2
2135 fi
2136done
2137done
2138
2139fi
2140fi
2141ac_ct_CC=$ac_cv_prog_ac_ct_CC
2142if test -n "$ac_ct_CC"; then
2143 echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
2144echo "${ECHO_T}$ac_ct_CC" >&6
2145else
2146 echo "$as_me:$LINENO: result: no" >&5
2147echo "${ECHO_T}no" >&6
2148fi
2149
2150 test -n "$ac_ct_CC" && break
2151done
2152
2153 CC=$ac_ct_CC
2154fi
2155
2156fi
2157
2158
2159test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
2160See \`config.log' for more details." >&5
2161echo "$as_me: error: no acceptable C compiler found in \$PATH
2162See \`config.log' for more details." >&2;}
2163 { (exit 1); exit 1; }; }
2164
2165# Provide some information about the compiler.
2166echo "$as_me:$LINENO:" \
2167 "checking for C compiler version" >&5
2168ac_compiler=`set X $ac_compile; echo $2`
2169{ (eval echo "$as_me:$LINENO: \"$ac_compiler --version </dev/null >&5\"") >&5
2170 (eval $ac_compiler --version </dev/null >&5) 2>&5
2171 ac_status=$?
2172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2173 (exit $ac_status); }
2174{ (eval echo "$as_me:$LINENO: \"$ac_compiler -v </dev/null >&5\"") >&5
2175 (eval $ac_compiler -v </dev/null >&5) 2>&5
2176 ac_status=$?
2177 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2178 (exit $ac_status); }
2179{ (eval echo "$as_me:$LINENO: \"$ac_compiler -V </dev/null >&5\"") >&5
2180 (eval $ac_compiler -V </dev/null >&5) 2>&5
2181 ac_status=$?
2182 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2183 (exit $ac_status); }
2184
2185cat >conftest.$ac_ext <<_ACEOF
2186/* confdefs.h. */
2187_ACEOF
2188cat confdefs.h >>conftest.$ac_ext
2189cat >>conftest.$ac_ext <<_ACEOF
2190/* end confdefs.h. */
2191
2192int
2193main ()
2194{
2195
2196 ;
2197 return 0;
2198}
2199_ACEOF
2200ac_clean_files_save=$ac_clean_files
2201ac_clean_files="$ac_clean_files a.out a.exe b.out"
2202# Try to create an executable without -o first, disregard a.out.
2203# It will help us diagnose broken compilers, and finding out an intuition
2204# of exeext.
2205echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
2206echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6
2207ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2208if { (eval echo "$as_me:$LINENO: \"$ac_link_default\"") >&5
2209 (eval $ac_link_default) 2>&5
2210 ac_status=$?
2211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2212 (exit $ac_status); }; then
2213 # Find the output, starting from the most likely. This scheme is
2214# not robust to junk in `.', hence go to wildcards (a.*) only as a last
2215# resort.
2216
2217# Be careful to initialize this variable, since it used to be cached.
2218# Otherwise an old cache value of `no' led to `EXEEXT = no' in a Makefile.
2219ac_cv_exeext=
2220# b.out is created by i960 compilers.
2221for ac_file in a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out
2222do
2223 test -f "$ac_file" || continue
2224 case $ac_file in
2225 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj )
2226 ;;
2227 conftest.$ac_ext )
2228 # This is the source file.
2229 ;;
2230 [ab].out )
2231 # We found the default executable, but exeext='' is most
2232 # certainly right.
2233 break;;
2234 *.* )
2235 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2236 # FIXME: I believe we export ac_cv_exeext for Libtool,
2237 # but it would be cool to find out if it's true. Does anybody
2238 # maintain Libtool? --akim.
2239 export ac_cv_exeext
2240 break;;
2241 * )
2242 break;;
2243 esac
2244done
2245else
2246 echo "$as_me: failed program was:" >&5
2247sed 's/^/| /' conftest.$ac_ext >&5
2248
2249{ { echo "$as_me:$LINENO: error: C compiler cannot create executables
2250See \`config.log' for more details." >&5
2251echo "$as_me: error: C compiler cannot create executables
2252See \`config.log' for more details." >&2;}
2253 { (exit 77); exit 77; }; }
2254fi
2255
2256ac_exeext=$ac_cv_exeext
2257echo "$as_me:$LINENO: result: $ac_file" >&5
2258echo "${ECHO_T}$ac_file" >&6
2259
2260# Check the compiler produces executables we can run. If not, either
2261# the compiler is broken, or we cross compile.
2262echo "$as_me:$LINENO: checking whether the C compiler works" >&5
2263echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6
2264# FIXME: These cross compiler hacks should be removed for Autoconf 3.0
2265# If not cross compiling, check that we can run a simple program.
2266if test "$cross_compiling" != yes; then
2267 if { ac_try='./$ac_file'
2268 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2269 (eval $ac_try) 2>&5
2270 ac_status=$?
2271 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2272 (exit $ac_status); }; }; then
2273 cross_compiling=no
2274 else
2275 if test "$cross_compiling" = maybe; then
2276 cross_compiling=yes
2277 else
2278 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
2279If you meant to cross compile, use \`--host'.
2280See \`config.log' for more details." >&5
2281echo "$as_me: error: cannot run C compiled programs.
2282If you meant to cross compile, use \`--host'.
2283See \`config.log' for more details." >&2;}
2284 { (exit 1); exit 1; }; }
2285 fi
2286 fi
2287fi
2288echo "$as_me:$LINENO: result: yes" >&5
2289echo "${ECHO_T}yes" >&6
2290
2291rm -f a.out a.exe conftest$ac_cv_exeext b.out
2292ac_clean_files=$ac_clean_files_save
2293# Check the compiler produces executables we can run. If not, either
2294# the compiler is broken, or we cross compile.
2295echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
2296echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6
2297echo "$as_me:$LINENO: result: $cross_compiling" >&5
2298echo "${ECHO_T}$cross_compiling" >&6
2299
2300echo "$as_me:$LINENO: checking for suffix of executables" >&5
2301echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6
2302if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
2303 (eval $ac_link) 2>&5
2304 ac_status=$?
2305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2306 (exit $ac_status); }; then
2307 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2308# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2309# work properly (i.e., refer to `conftest.exe'), while it won't with
2310# `rm'.
2311for ac_file in conftest.exe conftest conftest.*; do
2312 test -f "$ac_file" || continue
2313 case $ac_file in
2314 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.o | *.obj ) ;;
2315 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2316 export ac_cv_exeext
2317 break;;
2318 * ) break;;
2319 esac
2320done
2321else
2322 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
2323See \`config.log' for more details." >&5
2324echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
2325See \`config.log' for more details." >&2;}
2326 { (exit 1); exit 1; }; }
2327fi
2328
2329rm -f conftest$ac_cv_exeext
2330echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
2331echo "${ECHO_T}$ac_cv_exeext" >&6
2332
2333rm -f conftest.$ac_ext
2334EXEEXT=$ac_cv_exeext
2335ac_exeext=$EXEEXT
2336echo "$as_me:$LINENO: checking for suffix of object files" >&5
2337echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6
2338if test "${ac_cv_objext+set}" = set; then
2339 echo $ECHO_N "(cached) $ECHO_C" >&6
2340else
2341 cat >conftest.$ac_ext <<_ACEOF
2342/* confdefs.h. */
2343_ACEOF
2344cat confdefs.h >>conftest.$ac_ext
2345cat >>conftest.$ac_ext <<_ACEOF
2346/* end confdefs.h. */
2347
2348int
2349main ()
2350{
2351
2352 ;
2353 return 0;
2354}
2355_ACEOF
2356rm -f conftest.o conftest.obj
2357if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2358 (eval $ac_compile) 2>&5
2359 ac_status=$?
2360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2361 (exit $ac_status); }; then
2362 for ac_file in `(ls conftest.o conftest.obj; ls conftest.*) 2>/dev/null`; do
2363 case $ac_file in
2364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg ) ;;
2365 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2366 break;;
2367 esac
2368done
2369else
2370 echo "$as_me: failed program was:" >&5
2371sed 's/^/| /' conftest.$ac_ext >&5
2372
2373{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
2374See \`config.log' for more details." >&5
2375echo "$as_me: error: cannot compute suffix of object files: cannot compile
2376See \`config.log' for more details." >&2;}
2377 { (exit 1); exit 1; }; }
2378fi
2379
2380rm -f conftest.$ac_cv_objext conftest.$ac_ext
2381fi
2382echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
2383echo "${ECHO_T}$ac_cv_objext" >&6
2384OBJEXT=$ac_cv_objext
2385ac_objext=$OBJEXT
2386echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
2387echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6
2388if test "${ac_cv_c_compiler_gnu+set}" = set; then
2389 echo $ECHO_N "(cached) $ECHO_C" >&6
2390else
2391 cat >conftest.$ac_ext <<_ACEOF
2392/* confdefs.h. */
2393_ACEOF
2394cat confdefs.h >>conftest.$ac_ext
2395cat >>conftest.$ac_ext <<_ACEOF
2396/* end confdefs.h. */
2397
2398int
2399main ()
2400{
2401#ifndef __GNUC__
2402 choke me
2403#endif
2404
2405 ;
2406 return 0;
2407}
2408_ACEOF
2409rm -f conftest.$ac_objext
2410if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2411 (eval $ac_compile) 2>conftest.er1
2412 ac_status=$?
2413 grep -v '^ *+' conftest.er1 >conftest.err
2414 rm -f conftest.er1
2415 cat conftest.err >&5
2416 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2417 (exit $ac_status); } &&
2418 { ac_try='test -z "$ac_c_werror_flag"
2419 || test ! -s conftest.err'
2420 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2421 (eval $ac_try) 2>&5
2422 ac_status=$?
2423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2424 (exit $ac_status); }; } &&
2425 { ac_try='test -s conftest.$ac_objext'
2426 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2427 (eval $ac_try) 2>&5
2428 ac_status=$?
2429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2430 (exit $ac_status); }; }; then
2431 ac_compiler_gnu=yes
2432else
2433 echo "$as_me: failed program was:" >&5
2434sed 's/^/| /' conftest.$ac_ext >&5
2435
2436ac_compiler_gnu=no
2437fi
2438rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2439ac_cv_c_compiler_gnu=$ac_compiler_gnu
2440
2441fi
2442echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
2443echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6
2444GCC=`test $ac_compiler_gnu = yes && echo yes`
2445ac_test_CFLAGS=${CFLAGS+set}
2446ac_save_CFLAGS=$CFLAGS
2447CFLAGS="-g"
2448echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
2449echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6
2450if test "${ac_cv_prog_cc_g+set}" = set; then
2451 echo $ECHO_N "(cached) $ECHO_C" >&6
2452else
2453 cat >conftest.$ac_ext <<_ACEOF
2454/* confdefs.h. */
2455_ACEOF
2456cat confdefs.h >>conftest.$ac_ext
2457cat >>conftest.$ac_ext <<_ACEOF
2458/* end confdefs.h. */
2459
2460int
2461main ()
2462{
2463
2464 ;
2465 return 0;
2466}
2467_ACEOF
2468rm -f conftest.$ac_objext
2469if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2470 (eval $ac_compile) 2>conftest.er1
2471 ac_status=$?
2472 grep -v '^ *+' conftest.er1 >conftest.err
2473 rm -f conftest.er1
2474 cat conftest.err >&5
2475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2476 (exit $ac_status); } &&
2477 { ac_try='test -z "$ac_c_werror_flag"
2478 || test ! -s conftest.err'
2479 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2480 (eval $ac_try) 2>&5
2481 ac_status=$?
2482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2483 (exit $ac_status); }; } &&
2484 { ac_try='test -s conftest.$ac_objext'
2485 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2486 (eval $ac_try) 2>&5
2487 ac_status=$?
2488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2489 (exit $ac_status); }; }; then
2490 ac_cv_prog_cc_g=yes
2491else
2492 echo "$as_me: failed program was:" >&5
2493sed 's/^/| /' conftest.$ac_ext >&5
2494
2495ac_cv_prog_cc_g=no
2496fi
2497rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2498fi
2499echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
2500echo "${ECHO_T}$ac_cv_prog_cc_g" >&6
2501if test "$ac_test_CFLAGS" = set; then
2502 CFLAGS=$ac_save_CFLAGS
2503elif test $ac_cv_prog_cc_g = yes; then
2504 if test "$GCC" = yes; then
2505 CFLAGS="-g -O2"
2506 else
2507 CFLAGS="-g"
2508 fi
2509else
2510 if test "$GCC" = yes; then
2511 CFLAGS="-O2"
2512 else
2513 CFLAGS=
2514 fi
2515fi
2516echo "$as_me:$LINENO: checking for $CC option to accept ANSI C" >&5
2517echo $ECHO_N "checking for $CC option to accept ANSI C... $ECHO_C" >&6
2518if test "${ac_cv_prog_cc_stdc+set}" = set; then
2519 echo $ECHO_N "(cached) $ECHO_C" >&6
2520else
2521 ac_cv_prog_cc_stdc=no
2522ac_save_CC=$CC
2523cat >conftest.$ac_ext <<_ACEOF
2524/* confdefs.h. */
2525_ACEOF
2526cat confdefs.h >>conftest.$ac_ext
2527cat >>conftest.$ac_ext <<_ACEOF
2528/* end confdefs.h. */
2529#include <stdarg.h>
2530#include <stdio.h>
2531#include <sys/types.h>
2532#include <sys/stat.h>
2533/* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2534struct buf { int x; };
2535FILE * (*rcsopen) (struct buf *, struct stat *, int);
2536static char *e (p, i)
2537 char **p;
2538 int i;
2539{
2540 return p[i];
2541}
2542static char *f (char * (*g) (char **, int), char **p, ...)
2543{
2544 char *s;
2545 va_list v;
2546 va_start (v,p);
2547 s = g (p, va_arg (v,int));
2548 va_end (v);
2549 return s;
2550}
2551
2552/* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2553 function prototypes and stuff, but not '\xHH' hex character constants.
2554 These don't provoke an error unfortunately, instead are silently treated
2555 as 'x'. The following induces an error, until -std1 is added to get
2556 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2557 array size at least. It's necessary to write '\x00'==0 to get something
2558 that's true only with -std1. */
2559int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2560
2561int test (int i, double x);
2562struct s1 {int (*f) (int a);};
2563struct s2 {int (*f) (double a);};
2564int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2565int argc;
2566char **argv;
2567int
2568main ()
2569{
2570return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2571 ;
2572 return 0;
2573}
2574_ACEOF
2575# Don't try gcc -ansi; that turns off useful extensions and
2576# breaks some systems' header files.
2577# AIX -qlanglvl=ansi
2578# Ultrix and OSF/1 -std1
2579# HP-UX 10.20 and later -Ae
2580# HP-UX older versions -Aa -D_HPUX_SOURCE
2581# SVR4 -Xc -D__EXTENSIONS__
2582for ac_arg in "" -qlanglvl=ansi -std1 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2583do
2584 CC="$ac_save_CC $ac_arg"
2585 rm -f conftest.$ac_objext
2586if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2587 (eval $ac_compile) 2>conftest.er1
2588 ac_status=$?
2589 grep -v '^ *+' conftest.er1 >conftest.err
2590 rm -f conftest.er1
2591 cat conftest.err >&5
2592 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2593 (exit $ac_status); } &&
2594 { ac_try='test -z "$ac_c_werror_flag"
2595 || test ! -s conftest.err'
2596 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2597 (eval $ac_try) 2>&5
2598 ac_status=$?
2599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2600 (exit $ac_status); }; } &&
2601 { ac_try='test -s conftest.$ac_objext'
2602 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2603 (eval $ac_try) 2>&5
2604 ac_status=$?
2605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2606 (exit $ac_status); }; }; then
2607 ac_cv_prog_cc_stdc=$ac_arg
2608break
2609else
2610 echo "$as_me: failed program was:" >&5
2611sed 's/^/| /' conftest.$ac_ext >&5
2612
2613fi
2614rm -f conftest.err conftest.$ac_objext
2615done
2616rm -f conftest.$ac_ext conftest.$ac_objext
2617CC=$ac_save_CC
2618
2619fi
2620
2621case "x$ac_cv_prog_cc_stdc" in
2622 x|xno)
2623 echo "$as_me:$LINENO: result: none needed" >&5
2624echo "${ECHO_T}none needed" >&6 ;;
2625 *)
2626 echo "$as_me:$LINENO: result: $ac_cv_prog_cc_stdc" >&5
2627echo "${ECHO_T}$ac_cv_prog_cc_stdc" >&6
2628 CC="$CC $ac_cv_prog_cc_stdc" ;;
2629esac
2630
2631# Some people use a C++ compiler to compile C. Since we use `exit',
2632# in C++ we need to declare it. In case someone uses the same compiler
2633# for both compiling C and C++ we need to have the C++ compiler decide
2634# the declaration of exit, since it's the most demanding environment.
2635cat >conftest.$ac_ext <<_ACEOF
2636#ifndef __cplusplus
2637 choke me
2638#endif
2639_ACEOF
2640rm -f conftest.$ac_objext
2641if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2642 (eval $ac_compile) 2>conftest.er1
2643 ac_status=$?
2644 grep -v '^ *+' conftest.er1 >conftest.err
2645 rm -f conftest.er1
2646 cat conftest.err >&5
2647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2648 (exit $ac_status); } &&
2649 { ac_try='test -z "$ac_c_werror_flag"
2650 || test ! -s conftest.err'
2651 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2652 (eval $ac_try) 2>&5
2653 ac_status=$?
2654 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2655 (exit $ac_status); }; } &&
2656 { ac_try='test -s conftest.$ac_objext'
2657 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2658 (eval $ac_try) 2>&5
2659 ac_status=$?
2660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2661 (exit $ac_status); }; }; then
2662 for ac_declaration in \
2663 '' \
2664 'extern "C" void std::exit (int) throw (); using std::exit;' \
2665 'extern "C" void std::exit (int); using std::exit;' \
2666 'extern "C" void exit (int) throw ();' \
2667 'extern "C" void exit (int);' \
2668 'void exit (int);'
2669do
2670 cat >conftest.$ac_ext <<_ACEOF
2671/* confdefs.h. */
2672_ACEOF
2673cat confdefs.h >>conftest.$ac_ext
2674cat >>conftest.$ac_ext <<_ACEOF
2675/* end confdefs.h. */
2676$ac_declaration
2677#include <stdlib.h>
2678int
2679main ()
2680{
2681exit (42);
2682 ;
2683 return 0;
2684}
2685_ACEOF
2686rm -f conftest.$ac_objext
2687if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2688 (eval $ac_compile) 2>conftest.er1
2689 ac_status=$?
2690 grep -v '^ *+' conftest.er1 >conftest.err
2691 rm -f conftest.er1
2692 cat conftest.err >&5
2693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2694 (exit $ac_status); } &&
2695 { ac_try='test -z "$ac_c_werror_flag"
2696 || test ! -s conftest.err'
2697 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2698 (eval $ac_try) 2>&5
2699 ac_status=$?
2700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2701 (exit $ac_status); }; } &&
2702 { ac_try='test -s conftest.$ac_objext'
2703 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2704 (eval $ac_try) 2>&5
2705 ac_status=$?
2706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2707 (exit $ac_status); }; }; then
2708 :
2709else
2710 echo "$as_me: failed program was:" >&5
2711sed 's/^/| /' conftest.$ac_ext >&5
2712
2713continue
2714fi
2715rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2716 cat >conftest.$ac_ext <<_ACEOF
2717/* confdefs.h. */
2718_ACEOF
2719cat confdefs.h >>conftest.$ac_ext
2720cat >>conftest.$ac_ext <<_ACEOF
2721/* end confdefs.h. */
2722$ac_declaration
2723int
2724main ()
2725{
2726exit (42);
2727 ;
2728 return 0;
2729}
2730_ACEOF
2731rm -f conftest.$ac_objext
2732if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
2733 (eval $ac_compile) 2>conftest.er1
2734 ac_status=$?
2735 grep -v '^ *+' conftest.er1 >conftest.err
2736 rm -f conftest.er1
2737 cat conftest.err >&5
2738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2739 (exit $ac_status); } &&
2740 { ac_try='test -z "$ac_c_werror_flag"
2741 || test ! -s conftest.err'
2742 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2743 (eval $ac_try) 2>&5
2744 ac_status=$?
2745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2746 (exit $ac_status); }; } &&
2747 { ac_try='test -s conftest.$ac_objext'
2748 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
2749 (eval $ac_try) 2>&5
2750 ac_status=$?
2751 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2752 (exit $ac_status); }; }; then
2753 break
2754else
2755 echo "$as_me: failed program was:" >&5
2756sed 's/^/| /' conftest.$ac_ext >&5
2757
2758fi
2759rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2760done
2761rm -f conftest*
2762if test -n "$ac_declaration"; then
2763 echo '#ifdef __cplusplus' >>confdefs.h
2764 echo $ac_declaration >>confdefs.h
2765 echo '#endif' >>confdefs.h
2766fi
2767
2768else
2769 echo "$as_me: failed program was:" >&5
2770sed 's/^/| /' conftest.$ac_ext >&5
2771
2772fi
2773rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
2774ac_ext=c
2775ac_cpp='$CPP $CPPFLAGS'
2776ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2777ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2778ac_compiler_gnu=$ac_cv_c_compiler_gnu
2779DEPDIR="${am__leading_dot}deps"
2780
2781 ac_config_commands="$ac_config_commands depfiles"
2782
2783
2784am_make=${MAKE-make}
2785cat > confinc << 'END'
2786am__doit:
2787 @echo done
2788.PHONY: am__doit
2789END
2790# If we don't find an include directive, just comment out the code.
2791echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
2792echo $ECHO_N "checking for style of include used by $am_make... $ECHO_C" >&6
2793am__include="#"
2794am__quote=
2795_am_result=none
2796# First try GNU make style include.
2797echo "include confinc" > confmf
2798# We grep out `Entering directory' and `Leaving directory'
2799# messages which can occur if `w' ends up in MAKEFLAGS.
2800# In particular we don't look at `^make:' because GNU make might
2801# be invoked under some other name (usually "gmake"), in which
2802# case it prints its new name instead of `make'.
2803if test "`$am_make -s -f confmf 2> /dev/null | grep -v 'ing directory'`" = "done"; then
2804 am__include=include
2805 am__quote=
2806 _am_result=GNU
2807fi
2808# Now try BSD make style include.
2809if test "$am__include" = "#"; then
2810 echo '.include "confinc"' > confmf
2811 if test "`$am_make -s -f confmf 2> /dev/null`" = "done"; then
2812 am__include=.include
2813 am__quote="\""
2814 _am_result=BSD
2815 fi
2816fi
2817
2818
2819echo "$as_me:$LINENO: result: $_am_result" >&5
2820echo "${ECHO_T}$_am_result" >&6
2821rm -f confinc confmf
2822
2823# Check whether --enable-dependency-tracking or --disable-dependency-tracking was given.
2824if test "${enable_dependency_tracking+set}" = set; then
2825 enableval="$enable_dependency_tracking"
2826
2827fi;
2828if test "x$enable_dependency_tracking" != xno; then
2829 am_depcomp="$ac_aux_dir/depcomp"
2830 AMDEPBACKSLASH='\'
2831fi
2832
2833
2834if test "x$enable_dependency_tracking" != xno; then
2835 AMDEP_TRUE=
2836 AMDEP_FALSE='#'
2837else
2838 AMDEP_TRUE='#'
2839 AMDEP_FALSE=
2840fi
2841
2842
2843
2844
2845depcc="$CC" am_compiler_list=
2846
2847echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
2848echo $ECHO_N "checking dependency style of $depcc... $ECHO_C" >&6
2849if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
2850 echo $ECHO_N "(cached) $ECHO_C" >&6
2851else
2852 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
2853 # We make a subdir and do the tests there. Otherwise we can end up
2854 # making bogus files that we don't know about and never remove. For
2855 # instance it was reported that on HP-UX the gcc test will end up
2856 # making a dummy file named `D' -- because `-MD' means `put the output
2857 # in D'.
2858 mkdir conftest.dir
2859 # Copy depcomp to subdir because otherwise we won't find it if we're
2860 # using a relative directory.
2861 cp "$am_depcomp" conftest.dir
2862 cd conftest.dir
2863 # We will build objects and dependencies in a subdirectory because
2864 # it helps to detect inapplicable dependency modes. For instance
2865 # both Tru64's cc and ICC support -MD to output dependencies as a
2866 # side effect of compilation, but ICC will put the dependencies in
2867 # the current directory while Tru64 will put them in the object
2868 # directory.
2869 mkdir sub
2870
2871 am_cv_CC_dependencies_compiler_type=none
2872 if test "$am_compiler_list" = ""; then
2873 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
2874 fi
2875 for depmode in $am_compiler_list; do
2876 # Setup a source with many dependencies, because some compilers
2877 # like to wrap large dependency lists on column 80 (with \), and
2878 # we should not choose a depcomp mode which is confused by this.
2879 #
2880 # We need to recreate these files for each test, as the compiler may
2881 # overwrite some of them when testing with obscure command lines.
2882 # This happens at least with the AIX C compiler.
2883 : > sub/conftest.c
2884 for i in 1 2 3 4 5 6; do
2885 echo '#include "conftst'$i'.h"' >> sub/conftest.c
2886 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
2887 # Solaris 8's {/usr,}/bin/sh.
2888 touch sub/conftst$i.h
2889 done
2890 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
2891
2892 case $depmode in
2893 nosideeffect)
2894 # after this tag, mechanisms are not by side-effect, so they'll
2895 # only be used when explicitly requested
2896 if test "x$enable_dependency_tracking" = xyes; then
2897 continue
2898 else
2899 break
2900 fi
2901 ;;
2902 none) break ;;
2903 esac
2904 # We check with `-c' and `-o' for the sake of the "dashmstdout"
2905 # mode. It turns out that the SunPro C++ compiler does not properly
2906 # handle `-M -o', and we need to detect this.
2907 if depmode=$depmode \
2908 source=sub/conftest.c object=sub/conftest.${OBJEXT-o} \
2909 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
2910 $SHELL ./depcomp $depcc -c -o sub/conftest.${OBJEXT-o} sub/conftest.c \
2911 >/dev/null 2>conftest.err &&
2912 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
2913 grep sub/conftest.${OBJEXT-o} sub/conftest.Po > /dev/null 2>&1 &&
2914 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
2915 # icc doesn't choke on unknown options, it will just issue warnings
2916 # or remarks (even with -Werror). So we grep stderr for any message
2917 # that says an option was ignored or not supported.
2918 # When given -MP, icc 7.0 and 7.1 complain thusly:
2919 # icc: Command line warning: ignoring option '-M'; no argument required
2920 # The diagnosis changed in icc 8.0:
2921 # icc: Command line remark: option '-MP' not supported
2922 if (grep 'ignoring option' conftest.err ||
2923 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
2924 am_cv_CC_dependencies_compiler_type=$depmode
2925 break
2926 fi
2927 fi
2928 done
2929
2930 cd ..
2931 rm -rf conftest.dir
2932else
2933 am_cv_CC_dependencies_compiler_type=none
2934fi
2935
2936fi
2937echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
2938echo "${ECHO_T}$am_cv_CC_dependencies_compiler_type" >&6
2939CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
2940
2941
2942
2943if
2944 test "x$enable_dependency_tracking" != xno \
2945 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
2946 am__fastdepCC_TRUE=
2947 am__fastdepCC_FALSE='#'
2948else
2949 am__fastdepCC_TRUE='#'
2950 am__fastdepCC_FALSE=
2951fi
2952
2953
2954# By default we simply use the C compiler to build assembly code.
2955
2956test "${CCAS+set}" = set || CCAS=$CC
2957test "${CCASFLAGS+set}" = set || CCASFLAGS=$CFLAGS
2958
2959
2960
2961# Find a good install program. We prefer a C program (faster),
2962# so one script is as good as another. But avoid the broken or
2963# incompatible versions:
2964# SysV /etc/install, /usr/sbin/install
2965# SunOS /usr/etc/install
2966# IRIX /sbin/install
2967# AIX /bin/install
2968# AmigaOS /C/install, which installs bootblocks on floppy discs
2969# AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2970# AFS /usr/afsws/bin/install, which mishandles nonexistent args
2971# SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2972# OS/2's system install, which has a completely different semantic
2973# ./install, which can be erroneously created by make from ./install.sh.
2974echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
2975echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6
2976if test -z "$INSTALL"; then
2977if test "${ac_cv_path_install+set}" = set; then
2978 echo $ECHO_N "(cached) $ECHO_C" >&6
2979else
2980 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2981for as_dir in $PATH
2982do
2983 IFS=$as_save_IFS
2984 test -z "$as_dir" && as_dir=.
2985 # Account for people who put trailing slashes in PATH elements.
2986case $as_dir/ in
2987 ./ | .// | /cC/* | \
2988 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2989 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
2990 /usr/ucb/* ) ;;
2991 *)
2992 # OSF1 and SCO ODT 3.0 have their own names for install.
2993 # Don't use installbsd from OSF since it installs stuff as root
2994 # by default.
2995 for ac_prog in ginstall scoinst install; do
2996 for ac_exec_ext in '' $ac_executable_extensions; do
2997 if $as_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2998 if test $ac_prog = install &&
2999 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3000 # AIX install. It has an incompatible calling convention.
3001 :
3002 elif test $ac_prog = install &&
3003 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3004 # program-specific install script used by HP pwplus--don't use.
3005 :
3006 else
3007 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3008 break 3
3009 fi
3010 fi
3011 done
3012 done
3013 ;;
3014esac
3015done
3016
3017
3018fi
3019 if test "${ac_cv_path_install+set}" = set; then
3020 INSTALL=$ac_cv_path_install
3021 else
3022 # As a last resort, use the slow shell script. We don't cache a
3023 # path for INSTALL within a source directory, because that will
3024 # break other packages using the cache if that directory is
3025 # removed, or if the path is relative.
3026 INSTALL=$ac_install_sh
3027 fi
3028fi
3029echo "$as_me:$LINENO: result: $INSTALL" >&5
3030echo "${ECHO_T}$INSTALL" >&6
3031
3032# Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3033# It thinks the first close brace ends the variable substitution.
3034test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3035
3036test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3037
3038test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3039
3040
3041# Make sure we can run config.sub.
3042$ac_config_sub sun4 >/dev/null 2>&1 ||
3043 { { echo "$as_me:$LINENO: error: cannot run $ac_config_sub" >&5
3044echo "$as_me: error: cannot run $ac_config_sub" >&2;}
3045 { (exit 1); exit 1; }; }
3046
3047echo "$as_me:$LINENO: checking build system type" >&5
3048echo $ECHO_N "checking build system type... $ECHO_C" >&6
3049if test "${ac_cv_build+set}" = set; then
3050 echo $ECHO_N "(cached) $ECHO_C" >&6
3051else
3052 ac_cv_build_alias=$build_alias
3053test -z "$ac_cv_build_alias" &&
3054 ac_cv_build_alias=`$ac_config_guess`
3055test -z "$ac_cv_build_alias" &&
3056 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
3057echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
3058 { (exit 1); exit 1; }; }
3059ac_cv_build=`$ac_config_sub $ac_cv_build_alias` ||
3060 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_build_alias failed" >&5
3061echo "$as_me: error: $ac_config_sub $ac_cv_build_alias failed" >&2;}
3062 { (exit 1); exit 1; }; }
3063
3064fi
3065echo "$as_me:$LINENO: result: $ac_cv_build" >&5
3066echo "${ECHO_T}$ac_cv_build" >&6
3067build=$ac_cv_build
3068build_cpu=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3069build_vendor=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3070build_os=`echo $ac_cv_build | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3071
3072
3073echo "$as_me:$LINENO: checking host system type" >&5
3074echo $ECHO_N "checking host system type... $ECHO_C" >&6
3075if test "${ac_cv_host+set}" = set; then
3076 echo $ECHO_N "(cached) $ECHO_C" >&6
3077else
3078 ac_cv_host_alias=$host_alias
3079test -z "$ac_cv_host_alias" &&
3080 ac_cv_host_alias=$ac_cv_build_alias
3081ac_cv_host=`$ac_config_sub $ac_cv_host_alias` ||
3082 { { echo "$as_me:$LINENO: error: $ac_config_sub $ac_cv_host_alias failed" >&5
3083echo "$as_me: error: $ac_config_sub $ac_cv_host_alias failed" >&2;}
3084 { (exit 1); exit 1; }; }
3085
3086fi
3087echo "$as_me:$LINENO: result: $ac_cv_host" >&5
3088echo "${ECHO_T}$ac_cv_host" >&6
3089host=$ac_cv_host
3090host_cpu=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
3091host_vendor=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
3092host_os=`echo $ac_cv_host | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
3093
3094
3095case "${host}" in
3096 *-*-mingw*)
3097 CPPFLAGS="$CPPFLAGS -mno-cygwin"
3098 LDFLAGS="$LDFLAGS -mno-cygwin"
3099 CPPFLAGS="$CPPFLAGS -idirafter ${srcdir}/posix -idirafter ${srcdir}/os_win32"
3100esac
3101
3102# AC_SEARCH_LIBS (FUNCTION, SEARCH-LIBS, [ACTION-IF-FOUND], [ACTION-IF-NOT-FOUND], [OTHER-LIBRARIES])
3103echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3104echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
3105if test "${ac_cv_search_gethostbyname+set}" = set; then
3106 echo $ECHO_N "(cached) $ECHO_C" >&6
3107else
3108 ac_func_search_save_LIBS=$LIBS
3109ac_cv_search_gethostbyname=no
3110cat >conftest.$ac_ext <<_ACEOF
3111/* confdefs.h. */
3112_ACEOF
3113cat confdefs.h >>conftest.$ac_ext
3114cat >>conftest.$ac_ext <<_ACEOF
3115/* end confdefs.h. */
3116
3117/* Override any gcc2 internal prototype to avoid an error. */
3118#ifdef __cplusplus
3119extern "C"
3120#endif
3121/* We use char because int might match the return type of a gcc2
3122 builtin and then its argument prototype would still apply. */
3123char gethostbyname ();
3124int
3125main ()
3126{
3127gethostbyname ();
3128 ;
3129 return 0;
3130}
3131_ACEOF
3132rm -f conftest.$ac_objext conftest$ac_exeext
3133if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3134 (eval $ac_link) 2>conftest.er1
3135 ac_status=$?
3136 grep -v '^ *+' conftest.er1 >conftest.err
3137 rm -f conftest.er1
3138 cat conftest.err >&5
3139 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3140 (exit $ac_status); } &&
3141 { ac_try='test -z "$ac_c_werror_flag"
3142 || test ! -s conftest.err'
3143 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3144 (eval $ac_try) 2>&5
3145 ac_status=$?
3146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3147 (exit $ac_status); }; } &&
3148 { ac_try='test -s conftest$ac_exeext'
3149 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3150 (eval $ac_try) 2>&5
3151 ac_status=$?
3152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3153 (exit $ac_status); }; }; then
3154 ac_cv_search_gethostbyname="none required"
3155else
3156 echo "$as_me: failed program was:" >&5
3157sed 's/^/| /' conftest.$ac_ext >&5
3158
3159fi
3160rm -f conftest.err conftest.$ac_objext \
3161 conftest$ac_exeext conftest.$ac_ext
3162if test "$ac_cv_search_gethostbyname" = no; then
3163 for ac_lib in nsl; do
3164 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3165 cat >conftest.$ac_ext <<_ACEOF
3166/* confdefs.h. */
3167_ACEOF
3168cat confdefs.h >>conftest.$ac_ext
3169cat >>conftest.$ac_ext <<_ACEOF
3170/* end confdefs.h. */
3171
3172/* Override any gcc2 internal prototype to avoid an error. */
3173#ifdef __cplusplus
3174extern "C"
3175#endif
3176/* We use char because int might match the return type of a gcc2
3177 builtin and then its argument prototype would still apply. */
3178char gethostbyname ();
3179int
3180main ()
3181{
3182gethostbyname ();
3183 ;
3184 return 0;
3185}
3186_ACEOF
3187rm -f conftest.$ac_objext conftest$ac_exeext
3188if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3189 (eval $ac_link) 2>conftest.er1
3190 ac_status=$?
3191 grep -v '^ *+' conftest.er1 >conftest.err
3192 rm -f conftest.er1
3193 cat conftest.err >&5
3194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3195 (exit $ac_status); } &&
3196 { ac_try='test -z "$ac_c_werror_flag"
3197 || test ! -s conftest.err'
3198 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3199 (eval $ac_try) 2>&5
3200 ac_status=$?
3201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3202 (exit $ac_status); }; } &&
3203 { ac_try='test -s conftest$ac_exeext'
3204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3205 (eval $ac_try) 2>&5
3206 ac_status=$?
3207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3208 (exit $ac_status); }; }; then
3209 ac_cv_search_gethostbyname="-l$ac_lib"
3210break
3211else
3212 echo "$as_me: failed program was:" >&5
3213sed 's/^/| /' conftest.$ac_ext >&5
3214
3215fi
3216rm -f conftest.err conftest.$ac_objext \
3217 conftest$ac_exeext conftest.$ac_ext
3218 done
3219fi
3220LIBS=$ac_func_search_save_LIBS
3221fi
3222echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3223echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
3224if test "$ac_cv_search_gethostbyname" != no; then
3225 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
3226
3227else
3228 echo "$as_me:$LINENO: checking for library containing gethostbyname" >&5
3229echo $ECHO_N "checking for library containing gethostbyname... $ECHO_C" >&6
3230if test "${ac_cv_search_gethostbyname+set}" = set; then
3231 echo $ECHO_N "(cached) $ECHO_C" >&6
3232else
3233 ac_func_search_save_LIBS=$LIBS
3234ac_cv_search_gethostbyname=no
3235
3236cat >conftest.$ac_ext <<_ACEOF
3237/* confdefs.h. */
3238_ACEOF
3239cat confdefs.h >>conftest.$ac_ext
3240cat >>conftest.$ac_ext <<_ACEOF
3241/* end confdefs.h. */
3242
3243/* Override any gcc2 internal prototype to avoid an error. */
3244#ifdef __cplusplus
3245extern "C"
3246#endif
3247/* We use char because int might match the return type of a gcc2
3248 builtin and then its argument prototype would still apply. */
3249char gethostbyname ();
3250int
3251main ()
3252{
3253gethostbyname ();
3254 ;
3255 return 0;
3256}
3257_ACEOF
3258rm -f conftest.$ac_objext conftest$ac_exeext
3259if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3260 (eval $ac_link) 2>conftest.er1
3261 ac_status=$?
3262 grep -v '^ *+' conftest.er1 >conftest.err
3263 rm -f conftest.er1
3264 cat conftest.err >&5
3265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3266 (exit $ac_status); } &&
3267 { ac_try='test -z "$ac_c_werror_flag"
3268 || test ! -s conftest.err'
3269 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3270 (eval $ac_try) 2>&5
3271 ac_status=$?
3272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3273 (exit $ac_status); }; } &&
3274 { ac_try='test -s conftest$ac_exeext'
3275 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3276 (eval $ac_try) 2>&5
3277 ac_status=$?
3278 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3279 (exit $ac_status); }; }; then
3280 ac_cv_search_gethostbyname="none required"
3281else
3282 echo "$as_me: failed program was:" >&5
3283sed 's/^/| /' conftest.$ac_ext >&5
3284
3285fi
3286rm -f conftest.err conftest.$ac_objext \
3287 conftest$ac_exeext conftest.$ac_ext
3288if test "$ac_cv_search_gethostbyname" = no; then
3289 for ac_lib in nsl; do
3290 LIBS="-l$ac_lib -lsocket $ac_func_search_save_LIBS"
3291 cat >conftest.$ac_ext <<_ACEOF
3292/* confdefs.h. */
3293_ACEOF
3294cat confdefs.h >>conftest.$ac_ext
3295cat >>conftest.$ac_ext <<_ACEOF
3296/* end confdefs.h. */
3297
3298/* Override any gcc2 internal prototype to avoid an error. */
3299#ifdef __cplusplus
3300extern "C"
3301#endif
3302/* We use char because int might match the return type of a gcc2
3303 builtin and then its argument prototype would still apply. */
3304char gethostbyname ();
3305int
3306main ()
3307{
3308gethostbyname ();
3309 ;
3310 return 0;
3311}
3312_ACEOF
3313rm -f conftest.$ac_objext conftest$ac_exeext
3314if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3315 (eval $ac_link) 2>conftest.er1
3316 ac_status=$?
3317 grep -v '^ *+' conftest.er1 >conftest.err
3318 rm -f conftest.er1
3319 cat conftest.err >&5
3320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3321 (exit $ac_status); } &&
3322 { ac_try='test -z "$ac_c_werror_flag"
3323 || test ! -s conftest.err'
3324 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3325 (eval $ac_try) 2>&5
3326 ac_status=$?
3327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3328 (exit $ac_status); }; } &&
3329 { ac_try='test -s conftest$ac_exeext'
3330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3331 (eval $ac_try) 2>&5
3332 ac_status=$?
3333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3334 (exit $ac_status); }; }; then
3335 ac_cv_search_gethostbyname="-l$ac_lib"
3336break
3337else
3338 echo "$as_me: failed program was:" >&5
3339sed 's/^/| /' conftest.$ac_ext >&5
3340
3341fi
3342rm -f conftest.err conftest.$ac_objext \
3343 conftest$ac_exeext conftest.$ac_ext
3344 done
3345fi
3346LIBS=$ac_func_search_save_LIBS
3347fi
3348echo "$as_me:$LINENO: result: $ac_cv_search_gethostbyname" >&5
3349echo "${ECHO_T}$ac_cv_search_gethostbyname" >&6
3350if test "$ac_cv_search_gethostbyname" != no; then
3351 test "$ac_cv_search_gethostbyname" = "none required" || LIBS="$ac_cv_search_gethostbyname $LIBS"
3352
3353fi
3354
3355fi
3356
3357
3358ac_ext=c
3359ac_cpp='$CPP $CPPFLAGS'
3360ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3361ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3362ac_compiler_gnu=$ac_cv_c_compiler_gnu
3363echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
3364echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6
3365# On Suns, sometimes $CPP names a directory.
3366if test -n "$CPP" && test -d "$CPP"; then
3367 CPP=
3368fi
3369if test -z "$CPP"; then
3370 if test "${ac_cv_prog_CPP+set}" = set; then
3371 echo $ECHO_N "(cached) $ECHO_C" >&6
3372else
3373 # Double quotes because CPP needs to be expanded
3374 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3375 do
3376 ac_preproc_ok=false
3377for ac_c_preproc_warn_flag in '' yes
3378do
3379 # Use a header file that comes with gcc, so configuring glibc
3380 # with a fresh cross-compiler works.
3381 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3382 # <limits.h> exists even on freestanding compilers.
3383 # On the NeXT, cc -E runs the code through the compiler's parser,
3384 # not just through cpp. "Syntax error" is here to catch this case.
3385 cat >conftest.$ac_ext <<_ACEOF
3386/* confdefs.h. */
3387_ACEOF
3388cat confdefs.h >>conftest.$ac_ext
3389cat >>conftest.$ac_ext <<_ACEOF
3390/* end confdefs.h. */
3391#ifdef __STDC__
3392# include <limits.h>
3393#else
3394# include <assert.h>
3395#endif
3396 Syntax error
3397_ACEOF
3398if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3399 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3400 ac_status=$?
3401 grep -v '^ *+' conftest.er1 >conftest.err
3402 rm -f conftest.er1
3403 cat conftest.err >&5
3404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3405 (exit $ac_status); } >/dev/null; then
3406 if test -s conftest.err; then
3407 ac_cpp_err=$ac_c_preproc_warn_flag
3408 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3409 else
3410 ac_cpp_err=
3411 fi
3412else
3413 ac_cpp_err=yes
3414fi
3415if test -z "$ac_cpp_err"; then
3416 :
3417else
3418 echo "$as_me: failed program was:" >&5
3419sed 's/^/| /' conftest.$ac_ext >&5
3420
3421 # Broken: fails on valid input.
3422continue
3423fi
3424rm -f conftest.err conftest.$ac_ext
3425
3426 # OK, works on sane cases. Now check whether non-existent headers
3427 # can be detected and how.
3428 cat >conftest.$ac_ext <<_ACEOF
3429/* confdefs.h. */
3430_ACEOF
3431cat confdefs.h >>conftest.$ac_ext
3432cat >>conftest.$ac_ext <<_ACEOF
3433/* end confdefs.h. */
3434#include <ac_nonexistent.h>
3435_ACEOF
3436if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3437 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3438 ac_status=$?
3439 grep -v '^ *+' conftest.er1 >conftest.err
3440 rm -f conftest.er1
3441 cat conftest.err >&5
3442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3443 (exit $ac_status); } >/dev/null; then
3444 if test -s conftest.err; then
3445 ac_cpp_err=$ac_c_preproc_warn_flag
3446 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3447 else
3448 ac_cpp_err=
3449 fi
3450else
3451 ac_cpp_err=yes
3452fi
3453if test -z "$ac_cpp_err"; then
3454 # Broken: success on invalid input.
3455continue
3456else
3457 echo "$as_me: failed program was:" >&5
3458sed 's/^/| /' conftest.$ac_ext >&5
3459
3460 # Passes both tests.
3461ac_preproc_ok=:
3462break
3463fi
3464rm -f conftest.err conftest.$ac_ext
3465
3466done
3467# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3468rm -f conftest.err conftest.$ac_ext
3469if $ac_preproc_ok; then
3470 break
3471fi
3472
3473 done
3474 ac_cv_prog_CPP=$CPP
3475
3476fi
3477 CPP=$ac_cv_prog_CPP
3478else
3479 ac_cv_prog_CPP=$CPP
3480fi
3481echo "$as_me:$LINENO: result: $CPP" >&5
3482echo "${ECHO_T}$CPP" >&6
3483ac_preproc_ok=false
3484for ac_c_preproc_warn_flag in '' yes
3485do
3486 # Use a header file that comes with gcc, so configuring glibc
3487 # with a fresh cross-compiler works.
3488 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3489 # <limits.h> exists even on freestanding compilers.
3490 # On the NeXT, cc -E runs the code through the compiler's parser,
3491 # not just through cpp. "Syntax error" is here to catch this case.
3492 cat >conftest.$ac_ext <<_ACEOF
3493/* confdefs.h. */
3494_ACEOF
3495cat confdefs.h >>conftest.$ac_ext
3496cat >>conftest.$ac_ext <<_ACEOF
3497/* end confdefs.h. */
3498#ifdef __STDC__
3499# include <limits.h>
3500#else
3501# include <assert.h>
3502#endif
3503 Syntax error
3504_ACEOF
3505if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3506 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3507 ac_status=$?
3508 grep -v '^ *+' conftest.er1 >conftest.err
3509 rm -f conftest.er1
3510 cat conftest.err >&5
3511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3512 (exit $ac_status); } >/dev/null; then
3513 if test -s conftest.err; then
3514 ac_cpp_err=$ac_c_preproc_warn_flag
3515 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3516 else
3517 ac_cpp_err=
3518 fi
3519else
3520 ac_cpp_err=yes
3521fi
3522if test -z "$ac_cpp_err"; then
3523 :
3524else
3525 echo "$as_me: failed program was:" >&5
3526sed 's/^/| /' conftest.$ac_ext >&5
3527
3528 # Broken: fails on valid input.
3529continue
3530fi
3531rm -f conftest.err conftest.$ac_ext
3532
3533 # OK, works on sane cases. Now check whether non-existent headers
3534 # can be detected and how.
3535 cat >conftest.$ac_ext <<_ACEOF
3536/* confdefs.h. */
3537_ACEOF
3538cat confdefs.h >>conftest.$ac_ext
3539cat >>conftest.$ac_ext <<_ACEOF
3540/* end confdefs.h. */
3541#include <ac_nonexistent.h>
3542_ACEOF
3543if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3544 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3545 ac_status=$?
3546 grep -v '^ *+' conftest.er1 >conftest.err
3547 rm -f conftest.er1
3548 cat conftest.err >&5
3549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3550 (exit $ac_status); } >/dev/null; then
3551 if test -s conftest.err; then
3552 ac_cpp_err=$ac_c_preproc_warn_flag
3553 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3554 else
3555 ac_cpp_err=
3556 fi
3557else
3558 ac_cpp_err=yes
3559fi
3560if test -z "$ac_cpp_err"; then
3561 # Broken: success on invalid input.
3562continue
3563else
3564 echo "$as_me: failed program was:" >&5
3565sed 's/^/| /' conftest.$ac_ext >&5
3566
3567 # Passes both tests.
3568ac_preproc_ok=:
3569break
3570fi
3571rm -f conftest.err conftest.$ac_ext
3572
3573done
3574# Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3575rm -f conftest.err conftest.$ac_ext
3576if $ac_preproc_ok; then
3577 :
3578else
3579 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
3580See \`config.log' for more details." >&5
3581echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
3582See \`config.log' for more details." >&2;}
3583 { (exit 1); exit 1; }; }
3584fi
3585
3586ac_ext=c
3587ac_cpp='$CPP $CPPFLAGS'
3588ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3589ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3590ac_compiler_gnu=$ac_cv_c_compiler_gnu
3591
3592
3593echo "$as_me:$LINENO: checking for egrep" >&5
3594echo $ECHO_N "checking for egrep... $ECHO_C" >&6
3595if test "${ac_cv_prog_egrep+set}" = set; then
3596 echo $ECHO_N "(cached) $ECHO_C" >&6
3597else
3598 if echo a | (grep -E '(a|b)') >/dev/null 2>&1
3599 then ac_cv_prog_egrep='grep -E'
3600 else ac_cv_prog_egrep='egrep'
3601 fi
3602fi
3603echo "$as_me:$LINENO: result: $ac_cv_prog_egrep" >&5
3604echo "${ECHO_T}$ac_cv_prog_egrep" >&6
3605 EGREP=$ac_cv_prog_egrep
3606
3607
3608echo "$as_me:$LINENO: checking for ANSI C header files" >&5
3609echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6
3610if test "${ac_cv_header_stdc+set}" = set; then
3611 echo $ECHO_N "(cached) $ECHO_C" >&6
3612else
3613 cat >conftest.$ac_ext <<_ACEOF
3614/* confdefs.h. */
3615_ACEOF
3616cat confdefs.h >>conftest.$ac_ext
3617cat >>conftest.$ac_ext <<_ACEOF
3618/* end confdefs.h. */
3619#include <stdlib.h>
3620#include <stdarg.h>
3621#include <string.h>
3622#include <float.h>
3623
3624int
3625main ()
3626{
3627
3628 ;
3629 return 0;
3630}
3631_ACEOF
3632rm -f conftest.$ac_objext
3633if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3634 (eval $ac_compile) 2>conftest.er1
3635 ac_status=$?
3636 grep -v '^ *+' conftest.er1 >conftest.err
3637 rm -f conftest.er1
3638 cat conftest.err >&5
3639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3640 (exit $ac_status); } &&
3641 { ac_try='test -z "$ac_c_werror_flag"
3642 || test ! -s conftest.err'
3643 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3644 (eval $ac_try) 2>&5
3645 ac_status=$?
3646 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3647 (exit $ac_status); }; } &&
3648 { ac_try='test -s conftest.$ac_objext'
3649 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3650 (eval $ac_try) 2>&5
3651 ac_status=$?
3652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3653 (exit $ac_status); }; }; then
3654 ac_cv_header_stdc=yes
3655else
3656 echo "$as_me: failed program was:" >&5
3657sed 's/^/| /' conftest.$ac_ext >&5
3658
3659ac_cv_header_stdc=no
3660fi
3661rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3662
3663if test $ac_cv_header_stdc = yes; then
3664 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3665 cat >conftest.$ac_ext <<_ACEOF
3666/* confdefs.h. */
3667_ACEOF
3668cat confdefs.h >>conftest.$ac_ext
3669cat >>conftest.$ac_ext <<_ACEOF
3670/* end confdefs.h. */
3671#include <string.h>
3672
3673_ACEOF
3674if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3675 $EGREP "memchr" >/dev/null 2>&1; then
3676 :
3677else
3678 ac_cv_header_stdc=no
3679fi
3680rm -f conftest*
3681
3682fi
3683
3684if test $ac_cv_header_stdc = yes; then
3685 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3686 cat >conftest.$ac_ext <<_ACEOF
3687/* confdefs.h. */
3688_ACEOF
3689cat confdefs.h >>conftest.$ac_ext
3690cat >>conftest.$ac_ext <<_ACEOF
3691/* end confdefs.h. */
3692#include <stdlib.h>
3693
3694_ACEOF
3695if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3696 $EGREP "free" >/dev/null 2>&1; then
3697 :
3698else
3699 ac_cv_header_stdc=no
3700fi
3701rm -f conftest*
3702
3703fi
3704
3705if test $ac_cv_header_stdc = yes; then
3706 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3707 if test "$cross_compiling" = yes; then
3708 :
3709else
3710 cat >conftest.$ac_ext <<_ACEOF
3711/* confdefs.h. */
3712_ACEOF
3713cat confdefs.h >>conftest.$ac_ext
3714cat >>conftest.$ac_ext <<_ACEOF
3715/* end confdefs.h. */
3716#include <ctype.h>
3717#if ((' ' & 0x0FF) == 0x020)
3718# define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3719# define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3720#else
3721# define ISLOWER(c) \
3722 (('a' <= (c) && (c) <= 'i') \
3723 || ('j' <= (c) && (c) <= 'r') \
3724 || ('s' <= (c) && (c) <= 'z'))
3725# define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3726#endif
3727
3728#define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3729int
3730main ()
3731{
3732 int i;
3733 for (i = 0; i < 256; i++)
3734 if (XOR (islower (i), ISLOWER (i))
3735 || toupper (i) != TOUPPER (i))
3736 exit(2);
3737 exit (0);
3738}
3739_ACEOF
3740rm -f conftest$ac_exeext
3741if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
3742 (eval $ac_link) 2>&5
3743 ac_status=$?
3744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3745 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
3746 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3747 (eval $ac_try) 2>&5
3748 ac_status=$?
3749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3750 (exit $ac_status); }; }; then
3751 :
3752else
3753 echo "$as_me: program exited with status $ac_status" >&5
3754echo "$as_me: failed program was:" >&5
3755sed 's/^/| /' conftest.$ac_ext >&5
3756
3757( exit $ac_status )
3758ac_cv_header_stdc=no
3759fi
3760rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
3761fi
3762fi
3763fi
3764echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
3765echo "${ECHO_T}$ac_cv_header_stdc" >&6
3766if test $ac_cv_header_stdc = yes; then
3767
3768cat >>confdefs.h <<\_ACEOF
3769#define STDC_HEADERS 1
3770_ACEOF
3771
3772fi
3773
3774# On IRIX 5.3, sys/types and inttypes.h are conflicting.
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3785 inttypes.h stdint.h unistd.h
3786do
3787as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3788echo "$as_me:$LINENO: checking for $ac_header" >&5
3789echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3790if eval "test \"\${$as_ac_Header+set}\" = set"; then
3791 echo $ECHO_N "(cached) $ECHO_C" >&6
3792else
3793 cat >conftest.$ac_ext <<_ACEOF
3794/* confdefs.h. */
3795_ACEOF
3796cat confdefs.h >>conftest.$ac_ext
3797cat >>conftest.$ac_ext <<_ACEOF
3798/* end confdefs.h. */
3799$ac_includes_default
3800
3801#include <$ac_header>
3802_ACEOF
3803rm -f conftest.$ac_objext
3804if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3805 (eval $ac_compile) 2>conftest.er1
3806 ac_status=$?
3807 grep -v '^ *+' conftest.er1 >conftest.err
3808 rm -f conftest.er1
3809 cat conftest.err >&5
3810 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3811 (exit $ac_status); } &&
3812 { ac_try='test -z "$ac_c_werror_flag"
3813 || test ! -s conftest.err'
3814 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3815 (eval $ac_try) 2>&5
3816 ac_status=$?
3817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3818 (exit $ac_status); }; } &&
3819 { ac_try='test -s conftest.$ac_objext'
3820 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3821 (eval $ac_try) 2>&5
3822 ac_status=$?
3823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3824 (exit $ac_status); }; }; then
3825 eval "$as_ac_Header=yes"
3826else
3827 echo "$as_me: failed program was:" >&5
3828sed 's/^/| /' conftest.$ac_ext >&5
3829
3830eval "$as_ac_Header=no"
3831fi
3832rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3833fi
3834echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3835echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3836if test `eval echo '${'$as_ac_Header'}'` = yes; then
3837 cat >>confdefs.h <<_ACEOF
3838#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3839_ACEOF
3840
3841fi
3842
3843done
3844
3845
3846
3847for ac_header in locale.h
3848do
3849as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
3850if eval "test \"\${$as_ac_Header+set}\" = set"; then
3851 echo "$as_me:$LINENO: checking for $ac_header" >&5
3852echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3853if eval "test \"\${$as_ac_Header+set}\" = set"; then
3854 echo $ECHO_N "(cached) $ECHO_C" >&6
3855fi
3856echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3857echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3858else
3859 # Is the header compilable?
3860echo "$as_me:$LINENO: checking $ac_header usability" >&5
3861echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
3862cat >conftest.$ac_ext <<_ACEOF
3863/* confdefs.h. */
3864_ACEOF
3865cat confdefs.h >>conftest.$ac_ext
3866cat >>conftest.$ac_ext <<_ACEOF
3867/* end confdefs.h. */
3868$ac_includes_default
3869#include <$ac_header>
3870_ACEOF
3871rm -f conftest.$ac_objext
3872if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
3873 (eval $ac_compile) 2>conftest.er1
3874 ac_status=$?
3875 grep -v '^ *+' conftest.er1 >conftest.err
3876 rm -f conftest.er1
3877 cat conftest.err >&5
3878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3879 (exit $ac_status); } &&
3880 { ac_try='test -z "$ac_c_werror_flag"
3881 || test ! -s conftest.err'
3882 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3883 (eval $ac_try) 2>&5
3884 ac_status=$?
3885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3886 (exit $ac_status); }; } &&
3887 { ac_try='test -s conftest.$ac_objext'
3888 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
3889 (eval $ac_try) 2>&5
3890 ac_status=$?
3891 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3892 (exit $ac_status); }; }; then
3893 ac_header_compiler=yes
3894else
3895 echo "$as_me: failed program was:" >&5
3896sed 's/^/| /' conftest.$ac_ext >&5
3897
3898ac_header_compiler=no
3899fi
3900rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
3901echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
3902echo "${ECHO_T}$ac_header_compiler" >&6
3903
3904# Is the header present?
3905echo "$as_me:$LINENO: checking $ac_header presence" >&5
3906echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
3907cat >conftest.$ac_ext <<_ACEOF
3908/* confdefs.h. */
3909_ACEOF
3910cat confdefs.h >>conftest.$ac_ext
3911cat >>conftest.$ac_ext <<_ACEOF
3912/* end confdefs.h. */
3913#include <$ac_header>
3914_ACEOF
3915if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
3916 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
3917 ac_status=$?
3918 grep -v '^ *+' conftest.er1 >conftest.err
3919 rm -f conftest.er1
3920 cat conftest.err >&5
3921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3922 (exit $ac_status); } >/dev/null; then
3923 if test -s conftest.err; then
3924 ac_cpp_err=$ac_c_preproc_warn_flag
3925 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
3926 else
3927 ac_cpp_err=
3928 fi
3929else
3930 ac_cpp_err=yes
3931fi
3932if test -z "$ac_cpp_err"; then
3933 ac_header_preproc=yes
3934else
3935 echo "$as_me: failed program was:" >&5
3936sed 's/^/| /' conftest.$ac_ext >&5
3937
3938 ac_header_preproc=no
3939fi
3940rm -f conftest.err conftest.$ac_ext
3941echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
3942echo "${ECHO_T}$ac_header_preproc" >&6
3943
3944# So? What about this header?
3945case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
3946 yes:no: )
3947 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
3948echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
3949 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
3950echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
3951 ac_header_preproc=yes
3952 ;;
3953 no:yes:* )
3954 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
3955echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
3956 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
3957echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
3958 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
3959echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
3960 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
3961echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
3962 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
3963echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
3964 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
3965echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
3966 (
3967 cat <<\_ASBOX
3968## ---------------------------------------------------------- ##
3969## Report this to smartmontools-support@lists.sourceforge.net ##
3970## ---------------------------------------------------------- ##
3971_ASBOX
3972 ) |
3973 sed "s/^/$as_me: WARNING: /" >&2
3974 ;;
3975esac
3976echo "$as_me:$LINENO: checking for $ac_header" >&5
3977echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
3978if eval "test \"\${$as_ac_Header+set}\" = set"; then
3979 echo $ECHO_N "(cached) $ECHO_C" >&6
3980else
3981 eval "$as_ac_Header=\$ac_header_preproc"
3982fi
3983echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
3984echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
3985
3986fi
3987if test `eval echo '${'$as_ac_Header'}'` = yes; then
3988 cat >>confdefs.h <<_ACEOF
3989#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
3990_ACEOF
3991
3992fi
3993
3994done
3995
3996
3997for ac_header in getopt.h
3998do
3999as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4000if eval "test \"\${$as_ac_Header+set}\" = set"; then
4001 echo "$as_me:$LINENO: checking for $ac_header" >&5
4002echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4003if eval "test \"\${$as_ac_Header+set}\" = set"; then
4004 echo $ECHO_N "(cached) $ECHO_C" >&6
4005fi
4006echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4007echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4008else
4009 # Is the header compilable?
4010echo "$as_me:$LINENO: checking $ac_header usability" >&5
4011echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4012cat >conftest.$ac_ext <<_ACEOF
4013/* confdefs.h. */
4014_ACEOF
4015cat confdefs.h >>conftest.$ac_ext
4016cat >>conftest.$ac_ext <<_ACEOF
4017/* end confdefs.h. */
4018$ac_includes_default
4019#include <$ac_header>
4020_ACEOF
4021rm -f conftest.$ac_objext
4022if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4023 (eval $ac_compile) 2>conftest.er1
4024 ac_status=$?
4025 grep -v '^ *+' conftest.er1 >conftest.err
4026 rm -f conftest.er1
4027 cat conftest.err >&5
4028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4029 (exit $ac_status); } &&
4030 { ac_try='test -z "$ac_c_werror_flag"
4031 || test ! -s conftest.err'
4032 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4033 (eval $ac_try) 2>&5
4034 ac_status=$?
4035 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4036 (exit $ac_status); }; } &&
4037 { ac_try='test -s conftest.$ac_objext'
4038 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4039 (eval $ac_try) 2>&5
4040 ac_status=$?
4041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4042 (exit $ac_status); }; }; then
4043 ac_header_compiler=yes
4044else
4045 echo "$as_me: failed program was:" >&5
4046sed 's/^/| /' conftest.$ac_ext >&5
4047
4048ac_header_compiler=no
4049fi
4050rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4051echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4052echo "${ECHO_T}$ac_header_compiler" >&6
4053
4054# Is the header present?
4055echo "$as_me:$LINENO: checking $ac_header presence" >&5
4056echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4057cat >conftest.$ac_ext <<_ACEOF
4058/* confdefs.h. */
4059_ACEOF
4060cat confdefs.h >>conftest.$ac_ext
4061cat >>conftest.$ac_ext <<_ACEOF
4062/* end confdefs.h. */
4063#include <$ac_header>
4064_ACEOF
4065if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4066 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4067 ac_status=$?
4068 grep -v '^ *+' conftest.er1 >conftest.err
4069 rm -f conftest.er1
4070 cat conftest.err >&5
4071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4072 (exit $ac_status); } >/dev/null; then
4073 if test -s conftest.err; then
4074 ac_cpp_err=$ac_c_preproc_warn_flag
4075 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4076 else
4077 ac_cpp_err=
4078 fi
4079else
4080 ac_cpp_err=yes
4081fi
4082if test -z "$ac_cpp_err"; then
4083 ac_header_preproc=yes
4084else
4085 echo "$as_me: failed program was:" >&5
4086sed 's/^/| /' conftest.$ac_ext >&5
4087
4088 ac_header_preproc=no
4089fi
4090rm -f conftest.err conftest.$ac_ext
4091echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4092echo "${ECHO_T}$ac_header_preproc" >&6
4093
4094# So? What about this header?
4095case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4096 yes:no: )
4097 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4098echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4099 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4100echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4101 ac_header_preproc=yes
4102 ;;
4103 no:yes:* )
4104 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4105echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4106 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4107echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4108 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4109echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4110 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4111echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4112 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4113echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4114 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4115echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4116 (
4117 cat <<\_ASBOX
4118## ---------------------------------------------------------- ##
4119## Report this to smartmontools-support@lists.sourceforge.net ##
4120## ---------------------------------------------------------- ##
4121_ASBOX
4122 ) |
4123 sed "s/^/$as_me: WARNING: /" >&2
4124 ;;
4125esac
4126echo "$as_me:$LINENO: checking for $ac_header" >&5
4127echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4128if eval "test \"\${$as_ac_Header+set}\" = set"; then
4129 echo $ECHO_N "(cached) $ECHO_C" >&6
4130else
4131 eval "$as_ac_Header=\$ac_header_preproc"
4132fi
4133echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4134echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4135
4136fi
4137if test `eval echo '${'$as_ac_Header'}'` = yes; then
4138 cat >>confdefs.h <<_ACEOF
4139#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4140_ACEOF
4141
4142fi
4143
4144done
4145
4146
4147for ac_header in dev/ata/atavar.h
4148do
4149as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4150if eval "test \"\${$as_ac_Header+set}\" = set"; then
4151 echo "$as_me:$LINENO: checking for $ac_header" >&5
4152echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4153if eval "test \"\${$as_ac_Header+set}\" = set"; then
4154 echo $ECHO_N "(cached) $ECHO_C" >&6
4155fi
4156echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4157echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4158else
4159 # Is the header compilable?
4160echo "$as_me:$LINENO: checking $ac_header usability" >&5
4161echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4162cat >conftest.$ac_ext <<_ACEOF
4163/* confdefs.h. */
4164_ACEOF
4165cat confdefs.h >>conftest.$ac_ext
4166cat >>conftest.$ac_ext <<_ACEOF
4167/* end confdefs.h. */
4168$ac_includes_default
4169#include <$ac_header>
4170_ACEOF
4171rm -f conftest.$ac_objext
4172if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4173 (eval $ac_compile) 2>conftest.er1
4174 ac_status=$?
4175 grep -v '^ *+' conftest.er1 >conftest.err
4176 rm -f conftest.er1
4177 cat conftest.err >&5
4178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4179 (exit $ac_status); } &&
4180 { ac_try='test -z "$ac_c_werror_flag"
4181 || test ! -s conftest.err'
4182 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4183 (eval $ac_try) 2>&5
4184 ac_status=$?
4185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4186 (exit $ac_status); }; } &&
4187 { ac_try='test -s conftest.$ac_objext'
4188 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4189 (eval $ac_try) 2>&5
4190 ac_status=$?
4191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4192 (exit $ac_status); }; }; then
4193 ac_header_compiler=yes
4194else
4195 echo "$as_me: failed program was:" >&5
4196sed 's/^/| /' conftest.$ac_ext >&5
4197
4198ac_header_compiler=no
4199fi
4200rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4201echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4202echo "${ECHO_T}$ac_header_compiler" >&6
4203
4204# Is the header present?
4205echo "$as_me:$LINENO: checking $ac_header presence" >&5
4206echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4207cat >conftest.$ac_ext <<_ACEOF
4208/* confdefs.h. */
4209_ACEOF
4210cat confdefs.h >>conftest.$ac_ext
4211cat >>conftest.$ac_ext <<_ACEOF
4212/* end confdefs.h. */
4213#include <$ac_header>
4214_ACEOF
4215if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4216 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4217 ac_status=$?
4218 grep -v '^ *+' conftest.er1 >conftest.err
4219 rm -f conftest.er1
4220 cat conftest.err >&5
4221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4222 (exit $ac_status); } >/dev/null; then
4223 if test -s conftest.err; then
4224 ac_cpp_err=$ac_c_preproc_warn_flag
4225 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4226 else
4227 ac_cpp_err=
4228 fi
4229else
4230 ac_cpp_err=yes
4231fi
4232if test -z "$ac_cpp_err"; then
4233 ac_header_preproc=yes
4234else
4235 echo "$as_me: failed program was:" >&5
4236sed 's/^/| /' conftest.$ac_ext >&5
4237
4238 ac_header_preproc=no
4239fi
4240rm -f conftest.err conftest.$ac_ext
4241echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4242echo "${ECHO_T}$ac_header_preproc" >&6
4243
4244# So? What about this header?
4245case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4246 yes:no: )
4247 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4248echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4249 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4250echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4251 ac_header_preproc=yes
4252 ;;
4253 no:yes:* )
4254 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4255echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4256 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4257echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4258 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4259echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4260 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4261echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4262 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4263echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4264 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4265echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4266 (
4267 cat <<\_ASBOX
4268## ---------------------------------------------------------- ##
4269## Report this to smartmontools-support@lists.sourceforge.net ##
4270## ---------------------------------------------------------- ##
4271_ASBOX
4272 ) |
4273 sed "s/^/$as_me: WARNING: /" >&2
4274 ;;
4275esac
4276echo "$as_me:$LINENO: checking for $ac_header" >&5
4277echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4278if eval "test \"\${$as_ac_Header+set}\" = set"; then
4279 echo $ECHO_N "(cached) $ECHO_C" >&6
4280else
4281 eval "$as_ac_Header=\$ac_header_preproc"
4282fi
4283echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4284echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4285
4286fi
4287if test `eval echo '${'$as_ac_Header'}'` = yes; then
4288 cat >>confdefs.h <<_ACEOF
4289#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4290_ACEOF
4291
4292fi
4293
4294done
4295
4296
4297for ac_header in netdb.h
4298do
4299as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4300if eval "test \"\${$as_ac_Header+set}\" = set"; then
4301 echo "$as_me:$LINENO: checking for $ac_header" >&5
4302echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4303if eval "test \"\${$as_ac_Header+set}\" = set"; then
4304 echo $ECHO_N "(cached) $ECHO_C" >&6
4305fi
4306echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4307echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4308else
4309 # Is the header compilable?
4310echo "$as_me:$LINENO: checking $ac_header usability" >&5
4311echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4312cat >conftest.$ac_ext <<_ACEOF
4313/* confdefs.h. */
4314_ACEOF
4315cat confdefs.h >>conftest.$ac_ext
4316cat >>conftest.$ac_ext <<_ACEOF
4317/* end confdefs.h. */
4318$ac_includes_default
4319#include <$ac_header>
4320_ACEOF
4321rm -f conftest.$ac_objext
4322if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4323 (eval $ac_compile) 2>conftest.er1
4324 ac_status=$?
4325 grep -v '^ *+' conftest.er1 >conftest.err
4326 rm -f conftest.er1
4327 cat conftest.err >&5
4328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4329 (exit $ac_status); } &&
4330 { ac_try='test -z "$ac_c_werror_flag"
4331 || test ! -s conftest.err'
4332 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4333 (eval $ac_try) 2>&5
4334 ac_status=$?
4335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4336 (exit $ac_status); }; } &&
4337 { ac_try='test -s conftest.$ac_objext'
4338 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4339 (eval $ac_try) 2>&5
4340 ac_status=$?
4341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4342 (exit $ac_status); }; }; then
4343 ac_header_compiler=yes
4344else
4345 echo "$as_me: failed program was:" >&5
4346sed 's/^/| /' conftest.$ac_ext >&5
4347
4348ac_header_compiler=no
4349fi
4350rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4351echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4352echo "${ECHO_T}$ac_header_compiler" >&6
4353
4354# Is the header present?
4355echo "$as_me:$LINENO: checking $ac_header presence" >&5
4356echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4357cat >conftest.$ac_ext <<_ACEOF
4358/* confdefs.h. */
4359_ACEOF
4360cat confdefs.h >>conftest.$ac_ext
4361cat >>conftest.$ac_ext <<_ACEOF
4362/* end confdefs.h. */
4363#include <$ac_header>
4364_ACEOF
4365if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4366 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4367 ac_status=$?
4368 grep -v '^ *+' conftest.er1 >conftest.err
4369 rm -f conftest.er1
4370 cat conftest.err >&5
4371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4372 (exit $ac_status); } >/dev/null; then
4373 if test -s conftest.err; then
4374 ac_cpp_err=$ac_c_preproc_warn_flag
4375 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4376 else
4377 ac_cpp_err=
4378 fi
4379else
4380 ac_cpp_err=yes
4381fi
4382if test -z "$ac_cpp_err"; then
4383 ac_header_preproc=yes
4384else
4385 echo "$as_me: failed program was:" >&5
4386sed 's/^/| /' conftest.$ac_ext >&5
4387
4388 ac_header_preproc=no
4389fi
4390rm -f conftest.err conftest.$ac_ext
4391echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4392echo "${ECHO_T}$ac_header_preproc" >&6
4393
4394# So? What about this header?
4395case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4396 yes:no: )
4397 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4398echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4399 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4400echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4401 ac_header_preproc=yes
4402 ;;
4403 no:yes:* )
4404 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4405echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4406 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4407echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4408 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4409echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4410 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4411echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4412 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4413echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4414 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4415echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4416 (
4417 cat <<\_ASBOX
4418## ---------------------------------------------------------- ##
4419## Report this to smartmontools-support@lists.sourceforge.net ##
4420## ---------------------------------------------------------- ##
4421_ASBOX
4422 ) |
4423 sed "s/^/$as_me: WARNING: /" >&2
4424 ;;
4425esac
4426echo "$as_me:$LINENO: checking for $ac_header" >&5
4427echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4428if eval "test \"\${$as_ac_Header+set}\" = set"; then
4429 echo $ECHO_N "(cached) $ECHO_C" >&6
4430else
4431 eval "$as_ac_Header=\$ac_header_preproc"
4432fi
4433echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4434echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4435
4436fi
4437if test `eval echo '${'$as_ac_Header'}'` = yes; then
4438 cat >>confdefs.h <<_ACEOF
4439#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4440_ACEOF
4441
4442fi
4443
4444done
4445
4446
4447for ac_header in inttypes.h
4448do
4449as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4450if eval "test \"\${$as_ac_Header+set}\" = set"; then
4451 echo "$as_me:$LINENO: checking for $ac_header" >&5
4452echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4453if eval "test \"\${$as_ac_Header+set}\" = set"; then
4454 echo $ECHO_N "(cached) $ECHO_C" >&6
4455fi
4456echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4457echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4458else
4459 # Is the header compilable?
4460echo "$as_me:$LINENO: checking $ac_header usability" >&5
4461echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4462cat >conftest.$ac_ext <<_ACEOF
4463/* confdefs.h. */
4464_ACEOF
4465cat confdefs.h >>conftest.$ac_ext
4466cat >>conftest.$ac_ext <<_ACEOF
4467/* end confdefs.h. */
4468$ac_includes_default
4469#include <$ac_header>
4470_ACEOF
4471rm -f conftest.$ac_objext
4472if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4473 (eval $ac_compile) 2>conftest.er1
4474 ac_status=$?
4475 grep -v '^ *+' conftest.er1 >conftest.err
4476 rm -f conftest.er1
4477 cat conftest.err >&5
4478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4479 (exit $ac_status); } &&
4480 { ac_try='test -z "$ac_c_werror_flag"
4481 || test ! -s conftest.err'
4482 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4483 (eval $ac_try) 2>&5
4484 ac_status=$?
4485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4486 (exit $ac_status); }; } &&
4487 { ac_try='test -s conftest.$ac_objext'
4488 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4489 (eval $ac_try) 2>&5
4490 ac_status=$?
4491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4492 (exit $ac_status); }; }; then
4493 ac_header_compiler=yes
4494else
4495 echo "$as_me: failed program was:" >&5
4496sed 's/^/| /' conftest.$ac_ext >&5
4497
4498ac_header_compiler=no
4499fi
4500rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4501echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4502echo "${ECHO_T}$ac_header_compiler" >&6
4503
4504# Is the header present?
4505echo "$as_me:$LINENO: checking $ac_header presence" >&5
4506echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4507cat >conftest.$ac_ext <<_ACEOF
4508/* confdefs.h. */
4509_ACEOF
4510cat confdefs.h >>conftest.$ac_ext
4511cat >>conftest.$ac_ext <<_ACEOF
4512/* end confdefs.h. */
4513#include <$ac_header>
4514_ACEOF
4515if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4516 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4517 ac_status=$?
4518 grep -v '^ *+' conftest.er1 >conftest.err
4519 rm -f conftest.er1
4520 cat conftest.err >&5
4521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4522 (exit $ac_status); } >/dev/null; then
4523 if test -s conftest.err; then
4524 ac_cpp_err=$ac_c_preproc_warn_flag
4525 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4526 else
4527 ac_cpp_err=
4528 fi
4529else
4530 ac_cpp_err=yes
4531fi
4532if test -z "$ac_cpp_err"; then
4533 ac_header_preproc=yes
4534else
4535 echo "$as_me: failed program was:" >&5
4536sed 's/^/| /' conftest.$ac_ext >&5
4537
4538 ac_header_preproc=no
4539fi
4540rm -f conftest.err conftest.$ac_ext
4541echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4542echo "${ECHO_T}$ac_header_preproc" >&6
4543
4544# So? What about this header?
4545case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4546 yes:no: )
4547 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4548echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4549 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4550echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4551 ac_header_preproc=yes
4552 ;;
4553 no:yes:* )
4554 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4555echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4556 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4557echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4558 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4559echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4560 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4561echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4562 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4563echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4564 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4565echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4566 (
4567 cat <<\_ASBOX
4568## ---------------------------------------------------------- ##
4569## Report this to smartmontools-support@lists.sourceforge.net ##
4570## ---------------------------------------------------------- ##
4571_ASBOX
4572 ) |
4573 sed "s/^/$as_me: WARNING: /" >&2
4574 ;;
4575esac
4576echo "$as_me:$LINENO: checking for $ac_header" >&5
4577echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4578if eval "test \"\${$as_ac_Header+set}\" = set"; then
4579 echo $ECHO_N "(cached) $ECHO_C" >&6
4580else
4581 eval "$as_ac_Header=\$ac_header_preproc"
4582fi
4583echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4584echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4585
4586fi
4587if test `eval echo '${'$as_ac_Header'}'` = yes; then
4588 cat >>confdefs.h <<_ACEOF
4589#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4590_ACEOF
4591
4592fi
4593
4594done
4595
4596for ac_header in stdint.h
4597do
4598as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4599if eval "test \"\${$as_ac_Header+set}\" = set"; then
4600 echo "$as_me:$LINENO: checking for $ac_header" >&5
4601echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4602if eval "test \"\${$as_ac_Header+set}\" = set"; then
4603 echo $ECHO_N "(cached) $ECHO_C" >&6
4604fi
4605echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4606echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4607else
4608 # Is the header compilable?
4609echo "$as_me:$LINENO: checking $ac_header usability" >&5
4610echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4611cat >conftest.$ac_ext <<_ACEOF
4612/* confdefs.h. */
4613_ACEOF
4614cat confdefs.h >>conftest.$ac_ext
4615cat >>conftest.$ac_ext <<_ACEOF
4616/* end confdefs.h. */
4617$ac_includes_default
4618#include <$ac_header>
4619_ACEOF
4620rm -f conftest.$ac_objext
4621if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4622 (eval $ac_compile) 2>conftest.er1
4623 ac_status=$?
4624 grep -v '^ *+' conftest.er1 >conftest.err
4625 rm -f conftest.er1
4626 cat conftest.err >&5
4627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4628 (exit $ac_status); } &&
4629 { ac_try='test -z "$ac_c_werror_flag"
4630 || test ! -s conftest.err'
4631 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4632 (eval $ac_try) 2>&5
4633 ac_status=$?
4634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4635 (exit $ac_status); }; } &&
4636 { ac_try='test -s conftest.$ac_objext'
4637 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4638 (eval $ac_try) 2>&5
4639 ac_status=$?
4640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4641 (exit $ac_status); }; }; then
4642 ac_header_compiler=yes
4643else
4644 echo "$as_me: failed program was:" >&5
4645sed 's/^/| /' conftest.$ac_ext >&5
4646
4647ac_header_compiler=no
4648fi
4649rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4650echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4651echo "${ECHO_T}$ac_header_compiler" >&6
4652
4653# Is the header present?
4654echo "$as_me:$LINENO: checking $ac_header presence" >&5
4655echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4656cat >conftest.$ac_ext <<_ACEOF
4657/* confdefs.h. */
4658_ACEOF
4659cat confdefs.h >>conftest.$ac_ext
4660cat >>conftest.$ac_ext <<_ACEOF
4661/* end confdefs.h. */
4662#include <$ac_header>
4663_ACEOF
4664if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4665 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4666 ac_status=$?
4667 grep -v '^ *+' conftest.er1 >conftest.err
4668 rm -f conftest.er1
4669 cat conftest.err >&5
4670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4671 (exit $ac_status); } >/dev/null; then
4672 if test -s conftest.err; then
4673 ac_cpp_err=$ac_c_preproc_warn_flag
4674 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4675 else
4676 ac_cpp_err=
4677 fi
4678else
4679 ac_cpp_err=yes
4680fi
4681if test -z "$ac_cpp_err"; then
4682 ac_header_preproc=yes
4683else
4684 echo "$as_me: failed program was:" >&5
4685sed 's/^/| /' conftest.$ac_ext >&5
4686
4687 ac_header_preproc=no
4688fi
4689rm -f conftest.err conftest.$ac_ext
4690echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4691echo "${ECHO_T}$ac_header_preproc" >&6
4692
4693# So? What about this header?
4694case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4695 yes:no: )
4696 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4697echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4698 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4699echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4700 ac_header_preproc=yes
4701 ;;
4702 no:yes:* )
4703 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4704echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4705 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4706echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4707 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4708echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4709 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4710echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4711 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4712echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4713 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4714echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4715 (
4716 cat <<\_ASBOX
4717## ---------------------------------------------------------- ##
4718## Report this to smartmontools-support@lists.sourceforge.net ##
4719## ---------------------------------------------------------- ##
4720_ASBOX
4721 ) |
4722 sed "s/^/$as_me: WARNING: /" >&2
4723 ;;
4724esac
4725echo "$as_me:$LINENO: checking for $ac_header" >&5
4726echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4727if eval "test \"\${$as_ac_Header+set}\" = set"; then
4728 echo $ECHO_N "(cached) $ECHO_C" >&6
4729else
4730 eval "$as_ac_Header=\$ac_header_preproc"
4731fi
4732echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4733echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4734
4735fi
4736if test `eval echo '${'$as_ac_Header'}'` = yes; then
4737 cat >>confdefs.h <<_ACEOF
4738#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4739_ACEOF
4740
4741fi
4742
4743done
4744
4745for ac_header in sys/inttypes.h
4746do
4747as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4748if eval "test \"\${$as_ac_Header+set}\" = set"; then
4749 echo "$as_me:$LINENO: checking for $ac_header" >&5
4750echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4751if eval "test \"\${$as_ac_Header+set}\" = set"; then
4752 echo $ECHO_N "(cached) $ECHO_C" >&6
4753fi
4754echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4755echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4756else
4757 # Is the header compilable?
4758echo "$as_me:$LINENO: checking $ac_header usability" >&5
4759echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4760cat >conftest.$ac_ext <<_ACEOF
4761/* confdefs.h. */
4762_ACEOF
4763cat confdefs.h >>conftest.$ac_ext
4764cat >>conftest.$ac_ext <<_ACEOF
4765/* end confdefs.h. */
4766$ac_includes_default
4767#include <$ac_header>
4768_ACEOF
4769rm -f conftest.$ac_objext
4770if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4771 (eval $ac_compile) 2>conftest.er1
4772 ac_status=$?
4773 grep -v '^ *+' conftest.er1 >conftest.err
4774 rm -f conftest.er1
4775 cat conftest.err >&5
4776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4777 (exit $ac_status); } &&
4778 { ac_try='test -z "$ac_c_werror_flag"
4779 || test ! -s conftest.err'
4780 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4781 (eval $ac_try) 2>&5
4782 ac_status=$?
4783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4784 (exit $ac_status); }; } &&
4785 { ac_try='test -s conftest.$ac_objext'
4786 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4787 (eval $ac_try) 2>&5
4788 ac_status=$?
4789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4790 (exit $ac_status); }; }; then
4791 ac_header_compiler=yes
4792else
4793 echo "$as_me: failed program was:" >&5
4794sed 's/^/| /' conftest.$ac_ext >&5
4795
4796ac_header_compiler=no
4797fi
4798rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4799echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4800echo "${ECHO_T}$ac_header_compiler" >&6
4801
4802# Is the header present?
4803echo "$as_me:$LINENO: checking $ac_header presence" >&5
4804echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4805cat >conftest.$ac_ext <<_ACEOF
4806/* confdefs.h. */
4807_ACEOF
4808cat confdefs.h >>conftest.$ac_ext
4809cat >>conftest.$ac_ext <<_ACEOF
4810/* end confdefs.h. */
4811#include <$ac_header>
4812_ACEOF
4813if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4814 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4815 ac_status=$?
4816 grep -v '^ *+' conftest.er1 >conftest.err
4817 rm -f conftest.er1
4818 cat conftest.err >&5
4819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4820 (exit $ac_status); } >/dev/null; then
4821 if test -s conftest.err; then
4822 ac_cpp_err=$ac_c_preproc_warn_flag
4823 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4824 else
4825 ac_cpp_err=
4826 fi
4827else
4828 ac_cpp_err=yes
4829fi
4830if test -z "$ac_cpp_err"; then
4831 ac_header_preproc=yes
4832else
4833 echo "$as_me: failed program was:" >&5
4834sed 's/^/| /' conftest.$ac_ext >&5
4835
4836 ac_header_preproc=no
4837fi
4838rm -f conftest.err conftest.$ac_ext
4839echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4840echo "${ECHO_T}$ac_header_preproc" >&6
4841
4842# So? What about this header?
4843case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4844 yes:no: )
4845 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4846echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4847 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4848echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4849 ac_header_preproc=yes
4850 ;;
4851 no:yes:* )
4852 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
4853echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
4854 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
4855echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
4856 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
4857echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
4858 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
4859echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
4860 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
4861echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
4862 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
4863echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
4864 (
4865 cat <<\_ASBOX
4866## ---------------------------------------------------------- ##
4867## Report this to smartmontools-support@lists.sourceforge.net ##
4868## ---------------------------------------------------------- ##
4869_ASBOX
4870 ) |
4871 sed "s/^/$as_me: WARNING: /" >&2
4872 ;;
4873esac
4874echo "$as_me:$LINENO: checking for $ac_header" >&5
4875echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4876if eval "test \"\${$as_ac_Header+set}\" = set"; then
4877 echo $ECHO_N "(cached) $ECHO_C" >&6
4878else
4879 eval "$as_ac_Header=\$ac_header_preproc"
4880fi
4881echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4882echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4883
4884fi
4885if test `eval echo '${'$as_ac_Header'}'` = yes; then
4886 cat >>confdefs.h <<_ACEOF
4887#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
4888_ACEOF
4889
4890fi
4891
4892done
4893
4894for ac_header in sys/int_types.h
4895do
4896as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
4897if eval "test \"\${$as_ac_Header+set}\" = set"; then
4898 echo "$as_me:$LINENO: checking for $ac_header" >&5
4899echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
4900if eval "test \"\${$as_ac_Header+set}\" = set"; then
4901 echo $ECHO_N "(cached) $ECHO_C" >&6
4902fi
4903echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
4904echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
4905else
4906 # Is the header compilable?
4907echo "$as_me:$LINENO: checking $ac_header usability" >&5
4908echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
4909cat >conftest.$ac_ext <<_ACEOF
4910/* confdefs.h. */
4911_ACEOF
4912cat confdefs.h >>conftest.$ac_ext
4913cat >>conftest.$ac_ext <<_ACEOF
4914/* end confdefs.h. */
4915$ac_includes_default
4916#include <$ac_header>
4917_ACEOF
4918rm -f conftest.$ac_objext
4919if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
4920 (eval $ac_compile) 2>conftest.er1
4921 ac_status=$?
4922 grep -v '^ *+' conftest.er1 >conftest.err
4923 rm -f conftest.er1
4924 cat conftest.err >&5
4925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4926 (exit $ac_status); } &&
4927 { ac_try='test -z "$ac_c_werror_flag"
4928 || test ! -s conftest.err'
4929 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4930 (eval $ac_try) 2>&5
4931 ac_status=$?
4932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4933 (exit $ac_status); }; } &&
4934 { ac_try='test -s conftest.$ac_objext'
4935 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
4936 (eval $ac_try) 2>&5
4937 ac_status=$?
4938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4939 (exit $ac_status); }; }; then
4940 ac_header_compiler=yes
4941else
4942 echo "$as_me: failed program was:" >&5
4943sed 's/^/| /' conftest.$ac_ext >&5
4944
4945ac_header_compiler=no
4946fi
4947rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
4948echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
4949echo "${ECHO_T}$ac_header_compiler" >&6
4950
4951# Is the header present?
4952echo "$as_me:$LINENO: checking $ac_header presence" >&5
4953echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
4954cat >conftest.$ac_ext <<_ACEOF
4955/* confdefs.h. */
4956_ACEOF
4957cat confdefs.h >>conftest.$ac_ext
4958cat >>conftest.$ac_ext <<_ACEOF
4959/* end confdefs.h. */
4960#include <$ac_header>
4961_ACEOF
4962if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
4963 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
4964 ac_status=$?
4965 grep -v '^ *+' conftest.er1 >conftest.err
4966 rm -f conftest.er1
4967 cat conftest.err >&5
4968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4969 (exit $ac_status); } >/dev/null; then
4970 if test -s conftest.err; then
4971 ac_cpp_err=$ac_c_preproc_warn_flag
4972 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
4973 else
4974 ac_cpp_err=
4975 fi
4976else
4977 ac_cpp_err=yes
4978fi
4979if test -z "$ac_cpp_err"; then
4980 ac_header_preproc=yes
4981else
4982 echo "$as_me: failed program was:" >&5
4983sed 's/^/| /' conftest.$ac_ext >&5
4984
4985 ac_header_preproc=no
4986fi
4987rm -f conftest.err conftest.$ac_ext
4988echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
4989echo "${ECHO_T}$ac_header_preproc" >&6
4990
4991# So? What about this header?
4992case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
4993 yes:no: )
4994 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
4995echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
4996 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
4997echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
4998 ac_header_preproc=yes
4999 ;;
5000 no:yes:* )
5001 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5002echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5003 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5004echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5005 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5006echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5007 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5008echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5009 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5010echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5011 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5012echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5013 (
5014 cat <<\_ASBOX
5015## ---------------------------------------------------------- ##
5016## Report this to smartmontools-support@lists.sourceforge.net ##
5017## ---------------------------------------------------------- ##
5018_ASBOX
5019 ) |
5020 sed "s/^/$as_me: WARNING: /" >&2
5021 ;;
5022esac
5023echo "$as_me:$LINENO: checking for $ac_header" >&5
5024echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5025if eval "test \"\${$as_ac_Header+set}\" = set"; then
5026 echo $ECHO_N "(cached) $ECHO_C" >&6
5027else
5028 eval "$as_ac_Header=\$ac_header_preproc"
5029fi
5030echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5031echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5032
5033fi
5034if test `eval echo '${'$as_ac_Header'}'` = yes; then
5035 cat >>confdefs.h <<_ACEOF
5036#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5037_ACEOF
5038
5039fi
5040
5041done
5042
5043for ac_header in sys/tweio.h
5044do
5045as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5046if eval "test \"\${$as_ac_Header+set}\" = set"; then
5047 echo "$as_me:$LINENO: checking for $ac_header" >&5
5048echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5049if eval "test \"\${$as_ac_Header+set}\" = set"; then
5050 echo $ECHO_N "(cached) $ECHO_C" >&6
5051fi
5052echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5053echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5054else
5055 # Is the header compilable?
5056echo "$as_me:$LINENO: checking $ac_header usability" >&5
5057echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5058cat >conftest.$ac_ext <<_ACEOF
5059/* confdefs.h. */
5060_ACEOF
5061cat confdefs.h >>conftest.$ac_ext
5062cat >>conftest.$ac_ext <<_ACEOF
5063/* end confdefs.h. */
5064$ac_includes_default
5065#include <$ac_header>
5066_ACEOF
5067rm -f conftest.$ac_objext
5068if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5069 (eval $ac_compile) 2>conftest.er1
5070 ac_status=$?
5071 grep -v '^ *+' conftest.er1 >conftest.err
5072 rm -f conftest.er1
5073 cat conftest.err >&5
5074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5075 (exit $ac_status); } &&
5076 { ac_try='test -z "$ac_c_werror_flag"
5077 || test ! -s conftest.err'
5078 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5079 (eval $ac_try) 2>&5
5080 ac_status=$?
5081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5082 (exit $ac_status); }; } &&
5083 { ac_try='test -s conftest.$ac_objext'
5084 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5085 (eval $ac_try) 2>&5
5086 ac_status=$?
5087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5088 (exit $ac_status); }; }; then
5089 ac_header_compiler=yes
5090else
5091 echo "$as_me: failed program was:" >&5
5092sed 's/^/| /' conftest.$ac_ext >&5
5093
5094ac_header_compiler=no
5095fi
5096rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5097echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5098echo "${ECHO_T}$ac_header_compiler" >&6
5099
5100# Is the header present?
5101echo "$as_me:$LINENO: checking $ac_header presence" >&5
5102echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5103cat >conftest.$ac_ext <<_ACEOF
5104/* confdefs.h. */
5105_ACEOF
5106cat confdefs.h >>conftest.$ac_ext
5107cat >>conftest.$ac_ext <<_ACEOF
5108/* end confdefs.h. */
5109#include <$ac_header>
5110_ACEOF
5111if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5112 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5113 ac_status=$?
5114 grep -v '^ *+' conftest.er1 >conftest.err
5115 rm -f conftest.er1
5116 cat conftest.err >&5
5117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5118 (exit $ac_status); } >/dev/null; then
5119 if test -s conftest.err; then
5120 ac_cpp_err=$ac_c_preproc_warn_flag
5121 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5122 else
5123 ac_cpp_err=
5124 fi
5125else
5126 ac_cpp_err=yes
5127fi
5128if test -z "$ac_cpp_err"; then
5129 ac_header_preproc=yes
5130else
5131 echo "$as_me: failed program was:" >&5
5132sed 's/^/| /' conftest.$ac_ext >&5
5133
5134 ac_header_preproc=no
5135fi
5136rm -f conftest.err conftest.$ac_ext
5137echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5138echo "${ECHO_T}$ac_header_preproc" >&6
5139
5140# So? What about this header?
5141case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5142 yes:no: )
5143 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5144echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5145 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5146echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5147 ac_header_preproc=yes
5148 ;;
5149 no:yes:* )
5150 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5151echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5152 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5153echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5154 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5155echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5156 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5157echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5158 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5159echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5160 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5161echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5162 (
5163 cat <<\_ASBOX
5164## ---------------------------------------------------------- ##
5165## Report this to smartmontools-support@lists.sourceforge.net ##
5166## ---------------------------------------------------------- ##
5167_ASBOX
5168 ) |
5169 sed "s/^/$as_me: WARNING: /" >&2
5170 ;;
5171esac
5172echo "$as_me:$LINENO: checking for $ac_header" >&5
5173echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5174if eval "test \"\${$as_ac_Header+set}\" = set"; then
5175 echo $ECHO_N "(cached) $ECHO_C" >&6
5176else
5177 eval "$as_ac_Header=\$ac_header_preproc"
5178fi
5179echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5180echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5181
5182fi
5183if test `eval echo '${'$as_ac_Header'}'` = yes; then
5184 cat >>confdefs.h <<_ACEOF
5185#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5186_ACEOF
5187
5188fi
5189
5190done
5191
5192
5193for ac_header in sys/twereg.h
5194do
5195as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5196if eval "test \"\${$as_ac_Header+set}\" = set"; then
5197 echo "$as_me:$LINENO: checking for $ac_header" >&5
5198echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5199if eval "test \"\${$as_ac_Header+set}\" = set"; then
5200 echo $ECHO_N "(cached) $ECHO_C" >&6
5201fi
5202echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5203echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5204else
5205 # Is the header compilable?
5206echo "$as_me:$LINENO: checking $ac_header usability" >&5
5207echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5208cat >conftest.$ac_ext <<_ACEOF
5209/* confdefs.h. */
5210_ACEOF
5211cat confdefs.h >>conftest.$ac_ext
5212cat >>conftest.$ac_ext <<_ACEOF
5213/* end confdefs.h. */
5214$ac_includes_default
5215#include <$ac_header>
5216_ACEOF
5217rm -f conftest.$ac_objext
5218if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5219 (eval $ac_compile) 2>conftest.er1
5220 ac_status=$?
5221 grep -v '^ *+' conftest.er1 >conftest.err
5222 rm -f conftest.er1
5223 cat conftest.err >&5
5224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5225 (exit $ac_status); } &&
5226 { ac_try='test -z "$ac_c_werror_flag"
5227 || test ! -s conftest.err'
5228 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5229 (eval $ac_try) 2>&5
5230 ac_status=$?
5231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5232 (exit $ac_status); }; } &&
5233 { ac_try='test -s conftest.$ac_objext'
5234 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5235 (eval $ac_try) 2>&5
5236 ac_status=$?
5237 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5238 (exit $ac_status); }; }; then
5239 ac_header_compiler=yes
5240else
5241 echo "$as_me: failed program was:" >&5
5242sed 's/^/| /' conftest.$ac_ext >&5
5243
5244ac_header_compiler=no
5245fi
5246rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5247echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5248echo "${ECHO_T}$ac_header_compiler" >&6
5249
5250# Is the header present?
5251echo "$as_me:$LINENO: checking $ac_header presence" >&5
5252echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5253cat >conftest.$ac_ext <<_ACEOF
5254/* confdefs.h. */
5255_ACEOF
5256cat confdefs.h >>conftest.$ac_ext
5257cat >>conftest.$ac_ext <<_ACEOF
5258/* end confdefs.h. */
5259#include <$ac_header>
5260_ACEOF
5261if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5262 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5263 ac_status=$?
5264 grep -v '^ *+' conftest.er1 >conftest.err
5265 rm -f conftest.er1
5266 cat conftest.err >&5
5267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5268 (exit $ac_status); } >/dev/null; then
5269 if test -s conftest.err; then
5270 ac_cpp_err=$ac_c_preproc_warn_flag
5271 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5272 else
5273 ac_cpp_err=
5274 fi
5275else
5276 ac_cpp_err=yes
5277fi
5278if test -z "$ac_cpp_err"; then
5279 ac_header_preproc=yes
5280else
5281 echo "$as_me: failed program was:" >&5
5282sed 's/^/| /' conftest.$ac_ext >&5
5283
5284 ac_header_preproc=no
5285fi
5286rm -f conftest.err conftest.$ac_ext
5287echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5288echo "${ECHO_T}$ac_header_preproc" >&6
5289
5290# So? What about this header?
5291case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5292 yes:no: )
5293 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5294echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5295 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5296echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5297 ac_header_preproc=yes
5298 ;;
5299 no:yes:* )
5300 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5301echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5302 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5303echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5304 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5305echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5306 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5307echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5308 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5309echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5310 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5311echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5312 (
5313 cat <<\_ASBOX
5314## ---------------------------------------------------------- ##
5315## Report this to smartmontools-support@lists.sourceforge.net ##
5316## ---------------------------------------------------------- ##
5317_ASBOX
5318 ) |
5319 sed "s/^/$as_me: WARNING: /" >&2
5320 ;;
5321esac
5322echo "$as_me:$LINENO: checking for $ac_header" >&5
5323echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5324if eval "test \"\${$as_ac_Header+set}\" = set"; then
5325 echo $ECHO_N "(cached) $ECHO_C" >&6
5326else
5327 eval "$as_ac_Header=\$ac_header_preproc"
5328fi
5329echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5330echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5331
5332fi
5333if test `eval echo '${'$as_ac_Header'}'` = yes; then
5334 cat >>confdefs.h <<_ACEOF
5335#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5336_ACEOF
5337
5338fi
5339
5340done
5341
5342
5343for ac_header in sys/tw_osl_ioctl.h
5344do
5345as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5346if eval "test \"\${$as_ac_Header+set}\" = set"; then
5347 echo "$as_me:$LINENO: checking for $ac_header" >&5
5348echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5349if eval "test \"\${$as_ac_Header+set}\" = set"; then
5350 echo $ECHO_N "(cached) $ECHO_C" >&6
5351fi
5352echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5353echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5354else
5355 # Is the header compilable?
5356echo "$as_me:$LINENO: checking $ac_header usability" >&5
5357echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6
5358cat >conftest.$ac_ext <<_ACEOF
5359/* confdefs.h. */
5360_ACEOF
5361cat confdefs.h >>conftest.$ac_ext
5362cat >>conftest.$ac_ext <<_ACEOF
5363/* end confdefs.h. */
5364$ac_includes_default
5365#include <$ac_header>
5366_ACEOF
5367rm -f conftest.$ac_objext
5368if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5369 (eval $ac_compile) 2>conftest.er1
5370 ac_status=$?
5371 grep -v '^ *+' conftest.er1 >conftest.err
5372 rm -f conftest.er1
5373 cat conftest.err >&5
5374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5375 (exit $ac_status); } &&
5376 { ac_try='test -z "$ac_c_werror_flag"
5377 || test ! -s conftest.err'
5378 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5379 (eval $ac_try) 2>&5
5380 ac_status=$?
5381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5382 (exit $ac_status); }; } &&
5383 { ac_try='test -s conftest.$ac_objext'
5384 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5385 (eval $ac_try) 2>&5
5386 ac_status=$?
5387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5388 (exit $ac_status); }; }; then
5389 ac_header_compiler=yes
5390else
5391 echo "$as_me: failed program was:" >&5
5392sed 's/^/| /' conftest.$ac_ext >&5
5393
5394ac_header_compiler=no
5395fi
5396rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5397echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
5398echo "${ECHO_T}$ac_header_compiler" >&6
5399
5400# Is the header present?
5401echo "$as_me:$LINENO: checking $ac_header presence" >&5
5402echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6
5403cat >conftest.$ac_ext <<_ACEOF
5404/* confdefs.h. */
5405_ACEOF
5406cat confdefs.h >>conftest.$ac_ext
5407cat >>conftest.$ac_ext <<_ACEOF
5408/* end confdefs.h. */
5409#include <$ac_header>
5410_ACEOF
5411if { (eval echo "$as_me:$LINENO: \"$ac_cpp conftest.$ac_ext\"") >&5
5412 (eval $ac_cpp conftest.$ac_ext) 2>conftest.er1
5413 ac_status=$?
5414 grep -v '^ *+' conftest.er1 >conftest.err
5415 rm -f conftest.er1
5416 cat conftest.err >&5
5417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5418 (exit $ac_status); } >/dev/null; then
5419 if test -s conftest.err; then
5420 ac_cpp_err=$ac_c_preproc_warn_flag
5421 ac_cpp_err=$ac_cpp_err$ac_c_werror_flag
5422 else
5423 ac_cpp_err=
5424 fi
5425else
5426 ac_cpp_err=yes
5427fi
5428if test -z "$ac_cpp_err"; then
5429 ac_header_preproc=yes
5430else
5431 echo "$as_me: failed program was:" >&5
5432sed 's/^/| /' conftest.$ac_ext >&5
5433
5434 ac_header_preproc=no
5435fi
5436rm -f conftest.err conftest.$ac_ext
5437echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
5438echo "${ECHO_T}$ac_header_preproc" >&6
5439
5440# So? What about this header?
5441case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
5442 yes:no: )
5443 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
5444echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
5445 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
5446echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
5447 ac_header_preproc=yes
5448 ;;
5449 no:yes:* )
5450 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
5451echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
5452 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
5453echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
5454 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
5455echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
5456 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
5457echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
5458 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
5459echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
5460 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
5461echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
5462 (
5463 cat <<\_ASBOX
5464## ---------------------------------------------------------- ##
5465## Report this to smartmontools-support@lists.sourceforge.net ##
5466## ---------------------------------------------------------- ##
5467_ASBOX
5468 ) |
5469 sed "s/^/$as_me: WARNING: /" >&2
5470 ;;
5471esac
5472echo "$as_me:$LINENO: checking for $ac_header" >&5
5473echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6
5474if eval "test \"\${$as_ac_Header+set}\" = set"; then
5475 echo $ECHO_N "(cached) $ECHO_C" >&6
5476else
5477 eval "$as_ac_Header=\$ac_header_preproc"
5478fi
5479echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_Header'}'`" >&5
5480echo "${ECHO_T}`eval echo '${'$as_ac_Header'}'`" >&6
5481
5482fi
5483if test `eval echo '${'$as_ac_Header'}'` = yes; then
5484 cat >>confdefs.h <<_ACEOF
5485#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
5486_ACEOF
5487
5488fi
5489
5490done
5491
5492
5493echo "$as_me:$LINENO: checking for int64_t" >&5
5494echo $ECHO_N "checking for int64_t... $ECHO_C" >&6
5495if test "${ac_cv_type_int64_t+set}" = set; then
5496 echo $ECHO_N "(cached) $ECHO_C" >&6
5497else
5498 cat >conftest.$ac_ext <<_ACEOF
5499/* confdefs.h. */
5500_ACEOF
5501cat confdefs.h >>conftest.$ac_ext
5502cat >>conftest.$ac_ext <<_ACEOF
5503/* end confdefs.h. */
5504$ac_includes_default
5505int
5506main ()
5507{
5508if ((int64_t *) 0)
5509 return 0;
5510if (sizeof (int64_t))
5511 return 0;
5512 ;
5513 return 0;
5514}
5515_ACEOF
5516rm -f conftest.$ac_objext
5517if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5518 (eval $ac_compile) 2>conftest.er1
5519 ac_status=$?
5520 grep -v '^ *+' conftest.er1 >conftest.err
5521 rm -f conftest.er1
5522 cat conftest.err >&5
5523 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5524 (exit $ac_status); } &&
5525 { ac_try='test -z "$ac_c_werror_flag"
5526 || test ! -s conftest.err'
5527 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5528 (eval $ac_try) 2>&5
5529 ac_status=$?
5530 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5531 (exit $ac_status); }; } &&
5532 { ac_try='test -s conftest.$ac_objext'
5533 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5534 (eval $ac_try) 2>&5
5535 ac_status=$?
5536 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5537 (exit $ac_status); }; }; then
5538 ac_cv_type_int64_t=yes
5539else
5540 echo "$as_me: failed program was:" >&5
5541sed 's/^/| /' conftest.$ac_ext >&5
5542
5543ac_cv_type_int64_t=no
5544fi
5545rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5546fi
5547echo "$as_me:$LINENO: result: $ac_cv_type_int64_t" >&5
5548echo "${ECHO_T}$ac_cv_type_int64_t" >&6
5549if test $ac_cv_type_int64_t = yes; then
5550
5551cat >>confdefs.h <<_ACEOF
5552#define HAVE_INT64_T 1
5553_ACEOF
5554
5555
5556fi
5557echo "$as_me:$LINENO: checking for uint64_t" >&5
5558echo $ECHO_N "checking for uint64_t... $ECHO_C" >&6
5559if test "${ac_cv_type_uint64_t+set}" = set; then
5560 echo $ECHO_N "(cached) $ECHO_C" >&6
5561else
5562 cat >conftest.$ac_ext <<_ACEOF
5563/* confdefs.h. */
5564_ACEOF
5565cat confdefs.h >>conftest.$ac_ext
5566cat >>conftest.$ac_ext <<_ACEOF
5567/* end confdefs.h. */
5568$ac_includes_default
5569int
5570main ()
5571{
5572if ((uint64_t *) 0)
5573 return 0;
5574if (sizeof (uint64_t))
5575 return 0;
5576 ;
5577 return 0;
5578}
5579_ACEOF
5580rm -f conftest.$ac_objext
5581if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
5582 (eval $ac_compile) 2>conftest.er1
5583 ac_status=$?
5584 grep -v '^ *+' conftest.er1 >conftest.err
5585 rm -f conftest.er1
5586 cat conftest.err >&5
5587 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5588 (exit $ac_status); } &&
5589 { ac_try='test -z "$ac_c_werror_flag"
5590 || test ! -s conftest.err'
5591 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5592 (eval $ac_try) 2>&5
5593 ac_status=$?
5594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5595 (exit $ac_status); }; } &&
5596 { ac_try='test -s conftest.$ac_objext'
5597 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5598 (eval $ac_try) 2>&5
5599 ac_status=$?
5600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5601 (exit $ac_status); }; }; then
5602 ac_cv_type_uint64_t=yes
5603else
5604 echo "$as_me: failed program was:" >&5
5605sed 's/^/| /' conftest.$ac_ext >&5
5606
5607ac_cv_type_uint64_t=no
5608fi
5609rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
5610fi
5611echo "$as_me:$LINENO: result: $ac_cv_type_uint64_t" >&5
5612echo "${ECHO_T}$ac_cv_type_uint64_t" >&6
5613if test $ac_cv_type_uint64_t = yes; then
5614
5615cat >>confdefs.h <<_ACEOF
5616#define HAVE_UINT64_T 1
5617_ACEOF
5618
5619
5620fi
5621
5622
5623
5624for ac_func in getopt
5625do
5626as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5627echo "$as_me:$LINENO: checking for $ac_func" >&5
5628echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5629if eval "test \"\${$as_ac_var+set}\" = set"; then
5630 echo $ECHO_N "(cached) $ECHO_C" >&6
5631else
5632 cat >conftest.$ac_ext <<_ACEOF
5633/* confdefs.h. */
5634_ACEOF
5635cat confdefs.h >>conftest.$ac_ext
5636cat >>conftest.$ac_ext <<_ACEOF
5637/* end confdefs.h. */
5638/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5639 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5640#define $ac_func innocuous_$ac_func
5641
5642/* System header to define __stub macros and hopefully few prototypes,
5643 which can conflict with char $ac_func (); below.
5644 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5645 <limits.h> exists even on freestanding compilers. */
5646
5647#ifdef __STDC__
5648# include <limits.h>
5649#else
5650# include <assert.h>
5651#endif
5652
5653#undef $ac_func
5654
5655/* Override any gcc2 internal prototype to avoid an error. */
5656#ifdef __cplusplus
5657extern "C"
5658{
5659#endif
5660/* We use char because int might match the return type of a gcc2
5661 builtin and then its argument prototype would still apply. */
5662char $ac_func ();
5663/* The GNU C library defines this for functions which it implements
5664 to always fail with ENOSYS. Some functions are actually named
5665 something starting with __ and the normal name is an alias. */
5666#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5667choke me
5668#else
5669char (*f) () = $ac_func;
5670#endif
5671#ifdef __cplusplus
5672}
5673#endif
5674
5675int
5676main ()
5677{
5678return f != $ac_func;
5679 ;
5680 return 0;
5681}
5682_ACEOF
5683rm -f conftest.$ac_objext conftest$ac_exeext
5684if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5685 (eval $ac_link) 2>conftest.er1
5686 ac_status=$?
5687 grep -v '^ *+' conftest.er1 >conftest.err
5688 rm -f conftest.er1
5689 cat conftest.err >&5
5690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5691 (exit $ac_status); } &&
5692 { ac_try='test -z "$ac_c_werror_flag"
5693 || test ! -s conftest.err'
5694 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5695 (eval $ac_try) 2>&5
5696 ac_status=$?
5697 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5698 (exit $ac_status); }; } &&
5699 { ac_try='test -s conftest$ac_exeext'
5700 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5701 (eval $ac_try) 2>&5
5702 ac_status=$?
5703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5704 (exit $ac_status); }; }; then
5705 eval "$as_ac_var=yes"
5706else
5707 echo "$as_me: failed program was:" >&5
5708sed 's/^/| /' conftest.$ac_ext >&5
5709
5710eval "$as_ac_var=no"
5711fi
5712rm -f conftest.err conftest.$ac_objext \
5713 conftest$ac_exeext conftest.$ac_ext
5714fi
5715echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5716echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5717if test `eval echo '${'$as_ac_var'}'` = yes; then
5718 cat >>confdefs.h <<_ACEOF
5719#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5720_ACEOF
5721
5722fi
5723done
5724
5725
5726for ac_func in getopt_long
5727do
5728as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5729echo "$as_me:$LINENO: checking for $ac_func" >&5
5730echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5731if eval "test \"\${$as_ac_var+set}\" = set"; then
5732 echo $ECHO_N "(cached) $ECHO_C" >&6
5733else
5734 cat >conftest.$ac_ext <<_ACEOF
5735/* confdefs.h. */
5736_ACEOF
5737cat confdefs.h >>conftest.$ac_ext
5738cat >>conftest.$ac_ext <<_ACEOF
5739/* end confdefs.h. */
5740/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5741 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5742#define $ac_func innocuous_$ac_func
5743
5744/* System header to define __stub macros and hopefully few prototypes,
5745 which can conflict with char $ac_func (); below.
5746 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5747 <limits.h> exists even on freestanding compilers. */
5748
5749#ifdef __STDC__
5750# include <limits.h>
5751#else
5752# include <assert.h>
5753#endif
5754
5755#undef $ac_func
5756
5757/* Override any gcc2 internal prototype to avoid an error. */
5758#ifdef __cplusplus
5759extern "C"
5760{
5761#endif
5762/* We use char because int might match the return type of a gcc2
5763 builtin and then its argument prototype would still apply. */
5764char $ac_func ();
5765/* The GNU C library defines this for functions which it implements
5766 to always fail with ENOSYS. Some functions are actually named
5767 something starting with __ and the normal name is an alias. */
5768#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5769choke me
5770#else
5771char (*f) () = $ac_func;
5772#endif
5773#ifdef __cplusplus
5774}
5775#endif
5776
5777int
5778main ()
5779{
5780return f != $ac_func;
5781 ;
5782 return 0;
5783}
5784_ACEOF
5785rm -f conftest.$ac_objext conftest$ac_exeext
5786if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5787 (eval $ac_link) 2>conftest.er1
5788 ac_status=$?
5789 grep -v '^ *+' conftest.er1 >conftest.err
5790 rm -f conftest.er1
5791 cat conftest.err >&5
5792 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5793 (exit $ac_status); } &&
5794 { ac_try='test -z "$ac_c_werror_flag"
5795 || test ! -s conftest.err'
5796 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5797 (eval $ac_try) 2>&5
5798 ac_status=$?
5799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5800 (exit $ac_status); }; } &&
5801 { ac_try='test -s conftest$ac_exeext'
5802 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5803 (eval $ac_try) 2>&5
5804 ac_status=$?
5805 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5806 (exit $ac_status); }; }; then
5807 eval "$as_ac_var=yes"
5808else
5809 echo "$as_me: failed program was:" >&5
5810sed 's/^/| /' conftest.$ac_ext >&5
5811
5812eval "$as_ac_var=no"
5813fi
5814rm -f conftest.err conftest.$ac_objext \
5815 conftest$ac_exeext conftest.$ac_ext
5816fi
5817echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5818echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5819if test `eval echo '${'$as_ac_var'}'` = yes; then
5820 cat >>confdefs.h <<_ACEOF
5821#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5822_ACEOF
5823
5824fi
5825done
5826
5827
5828for ac_func in getdomainname
5829do
5830as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5831echo "$as_me:$LINENO: checking for $ac_func" >&5
5832echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5833if eval "test \"\${$as_ac_var+set}\" = set"; then
5834 echo $ECHO_N "(cached) $ECHO_C" >&6
5835else
5836 cat >conftest.$ac_ext <<_ACEOF
5837/* confdefs.h. */
5838_ACEOF
5839cat confdefs.h >>conftest.$ac_ext
5840cat >>conftest.$ac_ext <<_ACEOF
5841/* end confdefs.h. */
5842/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5844#define $ac_func innocuous_$ac_func
5845
5846/* System header to define __stub macros and hopefully few prototypes,
5847 which can conflict with char $ac_func (); below.
5848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5849 <limits.h> exists even on freestanding compilers. */
5850
5851#ifdef __STDC__
5852# include <limits.h>
5853#else
5854# include <assert.h>
5855#endif
5856
5857#undef $ac_func
5858
5859/* Override any gcc2 internal prototype to avoid an error. */
5860#ifdef __cplusplus
5861extern "C"
5862{
5863#endif
5864/* We use char because int might match the return type of a gcc2
5865 builtin and then its argument prototype would still apply. */
5866char $ac_func ();
5867/* The GNU C library defines this for functions which it implements
5868 to always fail with ENOSYS. Some functions are actually named
5869 something starting with __ and the normal name is an alias. */
5870#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5871choke me
5872#else
5873char (*f) () = $ac_func;
5874#endif
5875#ifdef __cplusplus
5876}
5877#endif
5878
5879int
5880main ()
5881{
5882return f != $ac_func;
5883 ;
5884 return 0;
5885}
5886_ACEOF
5887rm -f conftest.$ac_objext conftest$ac_exeext
5888if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5889 (eval $ac_link) 2>conftest.er1
5890 ac_status=$?
5891 grep -v '^ *+' conftest.er1 >conftest.err
5892 rm -f conftest.er1
5893 cat conftest.err >&5
5894 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5895 (exit $ac_status); } &&
5896 { ac_try='test -z "$ac_c_werror_flag"
5897 || test ! -s conftest.err'
5898 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5899 (eval $ac_try) 2>&5
5900 ac_status=$?
5901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5902 (exit $ac_status); }; } &&
5903 { ac_try='test -s conftest$ac_exeext'
5904 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
5905 (eval $ac_try) 2>&5
5906 ac_status=$?
5907 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5908 (exit $ac_status); }; }; then
5909 eval "$as_ac_var=yes"
5910else
5911 echo "$as_me: failed program was:" >&5
5912sed 's/^/| /' conftest.$ac_ext >&5
5913
5914eval "$as_ac_var=no"
5915fi
5916rm -f conftest.err conftest.$ac_objext \
5917 conftest$ac_exeext conftest.$ac_ext
5918fi
5919echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
5920echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
5921if test `eval echo '${'$as_ac_var'}'` = yes; then
5922 cat >>confdefs.h <<_ACEOF
5923#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5924_ACEOF
5925
5926fi
5927done
5928
5929
5930for ac_func in gethostname
5931do
5932as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5933echo "$as_me:$LINENO: checking for $ac_func" >&5
5934echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
5935if eval "test \"\${$as_ac_var+set}\" = set"; then
5936 echo $ECHO_N "(cached) $ECHO_C" >&6
5937else
5938 cat >conftest.$ac_ext <<_ACEOF
5939/* confdefs.h. */
5940_ACEOF
5941cat confdefs.h >>conftest.$ac_ext
5942cat >>conftest.$ac_ext <<_ACEOF
5943/* end confdefs.h. */
5944/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5945 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5946#define $ac_func innocuous_$ac_func
5947
5948/* System header to define __stub macros and hopefully few prototypes,
5949 which can conflict with char $ac_func (); below.
5950 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5951 <limits.h> exists even on freestanding compilers. */
5952
5953#ifdef __STDC__
5954# include <limits.h>
5955#else
5956# include <assert.h>
5957#endif
5958
5959#undef $ac_func
5960
5961/* Override any gcc2 internal prototype to avoid an error. */
5962#ifdef __cplusplus
5963extern "C"
5964{
5965#endif
5966/* We use char because int might match the return type of a gcc2
5967 builtin and then its argument prototype would still apply. */
5968char $ac_func ();
5969/* The GNU C library defines this for functions which it implements
5970 to always fail with ENOSYS. Some functions are actually named
5971 something starting with __ and the normal name is an alias. */
5972#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
5973choke me
5974#else
5975char (*f) () = $ac_func;
5976#endif
5977#ifdef __cplusplus
5978}
5979#endif
5980
5981int
5982main ()
5983{
5984return f != $ac_func;
5985 ;
5986 return 0;
5987}
5988_ACEOF
5989rm -f conftest.$ac_objext conftest$ac_exeext
5990if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
5991 (eval $ac_link) 2>conftest.er1
5992 ac_status=$?
5993 grep -v '^ *+' conftest.er1 >conftest.err
5994 rm -f conftest.er1
5995 cat conftest.err >&5
5996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5997 (exit $ac_status); } &&
5998 { ac_try='test -z "$ac_c_werror_flag"
5999 || test ! -s conftest.err'
6000 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6001 (eval $ac_try) 2>&5
6002 ac_status=$?
6003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6004 (exit $ac_status); }; } &&
6005 { ac_try='test -s conftest$ac_exeext'
6006 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6007 (eval $ac_try) 2>&5
6008 ac_status=$?
6009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6010 (exit $ac_status); }; }; then
6011 eval "$as_ac_var=yes"
6012else
6013 echo "$as_me: failed program was:" >&5
6014sed 's/^/| /' conftest.$ac_ext >&5
6015
6016eval "$as_ac_var=no"
6017fi
6018rm -f conftest.err conftest.$ac_objext \
6019 conftest$ac_exeext conftest.$ac_ext
6020fi
6021echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6022echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6023if test `eval echo '${'$as_ac_var'}'` = yes; then
6024 cat >>confdefs.h <<_ACEOF
6025#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6026_ACEOF
6027
6028fi
6029done
6030
6031
6032for ac_func in gethostbyname
6033do
6034as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6035echo "$as_me:$LINENO: checking for $ac_func" >&5
6036echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6037if eval "test \"\${$as_ac_var+set}\" = set"; then
6038 echo $ECHO_N "(cached) $ECHO_C" >&6
6039else
6040 cat >conftest.$ac_ext <<_ACEOF
6041/* confdefs.h. */
6042_ACEOF
6043cat confdefs.h >>conftest.$ac_ext
6044cat >>conftest.$ac_ext <<_ACEOF
6045/* end confdefs.h. */
6046/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6047 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6048#define $ac_func innocuous_$ac_func
6049
6050/* System header to define __stub macros and hopefully few prototypes,
6051 which can conflict with char $ac_func (); below.
6052 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6053 <limits.h> exists even on freestanding compilers. */
6054
6055#ifdef __STDC__
6056# include <limits.h>
6057#else
6058# include <assert.h>
6059#endif
6060
6061#undef $ac_func
6062
6063/* Override any gcc2 internal prototype to avoid an error. */
6064#ifdef __cplusplus
6065extern "C"
6066{
6067#endif
6068/* We use char because int might match the return type of a gcc2
6069 builtin and then its argument prototype would still apply. */
6070char $ac_func ();
6071/* The GNU C library defines this for functions which it implements
6072 to always fail with ENOSYS. Some functions are actually named
6073 something starting with __ and the normal name is an alias. */
6074#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6075choke me
6076#else
6077char (*f) () = $ac_func;
6078#endif
6079#ifdef __cplusplus
6080}
6081#endif
6082
6083int
6084main ()
6085{
6086return f != $ac_func;
6087 ;
6088 return 0;
6089}
6090_ACEOF
6091rm -f conftest.$ac_objext conftest$ac_exeext
6092if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6093 (eval $ac_link) 2>conftest.er1
6094 ac_status=$?
6095 grep -v '^ *+' conftest.er1 >conftest.err
6096 rm -f conftest.er1
6097 cat conftest.err >&5
6098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6099 (exit $ac_status); } &&
6100 { ac_try='test -z "$ac_c_werror_flag"
6101 || test ! -s conftest.err'
6102 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6103 (eval $ac_try) 2>&5
6104 ac_status=$?
6105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6106 (exit $ac_status); }; } &&
6107 { ac_try='test -s conftest$ac_exeext'
6108 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6109 (eval $ac_try) 2>&5
6110 ac_status=$?
6111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6112 (exit $ac_status); }; }; then
6113 eval "$as_ac_var=yes"
6114else
6115 echo "$as_me: failed program was:" >&5
6116sed 's/^/| /' conftest.$ac_ext >&5
6117
6118eval "$as_ac_var=no"
6119fi
6120rm -f conftest.err conftest.$ac_objext \
6121 conftest$ac_exeext conftest.$ac_ext
6122fi
6123echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6124echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6125if test `eval echo '${'$as_ac_var'}'` = yes; then
6126 cat >>confdefs.h <<_ACEOF
6127#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6128_ACEOF
6129
6130fi
6131done
6132
6133
6134for ac_func in sigset
6135do
6136as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6137echo "$as_me:$LINENO: checking for $ac_func" >&5
6138echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6139if eval "test \"\${$as_ac_var+set}\" = set"; then
6140 echo $ECHO_N "(cached) $ECHO_C" >&6
6141else
6142 cat >conftest.$ac_ext <<_ACEOF
6143/* confdefs.h. */
6144_ACEOF
6145cat confdefs.h >>conftest.$ac_ext
6146cat >>conftest.$ac_ext <<_ACEOF
6147/* end confdefs.h. */
6148/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6149 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6150#define $ac_func innocuous_$ac_func
6151
6152/* System header to define __stub macros and hopefully few prototypes,
6153 which can conflict with char $ac_func (); below.
6154 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6155 <limits.h> exists even on freestanding compilers. */
6156
6157#ifdef __STDC__
6158# include <limits.h>
6159#else
6160# include <assert.h>
6161#endif
6162
6163#undef $ac_func
6164
6165/* Override any gcc2 internal prototype to avoid an error. */
6166#ifdef __cplusplus
6167extern "C"
6168{
6169#endif
6170/* We use char because int might match the return type of a gcc2
6171 builtin and then its argument prototype would still apply. */
6172char $ac_func ();
6173/* The GNU C library defines this for functions which it implements
6174 to always fail with ENOSYS. Some functions are actually named
6175 something starting with __ and the normal name is an alias. */
6176#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6177choke me
6178#else
6179char (*f) () = $ac_func;
6180#endif
6181#ifdef __cplusplus
6182}
6183#endif
6184
6185int
6186main ()
6187{
6188return f != $ac_func;
6189 ;
6190 return 0;
6191}
6192_ACEOF
6193rm -f conftest.$ac_objext conftest$ac_exeext
6194if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6195 (eval $ac_link) 2>conftest.er1
6196 ac_status=$?
6197 grep -v '^ *+' conftest.er1 >conftest.err
6198 rm -f conftest.er1
6199 cat conftest.err >&5
6200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6201 (exit $ac_status); } &&
6202 { ac_try='test -z "$ac_c_werror_flag"
6203 || test ! -s conftest.err'
6204 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6205 (eval $ac_try) 2>&5
6206 ac_status=$?
6207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6208 (exit $ac_status); }; } &&
6209 { ac_try='test -s conftest$ac_exeext'
6210 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6211 (eval $ac_try) 2>&5
6212 ac_status=$?
6213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6214 (exit $ac_status); }; }; then
6215 eval "$as_ac_var=yes"
6216else
6217 echo "$as_me: failed program was:" >&5
6218sed 's/^/| /' conftest.$ac_ext >&5
6219
6220eval "$as_ac_var=no"
6221fi
6222rm -f conftest.err conftest.$ac_objext \
6223 conftest$ac_exeext conftest.$ac_ext
6224fi
6225echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6226echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6227if test `eval echo '${'$as_ac_var'}'` = yes; then
6228 cat >>confdefs.h <<_ACEOF
6229#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6230_ACEOF
6231
6232fi
6233done
6234
6235
6236for ac_func in strtoull
6237do
6238as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6239echo "$as_me:$LINENO: checking for $ac_func" >&5
6240echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6241if eval "test \"\${$as_ac_var+set}\" = set"; then
6242 echo $ECHO_N "(cached) $ECHO_C" >&6
6243else
6244 cat >conftest.$ac_ext <<_ACEOF
6245/* confdefs.h. */
6246_ACEOF
6247cat confdefs.h >>conftest.$ac_ext
6248cat >>conftest.$ac_ext <<_ACEOF
6249/* end confdefs.h. */
6250/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6251 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6252#define $ac_func innocuous_$ac_func
6253
6254/* System header to define __stub macros and hopefully few prototypes,
6255 which can conflict with char $ac_func (); below.
6256 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6257 <limits.h> exists even on freestanding compilers. */
6258
6259#ifdef __STDC__
6260# include <limits.h>
6261#else
6262# include <assert.h>
6263#endif
6264
6265#undef $ac_func
6266
6267/* Override any gcc2 internal prototype to avoid an error. */
6268#ifdef __cplusplus
6269extern "C"
6270{
6271#endif
6272/* We use char because int might match the return type of a gcc2
6273 builtin and then its argument prototype would still apply. */
6274char $ac_func ();
6275/* The GNU C library defines this for functions which it implements
6276 to always fail with ENOSYS. Some functions are actually named
6277 something starting with __ and the normal name is an alias. */
6278#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6279choke me
6280#else
6281char (*f) () = $ac_func;
6282#endif
6283#ifdef __cplusplus
6284}
6285#endif
6286
6287int
6288main ()
6289{
6290return f != $ac_func;
6291 ;
6292 return 0;
6293}
6294_ACEOF
6295rm -f conftest.$ac_objext conftest$ac_exeext
6296if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6297 (eval $ac_link) 2>conftest.er1
6298 ac_status=$?
6299 grep -v '^ *+' conftest.er1 >conftest.err
6300 rm -f conftest.er1
6301 cat conftest.err >&5
6302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6303 (exit $ac_status); } &&
6304 { ac_try='test -z "$ac_c_werror_flag"
6305 || test ! -s conftest.err'
6306 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6307 (eval $ac_try) 2>&5
6308 ac_status=$?
6309 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6310 (exit $ac_status); }; } &&
6311 { ac_try='test -s conftest$ac_exeext'
6312 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6313 (eval $ac_try) 2>&5
6314 ac_status=$?
6315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6316 (exit $ac_status); }; }; then
6317 eval "$as_ac_var=yes"
6318else
6319 echo "$as_me: failed program was:" >&5
6320sed 's/^/| /' conftest.$ac_ext >&5
6321
6322eval "$as_ac_var=no"
6323fi
6324rm -f conftest.err conftest.$ac_objext \
6325 conftest$ac_exeext conftest.$ac_ext
6326fi
6327echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6328echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6329if test `eval echo '${'$as_ac_var'}'` = yes; then
6330 cat >>confdefs.h <<_ACEOF
6331#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6332_ACEOF
6333
6334fi
6335done
6336
6337
6338for ac_func in uname
6339do
6340as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
6341echo "$as_me:$LINENO: checking for $ac_func" >&5
6342echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6
6343if eval "test \"\${$as_ac_var+set}\" = set"; then
6344 echo $ECHO_N "(cached) $ECHO_C" >&6
6345else
6346 cat >conftest.$ac_ext <<_ACEOF
6347/* confdefs.h. */
6348_ACEOF
6349cat confdefs.h >>conftest.$ac_ext
6350cat >>conftest.$ac_ext <<_ACEOF
6351/* end confdefs.h. */
6352/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
6353 For example, HP-UX 11i <limits.h> declares gettimeofday. */
6354#define $ac_func innocuous_$ac_func
6355
6356/* System header to define __stub macros and hopefully few prototypes,
6357 which can conflict with char $ac_func (); below.
6358 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6359 <limits.h> exists even on freestanding compilers. */
6360
6361#ifdef __STDC__
6362# include <limits.h>
6363#else
6364# include <assert.h>
6365#endif
6366
6367#undef $ac_func
6368
6369/* Override any gcc2 internal prototype to avoid an error. */
6370#ifdef __cplusplus
6371extern "C"
6372{
6373#endif
6374/* We use char because int might match the return type of a gcc2
6375 builtin and then its argument prototype would still apply. */
6376char $ac_func ();
6377/* The GNU C library defines this for functions which it implements
6378 to always fail with ENOSYS. Some functions are actually named
6379 something starting with __ and the normal name is an alias. */
6380#if defined (__stub_$ac_func) || defined (__stub___$ac_func)
6381choke me
6382#else
6383char (*f) () = $ac_func;
6384#endif
6385#ifdef __cplusplus
6386}
6387#endif
6388
6389int
6390main ()
6391{
6392return f != $ac_func;
6393 ;
6394 return 0;
6395}
6396_ACEOF
6397rm -f conftest.$ac_objext conftest$ac_exeext
6398if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6399 (eval $ac_link) 2>conftest.er1
6400 ac_status=$?
6401 grep -v '^ *+' conftest.er1 >conftest.err
6402 rm -f conftest.er1
6403 cat conftest.err >&5
6404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6405 (exit $ac_status); } &&
6406 { ac_try='test -z "$ac_c_werror_flag"
6407 || test ! -s conftest.err'
6408 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6409 (eval $ac_try) 2>&5
6410 ac_status=$?
6411 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6412 (exit $ac_status); }; } &&
6413 { ac_try='test -s conftest$ac_exeext'
6414 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6415 (eval $ac_try) 2>&5
6416 ac_status=$?
6417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6418 (exit $ac_status); }; }; then
6419 eval "$as_ac_var=yes"
6420else
6421 echo "$as_me: failed program was:" >&5
6422sed 's/^/| /' conftest.$ac_ext >&5
6423
6424eval "$as_ac_var=no"
6425fi
6426rm -f conftest.err conftest.$ac_objext \
6427 conftest$ac_exeext conftest.$ac_ext
6428fi
6429echo "$as_me:$LINENO: result: `eval echo '${'$as_ac_var'}'`" >&5
6430echo "${ECHO_T}`eval echo '${'$as_ac_var'}'`" >&6
6431if test `eval echo '${'$as_ac_var'}'` = yes; then
6432 cat >>confdefs.h <<_ACEOF
6433#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
6434_ACEOF
6435
6436fi
6437done
6438
6439
6440# Check whether snprintf appends null char and returns expected length on overflow
6441
6442
6443echo "$as_me:$LINENO: checking for working snprintf" >&5
6444echo $ECHO_N "checking for working snprintf... $ECHO_C" >&6
6445if test "$cross_compiling" = yes; then
6446 { { echo "$as_me:$LINENO: error: cannot run test program while cross compiling
6447See \`config.log' for more details." >&5
6448echo "$as_me: error: cannot run test program while cross compiling
6449See \`config.log' for more details." >&2;}
6450 { (exit 1); exit 1; }; }
6451else
6452 cat >conftest.$ac_ext <<_ACEOF
6453/* confdefs.h. */
6454_ACEOF
6455cat confdefs.h >>conftest.$ac_ext
6456cat >>conftest.$ac_ext <<_ACEOF
6457/* end confdefs.h. */
6458#include <stdio.h>
6459int
6460main ()
6461{
6462 char buf[]="ABCDEFGHI";
6463 int i=snprintf(buf,8,"12345678"); return !(!buf[7] && i==8);
6464 ;
6465 return 0;
6466}
6467_ACEOF
6468rm -f conftest$ac_exeext
6469if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
6470 (eval $ac_link) 2>&5
6471 ac_status=$?
6472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6473 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
6474 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6475 (eval $ac_try) 2>&5
6476 ac_status=$?
6477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6478 (exit $ac_status); }; }; then
6479 libc_have_working_snprintf=yes
6480else
6481 echo "$as_me: program exited with status $ac_status" >&5
6482echo "$as_me: failed program was:" >&5
6483sed 's/^/| /' conftest.$ac_ext >&5
6484
6485( exit $ac_status )
6486libc_have_working_snprintf=no
6487fi
6488rm -f core *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
6489fi
6490
6491if test "$libc_have_working_snprintf" = "yes"; then
6492 cat >>confdefs.h <<\_ACEOF
6493#define HAVE_WORKING_SNPRINTF 1
6494_ACEOF
6495
6496fi
6497echo "$as_me:$LINENO: result: $libc_have_working_snprintf" >&5
6498echo "${ECHO_T}$libc_have_working_snprintf" >&6
6499
6500# check for __attribute__((packed))
6501
6502
6503echo "$as_me:$LINENO: checking whether C compiler supports __attribute__((packed))" >&5
6504echo $ECHO_N "checking whether C compiler supports __attribute__((packed))... $ECHO_C" >&6
6505cat >conftest.$ac_ext <<_ACEOF
6506/* confdefs.h. */
6507_ACEOF
6508cat confdefs.h >>conftest.$ac_ext
6509cat >>conftest.$ac_ext <<_ACEOF
6510/* end confdefs.h. */
6511
6512int
6513main ()
6514{
6515struct a { int b; } __attribute__((packed));
6516 ;
6517 return 0;
6518}
6519_ACEOF
6520rm -f conftest.$ac_objext
6521if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
6522 (eval $ac_compile) 2>conftest.er1
6523 ac_status=$?
6524 grep -v '^ *+' conftest.er1 >conftest.err
6525 rm -f conftest.er1
6526 cat conftest.err >&5
6527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6528 (exit $ac_status); } &&
6529 { ac_try='test -z "$ac_c_werror_flag"
6530 || test ! -s conftest.err'
6531 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6532 (eval $ac_try) 2>&5
6533 ac_status=$?
6534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6535 (exit $ac_status); }; } &&
6536 { ac_try='test -s conftest.$ac_objext'
6537 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
6538 (eval $ac_try) 2>&5
6539 ac_status=$?
6540 echo "$as_me:$LINENO: \$? = $ac_status" >&5
6541 (exit $ac_status); }; }; then
6542 gcc_have_attr_packed=yes
6543else
6544 echo "$as_me: failed program was:" >&5
6545sed 's/^/| /' conftest.$ac_ext >&5
6546
6547gcc_have_attr_packed=no
6548fi
6549rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
6550
6551if test "$gcc_have_attr_packed" = "yes"; then
6552 cat >>confdefs.h <<\_ACEOF
6553#define HAVE_ATTR_PACKED 1
6554_ACEOF
6555
6556fi
6557echo "$as_me:$LINENO: result: $gcc_have_attr_packed" >&5
6558echo "${ECHO_T}$gcc_have_attr_packed" >&6
6559
6560
6561
6562
6563
6564exampledir='${docdir}/examplescripts'
6565
6566
6567
6568# Check whether --with-initscriptdir or --without-initscriptdir was given.
6569if test "${with_initscriptdir+set}" = set; then
6570 withval="$with_initscriptdir"
6571 initddir="$withval"
6572else
6573 initddir='${sysconfdir}/rc.d/init.d'
6574fi;
6575
6576
6577
6578# Check whether --with-docdir or --without-docdir was given.
6579if test "${with_docdir+set}" = set; then
6580 withval="$with_docdir"
6581 docdir="$withval"
6582else
6583 docdir='${prefix}/share/doc/${PACKAGE}-${VERSION}'
6584fi;
6585
6586
6587# Check whether --enable-sample or --disable-sample was given.
6588if test "${enable_sample+set}" = set; then
6589 enableval="$enable_sample"
6590 smartd_suffix='.sample'
6591else
6592 smartd_suffix=''
6593fi;
6594
6595
6596
6597if test $smartd_suffix; then
6598 SMARTD_SUFFIX_TRUE=
6599 SMARTD_SUFFIX_FALSE='#'
6600else
6601 SMARTD_SUFFIX_TRUE='#'
6602 SMARTD_SUFFIX_FALSE=
6603fi
6604
6605
6606if test "$prefix" = "NONE"; then
6607 if test "$mandir" = '${prefix}/man'; then
6608 mandir='${prefix}/share/man'
6609
6610 fi
6611fi
6612
6613releaseversion='${PACKAGE}-${VERSION}'
6614
6615
6616
6617
6618case "${host}" in
6619 *-*-linux-gnu*)
6620 os_deps='os_linux.o'
6621
6622 os_libs=''
6623 ;;
6624 *-*-linux*)
6625 os_deps='os_linux.o'
6626
6627 os_libs=''
6628 ;;
6629 *-*-freebsd*)
6630 os_deps='os_freebsd.o'
6631
6632 os_libs='-lcam'
6633;;
6634 sparc-*-solaris*)
6635
6636cat >>confdefs.h <<_ACEOF
6637#define DEFAULT_MAILER "mailx"
6638_ACEOF
6639
6640
6641cat >>confdefs.h <<_ACEOF
6642#define NEED_SOLARIS_ATA_CODE "os_solaris_ata.s"
6643_ACEOF
6644
6645 os_deps='os_solaris.o os_solaris_ata.o'
6646
6647 os_libs=''
6648 ;;
6649 *-pc-solaris*)
6650
6651cat >>confdefs.h <<_ACEOF
6652#define DEFAULT_MAILER "mailx"
6653_ACEOF
6654
6655 os_deps='os_solaris.o'
6656
6657 os_libs=''
6658 ;;
6659 *-*-netbsd*)
6660 os_deps='os_netbsd.o'
6661
6662 os_libs='-lutil'
6663 ;;
6664 *-*-openbsd*)
6665 os_deps='os_openbsd.o'
6666
6667 os_libs='-lutil'
6668 ;;
6669 *-*-cygwin*)
6670 os_deps='os_win32.o'
6671
6672 os_libs=''
6673 ;;
6674 *-*-mingw*)
6675 os_deps='os_win32.o'
6676
6677 os_libs=''
6678 ;;
6679 *-*-darwin*)
6680 os_deps='os_darwin.o'
6681
6682 os_libs='-framework CoreFoundation -framework IOKit'
6683 ;;
6684 *)
6685 os_deps='os_generic.o'
6686
6687 os_libs=''
6688 ;;
6689esac
6690
6691# Define symbols for optional functions in OS specific module
6692case "${os_deps}" in
6693 os_win32*)
6694
6695cat >>confdefs.h <<\_ACEOF
6696#define HAVE_ATA_IDENTIFY_IS_CACHED 1
6697_ACEOF
6698 ;;
6699esac
6700case "${os_deps}" in
6701 os_win32*)
6702
6703cat >>confdefs.h <<\_ACEOF
6704#define HAVE_GET_OS_VERSION_STR 1
6705_ACEOF
6706 ;;
6707esac
6708
6709
6710
6711if echo $host_os | grep '^darwin' > /dev/null; then
6712 OS_DARWIN_TRUE=
6713 OS_DARWIN_FALSE='#'
6714else
6715 OS_DARWIN_TRUE='#'
6716 OS_DARWIN_FALSE=
6717fi
6718
6719
6720
6721if echo $host_os | grep '^solaris' > /dev/null; then
6722 OS_SOLARIS_TRUE=
6723 OS_SOLARIS_FALSE='#'
6724else
6725 OS_SOLARIS_TRUE='#'
6726 OS_SOLARIS_FALSE=
6727fi
6728
6729
6730
6731if echo $host_os | grep '^mingw' > /dev/null; then
6732 OS_WIN32_MINGW_TRUE=
6733 OS_WIN32_MINGW_FALSE='#'
6734else
6735 OS_WIN32_MINGW_TRUE='#'
6736 OS_WIN32_MINGW_FALSE=
6737fi
6738
6739
6740if test "x$GCC" = "xyes"; then
6741 if test -z "`echo "$CFLAGS" | grep "\-Wall" 2> /dev/null`" ; then
6742 CFLAGS="$CFLAGS -Wall"
6743 fi
6744# In the next line, do NOT delete the 2 spaces inside double quotes.
6745 if test -z "`echo "$CFLAGS " | grep "\-W " 2> /dev/null`" ; then
6746 CFLAGS="$CFLAGS -W"
6747 fi
6748 case "${host}" in
6749 *-*-mingw*)
6750 # MinGW uses MSVCRT.DLL which uses printf format "%I64d" and not "%lld" for int64_t
6751 CFLAGS="$CFLAGS -Wno-format";;
6752 esac
6753else
6754 case "${host}" in
6755 *-*-solaris*)
6756 if test -z "`echo "$CFLAGS" | grep "\-xmemalign" 2> /dev/null`" ; then
6757 CFLAGS="-xmemalign=1i $CFLAGS"
6758 fi
6759 if test -z "`echo "$CFLAGS" | grep "\-xCC" 2> /dev/null`" ; then
6760 CFLAGS="-xCC $CFLAGS"
6761 fi
6762 if test -z "`echo "$CFLAGS" | grep "\-xO" 2> /dev/null`" ; then
6763 CFLAGS="-xO2 $CFLAGS"
6764 fi
6765 esac
6766fi
6767
6768
6769cat >>confdefs.h <<_ACEOF
6770#define SMARTMONTOOLS_BUILD_HOST "${host}"
6771_ACEOF
6772
6773
6774
6775
6776 ac_config_files="$ac_config_files Makefile examplescripts/Makefile"
6777cat >confcache <<\_ACEOF
6778# This file is a shell script that caches the results of configure
6779# tests run on this system so they can be shared between configure
6780# scripts and configure runs, see configure's option --config-cache.
6781# It is not useful on other systems. If it contains results you don't
6782# want to keep, you may remove or edit it.
6783#
6784# config.status only pays attention to the cache file if you give it
6785# the --recheck option to rerun configure.
6786#
6787# `ac_cv_env_foo' variables (set or unset) will be overridden when
6788# loading this file, other *unset* `ac_cv_foo' will be assigned the
6789# following values.
6790
6791_ACEOF
6792
6793# The following way of writing the cache mishandles newlines in values,
6794# but we know of no workaround that is simple, portable, and efficient.
6795# So, don't put newlines in cache variables' values.
6796# Ultrix sh set writes to stderr and can't be redirected directly,
6797# and sets the high bit in the cache file unless we assign to the vars.
6798{
6799 (set) 2>&1 |
6800 case `(ac_space=' '; set | grep ac_space) 2>&1` in
6801 *ac_space=\ *)
6802 # `set' does not quote correctly, so add quotes (double-quote
6803 # substitution turns \\\\ into \\, and sed turns \\ into \).
6804 sed -n \
6805 "s/'/'\\\\''/g;
6806 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6807 ;;
6808 *)
6809 # `set' quotes correctly as required by POSIX, so do not add quotes.
6810 sed -n \
6811 "s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1=\\2/p"
6812 ;;
6813 esac;
6814} |
6815 sed '
6816 t clear
6817 : clear
6818 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
6819 t end
6820 /^ac_cv_env/!s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6821 : end' >>confcache
6822if diff $cache_file confcache >/dev/null 2>&1; then :; else
6823 if test -w $cache_file; then
6824 test "x$cache_file" != "x/dev/null" && echo "updating cache $cache_file"
6825 cat confcache >$cache_file
6826 else
6827 echo "not updating unwritable cache $cache_file"
6828 fi
6829fi
6830rm -f confcache
6831
6832test "x$prefix" = xNONE && prefix=$ac_default_prefix
6833# Let make expand exec_prefix.
6834test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6835
6836# VPATH may cause trouble with some makes, so we remove $(srcdir),
6837# ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
6838# trailing colons and then remove the whole line if VPATH becomes empty
6839# (actually we leave an empty line to preserve line numbers).
6840if test "x$srcdir" = x.; then
6841 ac_vpsub='/^[ ]*VPATH[ ]*=/{
6842s/:*\$(srcdir):*/:/;
6843s/:*\${srcdir}:*/:/;
6844s/:*@srcdir@:*/:/;
6845s/^\([^=]*=[ ]*\):*/\1/;
6846s/:*$//;
6847s/^[^=]*=[ ]*$//;
6848}'
6849fi
6850
6851DEFS=-DHAVE_CONFIG_H
6852
6853ac_libobjs=
6854ac_ltlibobjs=
6855for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6856 # 1. Remove the extension, and $U if already installed.
6857 ac_i=`echo "$ac_i" |
6858 sed 's/\$U\././;s/\.o$//;s/\.obj$//'`
6859 # 2. Add them.
6860 ac_libobjs="$ac_libobjs $ac_i\$U.$ac_objext"
6861 ac_ltlibobjs="$ac_ltlibobjs $ac_i"'$U.lo'
6862done
6863LIBOBJS=$ac_libobjs
6864
6865LTLIBOBJS=$ac_ltlibobjs
6866
6867
6868if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
6869 { { echo "$as_me:$LINENO: error: conditional \"MAINTAINER_MODE\" was never defined.
6870Usually this means the macro was only invoked conditionally." >&5
6871echo "$as_me: error: conditional \"MAINTAINER_MODE\" was never defined.
6872Usually this means the macro was only invoked conditionally." >&2;}
6873 { (exit 1); exit 1; }; }
6874fi
6875if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6876 { { echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
6877Usually this means the macro was only invoked conditionally." >&5
6878echo "$as_me: error: conditional \"AMDEP\" was never defined.
6879Usually this means the macro was only invoked conditionally." >&2;}
6880 { (exit 1); exit 1; }; }
6881fi
6882if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6883 { { echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
6884Usually this means the macro was only invoked conditionally." >&5
6885echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
6886Usually this means the macro was only invoked conditionally." >&2;}
6887 { (exit 1); exit 1; }; }
6888fi
6889if test -z "${SMARTD_SUFFIX_TRUE}" && test -z "${SMARTD_SUFFIX_FALSE}"; then
6890 { { echo "$as_me:$LINENO: error: conditional \"SMARTD_SUFFIX\" was never defined.
6891Usually this means the macro was only invoked conditionally." >&5
6892echo "$as_me: error: conditional \"SMARTD_SUFFIX\" was never defined.
6893Usually this means the macro was only invoked conditionally." >&2;}
6894 { (exit 1); exit 1; }; }
6895fi
6896if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then
6897 { { echo "$as_me:$LINENO: error: conditional \"OS_DARWIN\" was never defined.
6898Usually this means the macro was only invoked conditionally." >&5
6899echo "$as_me: error: conditional \"OS_DARWIN\" was never defined.
6900Usually this means the macro was only invoked conditionally." >&2;}
6901 { (exit 1); exit 1; }; }
6902fi
6903if test -z "${OS_SOLARIS_TRUE}" && test -z "${OS_SOLARIS_FALSE}"; then
6904 { { echo "$as_me:$LINENO: error: conditional \"OS_SOLARIS\" was never defined.
6905Usually this means the macro was only invoked conditionally." >&5
6906echo "$as_me: error: conditional \"OS_SOLARIS\" was never defined.
6907Usually this means the macro was only invoked conditionally." >&2;}
6908 { (exit 1); exit 1; }; }
6909fi
6910if test -z "${OS_WIN32_MINGW_TRUE}" && test -z "${OS_WIN32_MINGW_FALSE}"; then
6911 { { echo "$as_me:$LINENO: error: conditional \"OS_WIN32_MINGW\" was never defined.
6912Usually this means the macro was only invoked conditionally." >&5
6913echo "$as_me: error: conditional \"OS_WIN32_MINGW\" was never defined.
6914Usually this means the macro was only invoked conditionally." >&2;}
6915 { (exit 1); exit 1; }; }
6916fi
6917
6918: ${CONFIG_STATUS=./config.status}
6919ac_clean_files_save=$ac_clean_files
6920ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6921{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
6922echo "$as_me: creating $CONFIG_STATUS" >&6;}
6923cat >$CONFIG_STATUS <<_ACEOF
6924#! $SHELL
6925# Generated by $as_me.
6926# Run this file to recreate the current configuration.
6927# Compiler output produced by configure, useful for debugging
6928# configure, is in config.log if it exists.
6929
6930debug=false
6931ac_cs_recheck=false
6932ac_cs_silent=false
6933SHELL=\${CONFIG_SHELL-$SHELL}
6934_ACEOF
6935
6936cat >>$CONFIG_STATUS <<\_ACEOF
6937## --------------------- ##
6938## M4sh Initialization. ##
6939## --------------------- ##
6940
6941# Be Bourne compatible
6942if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
6943 emulate sh
6944 NULLCMD=:
6945 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
6946 # is contrary to our usage. Disable this feature.
6947 alias -g '${1+"$@"}'='"$@"'
6948elif test -n "${BASH_VERSION+set}" && (set -o posix) >/dev/null 2>&1; then
6949 set -o posix
6950fi
6951DUALCASE=1; export DUALCASE # for MKS sh
6952
6953# Support unset when possible.
6954if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6955 as_unset=unset
6956else
6957 as_unset=false
6958fi
6959
6960
6961# Work around bugs in pre-3.0 UWIN ksh.
6962$as_unset ENV MAIL MAILPATH
6963PS1='$ '
6964PS2='> '
6965PS4='+ '
6966
6967# NLS nuisances.
6968for as_var in \
6969 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
6970 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
6971 LC_TELEPHONE LC_TIME
6972do
6973 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
6974 eval $as_var=C; export $as_var
6975 else
6976 $as_unset $as_var
6977 fi
6978done
6979
6980# Required to use basename.
6981if expr a : '\(a\)' >/dev/null 2>&1; then
6982 as_expr=expr
6983else
6984 as_expr=false
6985fi
6986
6987if (basename /) >/dev/null 2>&1 && test "X`basename / 2>&1`" = "X/"; then
6988 as_basename=basename
6989else
6990 as_basename=false
6991fi
6992
6993
6994# Name of the executable.
6995as_me=`$as_basename "$0" ||
6996$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6997 X"$0" : 'X\(//\)$' \| \
6998 X"$0" : 'X\(/\)$' \| \
6999 . : '\(.\)' 2>/dev/null ||
7000echo X/"$0" |
7001 sed '/^.*\/\([^/][^/]*\)\/*$/{ s//\1/; q; }
7002 /^X\/\(\/\/\)$/{ s//\1/; q; }
7003 /^X\/\(\/\).*/{ s//\1/; q; }
7004 s/.*/./; q'`
7005
7006
7007# PATH needs CR, and LINENO needs CR and PATH.
7008# Avoid depending upon Character Ranges.
7009as_cr_letters='abcdefghijklmnopqrstuvwxyz'
7010as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7011as_cr_Letters=$as_cr_letters$as_cr_LETTERS
7012as_cr_digits='0123456789'
7013as_cr_alnum=$as_cr_Letters$as_cr_digits
7014
7015# The user is always right.
7016if test "${PATH_SEPARATOR+set}" != set; then
7017 echo "#! /bin/sh" >conf$$.sh
7018 echo "exit 0" >>conf$$.sh
7019 chmod +x conf$$.sh
7020 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
7021 PATH_SEPARATOR=';'
7022 else
7023 PATH_SEPARATOR=:
7024 fi
7025 rm -f conf$$.sh
7026fi
7027
7028
7029 as_lineno_1=$LINENO
7030 as_lineno_2=$LINENO
7031 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7032 test "x$as_lineno_1" != "x$as_lineno_2" &&
7033 test "x$as_lineno_3" = "x$as_lineno_2" || {
7034 # Find who we are. Look in the path if we contain no path at all
7035 # relative or not.
7036 case $0 in
7037 *[\\/]* ) as_myself=$0 ;;
7038 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7039for as_dir in $PATH
7040do
7041 IFS=$as_save_IFS
7042 test -z "$as_dir" && as_dir=.
7043 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7044done
7045
7046 ;;
7047 esac
7048 # We did not find ourselves, most probably we were run as `sh COMMAND'
7049 # in which case we are not to be found in the path.
7050 if test "x$as_myself" = x; then
7051 as_myself=$0
7052 fi
7053 if test ! -f "$as_myself"; then
7054 { { echo "$as_me:$LINENO: error: cannot find myself; rerun with an absolute path" >&5
7055echo "$as_me: error: cannot find myself; rerun with an absolute path" >&2;}
7056 { (exit 1); exit 1; }; }
7057 fi
7058 case $CONFIG_SHELL in
7059 '')
7060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7061for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
7062do
7063 IFS=$as_save_IFS
7064 test -z "$as_dir" && as_dir=.
7065 for as_base in sh bash ksh sh5; do
7066 case $as_dir in
7067 /*)
7068 if ("$as_dir/$as_base" -c '
7069 as_lineno_1=$LINENO
7070 as_lineno_2=$LINENO
7071 as_lineno_3=`(expr $as_lineno_1 + 1) 2>/dev/null`
7072 test "x$as_lineno_1" != "x$as_lineno_2" &&
7073 test "x$as_lineno_3" = "x$as_lineno_2" ') 2>/dev/null; then
7074 $as_unset BASH_ENV || test "${BASH_ENV+set}" != set || { BASH_ENV=; export BASH_ENV; }
7075 $as_unset ENV || test "${ENV+set}" != set || { ENV=; export ENV; }
7076 CONFIG_SHELL=$as_dir/$as_base
7077 export CONFIG_SHELL
7078 exec "$CONFIG_SHELL" "$0" ${1+"$@"}
7079 fi;;
7080 esac
7081 done
7082done
7083;;
7084 esac
7085
7086 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
7087 # uniformly replaced by the line number. The first 'sed' inserts a
7088 # line-number line before each line; the second 'sed' does the real
7089 # work. The second script uses 'N' to pair each line-number line
7090 # with the numbered line, and appends trailing '-' during
7091 # substitution so that $LINENO is not a special case at line end.
7092 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
7093 # second 'sed' script. Blame Lee E. McMahon for sed's syntax. :-)
7094 sed '=' <$as_myself |
7095 sed '
7096 N
7097 s,$,-,
7098 : loop
7099 s,^\(['$as_cr_digits']*\)\(.*\)[$]LINENO\([^'$as_cr_alnum'_]\),\1\2\1\3,
7100 t loop
7101 s,-$,,
7102 s,^['$as_cr_digits']*\n,,
7103 ' >$as_me.lineno &&
7104 chmod +x $as_me.lineno ||
7105 { { echo "$as_me:$LINENO: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&5
7106echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2;}
7107 { (exit 1); exit 1; }; }
7108
7109 # Don't try to exec as it changes $[0], causing all sort of problems
7110 # (the dirname of $[0] is not the place where we might find the
7111 # original and so on. Autoconf is especially sensible to this).
7112 . ./$as_me.lineno
7113 # Exit status is that of the last command.
7114 exit
7115}
7116
7117
7118case `echo "testing\c"; echo 1,2,3`,`echo -n testing; echo 1,2,3` in
7119 *c*,-n*) ECHO_N= ECHO_C='
7120' ECHO_T=' ' ;;
7121 *c*,* ) ECHO_N=-n ECHO_C= ECHO_T= ;;
7122 *) ECHO_N= ECHO_C='\c' ECHO_T= ;;
7123esac
7124
7125if expr a : '\(a\)' >/dev/null 2>&1; then
7126 as_expr=expr
7127else
7128 as_expr=false
7129fi
7130
7131rm -f conf$$ conf$$.exe conf$$.file
7132echo >conf$$.file
7133if ln -s conf$$.file conf$$ 2>/dev/null; then
7134 # We could just check for DJGPP; but this test a) works b) is more generic
7135 # and c) will remain valid once DJGPP supports symlinks (DJGPP 2.04).
7136 if test -f conf$$.exe; then
7137 # Don't use ln at all; we don't have any links
7138 as_ln_s='cp -p'
7139 else
7140 as_ln_s='ln -s'
7141 fi
7142elif ln conf$$.file conf$$ 2>/dev/null; then
7143 as_ln_s=ln
7144else
7145 as_ln_s='cp -p'
7146fi
7147rm -f conf$$ conf$$.exe conf$$.file
7148
7149if mkdir -p . 2>/dev/null; then
7150 as_mkdir_p=:
7151else
7152 test -d ./-p && rmdir ./-p
7153 as_mkdir_p=false
7154fi
7155
7156as_executable_p="test -f"
7157
7158# Sed expression to map a string onto a valid CPP name.
7159as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7160
7161# Sed expression to map a string onto a valid variable name.
7162as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7163
7164
7165# IFS
7166# We need space, tab and new line, in precisely that order.
7167as_nl='
7168'
7169IFS=" $as_nl"
7170
7171# CDPATH.
7172$as_unset CDPATH
7173
7174exec 6>&1
7175
7176# Open the log real soon, to keep \$[0] and so on meaningful, and to
7177# report actual input values of CONFIG_FILES etc. instead of their
7178# values after options handling. Logging --version etc. is OK.
7179exec 5>>config.log
7180{
7181 echo
7182 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7183## Running $as_me. ##
7184_ASBOX
7185} >&5
7186cat >&5 <<_CSEOF
7187
7188This file was extended by smartmontools $as_me 5.36, which was
7189generated by GNU Autoconf 2.59. Invocation command line was
7190
7191 CONFIG_FILES = $CONFIG_FILES
7192 CONFIG_HEADERS = $CONFIG_HEADERS
7193 CONFIG_LINKS = $CONFIG_LINKS
7194 CONFIG_COMMANDS = $CONFIG_COMMANDS
7195 $ $0 $@
7196
7197_CSEOF
7198echo "on `(hostname || uname -n) 2>/dev/null | sed 1q`" >&5
7199echo >&5
7200_ACEOF
7201
7202# Files that config.status was made for.
7203if test -n "$ac_config_files"; then
7204 echo "config_files=\"$ac_config_files\"" >>$CONFIG_STATUS
7205fi
7206
7207if test -n "$ac_config_headers"; then
7208 echo "config_headers=\"$ac_config_headers\"" >>$CONFIG_STATUS
7209fi
7210
7211if test -n "$ac_config_links"; then
7212 echo "config_links=\"$ac_config_links\"" >>$CONFIG_STATUS
7213fi
7214
7215if test -n "$ac_config_commands"; then
7216 echo "config_commands=\"$ac_config_commands\"" >>$CONFIG_STATUS
7217fi
7218
7219cat >>$CONFIG_STATUS <<\_ACEOF
7220
7221ac_cs_usage="\
7222\`$as_me' instantiates files from templates according to the
7223current configuration.
7224
7225Usage: $0 [OPTIONS] [FILE]...
7226
7227 -h, --help print this help, then exit
7228 -V, --version print version number, then exit
7229 -q, --quiet do not print progress messages
7230 -d, --debug don't remove temporary files
7231 --recheck update $as_me by reconfiguring in the same conditions
7232 --file=FILE[:TEMPLATE]
7233 instantiate the configuration file FILE
7234 --header=FILE[:TEMPLATE]
7235 instantiate the configuration header FILE
7236
7237Configuration files:
7238$config_files
7239
7240Configuration headers:
7241$config_headers
7242
7243Configuration commands:
7244$config_commands
7245
7246Report bugs to <bug-autoconf@gnu.org>."
7247_ACEOF
7248
7249cat >>$CONFIG_STATUS <<_ACEOF
7250ac_cs_version="\\
7251smartmontools config.status 5.36
7252configured by $0, generated by GNU Autoconf 2.59,
7253 with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
7254
7255Copyright (C) 2003 Free Software Foundation, Inc.
7256This config.status script is free software; the Free Software Foundation
7257gives unlimited permission to copy, distribute and modify it."
7258srcdir=$srcdir
7259INSTALL="$INSTALL"
7260_ACEOF
7261
7262cat >>$CONFIG_STATUS <<\_ACEOF
7263# If no file are specified by the user, then we need to provide default
7264# value. By we need to know if files were specified by the user.
7265ac_need_defaults=:
7266while test $# != 0
7267do
7268 case $1 in
7269 --*=*)
7270 ac_option=`expr "x$1" : 'x\([^=]*\)='`
7271 ac_optarg=`expr "x$1" : 'x[^=]*=\(.*\)'`
7272 ac_shift=:
7273 ;;
7274 -*)
7275 ac_option=$1
7276 ac_optarg=$2
7277 ac_shift=shift
7278 ;;
7279 *) # This is not an option, so the user has probably given explicit
7280 # arguments.
7281 ac_option=$1
7282 ac_need_defaults=false;;
7283 esac
7284
7285 case $ac_option in
7286 # Handling of the options.
7287_ACEOF
7288cat >>$CONFIG_STATUS <<\_ACEOF
7289 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7290 ac_cs_recheck=: ;;
7291 --version | --vers* | -V )
7292 echo "$ac_cs_version"; exit 0 ;;
7293 --he | --h)
7294 # Conflict between --help and --header
7295 { { echo "$as_me:$LINENO: error: ambiguous option: $1
7296Try \`$0 --help' for more information." >&5
7297echo "$as_me: error: ambiguous option: $1
7298Try \`$0 --help' for more information." >&2;}
7299 { (exit 1); exit 1; }; };;
7300 --help | --hel | -h )
7301 echo "$ac_cs_usage"; exit 0 ;;
7302 --debug | --d* | -d )
7303 debug=: ;;
7304 --file | --fil | --fi | --f )
7305 $ac_shift
7306 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
7307 ac_need_defaults=false;;
7308 --header | --heade | --head | --hea )
7309 $ac_shift
7310 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
7311 ac_need_defaults=false;;
7312 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7313 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7314 ac_cs_silent=: ;;
7315
7316 # This is an error.
7317 -*) { { echo "$as_me:$LINENO: error: unrecognized option: $1
7318Try \`$0 --help' for more information." >&5
7319echo "$as_me: error: unrecognized option: $1
7320Try \`$0 --help' for more information." >&2;}
7321 { (exit 1); exit 1; }; } ;;
7322
7323 *) ac_config_targets="$ac_config_targets $1" ;;
7324
7325 esac
7326 shift
7327done
7328
7329ac_configure_extra_args=
7330
7331if $ac_cs_silent; then
7332 exec 6>/dev/null
7333 ac_configure_extra_args="$ac_configure_extra_args --silent"
7334fi
7335
7336_ACEOF
7337cat >>$CONFIG_STATUS <<_ACEOF
7338if \$ac_cs_recheck; then
7339 echo "running $SHELL $0 " $ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
7340 exec $SHELL $0 $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7341fi
7342
7343_ACEOF
7344
7345cat >>$CONFIG_STATUS <<_ACEOF
7346#
7347# INIT-COMMANDS section.
7348#
7349
7350AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7351
7352_ACEOF
7353
7354
7355
7356cat >>$CONFIG_STATUS <<\_ACEOF
7357for ac_config_target in $ac_config_targets
7358do
7359 case "$ac_config_target" in
7360 # Handling of arguments.
7361 "Makefile" ) CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7362 "examplescripts/Makefile" ) CONFIG_FILES="$CONFIG_FILES examplescripts/Makefile" ;;
7363 "depfiles" ) CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7364 "config.h" ) CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7365 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
7366echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
7367 { (exit 1); exit 1; }; };;
7368 esac
7369done
7370
7371# If the user did not use the arguments to specify the items to instantiate,
7372# then the envvar interface is used. Set only those that are not.
7373# We use the long form for the default assignment because of an extremely
7374# bizarre bug on SunOS 4.1.3.
7375if $ac_need_defaults; then
7376 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
7377 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
7378 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
7379fi
7380
7381# Have a temporary directory for convenience. Make it in the build tree
7382# simply because there is no reason to put it here, and in addition,
7383# creating and moving files from /tmp can sometimes cause problems.
7384# Create a temporary directory, and hook for its removal unless debugging.
7385$debug ||
7386{
7387 trap 'exit_status=$?; rm -rf $tmp && exit $exit_status' 0
7388 trap '{ (exit 1); exit 1; }' 1 2 13 15
7389}
7390
7391# Create a (secure) tmp directory for tmp files.
7392
7393{
7394 tmp=`(umask 077 && mktemp -d -q "./confstatXXXXXX") 2>/dev/null` &&
7395 test -n "$tmp" && test -d "$tmp"
7396} ||
7397{
7398 tmp=./confstat$$-$RANDOM
7399 (umask 077 && mkdir $tmp)
7400} ||
7401{
7402 echo "$me: cannot create a temporary directory in ." >&2
7403 { (exit 1); exit 1; }
7404}
7405
7406_ACEOF
7407
7408cat >>$CONFIG_STATUS <<_ACEOF
7409
7410#
7411# CONFIG_FILES section.
7412#
7413
7414# No need to generate the scripts if there are no CONFIG_FILES.
7415# This happens for instance when ./config.status config.h
7416if test -n "\$CONFIG_FILES"; then
7417 # Protect against being on the right side of a sed subst in config.status.
7418 sed 's/,@/@@/; s/@,/@@/; s/,;t t\$/@;t t/; /@;t t\$/s/[\\\\&,]/\\\\&/g;
7419 s/@@/,@/; s/@@/@,/; s/@;t t\$/,;t t/' >\$tmp/subs.sed <<\\CEOF
7420s,@SHELL@,$SHELL,;t t
7421s,@PATH_SEPARATOR@,$PATH_SEPARATOR,;t t
7422s,@PACKAGE_NAME@,$PACKAGE_NAME,;t t
7423s,@PACKAGE_TARNAME@,$PACKAGE_TARNAME,;t t
7424s,@PACKAGE_VERSION@,$PACKAGE_VERSION,;t t
7425s,@PACKAGE_STRING@,$PACKAGE_STRING,;t t
7426s,@PACKAGE_BUGREPORT@,$PACKAGE_BUGREPORT,;t t
7427s,@exec_prefix@,$exec_prefix,;t t
7428s,@prefix@,$prefix,;t t
7429s,@program_transform_name@,$program_transform_name,;t t
7430s,@bindir@,$bindir,;t t
7431s,@sbindir@,$sbindir,;t t
7432s,@libexecdir@,$libexecdir,;t t
7433s,@datadir@,$datadir,;t t
7434s,@sysconfdir@,$sysconfdir,;t t
7435s,@sharedstatedir@,$sharedstatedir,;t t
7436s,@localstatedir@,$localstatedir,;t t
7437s,@libdir@,$libdir,;t t
7438s,@includedir@,$includedir,;t t
7439s,@oldincludedir@,$oldincludedir,;t t
7440s,@infodir@,$infodir,;t t
7441s,@mandir@,$mandir,;t t
7442s,@build_alias@,$build_alias,;t t
7443s,@host_alias@,$host_alias,;t t
7444s,@target_alias@,$target_alias,;t t
7445s,@DEFS@,$DEFS,;t t
7446s,@ECHO_C@,$ECHO_C,;t t
7447s,@ECHO_N@,$ECHO_N,;t t
7448s,@ECHO_T@,$ECHO_T,;t t
7449s,@LIBS@,$LIBS,;t t
7450s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t
7451s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t
7452s,@INSTALL_DATA@,$INSTALL_DATA,;t t
7453s,@CYGPATH_W@,$CYGPATH_W,;t t
7454s,@PACKAGE@,$PACKAGE,;t t
7455s,@VERSION@,$VERSION,;t t
7456s,@ACLOCAL@,$ACLOCAL,;t t
7457s,@AUTOCONF@,$AUTOCONF,;t t
7458s,@AUTOMAKE@,$AUTOMAKE,;t t
7459s,@AUTOHEADER@,$AUTOHEADER,;t t
7460s,@MAKEINFO@,$MAKEINFO,;t t
7461s,@install_sh@,$install_sh,;t t
7462s,@STRIP@,$STRIP,;t t
7463s,@ac_ct_STRIP@,$ac_ct_STRIP,;t t
7464s,@INSTALL_STRIP_PROGRAM@,$INSTALL_STRIP_PROGRAM,;t t
7465s,@mkdir_p@,$mkdir_p,;t t
7466s,@AWK@,$AWK,;t t
7467s,@SET_MAKE@,$SET_MAKE,;t t
7468s,@am__leading_dot@,$am__leading_dot,;t t
7469s,@AMTAR@,$AMTAR,;t t
7470s,@am__tar@,$am__tar,;t t
7471s,@am__untar@,$am__untar,;t t
7472s,@MAINTAINER_MODE_TRUE@,$MAINTAINER_MODE_TRUE,;t t
7473s,@MAINTAINER_MODE_FALSE@,$MAINTAINER_MODE_FALSE,;t t
7474s,@MAINT@,$MAINT,;t t
7475s,@CC@,$CC,;t t
7476s,@CFLAGS@,$CFLAGS,;t t
7477s,@LDFLAGS@,$LDFLAGS,;t t
7478s,@CPPFLAGS@,$CPPFLAGS,;t t
7479s,@ac_ct_CC@,$ac_ct_CC,;t t
7480s,@EXEEXT@,$EXEEXT,;t t
7481s,@OBJEXT@,$OBJEXT,;t t
7482s,@DEPDIR@,$DEPDIR,;t t
7483s,@am__include@,$am__include,;t t
7484s,@am__quote@,$am__quote,;t t
7485s,@AMDEP_TRUE@,$AMDEP_TRUE,;t t
7486s,@AMDEP_FALSE@,$AMDEP_FALSE,;t t
7487s,@AMDEPBACKSLASH@,$AMDEPBACKSLASH,;t t
7488s,@CCDEPMODE@,$CCDEPMODE,;t t
7489s,@am__fastdepCC_TRUE@,$am__fastdepCC_TRUE,;t t
7490s,@am__fastdepCC_FALSE@,$am__fastdepCC_FALSE,;t t
7491s,@CCAS@,$CCAS,;t t
7492s,@CCASFLAGS@,$CCASFLAGS,;t t
7493s,@build@,$build,;t t
7494s,@build_cpu@,$build_cpu,;t t
7495s,@build_vendor@,$build_vendor,;t t
7496s,@build_os@,$build_os,;t t
7497s,@host@,$host,;t t
7498s,@host_cpu@,$host_cpu,;t t
7499s,@host_vendor@,$host_vendor,;t t
7500s,@host_os@,$host_os,;t t
7501s,@CPP@,$CPP,;t t
7502s,@EGREP@,$EGREP,;t t
7503s,@libc_have_working_snprintf@,$libc_have_working_snprintf,;t t
7504s,@gcc_have_attr_packed@,$gcc_have_attr_packed,;t t
7505s,@ASFLAGS@,$ASFLAGS,;t t
7506s,@exampledir@,$exampledir,;t t
7507s,@initddir@,$initddir,;t t
7508s,@docdir@,$docdir,;t t
7509s,@smartd_suffix@,$smartd_suffix,;t t
7510s,@SMARTD_SUFFIX_TRUE@,$SMARTD_SUFFIX_TRUE,;t t
7511s,@SMARTD_SUFFIX_FALSE@,$SMARTD_SUFFIX_FALSE,;t t
7512s,@releaseversion@,$releaseversion,;t t
7513s,@smartmontools_release_date@,$smartmontools_release_date,;t t
7514s,@smartmontools_release_time@,$smartmontools_release_time,;t t
7515s,@os_deps@,$os_deps,;t t
7516s,@os_libs@,$os_libs,;t t
7517s,@OS_DARWIN_TRUE@,$OS_DARWIN_TRUE,;t t
7518s,@OS_DARWIN_FALSE@,$OS_DARWIN_FALSE,;t t
7519s,@OS_SOLARIS_TRUE@,$OS_SOLARIS_TRUE,;t t
7520s,@OS_SOLARIS_FALSE@,$OS_SOLARIS_FALSE,;t t
7521s,@OS_WIN32_MINGW_TRUE@,$OS_WIN32_MINGW_TRUE,;t t
7522s,@OS_WIN32_MINGW_FALSE@,$OS_WIN32_MINGW_FALSE,;t t
7523s,@LIBOBJS@,$LIBOBJS,;t t
7524s,@LTLIBOBJS@,$LTLIBOBJS,;t t
7525CEOF
7526
7527_ACEOF
7528
7529 cat >>$CONFIG_STATUS <<\_ACEOF
7530 # Split the substitutions into bite-sized pieces for seds with
7531 # small command number limits, like on Digital OSF/1 and HP-UX.
7532 ac_max_sed_lines=48
7533 ac_sed_frag=1 # Number of current file.
7534 ac_beg=1 # First line for current file.
7535 ac_end=$ac_max_sed_lines # Line after last line for current file.
7536 ac_more_lines=:
7537 ac_sed_cmds=
7538 while $ac_more_lines; do
7539 if test $ac_beg -gt 1; then
7540 sed "1,${ac_beg}d; ${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7541 else
7542 sed "${ac_end}q" $tmp/subs.sed >$tmp/subs.frag
7543 fi
7544 if test ! -s $tmp/subs.frag; then
7545 ac_more_lines=false
7546 else
7547 # The purpose of the label and of the branching condition is to
7548 # speed up the sed processing (if there are no `@' at all, there
7549 # is no need to browse any of the substitutions).
7550 # These are the two extra sed commands mentioned above.
7551 (echo ':t
7552 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b' && cat $tmp/subs.frag) >$tmp/subs-$ac_sed_frag.sed
7553 if test -z "$ac_sed_cmds"; then
7554 ac_sed_cmds="sed -f $tmp/subs-$ac_sed_frag.sed"
7555 else
7556 ac_sed_cmds="$ac_sed_cmds | sed -f $tmp/subs-$ac_sed_frag.sed"
7557 fi
7558 ac_sed_frag=`expr $ac_sed_frag + 1`
7559 ac_beg=$ac_end
7560 ac_end=`expr $ac_end + $ac_max_sed_lines`
7561 fi
7562 done
7563 if test -z "$ac_sed_cmds"; then
7564 ac_sed_cmds=cat
7565 fi
7566fi # test -n "$CONFIG_FILES"
7567
7568_ACEOF
7569cat >>$CONFIG_STATUS <<\_ACEOF
7570for ac_file in : $CONFIG_FILES; do test "x$ac_file" = x: && continue
7571 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7572 case $ac_file in
7573 - | *:- | *:-:* ) # input from stdin
7574 cat >$tmp/stdin
7575 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7576 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7577 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7578 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7579 * ) ac_file_in=$ac_file.in ;;
7580 esac
7581
7582 # Compute @srcdir@, @top_srcdir@, and @INSTALL@ for subdirectories.
7583 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7584$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7585 X"$ac_file" : 'X\(//\)[^/]' \| \
7586 X"$ac_file" : 'X\(//\)$' \| \
7587 X"$ac_file" : 'X\(/\)' \| \
7588 . : '\(.\)' 2>/dev/null ||
7589echo X"$ac_file" |
7590 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7591 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7592 /^X\(\/\/\)$/{ s//\1/; q; }
7593 /^X\(\/\).*/{ s//\1/; q; }
7594 s/.*/./; q'`
7595 { if $as_mkdir_p; then
7596 mkdir -p "$ac_dir"
7597 else
7598 as_dir="$ac_dir"
7599 as_dirs=
7600 while test ! -d "$as_dir"; do
7601 as_dirs="$as_dir $as_dirs"
7602 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7603$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7604 X"$as_dir" : 'X\(//\)[^/]' \| \
7605 X"$as_dir" : 'X\(//\)$' \| \
7606 X"$as_dir" : 'X\(/\)' \| \
7607 . : '\(.\)' 2>/dev/null ||
7608echo X"$as_dir" |
7609 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7610 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7611 /^X\(\/\/\)$/{ s//\1/; q; }
7612 /^X\(\/\).*/{ s//\1/; q; }
7613 s/.*/./; q'`
7614 done
7615 test ! -n "$as_dirs" || mkdir $as_dirs
7616 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7617echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7618 { (exit 1); exit 1; }; }; }
7619
7620 ac_builddir=.
7621
7622if test "$ac_dir" != .; then
7623 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
7624 # A "../" for each directory in $ac_dir_suffix.
7625 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
7626else
7627 ac_dir_suffix= ac_top_builddir=
7628fi
7629
7630case $srcdir in
7631 .) # No --srcdir option. We are building in place.
7632 ac_srcdir=.
7633 if test -z "$ac_top_builddir"; then
7634 ac_top_srcdir=.
7635 else
7636 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
7637 fi ;;
7638 [\\/]* | ?:[\\/]* ) # Absolute path.
7639 ac_srcdir=$srcdir$ac_dir_suffix;
7640 ac_top_srcdir=$srcdir ;;
7641 *) # Relative path.
7642 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
7643 ac_top_srcdir=$ac_top_builddir$srcdir ;;
7644esac
7645
7646# Do not use `cd foo && pwd` to compute absolute paths, because
7647# the directories may not exist.
7648case `pwd` in
7649.) ac_abs_builddir="$ac_dir";;
7650*)
7651 case "$ac_dir" in
7652 .) ac_abs_builddir=`pwd`;;
7653 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
7654 *) ac_abs_builddir=`pwd`/"$ac_dir";;
7655 esac;;
7656esac
7657case $ac_abs_builddir in
7658.) ac_abs_top_builddir=${ac_top_builddir}.;;
7659*)
7660 case ${ac_top_builddir}. in
7661 .) ac_abs_top_builddir=$ac_abs_builddir;;
7662 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
7663 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
7664 esac;;
7665esac
7666case $ac_abs_builddir in
7667.) ac_abs_srcdir=$ac_srcdir;;
7668*)
7669 case $ac_srcdir in
7670 .) ac_abs_srcdir=$ac_abs_builddir;;
7671 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
7672 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
7673 esac;;
7674esac
7675case $ac_abs_builddir in
7676.) ac_abs_top_srcdir=$ac_top_srcdir;;
7677*)
7678 case $ac_top_srcdir in
7679 .) ac_abs_top_srcdir=$ac_abs_builddir;;
7680 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
7681 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
7682 esac;;
7683esac
7684
7685
7686 case $INSTALL in
7687 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7688 *) ac_INSTALL=$ac_top_builddir$INSTALL ;;
7689 esac
7690
7691 if test x"$ac_file" != x-; then
7692 { echo "$as_me:$LINENO: creating $ac_file" >&5
7693echo "$as_me: creating $ac_file" >&6;}
7694 rm -f "$ac_file"
7695 fi
7696 # Let's still pretend it is `configure' which instantiates (i.e., don't
7697 # use $as_me), people would be surprised to read:
7698 # /* config.h. Generated by config.status. */
7699 if test x"$ac_file" = x-; then
7700 configure_input=
7701 else
7702 configure_input="$ac_file. "
7703 fi
7704 configure_input=$configure_input"Generated from `echo $ac_file_in |
7705 sed 's,.*/,,'` by configure."
7706
7707 # First look for the input files in the build tree, otherwise in the
7708 # src tree.
7709 ac_file_inputs=`IFS=:
7710 for f in $ac_file_in; do
7711 case $f in
7712 -) echo $tmp/stdin ;;
7713 [\\/$]*)
7714 # Absolute (can't be DOS-style, as IFS=:)
7715 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7716echo "$as_me: error: cannot find input file: $f" >&2;}
7717 { (exit 1); exit 1; }; }
7718 echo "$f";;
7719 *) # Relative
7720 if test -f "$f"; then
7721 # Build tree
7722 echo "$f"
7723 elif test -f "$srcdir/$f"; then
7724 # Source tree
7725 echo "$srcdir/$f"
7726 else
7727 # /dev/null tree
7728 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7729echo "$as_me: error: cannot find input file: $f" >&2;}
7730 { (exit 1); exit 1; }; }
7731 fi;;
7732 esac
7733 done` || { (exit 1); exit 1; }
7734_ACEOF
7735cat >>$CONFIG_STATUS <<_ACEOF
7736 sed "$ac_vpsub
7737$extrasub
7738_ACEOF
7739cat >>$CONFIG_STATUS <<\_ACEOF
7740:t
7741/@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7742s,@configure_input@,$configure_input,;t t
7743s,@srcdir@,$ac_srcdir,;t t
7744s,@abs_srcdir@,$ac_abs_srcdir,;t t
7745s,@top_srcdir@,$ac_top_srcdir,;t t
7746s,@abs_top_srcdir@,$ac_abs_top_srcdir,;t t
7747s,@builddir@,$ac_builddir,;t t
7748s,@abs_builddir@,$ac_abs_builddir,;t t
7749s,@top_builddir@,$ac_top_builddir,;t t
7750s,@abs_top_builddir@,$ac_abs_top_builddir,;t t
7751s,@INSTALL@,$ac_INSTALL,;t t
7752" $ac_file_inputs | (eval "$ac_sed_cmds") >$tmp/out
7753 rm -f $tmp/stdin
7754 if test x"$ac_file" != x-; then
7755 mv $tmp/out $ac_file
7756 else
7757 cat $tmp/out
7758 rm -f $tmp/out
7759 fi
7760
7761done
7762_ACEOF
7763cat >>$CONFIG_STATUS <<\_ACEOF
7764
7765#
7766# CONFIG_HEADER section.
7767#
7768
7769# These sed commands are passed to sed as "A NAME B NAME C VALUE D", where
7770# NAME is the cpp macro being defined and VALUE is the value it is being given.
7771#
7772# ac_d sets the value in "#define NAME VALUE" lines.
7773ac_dA='s,^\([ ]*\)#\([ ]*define[ ][ ]*\)'
7774ac_dB='[ ].*$,\1#\2'
7775ac_dC=' '
7776ac_dD=',;t'
7777# ac_u turns "#undef NAME" without trailing blanks into "#define NAME VALUE".
7778ac_uA='s,^\([ ]*\)#\([ ]*\)undef\([ ][ ]*\)'
7779ac_uB='$,\1#\2define\3'
7780ac_uC=' '
7781ac_uD=',;t'
7782
7783for ac_file in : $CONFIG_HEADERS; do test "x$ac_file" = x: && continue
7784 # Support "outfile[:infile[:infile...]]", defaulting infile="outfile.in".
7785 case $ac_file in
7786 - | *:- | *:-:* ) # input from stdin
7787 cat >$tmp/stdin
7788 ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7789 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7790 *:* ) ac_file_in=`echo "$ac_file" | sed 's,[^:]*:,,'`
7791 ac_file=`echo "$ac_file" | sed 's,:.*,,'` ;;
7792 * ) ac_file_in=$ac_file.in ;;
7793 esac
7794
7795 test x"$ac_file" != x- && { echo "$as_me:$LINENO: creating $ac_file" >&5
7796echo "$as_me: creating $ac_file" >&6;}
7797
7798 # First look for the input files in the build tree, otherwise in the
7799 # src tree.
7800 ac_file_inputs=`IFS=:
7801 for f in $ac_file_in; do
7802 case $f in
7803 -) echo $tmp/stdin ;;
7804 [\\/$]*)
7805 # Absolute (can't be DOS-style, as IFS=:)
7806 test -f "$f" || { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7807echo "$as_me: error: cannot find input file: $f" >&2;}
7808 { (exit 1); exit 1; }; }
7809 # Do quote $f, to prevent DOS paths from being IFS'd.
7810 echo "$f";;
7811 *) # Relative
7812 if test -f "$f"; then
7813 # Build tree
7814 echo "$f"
7815 elif test -f "$srcdir/$f"; then
7816 # Source tree
7817 echo "$srcdir/$f"
7818 else
7819 # /dev/null tree
7820 { { echo "$as_me:$LINENO: error: cannot find input file: $f" >&5
7821echo "$as_me: error: cannot find input file: $f" >&2;}
7822 { (exit 1); exit 1; }; }
7823 fi;;
7824 esac
7825 done` || { (exit 1); exit 1; }
7826 # Remove the trailing spaces.
7827 sed 's/[ ]*$//' $ac_file_inputs >$tmp/in
7828
7829_ACEOF
7830
7831# Transform confdefs.h into two sed scripts, `conftest.defines' and
7832# `conftest.undefs', that substitutes the proper values into
7833# config.h.in to produce config.h. The first handles `#define'
7834# templates, and the second `#undef' templates.
7835# And first: Protect against being on the right side of a sed subst in
7836# config.status. Protect against being in an unquoted here document
7837# in config.status.
7838rm -f conftest.defines conftest.undefs
7839# Using a here document instead of a string reduces the quoting nightmare.
7840# Putting comments in sed scripts is not portable.
7841#
7842# `end' is used to avoid that the second main sed command (meant for
7843# 0-ary CPP macros) applies to n-ary macro definitions.
7844# See the Autoconf documentation for `clear'.
7845cat >confdef2sed.sed <<\_ACEOF
7846s/[\\&,]/\\&/g
7847s,[\\$`],\\&,g
7848t clear
7849: clear
7850s,^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*\)\(([^)]*)\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1\2${ac_dC}\3${ac_dD},gp
7851t end
7852s,^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)$,${ac_dA}\1${ac_dB}\1${ac_dC}\2${ac_dD},gp
7853: end
7854_ACEOF
7855# If some macros were called several times there might be several times
7856# the same #defines, which is useless. Nevertheless, we may not want to
7857# sort them, since we want the *last* AC-DEFINE to be honored.
7858uniq confdefs.h | sed -n -f confdef2sed.sed >conftest.defines
7859sed 's/ac_d/ac_u/g' conftest.defines >conftest.undefs
7860rm -f confdef2sed.sed
7861
7862# This sed command replaces #undef with comments. This is necessary, for
7863# example, in the case of _POSIX_SOURCE, which is predefined and required
7864# on some systems where configure will not decide to define it.
7865cat >>conftest.undefs <<\_ACEOF
7866s,^[ ]*#[ ]*undef[ ][ ]*[a-zA-Z_][a-zA-Z_0-9]*,/* & */,
7867_ACEOF
7868
7869# Break up conftest.defines because some shells have a limit on the size
7870# of here documents, and old seds have small limits too (100 cmds).
7871echo ' # Handle all the #define templates only if necessary.' >>$CONFIG_STATUS
7872echo ' if grep "^[ ]*#[ ]*define" $tmp/in >/dev/null; then' >>$CONFIG_STATUS
7873echo ' # If there are no defines, we may have an empty if/fi' >>$CONFIG_STATUS
7874echo ' :' >>$CONFIG_STATUS
7875rm -f conftest.tail
7876while grep . conftest.defines >/dev/null
7877do
7878 # Write a limited-size here document to $tmp/defines.sed.
7879 echo ' cat >$tmp/defines.sed <<CEOF' >>$CONFIG_STATUS
7880 # Speed up: don't consider the non `#define' lines.
7881 echo '/^[ ]*#[ ]*define/!b' >>$CONFIG_STATUS
7882 # Work around the forget-to-reset-the-flag bug.
7883 echo 't clr' >>$CONFIG_STATUS
7884 echo ': clr' >>$CONFIG_STATUS
7885 sed ${ac_max_here_lines}q conftest.defines >>$CONFIG_STATUS
7886 echo 'CEOF
7887 sed -f $tmp/defines.sed $tmp/in >$tmp/out
7888 rm -f $tmp/in
7889 mv $tmp/out $tmp/in
7890' >>$CONFIG_STATUS
7891 sed 1,${ac_max_here_lines}d conftest.defines >conftest.tail
7892 rm -f conftest.defines
7893 mv conftest.tail conftest.defines
7894done
7895rm -f conftest.defines
7896echo ' fi # grep' >>$CONFIG_STATUS
7897echo >>$CONFIG_STATUS
7898
7899# Break up conftest.undefs because some shells have a limit on the size
7900# of here documents, and old seds have small limits too (100 cmds).
7901echo ' # Handle all the #undef templates' >>$CONFIG_STATUS
7902rm -f conftest.tail
7903while grep . conftest.undefs >/dev/null
7904do
7905 # Write a limited-size here document to $tmp/undefs.sed.
7906 echo ' cat >$tmp/undefs.sed <<CEOF' >>$CONFIG_STATUS
7907 # Speed up: don't consider the non `#undef'
7908 echo '/^[ ]*#[ ]*undef/!b' >>$CONFIG_STATUS
7909 # Work around the forget-to-reset-the-flag bug.
7910 echo 't clr' >>$CONFIG_STATUS
7911 echo ': clr' >>$CONFIG_STATUS
7912 sed ${ac_max_here_lines}q conftest.undefs >>$CONFIG_STATUS
7913 echo 'CEOF
7914 sed -f $tmp/undefs.sed $tmp/in >$tmp/out
7915 rm -f $tmp/in
7916 mv $tmp/out $tmp/in
7917' >>$CONFIG_STATUS
7918 sed 1,${ac_max_here_lines}d conftest.undefs >conftest.tail
7919 rm -f conftest.undefs
7920 mv conftest.tail conftest.undefs
7921done
7922rm -f conftest.undefs
7923
7924cat >>$CONFIG_STATUS <<\_ACEOF
7925 # Let's still pretend it is `configure' which instantiates (i.e., don't
7926 # use $as_me), people would be surprised to read:
7927 # /* config.h. Generated by config.status. */
7928 if test x"$ac_file" = x-; then
7929 echo "/* Generated by configure. */" >$tmp/config.h
7930 else
7931 echo "/* $ac_file. Generated by configure. */" >$tmp/config.h
7932 fi
7933 cat $tmp/in >>$tmp/config.h
7934 rm -f $tmp/in
7935 if test x"$ac_file" != x-; then
7936 if diff $ac_file $tmp/config.h >/dev/null 2>&1; then
7937 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
7938echo "$as_me: $ac_file is unchanged" >&6;}
7939 else
7940 ac_dir=`(dirname "$ac_file") 2>/dev/null ||
7941$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7942 X"$ac_file" : 'X\(//\)[^/]' \| \
7943 X"$ac_file" : 'X\(//\)$' \| \
7944 X"$ac_file" : 'X\(/\)' \| \
7945 . : '\(.\)' 2>/dev/null ||
7946echo X"$ac_file" |
7947 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7948 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7949 /^X\(\/\/\)$/{ s//\1/; q; }
7950 /^X\(\/\).*/{ s//\1/; q; }
7951 s/.*/./; q'`
7952 { if $as_mkdir_p; then
7953 mkdir -p "$ac_dir"
7954 else
7955 as_dir="$ac_dir"
7956 as_dirs=
7957 while test ! -d "$as_dir"; do
7958 as_dirs="$as_dir $as_dirs"
7959 as_dir=`(dirname "$as_dir") 2>/dev/null ||
7960$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7961 X"$as_dir" : 'X\(//\)[^/]' \| \
7962 X"$as_dir" : 'X\(//\)$' \| \
7963 X"$as_dir" : 'X\(/\)' \| \
7964 . : '\(.\)' 2>/dev/null ||
7965echo X"$as_dir" |
7966 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
7967 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
7968 /^X\(\/\/\)$/{ s//\1/; q; }
7969 /^X\(\/\).*/{ s//\1/; q; }
7970 s/.*/./; q'`
7971 done
7972 test ! -n "$as_dirs" || mkdir $as_dirs
7973 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
7974echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
7975 { (exit 1); exit 1; }; }; }
7976
7977 rm -f $ac_file
7978 mv $tmp/config.h $ac_file
7979 fi
7980 else
7981 cat $tmp/config.h
7982 rm -f $tmp/config.h
7983 fi
7984# Compute $ac_file's index in $config_headers.
7985_am_stamp_count=1
7986for _am_header in $config_headers :; do
7987 case $_am_header in
7988 $ac_file | $ac_file:* )
7989 break ;;
7990 * )
7991 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7992 esac
7993done
7994echo "timestamp for $ac_file" >`(dirname $ac_file) 2>/dev/null ||
7995$as_expr X$ac_file : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7996 X$ac_file : 'X\(//\)[^/]' \| \
7997 X$ac_file : 'X\(//\)$' \| \
7998 X$ac_file : 'X\(/\)' \| \
7999 . : '\(.\)' 2>/dev/null ||
8000echo X$ac_file |
8001 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8002 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8003 /^X\(\/\/\)$/{ s//\1/; q; }
8004 /^X\(\/\).*/{ s//\1/; q; }
8005 s/.*/./; q'`/stamp-h$_am_stamp_count
8006done
8007_ACEOF
8008cat >>$CONFIG_STATUS <<\_ACEOF
8009
8010#
8011# CONFIG_COMMANDS section.
8012#
8013for ac_file in : $CONFIG_COMMANDS; do test "x$ac_file" = x: && continue
8014 ac_dest=`echo "$ac_file" | sed 's,:.*,,'`
8015 ac_source=`echo "$ac_file" | sed 's,[^:]*:,,'`
8016 ac_dir=`(dirname "$ac_dest") 2>/dev/null ||
8017$as_expr X"$ac_dest" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8018 X"$ac_dest" : 'X\(//\)[^/]' \| \
8019 X"$ac_dest" : 'X\(//\)$' \| \
8020 X"$ac_dest" : 'X\(/\)' \| \
8021 . : '\(.\)' 2>/dev/null ||
8022echo X"$ac_dest" |
8023 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8024 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8025 /^X\(\/\/\)$/{ s//\1/; q; }
8026 /^X\(\/\).*/{ s//\1/; q; }
8027 s/.*/./; q'`
8028 { if $as_mkdir_p; then
8029 mkdir -p "$ac_dir"
8030 else
8031 as_dir="$ac_dir"
8032 as_dirs=
8033 while test ! -d "$as_dir"; do
8034 as_dirs="$as_dir $as_dirs"
8035 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8036$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8037 X"$as_dir" : 'X\(//\)[^/]' \| \
8038 X"$as_dir" : 'X\(//\)$' \| \
8039 X"$as_dir" : 'X\(/\)' \| \
8040 . : '\(.\)' 2>/dev/null ||
8041echo X"$as_dir" |
8042 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8043 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8044 /^X\(\/\/\)$/{ s//\1/; q; }
8045 /^X\(\/\).*/{ s//\1/; q; }
8046 s/.*/./; q'`
8047 done
8048 test ! -n "$as_dirs" || mkdir $as_dirs
8049 fi || { { echo "$as_me:$LINENO: error: cannot create directory \"$ac_dir\"" >&5
8050echo "$as_me: error: cannot create directory \"$ac_dir\"" >&2;}
8051 { (exit 1); exit 1; }; }; }
8052
8053 ac_builddir=.
8054
8055if test "$ac_dir" != .; then
8056 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
8057 # A "../" for each directory in $ac_dir_suffix.
8058 ac_top_builddir=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,../,g'`
8059else
8060 ac_dir_suffix= ac_top_builddir=
8061fi
8062
8063case $srcdir in
8064 .) # No --srcdir option. We are building in place.
8065 ac_srcdir=.
8066 if test -z "$ac_top_builddir"; then
8067 ac_top_srcdir=.
8068 else
8069 ac_top_srcdir=`echo $ac_top_builddir | sed 's,/$,,'`
8070 fi ;;
8071 [\\/]* | ?:[\\/]* ) # Absolute path.
8072 ac_srcdir=$srcdir$ac_dir_suffix;
8073 ac_top_srcdir=$srcdir ;;
8074 *) # Relative path.
8075 ac_srcdir=$ac_top_builddir$srcdir$ac_dir_suffix
8076 ac_top_srcdir=$ac_top_builddir$srcdir ;;
8077esac
8078
8079# Do not use `cd foo && pwd` to compute absolute paths, because
8080# the directories may not exist.
8081case `pwd` in
8082.) ac_abs_builddir="$ac_dir";;
8083*)
8084 case "$ac_dir" in
8085 .) ac_abs_builddir=`pwd`;;
8086 [\\/]* | ?:[\\/]* ) ac_abs_builddir="$ac_dir";;
8087 *) ac_abs_builddir=`pwd`/"$ac_dir";;
8088 esac;;
8089esac
8090case $ac_abs_builddir in
8091.) ac_abs_top_builddir=${ac_top_builddir}.;;
8092*)
8093 case ${ac_top_builddir}. in
8094 .) ac_abs_top_builddir=$ac_abs_builddir;;
8095 [\\/]* | ?:[\\/]* ) ac_abs_top_builddir=${ac_top_builddir}.;;
8096 *) ac_abs_top_builddir=$ac_abs_builddir/${ac_top_builddir}.;;
8097 esac;;
8098esac
8099case $ac_abs_builddir in
8100.) ac_abs_srcdir=$ac_srcdir;;
8101*)
8102 case $ac_srcdir in
8103 .) ac_abs_srcdir=$ac_abs_builddir;;
8104 [\\/]* | ?:[\\/]* ) ac_abs_srcdir=$ac_srcdir;;
8105 *) ac_abs_srcdir=$ac_abs_builddir/$ac_srcdir;;
8106 esac;;
8107esac
8108case $ac_abs_builddir in
8109.) ac_abs_top_srcdir=$ac_top_srcdir;;
8110*)
8111 case $ac_top_srcdir in
8112 .) ac_abs_top_srcdir=$ac_abs_builddir;;
8113 [\\/]* | ?:[\\/]* ) ac_abs_top_srcdir=$ac_top_srcdir;;
8114 *) ac_abs_top_srcdir=$ac_abs_builddir/$ac_top_srcdir;;
8115 esac;;
8116esac
8117
8118
8119 { echo "$as_me:$LINENO: executing $ac_dest commands" >&5
8120echo "$as_me: executing $ac_dest commands" >&6;}
8121 case $ac_dest in
8122 depfiles ) test x"$AMDEP_TRUE" != x"" || for mf in $CONFIG_FILES; do
8123 # Strip MF so we end up with the name of the file.
8124 mf=`echo "$mf" | sed -e 's/:.*$//'`
8125 # Check whether this is an Automake generated Makefile or not.
8126 # We used to match only the files named `Makefile.in', but
8127 # some people rename them; so instead we look at the file content.
8128 # Grep'ing the first line is not enough: some people post-process
8129 # each Makefile.in and add a new line on top of each file to say so.
8130 # So let's grep whole file.
8131 if grep '^#.*generated by automake' $mf > /dev/null 2>&1; then
8132 dirpart=`(dirname "$mf") 2>/dev/null ||
8133$as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8134 X"$mf" : 'X\(//\)[^/]' \| \
8135 X"$mf" : 'X\(//\)$' \| \
8136 X"$mf" : 'X\(/\)' \| \
8137 . : '\(.\)' 2>/dev/null ||
8138echo X"$mf" |
8139 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8140 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8141 /^X\(\/\/\)$/{ s//\1/; q; }
8142 /^X\(\/\).*/{ s//\1/; q; }
8143 s/.*/./; q'`
8144 else
8145 continue
8146 fi
8147 # Extract the definition of DEPDIR, am__include, and am__quote
8148 # from the Makefile without running `make'.
8149 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
8150 test -z "$DEPDIR" && continue
8151 am__include=`sed -n 's/^am__include = //p' < "$mf"`
8152 test -z "am__include" && continue
8153 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
8154 # When using ansi2knr, U may be empty or an underscore; expand it
8155 U=`sed -n 's/^U = //p' < "$mf"`
8156 # Find all dependency output files, they are included files with
8157 # $(DEPDIR) in their names. We invoke sed twice because it is the
8158 # simplest approach to changing $(DEPDIR) to its actual value in the
8159 # expansion.
8160 for file in `sed -n "
8161 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8162 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
8163 # Make sure the directory exists.
8164 test -f "$dirpart/$file" && continue
8165 fdir=`(dirname "$file") 2>/dev/null ||
8166$as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8167 X"$file" : 'X\(//\)[^/]' \| \
8168 X"$file" : 'X\(//\)$' \| \
8169 X"$file" : 'X\(/\)' \| \
8170 . : '\(.\)' 2>/dev/null ||
8171echo X"$file" |
8172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8173 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8174 /^X\(\/\/\)$/{ s//\1/; q; }
8175 /^X\(\/\).*/{ s//\1/; q; }
8176 s/.*/./; q'`
8177 { if $as_mkdir_p; then
8178 mkdir -p $dirpart/$fdir
8179 else
8180 as_dir=$dirpart/$fdir
8181 as_dirs=
8182 while test ! -d "$as_dir"; do
8183 as_dirs="$as_dir $as_dirs"
8184 as_dir=`(dirname "$as_dir") 2>/dev/null ||
8185$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8186 X"$as_dir" : 'X\(//\)[^/]' \| \
8187 X"$as_dir" : 'X\(//\)$' \| \
8188 X"$as_dir" : 'X\(/\)' \| \
8189 . : '\(.\)' 2>/dev/null ||
8190echo X"$as_dir" |
8191 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ s//\1/; q; }
8192 /^X\(\/\/\)[^/].*/{ s//\1/; q; }
8193 /^X\(\/\/\)$/{ s//\1/; q; }
8194 /^X\(\/\).*/{ s//\1/; q; }
8195 s/.*/./; q'`
8196 done
8197 test ! -n "$as_dirs" || mkdir $as_dirs
8198 fi || { { echo "$as_me:$LINENO: error: cannot create directory $dirpart/$fdir" >&5
8199echo "$as_me: error: cannot create directory $dirpart/$fdir" >&2;}
8200 { (exit 1); exit 1; }; }; }
8201
8202 # echo "creating $dirpart/$file"
8203 echo '# dummy' > "$dirpart/$file"
8204 done
8205done
8206 ;;
8207 esac
8208done
8209_ACEOF
8210
8211cat >>$CONFIG_STATUS <<\_ACEOF
8212
8213{ (exit 0); exit 0; }
8214_ACEOF
8215chmod +x $CONFIG_STATUS
8216ac_clean_files=$ac_clean_files_save
8217
8218
8219# configure is writing to config.log, and then calls config.status.
8220# config.status does its own redirection, appending to config.log.
8221# Unfortunately, on DOS this fails, as config.log is still kept open
8222# by configure, so config.status won't be able to write to it; its
8223# output is simply discarded. So we exec the FD to /dev/null,
8224# effectively closing config.log, so it can be properly (re)opened and
8225# appended to by config.status. When coming back to configure, we
8226# need to make the FD available again.
8227if test "$no_create" != yes; then
8228 ac_cs_success=:
8229 ac_config_status_args=
8230 test "$silent" = yes &&
8231 ac_config_status_args="$ac_config_status_args --quiet"
8232 exec 5>/dev/null
8233 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
8234 exec 5>>config.log
8235 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8236 # would make configure fail if this is the last instruction.
8237 $ac_cs_success || { (exit 1); exit 1; }
8238fi
8239
8240echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8241echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6
8242set dummy ${MAKE-make}; ac_make=`echo "$2" | sed 'y,:./+-,___p_,'`
8243if eval "test \"\${ac_cv_prog_make_${ac_make}_set+set}\" = set"; then
8244 echo $ECHO_N "(cached) $ECHO_C" >&6
8245else
8246 cat >conftest.make <<\_ACEOF
8247all:
8248 @echo 'ac_maketemp="$(MAKE)"'
8249_ACEOF
8250# GNU make sometimes prints "make[1]: Entering...", which would confuse us.
8251eval `${MAKE-make} -f conftest.make 2>/dev/null | grep temp=`
8252if test -n "$ac_maketemp"; then
8253 eval ac_cv_prog_make_${ac_make}_set=yes
8254else
8255 eval ac_cv_prog_make_${ac_make}_set=no
8256fi
8257rm -f conftest.make
8258fi
8259if eval "test \"`echo '$ac_cv_prog_make_'${ac_make}_set`\" = yes"; then
8260 echo "$as_me:$LINENO: result: yes" >&5
8261echo "${ECHO_T}yes" >&6
8262 SET_MAKE=
8263else
8264 echo "$as_me:$LINENO: result: no" >&5
8265echo "${ECHO_T}no" >&6
8266 SET_MAKE="MAKE=${MAKE-make}"
8267fi
8268