2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for smartmontools 7.0.
5 # Report bugs to <smartmontools-support@listi.jpberlin.de>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: smartmontools-support@listi.jpberlin.de about your
271 $0: system, including any error possibly output before this
272 $0: message. Then install a modern shell, or manually run
273 $0: the script under such a shell if you do have one."
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='smartmontools'
582 PACKAGE_TARNAME
='smartmontools'
583 PACKAGE_VERSION
='7.0'
584 PACKAGE_STRING
='smartmontools 7.0'
585 PACKAGE_BUGREPORT
='smartmontools-support@listi.jpberlin.de'
588 ac_unique_file
="smartctl.cpp"
589 # Factoring default headers for most tests.
590 ac_includes_default
="\
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
602 # ifdef HAVE_STDLIB_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
625 ac_subst_vars
='am__EXEEXT_FALSE
652 smartmontools_release_time
653 smartmontools_release_date
658 INSTALL_SYSTEMDUNIT_FALSE
659 INSTALL_SYSTEMDUNIT_TRUE
664 ENABLE_ATTRIBUTELOG_FALSE
665 ENABLE_ATTRIBUTELOG_TRUE
668 ENABLE_SAVESTATES_FALSE
669 ENABLE_SAVESTATES_TRUE
672 ENABLE_SCRIPTPATH_FALSE
673 ENABLE_SCRIPTPATH_TRUE
678 ENABLE_UPDATE_SMART_DRIVEDB_FALSE
679 ENABLE_UPDATE_SMART_DRIVEDB_TRUE
680 with_update_smart_drivedb
686 INSTALL_INITSCRIPT_FALSE
687 INSTALL_INITSCRIPT_TRUE
691 NEED_GETOPT_LONG_FALSE
692 NEED_GETOPT_LONG_TRUE
713 am__fastdepCCAS_FALSE
742 MAINTAINER_MODE_FALSE
756 INSTALL_STRIP_PROGRAM
798 program_transform_name
811 enable_option_checking
813 enable_maintainer_mode
814 enable_dependency_tracking
818 with_update_smart_drivedb
826 enable_scsi_cdb_check
832 with_systemdsystemunitdir
835 with_solaris_sparc_ata
837 with_working_snprintf
842 ac_precious_vars
='build_alias
864 # Initialize some variables set by options.
866 ac_init_version
=false
867 ac_unrecognized_opts
=
869 # The variables have the same names as the options, with
870 # dashes changed to underlines.
878 program_transform_name
=s
,x
,x
,
886 # Installation directory options.
887 # These are left unexpanded so users can "make install exec_prefix=/foo"
888 # and all the variables that are supposed to be based on exec_prefix
889 # by default will actually change.
890 # Use braces instead of parens because sh, perl, etc. also accept them.
891 # (The list follows the same order as the GNU Coding Standards.)
892 bindir
='${exec_prefix}/bin'
893 sbindir
='${exec_prefix}/sbin'
894 libexecdir
='${exec_prefix}/libexec'
895 datarootdir
='${prefix}/share'
896 datadir
='${datarootdir}'
897 sysconfdir
='${prefix}/etc'
898 sharedstatedir
='${prefix}/com'
899 localstatedir
='${prefix}/var'
900 includedir
='${prefix}/include'
901 oldincludedir
='/usr/include'
902 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
903 infodir
='${datarootdir}/info'
908 libdir
='${exec_prefix}/lib'
909 localedir
='${datarootdir}/locale'
910 mandir
='${datarootdir}/man'
916 # If the previous option needs an argument, assign it.
917 if test -n "$ac_prev"; then
918 eval $ac_prev=\
$ac_option
924 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
929 # Accept the important Cygnus configure options, so we can diagnose typos.
931 case $ac_dashdash$ac_option in
935 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
937 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
940 -build |
--build |
--buil |
--bui |
--bu)
941 ac_prev
=build_alias
;;
942 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
943 build_alias
=$ac_optarg ;;
945 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
946 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
947 ac_prev
=cache_file
;;
948 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
949 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
950 cache_file
=$ac_optarg ;;
953 cache_file
=config.cache
;;
955 -datadir |
--datadir |
--datadi |
--datad)
957 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
958 datadir
=$ac_optarg ;;
960 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
961 |
--dataroo |
--dataro |
--datar)
962 ac_prev
=datarootdir
;;
963 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
964 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
965 datarootdir
=$ac_optarg ;;
967 -disable-* |
--disable-*)
968 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
969 # Reject names that are not valid shell variable names.
970 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
971 as_fn_error $?
"invalid feature name: $ac_useropt"
972 ac_useropt_orig
=$ac_useropt
973 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
974 case $ac_user_opts in
978 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
979 ac_unrecognized_sep
=', ';;
981 eval enable_
$ac_useropt=no
;;
983 -docdir |
--docdir |
--docdi |
--doc |
--do)
985 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
988 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
990 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
993 -enable-* |
--enable-*)
994 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
995 # Reject names that are not valid shell variable names.
996 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
997 as_fn_error $?
"invalid feature name: $ac_useropt"
998 ac_useropt_orig
=$ac_useropt
999 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1000 case $ac_user_opts in
1002 "enable_
$ac_useropt"
1004 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1005 ac_unrecognized_sep
=', ';;
1007 eval enable_
$ac_useropt=\
$ac_optarg ;;
1009 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
1010 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
1011 |
--exec |
--exe |
--ex)
1012 ac_prev
=exec_prefix
;;
1013 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
1014 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
1015 |
--exec=* |
--exe=* |
--ex=*)
1016 exec_prefix
=$ac_optarg ;;
1018 -gas |
--gas |
--ga |
--g)
1019 # Obsolete; use --with-gas.
1022 -help |
--help |
--hel |
--he |
-h)
1023 ac_init_help
=long
;;
1024 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
1025 ac_init_help
=recursive
;;
1026 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
1027 ac_init_help
=short
;;
1029 -host |
--host |
--hos |
--ho)
1030 ac_prev
=host_alias
;;
1031 -host=* |
--host=* |
--hos=* |
--ho=*)
1032 host_alias
=$ac_optarg ;;
1034 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
1036 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
1038 htmldir
=$ac_optarg ;;
1040 -includedir |
--includedir |
--includedi |
--included |
--include \
1041 |
--includ |
--inclu |
--incl |
--inc)
1042 ac_prev
=includedir
;;
1043 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
1044 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
1045 includedir
=$ac_optarg ;;
1047 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
1049 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
1050 infodir
=$ac_optarg ;;
1052 -libdir |
--libdir |
--libdi |
--libd)
1054 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
1055 libdir
=$ac_optarg ;;
1057 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
1058 |
--libexe |
--libex |
--libe)
1059 ac_prev
=libexecdir
;;
1060 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
1061 |
--libexe=* |
--libex=* |
--libe=*)
1062 libexecdir
=$ac_optarg ;;
1064 -localedir |
--localedir |
--localedi |
--localed |
--locale)
1065 ac_prev
=localedir
;;
1066 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
1067 localedir
=$ac_optarg ;;
1069 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
1070 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
1071 ac_prev
=localstatedir
;;
1072 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
1073 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
1074 localstatedir
=$ac_optarg ;;
1076 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
1078 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
1079 mandir
=$ac_optarg ;;
1081 -nfp |
--nfp |
--nf)
1082 # Obsolete; use --without-fp.
1085 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
1086 |
--no-cr |
--no-c |
-n)
1089 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
1090 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
1093 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
1094 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
1095 |
--oldin |
--oldi |
--old |
--ol |
--o)
1096 ac_prev
=oldincludedir
;;
1097 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
1098 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
1099 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
1100 oldincludedir
=$ac_optarg ;;
1102 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
1104 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
1105 prefix
=$ac_optarg ;;
1107 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
1108 |
--program-pre |
--program-pr |
--program-p)
1109 ac_prev
=program_prefix
;;
1110 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
1111 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
1112 program_prefix
=$ac_optarg ;;
1114 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
1115 |
--program-suf |
--program-su |
--program-s)
1116 ac_prev
=program_suffix
;;
1117 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
1118 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
1119 program_suffix
=$ac_optarg ;;
1121 -program-transform-name |
--program-transform-name \
1122 |
--program-transform-nam |
--program-transform-na \
1123 |
--program-transform-n |
--program-transform- \
1124 |
--program-transform |
--program-transfor \
1125 |
--program-transfo |
--program-transf \
1126 |
--program-trans |
--program-tran \
1127 |
--progr-tra |
--program-tr |
--program-t)
1128 ac_prev
=program_transform_name
;;
1129 -program-transform-name=* |
--program-transform-name=* \
1130 |
--program-transform-nam=* |
--program-transform-na=* \
1131 |
--program-transform-n=* |
--program-transform-=* \
1132 |
--program-transform=* |
--program-transfor=* \
1133 |
--program-transfo=* |
--program-transf=* \
1134 |
--program-trans=* |
--program-tran=* \
1135 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
1136 program_transform_name
=$ac_optarg ;;
1138 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
1140 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
1141 pdfdir
=$ac_optarg ;;
1143 -psdir |
--psdir |
--psdi |
--psd |
--ps)
1145 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
1148 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1149 |
-silent |
--silent |
--silen |
--sile |
--sil)
1152 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
1154 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
1156 sbindir
=$ac_optarg ;;
1158 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
1159 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
1160 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
1162 ac_prev
=sharedstatedir
;;
1163 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
1164 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
1165 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
1167 sharedstatedir
=$ac_optarg ;;
1169 -site |
--site |
--sit)
1171 -site=* |
--site=* |
--sit=*)
1174 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1176 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1177 srcdir
=$ac_optarg ;;
1179 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1180 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1181 ac_prev
=sysconfdir
;;
1182 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1183 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1184 sysconfdir
=$ac_optarg ;;
1186 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1187 ac_prev
=target_alias
;;
1188 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1189 target_alias
=$ac_optarg ;;
1191 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1194 -version |
--version |
--versio |
--versi |
--vers |
-V)
1195 ac_init_version
=: ;;
1198 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1199 # Reject names that are not valid shell variable names.
1200 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1201 as_fn_error $?
"invalid package name: $ac_useropt"
1202 ac_useropt_orig
=$ac_useropt
1203 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1204 case $ac_user_opts in
1208 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1209 ac_unrecognized_sep
=', ';;
1211 eval with_
$ac_useropt=\
$ac_optarg ;;
1213 -without-* |
--without-*)
1214 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1215 # Reject names that are not valid shell variable names.
1216 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1217 as_fn_error $?
"invalid package name: $ac_useropt"
1218 ac_useropt_orig
=$ac_useropt
1219 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1220 case $ac_user_opts in
1224 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1225 ac_unrecognized_sep
=', ';;
1227 eval with_
$ac_useropt=no
;;
1230 # Obsolete; use --with-x.
1233 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1234 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1235 ac_prev
=x_includes
;;
1236 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1237 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1238 x_includes
=$ac_optarg ;;
1240 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1241 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1242 ac_prev
=x_libraries
;;
1243 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1244 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1245 x_libraries
=$ac_optarg ;;
1247 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1248 Try \`$0 --help' for more information"
1252 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1253 # Reject names that are not valid shell variable names.
1254 case $ac_envvar in #(
1255 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1256 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1258 eval $ac_envvar=\
$ac_optarg
1259 export $ac_envvar ;;
1262 # FIXME: should be removed in autoconf 3.0.
1263 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1264 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1265 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1266 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1272 if test -n "$ac_prev"; then
1273 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1274 as_fn_error $?
"missing argument to $ac_option"
1277 if test -n "$ac_unrecognized_opts"; then
1278 case $enable_option_checking in
1280 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1281 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1285 # Check all directory arguments for consistency.
1286 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1287 datadir sysconfdir sharedstatedir localstatedir includedir \
1288 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1289 libdir localedir mandir
1291 eval ac_val
=\$
$ac_var
1292 # Remove trailing slashes.
1295 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1296 eval $ac_var=\
$ac_val;;
1298 # Be sure to have absolute directory names.
1300 [\\/$
]* | ?
:[\\/]* ) continue;;
1301 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1303 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1306 # There might be people who depend on the old broken behavior: `$host'
1307 # used to hold the argument of --host etc.
1308 # FIXME: To remove some day.
1311 target
=$target_alias
1313 # FIXME: To remove some day.
1314 if test "x$host_alias" != x
; then
1315 if test "x$build_alias" = x
; then
1316 cross_compiling
=maybe
1317 elif test "x$build_alias" != "x$host_alias"; then
1323 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1325 test "$silent" = yes && exec 6>/dev
/null
1328 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1329 ac_ls_di
=`ls -di .` &&
1330 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1331 as_fn_error $?
"working directory cannot be determined"
1332 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1333 as_fn_error $?
"pwd does not report name of working directory"
1336 # Find the source files, if location was not specified.
1337 if test -z "$srcdir"; then
1338 ac_srcdir_defaulted
=yes
1339 # Try the directory containing this script, then the parent directory.
1340 ac_confdir
=`$as_dirname -- "$as_myself" ||
1341 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1342 X"$as_myself" : 'X\(//\)[^/]' \| \
1343 X"$as_myself" : 'X\(//\)$' \| \
1344 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1345 $as_echo X"$as_myself" |
1346 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1364 if test ! -r "$srcdir/$ac_unique_file"; then
1368 ac_srcdir_defaulted
=no
1370 if test ! -r "$srcdir/$ac_unique_file"; then
1371 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1372 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1374 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1376 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1378 # When building in place, set srcdir=.
1379 if test "$ac_abs_confdir" = "$ac_pwd"; then
1382 # Remove unnecessary trailing slashes from srcdir.
1383 # Double slashes in file names in object file debugging info
1384 # mess up M-x gdb in Emacs.
1386 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1388 for ac_var
in $ac_precious_vars; do
1389 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1390 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1391 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1392 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1396 # Report the --help message.
1398 if test "$ac_init_help" = "long"; then
1399 # Omit some internal or obsolete options to make the list less imposing.
1400 # This message is too long to be a string in the A/UX 3.1 sh.
1402 \`configure' configures smartmontools 7.0 to adapt to many kinds of systems.
1404 Usage: $0 [OPTION]... [VAR=VALUE]...
1406 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1407 VAR=VALUE. See below for descriptions of some of the useful variables.
1409 Defaults for the options are specified in brackets.
1412 -h, --help display this help and exit
1413 --help=short display options specific to this package
1414 --help=recursive display the short help of all the included packages
1415 -V, --version display version information and exit
1416 -q, --quiet, --silent do not print \`checking ...' messages
1417 --cache-file=FILE cache test results in FILE [disabled]
1418 -C, --config-cache alias for \`--cache-file=config.cache'
1419 -n, --no-create do not create output files
1420 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1422 Installation directories:
1423 --prefix=PREFIX install architecture-independent files in PREFIX
1424 [$ac_default_prefix]
1425 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1428 By default, \`make install' will install all the files in
1429 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1430 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1431 for instance \`--prefix=\$HOME'.
1433 For better control, use the options below.
1435 Fine tuning of the installation directories:
1436 --bindir=DIR user executables [EPREFIX/bin]
1437 --sbindir=DIR system admin executables [EPREFIX/sbin]
1438 --libexecdir=DIR program executables [EPREFIX/libexec]
1439 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1440 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1441 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1442 --libdir=DIR object code libraries [EPREFIX/lib]
1443 --includedir=DIR C header files [PREFIX/include]
1444 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1445 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1446 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1447 --infodir=DIR info documentation [DATAROOTDIR/info]
1448 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1449 --mandir=DIR man documentation [DATAROOTDIR/man]
1450 --docdir=DIR documentation root [DATAROOTDIR/doc/smartmontools]
1451 --htmldir=DIR html documentation [DOCDIR]
1452 --dvidir=DIR dvi documentation [DOCDIR]
1453 --pdfdir=DIR pdf documentation [DOCDIR]
1454 --psdir=DIR ps documentation [DOCDIR]
1460 --program-prefix=PREFIX prepend PREFIX to installed program names
1461 --program-suffix=SUFFIX append SUFFIX to installed program names
1462 --program-transform-name=PROGRAM run
sed PROGRAM on installed program names
1465 --build=BUILD configure
for building on BUILD
[guessed
]
1466 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1470 if test -n "$ac_init_help"; then
1471 case $ac_init_help in
1472 short | recursive
) echo "Configuration of smartmontools 7.0:";;
1477 --disable-option-checking ignore unrecognized
--enable/--with options
1478 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1479 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1480 --enable-silent-rules less verbose build output
(undo
: "make V=1")
1481 --disable-silent-rules verbose build output
(undo
: "make V=0")
1482 --enable-maintainer-mode
1483 enable make rules and dependencies not useful
(and
1484 sometimes confusing
) to the casual installer
1485 --enable-dependency-tracking
1486 do not reject slow dependency extractors
1487 --disable-dependency-tracking
1488 speeds up one-time build
1489 --enable-sample Enables appending .sample to the installed smartd rc
1490 script and configuration
file
1491 --enable-scsi-cdb-check do sanity check on each SCSI cdb
1492 --disable-fast-lebe use generic little-endian
/big-endian code instead
1495 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1496 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1497 --with-initscriptdir=[DIR|no
]
1498 Location of init scripts
[no
]
1499 --with-exampledir=DIR Location of example scripts
[DOCDIR
/examplescripts
]
1500 --with-drivedbdir[=DIR|
yes|no
]
1501 Location of drive database
file
1502 [DATADIR
/smartmontools
]
1503 --with-update-smart-drivedb[=yes|no|X.Y
]
1504 Install update-smart-drivedb
script (and backport it
1505 to branches
/RELEASE_X_Y_DRIVEDB
) [yes]
1506 --with-gnupg[=FILE|
yes|no
]
1507 GnuPG used to verify drivedb.h
[gpg
]
1508 --with-smartdscriptdir=DIR
1509 Location of smartd_warning.sh
script [SYSCONFDIR
]
1510 --with-smartdplugindir=[DIR|no
]
1511 Location of smartd_warning.sh plugin scripts
1512 [SMARTDSCRIPTDIR
/smartd_warning.d
]
1513 --with-scriptpath=[PATH|no
]
1514 PATH variable
set within scripts
1515 [/usr
/local
/bin
:/usr
/bin
:/bin
]
1516 --with-savestates[=PREFIX|
yes|no
]
1517 Enable default smartd state files
[no
]
1518 (yes=LOCALSTATEDIR
/lib
/smartmontools
/smartd.
)
1519 --with-attributelog[=PREFIX|
yes|no
]
1520 Enable default smartd attribute log files
[no
]
1521 (yes=LOCALSTATEDIR
/lib
/smartmontools
/attrlog.
)
1522 --with-os-deps='os_module.o ...'
1523 Specify OS dependent module
(s
) [guessed
]
1524 --with-selinux[=yes|no
] Enables SELinux support
[no
]
1525 --with-libcap-ng[=auto|
yes|no
]
1526 Add Libcap-ng support to smartd
[auto
]
1527 --with-libsystemd[=auto|
yes|no
]
1528 Add systemd
'Type=notify' support to smartd
[auto
]
1529 --with-systemdsystemunitdir[=DIR|auto|
yes|no
]
1530 Location of systemd service files
[auto
]
1531 --with-systemdenvfile[=FILE|auto|
yes|no
]
1532 Path of systemd EnvironmentFile
[auto
]
1533 --with-nvme-devicescan[=yes|no
]
1534 Include NVMe devices
in smartd DEVICESCAN
1535 [Linux
,Windows
:yes;Others
:no
]
1536 --with-solaris-sparc-ata[=yes|no
]
1537 Enable legacy ATA support on Solaris SPARC
(requires
1538 os_solaris_ata.s from SVN repository
) [no
]
1539 --with-signal-func=[sigaction|sigset|signal
]
1540 Function to
set signal
(2) action
[sigaction
]
1541 --with-working-snprintf[=yes|no
]
1542 Function snprintf
() handles output truncation as
1543 specified by C99
[yes]
1544 --with-mingw-aslr[=auto|
yes|low|no
]
1545 Enable ASLR
for MinGW executables
[auto
]
1546 --with-cxx11-option=[OPTION|auto|no
]
1547 Compiler option to
enable C
++11 support
for future
1548 versions of smartmontools
, 'no' if unsupported
1550 --with-cxx11-regex[=yes|no
]
1551 Use C
++11 std
::regex instead of POSIX regex
(3) [no
]
1553 Some influential environment variables
:
1554 CXX C
++ compiler
command
1555 CXXFLAGS C
++ compiler flags
1556 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1557 nonstandard directory
<lib dir
>
1558 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1559 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1560 you have headers
in a nonstandard directory
<include dir
>
1561 CC C compiler
command
1562 CFLAGS C compiler flags
1563 CCAS assembler compiler
command (defaults to CC
)
1564 CCASFLAGS assembler compiler flags
(defaults to CFLAGS
)
1565 PKG_CONFIG path to pkg-config utility
1567 directories to add to pkg-config
's search path
1569 path overriding pkg-config's built-in search path
1570 WINDMC Windows message compiler
command
1571 WINDRES Windows resource compiler
command
1572 MAKENSIS NSIS compiler
command
1573 CXXCPP C
++ preprocessor
1575 Use these variables to override the choices made by
`configure' or to help
1576 it to find libraries and programs with nonstandard names/locations.
1578 Report bugs to <smartmontools-support@listi.jpberlin.de>.
1583 if test "$ac_init_help" = "recursive"; then
1584 # If there are subdirs, report their specific --help.
1585 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1586 test -d "$ac_dir" ||
1587 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1592 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1594 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1595 # A ".." for each directory in $ac_dir_suffix.
1596 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1597 case $ac_top_builddir_sub in
1598 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1599 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1602 ac_abs_top_builddir=$ac_pwd
1603 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1604 # for backward compatibility:
1605 ac_top_builddir=$ac_top_build_prefix
1608 .) # We are building in place.
1610 ac_top_srcdir=$ac_top_builddir_sub
1611 ac_abs_top_srcdir=$ac_pwd ;;
1612 [\\/]* | ?:[\\/]* ) # Absolute name.
1613 ac_srcdir=$srcdir$ac_dir_suffix;
1614 ac_top_srcdir=$srcdir
1615 ac_abs_top_srcdir=$srcdir ;;
1617 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1618 ac_top_srcdir=$ac_top_build_prefix$srcdir
1619 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1621 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1623 cd "$ac_dir" || { ac_status=$?; continue; }
1624 # Check for guested configure.
1625 if test -f "$ac_srcdir/configure.gnu"; then
1627 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1628 elif test -f "$ac_srcdir/configure"; then
1630 $SHELL "$ac_srcdir/configure" --help=recursive
1632 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1634 cd "$ac_pwd" || { ac_status=$?; break; }
1638 test -n "$ac_init_help" && exit $ac_status
1639 if $ac_init_version; then
1641 smartmontools configure 7.0
1642 generated by GNU Autoconf 2.69
1644 Copyright (C) 2012 Free Software Foundation, Inc.
1645 This configure script is free software; the Free Software Foundation
1646 gives unlimited permission to copy, distribute and modify it.
1651 ## ------------------------ ##
1652 ## Autoconf initialization. ##
1653 ## ------------------------ ##
1655 # ac_fn_cxx_try_compile LINENO
1656 # ----------------------------
1657 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1658 ac_fn_cxx_try_compile ()
1660 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1661 rm -f conftest.$ac_objext
1662 if { { ac_try="$ac_compile"
1664 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1665 *) ac_try_echo
=$ac_try;;
1667 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1668 $as_echo "$ac_try_echo"; } >&5
1669 (eval "$ac_compile") 2>conftest.err
1671 if test -s conftest.err
; then
1672 grep -v '^ *+' conftest.err
>conftest.er1
1673 cat conftest.er1
>&5
1674 mv -f conftest.er1 conftest.err
1676 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1677 test $ac_status = 0; } && {
1678 test -z "$ac_cxx_werror_flag" ||
1679 test ! -s conftest.err
1680 } && test -s conftest.
$ac_objext; then :
1683 $as_echo "$as_me: failed program was:" >&5
1684 sed 's/^/| /' conftest.
$ac_ext >&5
1688 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1689 as_fn_set_status
$ac_retval
1691 } # ac_fn_cxx_try_compile
1693 # ac_fn_c_try_compile LINENO
1694 # --------------------------
1695 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1696 ac_fn_c_try_compile
()
1698 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1699 rm -f conftest.
$ac_objext
1700 if { { ac_try
="$ac_compile"
1702 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1703 *) ac_try_echo=$ac_try;;
1705 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1706 $as_echo "$ac_try_echo"; } >&5
1707 (eval "$ac_compile") 2>conftest.err
1709 if test -s conftest.err; then
1710 grep -v '^ *+' conftest.err >conftest.er1
1711 cat conftest.er1 >&5
1712 mv -f conftest.er1 conftest.err
1714 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1715 test $ac_status = 0; } && {
1716 test -z "$ac_c_werror_flag" ||
1717 test ! -s conftest.err
1718 } && test -s conftest.$ac_objext; then :
1721 $as_echo "$as_me: failed program was:" >&5
1722 sed 's/^/| /' conftest.$ac_ext >&5
1726 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1727 as_fn_set_status $ac_retval
1729 } # ac_fn_c_try_compile
1731 # ac_fn_cxx_try_cpp LINENO
1732 # ------------------------
1733 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1734 ac_fn_cxx_try_cpp ()
1736 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1737 if { { ac_try="$ac_cpp conftest.$ac_ext"
1739 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1740 *) ac_try_echo
=$ac_try;;
1742 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1743 $as_echo "$ac_try_echo"; } >&5
1744 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1746 if test -s conftest.err
; then
1747 grep -v '^ *+' conftest.err
>conftest.er1
1748 cat conftest.er1
>&5
1749 mv -f conftest.er1 conftest.err
1751 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1752 test $ac_status = 0; } > conftest.i
&& {
1753 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
1754 test ! -s conftest.err
1758 $as_echo "$as_me: failed program was:" >&5
1759 sed 's/^/| /' conftest.
$ac_ext >&5
1763 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1764 as_fn_set_status
$ac_retval
1766 } # ac_fn_cxx_try_cpp
1768 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
1769 # ---------------------------------------------------------
1770 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1771 # the include files in INCLUDES and setting the cache variable VAR
1773 ac_fn_cxx_check_header_mongrel
()
1775 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1776 if eval \
${$3+:} false
; then :
1777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1778 $as_echo_n "checking for $2... " >&6; }
1779 if eval \
${$3+:} false
; then :
1780 $as_echo_n "(cached) " >&6
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1786 # Is the header compilable?
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1788 $as_echo_n "checking $2 usability... " >&6; }
1789 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1790 /* end confdefs.h. */
1794 if ac_fn_cxx_try_compile
"$LINENO"; then :
1795 ac_header_compiler
=yes
1797 ac_header_compiler
=no
1799 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1801 $as_echo "$ac_header_compiler" >&6; }
1803 # Is the header present?
1804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1805 $as_echo_n "checking $2 presence... " >&6; }
1806 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1807 /* end confdefs.h. */
1810 if ac_fn_cxx_try_cpp
"$LINENO"; then :
1811 ac_header_preproc
=yes
1813 ac_header_preproc
=no
1815 rm -f conftest.err conftest.i conftest.
$ac_ext
1816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1817 $as_echo "$ac_header_preproc" >&6; }
1819 # So? What about this header?
1820 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
1822 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1823 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1824 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1825 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1829 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1830 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1831 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1832 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1833 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1834 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1835 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1836 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1837 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1838 ( $as_echo "## ------------------------------------------------------ ##
1839 ## Report this to smartmontools-support@listi.jpberlin.de ##
1840 ## ------------------------------------------------------ ##"
1841 ) |
sed "s/^/$as_me: WARNING: /" >&2
1844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1845 $as_echo_n "checking for $2... " >&6; }
1846 if eval \
${$3+:} false
; then :
1847 $as_echo_n "(cached) " >&6
1849 eval "$3=\$ac_header_compiler"
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1853 $as_echo "$ac_res" >&6; }
1855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 } # ac_fn_cxx_check_header_mongrel
1859 # ac_fn_cxx_try_run LINENO
1860 # ------------------------
1861 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1862 # that executables *can* be run.
1863 ac_fn_cxx_try_run
()
1865 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1866 if { { ac_try
="$ac_link"
1868 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1869 *) ac_try_echo=$ac_try;;
1871 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1872 $as_echo "$ac_try_echo"; } >&5
1873 (eval "$ac_link") 2>&5
1875 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1876 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1877 { { case "(($ac_try" in
1878 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1879 *) ac_try_echo
=$ac_try;;
1881 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1882 $as_echo "$ac_try_echo"; } >&5
1883 (eval "$ac_try") 2>&5
1885 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1886 test $ac_status = 0; }; }; then :
1889 $as_echo "$as_me: program exited with status $ac_status" >&5
1890 $as_echo "$as_me: failed program was:" >&5
1891 sed 's/^/| /' conftest.
$ac_ext >&5
1893 ac_retval
=$ac_status
1895 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1897 as_fn_set_status
$ac_retval
1899 } # ac_fn_cxx_try_run
1901 # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
1902 # ---------------------------------------------------------
1903 # Tests whether HEADER exists and can be compiled using the include files in
1904 # INCLUDES, setting the cache variable VAR accordingly.
1905 ac_fn_cxx_check_header_compile
()
1907 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1908 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1909 $as_echo_n "checking for $2... " >&6; }
1910 if eval \
${$3+:} false
; then :
1911 $as_echo_n "(cached) " >&6
1913 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1914 /* end confdefs.h. */
1918 if ac_fn_cxx_try_compile
"$LINENO"; then :
1923 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1927 $as_echo "$ac_res" >&6; }
1928 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1930 } # ac_fn_cxx_check_header_compile
1932 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
1933 # ---------------------------------------------
1934 # Tests whether TYPE exists after having included INCLUDES, setting cache
1935 # variable VAR accordingly.
1936 ac_fn_cxx_check_type
()
1938 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1940 $as_echo_n "checking for $2... " >&6; }
1941 if eval \
${$3+:} false
; then :
1942 $as_echo_n "(cached) " >&6
1945 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1946 /* end confdefs.h. */
1957 if ac_fn_cxx_try_compile
"$LINENO"; then :
1958 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1959 /* end confdefs.h. */
1970 if ac_fn_cxx_try_compile
"$LINENO"; then :
1975 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1977 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1981 $as_echo "$ac_res" >&6; }
1982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1984 } # ac_fn_cxx_check_type
1986 # ac_fn_cxx_try_link LINENO
1987 # -------------------------
1988 # Try to link conftest.$ac_ext, and return whether this succeeded.
1989 ac_fn_cxx_try_link
()
1991 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1992 rm -f conftest.
$ac_objext conftest
$ac_exeext
1993 if { { ac_try
="$ac_link"
1995 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1996 *) ac_try_echo=$ac_try;;
1998 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1999 $as_echo "$ac_try_echo"; } >&5
2000 (eval "$ac_link") 2>conftest.err
2002 if test -s conftest.err; then
2003 grep -v '^ *+' conftest.err >conftest.er1
2004 cat conftest.er1 >&5
2005 mv -f conftest.er1 conftest.err
2007 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2008 test $ac_status = 0; } && {
2009 test -z "$ac_cxx_werror_flag" ||
2010 test ! -s conftest.err
2011 } && test -s conftest$ac_exeext && {
2012 test "$cross_compiling" = yes ||
2013 test -x conftest$ac_exeext
2017 $as_echo "$as_me: failed program was:" >&5
2018 sed 's/^/| /' conftest.$ac_ext >&5
2022 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2023 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2024 # interfere with the next link command; also delete a directory that is
2025 # left behind by Apple's compiler. We do this before executing the actions.
2026 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2027 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2028 as_fn_set_status $ac_retval
2030 } # ac_fn_cxx_try_link
2032 # ac_fn_cxx_check_func LINENO FUNC VAR
2033 # ------------------------------------
2034 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2035 ac_fn_cxx_check_func ()
2037 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2039 $as_echo_n "checking for $2... " >&6; }
2040 if eval \${$3+:} false; then :
2041 $as_echo_n "(cached) " >&6
2043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2044 /* end confdefs.h. */
2045 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2046 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2047 #define $2 innocuous_$2
2049 /* System header to define __stub macros and hopefully few prototypes,
2050 which can conflict with char $2 (); below.
2051 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2052 <limits.h> exists even on freestanding compilers. */
2055 # include <limits.h>
2057 # include <assert.h>
2062 /* Override any GCC internal prototype to avoid an error.
2063 Use char because int might match the return type of a GCC
2064 builtin and then its argument prototype would still apply. */
2069 /* The GNU C library defines this for functions which it implements
2070 to always fail with ENOSYS. Some functions are actually named
2071 something starting with __ and the normal name is an alias. */
2072 #if defined __stub_$2 || defined __stub___$2
2084 if ac_fn_cxx_try_link "$LINENO"; then :
2089 rm -f core conftest.err conftest.$ac_objext \
2090 conftest$ac_exeext conftest.$ac_ext
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2094 $as_echo "$ac_res" >&6; }
2095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2097 } # ac_fn_cxx_check_func
2098 cat >config.log <<_ACEOF
2099 This file contains any messages produced by compilers while
2100 running configure, to aid debugging if configure makes a mistake.
2102 It was created by smartmontools $as_me 7.0, which was
2103 generated by GNU Autoconf 2.69. Invocation command line was
2115 hostname = `(hostname || uname
-n) 2>/dev
/null |
sed 1q
`
2116 uname -m = `(uname
-m) 2>/dev
/null ||
echo unknown
`
2117 uname -r = `(uname
-r) 2>/dev
/null ||
echo unknown
`
2118 uname -s = `(uname
-s) 2>/dev
/null ||
echo unknown
`
2119 uname -v = `(uname
-v) 2>/dev
/null ||
echo unknown
`
2121 /usr/bin/uname -p = `(/usr
/bin
/uname
-p) 2>/dev
/null ||
echo unknown
`
2122 /bin/uname -X = `(/bin
/uname
-X) 2>/dev
/null ||
echo unknown
`
2124 /bin/arch = `(/bin
/arch
) 2>/dev
/null ||
echo unknown
`
2125 /usr/bin/arch -k = `(/usr
/bin
/arch
-k) 2>/dev
/null ||
echo unknown
`
2126 /usr/convex/getsysinfo = `(/usr
/convex
/getsysinfo
) 2>/dev
/null ||
echo unknown
`
2127 /usr/bin/hostinfo = `(/usr
/bin
/hostinfo
) 2>/dev
/null ||
echo unknown
`
2128 /bin/machine = `(/bin
/machine
) 2>/dev
/null ||
echo unknown
`
2129 /usr/bin/oslevel = `(/usr
/bin
/oslevel
) 2>/dev
/null ||
echo unknown
`
2130 /bin/universe = `(/bin
/universe
) 2>/dev
/null ||
echo unknown
`
2134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2138 test -z "$as_dir" && as_dir=.
2139 $as_echo "PATH: $as_dir"
2155 # Keep a trace of the command line.
2156 # Strip out --no-create and --no-recursion so they do not pile up.
2157 # Strip out --silent because we don't want to record it for future runs.
2158 # Also quote any args containing shell meta-characters.
2159 # Make two passes to allow for proper duplicate-argument suppression.
2163 ac_must_keep_next=false
2169 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2170 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2171 | -silent | --silent | --silen | --sile | --sil)
2174 ac_arg=`$as_echo "$ac_arg" |
sed "s/'/'\\\\\\\\''/g"` ;;
2177 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2179 as_fn_append ac_configure_args1 " '$ac_arg'"
2180 if test $ac_must_keep_next = true; then
2181 ac_must_keep_next=false # Got value, back to normal.
2184 *=* | --config-cache | -C | -disable-* | --disable-* \
2185 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2186 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2187 | -with-* | --with-* | -without-* | --without-* | --x)
2188 case "$ac_configure_args0 " in
2189 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2192 -* ) ac_must_keep_next=true ;;
2195 as_fn_append ac_configure_args " '$ac_arg'"
2200 { ac_configure_args0=; unset ac_configure_args0;}
2201 { ac_configure_args1=; unset ac_configure_args1;}
2203 # When interrupted or exit'd, cleanup temporary files, and complete
2204 # config.log. We remove comments because anyway the quotes in there
2205 # would cause problems or look ugly.
2206 # WARNING: Use '\'' to represent an apostrophe within the trap.
2207 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2208 trap 'exit_status=$?
2209 # Save into config.log some information that might help in debugging.
2213 $as_echo "## ---------------- ##
2214 ## Cache variables. ##
2215 ## ---------------- ##"
2217 # The following way of writing the cache mishandles newlines in values,
2219 for ac_var in `(set) 2>&1 |
sed -n '\''s
/^\
([a-zA-Z_
][a-zA-Z0-9_
]*\
)=.
*/\
1/p
'\''`; do
2220 eval ac_val=\$$ac_var
2224 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2225 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2228 _ | IFS | as_nl) ;; #(
2229 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2230 *) { eval $ac_var=; unset $ac_var;} ;;
2235 case $as_nl`(ac_space
='\'' '\''; set) 2>&1` in #(
2236 *${as_nl}ac_space=\ *)
2238 "s/'\''/'\''\\\\'\'''\''/g;
2239 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2242 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2249 $as_echo "## ----------------- ##
2250 ## Output variables. ##
2251 ## ----------------- ##"
2253 for ac_var in $ac_subst_vars
2255 eval ac_val=\$$ac_var
2257 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2259 $as_echo "$ac_var='\''$ac_val'\''"
2263 if test -n "$ac_subst_files"; then
2264 $as_echo "## ------------------- ##
2265 ## File substitutions. ##
2266 ## ------------------- ##"
2268 for ac_var in $ac_subst_files
2270 eval ac_val=\$$ac_var
2272 *\'\''*) ac_val=`$as_echo "$ac_val" |
sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2274 $as_echo "$ac_var='\''$ac_val'\''"
2279 if test -s confdefs.h; then
2280 $as_echo "## ----------- ##
2287 test "$ac_signal" != 0 &&
2288 $as_echo "$as_me: caught signal $ac_signal"
2289 $as_echo "$as_me: exit $exit_status"
2291 rm -f core *.core core.conftest.* &&
2292 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2295 for ac_signal in 1 2 13 15; do
2296 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2300 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2301 rm -f -r conftest* confdefs.h
2303 $as_echo "/* confdefs.h */" > confdefs.h
2305 # Predefined preprocessor variables.
2307 cat >>confdefs.h <<_ACEOF
2308 #define PACKAGE_NAME "$PACKAGE_NAME"
2311 cat >>confdefs.h <<_ACEOF
2312 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2315 cat >>confdefs.h <<_ACEOF
2316 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2319 cat >>confdefs.h <<_ACEOF
2320 #define PACKAGE_STRING "$PACKAGE_STRING"
2323 cat >>confdefs.h <<_ACEOF
2324 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2327 cat >>confdefs.h <<_ACEOF
2328 #define PACKAGE_URL "$PACKAGE_URL"
2332 # Let the site file select an alternate cache file if it wants to.
2333 # Prefer an explicitly selected file to automatically selected ones.
2336 if test -n "$CONFIG_SITE"; then
2337 # We do not want a PATH search for config.site.
2338 case $CONFIG_SITE in #((
2339 -*) ac_site_file1=./$CONFIG_SITE;;
2340 */*) ac_site_file1=$CONFIG_SITE;;
2341 *) ac_site_file1=./$CONFIG_SITE;;
2343 elif test "x$prefix" != xNONE; then
2344 ac_site_file1=$prefix/share/config.site
2345 ac_site_file2=$prefix/etc/config.site
2347 ac_site_file1=$ac_default_prefix/share/config.site
2348 ac_site_file2=$ac_default_prefix/etc/config.site
2350 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2352 test "x$ac_site_file" = xNONE && continue
2353 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2354 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2355 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2356 sed 's/^/| /' "$ac_site_file" >&5
2358 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2359 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2360 as_fn_error $? "failed to load site
script $ac_site_file
2361 See \
`config.log' for more details" "$LINENO" 5; }
2365 if test -r "$cache_file"; then
2366 # Some versions of bash will fail to source /dev/null (special files
2367 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2368 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2370 $as_echo "$as_me: loading cache $cache_file" >&6;}
2372 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2373 *) . "./$cache_file";;
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2378 $as_echo "$as_me: creating cache $cache_file" >&6;}
2382 # Check that the precious variables saved in the cache have kept the same
2384 ac_cache_corrupted=false
2385 for ac_var in $ac_precious_vars; do
2386 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2387 eval ac_new_set=\$ac_env_${ac_var}_set
2388 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2389 eval ac_new_val=\$ac_env_${ac_var}_value
2390 case $ac_old_set,$ac_new_set in
2392 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run
" >&5
2393 $as_echo "$as_me: error
: \
`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2394 ac_cache_corrupted=: ;;
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not
set in the previous run
" >&5
2397 $as_echo "$as_me: error
: \
`$ac_var' was not set in the previous run" >&2;}
2398 ac_cache_corrupted=: ;;
2401 if test "x$ac_old_val" != "x$ac_new_val"; then
2402 # differences in whitespace do not lead to failure.
2403 ac_old_val_w=`echo x
$ac_old_val`
2404 ac_new_val_w=`echo x
$ac_new_val`
2405 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2407 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run
:" >&2;}
2408 ac_cache_corrupted=:
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: warning
: ignoring whitespace changes
in \
`$ac_var' since the previous run:" >&5
2411 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2412 eval $ac_var=\$ac_old_val
2414 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2415 $as_echo "$as_me: former value
: \
`$ac_old_val'" >&2;}
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2417 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2420 # Pass precious variables to config.status.
2421 if test "$ac_new_set" = set; then
2423 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s
/'/'\\\\\\\\''/g
"` ;;
2424 *) ac_arg=$ac_var=$ac_new_val ;;
2426 case " $ac_configure_args " in
2427 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2428 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2432 if $ac_cache_corrupted; then
2433 { $as_echo "$as_me:${as_lineno-$LINENO}: error
: in \
`$ac_pwd':" >&5
2434 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2436 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2437 as_fn_error $? "run \`make distclean' and
/or \
`rm $cache_file' and start over" "$LINENO" 5
2439 ## -------------------- ##
2440 ## Main body of script. ##
2441 ## -------------------- ##
2444 ac_cpp='$CPP $CPPFLAGS'
2445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2450 am__api_version='1.15'
2453 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2454 if test -f "$ac_dir/install-sh"; then
2456 ac_install_sh="$ac_aux_dir/install-sh -c"
2458 elif test -f "$ac_dir/install.sh"; then
2460 ac_install_sh="$ac_aux_dir/install.sh -c"
2462 elif test -f "$ac_dir/shtool"; then
2464 ac_install_sh="$ac_aux_dir/shtool install -c"
2468 if test -z "$ac_aux_dir"; then
2469 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2472 # These three variables are undocumented and unsupported,
2473 # and are intended to be withdrawn in a future Autoconf release.
2474 # They can cause serious problems if a builder's source tree is in a directory
2475 # whose full name contains unusual characters.
2476 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2477 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2478 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2481 # Find a good install program. We prefer a C program (faster),
2482 # so one script is as good as another. But avoid the broken or
2483 # incompatible versions:
2484 # SysV /etc/install, /usr/sbin/install
2485 # SunOS /usr/etc/install
2486 # IRIX /sbin/install
2488 # AmigaOS /C/install, which installs bootblocks on floppy discs
2489 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2490 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2491 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2492 # OS/2's system install, which has a completely different semantic
2493 # ./install, which can be erroneously created by make from ./install.sh.
2494 # Reject install programs that cannot install multiple files.
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2496 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2497 if test -z "$INSTALL"; then
2498 if ${ac_cv_path_install+:} false; then :
2499 $as_echo_n "(cached) " >&6
2501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2505 test -z "$as_dir" && as_dir=.
2506 # Account for people who put trailing slashes in PATH elements.
2507 case $as_dir/ in #((
2508 ./ | .// | /[cC]/* | \
2509 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2510 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2513 # OSF1 and SCO ODT 3.0 have their own names for install.
2514 # Don't use installbsd from OSF since it installs stuff as root
2516 for ac_prog in ginstall scoinst install; do
2517 for ac_exec_ext in '' $ac_executable_extensions; do
2518 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2519 if test $ac_prog = install &&
2520 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2521 # AIX install. It has an incompatible calling convention.
2523 elif test $ac_prog = install &&
2524 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2525 # program-specific install script used by HP pwplus--don't use.
2528 rm -rf conftest.one conftest.two conftest.dir
2529 echo one > conftest.one
2530 echo two > conftest.two
2532 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2533 test -s conftest.one && test -s conftest.two &&
2534 test -s conftest.dir/conftest.one &&
2535 test -s conftest.dir/conftest.two
2537 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2550 rm -rf conftest.one conftest.two conftest.dir
2553 if test "${ac_cv_path_install+set}" = set; then
2554 INSTALL=$ac_cv_path_install
2556 # As a last resort, use the slow shell script. Don't cache a
2557 # value for INSTALL within a source directory, because that will
2558 # break other packages using the cache if that directory is
2559 # removed, or if the value is a relative name.
2560 INSTALL=$ac_install_sh
2563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2564 $as_echo "$INSTALL" >&6; }
2566 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2567 # It thinks the first close brace ends the variable substitution.
2568 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2570 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2572 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2575 $as_echo_n "checking whether build environment is sane... " >&6; }
2576 # Reject unsafe characters in $srcdir or the absolute working directory
2577 # name. Accept space and tab only in the latter.
2581 *[\\\"\#\$\&\'\`$am_lf]*)
2582 as_fn_error $?
"unsafe absolute working directory name" "$LINENO" 5;;
2585 *[\\\"\
#\$\&\'\`$am_lf\ \ ]*)
2586 as_fn_error $?
"unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2589 # Do 'set' in a subshell so we don't clobber the current shell's
2590 # arguments. Must try -L first in case configure is actually a
2591 # symlink; some systems play weird games with the mod time of symlinks
2592 # (eg FreeBSD returns the mod time of the symlink's containing
2596 for am_try
in 1 2; do
2597 echo "timestamp, slept: $am_has_slept" > conftest.
file
2598 set X
`ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2599 if test "$*" = "X"; then
2601 set X
`ls -t "$srcdir/configure" conftest.file`
2603 if test "$*" != "X $srcdir/configure conftest.file" \
2604 && test "$*" != "X conftest.file $srcdir/configure"; then
2606 # If neither matched, then we have a broken ls. This can happen
2607 # if, for instance, CONFIG_SHELL is bash and it inherits a
2608 # broken ls alias from the environment. This has actually
2609 # happened. Such a system could not be considered "sane".
2610 as_fn_error $?
"ls -t appears to fail. Make sure there is not a broken
2611 alias in your environment" "$LINENO" 5
2613 if test "$2" = conftest.
file ||
test $am_try -eq 2; then
2620 test "$2" = conftest.
file
2626 as_fn_error $?
"newly created file is older than distributed files!
2627 Check your system clock" "$LINENO" 5
2629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2630 $as_echo "yes" >&6; }
2631 # If we didn't sleep, we still need to ensure time stamps of config.status and
2632 # generated files are strictly newer.
2634 if grep 'slept: no' conftest.
file >/dev
/null
2>&1; then
2641 test "$program_prefix" != NONE
&&
2642 program_transform_name
="s&^&$program_prefix&;$program_transform_name"
2643 # Use a double $ so make ignores it.
2644 test "$program_suffix" != NONE
&&
2645 program_transform_name
="s&\$&$program_suffix&;$program_transform_name"
2646 # Double any \ or $.
2647 # By default was `s,x,x', remove it if useless.
2648 ac_script
='s/[\\$]/&&/g;s/;s,x,x,$//'
2649 program_transform_name
=`$as_echo "$program_transform_name" | sed "$ac_script"`
2651 # Expand $ac_aux_dir to an absolute path.
2652 am_aux_dir
=`cd "$ac_aux_dir" && pwd`
2654 if test x
"${MISSING+set}" != xset
; then
2657 MISSING
="\${SHELL} \"$am_aux_dir/missing\"" ;;
2659 MISSING
="\${SHELL} $am_aux_dir/missing" ;;
2662 # Use eval to expand $SHELL
2663 if eval "$MISSING --is-lightweight"; then
2664 am_missing_run
="$MISSING "
2667 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2668 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2671 if test x
"${install_sh+set}" != xset
; then
2674 install_sh
="\${SHELL} '$am_aux_dir/install-sh'" ;;
2676 install_sh
="\${SHELL} $am_aux_dir/install-sh"
2680 # Installed binaries are usually stripped using 'strip' when the user
2681 # run "make install-strip". However 'strip' might not be the right
2682 # tool to use in cross-compilation environments, therefore Automake
2683 # will honor the 'STRIP' environment variable to overrule this program.
2684 if test "$cross_compiling" != no
; then
2685 if test -n "$ac_tool_prefix"; then
2686 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2687 set dummy
${ac_tool_prefix}strip
; ac_word
=$2
2688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2689 $as_echo_n "checking for $ac_word... " >&6; }
2690 if ${ac_cv_prog_STRIP+:} false
; then :
2691 $as_echo_n "(cached) " >&6
2693 if test -n "$STRIP"; then
2694 ac_cv_prog_STRIP
="$STRIP" # Let the user override the test.
2696 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2700 test -z "$as_dir" && as_dir
=.
2701 for ac_exec_ext
in '' $ac_executable_extensions; do
2702 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2703 ac_cv_prog_STRIP
="${ac_tool_prefix}strip"
2704 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2713 STRIP
=$ac_cv_prog_STRIP
2714 if test -n "$STRIP"; then
2715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2716 $as_echo "$STRIP" >&6; }
2718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2719 $as_echo "no" >&6; }
2724 if test -z "$ac_cv_prog_STRIP"; then
2726 # Extract the first word of "strip", so it can be a program name with args.
2727 set dummy strip
; ac_word
=$2
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2729 $as_echo_n "checking for $ac_word... " >&6; }
2730 if ${ac_cv_prog_ac_ct_STRIP+:} false
; then :
2731 $as_echo_n "(cached) " >&6
2733 if test -n "$ac_ct_STRIP"; then
2734 ac_cv_prog_ac_ct_STRIP
="$ac_ct_STRIP" # Let the user override the test.
2736 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2740 test -z "$as_dir" && as_dir
=.
2741 for ac_exec_ext
in '' $ac_executable_extensions; do
2742 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2743 ac_cv_prog_ac_ct_STRIP
="strip"
2744 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2753 ac_ct_STRIP
=$ac_cv_prog_ac_ct_STRIP
2754 if test -n "$ac_ct_STRIP"; then
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2756 $as_echo "$ac_ct_STRIP" >&6; }
2758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2759 $as_echo "no" >&6; }
2762 if test "x$ac_ct_STRIP" = x
; then
2765 case $cross_compiling:$ac_tool_warned in
2767 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2768 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2769 ac_tool_warned
=yes ;;
2774 STRIP
="$ac_cv_prog_STRIP"
2778 INSTALL_STRIP_PROGRAM
="\$(install_sh) -c -s"
2780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2781 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2782 if test -z "$MKDIR_P"; then
2783 if ${ac_cv_path_mkdir+:} false
; then :
2784 $as_echo_n "(cached) " >&6
2786 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2787 for as_dir
in $PATH$PATH_SEPARATOR/opt
/sfw
/bin
2790 test -z "$as_dir" && as_dir
=.
2791 for ac_prog
in mkdir gmkdir
; do
2792 for ac_exec_ext
in '' $ac_executable_extensions; do
2793 as_fn_executable_p
"$as_dir/$ac_prog$ac_exec_ext" ||
continue
2794 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2795 'mkdir (GNU coreutils) '* | \
2796 'mkdir (coreutils) '* | \
2797 'mkdir (fileutils) '4.1*)
2798 ac_cv_path_mkdir
=$as_dir/$ac_prog$ac_exec_ext
2808 test -d .
/--version && rmdir .
/--version
2809 if test "${ac_cv_path_mkdir+set}" = set; then
2810 MKDIR_P
="$ac_cv_path_mkdir -p"
2812 # As a last resort, use the slow shell script. Don't cache a
2813 # value for MKDIR_P within a source directory, because that will
2814 # break other packages using the cache if that directory is
2815 # removed, or if the value is a relative name.
2816 MKDIR_P
="$ac_install_sh -d"
2819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2820 $as_echo "$MKDIR_P" >&6; }
2822 for ac_prog
in gawk mawk nawk
awk
2824 # Extract the first word of "$ac_prog", so it can be a program name with args.
2825 set dummy
$ac_prog; ac_word
=$2
2826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2827 $as_echo_n "checking for $ac_word... " >&6; }
2828 if ${ac_cv_prog_AWK+:} false
; then :
2829 $as_echo_n "(cached) " >&6
2831 if test -n "$AWK"; then
2832 ac_cv_prog_AWK
="$AWK" # Let the user override the test.
2834 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2838 test -z "$as_dir" && as_dir
=.
2839 for ac_exec_ext
in '' $ac_executable_extensions; do
2840 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2841 ac_cv_prog_AWK
="$ac_prog"
2842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2852 if test -n "$AWK"; then
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2854 $as_echo "$AWK" >&6; }
2856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2857 $as_echo "no" >&6; }
2861 test -n "$AWK" && break
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2865 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2867 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2868 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
2869 $as_echo_n "(cached) " >&6
2871 cat >conftest.
make <<\_ACEOF
2874 @
echo '@@@%%%=$(MAKE)=@@@%%%'
2876 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2877 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2879 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
2881 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
2885 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2887 $as_echo "yes" >&6; }
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2891 $as_echo "no" >&6; }
2892 SET_MAKE
="MAKE=${MAKE-make}"
2895 rm -rf .tst
2>/dev
/null
2896 mkdir .tst
2>/dev
/null
2897 if test -d .tst
; then
2902 rmdir .tst
2>/dev
/null
2904 # Check whether --enable-silent-rules was given.
2905 if test "${enable_silent_rules+set}" = set; then :
2906 enableval
=$enable_silent_rules;
2909 case $enable_silent_rules in # (((
2910 yes) AM_DEFAULT_VERBOSITY
=0;;
2911 no
) AM_DEFAULT_VERBOSITY
=1;;
2912 *) AM_DEFAULT_VERBOSITY
=1;;
2914 am_make
=${MAKE-make}
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2916 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2917 if ${am_cv_make_support_nested_variables+:} false
; then :
2918 $as_echo_n "(cached) " >&6
2920 if $as_echo 'TRUE=$(BAR$(V))
2926 .PHONY: am__doit' |
$am_make -f - >/dev
/null
2>&1; then
2927 am_cv_make_support_nested_variables
=yes
2929 am_cv_make_support_nested_variables
=no
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2933 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2934 if test $am_cv_make_support_nested_variables = yes; then
2936 AM_DEFAULT_V
='$(AM_DEFAULT_VERBOSITY)'
2938 AM_V
=$AM_DEFAULT_VERBOSITY
2939 AM_DEFAULT_V
=$AM_DEFAULT_VERBOSITY
2943 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2944 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2945 # is not polluted with repeated "-I."
2946 am__isrc
=' -I$(srcdir)'
2947 # test to see if srcdir already configured
2948 if test -f $srcdir/config.status
; then
2949 as_fn_error $?
"source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2953 # test whether we have cygpath
2954 if test -z "$CYGPATH_W"; then
2955 if (cygpath
--version) >/dev
/null
2>/dev
/null
; then
2956 CYGPATH_W
='cygpath -w'
2963 # Define the identity of the package.
2964 PACKAGE
='smartmontools'
2968 cat >>confdefs.h
<<_ACEOF
2969 #define PACKAGE "$PACKAGE"
2973 cat >>confdefs.h
<<_ACEOF
2974 #define VERSION "$VERSION"
2977 # Some tools Automake needs.
2979 ACLOCAL
=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2982 AUTOCONF
=${AUTOCONF-"${am_missing_run}autoconf"}
2985 AUTOMAKE
=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2988 AUTOHEADER
=${AUTOHEADER-"${am_missing_run}autoheader"}
2991 MAKEINFO
=${MAKEINFO-"${am_missing_run}makeinfo"}
2993 # For better backward compatibility. To be removed once Automake 1.9.x
2994 # dies out for good. For more background, see:
2995 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2996 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2997 mkdir_p
='$(MKDIR_P)'
2999 # We need awk for the "check" target (and possibly the TAP driver). The
3000 # system "awk" is bad on some platforms.
3001 # Always define AMTAR for backward compatibility. Yes, it's still used
3002 # in the wild :-( We should find a proper way to deprecate it ...
3006 # We'll loop over all known methods to create a tar archive until one works.
3007 _am_tools
='gnutar pax cpio none'
3009 am__tar
='$${TAR-tar} chof - "$$tardir"' am__untar
='$${TAR-tar} xf -'
3016 # POSIX will say in a future version that running "rm -f" with no argument
3017 # is OK; and we want to be able to make that assumption in our Makefile
3018 # recipes. So use an aggressive probe to check that the usage we want is
3019 # actually supported "in the wild" to an acceptable degree.
3020 # See automake bug#10828.
3021 # To make any issue more visible, cause the running configure to be aborted
3022 # by default if the 'rm' program in use doesn't match our expectations; the
3023 # user can still override this though.
3024 if rm -f && rm -fr && rm -rf; then : OK
; else
3028 Your 'rm' program seems unable to run without file operands specified
3029 on the command line, even when the '-f' option is present. This is contrary
3030 to the behaviour of most rm programs out there, and not conforming with
3031 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3033 Please tell bug-automake@gnu.org about your system, including the value
3034 of your $PATH and any error possibly output before this message. This
3035 can help us improve future automake versions.
3038 if test x
"$ACCEPT_INFERIOR_RM_PROGRAM" = x
"yes"; then
3039 echo 'Configuration will proceed anyway, since you have set the' >&2
3040 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3044 Aborting the configuration process, to ensure you take notice of the issue.
3046 You can download and install GNU coreutils to get an 'rm' implementation
3047 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3049 If you want to complete the configuration process using your problematic
3050 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3051 to "yes", and re-run configure.
3054 as_fn_error $?
"Your 'rm' program is bad, sorry." "$LINENO" 5
3059 # Version of drive database branch
3060 smartmontools_drivedb_version
=7.0
3062 smartmontools_cvs_tag
=`echo '$Id: configure.ac 4883 2018-12-30 14:48:54Z chrfranke $'`
3063 smartmontools_release_date
=2018-12-30
3064 smartmontools_release_time
="14:47:55 UTC"
3067 cat >>confdefs.h
<<_ACEOF
3068 #define SMARTMONTOOLS_CONFIGURE_ARGS "$ac_configure_args"
3072 cat >>confdefs.h
<<_ACEOF
3073 #define SMARTMONTOOLS_RELEASE_DATE "$smartmontools_release_date"
3077 cat >>confdefs.h
<<_ACEOF
3078 #define SMARTMONTOOLS_RELEASE_TIME "$smartmontools_release_time"
3082 cat >>confdefs.h
<<_ACEOF
3083 #define CONFIG_H_CVSID "$smartmontools_cvs_tag"
3087 cat >>confdefs.h
<<_ACEOF
3088 #define PACKAGE_HOMEPAGE "https://www.smartmontools.org/"
3093 ac_config_headers
="$ac_config_headers config.h"
3097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
3098 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
3099 # Check whether --enable-maintainer-mode was given.
3100 if test "${enable_maintainer_mode+set}" = set; then :
3101 enableval
=$enable_maintainer_mode; USE_MAINTAINER_MODE
=$enableval
3103 USE_MAINTAINER_MODE
=no
3106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
3107 $as_echo "$USE_MAINTAINER_MODE" >&6; }
3108 if test $USE_MAINTAINER_MODE = yes; then
3109 MAINTAINER_MODE_TRUE
=
3110 MAINTAINER_MODE_FALSE
='#'
3112 MAINTAINER_MODE_TRUE
='#'
3113 MAINTAINER_MODE_FALSE
=
3116 MAINT
=$MAINTAINER_MODE_TRUE
3121 ac_cpp
='$CXXCPP $CPPFLAGS'
3122 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3123 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3124 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3127 ac_cpp
='$CXXCPP $CPPFLAGS'
3128 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3129 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3130 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
3131 if test -z "$CXX"; then
3132 if test -n "$CCC"; then
3135 if test -n "$ac_tool_prefix"; then
3136 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3138 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3139 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3141 $as_echo_n "checking for $ac_word... " >&6; }
3142 if ${ac_cv_prog_CXX+:} false
; then :
3143 $as_echo_n "(cached) " >&6
3145 if test -n "$CXX"; then
3146 ac_cv_prog_CXX
="$CXX" # Let the user override the test.
3148 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3152 test -z "$as_dir" && as_dir
=.
3153 for ac_exec_ext
in '' $ac_executable_extensions; do
3154 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3155 ac_cv_prog_CXX
="$ac_tool_prefix$ac_prog"
3156 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3166 if test -n "$CXX"; then
3167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
3168 $as_echo "$CXX" >&6; }
3170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3171 $as_echo "no" >&6; }
3175 test -n "$CXX" && break
3178 if test -z "$CXX"; then
3180 for ac_prog
in g
++ c
++ gpp aCC CC cxx cc
++ cl.exe FCC KCC RCC xlC_r xlC
3182 # Extract the first word of "$ac_prog", so it can be a program name with args.
3183 set dummy
$ac_prog; ac_word
=$2
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3185 $as_echo_n "checking for $ac_word... " >&6; }
3186 if ${ac_cv_prog_ac_ct_CXX+:} false
; then :
3187 $as_echo_n "(cached) " >&6
3189 if test -n "$ac_ct_CXX"; then
3190 ac_cv_prog_ac_ct_CXX
="$ac_ct_CXX" # Let the user override the test.
3192 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3196 test -z "$as_dir" && as_dir
=.
3197 for ac_exec_ext
in '' $ac_executable_extensions; do
3198 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
3199 ac_cv_prog_ac_ct_CXX
="$ac_prog"
3200 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3209 ac_ct_CXX
=$ac_cv_prog_ac_ct_CXX
3210 if test -n "$ac_ct_CXX"; then
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
3212 $as_echo "$ac_ct_CXX" >&6; }
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3215 $as_echo "no" >&6; }
3219 test -n "$ac_ct_CXX" && break
3222 if test "x$ac_ct_CXX" = x
; then
3225 case $cross_compiling:$ac_tool_warned in
3227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3229 ac_tool_warned
=yes ;;
3237 # Provide some information about the compiler.
3238 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
3241 for ac_option
in --version -v -V -qversion; do
3242 { { ac_try
="$ac_compiler $ac_option >&5"
3244 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3245 *) ac_try_echo=$ac_try;;
3247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3248 $as_echo "$ac_try_echo"; } >&5
3249 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3251 if test -s conftest.err; then
3253 ... rest of stderr output deleted ...
3254 10q' conftest.err >conftest.er1
3255 cat conftest.er1 >&5
3257 rm -f conftest.er1 conftest.err
3258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3259 test $ac_status = 0; }
3262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3263 /* end confdefs.h. */
3273 ac_clean_files_save=$ac_clean_files
3274 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3275 # Try to create an executable without -o first, disregard a.out.
3276 # It will help us diagnose broken compilers, and finding out an intuition
3278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C++ compiler works" >&5
3279 $as_echo_n "checking whether the C++ compiler works... " >&6; }
3280 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
3282 # The possible output files:
3283 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3286 for ac_file in $ac_files
3289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3290 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3295 if { { ac_try="$ac_link_default"
3297 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3298 *) ac_try_echo
=$ac_try;;
3300 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3301 $as_echo "$ac_try_echo"; } >&5
3302 (eval "$ac_link_default") 2>&5
3304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3305 test $ac_status = 0; }; then :
3306 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3307 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3308 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3309 # so that the user can short-circuit this test for compilers unknown to
3311 for ac_file
in $ac_files ''
3313 test -f "$ac_file" ||
continue
3315 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
3318 # We found the default executable, but exeext='' is most
3322 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
3324 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3326 # We set ac_cv_exeext here because the later test for it is not
3327 # safe: cross compilers may not add the suffix if given an `-o'
3328 # argument, so we may need to know it at that point already.
3329 # Even if this section looks crufty: it has the advantage of
3336 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
3341 if test -z "$ac_file"; then :
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3343 $as_echo "no" >&6; }
3344 $as_echo "$as_me: failed program was:" >&5
3345 sed 's/^/| /' conftest.
$ac_ext >&5
3347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3349 as_fn_error
77 "C++ compiler cannot create executables
3350 See \`config.log' for more details" "$LINENO" 5; }
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3353 $as_echo "yes" >&6; }
3355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler default output file name" >&5
3356 $as_echo_n "checking for C++ compiler default output file name... " >&6; }
3357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3358 $as_echo "$ac_file" >&6; }
3359 ac_exeext
=$ac_cv_exeext
3361 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
3362 ac_clean_files
=$ac_clean_files_save
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3364 $as_echo_n "checking for suffix of executables... " >&6; }
3365 if { { ac_try
="$ac_link"
3367 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3368 *) ac_try_echo=$ac_try;;
3370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3371 $as_echo "$ac_try_echo"; } >&5
3372 (eval "$ac_link") 2>&5
3374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3375 test $ac_status = 0; }; then :
3376 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
3377 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
3378 # work properly (i.e., refer to `conftest.exe'), while it won't with
3380 for ac_file
in conftest.exe conftest conftest.
*; do
3381 test -f "$ac_file" ||
continue
3383 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
3384 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
3390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3392 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
3393 See \`config.log' for more details" "$LINENO" 5; }
3395 rm -f conftest conftest
$ac_cv_exeext
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3397 $as_echo "$ac_cv_exeext" >&6; }
3399 rm -f conftest.
$ac_ext
3400 EXEEXT
=$ac_cv_exeext
3402 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3408 FILE *f = fopen ("conftest.out", "w");
3409 return ferror (f) || fclose (f) != 0;
3415 ac_clean_files
="$ac_clean_files conftest.out"
3416 # Check that the compiler produces executables we can run. If not, either
3417 # the compiler is broken, or we cross compile.
3418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3419 $as_echo_n "checking whether we are cross compiling... " >&6; }
3420 if test "$cross_compiling" != yes; then
3421 { { ac_try
="$ac_link"
3423 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3424 *) ac_try_echo=$ac_try;;
3426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3427 $as_echo "$ac_try_echo"; } >&5
3428 (eval "$ac_link") 2>&5
3430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3431 test $ac_status = 0; }
3432 if { ac_try='./conftest$ac_cv_exeext'
3433 { { case "(($ac_try" in
3434 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
3435 *) ac_try_echo
=$ac_try;;
3437 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3438 $as_echo "$ac_try_echo"; } >&5
3439 (eval "$ac_try") 2>&5
3441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3442 test $ac_status = 0; }; }; then
3445 if test "$cross_compiling" = maybe
; then
3448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3450 as_fn_error $?
"cannot run C++ compiled programs.
3451 If you meant to cross compile, use \`--host'.
3452 See \`config.log' for more details" "$LINENO" 5; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3457 $as_echo "$cross_compiling" >&6; }
3459 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
3460 ac_clean_files
=$ac_clean_files_save
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3462 $as_echo_n "checking for suffix of object files... " >&6; }
3463 if ${ac_cv_objext+:} false
; then :
3464 $as_echo_n "(cached) " >&6
3466 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3467 /* end confdefs.h. */
3477 rm -f conftest.o conftest.obj
3478 if { { ac_try
="$ac_compile"
3480 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
3481 *) ac_try_echo=$ac_try;;
3483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3484 $as_echo "$ac_try_echo"; } >&5
3485 (eval "$ac_compile") 2>&5
3487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3488 test $ac_status = 0; }; then :
3489 for ac_file in conftest.o conftest.obj conftest.*; do
3490 test -f "$ac_file" || continue;
3492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3493 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3498 $as_echo "$as_me: failed program was:" >&5
3499 sed 's/^/| /' conftest.$ac_ext >&5
3501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3503 as_fn_error $? "cannot compute suffix of object files
: cannot compile
3504 See \
`config.log' for more details" "$LINENO" 5; }
3506 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3509 $as_echo "$ac_cv_objext" >&6; }
3510 OBJEXT=$ac_cv_objext
3512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
3513 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
3514 if ${ac_cv_cxx_compiler_gnu+:} false; then :
3515 $as_echo_n "(cached) " >&6
3517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3518 /* end confdefs.h. */
3531 if ac_fn_cxx_try_compile "$LINENO"; then :
3536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3537 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
3541 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
3542 if test $ac_compiler_gnu = yes; then
3547 ac_test_CXXFLAGS=${CXXFLAGS+set}
3548 ac_save_CXXFLAGS=$CXXFLAGS
3549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
3550 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
3551 if ${ac_cv_prog_cxx_g+:} false; then :
3552 $as_echo_n "(cached) " >&6
3554 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
3555 ac_cxx_werror_flag=yes
3558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3559 /* end confdefs.h. */
3569 if ac_fn_cxx_try_compile "$LINENO"; then :
3570 ac_cv_prog_cxx_g=yes
3573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3574 /* end confdefs.h. */
3584 if ac_fn_cxx_try_compile "$LINENO"; then :
3587 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3590 /* end confdefs.h. */
3600 if ac_fn_cxx_try_compile "$LINENO"; then :
3601 ac_cv_prog_cxx_g=yes
3603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3608 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
3610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
3611 $as_echo "$ac_cv_prog_cxx_g" >&6; }
3612 if test "$ac_test_CXXFLAGS" = set; then
3613 CXXFLAGS=$ac_save_CXXFLAGS
3614 elif test $ac_cv_prog_cxx_g = yes; then
3615 if test "$GXX" = yes; then
3621 if test "$GXX" = yes; then
3628 ac_cpp='$CXXCPP $CPPFLAGS'
3629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
3632 DEPDIR="${am__leading_dot}deps"
3634 ac_config_commands="$ac_config_commands depfiles"
3637 am_make=${MAKE-make}
3638 cat > confinc << 'END'
3640 @echo this is the am__doit target
3643 # If we don't find an include directive, just comment out the code.
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3645 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3649 # First try GNU make style include.
3650 echo "include confinc" > confmf
3651 # Ignore all kinds of additional output from 'make'.
3652 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3653 *the\ am__doit\ target*)
3659 # Now try BSD make style include.
3660 if test "$am__include" = "#"; then
3661 echo '.include "confinc"' > confmf
3662 case `$am_make -s -f confmf
2> /dev
/null
` in #(
3663 *the\ am__doit\ target*)
3664 am__include=.include
3672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3673 $as_echo "$_am_result" >&6; }
3674 rm -f confinc confmf
3676 # Check whether --enable-dependency-tracking was given.
3677 if test "${enable_dependency_tracking+set}" = set; then :
3678 enableval=$enable_dependency_tracking;
3681 if test "x$enable_dependency_tracking" != xno; then
3682 am_depcomp="$ac_aux_dir/depcomp"
3686 if test "x$enable_dependency_tracking" != xno; then
3696 depcc="$CXX" am_compiler_list=
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3699 $as_echo_n "checking dependency style of $depcc... " >&6; }
3700 if ${am_cv_CXX_dependencies_compiler_type+:} false; then :
3701 $as_echo_n "(cached) " >&6
3703 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3704 # We make a subdir and do the tests there. Otherwise we can end up
3705 # making bogus files that we don't know about and never remove. For
3706 # instance it was reported that on HP-UX the gcc test will end up
3707 # making a dummy file named 'D' -- because '-MD' means "put the output
3711 # Copy depcomp to subdir because otherwise we won't find it if we're
3712 # using a relative directory.
3713 cp "$am_depcomp" conftest.dir
3715 # We will build objects and dependencies in a subdirectory because
3716 # it helps to detect inapplicable dependency modes. For instance
3717 # both Tru64's cc and ICC support -MD to output dependencies as a
3718 # side effect of compilation, but ICC will put the dependencies in
3719 # the current directory while Tru64 will put them in the object
3723 am_cv_CXX_dependencies_compiler_type=none
3724 if test "$am_compiler_list" = ""; then
3725 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < .
/depcomp
`
3728 case " $depcc " in #(
3729 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3732 for depmode in $am_compiler_list; do
3733 # Setup a source with many dependencies, because some compilers
3734 # like to wrap large dependency lists on column 80 (with \), and
3735 # we should not choose a depcomp mode which is confused by this.
3737 # We need to recreate these files for each test, as the compiler may
3738 # overwrite some of them when testing with obscure command lines.
3739 # This happens at least with the AIX C compiler.
3741 for i in 1 2 3 4 5 6; do
3742 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3743 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3744 # Solaris 10 /bin/sh.
3745 echo '/* dummy */' > sub/conftst$i.h
3747 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3749 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3750 # mode. It turns out that the SunPro C++ compiler does not properly
3751 # handle '-M -o', and we need to detect this. Also, some Intel
3752 # versions had trouble with output in subdirs.
3753 am__obj=sub/conftest.${OBJEXT-o}
3754 am__minus_obj="-o $am__obj"
3757 # This depmode causes a compiler race in universal mode.
3758 test "$am__universal" = false || continue
3761 # After this tag, mechanisms are not by side-effect, so they'll
3762 # only be used when explicitly requested.
3763 if test "x$enable_dependency_tracking" = xyes; then
3769 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3770 # This compiler won't grok '-c -o', but also, the minuso test has
3771 # not run yet. These depmodes are late enough in the game, and
3772 # so weak that their functioning should not be impacted.
3773 am__obj=conftest.${OBJEXT-o}
3778 if depmode=$depmode \
3779 source=sub/conftest.c object=$am__obj \
3780 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3781 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3782 >/dev/null 2>conftest.err &&
3783 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3784 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3785 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3786 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3787 # icc doesn't choke on unknown options, it will just issue warnings
3788 # or remarks (even with -Werror). So we grep stderr for any message
3789 # that says an option was ignored or not supported.
3790 # When given -MP, icc 7.0 and 7.1 complain thusly:
3791 # icc: Command line warning: ignoring option '-M'; no argument required
3792 # The diagnosis changed in icc 8.0:
3793 # icc: Command line remark: option '-MP' not supported
3794 if (grep 'ignoring option' conftest.err ||
3795 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3796 am_cv_CXX_dependencies_compiler_type=$depmode
3805 am_cv_CXX_dependencies_compiler_type=none
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CXX_dependencies_compiler_type" >&5
3810 $as_echo "$am_cv_CXX_dependencies_compiler_type" >&6; }
3811 CXXDEPMODE=depmode=$am_cv_CXX_dependencies_compiler_type
3814 test "x$enable_dependency_tracking" != xno \
3815 && test "$am_cv_CXX_dependencies_compiler_type" = gcc3; then
3816 am__fastdepCXX_TRUE=
3817 am__fastdepCXX_FALSE='#'
3819 am__fastdepCXX_TRUE='#'
3820 am__fastdepCXX_FALSE=
3825 ac_cpp='$CPP $CPPFLAGS'
3826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3829 if test -n "$ac_tool_prefix"; then
3830 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3831 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3833 $as_echo_n "checking for $ac_word... " >&6; }
3834 if ${ac_cv_prog_CC+:} false; then :
3835 $as_echo_n "(cached) " >&6
3837 if test -n "$CC"; then
3838 ac_cv_prog_CC="$CC" # Let the user override the test.
3840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3844 test -z "$as_dir" && as_dir=.
3845 for ac_exec_ext in '' $ac_executable_extensions; do
3846 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3847 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3848 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3858 if test -n "$CC"; then
3859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3860 $as_echo "$CC" >&6; }
3862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3863 $as_echo "no" >&6; }
3868 if test -z "$ac_cv_prog_CC"; then
3870 # Extract the first word of "gcc", so it can be a program name with args.
3871 set dummy gcc; ac_word=$2
3872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3873 $as_echo_n "checking for $ac_word... " >&6; }
3874 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3875 $as_echo_n "(cached) " >&6
3877 if test -n "$ac_ct_CC"; then
3878 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3880 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3884 test -z "$as_dir" && as_dir=.
3885 for ac_exec_ext in '' $ac_executable_extensions; do
3886 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3887 ac_cv_prog_ac_ct_CC="gcc"
3888 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3898 if test -n "$ac_ct_CC"; then
3899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3900 $as_echo "$ac_ct_CC" >&6; }
3902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3903 $as_echo "no" >&6; }
3906 if test "x$ac_ct_CC" = x; then
3909 case $cross_compiling:$ac_tool_warned in
3911 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3912 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3913 ac_tool_warned=yes ;;
3921 if test -z "$CC"; then
3922 if test -n "$ac_tool_prefix"; then
3923 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3924 set dummy ${ac_tool_prefix}cc; ac_word=$2
3925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3926 $as_echo_n "checking for $ac_word... " >&6; }
3927 if ${ac_cv_prog_CC+:} false; then :
3928 $as_echo_n "(cached) " >&6
3930 if test -n "$CC"; then
3931 ac_cv_prog_CC="$CC" # Let the user override the test.
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3937 test -z "$as_dir" && as_dir=.
3938 for ac_exec_ext in '' $ac_executable_extensions; do
3939 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3940 ac_cv_prog_CC="${ac_tool_prefix}cc"
3941 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3951 if test -n "$CC"; then
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3953 $as_echo "$CC" >&6; }
3955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3956 $as_echo "no" >&6; }
3962 if test -z "$CC"; then
3963 # Extract the first word of "cc", so it can be a program name with args.
3964 set dummy cc; ac_word=$2
3965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3966 $as_echo_n "checking for $ac_word... " >&6; }
3967 if ${ac_cv_prog_CC+:} false; then :
3968 $as_echo_n "(cached) " >&6
3970 if test -n "$CC"; then
3971 ac_cv_prog_CC="$CC" # Let the user override the test.
3974 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3978 test -z "$as_dir" && as_dir=.
3979 for ac_exec_ext in '' $ac_executable_extensions; do
3980 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3981 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3982 ac_prog_rejected=yes
3986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3993 if test $ac_prog_rejected = yes; then
3994 # We found a bogon in the path, so make sure we never use it.
3995 set dummy $ac_cv_prog_CC
3997 if test $# != 0; then
3998 # We chose a different compiler from the bogus one.
3999 # However, it has the same basename, so the bogon will be chosen
4000 # first if we set CC to just the basename; use the full file name.
4002 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4008 if test -n "$CC"; then
4009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4010 $as_echo "$CC" >&6; }
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4018 if test -z "$CC"; then
4019 if test -n "$ac_tool_prefix"; then
4020 for ac_prog in cl.exe
4022 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4023 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4025 $as_echo_n "checking for $ac_word... " >&6; }
4026 if ${ac_cv_prog_CC+:} false; then :
4027 $as_echo_n "(cached) " >&6
4029 if test -n "$CC"; then
4030 ac_cv_prog_CC="$CC" # Let the user override the test.
4032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4039 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4040 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4050 if test -n "$CC"; then
4051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4052 $as_echo "$CC" >&6; }
4054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4055 $as_echo "no" >&6; }
4059 test -n "$CC" && break
4062 if test -z "$CC"; then
4064 for ac_prog in cl.exe
4066 # Extract the first word of "$ac_prog", so it can be a program name with args.
4067 set dummy $ac_prog; ac_word=$2
4068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4069 $as_echo_n "checking for $ac_word... " >&6; }
4070 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4071 $as_echo_n "(cached) " >&6
4073 if test -n "$ac_ct_CC"; then
4074 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 test -z "$as_dir" && as_dir=.
4081 for ac_exec_ext in '' $ac_executable_extensions; do
4082 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4083 ac_cv_prog_ac_ct_CC="$ac_prog"
4084 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4093 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4094 if test -n "$ac_ct_CC"; then
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4096 $as_echo "$ac_ct_CC" >&6; }
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4099 $as_echo "no" >&6; }
4103 test -n "$ac_ct_CC" && break
4106 if test "x$ac_ct_CC" = x; then
4109 case $cross_compiling:$ac_tool_warned in
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4113 ac_tool_warned=yes ;;
4122 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4123 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4124 as_fn_error $? "no acceptable C compiler found
in \
$PATH
4125 See \
`config.log' for more details" "$LINENO" 5; }
4127 # Provide some information about the compiler.
4128 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4131 for ac_option in --version -v -V -qversion; do
4132 { { ac_try="$ac_compiler $ac_option >&5"
4134 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
4135 *) ac_try_echo
=$ac_try;;
4137 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4138 $as_echo "$ac_try_echo"; } >&5
4139 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4141 if test -s conftest.err
; then
4143 ... rest of stderr output deleted ...
4144 10q' conftest.err
>conftest.er1
4145 cat conftest.er1
>&5
4147 rm -f conftest.er1 conftest.err
4148 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4149 test $ac_status = 0; }
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4153 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4154 if ${ac_cv_c_compiler_gnu+:} false
; then :
4155 $as_echo_n "(cached) " >&6
4157 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4158 /* end confdefs.h. */
4171 if ac_fn_c_try_compile
"$LINENO"; then :
4176 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4177 ac_cv_c_compiler_gnu
=$ac_compiler_gnu
4180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4181 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4182 if test $ac_compiler_gnu = yes; then
4187 ac_test_CFLAGS
=${CFLAGS+set}
4188 ac_save_CFLAGS
=$CFLAGS
4189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4190 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4191 if ${ac_cv_prog_cc_g+:} false
; then :
4192 $as_echo_n "(cached) " >&6
4194 ac_save_c_werror_flag
=$ac_c_werror_flag
4195 ac_c_werror_flag
=yes
4198 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4199 /* end confdefs.h. */
4209 if ac_fn_c_try_compile
"$LINENO"; then :
4213 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4214 /* end confdefs.h. */
4224 if ac_fn_c_try_compile
"$LINENO"; then :
4227 ac_c_werror_flag
=$ac_save_c_werror_flag
4229 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4230 /* end confdefs.h. */
4240 if ac_fn_c_try_compile
"$LINENO"; then :
4243 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4245 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4247 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4248 ac_c_werror_flag
=$ac_save_c_werror_flag
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4251 $as_echo "$ac_cv_prog_cc_g" >&6; }
4252 if test "$ac_test_CFLAGS" = set; then
4253 CFLAGS
=$ac_save_CFLAGS
4254 elif test $ac_cv_prog_cc_g = yes; then
4255 if test "$GCC" = yes; then
4261 if test "$GCC" = yes; then
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4268 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4269 if ${ac_cv_prog_cc_c89+:} false
; then :
4270 $as_echo_n "(cached) " >&6
4272 ac_cv_prog_cc_c89
=no
4274 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4275 /* end confdefs.h. */
4279 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4280 struct buf { int x; };
4281 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4282 static char *e (p, i)
4288 static char *f (char * (*g) (char **, int), char **p, ...)
4293 s = g (p, va_arg (v,int));
4298 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4299 function prototypes and stuff, but not '\xHH' hex character constants.
4300 These don't provoke an error unfortunately, instead are silently treated
4301 as 'x'. The following induces an error, until -std is added to get
4302 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4303 array size at least. It's necessary to write '\x00'==0 to get something
4304 that's true only with -std. */
4305 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4307 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4308 inside strings and character constants. */
4310 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4312 int test (int i, double x);
4313 struct s1 {int (*f) (int a);};
4314 struct s2 {int (*f) (double a);};
4315 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4321 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4326 for ac_arg
in '' -qlanglvl=extc89
-qlanglvl=ansi
-std \
4327 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4329 CC
="$ac_save_CC $ac_arg"
4330 if ac_fn_c_try_compile
"$LINENO"; then :
4331 ac_cv_prog_cc_c89
=$ac_arg
4333 rm -f core conftest.err conftest.
$ac_objext
4334 test "x$ac_cv_prog_cc_c89" != "xno" && break
4336 rm -f conftest.
$ac_ext
4341 case "x$ac_cv_prog_cc_c89" in
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4344 $as_echo "none needed" >&6; } ;;
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4347 $as_echo "unsupported" >&6; } ;;
4349 CC
="$CC $ac_cv_prog_cc_c89"
4350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4351 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4353 if test "x$ac_cv_prog_cc_c89" != xno
; then :
4358 ac_cpp
='$CXXCPP $CPPFLAGS'
4359 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4360 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4361 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4364 ac_cpp
='$CPP $CPPFLAGS'
4365 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4366 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4367 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4369 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4370 if ${am_cv_prog_cc_c_o+:} false
; then :
4371 $as_echo_n "(cached) " >&6
4373 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4374 /* end confdefs.h. */
4384 # Make sure it works both with $CC and with simple cc.
4385 # Following AC_PROG_CC_C_O, we do the test twice because some
4386 # compilers refuse to overwrite an existing .o file with -o,
4387 # though they will create one.
4388 am_cv_prog_cc_c_o
=yes
4390 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4391 ($CC -c conftest.
$ac_ext -o conftest2.
$ac_objext) >&5 2>&5
4393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4394 (exit $ac_status); } \
4395 && test -f conftest2.
$ac_objext; then
4398 am_cv_prog_cc_c_o
=no
4402 rm -f core conftest
*
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4406 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4407 if test "$am_cv_prog_cc_c_o" != yes; then
4408 # Losing compiler, so override with the script.
4409 # FIXME: It is wrong to rewrite CC.
4410 # But if we don't then we get into trouble of one sort or another.
4411 # A longer-term fix would be to have automake use am__CC in this case,
4412 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4413 CC
="$am_aux_dir/compile $CC"
4416 ac_cpp
='$CXXCPP $CPPFLAGS'
4417 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4418 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4419 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
4422 depcc
="$CC" am_compiler_list
=
4424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4425 $as_echo_n "checking dependency style of $depcc... " >&6; }
4426 if ${am_cv_CC_dependencies_compiler_type+:} false
; then :
4427 $as_echo_n "(cached) " >&6
4429 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4430 # We make a subdir and do the tests there. Otherwise we can end up
4431 # making bogus files that we don't know about and never remove. For
4432 # instance it was reported that on HP-UX the gcc test will end up
4433 # making a dummy file named 'D' -- because '-MD' means "put the output
4437 # Copy depcomp to subdir because otherwise we won't find it if we're
4438 # using a relative directory.
4439 cp "$am_depcomp" conftest.dir
4441 # We will build objects and dependencies in a subdirectory because
4442 # it helps to detect inapplicable dependency modes. For instance
4443 # both Tru64's cc and ICC support -MD to output dependencies as a
4444 # side effect of compilation, but ICC will put the dependencies in
4445 # the current directory while Tru64 will put them in the object
4449 am_cv_CC_dependencies_compiler_type
=none
4450 if test "$am_compiler_list" = ""; then
4451 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4454 case " $depcc " in #(
4455 *\
-arch\
*\
-arch\
*) am__universal
=true
;;
4458 for depmode
in $am_compiler_list; do
4459 # Setup a source with many dependencies, because some compilers
4460 # like to wrap large dependency lists on column 80 (with \), and
4461 # we should not choose a depcomp mode which is confused by this.
4463 # We need to recreate these files for each test, as the compiler may
4464 # overwrite some of them when testing with obscure command lines.
4465 # This happens at least with the AIX C compiler.
4467 for i
in 1 2 3 4 5 6; do
4468 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4469 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4470 # Solaris 10 /bin/sh.
4471 echo '/* dummy */' > sub
/conftst
$i.h
4473 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4475 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4476 # mode. It turns out that the SunPro C++ compiler does not properly
4477 # handle '-M -o', and we need to detect this. Also, some Intel
4478 # versions had trouble with output in subdirs.
4479 am__obj
=sub
/conftest.
${OBJEXT-o}
4480 am__minus_obj
="-o $am__obj"
4483 # This depmode causes a compiler race in universal mode.
4484 test "$am__universal" = false ||
continue
4487 # After this tag, mechanisms are not by side-effect, so they'll
4488 # only be used when explicitly requested.
4489 if test "x$enable_dependency_tracking" = xyes
; then
4495 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4496 # This compiler won't grok '-c -o', but also, the minuso test has
4497 # not run yet. These depmodes are late enough in the game, and
4498 # so weak that their functioning should not be impacted.
4499 am__obj
=conftest.
${OBJEXT-o}
4504 if depmode
=$depmode \
4505 source=sub
/conftest.c object
=$am__obj \
4506 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4507 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4508 >/dev
/null
2>conftest.err
&&
4509 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4510 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4511 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4512 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4513 # icc doesn't choke on unknown options, it will just issue warnings
4514 # or remarks (even with -Werror). So we grep stderr for any message
4515 # that says an option was ignored or not supported.
4516 # When given -MP, icc 7.0 and 7.1 complain thusly:
4517 # icc: Command line warning: ignoring option '-M'; no argument required
4518 # The diagnosis changed in icc 8.0:
4519 # icc: Command line remark: option '-MP' not supported
4520 if (grep 'ignoring option' conftest.err ||
4521 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4522 am_cv_CC_dependencies_compiler_type
=$depmode
4531 am_cv_CC_dependencies_compiler_type
=none
4535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4536 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
4537 CCDEPMODE
=depmode
=$am_cv_CC_dependencies_compiler_type
4540 test "x$enable_dependency_tracking" != xno \
4541 && test "$am_cv_CC_dependencies_compiler_type" = gcc3
; then
4543 am__fastdepCC_FALSE
='#'
4545 am__fastdepCC_TRUE
='#'
4546 am__fastdepCC_FALSE
=
4550 # By default we simply use the C compiler to build assembly code.
4552 test "${CCAS+set}" = set || CCAS
=$CC
4553 test "${CCASFLAGS+set}" = set || CCASFLAGS
=$CFLAGS
4557 depcc
="$CCAS" am_compiler_list
=
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4560 $as_echo_n "checking dependency style of $depcc... " >&6; }
4561 if ${am_cv_CCAS_dependencies_compiler_type+:} false
; then :
4562 $as_echo_n "(cached) " >&6
4564 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4565 # We make a subdir and do the tests there. Otherwise we can end up
4566 # making bogus files that we don't know about and never remove. For
4567 # instance it was reported that on HP-UX the gcc test will end up
4568 # making a dummy file named 'D' -- because '-MD' means "put the output
4572 # Copy depcomp to subdir because otherwise we won't find it if we're
4573 # using a relative directory.
4574 cp "$am_depcomp" conftest.dir
4576 # We will build objects and dependencies in a subdirectory because
4577 # it helps to detect inapplicable dependency modes. For instance
4578 # both Tru64's cc and ICC support -MD to output dependencies as a
4579 # side effect of compilation, but ICC will put the dependencies in
4580 # the current directory while Tru64 will put them in the object
4584 am_cv_CCAS_dependencies_compiler_type
=none
4585 if test "$am_compiler_list" = ""; then
4586 am_compiler_list
=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4591 for depmode
in $am_compiler_list; do
4592 # Setup a source with many dependencies, because some compilers
4593 # like to wrap large dependency lists on column 80 (with \), and
4594 # we should not choose a depcomp mode which is confused by this.
4596 # We need to recreate these files for each test, as the compiler may
4597 # overwrite some of them when testing with obscure command lines.
4598 # This happens at least with the AIX C compiler.
4600 for i
in 1 2 3 4 5 6; do
4601 echo '#include "conftst'$i'.h"' >> sub
/conftest.c
4602 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4603 # Solaris 10 /bin/sh.
4604 echo '/* dummy */' > sub
/conftst
$i.h
4606 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4608 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4609 # mode. It turns out that the SunPro C++ compiler does not properly
4610 # handle '-M -o', and we need to detect this. Also, some Intel
4611 # versions had trouble with output in subdirs.
4612 am__obj
=sub
/conftest.
${OBJEXT-o}
4613 am__minus_obj
="-o $am__obj"
4616 # This depmode causes a compiler race in universal mode.
4617 test "$am__universal" = false ||
continue
4620 # After this tag, mechanisms are not by side-effect, so they'll
4621 # only be used when explicitly requested.
4622 if test "x$enable_dependency_tracking" = xyes
; then
4628 msvc7 | msvc7msys | msvisualcpp | msvcmsys
)
4629 # This compiler won't grok '-c -o', but also, the minuso test has
4630 # not run yet. These depmodes are late enough in the game, and
4631 # so weak that their functioning should not be impacted.
4632 am__obj
=conftest.
${OBJEXT-o}
4637 if depmode
=$depmode \
4638 source=sub
/conftest.c object
=$am__obj \
4639 depfile
=sub
/conftest.Po tmpdepfile
=sub
/conftest.TPo \
4640 $SHELL .
/depcomp
$depcc -c $am__minus_obj sub
/conftest.c \
4641 >/dev
/null
2>conftest.err
&&
4642 grep sub
/conftst1.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4643 grep sub
/conftst6.h sub
/conftest.Po
> /dev
/null
2>&1 &&
4644 grep $am__obj sub
/conftest.Po
> /dev
/null
2>&1 &&
4645 ${MAKE-make} -s -f confmf
> /dev
/null
2>&1; then
4646 # icc doesn't choke on unknown options, it will just issue warnings
4647 # or remarks (even with -Werror). So we grep stderr for any message
4648 # that says an option was ignored or not supported.
4649 # When given -MP, icc 7.0 and 7.1 complain thusly:
4650 # icc: Command line warning: ignoring option '-M'; no argument required
4651 # The diagnosis changed in icc 8.0:
4652 # icc: Command line remark: option '-MP' not supported
4653 if (grep 'ignoring option' conftest.err ||
4654 grep 'not supported' conftest.err
) >/dev
/null
2>&1; then :; else
4655 am_cv_CCAS_dependencies_compiler_type
=$depmode
4664 am_cv_CCAS_dependencies_compiler_type
=none
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CCAS_dependencies_compiler_type" >&5
4669 $as_echo "$am_cv_CCAS_dependencies_compiler_type" >&6; }
4670 CCASDEPMODE
=depmode
=$am_cv_CCAS_dependencies_compiler_type
4673 test "x$enable_dependency_tracking" != xno \
4674 && test "$am_cv_CCAS_dependencies_compiler_type" = gcc3
; then
4675 am__fastdepCCAS_TRUE
=
4676 am__fastdepCCAS_FALSE
='#'
4678 am__fastdepCCAS_TRUE
='#'
4679 am__fastdepCCAS_FALSE
=
4686 if test "$cross_compiling" = "no"; then
4694 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
4695 if test -n "$ac_tool_prefix"; then
4696 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
4697 set dummy
${ac_tool_prefix}pkg-config
; ac_word
=$2
4698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4699 $as_echo_n "checking for $ac_word... " >&6; }
4700 if ${ac_cv_path_PKG_CONFIG+:} false
; then :
4701 $as_echo_n "(cached) " >&6
4705 ac_cv_path_PKG_CONFIG
="$PKG_CONFIG" # Let the user override the test with a path.
4708 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4712 test -z "$as_dir" && as_dir
=.
4713 for ac_exec_ext
in '' $ac_executable_extensions; do
4714 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4715 ac_cv_path_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4716 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4726 PKG_CONFIG
=$ac_cv_path_PKG_CONFIG
4727 if test -n "$PKG_CONFIG"; then
4728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
4729 $as_echo "$PKG_CONFIG" >&6; }
4731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4732 $as_echo "no" >&6; }
4737 if test -z "$ac_cv_path_PKG_CONFIG"; then
4738 ac_pt_PKG_CONFIG
=$PKG_CONFIG
4739 # Extract the first word of "pkg-config", so it can be a program name with args.
4740 set dummy pkg-config
; ac_word
=$2
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4742 $as_echo_n "checking for $ac_word... " >&6; }
4743 if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false
; then :
4744 $as_echo_n "(cached) " >&6
4746 case $ac_pt_PKG_CONFIG in
4748 ac_cv_path_ac_pt_PKG_CONFIG
="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
4751 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4755 test -z "$as_dir" && as_dir
=.
4756 for ac_exec_ext
in '' $ac_executable_extensions; do
4757 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4758 ac_cv_path_ac_pt_PKG_CONFIG
="$as_dir/$ac_word$ac_exec_ext"
4759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4769 ac_pt_PKG_CONFIG
=$ac_cv_path_ac_pt_PKG_CONFIG
4770 if test -n "$ac_pt_PKG_CONFIG"; then
4771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
4772 $as_echo "$ac_pt_PKG_CONFIG" >&6; }
4774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4775 $as_echo "no" >&6; }
4778 if test "x$ac_pt_PKG_CONFIG" = x
; then
4781 case $cross_compiling:$ac_tool_warned in
4783 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4784 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4785 ac_tool_warned
=yes ;;
4787 PKG_CONFIG
=$ac_pt_PKG_CONFIG
4790 PKG_CONFIG
="$ac_cv_path_PKG_CONFIG"
4794 if test -n "$PKG_CONFIG"; then
4795 _pkg_min_version
=0.9.0
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
4797 $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
4798 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4800 $as_echo "yes" >&6; }
4802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 $as_echo "no" >&6; }
4813 # Make sure we can run config.sub.
4814 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
4815 as_fn_error $?
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4818 $as_echo_n "checking build system type... " >&6; }
4819 if ${ac_cv_build+:} false
; then :
4820 $as_echo_n "(cached) " >&6
4822 ac_build_alias
=$build_alias
4823 test "x$ac_build_alias" = x
&&
4824 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
4825 test "x$ac_build_alias" = x
&&
4826 as_fn_error $?
"cannot guess build type; you must specify one" "$LINENO" 5
4827 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4828 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4832 $as_echo "$ac_cv_build" >&6; }
4833 case $ac_cv_build in
4835 *) as_fn_error $?
"invalid value of canonical build" "$LINENO" 5;;
4838 ac_save_IFS
=$IFS; IFS
='-'
4844 # Remember, the first character of IFS is used to create $*,
4845 # except with old shells:
4848 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4852 $as_echo_n "checking host system type... " >&6; }
4853 if ${ac_cv_host+:} false
; then :
4854 $as_echo_n "(cached) " >&6
4856 if test "x$host_alias" = x
; then
4857 ac_cv_host
=$ac_cv_build
4859 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4860 as_fn_error $?
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4865 $as_echo "$ac_cv_host" >&6; }
4868 *) as_fn_error $?
"invalid value of canonical host" "$LINENO" 5;;
4871 ac_save_IFS
=$IFS; IFS
='-'
4877 # Remember, the first character of IFS is used to create $*,
4878 # except with old shells:
4881 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
4886 if test -n "$ac_tool_prefix"; then
4887 # Extract the first word of "${ac_tool_prefix}windmc", so it can be a program name with args.
4888 set dummy
${ac_tool_prefix}windmc
; ac_word
=$2
4889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4890 $as_echo_n "checking for $ac_word... " >&6; }
4891 if ${ac_cv_prog_WINDMC+:} false
; then :
4892 $as_echo_n "(cached) " >&6
4894 if test -n "$WINDMC"; then
4895 ac_cv_prog_WINDMC
="$WINDMC" # Let the user override the test.
4897 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4901 test -z "$as_dir" && as_dir
=.
4902 for ac_exec_ext
in '' $ac_executable_extensions; do
4903 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4904 ac_cv_prog_WINDMC
="${ac_tool_prefix}windmc"
4905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4914 WINDMC
=$ac_cv_prog_WINDMC
4915 if test -n "$WINDMC"; then
4916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDMC" >&5
4917 $as_echo "$WINDMC" >&6; }
4919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4920 $as_echo "no" >&6; }
4925 if test -z "$ac_cv_prog_WINDMC"; then
4926 ac_ct_WINDMC
=$WINDMC
4927 # Extract the first word of "windmc", so it can be a program name with args.
4928 set dummy windmc
; ac_word
=$2
4929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4930 $as_echo_n "checking for $ac_word... " >&6; }
4931 if ${ac_cv_prog_ac_ct_WINDMC+:} false
; then :
4932 $as_echo_n "(cached) " >&6
4934 if test -n "$ac_ct_WINDMC"; then
4935 ac_cv_prog_ac_ct_WINDMC
="$ac_ct_WINDMC" # Let the user override the test.
4937 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4941 test -z "$as_dir" && as_dir
=.
4942 for ac_exec_ext
in '' $ac_executable_extensions; do
4943 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_ac_ct_WINDMC
="windmc"
4945 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4954 ac_ct_WINDMC
=$ac_cv_prog_ac_ct_WINDMC
4955 if test -n "$ac_ct_WINDMC"; then
4956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDMC" >&5
4957 $as_echo "$ac_ct_WINDMC" >&6; }
4959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 $as_echo "no" >&6; }
4963 if test "x$ac_ct_WINDMC" = x
; then
4966 case $cross_compiling:$ac_tool_warned in
4968 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4969 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4970 ac_tool_warned
=yes ;;
4972 WINDMC
=$ac_ct_WINDMC
4975 WINDMC
="$ac_cv_prog_WINDMC"
4978 if test -n "$ac_tool_prefix"; then
4979 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
4980 set dummy
${ac_tool_prefix}windres
; ac_word
=$2
4981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4982 $as_echo_n "checking for $ac_word... " >&6; }
4983 if ${ac_cv_prog_WINDRES+:} false
; then :
4984 $as_echo_n "(cached) " >&6
4986 if test -n "$WINDRES"; then
4987 ac_cv_prog_WINDRES
="$WINDRES" # Let the user override the test.
4989 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
4993 test -z "$as_dir" && as_dir
=.
4994 for ac_exec_ext
in '' $ac_executable_extensions; do
4995 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
4996 ac_cv_prog_WINDRES
="${ac_tool_prefix}windres"
4997 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5006 WINDRES
=$ac_cv_prog_WINDRES
5007 if test -n "$WINDRES"; then
5008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
5009 $as_echo "$WINDRES" >&6; }
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5012 $as_echo "no" >&6; }
5017 if test -z "$ac_cv_prog_WINDRES"; then
5018 ac_ct_WINDRES
=$WINDRES
5019 # Extract the first word of "windres", so it can be a program name with args.
5020 set dummy windres
; ac_word
=$2
5021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5022 $as_echo_n "checking for $ac_word... " >&6; }
5023 if ${ac_cv_prog_ac_ct_WINDRES+:} false
; then :
5024 $as_echo_n "(cached) " >&6
5026 if test -n "$ac_ct_WINDRES"; then
5027 ac_cv_prog_ac_ct_WINDRES
="$ac_ct_WINDRES" # Let the user override the test.
5029 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5033 test -z "$as_dir" && as_dir
=.
5034 for ac_exec_ext
in '' $ac_executable_extensions; do
5035 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
5036 ac_cv_prog_ac_ct_WINDRES
="windres"
5037 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5046 ac_ct_WINDRES
=$ac_cv_prog_ac_ct_WINDRES
5047 if test -n "$ac_ct_WINDRES"; then
5048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
5049 $as_echo "$ac_ct_WINDRES" >&6; }
5051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5052 $as_echo "no" >&6; }
5055 if test "x$ac_ct_WINDRES" = x
; then
5058 case $cross_compiling:$ac_tool_warned in
5060 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5061 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5062 ac_tool_warned
=yes ;;
5064 WINDRES
=$ac_ct_WINDRES
5067 WINDRES
="$ac_cv_prog_WINDRES"
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for makensis" >&5
5072 $as_echo_n "checking for makensis... " >&6; }
5073 if test -z "$MAKENSIS"; then
5074 if test -n "$PROGRAMFILES" && "$PROGRAMFILES/NSIS/makensis" -VERSION >/dev
/null
2>&1; then
5075 MAKENSIS
="$PROGRAMFILES/NSIS/makensis"
5076 elif makensis
-VERSION >/dev
/null
2>&1; then
5080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${MAKENSIS:-no}" >&5
5081 $as_echo "${MAKENSIS:-no}" >&6; }
5086 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether this is a build from SVN" >&5
5087 $as_echo_n "checking whether this is a build from SVN... " >&6; }
5090 if test -f "$srcdir/.svn/wc.db"; then
5091 # SVN 1.7, 1.8 working copy
5092 svn_deps
='${srcdir}/.svn/wc.db'
5093 elif test -f "${srcdir}/.svn/entries"; then
5094 # SVN <= 1.6 working copy (SVN 1.7 has empty entries file)
5095 svn_deps
='${srcdir}/.svn/entries'
5097 if test -n "$svn_deps"; then
5098 is_svn_build
=unknown
5099 if (cd "$srcdir" && svn
--version && svnversion
&& svn info
) >/dev
/null
2>&1; then
5104 if test "$is_svn_build" = "yes"; then
5106 IS_SVN_BUILD_FALSE
='#'
5108 IS_SVN_BUILD_TRUE
='#'
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $is_svn_build" >&5
5113 $as_echo "$is_svn_build" >&6; }
5115 # Note: On Linux, clock_gettime() requires -lrt which implies -lpthreads
5116 # Check omitted for now, gettimeofday() provides reasonable precision
5117 # AC_SEARCH_LIBS(clock_gettime, rt)
5119 # Checks for header files.
5122 ac_cpp
='$CXXCPP $CPPFLAGS'
5123 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5124 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5125 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
5127 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
5128 if test -z "$CXXCPP"; then
5129 if ${ac_cv_prog_CXXCPP+:} false
; then :
5130 $as_echo_n "(cached) " >&6
5132 # Double quotes because CXXCPP needs to be expanded
5133 for CXXCPP
in "$CXX -E" "/lib/cpp"
5136 for ac_cxx_preproc_warn_flag
in '' yes
5138 # Use a header file that comes with gcc, so configuring glibc
5139 # with a fresh cross-compiler works.
5140 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5141 # <limits.h> exists even on freestanding compilers.
5142 # On the NeXT, cc -E runs the code through the compiler's parser,
5143 # not just through cpp. "Syntax error" is here to catch this case.
5144 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5145 /* end confdefs.h. */
5147 # include <limits.h>
5149 # include <assert.h>
5153 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5156 # Broken: fails on valid input.
5159 rm -f conftest.err conftest.i conftest.
$ac_ext
5161 # OK, works on sane cases. Now check whether nonexistent headers
5162 # can be detected and how.
5163 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5164 /* end confdefs.h. */
5165 #include <ac_nonexistent.h>
5167 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5168 # Broken: success on invalid input.
5171 # Passes both tests.
5175 rm -f conftest.err conftest.i conftest.
$ac_ext
5178 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5179 rm -f conftest.i conftest.err conftest.
$ac_ext
5180 if $ac_preproc_ok; then :
5185 ac_cv_prog_CXXCPP
=$CXXCPP
5188 CXXCPP
=$ac_cv_prog_CXXCPP
5190 ac_cv_prog_CXXCPP
=$CXXCPP
5192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
5193 $as_echo "$CXXCPP" >&6; }
5195 for ac_cxx_preproc_warn_flag
in '' yes
5197 # Use a header file that comes with gcc, so configuring glibc
5198 # with a fresh cross-compiler works.
5199 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5200 # <limits.h> exists even on freestanding compilers.
5201 # On the NeXT, cc -E runs the code through the compiler's parser,
5202 # not just through cpp. "Syntax error" is here to catch this case.
5203 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5204 /* end confdefs.h. */
5206 # include <limits.h>
5208 # include <assert.h>
5212 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5215 # Broken: fails on valid input.
5218 rm -f conftest.err conftest.i conftest.
$ac_ext
5220 # OK, works on sane cases. Now check whether nonexistent headers
5221 # can be detected and how.
5222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5223 /* end confdefs.h. */
5224 #include <ac_nonexistent.h>
5226 if ac_fn_cxx_try_cpp
"$LINENO"; then :
5227 # Broken: success on invalid input.
5230 # Passes both tests.
5234 rm -f conftest.err conftest.i conftest.
$ac_ext
5237 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5238 rm -f conftest.i conftest.err conftest.
$ac_ext
5239 if $ac_preproc_ok; then :
5242 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5243 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5244 as_fn_error $?
"C++ preprocessor \"$CXXCPP\" fails sanity check
5245 See \`config.log' for more details" "$LINENO" 5; }
5249 ac_cpp
='$CXXCPP $CPPFLAGS'
5250 ac_compile
='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5251 ac_link
='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5252 ac_compiler_gnu
=$ac_cv_cxx_compiler_gnu
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5256 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5257 if ${ac_cv_path_GREP+:} false
; then :
5258 $as_echo_n "(cached) " >&6
5260 if test -z "$GREP"; then
5261 ac_path_GREP_found
=false
5262 # Loop through the user's path and test for each of PROGNAME-LIST
5263 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5264 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5267 test -z "$as_dir" && as_dir
=.
5268 for ac_prog
in grep ggrep
; do
5269 for ac_exec_ext
in '' $ac_executable_extensions; do
5270 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
5271 as_fn_executable_p
"$ac_path_GREP" ||
continue
5272 # Check for GNU ac_path_GREP and select it if it is found.
5273 # Check for GNU $ac_path_GREP
5274 case `"$ac_path_GREP" --version 2>&1` in
5276 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
5279 $as_echo_n 0123456789 >"conftest.in"
5282 cat "conftest.in" "conftest.in" >"conftest.tmp"
5283 mv "conftest.tmp" "conftest.in"
5284 cp "conftest.in" "conftest.nl"
5285 $as_echo 'GREP' >> "conftest.nl"
5286 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5287 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5288 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5289 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5290 # Best one so far, save it but keep looking for a better one
5291 ac_cv_path_GREP
="$ac_path_GREP"
5292 ac_path_GREP_max
=$ac_count
5294 # 10*(2^10) chars as input seems more than enough
5295 test $ac_count -gt 10 && break
5297 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5300 $ac_path_GREP_found && break 3
5305 if test -z "$ac_cv_path_GREP"; then
5306 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5309 ac_cv_path_GREP
=$GREP
5313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5314 $as_echo "$ac_cv_path_GREP" >&6; }
5315 GREP
="$ac_cv_path_GREP"
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5319 $as_echo_n "checking for egrep... " >&6; }
5320 if ${ac_cv_path_EGREP+:} false
; then :
5321 $as_echo_n "(cached) " >&6
5323 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
5324 then ac_cv_path_EGREP
="$GREP -E"
5326 if test -z "$EGREP"; then
5327 ac_path_EGREP_found
=false
5328 # Loop through the user's path and test for each of PROGNAME-LIST
5329 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
5330 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
5333 test -z "$as_dir" && as_dir
=.
5334 for ac_prog
in egrep; do
5335 for ac_exec_ext
in '' $ac_executable_extensions; do
5336 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
5337 as_fn_executable_p
"$ac_path_EGREP" ||
continue
5338 # Check for GNU ac_path_EGREP and select it if it is found.
5339 # Check for GNU $ac_path_EGREP
5340 case `"$ac_path_EGREP" --version 2>&1` in
5342 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
5345 $as_echo_n 0123456789 >"conftest.in"
5348 cat "conftest.in" "conftest.in" >"conftest.tmp"
5349 mv "conftest.tmp" "conftest.in"
5350 cp "conftest.in" "conftest.nl"
5351 $as_echo 'EGREP' >> "conftest.nl"
5352 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
5353 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
5354 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
5355 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5356 # Best one so far, save it but keep looking for a better one
5357 ac_cv_path_EGREP
="$ac_path_EGREP"
5358 ac_path_EGREP_max
=$ac_count
5360 # 10*(2^10) chars as input seems more than enough
5361 test $ac_count -gt 10 && break
5363 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
5366 $ac_path_EGREP_found && break 3
5371 if test -z "$ac_cv_path_EGREP"; then
5372 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5375 ac_cv_path_EGREP
=$EGREP
5380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5381 $as_echo "$ac_cv_path_EGREP" >&6; }
5382 EGREP
="$ac_cv_path_EGREP"
5385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
5386 $as_echo_n "checking for ANSI C header files... " >&6; }
5387 if ${ac_cv_header_stdc+:} false
; then :
5388 $as_echo_n "(cached) " >&6
5390 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5391 /* end confdefs.h. */
5405 if ac_fn_cxx_try_compile
"$LINENO"; then :
5406 ac_cv_header_stdc
=yes
5408 ac_cv_header_stdc
=no
5410 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5412 if test $ac_cv_header_stdc = yes; then
5413 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
5414 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5415 /* end confdefs.h. */
5419 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5420 $EGREP "memchr" >/dev
/null
2>&1; then :
5423 ac_cv_header_stdc
=no
5429 if test $ac_cv_header_stdc = yes; then
5430 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
5431 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5432 /* end confdefs.h. */
5436 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5437 $EGREP "free" >/dev
/null
2>&1; then :
5440 ac_cv_header_stdc
=no
5446 if test $ac_cv_header_stdc = yes; then
5447 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
5448 if test "$cross_compiling" = yes; then :
5451 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5452 /* end confdefs.h. */
5455 #if ((' ' & 0x0FF) == 0x020)
5456 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
5457 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
5459 # define ISLOWER(c) \
5460 (('a' <= (c) && (c) <= 'i') \
5461 || ('j' <= (c) && (c) <= 'r') \
5462 || ('s' <= (c) && (c) <= 'z'))
5463 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
5466 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
5471 for (i = 0; i < 256; i++)
5472 if (XOR (islower (i), ISLOWER (i))
5473 || toupper (i) != TOUPPER (i))
5478 if ac_fn_cxx_try_run
"$LINENO"; then :
5481 ac_cv_header_stdc
=no
5483 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5484 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
5490 $as_echo "$ac_cv_header_stdc" >&6; }
5491 if test $ac_cv_header_stdc = yes; then
5493 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
5497 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
5498 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
5499 inttypes.h stdint.h unistd.h
5501 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5502 ac_fn_cxx_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5504 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5505 cat >>confdefs.h
<<_ACEOF
5506 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5514 for ac_header
in locale.h
5516 ac_fn_cxx_check_header_mongrel
"$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
5517 if test "x$ac_cv_header_locale_h" = xyes
; then :
5518 cat >>confdefs.h
<<_ACEOF
5519 #define HAVE_LOCALE_H 1
5526 for ac_header
in byteswap.h
5528 ac_fn_cxx_check_header_mongrel
"$LINENO" "byteswap.h" "ac_cv_header_byteswap_h" "$ac_includes_default"
5529 if test "x$ac_cv_header_byteswap_h" = xyes
; then :
5530 cat >>confdefs.h
<<_ACEOF
5531 #define HAVE_BYTESWAP_H 1
5540 *-*-freebsd*|
*-*-dragonfly*|
*-*-kfreebsd*-gnu*)
5541 # Check for FreeBSD twe and twa include files
5542 for ac_header
in sys
/tweio.h sys
/twereg.h sys
/tw_osl_ioctl.h
5544 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5545 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5546 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5547 cat >>confdefs.h
<<_ACEOF
5548 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5555 # Check for the FreeBSD CCISS system header and use internal one if not found
5556 for ac_header
in dev
/ciss
/cissio.h
5558 ac_fn_cxx_check_header_mongrel
"$LINENO" "dev/ciss/cissio.h" "ac_cv_header_dev_ciss_cissio_h" "$ac_includes_default"
5559 if test "x$ac_cv_header_dev_ciss_cissio_h" = xyes
; then :
5560 cat >>confdefs.h
<<_ACEOF
5561 #define HAVE_DEV_CISS_CISSIO_H 1
5564 $as_echo "#define CISS_LOCATION <dev/ciss/cissio.h>" >>confdefs.h
5568 $as_echo "#define CISS_LOCATION \"cissio_freebsd.h\"" >>confdefs.h
5576 # <linux/compiler.h> is needed for cciss_ioctl.h at least on SuSE LINUX
5577 for ac_header
in sys
/sysmacros.h linux
/compiler.h
5579 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5580 ac_fn_cxx_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5581 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5582 cat >>confdefs.h
<<_ACEOF
5583 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5590 # Check for Linux CCISS include file
5591 for ac_header
in linux
/cciss_ioctl.h
5593 ac_fn_cxx_check_header_compile
"$LINENO" "linux/cciss_ioctl.h" "ac_cv_header_linux_cciss_ioctl_h" "$ac_includes_default
5594 #ifdef HAVE_LINUX_COMPILER_H
5595 # include <linux/compiler.h>
5599 if test "x$ac_cv_header_linux_cciss_ioctl_h" = xyes
; then :
5600 cat >>confdefs.h
<<_ACEOF
5601 #define HAVE_LINUX_CCISS_IOCTL_H 1
5609 *-*-netbsd*|
*-*-openbsd*)
5610 for ac_header
in dev
/ata
/atavar.h
5612 ac_fn_cxx_check_header_mongrel
"$LINENO" "dev/ata/atavar.h" "ac_cv_header_dev_ata_atavar_h" "$ac_includes_default"
5613 if test "x$ac_cv_header_dev_ata_atavar_h" = xyes
; then :
5614 cat >>confdefs.h
<<_ACEOF
5615 #define HAVE_DEV_ATA_ATAVAR_H 1
5623 *-*-cygwin*|
*-*-mingw*)
5624 # Check for Windows DDK header files
5625 for ac_header
in ntdddisk.h
ddk
/ntdddisk.h
5627 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5628 ac_fn_cxx_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
5629 #include <windows.h>
5632 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
5633 cat >>confdefs.h
<<_ACEOF
5634 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5644 # Checks for typedefs, and compiler characteristics.
5645 ac_fn_cxx_check_type
"$LINENO" "__int128" "ac_cv_type___int128" "$ac_includes_default"
5646 if test "x$ac_cv_type___int128" = xyes
; then :
5648 cat >>confdefs.h
<<_ACEOF
5649 #define HAVE___INT128 1
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double with more range or precision than double" >&5
5657 $as_echo_n "checking for long double with more range or precision than double... " >&6; }
5658 if ${ac_cv_type_long_double_wider+:} false
; then :
5659 $as_echo_n "(cached) " >&6
5661 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5662 /* end confdefs.h. */
5664 long double const a[] =
5666 0.0L, DBL_MIN, DBL_MAX, DBL_EPSILON,
5667 LDBL_MIN, LDBL_MAX, LDBL_EPSILON
5672 return ((x + (unsigned long int) 10) * (-1 / x) + a[0]
5673 + (x ? f (x) : 'c'));
5679 static int test_array [1 - 2 * !((0 < ((DBL_MAX_EXP < LDBL_MAX_EXP)
5680 + (DBL_MANT_DIG < LDBL_MANT_DIG)
5681 - (LDBL_MAX_EXP < DBL_MAX_EXP)
5682 - (LDBL_MANT_DIG < DBL_MANT_DIG)))
5683 && (int) LDBL_EPSILON == 0
5686 return test_array [0];
5692 if ac_fn_cxx_try_compile
"$LINENO"; then :
5693 ac_cv_type_long_double_wider
=yes
5695 ac_cv_type_long_double_wider
=no
5697 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_long_double_wider" >&5
5700 $as_echo "$ac_cv_type_long_double_wider" >&6; }
5701 if test $ac_cv_type_long_double_wider = yes; then
5703 $as_echo "#define HAVE_LONG_DOUBLE_WIDER 1" >>confdefs.h
5708 # Checks for library functions.
5709 for ac_func
in getopt_long
5711 ac_fn_cxx_check_func
"$LINENO" "getopt_long" "ac_cv_func_getopt_long"
5712 if test "x$ac_cv_func_getopt_long" = xyes
; then :
5713 cat >>confdefs.h
<<_ACEOF
5714 #define HAVE_GETOPT_LONG 1
5718 need_getopt_long
=yes
5722 if test "$need_getopt_long" = "yes"; then
5723 NEED_GETOPT_LONG_TRUE
=
5724 NEED_GETOPT_LONG_FALSE
='#'
5726 NEED_GETOPT_LONG_TRUE
='#'
5727 NEED_GETOPT_LONG_FALSE
=
5731 for ac_func
in clock_gettime ftime gettimeofday
5733 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5734 ac_fn_cxx_check_func
"$LINENO" "$ac_func" "$as_ac_var"
5735 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
5736 cat >>confdefs.h
<<_ACEOF
5737 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5744 # Check byte ordering (defines WORDS_BIGENDIAN)
5745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
5746 $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
5747 if ${ac_cv_c_bigendian+:} false
; then :
5748 $as_echo_n "(cached) " >&6
5750 ac_cv_c_bigendian
=unknown
5751 # See if we're dealing with a universal compiler.
5752 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5753 /* end confdefs.h. */
5754 #ifndef __APPLE_CC__
5755 not a universal capable compiler
5760 if ac_fn_cxx_try_compile
"$LINENO"; then :
5762 # Check for potential -arch flags. It is not universal unless
5763 # there are at least two -arch flags with different values.
5766 for ac_word
in $CC $CFLAGS $CPPFLAGS $LDFLAGS; do
5767 if test -n "$ac_prev"; then
5769 i?
86 | x86_64 | ppc | ppc64
)
5770 if test -z "$ac_arch" ||
test "$ac_arch" = "$ac_word"; then
5773 ac_cv_c_bigendian
=universal
5779 elif test "x$ac_word" = "x-arch"; then
5784 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5785 if test $ac_cv_c_bigendian = unknown
; then
5786 # See if sys/param.h defines the BYTE_ORDER macro.
5787 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5788 /* end confdefs.h. */
5789 #include <sys/types.h>
5790 #include <sys/param.h>
5795 #if ! (defined BYTE_ORDER && defined BIG_ENDIAN \
5796 && defined LITTLE_ENDIAN && BYTE_ORDER && BIG_ENDIAN \
5805 if ac_fn_cxx_try_compile
"$LINENO"; then :
5806 # It does; now see whether it defined to BIG_ENDIAN or not.
5807 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5808 /* end confdefs.h. */
5809 #include <sys/types.h>
5810 #include <sys/param.h>
5815 #if BYTE_ORDER != BIG_ENDIAN
5823 if ac_fn_cxx_try_compile
"$LINENO"; then :
5824 ac_cv_c_bigendian
=yes
5826 ac_cv_c_bigendian
=no
5828 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5830 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5832 if test $ac_cv_c_bigendian = unknown
; then
5833 # See if <limits.h> defines _LITTLE_ENDIAN or _BIG_ENDIAN (e.g., Solaris).
5834 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5835 /* end confdefs.h. */
5841 #if ! (defined _LITTLE_ENDIAN || defined _BIG_ENDIAN)
5849 if ac_fn_cxx_try_compile
"$LINENO"; then :
5850 # It does; now see whether it defined to _BIG_ENDIAN or not.
5851 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5852 /* end confdefs.h. */
5866 if ac_fn_cxx_try_compile
"$LINENO"; then :
5867 ac_cv_c_bigendian
=yes
5869 ac_cv_c_bigendian
=no
5871 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5873 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5875 if test $ac_cv_c_bigendian = unknown
; then
5876 # Compile a test program.
5877 if test "$cross_compiling" = yes; then :
5878 # Try to guess by grepping values from an object file.
5879 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5880 /* end confdefs.h. */
5881 short int ascii_mm[] =
5882 { 0x4249, 0x4765, 0x6E44, 0x6961, 0x6E53, 0x7953, 0 };
5883 short int ascii_ii[] =
5884 { 0x694C, 0x5454, 0x656C, 0x6E45, 0x6944, 0x6E61, 0 };
5885 int use_ascii (int i) {
5886 return ascii_mm[i] + ascii_ii[i];
5888 short int ebcdic_ii[] =
5889 { 0x89D3, 0xE3E3, 0x8593, 0x95C5, 0x89C4, 0x9581, 0 };
5890 short int ebcdic_mm[] =
5891 { 0xC2C9, 0xC785, 0x95C4, 0x8981, 0x95E2, 0xA8E2, 0 };
5892 int use_ebcdic (int i) {
5893 return ebcdic_mm[i] + ebcdic_ii[i];
5900 return use_ascii (foo) == use_ebcdic (foo);
5905 if ac_fn_cxx_try_compile
"$LINENO"; then :
5906 if grep BIGenDianSyS conftest.
$ac_objext >/dev
/null
; then
5907 ac_cv_c_bigendian
=yes
5909 if grep LiTTleEnDian conftest.
$ac_objext >/dev
/null
; then
5910 if test "$ac_cv_c_bigendian" = unknown
; then
5911 ac_cv_c_bigendian
=no
5913 # finding both strings is unlikely to happen, but who knows?
5914 ac_cv_c_bigendian
=unknown
5918 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5920 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5921 /* end confdefs.h. */
5922 $ac_includes_default
5927 /* Are we little or big endian? From Harbison&Steele. */
5931 char c[sizeof (long int)];
5934 return u.c[sizeof (long int) - 1] == 1;
5940 if ac_fn_cxx_try_run
"$LINENO"; then :
5941 ac_cv_c_bigendian
=no
5943 ac_cv_c_bigendian
=yes
5945 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
5946 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
5951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
5952 $as_echo "$ac_cv_c_bigendian" >&6; }
5953 case $ac_cv_c_bigendian in #(
5955 $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
5961 $as_echo "#define AC_APPLE_UNIVERSAL_BUILD 1" >>confdefs.h
5965 as_fn_error $?
"unknown endianness
5966 presetting ac_cv_c_bigendian=no (or yes) will help" "$LINENO" 5 ;;
5970 # check for __attribute__((packed))
5971 # (sizeof() check is required to avoid false positives if other
5972 # __attribute__((x)) are supported)
5973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports __attribute__((packed))" >&5
5974 $as_echo_n "checking whether $CXX supports __attribute__((packed))... " >&6; }
5975 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
5976 /* end confdefs.h. */
5982 struct s { char a; short b; } __attribute__((packed));
5983 typedef char t[sizeof(struct s) == 3 ? 1 : -1];
5988 if ac_fn_cxx_try_compile
"$LINENO"; then :
5989 gcc_have_attr_packed
=yes
5991 gcc_have_attr_packed
=no
5993 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
5995 if test "$gcc_have_attr_packed" = "yes"; then
5997 $as_echo "#define HAVE_ATTR_PACKED 1" >>confdefs.h
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_have_attr_packed" >&5
6001 $as_echo "$gcc_have_attr_packed" >&6; }
6009 # Check whether --with-initscriptdir was given.
6010 if test "${with_initscriptdir+set}" = set; then :
6011 withval
=$with_initscriptdir; case "$withval" in
6012 auto|
yes) as_fn_error $?
"'--with-initscriptdir=$withval' is no longer supported" "$LINENO" 5 ;;
6014 *) initddir
="$withval" ;;
6020 if test -n "$initddir"; then
6021 INSTALL_INITSCRIPT_TRUE
=
6022 INSTALL_INITSCRIPT_FALSE
='#'
6024 INSTALL_INITSCRIPT_TRUE
='#'
6025 INSTALL_INITSCRIPT_FALSE
=
6029 # use different init script templates for different OS
6032 initdfile
="smartd.freebsd.initd"
6035 initdfile
="com.smartmontools.smartd.plist"
6038 initdfile
="smartd.cygwin.initd"
6041 initdfile
="smartd.initd"
6047 # Check whether --with-exampledir was given.
6048 if test "${with_exampledir+set}" = set; then :
6049 withval
=$with_exampledir; exampledir
="$withval"
6051 exampledir
='${docdir}/examplescripts'
6056 drivedbdir
='${datadir}/${PACKAGE}'
6058 # Check whether --with-drivedbdir was given.
6059 if test "${with_drivedbdir+set}" = set; then :
6060 withval
=$with_drivedbdir; case "$withval" in yes) ;; no
) drivedbdir
= ;; *) drivedbdir
="$withval" ;; esac
6064 if test -n "$drivedbdir"; then
6065 ENABLE_DRIVEDB_TRUE
=
6066 ENABLE_DRIVEDB_FALSE
='#'
6068 ENABLE_DRIVEDB_TRUE
='#'
6069 ENABLE_DRIVEDB_FALSE
=
6073 drivedb_version
=$smartmontools_drivedb_version
6075 # Check whether --with-update-smart_drivedb was given.
6076 if test "${with_update_smart_drivedb+set}" = set; then :
6077 withval
=$with_update_smart_drivedb; case "$withval" in
6079 5.4[0-3]|
6.
[0-9]) drivedb_version
=$withval; with_update_smart_drivedb
=yes ;;
6080 *) as_fn_error $?
"Invalid drivedb branch version: $withval" "$LINENO" 5 ;;
6084 with_update_smart_drivedb
=yes
6087 test -n "$drivedbdir" || with_update_smart_drivedb
=no
6089 if test "$with_update_smart_drivedb" = "yes"; then
6090 ENABLE_UPDATE_SMART_DRIVEDB_TRUE
=
6091 ENABLE_UPDATE_SMART_DRIVEDB_FALSE
='#'
6093 ENABLE_UPDATE_SMART_DRIVEDB_TRUE
='#'
6094 ENABLE_UPDATE_SMART_DRIVEDB_FALSE
=
6099 # Also check for '--with-gnupg[=yes]' because 'yes' is a valid command with infinite output
6101 # Check whether --with-gnupg was given.
6102 if test "${with_gnupg+set}" = set; then :
6103 withval
=$with_gnupg; case "$withval" in yes) ;; no
) gnupg
= ;; *) gnupg
="$withval" ;; esac
6108 case "$with_update_smart_drivedb:$gnupg" in
6111 '--without-update-smart-drivedb' now requires '--without-gnupg'.
6112 NEWS: update-smart-drivedb now verifies the downloaded drivedb.h file with GnuPG." "$LINENO" 5
6117 # Check whether --with-smartdscriptdir was given.
6118 if test "${with_smartdscriptdir+set}" = set; then :
6119 withval
=$with_smartdscriptdir; smartdscriptdir
="$withval"
6121 smartdscriptdir
='${sysconfdir}'
6127 # Check whether --with-smartdplugindir was given.
6128 if test "${with_smartdplugindir+set}" = set; then :
6129 withval
=$with_smartdplugindir; smartdplugindir
=; test "$withval" != "no" && smartdplugindir
="$withval"
6131 smartdplugindir
='${smartdscriptdir}/smartd_warning.d'
6137 # Check whether --with-scriptpath was given.
6138 if test "${with_scriptpath+set}" = set; then :
6139 withval
=$with_scriptpath; scriptpath
=; test "$withval" != "no" && scriptpath
="$withval"
6141 scriptpath
="/usr/local/bin:/usr/bin:/bin"
6145 if test -n "$scriptpath"; then
6146 ENABLE_SCRIPTPATH_TRUE
=
6147 ENABLE_SCRIPTPATH_FALSE
='#'
6149 ENABLE_SCRIPTPATH_TRUE
='#'
6150 ENABLE_SCRIPTPATH_FALSE
=
6156 # Check whether --with-savestates was given.
6157 if test "${with_savestates+set}" = set; then :
6158 withval
=$with_savestates; case "$withval" in yes) savestates
='${localstatedir}/lib/${PACKAGE}/smartd.' ;;
6159 no
) ;; *) savestates
="$withval" ;; esac
6162 savestatesdir
="${savestates%/*}"
6165 if test -n "$savestates"; then
6166 ENABLE_SAVESTATES_TRUE
=
6167 ENABLE_SAVESTATES_FALSE
='#'
6169 ENABLE_SAVESTATES_TRUE
='#'
6170 ENABLE_SAVESTATES_FALSE
=
6176 # Check whether --with-attributelog was given.
6177 if test "${with_attributelog+set}" = set; then :
6178 withval
=$with_attributelog; case "$withval" in yes) attributelog
='${localstatedir}/lib/${PACKAGE}/attrlog.' ;;
6179 no
) ;; *) attributelog
="$withval" ;; esac
6182 attributelogdir
="${attributelog%/*}"
6185 if test -n "$attributelog"; then
6186 ENABLE_ATTRIBUTELOG_TRUE
=
6187 ENABLE_ATTRIBUTELOG_FALSE
='#'
6189 ENABLE_ATTRIBUTELOG_TRUE
='#'
6190 ENABLE_ATTRIBUTELOG_FALSE
=
6194 # Check whether --enable-sample was given.
6195 if test "${enable_sample+set}" = set; then :
6196 enableval
=$enable_sample; smartd_suffix
=; test "$enableval" = "yes" && smartd_suffix
=".sample"
6203 # Check whether --enable-scsi-cdb-check was given.
6204 if test "${enable_scsi_cdb_check+set}" = set; then :
6205 enableval
=$enable_scsi_cdb_check; if test "$enableval" = "yes"; then
6207 $as_echo "#define SCSI_CDB_CHECK 1" >>confdefs.h
6214 # Check whether --enable-fast-lebe was given.
6215 if test "${enable_fast_lebe+set}" = set; then :
6216 enableval
=$enable_fast_lebe; if test "$enableval" = "no"; then
6218 $as_echo "#define IGNORE_FAST_LEBE 1" >>confdefs.h
6226 # Check whether --with-os-deps was given.
6227 if test "${with_os_deps+set}" = set; then :
6228 withval
=$with_os_deps; for x
in $with_os_deps; do
6231 *) as_fn_error $?
"non-object file specified by --with-os-deps" "$LINENO" 5 ;;
6239 # Check whether --with-selinux was given.
6240 if test "${with_selinux+set}" = set; then :
6241 withval
=$with_selinux; if test "$withval" = "yes"; then
6242 for ac_header
in selinux
/selinux.h
6244 ac_fn_cxx_check_header_mongrel
"$LINENO" "selinux/selinux.h" "ac_cv_header_selinux_selinux_h" "$ac_includes_default"
6245 if test "x$ac_cv_header_selinux_selinux_h" = xyes
; then :
6246 cat >>confdefs.h
<<_ACEOF
6247 #define HAVE_SELINUX_SELINUX_H 1
6251 as_fn_error $?
"Missing SELinux header files" "$LINENO" 5
6256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for matchpathcon in -lselinux" >&5
6257 $as_echo_n "checking for matchpathcon in -lselinux... " >&6; }
6258 if ${ac_cv_lib_selinux_matchpathcon+:} false
; then :
6259 $as_echo_n "(cached) " >&6
6261 ac_check_lib_save_LIBS
=$LIBS
6262 LIBS
="-lselinux $LIBS"
6263 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6264 /* end confdefs.h. */
6266 /* Override any GCC internal prototype to avoid an error.
6267 Use char because int might match the return type of a GCC
6268 builtin and then its argument prototype would still apply. */
6272 char matchpathcon ();
6276 return matchpathcon ();
6281 if ac_fn_cxx_try_link
"$LINENO"; then :
6282 ac_cv_lib_selinux_matchpathcon
=yes
6284 ac_cv_lib_selinux_matchpathcon
=no
6286 rm -f core conftest.err conftest.
$ac_objext \
6287 conftest
$ac_exeext conftest.
$ac_ext
6288 LIBS
=$ac_check_lib_save_LIBS
6290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_selinux_matchpathcon" >&5
6291 $as_echo "$ac_cv_lib_selinux_matchpathcon" >&6; }
6292 if test "x$ac_cv_lib_selinux_matchpathcon" = xyes
; then :
6293 cat >>confdefs.h
<<_ACEOF
6294 #define HAVE_LIBSELINUX 1
6297 LIBS
="-lselinux $LIBS"
6300 as_fn_error $?
"Missing or incorrect SELinux library files" "$LINENO" 5
6309 # Check whether --with-libcap-ng was given.
6310 if test "${with_libcap_ng+set}" = set; then :
6311 withval
=$with_libcap_ng;
6318 case "$with_libcap_ng:$host_os" in
6320 for ac_header
in cap-ng.h
6322 ac_fn_cxx_check_header_mongrel
"$LINENO" "cap-ng.h" "ac_cv_header_cap_ng_h" "$ac_includes_default"
6323 if test "x$ac_cv_header_cap_ng_h" = xyes
; then :
6324 cat >>confdefs.h
<<_ACEOF
6325 #define HAVE_CAP_NG_H 1
6327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for capng_clear in -lcap-ng" >&5
6328 $as_echo_n "checking for capng_clear in -lcap-ng... " >&6; }
6329 if ${ac_cv_lib_cap_ng_capng_clear+:} false
; then :
6330 $as_echo_n "(cached) " >&6
6332 ac_check_lib_save_LIBS
=$LIBS
6333 LIBS
="-lcap-ng $LIBS"
6334 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6335 /* end confdefs.h. */
6337 /* Override any GCC internal prototype to avoid an error.
6338 Use char because int might match the return type of a GCC
6339 builtin and then its argument prototype would still apply. */
6343 char capng_clear ();
6347 return capng_clear ();
6352 if ac_fn_cxx_try_link
"$LINENO"; then :
6353 ac_cv_lib_cap_ng_capng_clear
=yes
6355 ac_cv_lib_cap_ng_capng_clear
=no
6357 rm -f core conftest.err conftest.
$ac_objext \
6358 conftest
$ac_exeext conftest.
$ac_ext
6359 LIBS
=$ac_check_lib_save_LIBS
6361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cap_ng_capng_clear" >&5
6362 $as_echo "$ac_cv_lib_cap_ng_capng_clear" >&6; }
6363 if test "x$ac_cv_lib_cap_ng_capng_clear" = xyes
; then :
6365 $as_echo "#define HAVE_LIBCAP_NG 1" >>confdefs.h
6366 CAPNG_LDADD
="-lcap-ng"; use_libcap_ng
=yes
6368 as_fn_error $?
"libcap-ng headers found but library is missing" "$LINENO" 5
6372 test "$with_libcap_ng" != "yes" || as_fn_error $?
"Missing libcap-ng header files" "$LINENO" 5
6382 # Check whether --with-libsystemd was given.
6383 if test "${with_libsystemd+set}" = set; then :
6384 withval
=$with_libsystemd;
6386 with_libsystemd
=auto
6391 case "$with_libsystemd:$host_os" in
6393 for ac_header
in systemd
/sd-daemon.h
6395 ac_fn_cxx_check_header_mongrel
"$LINENO" "systemd/sd-daemon.h" "ac_cv_header_systemd_sd_daemon_h" "$ac_includes_default"
6396 if test "x$ac_cv_header_systemd_sd_daemon_h" = xyes
; then :
6397 cat >>confdefs.h
<<_ACEOF
6398 #define HAVE_SYSTEMD_SD_DAEMON_H 1
6400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sd_notify in -lsystemd" >&5
6401 $as_echo_n "checking for sd_notify in -lsystemd... " >&6; }
6402 if ${ac_cv_lib_systemd_sd_notify+:} false
; then :
6403 $as_echo_n "(cached) " >&6
6405 ac_check_lib_save_LIBS
=$LIBS
6406 LIBS
="-lsystemd $LIBS"
6407 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6408 /* end confdefs.h. */
6410 /* Override any GCC internal prototype to avoid an error.
6411 Use char because int might match the return type of a GCC
6412 builtin and then its argument prototype would still apply. */
6420 return sd_notify ();
6425 if ac_fn_cxx_try_link
"$LINENO"; then :
6426 ac_cv_lib_systemd_sd_notify
=yes
6428 ac_cv_lib_systemd_sd_notify
=no
6430 rm -f core conftest.err conftest.
$ac_objext \
6431 conftest
$ac_exeext conftest.
$ac_ext
6432 LIBS
=$ac_check_lib_save_LIBS
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_systemd_sd_notify" >&5
6435 $as_echo "$ac_cv_lib_systemd_sd_notify" >&6; }
6436 if test "x$ac_cv_lib_systemd_sd_notify" = xyes
; then :
6438 $as_echo "#define HAVE_LIBSYSTEMD 1" >>confdefs.h
6439 SYSTEMD_LDADD
="-lsystemd"; use_libsystemd
=yes
6441 as_fn_error $?
"libsystemd headers found but library is missing" "$LINENO" 5
6445 test "$with_libsystemd" != "yes" || as_fn_error $?
"Missing libsystemd header files" "$LINENO" 5
6455 # Check whether --with-systemdsystemunitdir was given.
6456 if test "${with_systemdsystemunitdir+set}" = set; then :
6457 withval
=$with_systemdsystemunitdir;
6459 with_systemdsystemunitdir
=auto
6463 systemdsystemunitdir
=
6464 case "$with_systemdsystemunitdir:$use_libsystemd" in
6466 if test -n "$PKG_CONFIG"; then
6467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for systemdsystemunitdir" >&5
6468 $as_echo_n "checking for systemdsystemunitdir... " >&6; }
6469 systemdsystemunitdir
=`$PKG_CONFIG --variable=systemdsystemunitdir systemd 2>/dev/null`
6470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${systemdsystemunitdir:-no}" >&5
6471 $as_echo "${systemdsystemunitdir:-no}" >&6; }
6473 case "$with_systemdsystemunitdir:$sysconfdir:$systemdsystemunitdir" in
6474 yes:*:) as_fn_error $?
"Location of systemd service files not found" "$LINENO" 5 ;;
6475 yes:*:*|auto
:*:|auto
:/etc
:*) ;;
6476 *) systemdsystemunitdir
='${prefix}'$systemdsystemunitdir ;;
6479 *:yes) systemdsystemunitdir
="$with_systemdsystemunitdir" ;;
6480 *) as_fn_error $?
"'--with-systemdsystemunitdir=$with_systemdsystemunitdir' now requires '--with-libsystemd'" "$LINENO" 5 ;;
6483 if test -n "$systemdsystemunitdir"; then
6484 INSTALL_SYSTEMDUNIT_TRUE
=
6485 INSTALL_SYSTEMDUNIT_FALSE
='#'
6487 INSTALL_SYSTEMDUNIT_TRUE
='#'
6488 INSTALL_SYSTEMDUNIT_FALSE
=
6493 # Check whether --with-systemdenvfile was given.
6494 if test "${with_systemdenvfile+set}" = set; then :
6495 withval
=$with_systemdenvfile;
6497 with_systemdenvfile
=auto
6502 case "$with_systemdenvfile:$cross_compiling:$systemdsystemunitdir" in
6503 auto
:no
:?
*|
yes:*:?
*)
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for path of systemd EnvironmentFile" >&5
6505 $as_echo_n "checking for path of systemd EnvironmentFile... " >&6; }
6506 for dir
in sysconfig default
; do
6507 if test -d /etc
/$dir; then
6508 systemdenvfile
='${sysconfdir}'/$dir/smartmontools
6512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${systemdenvfile:-no}" >&5
6513 $as_echo "${systemdenvfile:-no}" >&6; }
6514 case "$with_systemdenvfile:$systemdenvfile" in
6515 yes:) as_fn_error $?
"Path of systemd EnvironmentFile not found" "$LINENO" 5 ;;
6518 *:*:) as_fn_error $?
"Location of systemd service files not found" "$LINENO" 5 ;;
6519 *) systemdenvfile
="$with_systemdenvfile"
6523 # TODO: Remove when NVMe support is no longer EXPERIMENTAL
6525 # Check whether --with-nvme-devicescan was given.
6526 if test "${with_nvme_devicescan+set}" = set; then :
6527 withval
=$with_nvme_devicescan;
6532 # Check whether --with-solaris-sparc-ata was given.
6533 if test "${with_solaris_sparc_ata+set}" = set; then :
6534 withval
=$with_solaris_sparc_ata;
6538 case "$host:$with_solaris_sparc_ata" in
6539 sparc-
*-solaris*:yes)
6540 if test ! -f "$srcdir/os_solaris_ata.s"; then
6541 as_fn_error $?
"Missing source file: $srcdir/os_solaris_ata.s
6542 This file is no longer included in the source tarball but still
6543 available in the SVN repository." "$LINENO" 5
6546 $as_echo "#define WITH_SOLARIS_SPARC_ATA 1" >>confdefs.h
6552 # Check whether --with-signal-func was given.
6553 if test "${with_signal_func+set}" = set; then :
6554 withval
=$with_signal_func;
6556 with_signal_func
=sigaction
6560 case "$host:$with_signal_func" in
6563 for ac_func
in sigaction
6565 ac_fn_cxx_check_func
"$LINENO" "sigaction" "ac_cv_func_sigaction"
6566 if test "x$ac_cv_func_sigaction" = xyes
; then :
6567 cat >>confdefs.h
<<_ACEOF
6568 #define HAVE_SIGACTION 1
6572 as_fn_error $?
"Missing function 'sigaction()'.
6573 Try '--with-signal-func=sigset' or '--with-signal-func=signal'.
6574 Please send info about your system to $PACKAGE_BUGREPORT." "$LINENO" 5
6579 for ac_func
in sigset
6581 ac_fn_cxx_check_func
"$LINENO" "sigset" "ac_cv_func_sigset"
6582 if test "x$ac_cv_func_sigset" = xyes
; then :
6583 cat >>confdefs.h
<<_ACEOF
6584 #define HAVE_SIGSET 1
6588 as_fn_error $?
"Missing function 'sigset()'" "$LINENO" 5
6593 *) as_fn_error $?
"Invalid option '--with-signal-func=$with_signal_func'" "$LINENO" 5 ;;
6596 # TODO: Remove after smartmontools 6.7
6598 # Check whether --with-working-snprintf was given.
6599 if test "${with_working_snprintf+set}" = set; then :
6600 withval
=$with_working_snprintf;
6602 with_working_snprintf
=yes
6606 if test "$with_working_snprintf" = "yes"; then
6608 $as_echo "#define HAVE_WORKING_SNPRINTF 1" >>confdefs.h
6611 case "$with_working_snprintf:$host_os: $CPPFLAGS $CXXFLAGS" in
6612 yes:mingw
*:*\
-[DU
]__USE_MINGW_ANSI_STDIO
*)
6615 # Older MinGW (4.6.3) do not properly define PRI?64 if __USE_MINGW_ANSI_STDIO is set.
6616 # Newer MinGW (4.9.1) set __USE_MINGW_ANSI_STDIO in first C++ include which may be too late.
6617 # Set __USE_MINGW_ANSI_STDIO always and fail if not fully supported.
6618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports __USE_MINGW_ANSI_STDIO" >&5
6619 $as_echo_n "checking whether $CXX supports __USE_MINGW_ANSI_STDIO... " >&6; }
6620 save_CXXFLAGS
=$CXXFLAGS
6621 CXXFLAGS
="-Wformat -Werror -D__USE_MINGW_ANSI_STDIO"
6622 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6623 /* end confdefs.h. */
6625 #define __STDC_FORMAT_MACROS 1
6626 #include <inttypes.h>
6628 void f(char * buf1, char * buf2, size_t size) {
6629 snprintf(buf1, size, "%lld", 42LL);
6630 snprintf(buf2, size, "%" PRId64, (int64_t)42);
6633 if ac_fn_cxx_try_compile
"$LINENO"; then :
6638 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
6640 $as_echo "$result" >&6; }
6641 if test "$result" != "yes"; then
6643 This version of $CXX does not support __USE_MINGW_ANSI_STDIO.
6644 Use option '--without-working-snprintf' to skip this check.
6645 Please send info about your system to $PACKAGE_BUGREPORT.
6648 CXXFLAGS
="-D__USE_MINGW_ANSI_STDIO $save_CXXFLAGS"
6653 # Check whether --with-mingw-aslr was given.
6654 if test "${with_mingw_aslr+set}" = set; then :
6655 withval
=$with_mingw_aslr;
6657 with_mingw_aslr
=auto
6661 case "$host:${LDFLAGS+set}" in
6662 *-*-mingw*:) # MinGW defaults: link statically and indicate DEP and TS compatibility
6663 LDFLAGS
="-static -Wl,--nxcompat,--tsaware" ;;
6666 case "$host:$with_mingw_aslr" in
6667 x86_64-
*-mingw*:auto
)
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports --high-entropy-va" >&5
6669 $as_echo_n "checking whether $CXX supports --high-entropy-va... " >&6; }
6670 save_LDFLAGS
=$LDFLAGS
6671 LDFLAGS
="$LDFLAGS -pie -Wl,--dynamicbase,-emainCRTStartup,--high-entropy-va,--image-base,0x140000000"
6672 # Link libstdc++ to detect MinGW 6.3.0 problems with high --image-base
6673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6674 /* end confdefs.h. */
6677 std::string s(42, '.');
6686 if ac_fn_cxx_try_link
"$LINENO"; then :
6691 rm -f core conftest.err conftest.
$ac_objext \
6692 conftest
$ac_exeext conftest.
$ac_ext
6693 LDFLAGS
=$save_LDFLAGS
6694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $with_mingw_aslr" >&5
6695 $as_echo "$with_mingw_aslr" >&6; }
6696 test "$with_mingw_aslr" = "yes" || with_mingw_aslr
=low
6700 case "$host:$with_mingw_aslr" in
6701 x86_64-
*-mingw*:yes)
6702 LDFLAGS
="$LDFLAGS -pie -Wl,--dynamicbase,-emainCRTStartup,--high-entropy-va,--image-base,0x140000000" ;;
6703 x86_64-
*-mingw*:low
)
6704 LDFLAGS
="$LDFLAGS -pie -Wl,--dynamicbase,-emainCRTStartup" ;;
6705 *-*-mingw*:auto|
*-*-mingw*:yes|
*-*-mingw*:low
)
6706 LDFLAGS
="$LDFLAGS -pie -Wl,--dynamicbase,-e_mainCRTStartup" ;;
6712 # Newer MinGW may add a default manifest
6713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX adds an application manifest" >&5
6714 $as_echo_n "checking whether $CXX adds an application manifest... " >&6; }
6716 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6717 /* end confdefs.h. */
6727 if ac_fn_cxx_try_link
"$LINENO"; then :
6729 if "$WINDRES" -O rc conftest.exe
2>/dev
/null |
grep '^1.*RT_MANIFEST' >/dev
/null
2>&1; then
6730 cc_adds_manifest
=incomplete
6731 # Manifest must provide a Win 10 compatibility ID
6732 if "$WINDRES" -O rc conftest.exe
2>/dev
/null |
grep '{8e0f7a12-bfb3-4fe8-b9a5-48fd50a15a9a}' >/dev
/null
2>&1; then
6733 cc_adds_manifest
=yes
6737 as_fn_error $?
"test compile failed" "$LINENO" 5
6739 rm -f core conftest.err conftest.
$ac_objext \
6740 conftest
$ac_exeext conftest.
$ac_ext
6741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cc_adds_manifest" >&5
6742 $as_echo "$cc_adds_manifest" >&6; }
6743 test "$cc_adds_manifest" = "yes" || os_win32_manifest
='os_win32/default.manifest'
6748 # Check whether --with-cxx11-option was given.
6749 if test "${with_cxx11_option+set}" = set; then :
6750 withval
=$with_cxx11_option;
6752 with_cxx11_option
=auto
6756 check_cxx11_support
()
6758 save_CXXFLAGS
=$CXXFLAGS
6760 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6761 /* end confdefs.h. */
6763 #if __cplusplus < 201103L
6766 // use some C++11 features (and return v * 42 :-)
6767 auto cxx11(long v) noexcept -> decltype(v) {
6768 typedef decltype(v) t; t r = v;
6769 static const t a[] = { -7, -1, 1, 2, 3 };
6770 static_assert(sizeof(r) == sizeof(a[0]), "fail");
6771 auto f = [](t x, t y){ return x * y; };
6772 for (const auto & e : a) r = f(r, e);
6783 if ac_fn_cxx_try_compile
"$LINENO"; then :
6784 CXXFLAGS
=$save_CXXFLAGS; return 0
6786 CXXFLAGS
=$save_CXXFLAGS; return 1
6788 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
6791 case "$with_cxx11_option" in
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CXX option to accept C++11" >&5
6795 $as_echo_n "checking for $CXX option to accept C++11... " >&6; }
6796 with_cxx11_option
=unknown
6797 for option
in "" "-std=gnu++11" "-std=gnu++0x" "-std=c++11" "-std=c++0x"; do
6798 if check_cxx11_support
"$option"; then with_cxx11_option
=$option; break; fi
6800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_cxx11_option:-none needed}" >&5
6801 $as_echo "${with_cxx11_option:-none needed}" >&6; }
6802 test "$with_cxx11_option" != "unknown" || as_fn_error $?
"
6803 This version of smartmontools does not use C++11 features, but future
6804 versions possibly will.
6805 This script was unable to determine a compiler option to enable C++11.
6806 Use option '--with-cxx11-option=OPTION' to specify the compiler option
6807 (it will be used in the actual build only if '--with-cxx11-regex' is set).
6808 Use option '--without-cxx11-option' to suppress this error message if the
6809 compiler lacks C++11 support.
6810 In both cases, please send info about compiler and platform to
6811 $PACKAGE_BUGREPORT - Thanks!" "$LINENO" 5
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX $with_cxx11_option accepts C++11" >&5
6815 $as_echo_n "checking whether $CXX $with_cxx11_option accepts C++11... " >&6; }
6816 res
=no
; check_cxx11_support
"$with_cxx11_option" && res
=yes
6817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
6818 $as_echo "$res" >&6; }
6819 test "$res" = "yes" || as_fn_error $?
"$CXX $with_cxx11_option does not accept C++11" "$LINENO" 5
6824 # Check whether --with-cxx11-regex was given.
6825 if test "${with_cxx11_regex+set}" = set; then :
6826 withval
=$with_cxx11_regex;
6831 if test "$with_cxx11_regex" = "yes"; then
6833 $as_echo "#define WITH_CXX11_REGEX 1" >>confdefs.h
6835 case "$with_cxx11_option: $CXXFLAGS " in
6836 no
:*) as_fn_error $?
"'--with-cxx11-regex' requires C++11 support" "$LINENO" 5 ;;
6837 ?
*:*\
$with_cxx11_option\
*) ;;
6838 ?
*:*) CXXFLAGS
="$CXXFLAGS $with_cxx11_option" ;;
6841 for ac_func
in regcomp
6843 ac_fn_cxx_check_func
"$LINENO" "regcomp" "ac_cv_func_regcomp"
6844 if test "x$ac_cv_func_regcomp" = xyes
; then :
6845 cat >>confdefs.h
<<_ACEOF
6846 #define HAVE_REGCOMP 1
6855 if test "$need_regex" = "yes"; then
6857 NEED_REGEX_FALSE
='#'
6864 releaseversion
='${PACKAGE}-${VERSION}'
6869 # Set platform-specific modules and symbols
6871 os_dltools
='curl wget lynx svn'
6873 os_hostname
="'hostname'"
6875 os_nisdomainname
="'domainname'"
6885 os_deps
='os_linux.o cciss.o dev_areca.o'
6886 os_dnsdomainname
="'dnsdomainname' 'hostname -d'"
6887 os_nisdomainname
="'nisdomainname' 'hostname -y' 'domainname'"
6889 os_nvme_devicescan
=yes
6891 *-*-freebsd*|
*-*-dragonfly*|
*-*-kfreebsd*-gnu*)
6892 os_deps
='os_freebsd.o cciss.o dev_areca.o'
6893 os_libs
='-lcam -lsbuf'
6894 os_dltools
='curl wget lynx fetch svn'
6895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb20_dev_get_device_desc in -lusb" >&5
6896 $as_echo_n "checking for libusb20_dev_get_device_desc in -lusb... " >&6; }
6897 if ${ac_cv_lib_usb_libusb20_dev_get_device_desc+:} false
; then :
6898 $as_echo_n "(cached) " >&6
6900 ac_check_lib_save_LIBS
=$LIBS
6902 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
6903 /* end confdefs.h. */
6905 /* Override any GCC internal prototype to avoid an error.
6906 Use char because int might match the return type of a GCC
6907 builtin and then its argument prototype would still apply. */
6911 char libusb20_dev_get_device_desc ();
6915 return libusb20_dev_get_device_desc ();
6920 if ac_fn_cxx_try_link
"$LINENO"; then :
6921 ac_cv_lib_usb_libusb20_dev_get_device_desc
=yes
6923 ac_cv_lib_usb_libusb20_dev_get_device_desc
=no
6925 rm -f core conftest.err conftest.
$ac_objext \
6926 conftest
$ac_exeext conftest.
$ac_ext
6927 LIBS
=$ac_check_lib_save_LIBS
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_libusb20_dev_get_device_desc" >&5
6930 $as_echo "$ac_cv_lib_usb_libusb20_dev_get_device_desc" >&6; }
6931 if test "x$ac_cv_lib_usb_libusb20_dev_get_device_desc" = xyes
; then :
6932 cat >>confdefs.h
<<_ACEOF
6933 #define HAVE_LIBUSB 1
6940 os_man_filter
=FreeBSD
6941 os_nvme_devicescan
=no
6944 os_deps
='os_solaris.o'
6945 test "$with_solaris_sparc_ata" = "yes" \
6946 && os_deps
="$os_deps os_solaris_ata.o"
6949 os_man_filter
=Solaris
6952 os_deps
='os_solaris.o'
6955 os_man_filter
=Solaris
6958 os_deps
='os_netbsd.o'
6960 os_man_filter
=NetBSD
6961 os_nvme_devicescan
=no
6964 os_deps
='os_openbsd.o'
6966 os_dltools
='curl wget lynx ftp svn'
6967 os_man_filter
=OpenBSD
6970 os_deps
='os_win32.o dev_areca.o'
6972 os_hostname
="'hostname' 'echo "'"${HOSTNAME?unset}"'"'"
6973 os_dnsdomainname
="'dnsdomainname' 'hostname -d' 'echo "'"${USERDNSDOMAIN?unset}"'"'"
6976 os_man_filter
=Cygwin
6977 os_nvme_devicescan
=yes
6980 os_deps
='os_win32.o dev_areca.o'
6984 os_man_filter
=Windows
6985 os_nvme_devicescan
=yes
6988 os_deps
='os_win32.o dev_areca.o'
6991 os_man_filter
=Windows
6992 os_nvme_devicescan
=yes
6995 os_deps
='os_darwin.o'
6996 os_libs
='-framework CoreFoundation -framework IOKit'
6998 os_man_filter
=Darwin
6999 os_nvme_devicescan
=no
7002 os_deps
='os_qnxnto.o'
7008 os_deps
='os_generic.o'
7012 # Replace if '--with-os-deps' was specified
7013 test -z "$with_os_deps" || os_deps
="$with_os_deps"
7015 # Check if we need adapter to old interface (dev_legacy.cpp)
7016 os_src
=`echo "${os_deps}"|sed -n 's,^\([^ .]*\)\.o.*$,\1.cpp,p'`
7017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${os_src} uses new interface" >&5
7018 $as_echo_n "checking whether ${os_src} uses new interface... " >&6; }
7019 if grep "smart_interface" "${srcdir}/${os_src}" >/dev
/null
2>&1; then
7020 os_new_interface
=yes
7023 os_deps
="${os_deps} dev_legacy.o"
7025 $as_echo "#define OLD_INTERFACE 1" >>confdefs.h
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_new_interface" >&5
7029 $as_echo "$os_new_interface" >&6; }
7031 # TODO: Remove when NVMe support is no longer EXPERIMENTAL
7032 case "$os_nvme_devicescan:${with_nvme_devicescan+set}" in
7034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether NVMe device scanning could be safely enabled" >&5
7035 $as_echo_n "checking whether NVMe device scanning could be safely enabled... " >&6; }
7036 with_nvme_devicescan
=$os_nvme_devicescan
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $os_nvme_devicescan" >&5
7038 $as_echo "$os_nvme_devicescan" >&6; }
7039 os_nvme_devicescan
=used
;;
7042 if test "$with_nvme_devicescan" = "yes"; then
7044 $as_echo "#define WITH_NVME_DEVICESCAN 1" >>confdefs.h
7058 # Create drivedb.h update branch name from version: 5.41[.X] -> RELEASE_5_41_DRIVEDB
7059 DRIVEDB_BRANCH
=`echo "$drivedb_version" | sed 's,^\([0-9]*\.[0-9]*\)\..*$,\1,' \
7060 | sed -n 's,^\([0-9][0-9]*\)\.\([0-9][0-9]*\)$,RELEASE_\1_\2_DRIVEDB,p'`
7061 if test -z "$DRIVEDB_BRANCH"; then
7062 as_fn_error $?
"Unable to create DRIVEDB_BRANCH for version: $drivedb_version" "$LINENO" 5
7066 # Enable platform-specific makefile sections
7067 if test "$os_darwin" = "yes"; then
7075 if test "$os_solaris" = "yes"; then
7077 OS_SOLARIS_FALSE
='#'
7083 if test "$os_win32" = "yes"; then
7091 if test "$os_win32_mingw" = "yes"; then
7092 OS_WIN32_MINGW_TRUE
=
7093 OS_WIN32_MINGW_FALSE
='#'
7095 OS_WIN32_MINGW_TRUE
='#'
7096 OS_WIN32_MINGW_FALSE
=
7099 if test -n "$MAKENSIS"; then
7101 OS_WIN32_NSIS_FALSE
='#'
7103 OS_WIN32_NSIS_TRUE
='#'
7104 OS_WIN32_NSIS_FALSE
=
7107 if test "$os_win64" = "yes"; then
7116 if test "$GXX" = "yes"; then
7117 orig_CXXFLAGS
=$CXXFLAGS
7118 # Add -Wall and -W[extra] if its not already specified
7119 case " $CXXFLAGS " in
7121 *) CXXFLAGS
="$CXXFLAGS -Wall" ;;
7123 case " $CXXFLAGS " in
7124 *\
-W\
*|
*\
-Wextra\
*) ;;
7125 *) CXXFLAGS
="$CXXFLAGS -W" ;;
7127 # Add -Wformat=2 (GCC 3.0) -fstack-protector[-strong] (GCC 4.1[4.9]) if supported
7128 # and no -W or -f option was set in configure cmdline (TODO: -Wformat-signedness)
7129 for option
in "-Wformat=2" "-fstack-protector-strong" "-fstack-protector"; do
7130 case " $orig_CXXFLAGS:$option" in *\
-W*:-W*|
*\
-f*:-f*) continue ;; esac
7131 case " $CXXFLAGS:$option" in *\
-fstack-p*:-fstack-p*) continue ;; esac
7132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX supports $option" >&5
7133 $as_echo_n "checking whether $CXX supports $option... " >&6; }
7134 save_CXXFLAGS
=$CXXFLAGS
7135 CXXFLAGS
="$CXXFLAGS $option"
7136 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
7137 /* end confdefs.h. */
7147 if ac_fn_cxx_try_compile
"$LINENO"; then :
7150 res
=no
; CXXFLAGS
=$save_CXXFLAGS
7152 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
7153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
7154 $as_echo "$res" >&6; }
7157 # We are NOT using gcc, so enable host-specific compiler flags
7160 # Tell the Solaris/SPARC C++ compiler about packed ATA structures
7161 case " $CXXFLAGS" in
7163 *) CXXFLAGS
="-xmemalign=1i $CXXFLAGS" ;;
7168 # Turn on optimization if user has not explicitly set its value
7169 case " $CXXFLAGS" in
7171 *) CXXFLAGS
="-xO2 $CXXFLAGS" ;;
7173 # Suppress trivial warnings
7174 case " $CXXFLAGS" in
7176 *) CXXFLAGS
="-erroff=%none,wbadinitl,wbadasgl,badargtypel2w,badargtype2w $CXXFLAGS" ;;
7182 cat >>confdefs.h
<<_ACEOF
7183 #define SMARTMONTOOLS_BUILD_HOST "${host}"
7189 ac_config_files
="$ac_config_files Makefile"
7191 cat >confcache
<<\_ACEOF
7192 # This file is a shell script that caches the results of configure
7193 # tests run on this system so they can be shared between configure
7194 # scripts and configure runs, see configure's option --config-cache.
7195 # It is not useful on other systems. If it contains results you don't
7196 # want to keep, you may remove or edit it.
7198 # config.status only pays attention to the cache file if you give it
7199 # the --recheck option to rerun configure.
7201 # `ac_cv_env_foo' variables (set or unset) will be overridden when
7202 # loading this file, other *unset* `ac_cv_foo' will be assigned the
7207 # The following way of writing the cache mishandles newlines in values,
7208 # but we know of no workaround that is simple, portable, and efficient.
7209 # So, we kill variables containing newlines.
7210 # Ultrix sh set writes to stderr and can't be redirected directly,
7211 # and sets the high bit in the cache file unless we assign to the vars.
7213 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
7214 eval ac_val
=\$
$ac_var
7218 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
7219 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
7222 _ | IFS | as_nl
) ;; #(
7223 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
7224 *) { eval $ac_var=; unset $ac_var;} ;;
7230 case $as_nl`(ac_space=' '; set) 2>&1` in #(
7231 *${as_nl}ac_space
=\
*)
7232 # `set' does not quote correctly, so add quotes: double-quote
7233 # substitution turns \\\\ into \\, and sed turns \\ into \.
7236 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
7239 # `set' quotes correctly as required by POSIX, so do not add quotes.
7240 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
7249 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
7251 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
7253 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
7254 if test -w "$cache_file"; then
7255 if test "x$cache_file" != "x/dev/null"; then
7256 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
7257 $as_echo "$as_me: updating cache $cache_file" >&6;}
7258 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
7259 cat confcache
>"$cache_file"
7261 case $cache_file in #(
7263 mv -f confcache
"$cache_file"$$
&&
7264 mv -f "$cache_file"$$
"$cache_file" ;; #(
7266 mv -f confcache
"$cache_file" ;;
7271 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
7272 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
7277 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
7278 # Let make expand exec_prefix.
7279 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
7281 DEFS
=-DHAVE_CONFIG_H
7286 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
7287 # 1. Remove the extension, and $U if already installed.
7288 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
7289 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
7290 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
7291 # will be set to the directory where LIBOBJS objects are built.
7292 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
7293 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
7297 LTLIBOBJS
=$ac_ltlibobjs
7300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
7301 $as_echo_n "checking that generated files are newer than configure... " >&6; }
7302 if test -n "$am_sleep_pid"; then
7303 # Hide warnings about reused PIDs.
7304 wait $am_sleep_pid 2>/dev
/null
7306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
7307 $as_echo "done" >&6; }
7308 if test -n "$EXEEXT"; then
7310 am__EXEEXT_FALSE
='#'
7316 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
7317 as_fn_error $?
"conditional \"MAINTAINER_MODE\" was never defined.
7318 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7320 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
7321 as_fn_error $?
"conditional \"AMDEP\" was never defined.
7322 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7324 if test -z "${am__fastdepCXX_TRUE}" && test -z "${am__fastdepCXX_FALSE}"; then
7325 as_fn_error $?
"conditional \"am__fastdepCXX\" was never defined.
7326 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7328 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
7329 as_fn_error $?
"conditional \"am__fastdepCC\" was never defined.
7330 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7332 if test -z "${am__fastdepCCAS_TRUE}" && test -z "${am__fastdepCCAS_FALSE}"; then
7333 as_fn_error $?
"conditional \"am__fastdepCCAS\" was never defined.
7334 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7336 if test -z "${IS_SVN_BUILD_TRUE}" && test -z "${IS_SVN_BUILD_FALSE}"; then
7337 as_fn_error $?
"conditional \"IS_SVN_BUILD\" was never defined.
7338 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7340 if test -z "${NEED_GETOPT_LONG_TRUE}" && test -z "${NEED_GETOPT_LONG_FALSE}"; then
7341 as_fn_error $?
"conditional \"NEED_GETOPT_LONG\" was never defined.
7342 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7345 if test -z "${INSTALL_INITSCRIPT_TRUE}" && test -z "${INSTALL_INITSCRIPT_FALSE}"; then
7346 as_fn_error $?
"conditional \"INSTALL_INITSCRIPT\" was never defined.
7347 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7349 if test -z "${ENABLE_DRIVEDB_TRUE}" && test -z "${ENABLE_DRIVEDB_FALSE}"; then
7350 as_fn_error $?
"conditional \"ENABLE_DRIVEDB\" was never defined.
7351 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7353 if test -z "${ENABLE_UPDATE_SMART_DRIVEDB_TRUE}" && test -z "${ENABLE_UPDATE_SMART_DRIVEDB_FALSE}"; then
7354 as_fn_error $?
"conditional \"ENABLE_UPDATE_SMART_DRIVEDB\" was never defined.
7355 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7357 if test -z "${ENABLE_SCRIPTPATH_TRUE}" && test -z "${ENABLE_SCRIPTPATH_FALSE}"; then
7358 as_fn_error $?
"conditional \"ENABLE_SCRIPTPATH\" was never defined.
7359 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7361 if test -z "${ENABLE_SAVESTATES_TRUE}" && test -z "${ENABLE_SAVESTATES_FALSE}"; then
7362 as_fn_error $?
"conditional \"ENABLE_SAVESTATES\" was never defined.
7363 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7365 if test -z "${ENABLE_ATTRIBUTELOG_TRUE}" && test -z "${ENABLE_ATTRIBUTELOG_FALSE}"; then
7366 as_fn_error $?
"conditional \"ENABLE_ATTRIBUTELOG\" was never defined.
7367 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7369 if test -z "${INSTALL_SYSTEMDUNIT_TRUE}" && test -z "${INSTALL_SYSTEMDUNIT_FALSE}"; then
7370 as_fn_error $?
"conditional \"INSTALL_SYSTEMDUNIT\" was never defined.
7371 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7373 if test -z "${NEED_REGEX_TRUE}" && test -z "${NEED_REGEX_FALSE}"; then
7374 as_fn_error $?
"conditional \"NEED_REGEX\" was never defined.
7375 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7377 if test -z "${OS_DARWIN_TRUE}" && test -z "${OS_DARWIN_FALSE}"; then
7378 as_fn_error $?
"conditional \"OS_DARWIN\" was never defined.
7379 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7381 if test -z "${OS_SOLARIS_TRUE}" && test -z "${OS_SOLARIS_FALSE}"; then
7382 as_fn_error $?
"conditional \"OS_SOLARIS\" was never defined.
7383 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7385 if test -z "${OS_WIN32_TRUE}" && test -z "${OS_WIN32_FALSE}"; then
7386 as_fn_error $?
"conditional \"OS_WIN32\" was never defined.
7387 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7389 if test -z "${OS_WIN32_MINGW_TRUE}" && test -z "${OS_WIN32_MINGW_FALSE}"; then
7390 as_fn_error $?
"conditional \"OS_WIN32_MINGW\" was never defined.
7391 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7393 if test -z "${OS_WIN32_NSIS_TRUE}" && test -z "${OS_WIN32_NSIS_FALSE}"; then
7394 as_fn_error $?
"conditional \"OS_WIN32_NSIS\" was never defined.
7395 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7397 if test -z "${OS_WIN64_TRUE}" && test -z "${OS_WIN64_FALSE}"; then
7398 as_fn_error $?
"conditional \"OS_WIN64\" was never defined.
7399 Usually this means the macro was only invoked conditionally." "$LINENO" 5
7402 : "${CONFIG_STATUS=./config.status}"
7404 ac_clean_files_save
=$ac_clean_files
7405 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
7406 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
7407 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
7409 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
7411 # Generated by $as_me.
7412 # Run this file to recreate the current configuration.
7413 # Compiler output produced by configure, useful for debugging
7414 # configure, is in config.log if it exists.
7420 SHELL=\${CONFIG_SHELL-$SHELL}
7423 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
7424 ## -------------------- ##
7425 ## M4sh Initialization. ##
7426 ## -------------------- ##
7428 # Be more Bourne compatible
7429 DUALCASE
=1; export DUALCASE
# for MKS sh
7430 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
7433 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
7434 # is contrary to our usage. Disable this feature.
7435 alias -g '${1+"$@"}'='"$@"'
7436 setopt NO_GLOB_SUBST
7438 case `(set -o) 2>/dev/null` in #(
7450 # Printing a long string crashes Solaris 7 /usr/bin/printf.
7451 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
7452 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
7453 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
7454 # Prefer a ksh shell builtin over an external printf program on Solaris,
7455 # but without wasting forks for bash or zsh.
7456 if test -z "$BASH_VERSION$ZSH_VERSION" \
7457 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
7458 as_echo='print
-r --'
7459 as_echo_n='print
-rn --'
7460 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
7461 as_echo='printf %s
\n'
7462 as_echo_n='printf %s
'
7464 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
7465 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
7466 as_echo_n='/usr
/ucb
/echo -n'
7468 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
7469 as_echo_n_body='eval
7473 expr "X$arg" : "X\\(.*\\)$as_nl";
7474 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
7476 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
7478 export as_echo_n_body
7479 as_echo_n='sh
-c $as_echo_n_body as_echo
'
7482 as_echo='sh
-c $as_echo_body as_echo
'
7485 # The user is always right.
7486 if test "${PATH_SEPARATOR+set}" != set; then
7488 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
7489 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
7496 # We need space, tab and new line, in precisely that order. Quoting is
7497 # there to prevent editors from complaining about space-tab.
7498 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
7499 # splitting by setting IFS to empty value.)
7502 # Find who we are. Look in the path if we contain no directory separator.
7505 *[\\/]* ) as_myself=$0 ;;
7506 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7510 test -z "$as_dir" && as_dir=.
7511 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
7517 # We did not find ourselves, most probably we were run as `sh COMMAND'
7518 # in which case we are not to be found in the path.
7519 if test "x$as_myself" = x
; then
7522 if test ! -f "$as_myself"; then
7523 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
7527 # Unset variables that we do not need and which cause bugs (e.g. in
7528 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
7529 # suppresses any "Segmentation fault" message there. '((' could
7530 # trigger a bug in pdksh 5.2.14.
7531 for as_var
in BASH_ENV ENV MAIL MAILPATH
7532 do eval test x\
${$as_var+set} = xset \
7533 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
7546 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
7549 # as_fn_error STATUS ERROR [LINENO LOG_FD]
7550 # ----------------------------------------
7551 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
7552 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
7553 # script with STATUS, using 1 if that was 0.
7556 as_status
=$1; test $as_status -eq 0 && as_status
=1
7558 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
7559 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
7561 $as_echo "$as_me: error: $2" >&2
7562 as_fn_exit
$as_status
7566 # as_fn_set_status STATUS
7567 # -----------------------
7568 # Set $? to STATUS, without forking.
7572 } # as_fn_set_status
7576 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
7586 # Portably unset VAR.
7589 { eval $1=; unset $1;}
7591 as_unset
=as_fn_unset
7592 # as_fn_append VAR VALUE
7593 # ----------------------
7594 # Append the text in VALUE to the end of the definition contained in VAR. Take
7595 # advantage of any shell optimizations that allow amortized linear growth over
7596 # repeated appends, instead of the typical quadratic growth present in naive
7598 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
7599 eval 'as_fn_append ()
7610 # as_fn_arith ARG...
7611 # ------------------
7612 # Perform arithmetic evaluation on the ARGs, and store the result in the
7613 # global $as_val. Take advantage of shells that can avoid forks. The arguments
7614 # must be portable across $(()) and expr.
7615 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
7616 eval 'as_fn_arith ()
7623 as_val
=`expr "$@" || test $? -eq 1`
7628 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
7629 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
7635 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
7636 as_basename
=basename
7641 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
7647 as_me
=`$as_basename -- "$0" ||
7648 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
7649 X"$0" : 'X\(//\)$' \| \
7650 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
7652 sed '/^.*\/\([^/][^/]*\)\/*$/{
7666 # Avoid depending upon Character Ranges.
7667 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
7668 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
7669 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
7670 as_cr_digits
='0123456789'
7671 as_cr_alnum
=$as_cr_Letters$as_cr_digits
7673 ECHO_C
= ECHO_N
= ECHO_T
=
7674 case `echo -n x` in #(((((
7676 case `echo 'xy\c'` in
7677 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
7679 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
7686 rm -f conf$$ conf$$.exe conf$$.
file
7687 if test -d conf$$.dir
; then
7688 rm -f conf$$.dir
/conf$$.
file
7691 mkdir conf$$.dir
2>/dev
/null
7693 if (echo >conf$$.
file) 2>/dev
/null
; then
7694 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
7696 # ... but there are two gotchas:
7697 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
7698 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
7699 # In both cases, we have to default to `cp -pR'.
7700 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
7702 elif ln conf$$.
file conf$$
2>/dev
/null
; then
7710 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
7711 rmdir conf$$.dir
2>/dev
/null
7716 # Create "$as_dir" as a directory, including parents if necessary.
7721 -*) as_dir
=.
/$as_dir;;
7723 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
7727 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
7728 *) as_qdir
=$as_dir;;
7730 as_dirs
="'$as_qdir' $as_dirs"
7731 as_dir
=`$as_dirname -- "$as_dir" ||
7732 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7733 X"$as_dir" : 'X\(//\)[^/]' \| \
7734 X"$as_dir" : 'X\(//\)$' \| \
7735 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
7736 $as_echo X"$as_dir" |
7737 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7754 test -d "$as_dir" && break
7756 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
7757 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
7761 if mkdir
-p .
2>/dev
/null
; then
7762 as_mkdir_p
='mkdir -p "$as_dir"'
7764 test -d .
/-p && rmdir .
/-p
7769 # as_fn_executable_p FILE
7770 # -----------------------
7771 # Test if FILE is an executable regular file.
7772 as_fn_executable_p
()
7774 test -f "$1" && test -x "$1"
7775 } # as_fn_executable_p
7777 as_executable_p
=as_fn_executable_p
7779 # Sed expression to map a string onto a valid CPP name.
7780 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
7782 # Sed expression to map a string onto a valid variable name.
7783 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
7787 ## ----------------------------------- ##
7788 ## Main body of $CONFIG_STATUS script. ##
7789 ## ----------------------------------- ##
7791 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
7793 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7794 # Save the log message, to keep $0 and so on meaningful, and to
7795 # report actual input values of CONFIG_FILES etc. instead of their
7796 # values after options handling.
7798 This file was extended by smartmontools $as_me 7.0, which was
7799 generated by GNU Autoconf 2.69. Invocation command line was
7801 CONFIG_FILES = $CONFIG_FILES
7802 CONFIG_HEADERS = $CONFIG_HEADERS
7803 CONFIG_LINKS = $CONFIG_LINKS
7804 CONFIG_COMMANDS = $CONFIG_COMMANDS
7807 on `(hostname || uname -n) 2>/dev/null | sed 1q`
7812 case $ac_config_files in *"
7813 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
7816 case $ac_config_headers in *"
7817 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
7821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7822 # Files that config.status was made for.
7823 config_files="$ac_config_files"
7824 config_headers="$ac_config_headers"
7825 config_commands="$ac_config_commands"
7829 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7831 \`$as_me' instantiates files and other configuration actions
7832 from templates according to the current configuration. Unless the files
7833 and actions are specified as TAGs, all are instantiated by default.
7835 Usage: $0 [OPTION]... [TAG]...
7837 -h, --help print this help, then exit
7838 -V, --version print version number and configuration settings, then exit
7839 --config print configuration, then exit
7840 -q, --quiet, --silent
7841 do not print progress messages
7842 -d, --debug don't remove temporary files
7843 --recheck update $as_me by reconfiguring in the same conditions
7844 --file=FILE[:TEMPLATE]
7845 instantiate the configuration file FILE
7846 --header=FILE[:TEMPLATE]
7847 instantiate the configuration header FILE
7849 Configuration files:
7852 Configuration headers:
7855 Configuration commands:
7858 Report bugs to <smartmontools-support@listi.jpberlin.de>."
7861 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7862 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
7864 smartmontools config.status 7.0
7865 configured by $0, generated by GNU Autoconf 2.69,
7866 with options \\"\$ac_cs_config\\"
7868 Copyright (C) 2012 Free Software Foundation, Inc.
7869 This config.status script is free software; the Free Software Foundation
7870 gives unlimited permission to copy, distribute and modify it."
7877 test -n "\$AWK" || AWK=awk
7880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7881 # The default lists apply if the user does not specify any file.
7887 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7888 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
7892 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
7904 # Handling of the options.
7905 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
7907 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
7908 $as_echo "$ac_cs_version"; exit ;;
7909 --config |
--confi |
--conf |
--con |
--co |
--c )
7910 $as_echo "$ac_cs_config"; exit ;;
7911 --debug |
--debu |
--deb |
--de |
--d |
-d )
7913 --file |
--fil |
--fi |
--f )
7916 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7917 '') as_fn_error $?
"missing file argument" ;;
7919 as_fn_append CONFIG_FILES
" '$ac_optarg'"
7920 ac_need_defaults
=false
;;
7921 --header |
--heade |
--head |
--hea )
7924 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7926 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
7927 ac_need_defaults
=false
;;
7929 # Conflict between --help and --header
7930 as_fn_error $?
"ambiguous option: \`$1'
7931 Try \`$0 --help' for more information.";;
7932 --help |
--hel |
-h )
7933 $as_echo "$ac_cs_usage"; exit ;;
7934 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
7935 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
7939 -*) as_fn_error $?
"unrecognized option: \`$1'
7940 Try \`$0 --help' for more information." ;;
7942 *) as_fn_append ac_config_targets
" $1"
7943 ac_need_defaults
=false
;;
7949 ac_configure_extra_args
=
7951 if $ac_cs_silent; then
7953 ac_configure_extra_args
="$ac_configure_extra_args --silent"
7957 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7958 if \$ac_cs_recheck; then
7959 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7961 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
7962 CONFIG_SHELL='$SHELL'
7968 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7972 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7973 ## Running $as_me. ##
7979 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7983 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
7987 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
7989 # Handling of arguments.
7990 for ac_config_target
in $ac_config_targets
7992 case $ac_config_target in
7993 "config.h") CONFIG_HEADERS
="$CONFIG_HEADERS config.h" ;;
7994 "depfiles") CONFIG_COMMANDS
="$CONFIG_COMMANDS depfiles" ;;
7995 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
7997 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
8002 # If the user did not use the arguments to specify the items to instantiate,
8003 # then the envvar interface is used. Set only those that are not.
8004 # We use the long form for the default assignment because of an extremely
8005 # bizarre bug on SunOS 4.1.3.
8006 if $ac_need_defaults; then
8007 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
8008 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
8009 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS
=$config_commands
8012 # Have a temporary directory for convenience. Make it in the build tree
8013 # simply because there is no reason against having it here, and in addition,
8014 # creating and moving files from /tmp can sometimes cause problems.
8015 # Hook for its removal unless debugging.
8016 # Note that there is a small window in which the directory will not be cleaned:
8017 # after its creation but before its name has been assigned to `$tmp'.
8021 trap 'exit_status=$?
8023 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
8025 trap 'as_fn_exit 1' 1 2 13 15
8027 # Create a (secure) tmp directory for tmp files.
8030 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
8034 tmp
=.
/conf$$
-$RANDOM
8035 (umask 077 && mkdir
"$tmp")
8036 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
8039 # Set up the scripts for CONFIG_FILES section.
8040 # No need to generate them if there are no CONFIG_FILES.
8041 # This happens for instance with `./config.status config.h'.
8042 if test -n "$CONFIG_FILES"; then
8045 ac_cr
=`echo X | tr X '\015'`
8046 # On cygwin, bash can eat \r inside `` if the user requested igncr.
8047 # But we know of no other shell where ac_cr would be empty at this
8048 # point, so we can use a bashism as a fallback.
8049 if test "x$ac_cr" = x
; then
8050 eval ac_cr
=\$
\'\\r
\'
8052 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
8053 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
8059 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
8064 echo "cat >conf$$subs.awk <<_ACEOF" &&
8065 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
8068 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8069 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
8071 for ac_last_try in false false false false false :; do
8072 . ./conf$$subs.sh ||
8073 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8075 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
8076 if test $ac_delim_n = $ac_delim_num; then
8078 elif $ac_last_try; then
8079 as_fn_error $? "could not
make $CONFIG_STATUS" "$LINENO" 5
8081 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8087 cat >>"\
$ac_tmp/subs1.
awk" <<\\_ACAWK &&
8091 s/^/S["/; s
/!.
*/"]=/
8101 s/\(.\{148\}\)..*/\1/
8103 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
8108 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8115 s/\(.\{148\}\)..*/\1/
8117 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
8121 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
8126 ' <conf$$subs.awk | sed '
8131 ' >>$CONFIG_STATUS || ac_write_fail=1
8132 rm -f conf$$subs.awk
8133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8135 cat >>"\
$ac_tmp/subs1.
awk" <<_ACAWK &&
8136 for (key in S) S_is_set[key] = 1
8142 nfields = split(line, field, "@
")
8144 len = length(field[1])
8145 for (i = 2; i < nfields; i++) {
8147 keylen = length(key)
8148 if (S_is_set[key]) {
8150 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
8151 len += length(value) + length(field[++i])
8162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8163 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
8164 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
8167 fi < "$ac_tmp/subs1.
awk" > "$ac_tmp/subs.
awk" \
8168 || as_fn_error $? "could not setup config files machinery
" "$LINENO" 5
8171 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
8172 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".
", strip leading and
8173 # trailing colons and then remove the whole line if VPATH becomes empty
8174 # (actually we leave an empty line to preserve line numbers).
8175 if test "x
$srcdir" = x.; then
8176 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
8194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
8195 fi # test -n "$CONFIG_FILES"
8197 # Set up the scripts for CONFIG_HEADERS section.
8198 # No need to generate them if there are no CONFIG_HEADERS.
8199 # This happens for instance with `./config.status Makefile'.
8200 if test -n "$CONFIG_HEADERS"; then
8201 cat >"$ac_tmp/defines.
awk" <<\_ACAWK ||
8205 # Transform confdefs.h into an awk script `defines.awk', embedded as
8206 # here-document in config.status, that substitutes the proper values into
8207 # config.h.in to produce config.h.
8209 # Create a delimiter string that does not exist in confdefs.h, to ease
8210 # handling of long lines.
8212 for ac_last_try in false false :; do
8213 ac_tt=`sed -n "/$ac_delim/p
" confdefs.h`
8214 if test -z "$ac_tt"; then
8216 elif $ac_last_try; then
8217 as_fn_error $? "could not
make $CONFIG_HEADERS" "$LINENO" 5
8219 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
8223 # For the awk script, D is an array of macro values keyed by name,
8224 # likewise P contains macro parameters if any. Preserve backslash
8225 # newline sequences.
8227 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
8229 s/.\{148\}/&'"$ac_delim"'/g
8232 s/^[ ]*#[ ]*define[ ][ ]*/ /
8239 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
8241 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
8245 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
8246 D["\
1"]=" \
3\\\\\\n
"\\/p
8248 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
8253 s/.\{148\}/&'"$ac_delim"'/g
8258 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
8261 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
8263 ' <confdefs.h | sed '
8264 s/'"$ac_delim"'/"\\\
8265 "/g' >>$CONFIG_STATUS || ac_write_fail=1
8267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8268 for (key in D) D_is_set[key] = 1
8271 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
8273 split(line, arg, " ")
8274 if (arg[1] == "#") {
8278 defundef
= substr
(arg
[1], 2)
8281 split(mac1
, mac2
, "(") #)
8283 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
8284 if (D_is_set
[macro
]) {
8285 # Preserve the white space surrounding the "#".
8286 print prefix
"define", macro P
[macro
] D
[macro
]
8289 # Replace #undef with comments. This is necessary, for example,
8290 # in the case of _POSIX_SOURCE, which is predefined and required
8291 # on some systems where configure will not decide to define it.
8292 if (defundef
== "undef") {
8293 print
"/*", prefix defundef
, macro
, "*/"
8301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8302 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
8303 fi # test -n "$CONFIG_HEADERS"
8306 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
8311 :[FHLC
]) ac_mode
=$ac_tag; continue;;
8313 case $ac_mode$ac_tag in
8315 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
8316 :[FH
]-) ac_tag
=-:-;;
8317 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
8334 -) ac_f
="$ac_tmp/stdin";;
8335 *) # Look for the file first in the build tree, then in the source tree
8336 # (if the path is not absolute). The absolute path cannot be DOS-style,
8337 # because $ac_f cannot contain `:'.
8341 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
8343 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
8345 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
8346 as_fn_append ac_file_inputs
" '$ac_f'"
8349 # Let's still pretend it is `configure' which instantiates (i.e., don't
8350 # use $as_me), people would be surprised to read:
8351 # /* config.h. Generated by config.status. */
8352 configure_input
='Generated from '`
8353 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
8355 if test x
"$ac_file" != x-
; then
8356 configure_input
="$ac_file. $configure_input"
8357 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
8358 $as_echo "$as_me: creating $ac_file" >&6;}
8360 # Neutralize special characters interpreted by sed in replacement strings.
8361 case $configure_input in #(
8362 *\
&* |
*\|
* |
*\\* )
8363 ac_sed_conf_input
=`$as_echo "$configure_input" |
8364 sed 's/[\\\\&|]/\\\\&/g'`;; #(
8365 *) ac_sed_conf_input
=$configure_input;;
8369 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
8370 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
8375 ac_dir
=`$as_dirname -- "$ac_file" ||
8376 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8377 X"$ac_file" : 'X\(//\)[^/]' \| \
8378 X"$ac_file" : 'X\(//\)$' \| \
8379 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
8380 $as_echo X"$ac_file" |
8381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8398 as_dir
="$ac_dir"; as_fn_mkdir_p
8402 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8404 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
8405 # A ".." for each directory in $ac_dir_suffix.
8406 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
8407 case $ac_top_builddir_sub in
8408 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
8409 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
8412 ac_abs_top_builddir
=$ac_pwd
8413 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
8414 # for backward compatibility:
8415 ac_top_builddir
=$ac_top_build_prefix
8418 .
) # We are building in place.
8420 ac_top_srcdir
=$ac_top_builddir_sub
8421 ac_abs_top_srcdir
=$ac_pwd ;;
8422 [\\/]* | ?
:[\\/]* ) # Absolute name.
8423 ac_srcdir
=$srcdir$ac_dir_suffix;
8424 ac_top_srcdir
=$srcdir
8425 ac_abs_top_srcdir
=$srcdir ;;
8427 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
8428 ac_top_srcdir
=$ac_top_build_prefix$srcdir
8429 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
8431 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
8441 [\\/$
]* | ?
:[\\/]* ) ac_INSTALL
=$INSTALL ;;
8442 *) ac_INSTALL
=$ac_top_build_prefix$INSTALL ;;
8446 [\\/$
]* | ?
:[\\/]* ) ;;
8447 */*) ac_MKDIR_P
=$ac_top_build_prefix$MKDIR_P ;;
8451 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8452 # If the template does not know about datarootdir, expand it.
8453 # FIXME: This hack should be removed a few years after 2.60.
8454 ac_datarootdir_hack
=; ac_datarootdir_seen
=
8465 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
8466 *datarootdir
*) ac_datarootdir_seen
=yes;;
8467 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
8469 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
8471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8472 ac_datarootdir_hack='
8473 s&@datadir@&$datadir&g
8474 s&@docdir@&$docdir&g
8475 s&@infodir@&$infodir&g
8476 s&@localedir@&$localedir&g
8477 s&@mandir@&$mandir&g
8478 s&\\\${datarootdir}&$datarootdir&g' ;;
8482 # Neutralize VPATH when `$srcdir' = `.'.
8483 # Shell code in configure.ac might set extrasub.
8484 # FIXME: do we really want to maintain this feature?
8485 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
8486 ac_sed_extra="$ac_vpsub
8489 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
8491 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
8492 s|@configure_input@|
$ac_sed_conf_input|
;t t
8493 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
8494 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
8495 s
&@srcdir@
&$ac_srcdir&;t t
8496 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
8497 s
&@top_srcdir@
&$ac_top_srcdir&;t t
8498 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
8499 s
&@builddir@
&$ac_builddir&;t t
8500 s
&@abs_builddir@
&$ac_abs_builddir&;t t
8501 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
8502 s
&@INSTALL@
&$ac_INSTALL&;t t
8503 s
&@MKDIR_P@
&$ac_MKDIR_P&;t t
8504 $ac_datarootdir_hack
8506 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.
awk" \
8507 >$ac_tmp/out || as_fn_error $? "could not create
$ac_file" "$LINENO" 5
8509 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
8510 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out
"`; test -n "$ac_out"; } &&
8511 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
8512 "$ac_tmp/out
"`; test -z "$ac_out"; } &&
8513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
8514 which seems to be undefined. Please make sure it is defined" >&5
8515 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
8516 which seems to be undefined. Please make sure it is defined" >&2;}
8518 rm -f "$ac_tmp/stdin"
8520 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
8521 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
8523 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8529 if test x"$ac_file" != x-; then
8531 $as_echo "/* $configure_input */" \
8532 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
8533 } >"$ac_tmp/config.h" \
8534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8535 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
8536 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
8537 $as_echo "$as_me: $ac_file is unchanged" >&6;}
8540 mv "$ac_tmp/config.h" "$ac_file" \
8541 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
8544 $as_echo "/* $configure_input */" \
8545 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
8546 || as_fn_error $? "could not create -" "$LINENO" 5
8548 # Compute "$ac_file"'s index
in $config_headers.
8551 for _am_header
in $config_headers :; do
8553 $_am_arg |
$_am_arg:* )
8556 _am_stamp_count
=`expr $_am_stamp_count + 1` ;;
8559 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
8560 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8561 X"$_am_arg" : 'X\(//\)[^/]' \| \
8562 X"$_am_arg" : 'X\(//\)$' \| \
8563 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
8564 $as_echo X"$_am_arg" |
8565 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8581 s/.*/./; q'`/stamp-h
$_am_stamp_count
8584 :C
) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
8585 $as_echo "$as_me: executing $ac_file commands" >&6;}
8590 case $ac_file$ac_mode in
8591 "depfiles":C
) test x
"$AMDEP_TRUE" != x
"" ||
{
8592 # Older Autoconf quotes --file arguments for eval, but not when files
8593 # are listed without --file. Let's play safe and only enable the eval
8594 # if we detect the quoting.
8595 case $CONFIG_FILES in
8596 *\'*) eval set x
"$CONFIG_FILES" ;;
8597 *) set x
$CONFIG_FILES ;;
8602 # Strip MF so we end up with the name of the file.
8603 mf
=`echo "$mf" | sed -e 's/:.*$//'`
8604 # Check whether this is an Automake generated Makefile or not.
8605 # We used to match only the files named 'Makefile.in', but
8606 # some people rename them; so instead we look at the file content.
8607 # Grep'ing the first line is not enough: some people post-process
8608 # each Makefile.in and add a new line on top of each file to say so.
8609 # Grep'ing the whole file is not good either: AIX grep has a line
8610 # limit of 2048, but all sed's we know have understand at least 4000.
8611 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" |
grep X
>/dev
/null
2>&1; then
8612 dirpart
=`$as_dirname -- "$mf" ||
8613 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8614 X"$mf" : 'X\(//\)[^/]' \| \
8615 X"$mf" : 'X\(//\)$' \| \
8616 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
8618 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8638 # Extract the definition of DEPDIR, am__include, and am__quote
8639 # from the Makefile without running 'make'.
8640 DEPDIR
=`sed -n 's/^DEPDIR = //p' < "$mf"`
8641 test -z "$DEPDIR" && continue
8642 am__include
=`sed -n 's/^am__include = //p' < "$mf"`
8643 test -z "$am__include" && continue
8644 am__quote
=`sed -n 's/^am__quote = //p' < "$mf"`
8645 # Find all dependency output files, they are included files with
8646 # $(DEPDIR) in their names. We invoke sed twice because it is the
8647 # simplest approach to changing $(DEPDIR) to its actual value in the
8649 for file in `sed -n "
8650 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
8651 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
8652 # Make sure the directory exists.
8653 test -f "$dirpart/$file" && continue
8654 fdir
=`$as_dirname -- "$file" ||
8655 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
8656 X"$file" : 'X\(//\)[^/]' \| \
8657 X"$file" : 'X\(//\)$' \| \
8658 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
8660 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
8677 as_dir
=$dirpart/$fdir; as_fn_mkdir_p
8678 # echo "creating $dirpart/$file"
8679 echo '# dummy' > "$dirpart/$file"
8691 ac_clean_files
=$ac_clean_files_save
8693 test $ac_write_fail = 0 ||
8694 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
8697 # configure is writing to config.log, and then calls config.status.
8698 # config.status does its own redirection, appending to config.log.
8699 # Unfortunately, on DOS this fails, as config.log is still kept open
8700 # by configure, so config.status won't be able to write to it; its
8701 # output is simply discarded. So we exec the FD to /dev/null,
8702 # effectively closing config.log, so it can be properly (re)opened and
8703 # appended to by config.status. When coming back to configure, we
8704 # need to make the FD available again.
8705 if test "$no_create" != yes; then
8707 ac_config_status_args
=
8708 test "$silent" = yes &&
8709 ac_config_status_args
="$ac_config_status_args --quiet"
8711 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
8713 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
8714 # would make configure fail if this is the last instruction.
8715 $ac_cs_success || as_fn_exit
1
8717 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
8718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
8719 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
8723 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
8725 ac_make
=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
8726 if eval \
${ac_cv_prog_make_${ac_make}_set+:} false
; then :
8727 $as_echo_n "(cached) " >&6
8729 cat >conftest.
make <<\_ACEOF
8732 @
echo '@@@%%%=$(MAKE)=@@@%%%'
8734 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8735 case `${MAKE-make} -f conftest.make 2>/dev/null` in
8737 eval ac_cv_prog_make_
${ac_make}_set
=yes;;
8739 eval ac_cv_prog_make_
${ac_make}_set
=no
;;
8743 if eval test \
$ac_cv_prog_make_${ac_make}_set
= yes; then
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8745 $as_echo "yes" >&6; }
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8749 $as_echo "no" >&6; }
8750 SET_MAKE
="MAKE=${MAKE-make}"
8754 # Note: Use `...` here as some shells do not properly parse '$(... case $x in X) ...)'
8756 echo "-----------------------------------------------------------------------------"
8757 echo "${PACKAGE}-${VERSION} configuration:"
8758 echo "host operating system: $host"
8759 echo "C++ compiler: $CXX"
8760 echo "C compiler: $CC"
8761 echo "preprocessor flags: $CPPFLAGS"
8762 echo "C++ compiler flags: $CXXFLAGS"
8763 echo "C compiler flags: $CFLAGS"
8764 echo "linker flags: $LDFLAGS"
8765 echo "OS specific modules: $os_deps $os_libs $LIBS"
8769 echo "application manifest: ${os_win32_manifest:-built-in}"
8770 echo "resource compiler: $WINDRES"
8771 echo "message compiler: $WINDMC"
8772 echo "NSIS compiler: $MAKENSIS"
8773 if test -n "$drivedbdir"; then
8774 echo "drive database file: EXEDIR/drivedb.h"
8775 if test -n "$MAKENSIS"; then
8776 echo "database update tool: EXEDIR/update-smart-drivedb.exe"
8779 echo "drive database file: [disabled]"
8781 if test -n "$savestates"; then
8782 echo "smartd save files: \`eval eval eval echo $savestates\
`MODEL-SERIAL.TYPE.state"
8784 if test -n "$attributelog"; then
8785 echo "smartd attribute logs: \`eval eval eval echo $attributelog\
`MODEL-SERIAL.TYPE.csv"
8787 echo "NVMe DEVICESCAN: ${with_nvme_devicescan-no}"
8791 echo "binary install path: \`eval eval eval echo $sbindir\
`"
8792 echo "man page install path: \`eval eval eval echo $mandir\
`"
8793 echo "doc file install path: \`eval eval eval echo $docdir\
`"
8794 echo "examples install path: \`eval eval eval echo $exampledir\
`"
8795 if test -n "$drivedbdir"; then
8796 echo "drive database file: \`eval eval eval echo $drivedbdir\
`/drivedb.h"
8797 if test "$with_update_smart_drivedb" = "yes"; then
8798 echo "database update script: \`eval eval eval echo $sbindir\
`/update-smart-drivedb"
8799 if test "$drivedb_version" = "$smartmontools_drivedb_version"; then
8800 echo "database update branch: branches/$DRIVEDB_BRANCH"
8802 echo "... backported to: branches/$DRIVEDB_BRANCH"
8804 echo "download tools: \`eval eval eval echo $os_dltools\
`"
8805 if test -n "$gnupg"; then
8806 echo "GnuPG for verification: \`eval eval eval echo $gnupg\
`"
8808 echo "GnuPG for verification: [disabled]"
8811 echo "database update script: [disabled]"
8814 echo "drive database file: [disabled]"
8816 echo "local drive database: \`eval eval eval echo $sysconfdir\
`/smart_drivedb.h"
8817 echo "smartd config file: \`eval eval eval echo $sysconfdir\
`/smartd.conf${smartd_suffix}"
8818 echo "smartd warning script: \`eval eval eval echo $smartdscriptdir\
`/smartd_warning.sh"
8819 if test -n "$smartdplugindir"; then
8820 echo "smartd plugin path: \`eval eval eval echo $smartdplugindir\
`"
8822 echo "smartd plugin path: [disabled]"
8824 if test -n "$scriptpath"; then
8825 echo "PATH within scripts: \`eval eval eval echo $scriptpath\
`"
8827 echo "PATH within scripts: [inherited]"
8829 if test -n "$initddir"; then
8830 echo "smartd initd script: \`eval eval eval echo $initddir\
`/smartd"
8831 elif test -z "$systemdsystemunitdir"; then
8832 echo "smartd initd script: [disabled]"
8834 if test -n "$systemdsystemunitdir"; then
8835 echo "smartd service file: \`eval eval eval echo $systemdsystemunitdir\
`/smartd.service"
8836 if test -n "$systemdenvfile"; then
8837 echo "smartd environ file: \`eval eval eval echo $systemdenvfile\
`"
8839 echo "smartd environ file: [disabled]"
8842 if test -n "$savestates"; then
8843 echo "smartd save files: \`eval eval eval echo $savestates\
`MODEL-SERIAL.TYPE.state"
8845 echo "smartd save files: [disabled]"
8847 if test -n "$attributelog"; then
8848 echo "smartd attribute logs: \`eval eval eval echo $attributelog\
`MODEL-SERIAL.TYPE.csv"
8850 echo "smartd attribute logs: [disabled]"
8854 echo "SELinux support: ${with_selinux-no}"
8855 echo "libcap-ng support: $use_libcap_ng"
8856 echo "systemd notify support: $use_libsystemd" ;;
8858 echo "NVMe DEVICESCAN: ${with_nvme_devicescan-[not implemented]}"
8861 echo "-----------------------------------------------------------------------------"
8864 { $as_echo "$as_me:${as_lineno-$LINENO}:
8871 # TODO: Remove when NVMe support is no longer EXPERIMENTAL
8872 case "$os_nvme_devicescan:$with_nvme_devicescan" in
8873 used
:yes) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8874 The default for the inclusion of NVME devices in smartd.conf
8875 'DEVICESCAN' and 'smartctl --scan' has been changed to 'yes' on
8876 this platform. If '--without-nvme-devicescan' is still needed,
8877 please inform $PACKAGE_BUGREPORT.
8878 Use option '--with-nvme-devicescan' to suppress this warning.
8880 $as_echo "$as_me: WARNING:
8881 The default for the inclusion of NVME devices in smartd.conf
8882 'DEVICESCAN' and 'smartctl --scan' has been changed to 'yes' on
8883 this platform. If '--without-nvme-devicescan' is still needed,
8884 please inform $PACKAGE_BUGREPORT.
8885 Use option '--with-nvme-devicescan' to suppress this warning.
8887 used
:no
) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8888 This version of smartmontools provides NVMe support which is still
8889 EXPERIMENTAL. NVMe devices are not yet included in smartd.conf
8890 'DEVICESCAN' and 'smartctl --scan' unless '-d nvme' is specified.
8891 Use option '--with-nvme-devicescan' to include NVMe devices.
8892 Use option '--without-nvme-devicescan' to suppress this warning.
8894 $as_echo "$as_me: WARNING:
8895 This version of smartmontools provides NVMe support which is still
8896 EXPERIMENTAL. NVMe devices are not yet included in smartd.conf
8897 'DEVICESCAN' and 'smartctl --scan' unless '-d nvme' is specified.
8898 Use option '--with-nvme-devicescan' to include NVMe devices.
8899 Use option '--without-nvme-devicescan' to suppress this warning.
8903 # TODO: Remove after smartmontools 6.7
8904 if test "$with_working_snprintf" != "yes"; then
8905 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8906 The option '--without-working-snprintf' is deprecated and will be removed
8907 in a future version of smartmontools. If you still need support for
8908 pre-C99 snprintf(), please inform $PACKAGE_BUGREPORT.
8910 $as_echo "$as_me: WARNING:
8911 The option '--without-working-snprintf' is deprecated and will be removed
8912 in a future version of smartmontools. If you still need support for
8913 pre-C99 snprintf(), please inform $PACKAGE_BUGREPORT.
8917 case "$host_os:$with_libsystemd:$use_libsystemd:$PKG_CONFIG" in
8919 if $PKG_CONFIG systemd
>/dev
/null
2>&1; then
8920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING:
8921 systemd(1) is used on this system but smartd systemd notify support will
8922 not be available because libsystemd-dev[el] package is not installed.
8923 Use option '--without-libsystemd' to suppress this warning.
8925 $as_echo "$as_me: WARNING:
8926 systemd(1) is used on this system but smartd systemd notify support will
8927 not be available because libsystemd-dev[el] package is not installed.
8928 Use option '--without-libsystemd' to suppress this warning.