2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for acpid 2.0.22.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
579 PACKAGE_TARNAME='acpid'
580 PACKAGE_VERSION='2.0.22'
581 PACKAGE_STRING='acpid 2.0.22'
585 ac_unique_file="connection_list.h"
586 # Factoring default headers for most tests.
587 ac_includes_default="\
589 #ifdef HAVE_SYS_TYPES_H
590 # include <sys/types.h>
592 #ifdef HAVE_SYS_STAT_H
593 # include <sys/stat.h>
599 # ifdef HAVE_STDLIB_H
604 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
609 #ifdef HAVE_STRINGS_H
610 # include <strings.h>
612 #ifdef HAVE_INTTYPES_H
613 # include <inttypes.h>
622 ac_subst_vars='am__EXEEXT_FALSE
655 MAINTAINER_MODE_FALSE
669 INSTALL_STRIP_PROGRAM
711 program_transform_name
724 enable_option_checking
726 enable_maintainer_mode
727 enable_dependency_tracking
730 ac_precious_vars='build_alias
741 # Initialize some variables set by options.
743 ac_init_version=false
744 ac_unrecognized_opts=
746 # The variables have the same names as the options, with
747 # dashes changed to underlines.
755 program_transform_name=s,x,x,
763 # Installation directory options.
764 # These are left unexpanded so users can "make install exec_prefix=/foo"
765 # and all the variables that are supposed to be based on exec_prefix
766 # by default will actually change.
767 # Use braces instead of parens because sh, perl, etc. also accept them.
768 # (The list follows the same order as the GNU Coding Standards.)
769 bindir='${exec_prefix}/bin'
770 sbindir='${exec_prefix}/sbin'
771 libexecdir='${exec_prefix}/libexec'
772 datarootdir='${prefix}/share'
773 datadir='${datarootdir}'
774 sysconfdir='${prefix}/etc'
775 sharedstatedir='${prefix}/com'
776 localstatedir='${prefix}/var'
777 includedir='${prefix}/include'
778 oldincludedir='/usr/include'
779 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
780 infodir='${datarootdir}/info'
785 libdir='${exec_prefix}/lib'
786 localedir='${datarootdir}/locale'
787 mandir='${datarootdir}/man'
793 # If the previous option needs an argument, assign it.
794 if test -n "$ac_prev"; then
795 eval $ac_prev=\$ac_option
801 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
806 # Accept the important Cygnus configure options, so we can diagnose typos.
808 case $ac_dashdash$ac_option in
812 -bindir | --bindir | --bindi | --bind | --bin | --bi)
814 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
817 -build | --build | --buil | --bui | --bu)
818 ac_prev=build_alias ;;
819 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
820 build_alias=$ac_optarg ;;
822 -cache-file | --cache-file | --cache-fil | --cache-fi \
823 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
824 ac_prev=cache_file ;;
825 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
826 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
827 cache_file=$ac_optarg ;;
830 cache_file=config.cache ;;
832 -datadir | --datadir | --datadi | --datad)
834 -datadir=* | --datadir=* | --datadi=* | --datad=*)
835 datadir=$ac_optarg ;;
837 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
838 | --dataroo | --dataro | --datar)
839 ac_prev=datarootdir ;;
840 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
841 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
842 datarootdir=$ac_optarg ;;
844 -disable-* | --disable-*)
845 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
846 # Reject names that are not valid shell variable names.
847 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
848 as_fn_error $? "invalid feature name: $ac_useropt"
849 ac_useropt_orig=$ac_useropt
850 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
851 case $ac_user_opts in
855 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
856 ac_unrecognized_sep=', ';;
858 eval enable_$ac_useropt=no ;;
860 -docdir | --docdir | --docdi | --doc | --do)
862 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
865 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
867 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
870 -enable-* | --enable-*)
871 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
872 # Reject names that are not valid shell variable names.
873 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
874 as_fn_error $? "invalid feature name: $ac_useropt"
875 ac_useropt_orig=$ac_useropt
876 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
877 case $ac_user_opts in
881 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
882 ac_unrecognized_sep=', ';;
884 eval enable_$ac_useropt=\$ac_optarg ;;
886 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
887 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
888 | --exec | --exe | --ex)
889 ac_prev=exec_prefix ;;
890 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
891 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
892 | --exec=* | --exe=* | --ex=*)
893 exec_prefix=$ac_optarg ;;
895 -gas | --gas | --ga | --g)
896 # Obsolete; use --with-gas.
899 -help | --help | --hel | --he | -h)
901 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
902 ac_init_help=recursive ;;
903 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
904 ac_init_help=short ;;
906 -host | --host | --hos | --ho)
907 ac_prev=host_alias ;;
908 -host=* | --host=* | --hos=* | --ho=*)
909 host_alias=$ac_optarg ;;
911 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
913 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
915 htmldir=$ac_optarg ;;
917 -includedir | --includedir | --includedi | --included | --include \
918 | --includ | --inclu | --incl | --inc)
919 ac_prev=includedir ;;
920 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
921 | --includ=* | --inclu=* | --incl=* | --inc=*)
922 includedir=$ac_optarg ;;
924 -infodir | --infodir | --infodi | --infod | --info | --inf)
926 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
927 infodir=$ac_optarg ;;
929 -libdir | --libdir | --libdi | --libd)
931 -libdir=* | --libdir=* | --libdi=* | --libd=*)
934 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
935 | --libexe | --libex | --libe)
936 ac_prev=libexecdir ;;
937 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
938 | --libexe=* | --libex=* | --libe=*)
939 libexecdir=$ac_optarg ;;
941 -localedir | --localedir | --localedi | --localed | --locale)
943 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
944 localedir=$ac_optarg ;;
946 -localstatedir | --localstatedir | --localstatedi | --localstated \
947 | --localstate | --localstat | --localsta | --localst | --locals)
948 ac_prev=localstatedir ;;
949 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
950 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
951 localstatedir=$ac_optarg ;;
953 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
955 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
959 # Obsolete; use --without-fp.
962 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
963 | --no-cr | --no-c | -n)
966 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
967 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
970 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
971 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
972 | --oldin | --oldi | --old | --ol | --o)
973 ac_prev=oldincludedir ;;
974 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
975 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
976 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
977 oldincludedir=$ac_optarg ;;
979 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
981 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
984 -program-prefix | --program-prefix | --program-prefi | --program-pref \
985 | --program-pre | --program-pr | --program-p)
986 ac_prev=program_prefix ;;
987 -program-prefix=* | --program-prefix=* | --program-prefi=* \
988 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
989 program_prefix=$ac_optarg ;;
991 -program-suffix | --program-suffix | --program-suffi | --program-suff \
992 | --program-suf | --program-su | --program-s)
993 ac_prev=program_suffix ;;
994 -program-suffix=* | --program-suffix=* | --program-suffi=* \
995 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
996 program_suffix=$ac_optarg ;;
998 -program-transform-name | --program-transform-name \
999 | --program-transform-nam | --program-transform-na \
1000 | --program-transform-n | --program-transform- \
1001 | --program-transform | --program-transfor \
1002 | --program-transfo | --program-transf \
1003 | --program-trans | --program-tran \
1004 | --progr-tra | --program-tr | --program-t)
1005 ac_prev=program_transform_name ;;
1006 -program-transform-name=* | --program-transform-name=* \
1007 | --program-transform-nam=* | --program-transform-na=* \
1008 | --program-transform-n=* | --program-transform-=* \
1009 | --program-transform=* | --program-transfor=* \
1010 | --program-transfo=* | --program-transf=* \
1011 | --program-trans=* | --program-tran=* \
1012 | --progr-tra=* | --program-tr=* | --program-t=*)
1013 program_transform_name=$ac_optarg ;;
1015 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1017 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1018 pdfdir=$ac_optarg ;;
1020 -psdir | --psdir | --psdi | --psd | --ps)
1022 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1025 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1026 | -silent | --silent | --silen | --sile | --sil)
1029 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1031 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1033 sbindir=$ac_optarg ;;
1035 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1036 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1037 | --sharedst | --shareds | --shared | --share | --shar \
1039 ac_prev=sharedstatedir ;;
1040 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1041 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1042 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1044 sharedstatedir=$ac_optarg ;;
1046 -site | --site | --sit)
1048 -site=* | --site=* | --sit=*)
1051 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1053 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1054 srcdir=$ac_optarg ;;
1056 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1057 | --syscon | --sysco | --sysc | --sys | --sy)
1058 ac_prev=sysconfdir ;;
1059 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1060 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1061 sysconfdir=$ac_optarg ;;
1063 -target | --target | --targe | --targ | --tar | --ta | --t)
1064 ac_prev=target_alias ;;
1065 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1066 target_alias=$ac_optarg ;;
1068 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1071 -version | --version | --versio | --versi | --vers | -V)
1072 ac_init_version=: ;;
1075 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid package name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1088 eval with_$ac_useropt=\$ac_optarg ;;
1090 -without-* | --without-*)
1091 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1092 # Reject names that are not valid shell variable names.
1093 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1094 as_fn_error $? "invalid package name: $ac_useropt"
1095 ac_useropt_orig=$ac_useropt
1096 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1097 case $ac_user_opts in
1101 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1102 ac_unrecognized_sep=', ';;
1104 eval with_$ac_useropt=no ;;
1107 # Obsolete; use --with-x.
1110 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1111 | --x-incl | --x-inc | --x-in | --x-i)
1112 ac_prev=x_includes ;;
1113 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1114 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1115 x_includes=$ac_optarg ;;
1117 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1118 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1119 ac_prev=x_libraries ;;
1120 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1121 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1122 x_libraries=$ac_optarg ;;
1124 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1125 Try \`$0 --help' for more information"
1129 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1130 # Reject names that are not valid shell variable names.
1131 case $ac_envvar in #(
1132 '' | [0-9]* | *[!_$as_cr_alnum]* )
1133 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1135 eval $ac_envvar=\$ac_optarg
1136 export $ac_envvar ;;
1139 # FIXME: should be removed in autoconf 3.0.
1140 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1141 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1142 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1143 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1149 if test -n "$ac_prev"; then
1150 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1151 as_fn_error $? "missing argument to $ac_option"
1154 if test -n "$ac_unrecognized_opts"; then
1155 case $enable_option_checking in
1157 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1158 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1162 # Check all directory arguments for consistency.
1163 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1164 datadir sysconfdir sharedstatedir localstatedir includedir \
1165 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1166 libdir localedir mandir
1168 eval ac_val=\$$ac_var
1169 # Remove trailing slashes.
1172 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1173 eval $ac_var=\$ac_val;;
1175 # Be sure to have absolute directory names.
1177 [\\/$]* | ?:[\\/]* ) continue;;
1178 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1180 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1183 # There might be people who depend on the old broken behavior: `$host'
1184 # used to hold the argument of --host etc.
1185 # FIXME: To remove some day.
1188 target=$target_alias
1190 # FIXME: To remove some day.
1191 if test "x$host_alias" != x; then
1192 if test "x$build_alias" = x; then
1193 cross_compiling=maybe
1194 elif test "x$build_alias" != "x$host_alias"; then
1200 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1202 test "$silent" = yes && exec 6>/dev/null
1205 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1206 ac_ls_di=`ls -di .` &&
1207 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1208 as_fn_error $? "working directory cannot be determined"
1209 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1210 as_fn_error $? "pwd does not report name of working directory"
1213 # Find the source files, if location was not specified.
1214 if test -z "$srcdir"; then
1215 ac_srcdir_defaulted=yes
1216 # Try the directory containing this script, then the parent directory.
1217 ac_confdir=`$as_dirname -- "$as_myself" ||
1218 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1219 X"$as_myself" : 'X\(//\)[^/]' \| \
1220 X"$as_myself" : 'X\(//\)$' \| \
1221 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1222 $as_echo X"$as_myself" |
1223 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1241 if test ! -r "$srcdir/$ac_unique_file"; then
1245 ac_srcdir_defaulted=no
1247 if test ! -r "$srcdir/$ac_unique_file"; then
1248 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1249 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1251 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1253 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1255 # When building in place, set srcdir=.
1256 if test "$ac_abs_confdir" = "$ac_pwd"; then
1259 # Remove unnecessary trailing slashes from srcdir.
1260 # Double slashes in file names in object file debugging info
1261 # mess up M-x gdb in Emacs.
1263 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1265 for ac_var in $ac_precious_vars; do
1266 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1267 eval ac_env_${ac_var}_value=\$${ac_var}
1268 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1269 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1273 # Report the --help message.
1275 if test "$ac_init_help" = "long"; then
1276 # Omit some internal or obsolete options to make the list less imposing.
1277 # This message is too long to be a string in the A/UX 3.1 sh.
1279 \`configure' configures acpid 2.0.22 to adapt to many kinds of systems.
1281 Usage: $0 [OPTION]... [VAR=VALUE]...
1283 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1284 VAR=VALUE. See below for descriptions of some of the useful variables.
1286 Defaults for the options are specified in brackets.
1289 -h, --help display this help and exit
1290 --help=short display options specific to this package
1291 --help=recursive display the short help of all the included packages
1292 -V, --version display version information and exit
1293 -q, --quiet, --silent do not print \`checking ...' messages
1294 --cache-file=FILE cache test results in FILE [disabled]
1295 -C, --config-cache alias for \`--cache-file=config.cache'
1296 -n, --no-create do not create output files
1297 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1299 Installation directories:
1300 --prefix=PREFIX install architecture-independent files in PREFIX
1301 [$ac_default_prefix]
1302 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1305 By default, \`make install' will install all the files in
1306 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1307 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1308 for instance \`--prefix=\$HOME'.
1310 For better control, use the options below.
1312 Fine tuning of the installation directories:
1313 --bindir=DIR user executables [EPREFIX/bin]
1314 --sbindir=DIR system admin executables [EPREFIX/sbin]
1315 --libexecdir=DIR program executables [EPREFIX/libexec]
1316 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1317 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1318 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1319 --libdir=DIR object code libraries [EPREFIX/lib]
1320 --includedir=DIR C header files [PREFIX/include]
1321 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1322 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1323 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1324 --infodir=DIR info documentation [DATAROOTDIR/info]
1325 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1326 --mandir=DIR man documentation [DATAROOTDIR/man]
1327 --docdir=DIR documentation root [DATAROOTDIR/doc/acpid]
1328 --htmldir=DIR html documentation [DOCDIR]
1329 --dvidir=DIR dvi documentation [DOCDIR]
1330 --pdfdir=DIR pdf documentation [DOCDIR]
1331 --psdir=DIR ps documentation [DOCDIR]
1337 --program-prefix=PREFIX prepend PREFIX to installed program names
1338 --program-suffix=SUFFIX append SUFFIX to installed program names
1339 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1342 --build=BUILD configure for building on BUILD [guessed]
1343 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1347 if test -n "$ac_init_help"; then
1348 case $ac_init_help in
1349 short | recursive ) echo "Configuration of acpid 2.0.22:";;
1354 --disable-option-checking ignore unrecognized --enable/--with options
1355 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1356 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1357 --enable-silent-rules less verbose build output (undo: "make V=1")
1358 --disable-silent-rules verbose build output (undo: "make V=0")
1359 --enable-maintainer-mode
1360 enable make rules and dependencies not useful (and
1361 sometimes confusing) to the casual installer
1362 --enable-dependency-tracking
1363 do not reject slow dependency extractors
1364 --disable-dependency-tracking
1365 speeds up one-time build
1366 --disable-largefile omit support for large files
1368 Some influential environment variables:
1369 CC C compiler command
1370 CFLAGS C compiler flags
1371 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1372 nonstandard directory <lib dir>
1373 LIBS libraries to pass to the linker, e.g. -l<library>
1374 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1375 you have headers in a nonstandard directory <include dir>
1378 Use these variables to override the choices made by `configure' or to help
1379 it to find libraries and programs with nonstandard names/locations.
1381 Report bugs to the package provider.
1386 if test "$ac_init_help" = "recursive"; then
1387 # If there are subdirs, report their specific --help.
1388 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1389 test -d "$ac_dir" ||
1390 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1395 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1397 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1398 # A ".." for each directory in $ac_dir_suffix.
1399 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1400 case $ac_top_builddir_sub in
1401 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1402 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1405 ac_abs_top_builddir=$ac_pwd
1406 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1407 # for backward compatibility:
1408 ac_top_builddir=$ac_top_build_prefix
1411 .) # We are building in place.
1413 ac_top_srcdir=$ac_top_builddir_sub
1414 ac_abs_top_srcdir=$ac_pwd ;;
1415 [\\/]* | ?:[\\/]* ) # Absolute name.
1416 ac_srcdir=$srcdir$ac_dir_suffix;
1417 ac_top_srcdir=$srcdir
1418 ac_abs_top_srcdir=$srcdir ;;
1420 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1421 ac_top_srcdir=$ac_top_build_prefix$srcdir
1422 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1424 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1426 cd "$ac_dir" || { ac_status=$?; continue; }
1427 # Check for guested configure.
1428 if test -f "$ac_srcdir/configure.gnu"; then
1430 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1431 elif test -f "$ac_srcdir/configure"; then
1433 $SHELL "$ac_srcdir/configure" --help=recursive
1435 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1437 cd "$ac_pwd" || { ac_status=$?; break; }
1441 test -n "$ac_init_help" && exit $ac_status
1442 if $ac_init_version; then
1444 acpid configure 2.0.22
1445 generated by GNU Autoconf 2.69
1447 Copyright (C) 2012 Free Software Foundation, Inc.
1448 This configure script is free software; the Free Software Foundation
1449 gives unlimited permission to copy, distribute and modify it.
1454 ## ------------------------ ##
1455 ## Autoconf initialization. ##
1456 ## ------------------------ ##
1458 # ac_fn_c_try_compile LINENO
1459 # --------------------------
1460 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1461 ac_fn_c_try_compile ()
1463 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1464 rm -f conftest.$ac_objext
1465 if { { ac_try="$ac_compile"
1467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1468 *) ac_try_echo=$ac_try;;
1470 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471 $as_echo "$ac_try_echo"; } >&5
1472 (eval "$ac_compile") 2>conftest.err
1474 if test -s conftest.err; then
1475 grep -v '^ *+' conftest.err >conftest.er1
1476 cat conftest.er1 >&5
1477 mv -f conftest.er1 conftest.err
1479 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1480 test $ac_status = 0; } && {
1481 test -z "$ac_c_werror_flag" ||
1482 test ! -s conftest.err
1483 } && test -s conftest.$ac_objext; then :
1486 $as_echo "$as_me: failed program was:" >&5
1487 sed 's/^/| /' conftest.$ac_ext >&5
1491 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1492 as_fn_set_status $ac_retval
1494 } # ac_fn_c_try_compile
1496 # ac_fn_c_try_cpp LINENO
1497 # ----------------------
1498 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1501 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1502 if { { ac_try="$ac_cpp conftest.$ac_ext"
1504 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1505 *) ac_try_echo=$ac_try;;
1507 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1508 $as_echo "$ac_try_echo"; } >&5
1509 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1511 if test -s conftest.err; then
1512 grep -v '^ *+' conftest.err >conftest.er1
1513 cat conftest.er1 >&5
1514 mv -f conftest.er1 conftest.err
1516 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1517 test $ac_status = 0; } > conftest.i && {
1518 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1519 test ! -s conftest.err
1523 $as_echo "$as_me: failed program was:" >&5
1524 sed 's/^/| /' conftest.$ac_ext >&5
1528 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1529 as_fn_set_status $ac_retval
1533 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1534 # -------------------------------------------------------
1535 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1536 # the include files in INCLUDES and setting the cache variable VAR
1538 ac_fn_c_check_header_mongrel ()
1540 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1541 if eval \${$3+:} false; then :
1542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1543 $as_echo_n "checking for $2... " >&6; }
1544 if eval \${$3+:} false; then :
1545 $as_echo_n "(cached) " >&6
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1549 $as_echo "$ac_res" >&6; }
1551 # Is the header compilable?
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1553 $as_echo_n "checking $2 usability... " >&6; }
1554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1555 /* end confdefs.h. */
1559 if ac_fn_c_try_compile "$LINENO"; then :
1560 ac_header_compiler=yes
1562 ac_header_compiler=no
1564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1566 $as_echo "$ac_header_compiler" >&6; }
1568 # Is the header present?
1569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1570 $as_echo_n "checking $2 presence... " >&6; }
1571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1572 /* end confdefs.h. */
1575 if ac_fn_c_try_cpp "$LINENO"; then :
1576 ac_header_preproc=yes
1578 ac_header_preproc=no
1580 rm -f conftest.err conftest.i conftest.$ac_ext
1581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1582 $as_echo "$ac_header_preproc" >&6; }
1584 # So? What about this header?
1585 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1588 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1590 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1593 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1594 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1595 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1596 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1597 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1598 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1600 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1602 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1606 $as_echo_n "checking for $2... " >&6; }
1607 if eval \${$3+:} false; then :
1608 $as_echo_n "(cached) " >&6
1610 eval "$3=\$ac_header_compiler"
1613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1614 $as_echo "$ac_res" >&6; }
1616 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1618 } # ac_fn_c_check_header_mongrel
1620 # ac_fn_c_try_run LINENO
1621 # ----------------------
1622 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1623 # that executables *can* be run.
1626 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1627 if { { ac_try="$ac_link"
1629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1630 *) ac_try_echo=$ac_try;;
1632 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1633 $as_echo "$ac_try_echo"; } >&5
1634 (eval "$ac_link") 2>&5
1636 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1637 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1638 { { case "(($ac_try" in
1639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1640 *) ac_try_echo=$ac_try;;
1642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1643 $as_echo "$ac_try_echo"; } >&5
1644 (eval "$ac_try") 2>&5
1646 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1647 test $ac_status = 0; }; }; then :
1650 $as_echo "$as_me: program exited with status $ac_status" >&5
1651 $as_echo "$as_me: failed program was:" >&5
1652 sed 's/^/| /' conftest.$ac_ext >&5
1654 ac_retval=$ac_status
1656 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1657 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1658 as_fn_set_status $ac_retval
1662 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1663 # -------------------------------------------------------
1664 # Tests whether HEADER exists and can be compiled using the include files in
1665 # INCLUDES, setting the cache variable VAR accordingly.
1666 ac_fn_c_check_header_compile ()
1668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1670 $as_echo_n "checking for $2... " >&6; }
1671 if eval \${$3+:} false; then :
1672 $as_echo_n "(cached) " >&6
1674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1675 /* end confdefs.h. */
1679 if ac_fn_c_try_compile "$LINENO"; then :
1684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1688 $as_echo "$ac_res" >&6; }
1689 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1691 } # ac_fn_c_check_header_compile
1693 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1694 # -------------------------------------------
1695 # Tests whether TYPE exists after having included INCLUDES, setting cache
1696 # variable VAR accordingly.
1697 ac_fn_c_check_type ()
1699 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1701 $as_echo_n "checking for $2... " >&6; }
1702 if eval \${$3+:} false; then :
1703 $as_echo_n "(cached) " >&6
1706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1707 /* end confdefs.h. */
1718 if ac_fn_c_try_compile "$LINENO"; then :
1719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1720 /* end confdefs.h. */
1731 if ac_fn_c_try_compile "$LINENO"; then :
1736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1742 $as_echo "$ac_res" >&6; }
1743 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1745 } # ac_fn_c_check_type
1747 # ac_fn_c_try_link LINENO
1748 # -----------------------
1749 # Try to link conftest.$ac_ext, and return whether this succeeded.
1752 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1753 rm -f conftest.$ac_objext conftest$ac_exeext
1754 if { { ac_try="$ac_link"
1756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1757 *) ac_try_echo=$ac_try;;
1759 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1760 $as_echo "$ac_try_echo"; } >&5
1761 (eval "$ac_link") 2>conftest.err
1763 if test -s conftest.err; then
1764 grep -v '^ *+' conftest.err >conftest.er1
1765 cat conftest.er1 >&5
1766 mv -f conftest.er1 conftest.err
1768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1769 test $ac_status = 0; } && {
1770 test -z "$ac_c_werror_flag" ||
1771 test ! -s conftest.err
1772 } && test -s conftest$ac_exeext && {
1773 test "$cross_compiling" = yes ||
1774 test -x conftest$ac_exeext
1778 $as_echo "$as_me: failed program was:" >&5
1779 sed 's/^/| /' conftest.$ac_ext >&5
1783 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1784 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1785 # interfere with the next link command; also delete a directory that is
1786 # left behind by Apple's compiler. We do this before executing the actions.
1787 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1788 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1789 as_fn_set_status $ac_retval
1791 } # ac_fn_c_try_link
1793 # ac_fn_c_check_func LINENO FUNC VAR
1794 # ----------------------------------
1795 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1796 ac_fn_c_check_func ()
1798 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1800 $as_echo_n "checking for $2... " >&6; }
1801 if eval \${$3+:} false; then :
1802 $as_echo_n "(cached) " >&6
1804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1805 /* end confdefs.h. */
1806 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1808 #define $2 innocuous_$2
1810 /* System header to define __stub macros and hopefully few prototypes,
1811 which can conflict with char $2 (); below.
1812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1813 <limits.h> exists even on freestanding compilers. */
1816 # include <limits.h>
1818 # include <assert.h>
1823 /* Override any GCC internal prototype to avoid an error.
1824 Use char because int might match the return type of a GCC
1825 builtin and then its argument prototype would still apply. */
1830 /* The GNU C library defines this for functions which it implements
1831 to always fail with ENOSYS. Some functions are actually named
1832 something starting with __ and the normal name is an alias. */
1833 #if defined __stub_$2 || defined __stub___$2
1845 if ac_fn_c_try_link "$LINENO"; then :
1850 rm -f core conftest.err conftest.$ac_objext \
1851 conftest$ac_exeext conftest.$ac_ext
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1855 $as_echo "$ac_res" >&6; }
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1858 } # ac_fn_c_check_func
1859 cat >config.log <<_ACEOF
1860 This file contains any messages produced by compilers while
1861 running configure, to aid debugging if configure makes a mistake.
1863 It was created by acpid $as_me 2.0.22, which was
1864 generated by GNU Autoconf 2.69. Invocation command line was
1876 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1877 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1878 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1879 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1880 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1882 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1883 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1885 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1886 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1887 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1888 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1889 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1890 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1891 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1899 test -z "$as_dir" && as_dir=.
1900 $as_echo "PATH: $as_dir"
1916 # Keep a trace of the command line.
1917 # Strip out --no-create and --no-recursion so they do not pile up.
1918 # Strip out --silent because we don't want to record it for future runs.
1919 # Also quote any args containing shell meta-characters.
1920 # Make two passes to allow for proper duplicate-argument suppression.
1924 ac_must_keep_next=false
1930 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1931 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1932 | -silent | --silent | --silen | --sile | --sil)
1935 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1938 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1940 as_fn_append ac_configure_args1 " '$ac_arg'"
1941 if test $ac_must_keep_next = true; then
1942 ac_must_keep_next=false # Got value, back to normal.
1945 *=* | --config-cache | -C | -disable-* | --disable-* \
1946 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1947 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1948 | -with-* | --with-* | -without-* | --without-* | --x)
1949 case "$ac_configure_args0 " in
1950 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1953 -* ) ac_must_keep_next=true ;;
1956 as_fn_append ac_configure_args " '$ac_arg'"
1961 { ac_configure_args0=; unset ac_configure_args0;}
1962 { ac_configure_args1=; unset ac_configure_args1;}
1964 # When interrupted or exit'd, cleanup temporary files, and complete
1965 # config.log. We remove comments because anyway the quotes in there
1966 # would cause problems or look ugly.
1967 # WARNING: Use '\'' to represent an apostrophe within the trap.
1968 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1969 trap 'exit_status=$?
1970 # Save into config.log some information that might help in debugging.
1974 $as_echo "## ---------------- ##
1975 ## Cache variables. ##
1976 ## ---------------- ##"
1978 # The following way of writing the cache mishandles newlines in values,
1980 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1981 eval ac_val=\$$ac_var
1985 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1986 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1989 _ | IFS | as_nl) ;; #(
1990 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1991 *) { eval $ac_var=; unset $ac_var;} ;;
1996 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1997 *${as_nl}ac_space=\ *)
1999 "s/'\''/'\''\\\\'\'''\''/g;
2000 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2003 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2010 $as_echo "## ----------------- ##
2011 ## Output variables. ##
2012 ## ----------------- ##"
2014 for ac_var in $ac_subst_vars
2016 eval ac_val=\$$ac_var
2018 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2020 $as_echo "$ac_var='\''$ac_val'\''"
2024 if test -n "$ac_subst_files"; then
2025 $as_echo "## ------------------- ##
2026 ## File substitutions. ##
2027 ## ------------------- ##"
2029 for ac_var in $ac_subst_files
2031 eval ac_val=\$$ac_var
2033 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2035 $as_echo "$ac_var='\''$ac_val'\''"
2040 if test -s confdefs.h; then
2041 $as_echo "## ----------- ##
2048 test "$ac_signal" != 0 &&
2049 $as_echo "$as_me: caught signal $ac_signal"
2050 $as_echo "$as_me: exit $exit_status"
2052 rm -f core *.core core.conftest.* &&
2053 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2056 for ac_signal in 1 2 13 15; do
2057 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2061 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2062 rm -f -r conftest* confdefs.h
2064 $as_echo "/* confdefs.h */" > confdefs.h
2066 # Predefined preprocessor variables.
2068 cat >>confdefs.h <<_ACEOF
2069 #define PACKAGE_NAME "$PACKAGE_NAME"
2072 cat >>confdefs.h <<_ACEOF
2073 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2076 cat >>confdefs.h <<_ACEOF
2077 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2080 cat >>confdefs.h <<_ACEOF
2081 #define PACKAGE_STRING "$PACKAGE_STRING"
2084 cat >>confdefs.h <<_ACEOF
2085 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2088 cat >>confdefs.h <<_ACEOF
2089 #define PACKAGE_URL "$PACKAGE_URL"
2093 # Let the site file select an alternate cache file if it wants to.
2094 # Prefer an explicitly selected file to automatically selected ones.
2097 if test -n "$CONFIG_SITE"; then
2098 # We do not want a PATH search for config.site.
2099 case $CONFIG_SITE in #((
2100 -*) ac_site_file1=./$CONFIG_SITE;;
2101 */*) ac_site_file1=$CONFIG_SITE;;
2102 *) ac_site_file1=./$CONFIG_SITE;;
2104 elif test "x$prefix" != xNONE; then
2105 ac_site_file1=$prefix/share/config.site
2106 ac_site_file2=$prefix/etc/config.site
2108 ac_site_file1=$ac_default_prefix/share/config.site
2109 ac_site_file2=$ac_default_prefix/etc/config.site
2111 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2113 test "x$ac_site_file" = xNONE && continue
2114 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2115 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2116 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2117 sed 's/^/| /' "$ac_site_file" >&5
2119 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2120 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2121 as_fn_error $? "failed to load site script $ac_site_file
2122 See \`config.log' for more details" "$LINENO" 5; }
2126 if test -r "$cache_file"; then
2127 # Some versions of bash will fail to source /dev/null (special files
2128 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2129 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2130 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2131 $as_echo "$as_me: loading cache $cache_file" >&6;}
2133 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2134 *) . "./$cache_file";;
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2139 $as_echo "$as_me: creating cache $cache_file" >&6;}
2143 # Check that the precious variables saved in the cache have kept the same
2145 ac_cache_corrupted=false
2146 for ac_var in $ac_precious_vars; do
2147 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2148 eval ac_new_set=\$ac_env_${ac_var}_set
2149 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2150 eval ac_new_val=\$ac_env_${ac_var}_value
2151 case $ac_old_set,$ac_new_set in
2153 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2154 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2155 ac_cache_corrupted=: ;;
2157 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2158 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2159 ac_cache_corrupted=: ;;
2162 if test "x$ac_old_val" != "x$ac_new_val"; then
2163 # differences in whitespace do not lead to failure.
2164 ac_old_val_w=`echo x $ac_old_val`
2165 ac_new_val_w=`echo x $ac_new_val`
2166 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2168 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2169 ac_cache_corrupted=:
2171 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2172 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2173 eval $ac_var=\$ac_old_val
2175 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2176 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2177 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2178 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2181 # Pass precious variables to config.status.
2182 if test "$ac_new_set" = set; then
2184 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2185 *) ac_arg=$ac_var=$ac_new_val ;;
2187 case " $ac_configure_args " in
2188 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2189 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2193 if $ac_cache_corrupted; then
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2195 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2196 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2197 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2198 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2200 ## -------------------- ##
2201 ## Main body of script. ##
2202 ## -------------------- ##
2205 ac_cpp='$CPP $CPPFLAGS'
2206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2212 ac_config_headers="$ac_config_headers config.h"
2215 for ac_dir in build-aux "$srcdir"/build-aux; do
2216 if test -f "$ac_dir/install-sh"; then
2218 ac_install_sh="$ac_aux_dir/install-sh -c"
2220 elif test -f "$ac_dir/install.sh"; then
2222 ac_install_sh="$ac_aux_dir/install.sh -c"
2224 elif test -f "$ac_dir/shtool"; then
2226 ac_install_sh="$ac_aux_dir/shtool install -c"
2230 if test -z "$ac_aux_dir"; then
2231 as_fn_error $? "cannot find install-sh, install.sh, or shtool in build-aux \"$srcdir\"/build-aux" "$LINENO" 5
2234 # These three variables are undocumented and unsupported,
2235 # and are intended to be withdrawn in a future Autoconf release.
2236 # They can cause serious problems if a builder's source tree is in a directory
2237 # whose full name contains unusual characters.
2238 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2239 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2240 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2243 am__api_version='1.13'
2245 # Find a good install program. We prefer a C program (faster),
2246 # so one script is as good as another. But avoid the broken or
2247 # incompatible versions:
2248 # SysV /etc/install, /usr/sbin/install
2249 # SunOS /usr/etc/install
2250 # IRIX /sbin/install
2252 # AmigaOS /C/install, which installs bootblocks on floppy discs
2253 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2254 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2255 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2256 # OS/2's system install, which has a completely different semantic
2257 # ./install, which can be erroneously created by make from ./install.sh.
2258 # Reject install programs that cannot install multiple files.
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2260 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2261 if test -z "$INSTALL"; then
2262 if ${ac_cv_path_install+:} false; then :
2263 $as_echo_n "(cached) " >&6
2265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2269 test -z "$as_dir" && as_dir=.
2270 # Account for people who put trailing slashes in PATH elements.
2271 case $as_dir/ in #((
2272 ./ | .// | /[cC]/* | \
2273 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2274 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2277 # OSF1 and SCO ODT 3.0 have their own names for install.
2278 # Don't use installbsd from OSF since it installs stuff as root
2280 for ac_prog in ginstall scoinst install; do
2281 for ac_exec_ext in '' $ac_executable_extensions; do
2282 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2283 if test $ac_prog = install &&
2284 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2285 # AIX install. It has an incompatible calling convention.
2287 elif test $ac_prog = install &&
2288 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2289 # program-specific install script used by HP pwplus--don't use.
2292 rm -rf conftest.one conftest.two conftest.dir
2293 echo one > conftest.one
2294 echo two > conftest.two
2296 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2297 test -s conftest.one && test -s conftest.two &&
2298 test -s conftest.dir/conftest.one &&
2299 test -s conftest.dir/conftest.two
2301 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2314 rm -rf conftest.one conftest.two conftest.dir
2317 if test "${ac_cv_path_install+set}" = set; then
2318 INSTALL=$ac_cv_path_install
2320 # As a last resort, use the slow shell script. Don't cache a
2321 # value for INSTALL within a source directory, because that will
2322 # break other packages using the cache if that directory is
2323 # removed, or if the value is a relative name.
2324 INSTALL=$ac_install_sh
2327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2328 $as_echo "$INSTALL" >&6; }
2330 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2331 # It thinks the first close brace ends the variable substitution.
2332 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2334 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2336 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2339 $as_echo_n "checking whether build environment is sane... " >&6; }
2340 # Reject unsafe characters in $srcdir or the absolute working directory
2341 # name. Accept space and tab only in the latter.
2345 *[\\\"\#\$\&\'\`$am_lf]*)
2346 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2349 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2350 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2353 # Do 'set' in a subshell so we don't clobber the current shell's
2354 # arguments. Must try -L first in case configure is actually a
2355 # symlink; some systems play weird games with the mod time of symlinks
2356 # (eg FreeBSD returns the mod time of the symlink's containing
2360 for am_try in 1 2; do
2361 echo "timestamp, slept: $am_has_slept" > conftest.file
2362 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2363 if test "$*" = "X"; then
2365 set X `ls -t "$srcdir/configure" conftest.file`
2367 if test "$*" != "X $srcdir/configure conftest.file" \
2368 && test "$*" != "X conftest.file $srcdir/configure"; then
2370 # If neither matched, then we have a broken ls. This can happen
2371 # if, for instance, CONFIG_SHELL is bash and it inherits a
2372 # broken ls alias from the environment. This has actually
2373 # happened. Such a system could not be considered "sane".
2374 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2375 alias in your environment" "$LINENO" 5
2377 if test "$2" = conftest.file || test $am_try -eq 2; then
2384 test "$2" = conftest.file
2390 as_fn_error $? "newly created file is older than distributed files!
2391 Check your system clock" "$LINENO" 5
2393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2394 $as_echo "yes" >&6; }
2395 # If we didn't sleep, we still need to ensure time stamps of config.status and
2396 # generated files are strictly newer.
2398 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2405 test "$program_prefix" != NONE &&
2406 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2407 # Use a double $ so make ignores it.
2408 test "$program_suffix" != NONE &&
2409 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2410 # Double any \ or $.
2411 # By default was `s,x,x', remove it if useless.
2412 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2413 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2415 # expand $ac_aux_dir to an absolute path
2416 am_aux_dir=`cd $ac_aux_dir && pwd`
2418 if test x"${MISSING+set}" != xset; then
2421 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
2423 MISSING="\${SHELL} $am_aux_dir/missing" ;;
2426 # Use eval to expand $SHELL
2427 if eval "$MISSING --is-lightweight"; then
2428 am_missing_run="$MISSING "
2431 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2432 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2435 if test x"${install_sh}" != xset; then
2438 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2440 install_sh="\${SHELL} $am_aux_dir/install-sh"
2444 # Installed binaries are usually stripped using 'strip' when the user
2445 # run "make install-strip". However 'strip' might not be the right
2446 # tool to use in cross-compilation environments, therefore Automake
2447 # will honor the 'STRIP' environment variable to overrule this program.
2448 if test "$cross_compiling" != no; then
2449 if test -n "$ac_tool_prefix"; then
2450 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2451 set dummy ${ac_tool_prefix}strip; ac_word=$2
2452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2453 $as_echo_n "checking for $ac_word... " >&6; }
2454 if ${ac_cv_prog_STRIP+:} false; then :
2455 $as_echo_n "(cached) " >&6
2457 if test -n "$STRIP"; then
2458 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2464 test -z "$as_dir" && as_dir=.
2465 for ac_exec_ext in '' $ac_executable_extensions; do
2466 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2467 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2468 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2477 STRIP=$ac_cv_prog_STRIP
2478 if test -n "$STRIP"; then
2479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2480 $as_echo "$STRIP" >&6; }
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2483 $as_echo "no" >&6; }
2488 if test -z "$ac_cv_prog_STRIP"; then
2490 # Extract the first word of "strip", so it can be a program name with args.
2491 set dummy strip; ac_word=$2
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2493 $as_echo_n "checking for $ac_word... " >&6; }
2494 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
2495 $as_echo_n "(cached) " >&6
2497 if test -n "$ac_ct_STRIP"; then
2498 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2500 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2504 test -z "$as_dir" && as_dir=.
2505 for ac_exec_ext in '' $ac_executable_extensions; do
2506 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2507 ac_cv_prog_ac_ct_STRIP="strip"
2508 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2517 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2518 if test -n "$ac_ct_STRIP"; then
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2520 $as_echo "$ac_ct_STRIP" >&6; }
2522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2523 $as_echo "no" >&6; }
2526 if test "x$ac_ct_STRIP" = x; then
2529 case $cross_compiling:$ac_tool_warned in
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2532 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2533 ac_tool_warned=yes ;;
2538 STRIP="$ac_cv_prog_STRIP"
2542 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2545 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2546 if test -z "$MKDIR_P"; then
2547 if ${ac_cv_path_mkdir+:} false; then :
2548 $as_echo_n "(cached) " >&6
2550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2551 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2554 test -z "$as_dir" && as_dir=.
2555 for ac_prog in mkdir gmkdir; do
2556 for ac_exec_ext in '' $ac_executable_extensions; do
2557 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
2558 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2559 'mkdir (GNU coreutils) '* | \
2560 'mkdir (coreutils) '* | \
2561 'mkdir (fileutils) '4.1*)
2562 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2572 test -d ./--version && rmdir ./--version
2573 if test "${ac_cv_path_mkdir+set}" = set; then
2574 MKDIR_P="$ac_cv_path_mkdir -p"
2576 # As a last resort, use the slow shell script. Don't cache a
2577 # value for MKDIR_P within a source directory, because that will
2578 # break other packages using the cache if that directory is
2579 # removed, or if the value is a relative name.
2580 MKDIR_P="$ac_install_sh -d"
2583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2584 $as_echo "$MKDIR_P" >&6; }
2586 for ac_prog in gawk mawk nawk awk
2588 # Extract the first word of "$ac_prog", so it can be a program name with args.
2589 set dummy $ac_prog; ac_word=$2
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2591 $as_echo_n "checking for $ac_word... " >&6; }
2592 if ${ac_cv_prog_AWK+:} false; then :
2593 $as_echo_n "(cached) " >&6
2595 if test -n "$AWK"; then
2596 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 test -z "$as_dir" && as_dir=.
2603 for ac_exec_ext in '' $ac_executable_extensions; do
2604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2605 ac_cv_prog_AWK="$ac_prog"
2606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2616 if test -n "$AWK"; then
2617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2618 $as_echo "$AWK" >&6; }
2620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2621 $as_echo "no" >&6; }
2625 test -n "$AWK" && break
2628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2629 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2631 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2632 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2633 $as_echo_n "(cached) " >&6
2635 cat >conftest.make <<\_ACEOF
2638 @echo '@@@%%%=$(MAKE)=@@@%%%'
2640 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2641 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2643 eval ac_cv_prog_make_${ac_make}_set=yes;;
2645 eval ac_cv_prog_make_${ac_make}_set=no;;
2649 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2651 $as_echo "yes" >&6; }
2654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2655 $as_echo "no" >&6; }
2656 SET_MAKE="MAKE=${MAKE-make}"
2659 rm -rf .tst 2>/dev/null
2660 mkdir .tst 2>/dev/null
2661 if test -d .tst; then
2666 rmdir .tst 2>/dev/null
2668 # Check whether --enable-silent-rules was given.
2669 if test "${enable_silent_rules+set}" = set; then :
2670 enableval=$enable_silent_rules;
2673 case $enable_silent_rules in # (((
2674 yes) AM_DEFAULT_VERBOSITY=0;;
2675 no) AM_DEFAULT_VERBOSITY=1;;
2676 *) AM_DEFAULT_VERBOSITY=1;;
2678 am_make=${MAKE-make}
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2680 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2681 if ${am_cv_make_support_nested_variables+:} false; then :
2682 $as_echo_n "(cached) " >&6
2684 if $as_echo 'TRUE=$(BAR$(V))
2690 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2691 am_cv_make_support_nested_variables=yes
2693 am_cv_make_support_nested_variables=no
2696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2697 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2698 if test $am_cv_make_support_nested_variables = yes; then
2700 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2702 AM_V=$AM_DEFAULT_VERBOSITY
2703 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2707 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2708 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2709 # is not polluted with repeated "-I."
2710 am__isrc=' -I$(srcdir)'
2711 # test to see if srcdir already configured
2712 if test -f $srcdir/config.status; then
2713 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2717 # test whether we have cygpath
2718 if test -z "$CYGPATH_W"; then
2719 if (cygpath --version) >/dev/null 2>/dev/null; then
2720 CYGPATH_W='cygpath -w'
2727 # Define the identity of the package.
2732 cat >>confdefs.h <<_ACEOF
2733 #define PACKAGE "$PACKAGE"
2737 cat >>confdefs.h <<_ACEOF
2738 #define VERSION "$VERSION"
2741 # Some tools Automake needs.
2743 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2746 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2749 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2752 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2755 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2757 # For better backward compatibility. To be removed once Automake 1.9.x
2758 # dies out for good. For more background, see:
2759 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
2760 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
2761 mkdir_p='$(MKDIR_P)'
2763 # We need awk for the "check" target. The system "awk" is bad on
2765 # Always define AMTAR for backward compatibility. Yes, it's still used
2766 # in the wild :-( We should find a proper way to deprecate it ...
2770 # We'll loop over all known methods to create a tar archive until one works.
2771 _am_tools='gnutar pax cpio none'
2775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to create a pax tar archive" >&5
2776 $as_echo_n "checking how to create a pax tar archive... " >&6; }
2778 # Go ahead even if we have the value already cached. We do so because we
2779 # need to set the values for the 'am__tar' and 'am__untar' variables.
2780 _am_tools=${am_cv_prog_tar_pax-$_am_tools}
2782 for _am_tool in $_am_tools; do
2785 for _am_tar in tar gnutar gtar; do
2786 { echo "$as_me:$LINENO: $_am_tar --version" >&5
2787 ($_am_tar --version) >&5 2>&5
2789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2790 (exit $ac_status); } && break
2792 am__tar="$_am_tar --format=posix -chf - "'"$$tardir"'
2793 am__tar_="$_am_tar --format=posix -chf - "'"$tardir"'
2794 am__untar="$_am_tar -xf -"
2797 # Must skip GNU tar: if it does not support --format= it doesn't create
2798 # ustar tarball either.
2799 (tar --version) >/dev/null 2>&1 && continue
2800 am__tar='tar chf - "$$tardir"'
2801 am__tar_='tar chf - "$tardir"'
2802 am__untar='tar xf -'
2805 am__tar='pax -L -x pax -w "$$tardir"'
2806 am__tar_='pax -L -x pax -w "$tardir"'
2810 am__tar='find "$$tardir" -print | cpio -o -H pax -L'
2811 am__tar_='find "$tardir" -print | cpio -o -H pax -L'
2812 am__untar='cpio -i -H pax -d'
2821 # If the value was cached, stop now. We just wanted to have am__tar
2822 # and am__untar set.
2823 test -n "${am_cv_prog_tar_pax}" && break
2825 # tar/untar a dummy directory, and stop if the command works.
2828 echo GrepMe > conftest.dir/file
2829 { echo "$as_me:$LINENO: tardir=conftest.dir && eval $am__tar_ >conftest.tar" >&5
2830 (tardir=conftest.dir && eval $am__tar_ >conftest.tar) >&5 2>&5
2832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2833 (exit $ac_status); }
2835 if test -s conftest.tar; then
2836 { echo "$as_me:$LINENO: $am__untar <conftest.tar" >&5
2837 ($am__untar <conftest.tar) >&5 2>&5
2839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2840 (exit $ac_status); }
2841 { echo "$as_me:$LINENO: cat conftest.dir/file" >&5
2842 (cat conftest.dir/file) >&5 2>&5
2844 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2845 (exit $ac_status); }
2846 grep GrepMe conftest.dir/file >/dev/null 2>&1 && break
2851 if ${am_cv_prog_tar_pax+:} false; then :
2852 $as_echo_n "(cached) " >&6
2854 am_cv_prog_tar_pax=$_am_tool
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_tar_pax" >&5
2858 $as_echo "$am_cv_prog_tar_pax" >&6; }
2865 # Check whether --enable-silent-rules was given.
2866 if test "${enable_silent_rules+set}" = set; then :
2867 enableval=$enable_silent_rules;
2870 case $enable_silent_rules in # (((
2871 yes) AM_DEFAULT_VERBOSITY=0;;
2872 no) AM_DEFAULT_VERBOSITY=1;;
2873 *) AM_DEFAULT_VERBOSITY=1;;
2875 am_make=${MAKE-make}
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
2877 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
2878 if ${am_cv_make_support_nested_variables+:} false; then :
2879 $as_echo_n "(cached) " >&6
2881 if $as_echo 'TRUE=$(BAR$(V))
2887 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
2888 am_cv_make_support_nested_variables=yes
2890 am_cv_make_support_nested_variables=no
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
2894 $as_echo "$am_cv_make_support_nested_variables" >&6; }
2895 if test $am_cv_make_support_nested_variables = yes; then
2897 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
2899 AM_V=$AM_DEFAULT_VERBOSITY
2900 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
2906 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
2907 # Check whether --enable-maintainer-mode was given.
2908 if test "${enable_maintainer_mode+set}" = set; then :
2909 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
2911 USE_MAINTAINER_MODE=no
2914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
2915 $as_echo "$USE_MAINTAINER_MODE" >&6; }
2916 if test $USE_MAINTAINER_MODE = yes; then
2917 MAINTAINER_MODE_TRUE=
2918 MAINTAINER_MODE_FALSE='#'
2920 MAINTAINER_MODE_TRUE='#'
2921 MAINTAINER_MODE_FALSE=
2924 MAINT=$MAINTAINER_MODE_TRUE
2927 # Checks for programs.
2928 for ac_prog in gawk mawk nawk awk
2930 # Extract the first word of "$ac_prog", so it can be a program name with args.
2931 set dummy $ac_prog; ac_word=$2
2932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2933 $as_echo_n "checking for $ac_word... " >&6; }
2934 if ${ac_cv_prog_AWK+:} false; then :
2935 $as_echo_n "(cached) " >&6
2937 if test -n "$AWK"; then
2938 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2940 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2944 test -z "$as_dir" && as_dir=.
2945 for ac_exec_ext in '' $ac_executable_extensions; do
2946 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2947 ac_cv_prog_AWK="$ac_prog"
2948 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2958 if test -n "$AWK"; then
2959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2960 $as_echo "$AWK" >&6; }
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2963 $as_echo "no" >&6; }
2967 test -n "$AWK" && break
2970 DEPDIR="${am__leading_dot}deps"
2972 ac_config_commands="$ac_config_commands depfiles"
2975 am_make=${MAKE-make}
2976 cat > confinc << 'END'
2978 @echo this is the am__doit target
2981 # If we don't find an include directive, just comment out the code.
2982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
2983 $as_echo_n "checking for style of include used by $am_make... " >&6; }
2987 # First try GNU make style include.
2988 echo "include confinc" > confmf
2989 # Ignore all kinds of additional output from 'make'.
2990 case `$am_make -s -f confmf 2> /dev/null` in #(
2991 *the\ am__doit\ target*)
2997 # Now try BSD make style include.
2998 if test "$am__include" = "#"; then
2999 echo '.include "confinc"' > confmf
3000 case `$am_make -s -f confmf 2> /dev/null` in #(
3001 *the\ am__doit\ target*)
3002 am__include=.include
3010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3011 $as_echo "$_am_result" >&6; }
3012 rm -f confinc confmf
3014 # Check whether --enable-dependency-tracking was given.
3015 if test "${enable_dependency_tracking+set}" = set; then :
3016 enableval=$enable_dependency_tracking;
3019 if test "x$enable_dependency_tracking" != xno; then
3020 am_depcomp="$ac_aux_dir/depcomp"
3024 if test "x$enable_dependency_tracking" != xno; then
3034 ac_cpp='$CPP $CPPFLAGS'
3035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3038 if test -n "$ac_tool_prefix"; then
3039 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3040 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3042 $as_echo_n "checking for $ac_word... " >&6; }
3043 if ${ac_cv_prog_CC+:} false; then :
3044 $as_echo_n "(cached) " >&6
3046 if test -n "$CC"; then
3047 ac_cv_prog_CC="$CC" # Let the user override the test.
3049 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3053 test -z "$as_dir" && as_dir=.
3054 for ac_exec_ext in '' $ac_executable_extensions; do
3055 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3056 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3057 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3067 if test -n "$CC"; then
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3069 $as_echo "$CC" >&6; }
3071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3072 $as_echo "no" >&6; }
3077 if test -z "$ac_cv_prog_CC"; then
3079 # Extract the first word of "gcc", so it can be a program name with args.
3080 set dummy gcc; ac_word=$2
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3082 $as_echo_n "checking for $ac_word... " >&6; }
3083 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3084 $as_echo_n "(cached) " >&6
3086 if test -n "$ac_ct_CC"; then
3087 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3093 test -z "$as_dir" && as_dir=.
3094 for ac_exec_ext in '' $ac_executable_extensions; do
3095 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3096 ac_cv_prog_ac_ct_CC="gcc"
3097 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3106 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3107 if test -n "$ac_ct_CC"; then
3108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3109 $as_echo "$ac_ct_CC" >&6; }
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3112 $as_echo "no" >&6; }
3115 if test "x$ac_ct_CC" = x; then
3118 case $cross_compiling:$ac_tool_warned in
3120 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3121 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3122 ac_tool_warned=yes ;;
3130 if test -z "$CC"; then
3131 if test -n "$ac_tool_prefix"; then
3132 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3133 set dummy ${ac_tool_prefix}cc; ac_word=$2
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3135 $as_echo_n "checking for $ac_word... " >&6; }
3136 if ${ac_cv_prog_CC+:} false; then :
3137 $as_echo_n "(cached) " >&6
3139 if test -n "$CC"; then
3140 ac_cv_prog_CC="$CC" # Let the user override the test.
3142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 test -z "$as_dir" && as_dir=.
3147 for ac_exec_ext in '' $ac_executable_extensions; do
3148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3149 ac_cv_prog_CC="${ac_tool_prefix}cc"
3150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3160 if test -n "$CC"; then
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3162 $as_echo "$CC" >&6; }
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3165 $as_echo "no" >&6; }
3171 if test -z "$CC"; then
3172 # Extract the first word of "cc", so it can be a program name with args.
3173 set dummy cc; ac_word=$2
3174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3175 $as_echo_n "checking for $ac_word... " >&6; }
3176 if ${ac_cv_prog_CC+:} false; then :
3177 $as_echo_n "(cached) " >&6
3179 if test -n "$CC"; then
3180 ac_cv_prog_CC="$CC" # Let the user override the test.
3183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3187 test -z "$as_dir" && as_dir=.
3188 for ac_exec_ext in '' $ac_executable_extensions; do
3189 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3190 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3191 ac_prog_rejected=yes
3195 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3202 if test $ac_prog_rejected = yes; then
3203 # We found a bogon in the path, so make sure we never use it.
3204 set dummy $ac_cv_prog_CC
3206 if test $# != 0; then
3207 # We chose a different compiler from the bogus one.
3208 # However, it has the same basename, so the bogon will be chosen
3209 # first if we set CC to just the basename; use the full file name.
3211 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3217 if test -n "$CC"; then
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3219 $as_echo "$CC" >&6; }
3221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3222 $as_echo "no" >&6; }
3227 if test -z "$CC"; then
3228 if test -n "$ac_tool_prefix"; then
3229 for ac_prog in cl.exe
3231 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3232 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3234 $as_echo_n "checking for $ac_word... " >&6; }
3235 if ${ac_cv_prog_CC+:} false; then :
3236 $as_echo_n "(cached) " >&6
3238 if test -n "$CC"; then
3239 ac_cv_prog_CC="$CC" # Let the user override the test.
3241 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3245 test -z "$as_dir" && as_dir=.
3246 for ac_exec_ext in '' $ac_executable_extensions; do
3247 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3248 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3249 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3259 if test -n "$CC"; then
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3261 $as_echo "$CC" >&6; }
3263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3264 $as_echo "no" >&6; }
3268 test -n "$CC" && break
3271 if test -z "$CC"; then
3273 for ac_prog in cl.exe
3275 # Extract the first word of "$ac_prog", so it can be a program name with args.
3276 set dummy $ac_prog; ac_word=$2
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3278 $as_echo_n "checking for $ac_word... " >&6; }
3279 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3280 $as_echo_n "(cached) " >&6
3282 if test -n "$ac_ct_CC"; then
3283 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3285 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3289 test -z "$as_dir" && as_dir=.
3290 for ac_exec_ext in '' $ac_executable_extensions; do
3291 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3292 ac_cv_prog_ac_ct_CC="$ac_prog"
3293 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3302 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3303 if test -n "$ac_ct_CC"; then
3304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3305 $as_echo "$ac_ct_CC" >&6; }
3307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3308 $as_echo "no" >&6; }
3312 test -n "$ac_ct_CC" && break
3315 if test "x$ac_ct_CC" = x; then
3318 case $cross_compiling:$ac_tool_warned in
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3321 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3322 ac_tool_warned=yes ;;
3331 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3332 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3333 as_fn_error $? "no acceptable C compiler found in \$PATH
3334 See \`config.log' for more details" "$LINENO" 5; }
3336 # Provide some information about the compiler.
3337 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3340 for ac_option in --version -v -V -qversion; do
3341 { { ac_try="$ac_compiler $ac_option >&5"
3343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3344 *) ac_try_echo=$ac_try;;
3346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3347 $as_echo "$ac_try_echo"; } >&5
3348 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3350 if test -s conftest.err; then
3352 ... rest of stderr output deleted ...
3353 10q' conftest.err >conftest.er1
3354 cat conftest.er1 >&5
3356 rm -f conftest.er1 conftest.err
3357 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3358 test $ac_status = 0; }
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3372 ac_clean_files_save=$ac_clean_files
3373 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3374 # Try to create an executable without -o first, disregard a.out.
3375 # It will help us diagnose broken compilers, and finding out an intuition
3377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3378 $as_echo_n "checking whether the C compiler works... " >&6; }
3379 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3381 # The possible output files:
3382 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3385 for ac_file in $ac_files
3388 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3389 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3394 if { { ac_try="$ac_link_default"
3396 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3397 *) ac_try_echo=$ac_try;;
3399 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3400 $as_echo "$ac_try_echo"; } >&5
3401 (eval "$ac_link_default") 2>&5
3403 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3404 test $ac_status = 0; }; then :
3405 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3406 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3407 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3408 # so that the user can short-circuit this test for compilers unknown to
3410 for ac_file in $ac_files ''
3412 test -f "$ac_file" || continue
3414 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3417 # We found the default executable, but exeext='' is most
3421 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
3423 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3425 # We set ac_cv_exeext here because the later test for it is not
3426 # safe: cross compilers may not add the suffix if given an `-o'
3427 # argument, so we may need to know it at that point already.
3428 # Even if this section looks crufty: it has the advantage of
3435 test "$ac_cv_exeext" = no && ac_cv_exeext=
3440 if test -z "$ac_file"; then :
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3442 $as_echo "no" >&6; }
3443 $as_echo "$as_me: failed program was:" >&5
3444 sed 's/^/| /' conftest.$ac_ext >&5
3446 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3447 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3448 as_fn_error 77 "C compiler cannot create executables
3449 See \`config.log' for more details" "$LINENO" 5; }
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3452 $as_echo "yes" >&6; }
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3455 $as_echo_n "checking for C compiler default output file name... " >&6; }
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3457 $as_echo "$ac_file" >&6; }
3458 ac_exeext=$ac_cv_exeext
3460 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3461 ac_clean_files=$ac_clean_files_save
3462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3463 $as_echo_n "checking for suffix of executables... " >&6; }
3464 if { { ac_try="$ac_link"
3466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3467 *) ac_try_echo=$ac_try;;
3469 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3470 $as_echo "$ac_try_echo"; } >&5
3471 (eval "$ac_link") 2>&5
3473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3474 test $ac_status = 0; }; then :
3475 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3476 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3477 # work properly (i.e., refer to `conftest.exe'), while it won't with
3479 for ac_file in conftest.exe conftest conftest.*; do
3480 test -f "$ac_file" || continue
3482 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3483 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3489 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3490 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3491 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3492 See \`config.log' for more details" "$LINENO" 5; }
3494 rm -f conftest conftest$ac_cv_exeext
3495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3496 $as_echo "$ac_cv_exeext" >&6; }
3498 rm -f conftest.$ac_ext
3499 EXEEXT=$ac_cv_exeext
3501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3502 /* end confdefs.h. */
3507 FILE *f = fopen ("conftest.out", "w");
3508 return ferror (f) || fclose (f) != 0;
3514 ac_clean_files="$ac_clean_files conftest.out"
3515 # Check that the compiler produces executables we can run. If not, either
3516 # the compiler is broken, or we cross compile.
3517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3518 $as_echo_n "checking whether we are cross compiling... " >&6; }
3519 if test "$cross_compiling" != yes; then
3520 { { ac_try="$ac_link"
3522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3523 *) ac_try_echo=$ac_try;;
3525 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3526 $as_echo "$ac_try_echo"; } >&5
3527 (eval "$ac_link") 2>&5
3529 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3530 test $ac_status = 0; }
3531 if { ac_try='./conftest$ac_cv_exeext'
3532 { { case "(($ac_try" in
3533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3534 *) ac_try_echo=$ac_try;;
3536 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3537 $as_echo "$ac_try_echo"; } >&5
3538 (eval "$ac_try") 2>&5
3540 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3541 test $ac_status = 0; }; }; then
3544 if test "$cross_compiling" = maybe; then
3547 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3548 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3549 as_fn_error $? "cannot run C compiled programs.
3550 If you meant to cross compile, use \`--host'.
3551 See \`config.log' for more details" "$LINENO" 5; }
3555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3556 $as_echo "$cross_compiling" >&6; }
3558 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3559 ac_clean_files=$ac_clean_files_save
3560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3561 $as_echo_n "checking for suffix of object files... " >&6; }
3562 if ${ac_cv_objext+:} false; then :
3563 $as_echo_n "(cached) " >&6
3565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3566 /* end confdefs.h. */
3576 rm -f conftest.o conftest.obj
3577 if { { ac_try="$ac_compile"
3579 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3580 *) ac_try_echo=$ac_try;;
3582 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3583 $as_echo "$ac_try_echo"; } >&5
3584 (eval "$ac_compile") 2>&5
3586 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3587 test $ac_status = 0; }; then :
3588 for ac_file in conftest.o conftest.obj conftest.*; do
3589 test -f "$ac_file" || continue;
3591 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3592 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3597 $as_echo "$as_me: failed program was:" >&5
3598 sed 's/^/| /' conftest.$ac_ext >&5
3600 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3601 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3602 as_fn_error $? "cannot compute suffix of object files: cannot compile
3603 See \`config.log' for more details" "$LINENO" 5; }
3605 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3608 $as_echo "$ac_cv_objext" >&6; }
3609 OBJEXT=$ac_cv_objext
3611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
3612 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
3613 if ${ac_cv_c_compiler_gnu+:} false; then :
3614 $as_echo_n "(cached) " >&6
3616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3617 /* end confdefs.h. */
3630 if ac_fn_c_try_compile "$LINENO"; then :
3635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3636 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3640 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
3641 if test $ac_compiler_gnu = yes; then
3646 ac_test_CFLAGS=${CFLAGS+set}
3647 ac_save_CFLAGS=$CFLAGS
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3649 $as_echo_n "checking whether $CC accepts -g... " >&6; }
3650 if ${ac_cv_prog_cc_g+:} false; then :
3651 $as_echo_n "(cached) " >&6
3653 ac_save_c_werror_flag=$ac_c_werror_flag
3654 ac_c_werror_flag=yes
3657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3658 /* end confdefs.h. */
3668 if ac_fn_c_try_compile "$LINENO"; then :
3672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3673 /* end confdefs.h. */
3683 if ac_fn_c_try_compile "$LINENO"; then :
3686 ac_c_werror_flag=$ac_save_c_werror_flag
3688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3689 /* end confdefs.h. */
3699 if ac_fn_c_try_compile "$LINENO"; then :
3702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3707 ac_c_werror_flag=$ac_save_c_werror_flag
3709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3710 $as_echo "$ac_cv_prog_cc_g" >&6; }
3711 if test "$ac_test_CFLAGS" = set; then
3712 CFLAGS=$ac_save_CFLAGS
3713 elif test $ac_cv_prog_cc_g = yes; then
3714 if test "$GCC" = yes; then
3720 if test "$GCC" = yes; then
3726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3727 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3728 if ${ac_cv_prog_cc_c89+:} false; then :
3729 $as_echo_n "(cached) " >&6
3731 ac_cv_prog_cc_c89=no
3733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3734 /* end confdefs.h. */
3738 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3739 struct buf { int x; };
3740 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3741 static char *e (p, i)
3747 static char *f (char * (*g) (char **, int), char **p, ...)
3752 s = g (p, va_arg (v,int));
3757 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3758 function prototypes and stuff, but not '\xHH' hex character constants.
3759 These don't provoke an error unfortunately, instead are silently treated
3760 as 'x'. The following induces an error, until -std is added to get
3761 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3762 array size at least. It's necessary to write '\x00'==0 to get something
3763 that's true only with -std. */
3764 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3766 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3767 inside strings and character constants. */
3769 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3771 int test (int i, double x);
3772 struct s1 {int (*f) (int a);};
3773 struct s2 {int (*f) (double a);};
3774 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3780 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3785 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3786 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3788 CC="$ac_save_CC $ac_arg"
3789 if ac_fn_c_try_compile "$LINENO"; then :
3790 ac_cv_prog_cc_c89=$ac_arg
3792 rm -f core conftest.err conftest.$ac_objext
3793 test "x$ac_cv_prog_cc_c89" != "xno" && break
3795 rm -f conftest.$ac_ext
3800 case "x$ac_cv_prog_cc_c89" in
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3803 $as_echo "none needed" >&6; } ;;
3805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3806 $as_echo "unsupported" >&6; } ;;
3808 CC="$CC $ac_cv_prog_cc_c89"
3809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3810 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3812 if test "x$ac_cv_prog_cc_c89" != xno; then :
3817 ac_cpp='$CPP $CPPFLAGS'
3818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3822 depcc="$CC" am_compiler_list=
3824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3825 $as_echo_n "checking dependency style of $depcc... " >&6; }
3826 if ${am_cv_CC_dependencies_compiler_type+:} false; then :
3827 $as_echo_n "(cached) " >&6
3829 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3830 # We make a subdir and do the tests there. Otherwise we can end up
3831 # making bogus files that we don't know about and never remove. For
3832 # instance it was reported that on HP-UX the gcc test will end up
3833 # making a dummy file named 'D' -- because '-MD' means "put the output
3837 # Copy depcomp to subdir because otherwise we won't find it if we're
3838 # using a relative directory.
3839 cp "$am_depcomp" conftest.dir
3841 # We will build objects and dependencies in a subdirectory because
3842 # it helps to detect inapplicable dependency modes. For instance
3843 # both Tru64's cc and ICC support -MD to output dependencies as a
3844 # side effect of compilation, but ICC will put the dependencies in
3845 # the current directory while Tru64 will put them in the object
3849 am_cv_CC_dependencies_compiler_type=none
3850 if test "$am_compiler_list" = ""; then
3851 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3854 case " $depcc " in #(
3855 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3858 for depmode in $am_compiler_list; do
3859 # Setup a source with many dependencies, because some compilers
3860 # like to wrap large dependency lists on column 80 (with \), and
3861 # we should not choose a depcomp mode which is confused by this.
3863 # We need to recreate these files for each test, as the compiler may
3864 # overwrite some of them when testing with obscure command lines.
3865 # This happens at least with the AIX C compiler.
3867 for i in 1 2 3 4 5 6; do
3868 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3869 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
3870 # Solaris 10 /bin/sh.
3871 echo '/* dummy */' > sub/conftst$i.h
3873 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3875 # We check with '-c' and '-o' for the sake of the "dashmstdout"
3876 # mode. It turns out that the SunPro C++ compiler does not properly
3877 # handle '-M -o', and we need to detect this. Also, some Intel
3878 # versions had trouble with output in subdirs.
3879 am__obj=sub/conftest.${OBJEXT-o}
3880 am__minus_obj="-o $am__obj"
3883 # This depmode causes a compiler race in universal mode.
3884 test "$am__universal" = false || continue
3887 # After this tag, mechanisms are not by side-effect, so they'll
3888 # only be used when explicitly requested.
3889 if test "x$enable_dependency_tracking" = xyes; then
3895 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
3896 # This compiler won't grok '-c -o', but also, the minuso test has
3897 # not run yet. These depmodes are late enough in the game, and
3898 # so weak that their functioning should not be impacted.
3899 am__obj=conftest.${OBJEXT-o}
3904 if depmode=$depmode \
3905 source=sub/conftest.c object=$am__obj \
3906 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3907 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3908 >/dev/null 2>conftest.err &&
3909 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3910 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3911 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3912 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3913 # icc doesn't choke on unknown options, it will just issue warnings
3914 # or remarks (even with -Werror). So we grep stderr for any message
3915 # that says an option was ignored or not supported.
3916 # When given -MP, icc 7.0 and 7.1 complain thusly:
3917 # icc: Command line warning: ignoring option '-M'; no argument required
3918 # The diagnosis changed in icc 8.0:
3919 # icc: Command line remark: option '-MP' not supported
3920 if (grep 'ignoring option' conftest.err ||
3921 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3922 am_cv_CC_dependencies_compiler_type=$depmode
3931 am_cv_CC_dependencies_compiler_type=none
3935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3936 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3937 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3940 test "x$enable_dependency_tracking" != xno \
3941 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3943 am__fastdepCC_FALSE='#'
3945 am__fastdepCC_TRUE='#'
3946 am__fastdepCC_FALSE=
3950 case $ac_cv_prog_cc_stdc in #(
3952 ac_cv_prog_cc_c99=no; ac_cv_prog_cc_c89=no ;; #(
3954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C99" >&5
3955 $as_echo_n "checking for $CC option to accept ISO C99... " >&6; }
3956 if ${ac_cv_prog_cc_c99+:} false; then :
3957 $as_echo_n "(cached) " >&6
3959 ac_cv_prog_cc_c99=no
3961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3962 /* end confdefs.h. */
3964 #include <stdbool.h>
3969 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3970 #define debug(...) fprintf (stderr, __VA_ARGS__)
3971 #define showlist(...) puts (#__VA_ARGS__)
3972 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3974 test_varargs_macros (void)
3979 debug ("X = %d\n", x);
3980 showlist (The first, second, and third items.);
3981 report (x>y, "x is %d but y is %d", x, y);
3984 // Check long long types.
3985 #define BIG64 18446744073709551615ull
3986 #define BIG32 4294967295ul
3987 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3989 your preprocessor is broken;
3993 your preprocessor is broken;
3995 static long long int bignum = -9223372036854775807LL;
3996 static unsigned long long int ubignum = BIG64;
3998 struct incomplete_array
4006 const wchar_t *name;
4010 typedef const char *ccp;
4013 test_restrict (ccp restrict text)
4015 // See if C++-style comments work.
4016 // Iterate through items via the restricted pointer.
4017 // Also check for declarations in for loops.
4018 for (unsigned int i = 0; *(text+i) != '\0'; ++i)
4023 // Check varargs and va_copy.
4025 test_varargs (const char *format, ...)
4028 va_start (args, format);
4030 va_copy (args_copy, args);
4041 str = va_arg (args_copy, const char *);
4044 number = va_arg (args_copy, int);
4047 fnumber = va_arg (args_copy, double);
4062 _Bool success = false;
4065 if (test_restrict ("String literal") == 0)
4067 char *restrict newvar = "Another string";
4070 test_varargs ("s, d' f .", "string", 65, 34.234);
4071 test_varargs_macros ();
4073 // Check flexible array members.
4074 struct incomplete_array *ia =
4075 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
4077 for (int i = 0; i < ia->datasize; ++i)
4078 ia->data[i] = i * 1.234;
4080 // Check named initializers.
4081 struct named_init ni = {
4083 .name = L"Test wide string",
4084 .average = 543.34343,
4089 int dynamic_array[ni.number];
4090 dynamic_array[ni.number - 1] = 543;
4092 // work around unused variable warnings
4093 return (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == 'x'
4094 || dynamic_array[ni.number - 1] != 543);
4100 for ac_arg in '' -std=gnu99 -std=c99 -c99 -AC99 -D_STDC_C99= -qlanglvl=extc99
4102 CC="$ac_save_CC $ac_arg"
4103 if ac_fn_c_try_compile "$LINENO"; then :
4104 ac_cv_prog_cc_c99=$ac_arg
4106 rm -f core conftest.err conftest.$ac_objext
4107 test "x$ac_cv_prog_cc_c99" != "xno" && break
4109 rm -f conftest.$ac_ext
4114 case "x$ac_cv_prog_cc_c99" in
4116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4117 $as_echo "none needed" >&6; } ;;
4119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4120 $as_echo "unsupported" >&6; } ;;
4122 CC="$CC $ac_cv_prog_cc_c99"
4123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4124 $as_echo "$ac_cv_prog_cc_c99" >&6; } ;;
4126 if test "x$ac_cv_prog_cc_c99" != xno; then :
4127 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4130 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4131 if ${ac_cv_prog_cc_c89+:} false; then :
4132 $as_echo_n "(cached) " >&6
4134 ac_cv_prog_cc_c89=no
4136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4137 /* end confdefs.h. */
4141 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4142 struct buf { int x; };
4143 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4144 static char *e (p, i)
4150 static char *f (char * (*g) (char **, int), char **p, ...)
4155 s = g (p, va_arg (v,int));
4160 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4161 function prototypes and stuff, but not '\xHH' hex character constants.
4162 These don't provoke an error unfortunately, instead are silently treated
4163 as 'x'. The following induces an error, until -std is added to get
4164 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4165 array size at least. It's necessary to write '\x00'==0 to get something
4166 that's true only with -std. */
4167 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4169 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4170 inside strings and character constants. */
4172 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4174 int test (int i, double x);
4175 struct s1 {int (*f) (int a);};
4176 struct s2 {int (*f) (double a);};
4177 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4183 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4188 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4189 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4191 CC="$ac_save_CC $ac_arg"
4192 if ac_fn_c_try_compile "$LINENO"; then :
4193 ac_cv_prog_cc_c89=$ac_arg
4195 rm -f core conftest.err conftest.$ac_objext
4196 test "x$ac_cv_prog_cc_c89" != "xno" && break
4198 rm -f conftest.$ac_ext
4203 case "x$ac_cv_prog_cc_c89" in
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4206 $as_echo "none needed" >&6; } ;;
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4209 $as_echo "unsupported" >&6; } ;;
4211 CC="$CC $ac_cv_prog_cc_c89"
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4213 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4215 if test "x$ac_cv_prog_cc_c89" != xno; then :
4216 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4218 ac_cv_prog_cc_stdc=no
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO Standard C" >&5
4225 $as_echo_n "checking for $CC option to accept ISO Standard C... " >&6; }
4226 if ${ac_cv_prog_cc_stdc+:} false; then :
4227 $as_echo_n "(cached) " >&6
4230 case $ac_cv_prog_cc_stdc in #(
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4233 $as_echo "unsupported" >&6; } ;; #(
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4236 $as_echo "none needed" >&6; } ;; #(
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_stdc" >&5
4239 $as_echo "$ac_cv_prog_cc_stdc" >&6; } ;;
4242 if test "x$CC" != xcc; then
4243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
4244 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
4247 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
4249 set dummy $CC; ac_cc=`$as_echo "$2" |
4250 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4251 if eval \${ac_cv_prog_cc_${ac_cc}_c_o+:} false; then :
4252 $as_echo_n "(cached) " >&6
4254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4255 /* end confdefs.h. */
4265 # Make sure it works both with $CC and with simple cc.
4266 # We do the test twice because some compilers refuse to overwrite an
4267 # existing .o file with -o, though they will create one.
4268 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4270 if { { case "(($ac_try" in
4271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4272 *) ac_try_echo=$ac_try;;
4274 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4275 $as_echo "$ac_try_echo"; } >&5
4276 (eval "$ac_try") 2>&5
4278 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4279 test $ac_status = 0; } &&
4280 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4281 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4282 *) ac_try_echo=$ac_try;;
4284 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4285 $as_echo "$ac_try_echo"; } >&5
4286 (eval "$ac_try") 2>&5
4288 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4289 test $ac_status = 0; };
4291 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
4292 if test "x$CC" != xcc; then
4293 # Test first that cc exists at all.
4294 if { ac_try='cc -c conftest.$ac_ext >&5'
4295 { { case "(($ac_try" in
4296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4297 *) ac_try_echo=$ac_try;;
4299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4300 $as_echo "$ac_try_echo"; } >&5
4301 (eval "$ac_try") 2>&5
4303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4304 test $ac_status = 0; }; }; then
4305 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
4307 if { { case "(($ac_try" in
4308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4309 *) ac_try_echo=$ac_try;;
4311 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4312 $as_echo "$ac_try_echo"; } >&5
4313 (eval "$ac_try") 2>&5
4315 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4316 test $ac_status = 0; } &&
4317 test -f conftest2.$ac_objext && { { case "(($ac_try" in
4318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4319 *) ac_try_echo=$ac_try;;
4321 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4322 $as_echo "$ac_try_echo"; } >&5
4323 (eval "$ac_try") 2>&5
4325 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4326 test $ac_status = 0; };
4331 # cc exists but doesn't like -o.
4332 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4337 eval ac_cv_prog_cc_${ac_cc}_c_o=no
4339 rm -f core conftest*
4342 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
4343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4344 $as_echo "yes" >&6; }
4346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4347 $as_echo "no" >&6; }
4349 $as_echo "#define NO_MINUS_C_MINUS_O 1" >>confdefs.h
4353 # FIXME: we rely on the cache variable name because
4354 # there is no other way.
4356 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4357 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4358 if test "$am_t" != yes; then
4359 # Losing compiler, so override with the script.
4360 # FIXME: It is wrong to rewrite CC.
4361 # But if we don't then we get into trouble of one sort or another.
4362 # A longer-term fix would be to have automake use am__CC in this case,
4363 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4364 CC="$am_aux_dir/compile $CC"
4370 ac_cpp='$CPP $CPPFLAGS'
4371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4375 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4376 # On Suns, sometimes $CPP names a directory.
4377 if test -n "$CPP" && test -d "$CPP"; then
4380 if test -z "$CPP"; then
4381 if ${ac_cv_prog_CPP+:} false; then :
4382 $as_echo_n "(cached) " >&6
4384 # Double quotes because CPP needs to be expanded
4385 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4388 for ac_c_preproc_warn_flag in '' yes
4390 # Use a header file that comes with gcc, so configuring glibc
4391 # with a fresh cross-compiler works.
4392 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4393 # <limits.h> exists even on freestanding compilers.
4394 # On the NeXT, cc -E runs the code through the compiler's parser,
4395 # not just through cpp. "Syntax error" is here to catch this case.
4396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4397 /* end confdefs.h. */
4399 # include <limits.h>
4401 # include <assert.h>
4405 if ac_fn_c_try_cpp "$LINENO"; then :
4408 # Broken: fails on valid input.
4411 rm -f conftest.err conftest.i conftest.$ac_ext
4413 # OK, works on sane cases. Now check whether nonexistent headers
4414 # can be detected and how.
4415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4416 /* end confdefs.h. */
4417 #include <ac_nonexistent.h>
4419 if ac_fn_c_try_cpp "$LINENO"; then :
4420 # Broken: success on invalid input.
4423 # Passes both tests.
4427 rm -f conftest.err conftest.i conftest.$ac_ext
4430 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4431 rm -f conftest.i conftest.err conftest.$ac_ext
4432 if $ac_preproc_ok; then :
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
4445 $as_echo "$CPP" >&6; }
4447 for ac_c_preproc_warn_flag in '' yes
4449 # Use a header file that comes with gcc, so configuring glibc
4450 # with a fresh cross-compiler works.
4451 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4452 # <limits.h> exists even on freestanding compilers.
4453 # On the NeXT, cc -E runs the code through the compiler's parser,
4454 # not just through cpp. "Syntax error" is here to catch this case.
4455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4456 /* end confdefs.h. */
4458 # include <limits.h>
4460 # include <assert.h>
4464 if ac_fn_c_try_cpp "$LINENO"; then :
4467 # Broken: fails on valid input.
4470 rm -f conftest.err conftest.i conftest.$ac_ext
4472 # OK, works on sane cases. Now check whether nonexistent headers
4473 # can be detected and how.
4474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4475 /* end confdefs.h. */
4476 #include <ac_nonexistent.h>
4478 if ac_fn_c_try_cpp "$LINENO"; then :
4479 # Broken: success on invalid input.
4482 # Passes both tests.
4486 rm -f conftest.err conftest.i conftest.$ac_ext
4489 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4490 rm -f conftest.i conftest.err conftest.$ac_ext
4491 if $ac_preproc_ok; then :
4494 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4495 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4496 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
4497 See \`config.log' for more details" "$LINENO" 5; }
4501 ac_cpp='$CPP $CPPFLAGS'
4502 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4503 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4504 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
4508 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
4509 if ${ac_cv_path_GREP+:} false; then :
4510 $as_echo_n "(cached) " >&6
4512 if test -z "$GREP"; then
4513 ac_path_GREP_found=false
4514 # Loop through the user's path and test for each of PROGNAME-LIST
4515 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4516 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4519 test -z "$as_dir" && as_dir=.
4520 for ac_prog in grep ggrep; do
4521 for ac_exec_ext in '' $ac_executable_extensions; do
4522 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
4523 as_fn_executable_p "$ac_path_GREP" || continue
4524 # Check for GNU ac_path_GREP and select it if it is found.
4525 # Check for GNU $ac_path_GREP
4526 case `"$ac_path_GREP" --version 2>&1` in
4528 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
4531 $as_echo_n 0123456789 >"conftest.in"
4534 cat "conftest.in" "conftest.in" >"conftest.tmp"
4535 mv "conftest.tmp" "conftest.in"
4536 cp "conftest.in" "conftest.nl"
4537 $as_echo 'GREP' >> "conftest.nl"
4538 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4539 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4540 as_fn_arith $ac_count + 1 && ac_count=$as_val
4541 if test $ac_count -gt ${ac_path_GREP_max-0}; then
4542 # Best one so far, save it but keep looking for a better one
4543 ac_cv_path_GREP="$ac_path_GREP"
4544 ac_path_GREP_max=$ac_count
4546 # 10*(2^10) chars as input seems more than enough
4547 test $ac_count -gt 10 && break
4549 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4552 $ac_path_GREP_found && break 3
4557 if test -z "$ac_cv_path_GREP"; then
4558 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4561 ac_cv_path_GREP=$GREP
4565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
4566 $as_echo "$ac_cv_path_GREP" >&6; }
4567 GREP="$ac_cv_path_GREP"
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4571 $as_echo_n "checking for egrep... " >&6; }
4572 if ${ac_cv_path_EGREP+:} false; then :
4573 $as_echo_n "(cached) " >&6
4575 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4576 then ac_cv_path_EGREP="$GREP -E"
4578 if test -z "$EGREP"; then
4579 ac_path_EGREP_found=false
4580 # Loop through the user's path and test for each of PROGNAME-LIST
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4585 test -z "$as_dir" && as_dir=.
4586 for ac_prog in egrep; do
4587 for ac_exec_ext in '' $ac_executable_extensions; do
4588 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
4589 as_fn_executable_p "$ac_path_EGREP" || continue
4590 # Check for GNU ac_path_EGREP and select it if it is found.
4591 # Check for GNU $ac_path_EGREP
4592 case `"$ac_path_EGREP" --version 2>&1` in
4594 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4597 $as_echo_n 0123456789 >"conftest.in"
4600 cat "conftest.in" "conftest.in" >"conftest.tmp"
4601 mv "conftest.tmp" "conftest.in"
4602 cp "conftest.in" "conftest.nl"
4603 $as_echo 'EGREP' >> "conftest.nl"
4604 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4605 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4606 as_fn_arith $ac_count + 1 && ac_count=$as_val
4607 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4608 # Best one so far, save it but keep looking for a better one
4609 ac_cv_path_EGREP="$ac_path_EGREP"
4610 ac_path_EGREP_max=$ac_count
4612 # 10*(2^10) chars as input seems more than enough
4613 test $ac_count -gt 10 && break
4615 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4618 $ac_path_EGREP_found && break 3
4623 if test -z "$ac_cv_path_EGREP"; then
4624 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4627 ac_cv_path_EGREP=$EGREP
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4633 $as_echo "$ac_cv_path_EGREP" >&6; }
4634 EGREP="$ac_cv_path_EGREP"
4637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
4638 $as_echo_n "checking for ANSI C header files... " >&6; }
4639 if ${ac_cv_header_stdc+:} false; then :
4640 $as_echo_n "(cached) " >&6
4642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4643 /* end confdefs.h. */
4657 if ac_fn_c_try_compile "$LINENO"; then :
4658 ac_cv_header_stdc=yes
4660 ac_cv_header_stdc=no
4662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4664 if test $ac_cv_header_stdc = yes; then
4665 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
4666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4667 /* end confdefs.h. */
4671 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4672 $EGREP "memchr" >/dev/null 2>&1; then :
4675 ac_cv_header_stdc=no
4681 if test $ac_cv_header_stdc = yes; then
4682 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
4683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4684 /* end confdefs.h. */
4688 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
4689 $EGREP "free" >/dev/null 2>&1; then :
4692 ac_cv_header_stdc=no
4698 if test $ac_cv_header_stdc = yes; then
4699 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
4700 if test "$cross_compiling" = yes; then :
4703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4704 /* end confdefs.h. */
4707 #if ((' ' & 0x0FF) == 0x020)
4708 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
4709 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
4711 # define ISLOWER(c) \
4712 (('a' <= (c) && (c) <= 'i') \
4713 || ('j' <= (c) && (c) <= 'r') \
4714 || ('s' <= (c) && (c) <= 'z'))
4715 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
4718 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
4723 for (i = 0; i < 256; i++)
4724 if (XOR (islower (i), ISLOWER (i))
4725 || toupper (i) != TOUPPER (i))
4730 if ac_fn_c_try_run "$LINENO"; then :
4733 ac_cv_header_stdc=no
4735 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4736 conftest.$ac_objext conftest.beam conftest.$ac_ext
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
4742 $as_echo "$ac_cv_header_stdc" >&6; }
4743 if test $ac_cv_header_stdc = yes; then
4745 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
4749 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
4750 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
4751 inttypes.h stdint.h unistd.h
4753 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
4754 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
4756 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
4757 cat >>confdefs.h <<_ACEOF
4758 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
4767 ac_fn_c_check_header_mongrel "$LINENO" "minix/config.h" "ac_cv_header_minix_config_h" "$ac_includes_default"
4768 if test "x$ac_cv_header_minix_config_h" = xyes; then :
4775 if test "$MINIX" = yes; then
4777 $as_echo "#define _POSIX_SOURCE 1" >>confdefs.h
4780 $as_echo "#define _POSIX_1_SOURCE 2" >>confdefs.h
4783 $as_echo "#define _MINIX 1" >>confdefs.h
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4789 $as_echo_n "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4790 if ${ac_cv_safe_to_define___extensions__+:} false; then :
4791 $as_echo_n "(cached) " >&6
4793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4794 /* end confdefs.h. */
4796 # define __EXTENSIONS__ 1
4797 $ac_includes_default
4806 if ac_fn_c_try_compile "$LINENO"; then :
4807 ac_cv_safe_to_define___extensions__=yes
4809 ac_cv_safe_to_define___extensions__=no
4811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4814 $as_echo "$ac_cv_safe_to_define___extensions__" >&6; }
4815 test $ac_cv_safe_to_define___extensions__ = yes &&
4816 $as_echo "#define __EXTENSIONS__ 1" >>confdefs.h
4818 $as_echo "#define _ALL_SOURCE 1" >>confdefs.h
4820 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
4822 $as_echo "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4824 $as_echo "#define _TANDEM_SOURCE 1" >>confdefs.h
4827 # Check whether --enable-largefile was given.
4828 if test "${enable_largefile+set}" = set; then :
4829 enableval=$enable_largefile;
4832 if test "$enable_largefile" != no; then
4834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
4835 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
4836 if ${ac_cv_sys_largefile_CC+:} false; then :
4837 $as_echo_n "(cached) " >&6
4839 ac_cv_sys_largefile_CC=no
4840 if test "$GCC" != yes; then
4843 # IRIX 6.2 and later do not support large files by default,
4844 # so use the C compiler's -n32 option if that helps.
4845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4846 /* end confdefs.h. */
4847 #include <sys/types.h>
4848 /* Check that off_t can represent 2**63 - 1 correctly.
4849 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4850 since some C++ compilers masquerading as C compilers
4851 incorrectly reject 9223372036854775807. */
4852 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4853 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4854 && LARGE_OFF_T % 2147483647 == 1)
4864 if ac_fn_c_try_compile "$LINENO"; then :
4867 rm -f core conftest.err conftest.$ac_objext
4869 if ac_fn_c_try_compile "$LINENO"; then :
4870 ac_cv_sys_largefile_CC=' -n32'; break
4872 rm -f core conftest.err conftest.$ac_objext
4876 rm -f conftest.$ac_ext
4879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
4880 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
4881 if test "$ac_cv_sys_largefile_CC" != no; then
4882 CC=$CC$ac_cv_sys_largefile_CC
4885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
4886 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
4887 if ${ac_cv_sys_file_offset_bits+:} false; then :
4888 $as_echo_n "(cached) " >&6
4891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4892 /* end confdefs.h. */
4893 #include <sys/types.h>
4894 /* Check that off_t can represent 2**63 - 1 correctly.
4895 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4896 since some C++ compilers masquerading as C compilers
4897 incorrectly reject 9223372036854775807. */
4898 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4899 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4900 && LARGE_OFF_T % 2147483647 == 1)
4910 if ac_fn_c_try_compile "$LINENO"; then :
4911 ac_cv_sys_file_offset_bits=no; break
4913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4915 /* end confdefs.h. */
4916 #define _FILE_OFFSET_BITS 64
4917 #include <sys/types.h>
4918 /* Check that off_t can represent 2**63 - 1 correctly.
4919 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4920 since some C++ compilers masquerading as C compilers
4921 incorrectly reject 9223372036854775807. */
4922 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4923 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4924 && LARGE_OFF_T % 2147483647 == 1)
4934 if ac_fn_c_try_compile "$LINENO"; then :
4935 ac_cv_sys_file_offset_bits=64; break
4937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4938 ac_cv_sys_file_offset_bits=unknown
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
4943 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
4944 case $ac_cv_sys_file_offset_bits in #(
4947 cat >>confdefs.h <<_ACEOF
4948 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
4953 if test $ac_cv_sys_file_offset_bits = unknown; then
4954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
4955 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
4956 if ${ac_cv_sys_large_files+:} false; then :
4957 $as_echo_n "(cached) " >&6
4960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4961 /* end confdefs.h. */
4962 #include <sys/types.h>
4963 /* Check that off_t can represent 2**63 - 1 correctly.
4964 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4965 since some C++ compilers masquerading as C compilers
4966 incorrectly reject 9223372036854775807. */
4967 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4968 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4969 && LARGE_OFF_T % 2147483647 == 1)
4979 if ac_fn_c_try_compile "$LINENO"; then :
4980 ac_cv_sys_large_files=no; break
4982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4984 /* end confdefs.h. */
4985 #define _LARGE_FILES 1
4986 #include <sys/types.h>
4987 /* Check that off_t can represent 2**63 - 1 correctly.
4988 We can't simply define LARGE_OFF_T to be 9223372036854775807,
4989 since some C++ compilers masquerading as C compilers
4990 incorrectly reject 9223372036854775807. */
4991 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
4992 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
4993 && LARGE_OFF_T % 2147483647 == 1)
5003 if ac_fn_c_try_compile "$LINENO"; then :
5004 ac_cv_sys_large_files=1; break
5006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5007 ac_cv_sys_large_files=unknown
5011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5012 $as_echo "$ac_cv_sys_large_files" >&6; }
5013 case $ac_cv_sys_large_files in #(
5016 cat >>confdefs.h <<_ACEOF
5017 #define _LARGE_FILES $ac_cv_sys_large_files
5028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5029 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5031 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5032 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
5033 $as_echo_n "(cached) " >&6
5035 cat >conftest.make <<\_ACEOF
5038 @echo '@@@%%%=$(MAKE)=@@@%%%'
5040 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5041 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5043 eval ac_cv_prog_make_${ac_make}_set=yes;;
5045 eval ac_cv_prog_make_${ac_make}_set=no;;
5049 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5051 $as_echo "yes" >&6; }
5054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5055 $as_echo "no" >&6; }
5056 SET_MAKE="MAKE=${MAKE-make}"
5060 # Checks for libraries.
5062 # Checks for header files.
5063 for ac_header in arpa/inet.h fcntl.h malloc.h netinet/in.h stdlib.h string.h sys/ioctl.h sys/socket.h syslog.h unistd.h
5065 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
5066 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
5067 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
5068 cat >>confdefs.h <<_ACEOF
5069 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
5077 # Checks for typedefs, structures, and compiler characteristics.
5078 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
5079 if test "x$ac_cv_type_mode_t" = xyes; then :
5083 cat >>confdefs.h <<_ACEOF
5089 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
5090 if test "x$ac_cv_type_pid_t" = xyes; then :
5094 cat >>confdefs.h <<_ACEOF
5100 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
5101 if test "x$ac_cv_type_size_t" = xyes; then :
5105 cat >>confdefs.h <<_ACEOF
5106 #define size_t unsigned int
5111 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
5112 if test "x$ac_cv_type_ssize_t" = xyes; then :
5116 cat >>confdefs.h <<_ACEOF
5123 # Checks for library functions.
5124 for ac_header in vfork.h
5126 ac_fn_c_check_header_mongrel "$LINENO" "vfork.h" "ac_cv_header_vfork_h" "$ac_includes_default"
5127 if test "x$ac_cv_header_vfork_h" = xyes; then :
5128 cat >>confdefs.h <<_ACEOF
5129 #define HAVE_VFORK_H 1
5136 for ac_func in fork vfork
5138 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5139 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5140 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5141 cat >>confdefs.h <<_ACEOF
5142 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5148 if test "x$ac_cv_func_fork" = xyes; then
5149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working fork" >&5
5150 $as_echo_n "checking for working fork... " >&6; }
5151 if ${ac_cv_func_fork_works+:} false; then :
5152 $as_echo_n "(cached) " >&6
5154 if test "$cross_compiling" = yes; then :
5155 ac_cv_func_fork_works=cross
5157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5158 /* end confdefs.h. */
5159 $ac_includes_default
5164 /* By Ruediger Kuhlmann. */
5171 if ac_fn_c_try_run "$LINENO"; then :
5172 ac_cv_func_fork_works=yes
5174 ac_cv_func_fork_works=no
5176 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5177 conftest.$ac_objext conftest.beam conftest.$ac_ext
5181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_fork_works" >&5
5182 $as_echo "$ac_cv_func_fork_works" >&6; }
5185 ac_cv_func_fork_works=$ac_cv_func_fork
5187 if test "x$ac_cv_func_fork_works" = xcross; then
5189 *-*-amigaos* | *-*-msdosdjgpp*)
5190 # Override, as these systems have only a dummy fork() stub
5191 ac_cv_func_fork_works=no
5194 ac_cv_func_fork_works=yes
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&5
5198 $as_echo "$as_me: WARNING: result $ac_cv_func_fork_works guessed because of cross compilation" >&2;}
5200 ac_cv_func_vfork_works=$ac_cv_func_vfork
5201 if test "x$ac_cv_func_vfork" = xyes; then
5202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working vfork" >&5
5203 $as_echo_n "checking for working vfork... " >&6; }
5204 if ${ac_cv_func_vfork_works+:} false; then :
5205 $as_echo_n "(cached) " >&6
5207 if test "$cross_compiling" = yes; then :
5208 ac_cv_func_vfork_works=cross
5210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5211 /* end confdefs.h. */
5212 /* Thanks to Paul Eggert for this test. */
5213 $ac_includes_default
5214 #include <sys/wait.h>
5218 /* On some sparc systems, changes by the child to local and incoming
5219 argument registers are propagated back to the parent. The compiler
5220 is told about this with #include <vfork.h>, but some compilers
5221 (e.g. gcc -O) don't grok <vfork.h>. Test for this by using a
5222 static variable whose address is put into a register that is
5223 clobbered by the vfork. */
5226 sparc_address_test (int arg)
5228 sparc_address_test (arg) int arg;
5249 pid_t parent = getpid ();
5252 sparc_address_test (0);
5257 /* Here is another test for sparc vfork register problems. This
5258 test uses lots of local variables, at least as many local
5259 variables as main has allocated so far including compiler
5260 temporaries. 4 locals are enough for gcc 1.40.3 on a Solaris
5261 4.1.3 sparc, but we use 8 to be safe. A buggy compiler should
5262 reuse the register of parent for one of the local variables,
5263 since it will think that parent can't possibly be used any more
5264 in this routine. Assigning to the local variable will thus
5265 munge parent in the parent process. */
5267 p = getpid(), p1 = getpid(), p2 = getpid(), p3 = getpid(),
5268 p4 = getpid(), p5 = getpid(), p6 = getpid(), p7 = getpid();
5269 /* Convince the compiler that p..p7 are live; otherwise, it might
5270 use the same hardware register for all 8 local variables. */
5271 if (p != p1 || p != p2 || p != p3 || p != p4
5272 || p != p5 || p != p6 || p != p7)
5275 /* On some systems (e.g. IRIX 3.3), vfork doesn't separate parent
5276 from child file descriptors. If the child closes a descriptor
5277 before it execs or exits, this munges the parent's descriptor
5278 as well. Test for this by closing stdout in the child. */
5279 _exit(close(fileno(stdout)) != 0);
5284 while (wait(&status) != child)
5287 /* Was there some problem with vforking? */
5290 /* Did the child fail? (This shouldn't happen.) */
5293 /* Did the vfork/compiler bug occur? */
5294 || parent != getpid()
5296 /* Did the file descriptor bug occur? */
5297 || fstat(fileno(stdout), &st) != 0
5302 if ac_fn_c_try_run "$LINENO"; then :
5303 ac_cv_func_vfork_works=yes
5305 ac_cv_func_vfork_works=no
5307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5308 conftest.$ac_objext conftest.beam conftest.$ac_ext
5312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_vfork_works" >&5
5313 $as_echo "$ac_cv_func_vfork_works" >&6; }
5316 if test "x$ac_cv_func_fork_works" = xcross; then
5317 ac_cv_func_vfork_works=$ac_cv_func_vfork
5318 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&5
5319 $as_echo "$as_me: WARNING: result $ac_cv_func_vfork_works guessed because of cross compilation" >&2;}
5322 if test "x$ac_cv_func_vfork_works" = xyes; then
5324 $as_echo "#define HAVE_WORKING_VFORK 1" >>confdefs.h
5328 $as_echo "#define vfork fork" >>confdefs.h
5331 if test "x$ac_cv_func_fork_works" = xyes; then
5333 $as_echo "#define HAVE_WORKING_FORK 1" >>confdefs.h
5337 for ac_header in stdlib.h
5339 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5340 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5341 cat >>confdefs.h <<_ACEOF
5342 #define HAVE_STDLIB_H 1
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
5350 $as_echo_n "checking for GNU libc compatible malloc... " >&6; }
5351 if ${ac_cv_func_malloc_0_nonnull+:} false; then :
5352 $as_echo_n "(cached) " >&6
5354 if test "$cross_compiling" = yes; then :
5355 ac_cv_func_malloc_0_nonnull=no
5357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5358 /* end confdefs.h. */
5359 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5360 # include <stdlib.h>
5368 return ! malloc (0);
5373 if ac_fn_c_try_run "$LINENO"; then :
5374 ac_cv_func_malloc_0_nonnull=yes
5376 ac_cv_func_malloc_0_nonnull=no
5378 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5379 conftest.$ac_objext conftest.beam conftest.$ac_ext
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
5384 $as_echo "$ac_cv_func_malloc_0_nonnull" >&6; }
5385 if test $ac_cv_func_malloc_0_nonnull = yes; then :
5387 $as_echo "#define HAVE_MALLOC 1" >>confdefs.h
5390 $as_echo "#define HAVE_MALLOC 0" >>confdefs.h
5392 case " $LIBOBJS " in
5393 *" malloc.$ac_objext "* ) ;;
5394 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
5399 $as_echo "#define malloc rpl_malloc" >>confdefs.h
5404 for ac_header in stdlib.h
5406 ac_fn_c_check_header_mongrel "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
5407 if test "x$ac_cv_header_stdlib_h" = xyes; then :
5408 cat >>confdefs.h <<_ACEOF
5409 #define HAVE_STDLIB_H 1
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
5417 $as_echo_n "checking for GNU libc compatible realloc... " >&6; }
5418 if ${ac_cv_func_realloc_0_nonnull+:} false; then :
5419 $as_echo_n "(cached) " >&6
5421 if test "$cross_compiling" = yes; then :
5422 ac_cv_func_realloc_0_nonnull=no
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5426 #if defined STDC_HEADERS || defined HAVE_STDLIB_H
5427 # include <stdlib.h>
5435 return ! realloc (0, 0);
5440 if ac_fn_c_try_run "$LINENO"; then :
5441 ac_cv_func_realloc_0_nonnull=yes
5443 ac_cv_func_realloc_0_nonnull=no
5445 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5446 conftest.$ac_objext conftest.beam conftest.$ac_ext
5450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
5451 $as_echo "$ac_cv_func_realloc_0_nonnull" >&6; }
5452 if test $ac_cv_func_realloc_0_nonnull = yes; then :
5454 $as_echo "#define HAVE_REALLOC 1" >>confdefs.h
5457 $as_echo "#define HAVE_REALLOC 0" >>confdefs.h
5459 case " $LIBOBJS " in
5460 *" realloc.$ac_objext "* ) ;;
5461 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
5466 $as_echo "#define realloc rpl_realloc" >>confdefs.h
5471 # Make sure we can run config.sub.
5472 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
5473 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
5476 $as_echo_n "checking build system type... " >&6; }
5477 if ${ac_cv_build+:} false; then :
5478 $as_echo_n "(cached) " >&6
5480 ac_build_alias=$build_alias
5481 test "x$ac_build_alias" = x &&
5482 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
5483 test "x$ac_build_alias" = x &&
5484 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
5485 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
5486 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
5490 $as_echo "$ac_cv_build" >&6; }
5491 case $ac_cv_build in
5493 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
5496 ac_save_IFS=$IFS; IFS='-'
5502 # Remember, the first character of IFS is used to create $*,
5503 # except with old shells:
5506 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
5509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
5510 $as_echo_n "checking host system type... " >&6; }
5511 if ${ac_cv_host+:} false; then :
5512 $as_echo_n "(cached) " >&6
5514 if test "x$host_alias" = x; then
5515 ac_cv_host=$ac_cv_build
5517 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
5518 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
5522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
5523 $as_echo "$ac_cv_host" >&6; }
5526 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
5529 ac_save_IFS=$IFS; IFS='-'
5535 # Remember, the first character of IFS is used to create $*,
5536 # except with old shells:
5539 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working strnlen" >&5
5543 $as_echo_n "checking for working strnlen... " >&6; }
5544 if ${ac_cv_func_strnlen_working+:} false; then :
5545 $as_echo_n "(cached) " >&6
5547 if test "$cross_compiling" = yes; then :
5548 # Guess no on AIX systems, yes otherwise.
5550 aix*) ac_cv_func_strnlen_working=no;;
5551 *) ac_cv_func_strnlen_working=yes;;
5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5556 $ac_includes_default
5562 #define S_LEN (sizeof S - 1)
5564 /* At least one implementation is buggy: that of AIX 4.3 would
5565 give strnlen (S, 1) == 3. */
5568 for (i = 0; i < S_LEN + 1; ++i)
5570 int expected = i <= S_LEN ? i : S_LEN;
5571 if (strnlen (S, i) != expected)
5580 if ac_fn_c_try_run "$LINENO"; then :
5581 ac_cv_func_strnlen_working=yes
5583 ac_cv_func_strnlen_working=no
5585 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
5586 conftest.$ac_objext conftest.beam conftest.$ac_ext
5590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_strnlen_working" >&5
5591 $as_echo "$ac_cv_func_strnlen_working" >&6; }
5592 test $ac_cv_func_strnlen_working = no && case " $LIBOBJS " in
5593 *" strnlen.$ac_objext "* ) ;;
5594 *) LIBOBJS="$LIBOBJS strnlen.$ac_objext"
5599 ac_fn_c_check_func "$LINENO" "fchown" "ac_cv_func_fchown"
5600 if test "x$ac_cv_func_fchown" = xyes; then :
5602 $as_echo "#define HAVE_FCHOWN 1" >>confdefs.h
5605 as_fn_error $? "\"fchown() not found\"" "$LINENO" 5
5608 ac_fn_c_check_func "$LINENO" "chmod" "ac_cv_func_chmod"
5609 if test "x$ac_cv_func_chmod" = xyes; then :
5611 $as_echo "#define HAVE_CHMOD 1" >>confdefs.h
5614 as_fn_error $? "\"chmod() not found\"" "$LINENO" 5
5617 ac_fn_c_check_func "$LINENO" "fstat" "ac_cv_func_fstat"
5618 if test "x$ac_cv_func_fstat" = xyes; then :
5620 $as_echo "#define HAVE_FSTAT 1" >>confdefs.h
5623 as_fn_error $? "\"fstat() not found\"" "$LINENO" 5
5626 ac_fn_c_check_func "$LINENO" "fstatat" "ac_cv_func_fstatat"
5627 if test "x$ac_cv_func_fstatat" = xyes; then :
5629 $as_echo "#define HAVE_FSTATAT 1" >>confdefs.h
5632 as_fn_error $? "\"fstatat() not found\"" "$LINENO" 5
5635 ac_fn_c_check_func "$LINENO" "openat" "ac_cv_func_openat"
5636 if test "x$ac_cv_func_openat" = xyes; then :
5638 $as_echo "#define HAVE_OPENAT 1" >>confdefs.h
5641 as_fn_error $? "\"openat() not found\"" "$LINENO" 5
5644 ac_fn_c_check_func "$LINENO" "asprintf" "ac_cv_func_asprintf"
5645 if test "x$ac_cv_func_asprintf" = xyes; then :
5647 $as_echo "#define HAVE_ASPRINTF 1" >>confdefs.h
5650 as_fn_error $? "\"asprintf() not found\"" "$LINENO" 5
5653 # These are actually required. Should switch to above form.
5654 for ac_func in alarm dup2 memset regcomp select socket strcasecmp strdup strerror strrchr strtol
5656 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
5657 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
5658 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
5659 cat >>confdefs.h <<_ACEOF
5660 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
5667 # removed for now as kacpimon was not included in dist target
5668 #AC_ARG_ENABLE([kacpimon],AS_HELP_STRING([--enable-kacpimon], [Build kacpimon]))
5669 #AM_CONDITIONAL(KACPIMON, test "x$enable_kacpimon" = "xyes")
5670 #AM_COND_IF([KACPIMON],[AC_CONFIG_FILES([kacpimon/Makefile])])
5672 ac_config_files="$ac_config_files Makefile kacpimon/Makefile"
5674 cat >confcache <<\_ACEOF
5675 # This file is a shell script that caches the results of configure
5676 # tests run on this system so they can be shared between configure
5677 # scripts and configure runs, see configure's option --config-cache.
5678 # It is not useful on other systems. If it contains results you don't
5679 # want to keep, you may remove or edit it.
5681 # config.status only pays attention to the cache file if you give it
5682 # the --recheck option to rerun configure.
5684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5690 # The following way of writing the cache mishandles newlines in values,
5691 # but we know of no workaround that is simple, portable, and efficient.
5692 # So, we kill variables containing newlines.
5693 # Ultrix sh set writes to stderr and can't be redirected directly,
5694 # and sets the high bit in the cache file unless we assign to the vars.
5696 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5697 eval ac_val=\$$ac_var
5701 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5702 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5705 _ | IFS | as_nl) ;; #(
5706 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5707 *) { eval $ac_var=; unset $ac_var;} ;;
5713 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5714 *${as_nl}ac_space=\ *)
5715 # `set' does not quote correctly, so add quotes: double-quote
5716 # substitution turns \\\\ into \\, and sed turns \\ into \.
5719 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5722 # `set' quotes correctly as required by POSIX, so do not add quotes.
5723 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5732 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
5734 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5736 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5737 if test -w "$cache_file"; then
5738 if test "x$cache_file" != "x/dev/null"; then
5739 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5740 $as_echo "$as_me: updating cache $cache_file" >&6;}
5741 if test ! -f "$cache_file" || test -h "$cache_file"; then
5742 cat confcache >"$cache_file"
5744 case $cache_file in #(
5746 mv -f confcache "$cache_file"$$ &&
5747 mv -f "$cache_file"$$ "$cache_file" ;; #(
5749 mv -f confcache "$cache_file" ;;
5754 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5755 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
5760 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5761 # Let make expand exec_prefix.
5762 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5764 DEFS=-DHAVE_CONFIG_H
5769 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
5770 # 1. Remove the extension, and $U if already installed.
5771 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
5772 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
5773 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
5774 # will be set to the directory where LIBOBJS objects are built.
5775 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
5776 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
5780 LTLIBOBJS=$ac_ltlibobjs
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
5784 $as_echo_n "checking that generated files are newer than configure... " >&6; }
5785 if test -n "$am_sleep_pid"; then
5786 # Hide warnings about reused PIDs.
5787 wait $am_sleep_pid 2>/dev/null
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
5790 $as_echo "done" >&6; }
5791 if test -n "$EXEEXT"; then
5793 am__EXEEXT_FALSE='#'
5799 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
5800 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
5801 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5803 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
5804 as_fn_error $? "conditional \"AMDEP\" was never defined.
5805 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5807 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
5808 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
5809 Usually this means the macro was only invoked conditionally." "$LINENO" 5
5812 : "${CONFIG_STATUS=./config.status}"
5814 ac_clean_files_save=$ac_clean_files
5815 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
5817 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
5819 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
5821 # Generated by $as_me.
5822 # Run this file to recreate the current configuration.
5823 # Compiler output produced by configure, useful for debugging
5824 # configure, is in config.log if it exists.
5830 SHELL=\${CONFIG_SHELL-$SHELL}
5833 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
5834 ## -------------------- ##
5835 ## M4sh Initialization. ##
5836 ## -------------------- ##
5838 # Be more Bourne compatible
5839 DUALCASE=1; export DUALCASE # for MKS sh
5840 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
5843 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
5844 # is contrary to our usage. Disable this feature.
5845 alias -g '${1+"$@"}'='"$@"'
5846 setopt NO_GLOB_SUBST
5848 case `(set -o) 2>/dev/null` in #(
5860 # Printing a long string crashes Solaris 7 /usr/bin/printf.
5861 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5862 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
5863 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
5864 # Prefer a ksh shell builtin over an external printf program on Solaris,
5865 # but without wasting forks for bash or zsh.
5866 if test -z "$BASH_VERSION$ZSH_VERSION" \
5867 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
5868 as_echo='print -r --'
5869 as_echo_n='print -rn --'
5870 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
5871 as_echo='printf %s\n'
5872 as_echo_n='printf %s'
5874 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
5875 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
5876 as_echo_n='/usr/ucb/echo -n'
5878 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
5879 as_echo_n_body='eval
5883 expr "X$arg" : "X\\(.*\\)$as_nl";
5884 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
5886 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
5888 export as_echo_n_body
5889 as_echo_n='sh -c $as_echo_n_body as_echo'
5892 as_echo='sh -c $as_echo_body as_echo'
5895 # The user is always right.
5896 if test "${PATH_SEPARATOR+set}" != set; then
5898 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
5899 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
5906 # We need space, tab and new line, in precisely that order. Quoting is
5907 # there to prevent editors from complaining about space-tab.
5908 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
5909 # splitting by setting IFS to empty value.)
5912 # Find who we are. Look in the path if we contain no directory separator.
5915 *[\\/]* ) as_myself=$0 ;;
5916 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5920 test -z "$as_dir" && as_dir=.
5921 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
5927 # We did not find ourselves, most probably we were run as `sh COMMAND'
5928 # in which case we are not to be found in the path.
5929 if test "x$as_myself" = x; then
5932 if test ! -f "$as_myself"; then
5933 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
5937 # Unset variables that we do not need and which cause bugs (e.g. in
5938 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
5939 # suppresses any "Segmentation fault" message there. '((' could
5940 # trigger a bug in pdksh 5.2.14.
5941 for as_var in BASH_ENV ENV MAIL MAILPATH
5942 do eval test x\${$as_var+set} = xset \
5943 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
5956 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
5959 # as_fn_error STATUS ERROR [LINENO LOG_FD]
5960 # ----------------------------------------
5961 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
5962 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
5963 # script with STATUS, using 1 if that was 0.
5966 as_status=$1; test $as_status -eq 0 && as_status=1
5968 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
5969 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5971 $as_echo "$as_me: error: $2" >&2
5972 as_fn_exit $as_status
5976 # as_fn_set_status STATUS
5977 # -----------------------
5978 # Set $? to STATUS, without forking.
5982 } # as_fn_set_status
5986 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5996 # Portably unset VAR.
5999 { eval $1=; unset $1;}
6001 as_unset=as_fn_unset
6002 # as_fn_append VAR VALUE
6003 # ----------------------
6004 # Append the text in VALUE to the end of the definition contained in VAR. Take
6005 # advantage of any shell optimizations that allow amortized linear growth over
6006 # repeated appends, instead of the typical quadratic growth present in naive
6008 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
6009 eval 'as_fn_append ()
6020 # as_fn_arith ARG...
6021 # ------------------
6022 # Perform arithmetic evaluation on the ARGs, and store the result in the
6023 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6024 # must be portable across $(()) and expr.
6025 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
6026 eval 'as_fn_arith ()
6033 as_val=`expr "$@" || test $? -eq 1`
6038 if expr a : '\(a\)' >/dev/null 2>&1 &&
6039 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6045 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6046 as_basename=basename
6051 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6057 as_me=`$as_basename -- "$0" ||
6058 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6059 X"$0" : 'X\(//\)$' \| \
6060 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6062 sed '/^.*\/\([^/][^/]*\)\/*$/{
6076 # Avoid depending upon Character Ranges.
6077 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6078 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6079 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6080 as_cr_digits='0123456789'
6081 as_cr_alnum=$as_cr_Letters$as_cr_digits
6083 ECHO_C= ECHO_N= ECHO_T=
6084 case `echo -n x` in #(((((
6086 case `echo 'xy\c'` in
6087 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6089 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6096 rm -f conf$$ conf$$.exe conf$$.file
6097 if test -d conf$$.dir; then
6098 rm -f conf$$.dir/conf$$.file
6101 mkdir conf$$.dir 2>/dev/null
6103 if (echo >conf$$.file) 2>/dev/null; then
6104 if ln -s conf$$.file conf$$ 2>/dev/null; then
6106 # ... but there are two gotchas:
6107 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6108 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6109 # In both cases, we have to default to `cp -pR'.
6110 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6112 elif ln conf$$.file conf$$ 2>/dev/null; then
6120 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6121 rmdir conf$$.dir 2>/dev/null
6126 # Create "$as_dir" as a directory, including parents if necessary.
6131 -*) as_dir=./$as_dir;;
6133 test -d "$as_dir" || eval $as_mkdir_p || {
6137 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6138 *) as_qdir=$as_dir;;
6140 as_dirs="'$as_qdir' $as_dirs"
6141 as_dir=`$as_dirname -- "$as_dir" ||
6142 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6143 X"$as_dir" : 'X\(//\)[^/]' \| \
6144 X"$as_dir" : 'X\(//\)$' \| \
6145 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6146 $as_echo X"$as_dir" |
6147 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6164 test -d "$as_dir" && break
6166 test -z "$as_dirs" || eval "mkdir $as_dirs"
6167 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6171 if mkdir -p . 2>/dev/null; then
6172 as_mkdir_p='mkdir -p "$as_dir"'
6174 test -d ./-p && rmdir ./-p
6179 # as_fn_executable_p FILE
6180 # -----------------------
6181 # Test if FILE is an executable regular file.
6182 as_fn_executable_p ()
6184 test -f "$1" && test -x "$1"
6185 } # as_fn_executable_p
6187 as_executable_p=as_fn_executable_p
6189 # Sed expression to map a string onto a valid CPP name.
6190 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6192 # Sed expression to map a string onto a valid variable name.
6193 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6197 ## ----------------------------------- ##
6198 ## Main body of $CONFIG_STATUS script. ##
6199 ## ----------------------------------- ##
6201 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6203 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6204 # Save the log message, to keep $0 and so on meaningful, and to
6205 # report actual input values of CONFIG_FILES etc. instead of their
6206 # values after options handling.
6208 This file was extended by acpid $as_me 2.0.22, which was
6209 generated by GNU Autoconf 2.69. Invocation command line was
6211 CONFIG_FILES = $CONFIG_FILES
6212 CONFIG_HEADERS = $CONFIG_HEADERS
6213 CONFIG_LINKS = $CONFIG_LINKS
6214 CONFIG_COMMANDS = $CONFIG_COMMANDS
6217 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6222 case $ac_config_files in *"
6223 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6226 case $ac_config_headers in *"
6227 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6232 # Files that config.status was made for.
6233 config_files="$ac_config_files"
6234 config_headers="$ac_config_headers"
6235 config_commands="$ac_config_commands"
6239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6241 \`$as_me' instantiates files and other configuration actions
6242 from templates according to the current configuration. Unless the files
6243 and actions are specified as TAGs, all are instantiated by default.
6245 Usage: $0 [OPTION]... [TAG]...
6247 -h, --help print this help, then exit
6248 -V, --version print version number and configuration settings, then exit
6249 --config print configuration, then exit
6250 -q, --quiet, --silent
6251 do not print progress messages
6252 -d, --debug don't remove temporary files
6253 --recheck update $as_me by reconfiguring in the same conditions
6254 --file=FILE[:TEMPLATE]
6255 instantiate the configuration file FILE
6256 --header=FILE[:TEMPLATE]
6257 instantiate the configuration header FILE
6259 Configuration files:
6262 Configuration headers:
6265 Configuration commands:
6268 Report bugs to the package provider."
6271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6272 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
6274 acpid config.status 2.0.22
6275 configured by $0, generated by GNU Autoconf 2.69,
6276 with options \\"\$ac_cs_config\\"
6278 Copyright (C) 2012 Free Software Foundation, Inc.
6279 This config.status script is free software; the Free Software Foundation
6280 gives unlimited permission to copy, distribute and modify it."
6287 test -n "\$AWK" || AWK=awk
6290 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6291 # The default lists apply if the user does not specify any file.
6297 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6298 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6302 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6314 # Handling of the options.
6315 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6317 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6318 $as_echo "$ac_cs_version"; exit ;;
6319 --config | --confi | --conf | --con | --co | --c )
6320 $as_echo "$ac_cs_config"; exit ;;
6321 --debug | --debu | --deb | --de | --d | -d )
6323 --file | --fil | --fi | --f )
6326 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6327 '') as_fn_error $? "missing file argument" ;;
6329 as_fn_append CONFIG_FILES " '$ac_optarg'"
6330 ac_need_defaults=false;;
6331 --header | --heade | --head | --hea )
6334 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6336 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6337 ac_need_defaults=false;;
6339 # Conflict between --help and --header
6340 as_fn_error $? "ambiguous option: \`$1'
6341 Try \`$0 --help' for more information.";;
6342 --help | --hel | -h )
6343 $as_echo "$ac_cs_usage"; exit ;;
6344 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6345 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6349 -*) as_fn_error $? "unrecognized option: \`$1'
6350 Try \`$0 --help' for more information." ;;
6352 *) as_fn_append ac_config_targets " $1"
6353 ac_need_defaults=false ;;
6359 ac_configure_extra_args=
6361 if $ac_cs_silent; then
6363 ac_configure_extra_args="$ac_configure_extra_args --silent"
6367 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6368 if \$ac_cs_recheck; then
6369 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6371 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
6372 CONFIG_SHELL='$SHELL'
6378 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6382 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6383 ## Running $as_me. ##
6389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6393 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
6397 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6399 # Handling of arguments.
6400 for ac_config_target in $ac_config_targets
6402 case $ac_config_target in
6403 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6404 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
6405 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6406 "kacpimon/Makefile") CONFIG_FILES="$CONFIG_FILES kacpimon/Makefile" ;;
6408 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6413 # If the user did not use the arguments to specify the items to instantiate,
6414 # then the envvar interface is used. Set only those that are not.
6415 # We use the long form for the default assignment because of an extremely
6416 # bizarre bug on SunOS 4.1.3.
6417 if $ac_need_defaults; then
6418 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
6419 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
6420 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
6423 # Have a temporary directory for convenience. Make it in the build tree
6424 # simply because there is no reason against having it here, and in addition,
6425 # creating and moving files from /tmp can sometimes cause problems.
6426 # Hook for its removal unless debugging.
6427 # Note that there is a small window in which the directory will not be cleaned:
6428 # after its creation but before its name has been assigned to `$tmp'.
6432 trap 'exit_status=$?
6434 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6436 trap 'as_fn_exit 1' 1 2 13 15
6438 # Create a (secure) tmp directory for tmp files.
6441 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6445 tmp=./conf$$-$RANDOM
6446 (umask 077 && mkdir "$tmp")
6447 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6450 # Set up the scripts for CONFIG_FILES section.
6451 # No need to generate them if there are no CONFIG_FILES.
6452 # This happens for instance with `./config.status config.h'.
6453 if test -n "$CONFIG_FILES"; then
6456 ac_cr=`echo X | tr X '\015'`
6457 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6458 # But we know of no other shell where ac_cr would be empty at this
6459 # point, so we can use a bashism as a fallback.
6460 if test "x$ac_cr" = x; then
6461 eval ac_cr=\$\'\\r\'
6463 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6464 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6470 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6475 echo "cat >conf$$subs.awk <<_ACEOF" &&
6476 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6479 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6480 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6482 for ac_last_try in false false false false false :; do
6483 . ./conf$$subs.sh ||
6484 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6486 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6487 if test $ac_delim_n = $ac_delim_num; then
6489 elif $ac_last_try; then
6490 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6492 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6497 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6498 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6502 s/^/S["/; s/!.*/"]=/
6512 s/\(.\{148\}\)..*/\1/
6514 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6519 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6526 s/\(.\{148\}\)..*/\1/
6528 s/["\\]/\\&/g; s/^/"/; s/$/"/
6532 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6537 ' <conf$$subs.awk | sed '
6542 ' >>$CONFIG_STATUS || ac_write_fail=1
6543 rm -f conf$$subs.awk
6544 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6546 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6547 for (key in S) S_is_set[key] = 1
6553 nfields = split(line, field, "@")
6555 len = length(field[1])
6556 for (i = 2; i < nfields; i++) {
6558 keylen = length(key)
6559 if (S_is_set[key]) {
6561 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6562 len += length(value) + length(field[++i])
6573 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6574 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6575 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6578 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6579 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6582 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6583 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6584 # trailing colons and then remove the whole line if VPATH becomes empty
6585 # (actually we leave an empty line to preserve line numbers).
6586 if test "x$srcdir" = x.; then
6587 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6605 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6606 fi # test -n "$CONFIG_FILES"
6608 # Set up the scripts for CONFIG_HEADERS section.
6609 # No need to generate them if there are no CONFIG_HEADERS.
6610 # This happens for instance with `./config.status Makefile'.
6611 if test -n "$CONFIG_HEADERS"; then
6612 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6616 # Transform confdefs.h into an awk script `defines.awk', embedded as
6617 # here-document in config.status, that substitutes the proper values into
6618 # config.h.in to produce config.h.
6620 # Create a delimiter string that does not exist in confdefs.h, to ease
6621 # handling of long lines.
6623 for ac_last_try in false false :; do
6624 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6625 if test -z "$ac_tt"; then
6627 elif $ac_last_try; then
6628 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6630 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6634 # For the awk script, D is an array of macro values keyed by name,
6635 # likewise P contains macro parameters if any. Preserve backslash
6636 # newline sequences.
6638 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6640 s/.\{148\}/&'"$ac_delim"'/g
6643 s/^[ ]*#[ ]*define[ ][ ]*/ /
6650 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6652 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6656 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6657 D["\1"]=" \3\\\\\\n"\\/p
6659 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6664 s/.\{148\}/&'"$ac_delim"'/g
6669 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6672 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6674 ' <confdefs.h | sed '
6675 s/'"$ac_delim"'/"\\\
6676 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6679 for (key in D) D_is_set[key] = 1
6682 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6684 split(line, arg, " ")
6685 if (arg[1] == "#") {
6689 defundef = substr(arg[1], 2)
6692 split(mac1, mac2, "(") #)
6694 prefix = substr(line, 1, index(line, defundef) - 1)
6695 if (D_is_set[macro]) {
6696 # Preserve the white space surrounding the "#".
6697 print prefix "define", macro P[macro] D[macro]
6700 # Replace #undef with comments. This is necessary, for example,
6701 # in the case of _POSIX_SOURCE, which is predefined and required
6702 # on some systems where configure will not decide to define it.
6703 if (defundef == "undef") {
6704 print "/*", prefix defundef, macro, "*/"
6712 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6713 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6714 fi # test -n "$CONFIG_HEADERS"
6717 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
6722 :[FHLC]) ac_mode=$ac_tag; continue;;
6724 case $ac_mode$ac_tag in
6726 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6727 :[FH]-) ac_tag=-:-;;
6728 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6745 -) ac_f="$ac_tmp/stdin";;
6746 *) # Look for the file first in the build tree, then in the source tree
6747 # (if the path is not absolute). The absolute path cannot be DOS-style,
6748 # because $ac_f cannot contain `:'.
6752 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6754 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6756 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6757 as_fn_append ac_file_inputs " '$ac_f'"
6760 # Let's still pretend it is `configure' which instantiates (i.e., don't
6761 # use $as_me), people would be surprised to read:
6762 # /* config.h. Generated by config.status. */
6763 configure_input='Generated from '`
6764 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6766 if test x"$ac_file" != x-; then
6767 configure_input="$ac_file. $configure_input"
6768 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6769 $as_echo "$as_me: creating $ac_file" >&6;}
6771 # Neutralize special characters interpreted by sed in replacement strings.
6772 case $configure_input in #(
6773 *\&* | *\|* | *\\* )
6774 ac_sed_conf_input=`$as_echo "$configure_input" |
6775 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6776 *) ac_sed_conf_input=$configure_input;;
6780 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6781 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6786 ac_dir=`$as_dirname -- "$ac_file" ||
6787 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6788 X"$ac_file" : 'X\(//\)[^/]' \| \
6789 X"$ac_file" : 'X\(//\)$' \| \
6790 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6791 $as_echo X"$ac_file" |
6792 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6809 as_dir="$ac_dir"; as_fn_mkdir_p
6813 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6815 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
6816 # A ".." for each directory in $ac_dir_suffix.
6817 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
6818 case $ac_top_builddir_sub in
6819 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
6820 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
6823 ac_abs_top_builddir=$ac_pwd
6824 ac_abs_builddir=$ac_pwd$ac_dir_suffix
6825 # for backward compatibility:
6826 ac_top_builddir=$ac_top_build_prefix
6829 .) # We are building in place.
6831 ac_top_srcdir=$ac_top_builddir_sub
6832 ac_abs_top_srcdir=$ac_pwd ;;
6833 [\\/]* | ?:[\\/]* ) # Absolute name.
6834 ac_srcdir=$srcdir$ac_dir_suffix;
6835 ac_top_srcdir=$srcdir
6836 ac_abs_top_srcdir=$srcdir ;;
6838 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
6839 ac_top_srcdir=$ac_top_build_prefix$srcdir
6840 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
6842 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
6852 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
6853 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
6857 [\\/$]* | ?:[\\/]* ) ;;
6858 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
6862 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6863 # If the template does not know about datarootdir, expand it.
6864 # FIXME: This hack should be removed a few years after 2.60.
6865 ac_datarootdir_hack=; ac_datarootdir_seen=
6876 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
6877 *datarootdir*) ac_datarootdir_seen=yes;;
6878 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
6880 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
6882 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6883 ac_datarootdir_hack='
6884 s&@datadir@&$datadir&g
6885 s&@docdir@&$docdir&g
6886 s&@infodir@&$infodir&g
6887 s&@localedir@&$localedir&g
6888 s&@mandir@&$mandir&g
6889 s&\\\${datarootdir}&$datarootdir&g' ;;
6893 # Neutralize VPATH when `$srcdir' = `.'.
6894 # Shell code in configure.ac might set extrasub.
6895 # FIXME: do we really want to maintain this feature?
6896 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6897 ac_sed_extra="$ac_vpsub
6900 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6902 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
6903 s|@configure_input@|$ac_sed_conf_input|;t t
6904 s&@top_builddir@&$ac_top_builddir_sub&;t t
6905 s&@top_build_prefix@&$ac_top_build_prefix&;t t
6906 s&@srcdir@&$ac_srcdir&;t t
6907 s&@abs_srcdir@&$ac_abs_srcdir&;t t
6908 s&@top_srcdir@&$ac_top_srcdir&;t t
6909 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
6910 s&@builddir@&$ac_builddir&;t t
6911 s&@abs_builddir@&$ac_abs_builddir&;t t
6912 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
6913 s&@INSTALL@&$ac_INSTALL&;t t
6914 s&@MKDIR_P@&$ac_MKDIR_P&;t t
6915 $ac_datarootdir_hack
6917 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
6918 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6920 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
6921 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
6922 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
6923 "$ac_tmp/out"`; test -z "$ac_out"; } &&
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6925 which seems to be undefined. Please make sure it is defined" >&5
6926 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
6927 which seems to be undefined. Please make sure it is defined" >&2;}
6929 rm -f "$ac_tmp/stdin"
6931 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
6932 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
6934 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6940 if test x"$ac_file" != x-; then
6942 $as_echo "/* $configure_input */" \
6943 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
6944 } >"$ac_tmp/config.h" \
6945 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6946 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
6947 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
6948 $as_echo "$as_me: $ac_file is unchanged" >&6;}
6951 mv "$ac_tmp/config.h" "$ac_file" \
6952 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
6955 $as_echo "/* $configure_input */" \
6956 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
6957 || as_fn_error $? "could not create -" "$LINENO" 5
6959 # Compute "$ac_file"'s index in $config_headers.
6962 for _am_header in $config_headers :; do
6964 $_am_arg | $_am_arg:* )
6967 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
6970 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
6971 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6972 X"$_am_arg" : 'X\(//\)[^/]' \| \
6973 X"$_am_arg" : 'X\(//\)$' \| \
6974 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
6975 $as_echo X"$_am_arg" |
6976 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6992 s/.*/./; q'`/stamp-h$_am_stamp_count
6995 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
6996 $as_echo "$as_me: executing $ac_file commands" >&6;}
7001 case $ac_file$ac_mode in
7002 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7003 # Older Autoconf quotes --file arguments for eval, but not when files
7004 # are listed without --file. Let's play safe and only enable the eval
7005 # if we detect the quoting.
7006 case $CONFIG_FILES in
7007 *\'*) eval set x "$CONFIG_FILES" ;;
7008 *) set x $CONFIG_FILES ;;
7013 # Strip MF so we end up with the name of the file.
7014 mf=`echo "$mf" | sed -e 's/:.*$//'`
7015 # Check whether this is an Automake generated Makefile or not.
7016 # We used to match only the files named 'Makefile.in', but
7017 # some people rename them; so instead we look at the file content.
7018 # Grep'ing the first line is not enough: some people post-process
7019 # each Makefile.in and add a new line on top of each file to say so.
7020 # Grep'ing the whole file is not good either: AIX grep has a line
7021 # limit of 2048, but all sed's we know have understand at least 4000.
7022 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
7023 dirpart=`$as_dirname -- "$mf" ||
7024 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7025 X"$mf" : 'X\(//\)[^/]' \| \
7026 X"$mf" : 'X\(//\)$' \| \
7027 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
7029 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7049 # Extract the definition of DEPDIR, am__include, and am__quote
7050 # from the Makefile without running 'make'.
7051 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
7052 test -z "$DEPDIR" && continue
7053 am__include=`sed -n 's/^am__include = //p' < "$mf"`
7054 test -z "$am__include" && continue
7055 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
7056 # Find all dependency output files, they are included files with
7057 # $(DEPDIR) in their names. We invoke sed twice because it is the
7058 # simplest approach to changing $(DEPDIR) to its actual value in the
7060 for file in `sed -n "
7061 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
7062 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g'`; do
7063 # Make sure the directory exists.
7064 test -f "$dirpart/$file" && continue
7065 fdir=`$as_dirname -- "$file" ||
7066 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7067 X"$file" : 'X\(//\)[^/]' \| \
7068 X"$file" : 'X\(//\)$' \| \
7069 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
7071 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7088 as_dir=$dirpart/$fdir; as_fn_mkdir_p
7089 # echo "creating $dirpart/$file"
7090 echo '# dummy' > "$dirpart/$file"
7102 ac_clean_files=$ac_clean_files_save
7104 test $ac_write_fail = 0 ||
7105 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7108 # configure is writing to config.log, and then calls config.status.
7109 # config.status does its own redirection, appending to config.log.
7110 # Unfortunately, on DOS this fails, as config.log is still kept open
7111 # by configure, so config.status won't be able to write to it; its
7112 # output is simply discarded. So we exec the FD to /dev/null,
7113 # effectively closing config.log, so it can be properly (re)opened and
7114 # appended to by config.status. When coming back to configure, we
7115 # need to make the FD available again.
7116 if test "$no_create" != yes; then
7118 ac_config_status_args=
7119 test "$silent" = yes &&
7120 ac_config_status_args="$ac_config_status_args --quiet"
7122 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7124 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7125 # would make configure fail if this is the last instruction.
7126 $ac_cs_success || as_fn_exit 1
7128 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7129 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7130 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}