Bump to release 1.4.0
[smenu.git] / configure
blob2d223b8f8030686d3fa14448c8c0924189edcea7
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.72 for smenu 1.4.0.
5 # Report bugs to <p.gen.progs@gmail.com>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2023 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
21 then :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else case e in #(
29 e) case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac ;;
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as 'sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed 'exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
144 then :
145 emulate sh
146 NULLCMD=:
147 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
148 # is contrary to our usage. Disable this feature.
149 alias -g '\${1+\"\$@\"}'='\"\$@\"'
150 setopt NO_GLOB_SUBST
151 else case e in #(
152 e) case \`(set -o) 2>/dev/null\` in #(
153 *posix*) :
154 set -o posix ;; #(
155 *) :
157 esac ;;
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else case e in #(
176 e) exitcode=1; echo positional parameters were not saved. ;;
177 esac
179 test x\$exitcode = x0 || exit 1
180 blah=\$(echo \$(echo blah))
181 test x\"\$blah\" = xblah || exit 1
182 test -x / || exit 1"
183 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
184 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
185 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
186 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
187 test \$(( 1 + 1 )) = 2 || exit 1"
188 if (eval "$as_required") 2>/dev/null
189 then :
190 as_have_required=yes
191 else case e in #(
192 e) as_have_required=no ;;
193 esac
195 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
196 then :
198 else case e in #(
199 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
200 as_found=false
201 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
203 IFS=$as_save_IFS
204 case $as_dir in #(((
205 '') as_dir=./ ;;
206 */) ;;
207 *) as_dir=$as_dir/ ;;
208 esac
209 as_found=:
210 case $as_dir in #(
212 for as_base in sh bash ksh sh5; do
213 # Try only shells that exist, to save several forks.
214 as_shell=$as_dir$as_base
215 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
216 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
217 then :
218 CONFIG_SHELL=$as_shell as_have_required=yes
219 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
220 then :
221 break 2
224 done;;
225 esac
226 as_found=false
227 done
228 IFS=$as_save_IFS
229 if $as_found
230 then :
232 else case e in #(
233 e) if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
235 then :
236 CONFIG_SHELL=$SHELL as_have_required=yes
237 fi ;;
238 esac
242 if test "x$CONFIG_SHELL" != x
243 then :
244 export CONFIG_SHELL
245 # We cannot yet assume a decent shell, so we have to provide a
246 # neutralization value for shells without unset; and this also
247 # works around shells that cannot unset nonexistent variables.
248 # Preserve -v and -x to the replacement shell.
249 BASH_ENV=/dev/null
250 ENV=/dev/null
251 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
252 case $- in # ((((
253 *v*x* | *x*v* ) as_opts=-vx ;;
254 *v* ) as_opts=-v ;;
255 *x* ) as_opts=-x ;;
256 * ) as_opts= ;;
257 esac
258 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
259 # Admittedly, this is quite paranoid, since all the known shells bail
260 # out after a failed 'exec'.
261 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
262 exit 255
265 if test x$as_have_required = xno
266 then :
267 printf "%s\n" "$0: This script requires a shell more modern than all"
268 printf "%s\n" "$0: the shells that I found on your system."
269 if test ${ZSH_VERSION+y} ; then
270 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
271 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
272 else
273 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
274 $0: p.gen.progs@gmail.com about your system, including any
275 $0: error possibly output before this message. Then install
276 $0: a modern shell, or manually run the script under such a
277 $0: shell if you do have one."
279 exit 1
280 fi ;;
281 esac
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
298 { eval $1=; unset $1;}
300 as_unset=as_fn_unset
303 # as_fn_set_status STATUS
304 # -----------------------
305 # Set $? to STATUS, without forking.
306 as_fn_set_status ()
308 return $1
309 } # as_fn_set_status
311 # as_fn_exit STATUS
312 # -----------------
313 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 as_fn_exit ()
316 set +e
317 as_fn_set_status $1
318 exit $1
319 } # as_fn_exit
321 # as_fn_mkdir_p
322 # -------------
323 # Create "$as_dir" as a directory, including parents if necessary.
324 as_fn_mkdir_p ()
327 case $as_dir in #(
328 -*) as_dir=./$as_dir;;
329 esac
330 test -d "$as_dir" || eval $as_mkdir_p || {
331 as_dirs=
332 while :; do
333 case $as_dir in #(
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
335 *) as_qdir=$as_dir;;
336 esac
337 as_dirs="'$as_qdir' $as_dirs"
338 as_dir=`$as_dirname -- "$as_dir" ||
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340 X"$as_dir" : 'X\(//\)[^/]' \| \
341 X"$as_dir" : 'X\(//\)$' \| \
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343 printf "%s\n" X"$as_dir" |
344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345 s//\1/
348 /^X\(\/\/\)[^/].*/{
349 s//\1/
352 /^X\(\/\/\)$/{
353 s//\1/
356 /^X\(\/\).*/{
357 s//\1/
360 s/.*/./; q'`
361 test -d "$as_dir" && break
362 done
363 test -z "$as_dirs" || eval "mkdir $as_dirs"
364 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
367 } # as_fn_mkdir_p
369 # as_fn_executable_p FILE
370 # -----------------------
371 # Test if FILE is an executable regular file.
372 as_fn_executable_p ()
374 test -f "$1" && test -x "$1"
375 } # as_fn_executable_p
376 # as_fn_append VAR VALUE
377 # ----------------------
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
379 # advantage of any shell optimizations that allow amortized linear growth over
380 # repeated appends, instead of the typical quadratic growth present in naive
381 # implementations.
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383 then :
384 eval 'as_fn_append ()
386 eval $1+=\$2
388 else case e in #(
389 e) as_fn_append ()
391 eval $1=\$$1\$2
392 } ;;
393 esac
394 fi # as_fn_append
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
402 then :
403 eval 'as_fn_arith ()
405 as_val=$(( $* ))
407 else case e in #(
408 e) as_fn_arith ()
410 as_val=`expr "$@" || test $? -eq 1`
411 } ;;
412 esac
413 fi # as_fn_arith
416 # as_fn_error STATUS ERROR [LINENO LOG_FD]
417 # ----------------------------------------
418 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
419 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
420 # script with STATUS, using 1 if that was 0.
421 as_fn_error ()
423 as_status=$1; test $as_status -eq 0 && as_status=1
424 if test "$4"; then
425 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
428 printf "%s\n" "$as_me: error: $2" >&2
429 as_fn_exit $as_status
430 } # as_fn_error
432 if expr a : '\(a\)' >/dev/null 2>&1 &&
433 test "X`expr 00001 : '.*\(...\)'`" = X001; then
434 as_expr=expr
435 else
436 as_expr=false
439 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
440 as_basename=basename
441 else
442 as_basename=false
445 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
446 as_dirname=dirname
447 else
448 as_dirname=false
451 as_me=`$as_basename -- "$0" ||
452 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
453 X"$0" : 'X\(//\)$' \| \
454 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
455 printf "%s\n" X/"$0" |
456 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 s//\1/
460 /^X\/\(\/\/\)$/{
461 s//\1/
464 /^X\/\(\/\).*/{
465 s//\1/
468 s/.*/./; q'`
470 # Avoid depending upon Character Ranges.
471 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
472 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
473 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
474 as_cr_digits='0123456789'
475 as_cr_alnum=$as_cr_Letters$as_cr_digits
478 as_lineno_1=$LINENO as_lineno_1a=$LINENO
479 as_lineno_2=$LINENO as_lineno_2a=$LINENO
480 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
481 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
482 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
483 sed -n '
485 /[$]LINENO/=
486 ' <$as_myself |
487 sed '
488 t clear
489 :clear
490 s/[$]LINENO.*/&-/
491 t lineno
493 :lineno
495 :loop
496 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
497 t loop
498 s/-\n.*//
499 ' >$as_me.lineno &&
500 chmod +x "$as_me.lineno" ||
501 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
503 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
504 # already done that, so ensure we don't try to do so again and fall
505 # in an infinite loop. This has already happened in practice.
506 _as_can_reexec=no; export _as_can_reexec
507 # Don't try to exec as it changes $[0], causing all sort of problems
508 # (the dirname of $[0] is not the place where we might find the
509 # original and so on. Autoconf is especially sensitive to this).
510 . "./$as_me.lineno"
511 # Exit status is that of the last command.
512 exit
516 # Determine whether it's possible to make 'echo' print without a newline.
517 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
518 # for compatibility with existing Makefiles.
519 ECHO_C= ECHO_N= ECHO_T=
520 case `echo -n x` in #(((((
521 -n*)
522 case `echo 'xy\c'` in
523 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
524 xy) ECHO_C='\c';;
525 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
526 ECHO_T=' ';;
527 esac;;
529 ECHO_N='-n';;
530 esac
532 # For backward compatibility with old third-party macros, we provide
533 # the shell variables $as_echo and $as_echo_n. New code should use
534 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
535 as_echo='printf %s\n'
536 as_echo_n='printf %s'
538 rm -f conf$$ conf$$.exe conf$$.file
539 if test -d conf$$.dir; then
540 rm -f conf$$.dir/conf$$.file
541 else
542 rm -f conf$$.dir
543 mkdir conf$$.dir 2>/dev/null
545 if (echo >conf$$.file) 2>/dev/null; then
546 if ln -s conf$$.file conf$$ 2>/dev/null; then
547 as_ln_s='ln -s'
548 # ... but there are two gotchas:
549 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
550 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
551 # In both cases, we have to default to 'cp -pR'.
552 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
553 as_ln_s='cp -pR'
554 elif ln conf$$.file conf$$ 2>/dev/null; then
555 as_ln_s=ln
556 else
557 as_ln_s='cp -pR'
559 else
560 as_ln_s='cp -pR'
562 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
563 rmdir conf$$.dir 2>/dev/null
565 if mkdir -p . 2>/dev/null; then
566 as_mkdir_p='mkdir -p "$as_dir"'
567 else
568 test -d ./-p && rmdir ./-p
569 as_mkdir_p=false
572 as_test_x='test -x'
573 as_executable_p=as_fn_executable_p
575 # Sed expression to map a string onto a valid CPP name.
576 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
577 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
579 # Sed expression to map a string onto a valid variable name.
580 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
581 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
584 test -n "$DJDIR" || exec 7<&0 </dev/null
585 exec 6>&1
587 # Name of the host.
588 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
589 # so uname gets run too.
590 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
593 # Initializations.
595 ac_default_prefix=/usr/local
596 ac_clean_files=
597 ac_config_libobj_dir=.
598 LIBOBJS=
599 cross_compiling=no
600 subdirs=
601 MFLAGS=
602 MAKEFLAGS=
604 # Identity of this package.
605 PACKAGE_NAME='smenu'
606 PACKAGE_TARNAME='smenu'
607 PACKAGE_VERSION='1.4.0'
608 PACKAGE_STRING='smenu 1.4.0'
609 PACKAGE_BUGREPORT='p.gen.progs@gmail.com'
610 PACKAGE_URL=''
612 ac_unique_file="smenu.c"
613 # Factoring default headers for most tests.
614 ac_includes_default="\
615 #include <stddef.h>
616 #ifdef HAVE_STDIO_H
617 # include <stdio.h>
618 #endif
619 #ifdef HAVE_STDLIB_H
620 # include <stdlib.h>
621 #endif
622 #ifdef HAVE_STRING_H
623 # include <string.h>
624 #endif
625 #ifdef HAVE_INTTYPES_H
626 # include <inttypes.h>
627 #endif
628 #ifdef HAVE_STDINT_H
629 # include <stdint.h>
630 #endif
631 #ifdef HAVE_STRINGS_H
632 # include <strings.h>
633 #endif
634 #ifdef HAVE_SYS_TYPES_H
635 # include <sys/types.h>
636 #endif
637 #ifdef HAVE_SYS_STAT_H
638 # include <sys/stat.h>
639 #endif
640 #ifdef HAVE_UNISTD_H
641 # include <unistd.h>
642 #endif"
644 ac_header_c_list=
645 ac_subst_vars='am__EXEEXT_FALSE
646 am__EXEEXT_TRUE
647 LTLIBOBJS
648 LIBOBJS
649 host_os
650 host_vendor
651 host_cpu
652 host
653 build_os
654 build_vendor
655 build_cpu
656 build
657 EGREP
658 GREP
659 LN_S
660 am__fastdepCC_FALSE
661 am__fastdepCC_TRUE
662 CCDEPMODE
663 am__nodep
664 AMDEPBACKSLASH
665 AMDEP_FALSE
666 AMDEP_TRUE
667 am__include
668 DEPDIR
669 OBJEXT
670 EXEEXT
671 ac_ct_CC
672 CPPFLAGS
673 LDFLAGS
674 CFLAGS
676 AM_BACKSLASH
677 AM_DEFAULT_VERBOSITY
678 AM_DEFAULT_V
679 AM_V
680 CSCOPE
681 ETAGS
682 CTAGS
683 am__untar
684 am__tar
685 AMTAR
686 am__leading_dot
687 SET_MAKE
689 mkdir_p
690 MKDIR_P
691 INSTALL_STRIP_PROGRAM
692 STRIP
693 install_sh
694 MAKEINFO
695 AUTOHEADER
696 AUTOMAKE
697 AUTOCONF
698 ACLOCAL
699 VERSION
700 PACKAGE
701 CYGPATH_W
702 am__isrc
703 INSTALL_DATA
704 INSTALL_SCRIPT
705 INSTALL_PROGRAM
706 target_alias
707 host_alias
708 build_alias
709 LIBS
710 ECHO_T
711 ECHO_N
712 ECHO_C
713 DEFS
714 mandir
715 localedir
716 libdir
717 psdir
718 pdfdir
719 dvidir
720 htmldir
721 infodir
722 docdir
723 oldincludedir
724 includedir
725 runstatedir
726 localstatedir
727 sharedstatedir
728 sysconfdir
729 datadir
730 datarootdir
731 libexecdir
732 sbindir
733 bindir
734 program_transform_name
735 prefix
736 exec_prefix
737 PACKAGE_URL
738 PACKAGE_BUGREPORT
739 PACKAGE_STRING
740 PACKAGE_VERSION
741 PACKAGE_TARNAME
742 PACKAGE_NAME
743 PATH_SEPARATOR
744 SHELL
745 am__quote'
746 ac_subst_files=''
747 ac_user_opts='
748 enable_option_checking
749 enable_silent_rules
750 enable_dependency_tracking
752 ac_precious_vars='build_alias
753 host_alias
754 target_alias
756 CFLAGS
757 LDFLAGS
758 LIBS
759 CPPFLAGS'
762 # Initialize some variables set by options.
763 ac_init_help=
764 ac_init_version=false
765 ac_unrecognized_opts=
766 ac_unrecognized_sep=
767 # The variables have the same names as the options, with
768 # dashes changed to underlines.
769 cache_file=/dev/null
770 exec_prefix=NONE
771 no_create=
772 no_recursion=
773 prefix=NONE
774 program_prefix=NONE
775 program_suffix=NONE
776 program_transform_name=s,x,x,
777 silent=
778 site=
779 srcdir=
780 verbose=
781 x_includes=NONE
782 x_libraries=NONE
784 # Installation directory options.
785 # These are left unexpanded so users can "make install exec_prefix=/foo"
786 # and all the variables that are supposed to be based on exec_prefix
787 # by default will actually change.
788 # Use braces instead of parens because sh, perl, etc. also accept them.
789 # (The list follows the same order as the GNU Coding Standards.)
790 bindir='${exec_prefix}/bin'
791 sbindir='${exec_prefix}/sbin'
792 libexecdir='${exec_prefix}/libexec'
793 datarootdir='${prefix}/share'
794 datadir='${datarootdir}'
795 sysconfdir='${prefix}/etc'
796 sharedstatedir='${prefix}/com'
797 localstatedir='${prefix}/var'
798 runstatedir='${localstatedir}/run'
799 includedir='${prefix}/include'
800 oldincludedir='/usr/include'
801 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
802 infodir='${datarootdir}/info'
803 htmldir='${docdir}'
804 dvidir='${docdir}'
805 pdfdir='${docdir}'
806 psdir='${docdir}'
807 libdir='${exec_prefix}/lib'
808 localedir='${datarootdir}/locale'
809 mandir='${datarootdir}/man'
811 ac_prev=
812 ac_dashdash=
813 for ac_option
815 # If the previous option needs an argument, assign it.
816 if test -n "$ac_prev"; then
817 eval $ac_prev=\$ac_option
818 ac_prev=
819 continue
822 case $ac_option in
823 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
824 *=) ac_optarg= ;;
825 *) ac_optarg=yes ;;
826 esac
828 case $ac_dashdash$ac_option in
830 ac_dashdash=yes ;;
832 -bindir | --bindir | --bindi | --bind | --bin | --bi)
833 ac_prev=bindir ;;
834 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
835 bindir=$ac_optarg ;;
837 -build | --build | --buil | --bui | --bu)
838 ac_prev=build_alias ;;
839 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
840 build_alias=$ac_optarg ;;
842 -cache-file | --cache-file | --cache-fil | --cache-fi \
843 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
844 ac_prev=cache_file ;;
845 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
846 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
847 cache_file=$ac_optarg ;;
849 --config-cache | -C)
850 cache_file=config.cache ;;
852 -datadir | --datadir | --datadi | --datad)
853 ac_prev=datadir ;;
854 -datadir=* | --datadir=* | --datadi=* | --datad=*)
855 datadir=$ac_optarg ;;
857 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
858 | --dataroo | --dataro | --datar)
859 ac_prev=datarootdir ;;
860 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
861 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
862 datarootdir=$ac_optarg ;;
864 -disable-* | --disable-*)
865 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
866 # Reject names that are not valid shell variable names.
867 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
868 as_fn_error $? "invalid feature name: '$ac_useropt'"
869 ac_useropt_orig=$ac_useropt
870 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
871 case $ac_user_opts in
873 "enable_$ac_useropt"
874 "*) ;;
875 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
876 ac_unrecognized_sep=', ';;
877 esac
878 eval enable_$ac_useropt=no ;;
880 -docdir | --docdir | --docdi | --doc | --do)
881 ac_prev=docdir ;;
882 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
883 docdir=$ac_optarg ;;
885 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
886 ac_prev=dvidir ;;
887 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
888 dvidir=$ac_optarg ;;
890 -enable-* | --enable-*)
891 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
892 # Reject names that are not valid shell variable names.
893 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
894 as_fn_error $? "invalid feature name: '$ac_useropt'"
895 ac_useropt_orig=$ac_useropt
896 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
897 case $ac_user_opts in
899 "enable_$ac_useropt"
900 "*) ;;
901 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
902 ac_unrecognized_sep=', ';;
903 esac
904 eval enable_$ac_useropt=\$ac_optarg ;;
906 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
907 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
908 | --exec | --exe | --ex)
909 ac_prev=exec_prefix ;;
910 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
911 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
912 | --exec=* | --exe=* | --ex=*)
913 exec_prefix=$ac_optarg ;;
915 -gas | --gas | --ga | --g)
916 # Obsolete; use --with-gas.
917 with_gas=yes ;;
919 -help | --help | --hel | --he | -h)
920 ac_init_help=long ;;
921 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
922 ac_init_help=recursive ;;
923 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
924 ac_init_help=short ;;
926 -host | --host | --hos | --ho)
927 ac_prev=host_alias ;;
928 -host=* | --host=* | --hos=* | --ho=*)
929 host_alias=$ac_optarg ;;
931 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
932 ac_prev=htmldir ;;
933 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
934 | --ht=*)
935 htmldir=$ac_optarg ;;
937 -includedir | --includedir | --includedi | --included | --include \
938 | --includ | --inclu | --incl | --inc)
939 ac_prev=includedir ;;
940 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
941 | --includ=* | --inclu=* | --incl=* | --inc=*)
942 includedir=$ac_optarg ;;
944 -infodir | --infodir | --infodi | --infod | --info | --inf)
945 ac_prev=infodir ;;
946 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
947 infodir=$ac_optarg ;;
949 -libdir | --libdir | --libdi | --libd)
950 ac_prev=libdir ;;
951 -libdir=* | --libdir=* | --libdi=* | --libd=*)
952 libdir=$ac_optarg ;;
954 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
955 | --libexe | --libex | --libe)
956 ac_prev=libexecdir ;;
957 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
958 | --libexe=* | --libex=* | --libe=*)
959 libexecdir=$ac_optarg ;;
961 -localedir | --localedir | --localedi | --localed | --locale)
962 ac_prev=localedir ;;
963 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
964 localedir=$ac_optarg ;;
966 -localstatedir | --localstatedir | --localstatedi | --localstated \
967 | --localstate | --localstat | --localsta | --localst | --locals)
968 ac_prev=localstatedir ;;
969 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
970 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
971 localstatedir=$ac_optarg ;;
973 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
974 ac_prev=mandir ;;
975 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
976 mandir=$ac_optarg ;;
978 -nfp | --nfp | --nf)
979 # Obsolete; use --without-fp.
980 with_fp=no ;;
982 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
983 | --no-cr | --no-c | -n)
984 no_create=yes ;;
986 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
987 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
988 no_recursion=yes ;;
990 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
991 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
992 | --oldin | --oldi | --old | --ol | --o)
993 ac_prev=oldincludedir ;;
994 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
995 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
996 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
997 oldincludedir=$ac_optarg ;;
999 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1000 ac_prev=prefix ;;
1001 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1002 prefix=$ac_optarg ;;
1004 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1005 | --program-pre | --program-pr | --program-p)
1006 ac_prev=program_prefix ;;
1007 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1008 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1009 program_prefix=$ac_optarg ;;
1011 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1012 | --program-suf | --program-su | --program-s)
1013 ac_prev=program_suffix ;;
1014 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1015 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1016 program_suffix=$ac_optarg ;;
1018 -program-transform-name | --program-transform-name \
1019 | --program-transform-nam | --program-transform-na \
1020 | --program-transform-n | --program-transform- \
1021 | --program-transform | --program-transfor \
1022 | --program-transfo | --program-transf \
1023 | --program-trans | --program-tran \
1024 | --progr-tra | --program-tr | --program-t)
1025 ac_prev=program_transform_name ;;
1026 -program-transform-name=* | --program-transform-name=* \
1027 | --program-transform-nam=* | --program-transform-na=* \
1028 | --program-transform-n=* | --program-transform-=* \
1029 | --program-transform=* | --program-transfor=* \
1030 | --program-transfo=* | --program-transf=* \
1031 | --program-trans=* | --program-tran=* \
1032 | --progr-tra=* | --program-tr=* | --program-t=*)
1033 program_transform_name=$ac_optarg ;;
1035 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1036 ac_prev=pdfdir ;;
1037 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1038 pdfdir=$ac_optarg ;;
1040 -psdir | --psdir | --psdi | --psd | --ps)
1041 ac_prev=psdir ;;
1042 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1043 psdir=$ac_optarg ;;
1045 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1046 | -silent | --silent | --silen | --sile | --sil)
1047 silent=yes ;;
1049 -runstatedir | --runstatedir | --runstatedi | --runstated \
1050 | --runstate | --runstat | --runsta | --runst | --runs \
1051 | --run | --ru | --r)
1052 ac_prev=runstatedir ;;
1053 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1054 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1055 | --run=* | --ru=* | --r=*)
1056 runstatedir=$ac_optarg ;;
1058 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1059 ac_prev=sbindir ;;
1060 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1061 | --sbi=* | --sb=*)
1062 sbindir=$ac_optarg ;;
1064 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1065 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1066 | --sharedst | --shareds | --shared | --share | --shar \
1067 | --sha | --sh)
1068 ac_prev=sharedstatedir ;;
1069 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1070 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1071 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1072 | --sha=* | --sh=*)
1073 sharedstatedir=$ac_optarg ;;
1075 -site | --site | --sit)
1076 ac_prev=site ;;
1077 -site=* | --site=* | --sit=*)
1078 site=$ac_optarg ;;
1080 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1081 ac_prev=srcdir ;;
1082 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1083 srcdir=$ac_optarg ;;
1085 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1086 | --syscon | --sysco | --sysc | --sys | --sy)
1087 ac_prev=sysconfdir ;;
1088 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1089 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1090 sysconfdir=$ac_optarg ;;
1092 -target | --target | --targe | --targ | --tar | --ta | --t)
1093 ac_prev=target_alias ;;
1094 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1095 target_alias=$ac_optarg ;;
1097 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1098 verbose=yes ;;
1100 -version | --version | --versio | --versi | --vers | -V)
1101 ac_init_version=: ;;
1103 -with-* | --with-*)
1104 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1105 # Reject names that are not valid shell variable names.
1106 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1107 as_fn_error $? "invalid package name: '$ac_useropt'"
1108 ac_useropt_orig=$ac_useropt
1109 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1110 case $ac_user_opts in
1112 "with_$ac_useropt"
1113 "*) ;;
1114 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1115 ac_unrecognized_sep=', ';;
1116 esac
1117 eval with_$ac_useropt=\$ac_optarg ;;
1119 -without-* | --without-*)
1120 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1121 # Reject names that are not valid shell variable names.
1122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1123 as_fn_error $? "invalid package name: '$ac_useropt'"
1124 ac_useropt_orig=$ac_useropt
1125 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1126 case $ac_user_opts in
1128 "with_$ac_useropt"
1129 "*) ;;
1130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1131 ac_unrecognized_sep=', ';;
1132 esac
1133 eval with_$ac_useropt=no ;;
1135 --x)
1136 # Obsolete; use --with-x.
1137 with_x=yes ;;
1139 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1140 | --x-incl | --x-inc | --x-in | --x-i)
1141 ac_prev=x_includes ;;
1142 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1143 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1144 x_includes=$ac_optarg ;;
1146 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1147 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1148 ac_prev=x_libraries ;;
1149 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1150 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1151 x_libraries=$ac_optarg ;;
1153 -*) as_fn_error $? "unrecognized option: '$ac_option'
1154 Try '$0 --help' for more information"
1157 *=*)
1158 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1159 # Reject names that are not valid shell variable names.
1160 case $ac_envvar in #(
1161 '' | [0-9]* | *[!_$as_cr_alnum]* )
1162 as_fn_error $? "invalid variable name: '$ac_envvar'" ;;
1163 esac
1164 eval $ac_envvar=\$ac_optarg
1165 export $ac_envvar ;;
1168 # FIXME: should be removed in autoconf 3.0.
1169 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1170 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1171 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1172 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1175 esac
1176 done
1178 if test -n "$ac_prev"; then
1179 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1180 as_fn_error $? "missing argument to $ac_option"
1183 if test -n "$ac_unrecognized_opts"; then
1184 case $enable_option_checking in
1185 no) ;;
1186 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1187 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1188 esac
1191 # Check all directory arguments for consistency.
1192 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1193 datadir sysconfdir sharedstatedir localstatedir includedir \
1194 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1195 libdir localedir mandir runstatedir
1197 eval ac_val=\$$ac_var
1198 # Remove trailing slashes.
1199 case $ac_val in
1200 */ )
1201 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1202 eval $ac_var=\$ac_val;;
1203 esac
1204 # Be sure to have absolute directory names.
1205 case $ac_val in
1206 [\\/$]* | ?:[\\/]* ) continue;;
1207 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1208 esac
1209 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1210 done
1212 # There might be people who depend on the old broken behavior: '$host'
1213 # used to hold the argument of --host etc.
1214 # FIXME: To remove some day.
1215 build=$build_alias
1216 host=$host_alias
1217 target=$target_alias
1219 # FIXME: To remove some day.
1220 if test "x$host_alias" != x; then
1221 if test "x$build_alias" = x; then
1222 cross_compiling=maybe
1223 elif test "x$build_alias" != "x$host_alias"; then
1224 cross_compiling=yes
1228 ac_tool_prefix=
1229 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1231 test "$silent" = yes && exec 6>/dev/null
1234 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1235 ac_ls_di=`ls -di .` &&
1236 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1237 as_fn_error $? "working directory cannot be determined"
1238 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1239 as_fn_error $? "pwd does not report name of working directory"
1242 # Find the source files, if location was not specified.
1243 if test -z "$srcdir"; then
1244 ac_srcdir_defaulted=yes
1245 # Try the directory containing this script, then the parent directory.
1246 ac_confdir=`$as_dirname -- "$as_myself" ||
1247 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1248 X"$as_myself" : 'X\(//\)[^/]' \| \
1249 X"$as_myself" : 'X\(//\)$' \| \
1250 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1251 printf "%s\n" X"$as_myself" |
1252 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1253 s//\1/
1256 /^X\(\/\/\)[^/].*/{
1257 s//\1/
1260 /^X\(\/\/\)$/{
1261 s//\1/
1264 /^X\(\/\).*/{
1265 s//\1/
1268 s/.*/./; q'`
1269 srcdir=$ac_confdir
1270 if test ! -r "$srcdir/$ac_unique_file"; then
1271 srcdir=..
1273 else
1274 ac_srcdir_defaulted=no
1276 if test ! -r "$srcdir/$ac_unique_file"; then
1277 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1278 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1280 ac_msg="sources are in $srcdir, but 'cd $srcdir' does not work"
1281 ac_abs_confdir=`(
1282 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1283 pwd)`
1284 # When building in place, set srcdir=.
1285 if test "$ac_abs_confdir" = "$ac_pwd"; then
1286 srcdir=.
1288 # Remove unnecessary trailing slashes from srcdir.
1289 # Double slashes in file names in object file debugging info
1290 # mess up M-x gdb in Emacs.
1291 case $srcdir in
1292 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1293 esac
1294 for ac_var in $ac_precious_vars; do
1295 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1296 eval ac_env_${ac_var}_value=\$${ac_var}
1297 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1298 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1299 done
1302 # Report the --help message.
1304 if test "$ac_init_help" = "long"; then
1305 # Omit some internal or obsolete options to make the list less imposing.
1306 # This message is too long to be a string in the A/UX 3.1 sh.
1307 cat <<_ACEOF
1308 'configure' configures smenu 1.4.0 to adapt to many kinds of systems.
1310 Usage: $0 [OPTION]... [VAR=VALUE]...
1312 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1313 VAR=VALUE. See below for descriptions of some of the useful variables.
1315 Defaults for the options are specified in brackets.
1317 Configuration:
1318 -h, --help display this help and exit
1319 --help=short display options specific to this package
1320 --help=recursive display the short help of all the included packages
1321 -V, --version display version information and exit
1322 -q, --quiet, --silent do not print 'checking ...' messages
1323 --cache-file=FILE cache test results in FILE [disabled]
1324 -C, --config-cache alias for '--cache-file=config.cache'
1325 -n, --no-create do not create output files
1326 --srcdir=DIR find the sources in DIR [configure dir or '..']
1328 Installation directories:
1329 --prefix=PREFIX install architecture-independent files in PREFIX
1330 [$ac_default_prefix]
1331 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1332 [PREFIX]
1334 By default, 'make install' will install all the files in
1335 '$ac_default_prefix/bin', '$ac_default_prefix/lib' etc. You can specify
1336 an installation prefix other than '$ac_default_prefix' using '--prefix',
1337 for instance '--prefix=\$HOME'.
1339 For better control, use the options below.
1341 Fine tuning of the installation directories:
1342 --bindir=DIR user executables [EPREFIX/bin]
1343 --sbindir=DIR system admin executables [EPREFIX/sbin]
1344 --libexecdir=DIR program executables [EPREFIX/libexec]
1345 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1346 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1347 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1348 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1349 --libdir=DIR object code libraries [EPREFIX/lib]
1350 --includedir=DIR C header files [PREFIX/include]
1351 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1352 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1353 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1354 --infodir=DIR info documentation [DATAROOTDIR/info]
1355 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1356 --mandir=DIR man documentation [DATAROOTDIR/man]
1357 --docdir=DIR documentation root [DATAROOTDIR/doc/smenu]
1358 --htmldir=DIR html documentation [DOCDIR]
1359 --dvidir=DIR dvi documentation [DOCDIR]
1360 --pdfdir=DIR pdf documentation [DOCDIR]
1361 --psdir=DIR ps documentation [DOCDIR]
1362 _ACEOF
1364 cat <<\_ACEOF
1366 Program names:
1367 --program-prefix=PREFIX prepend PREFIX to installed program names
1368 --program-suffix=SUFFIX append SUFFIX to installed program names
1369 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1371 System types:
1372 --build=BUILD configure for building on BUILD [guessed]
1373 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1374 _ACEOF
1377 if test -n "$ac_init_help"; then
1378 case $ac_init_help in
1379 short | recursive ) echo "Configuration of smenu 1.4.0:";;
1380 esac
1381 cat <<\_ACEOF
1383 Optional Features:
1384 --disable-option-checking ignore unrecognized --enable/--with options
1385 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1386 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1387 --enable-silent-rules less verbose build output (undo: "make V=1")
1388 --disable-silent-rules verbose build output (undo: "make V=0")
1389 --enable-dependency-tracking
1390 do not reject slow dependency extractors
1391 --disable-dependency-tracking
1392 speeds up one-time build
1394 Some influential environment variables:
1395 CC C compiler command
1396 CFLAGS C compiler flags
1397 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1398 nonstandard directory <lib dir>
1399 LIBS libraries to pass to the linker, e.g. -l<library>
1400 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1401 you have headers in a nonstandard directory <include dir>
1403 Use these variables to override the choices made by 'configure' or to help
1404 it to find libraries and programs with nonstandard names/locations.
1406 Report bugs to <p.gen.progs@gmail.com>.
1407 _ACEOF
1408 ac_status=$?
1411 if test "$ac_init_help" = "recursive"; then
1412 # If there are subdirs, report their specific --help.
1413 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1414 test -d "$ac_dir" ||
1415 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1416 continue
1417 ac_builddir=.
1419 case "$ac_dir" in
1420 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1422 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1423 # A ".." for each directory in $ac_dir_suffix.
1424 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1425 case $ac_top_builddir_sub in
1426 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1427 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1428 esac ;;
1429 esac
1430 ac_abs_top_builddir=$ac_pwd
1431 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1432 # for backward compatibility:
1433 ac_top_builddir=$ac_top_build_prefix
1435 case $srcdir in
1436 .) # We are building in place.
1437 ac_srcdir=.
1438 ac_top_srcdir=$ac_top_builddir_sub
1439 ac_abs_top_srcdir=$ac_pwd ;;
1440 [\\/]* | ?:[\\/]* ) # Absolute name.
1441 ac_srcdir=$srcdir$ac_dir_suffix;
1442 ac_top_srcdir=$srcdir
1443 ac_abs_top_srcdir=$srcdir ;;
1444 *) # Relative name.
1445 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1446 ac_top_srcdir=$ac_top_build_prefix$srcdir
1447 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1448 esac
1449 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1451 cd "$ac_dir" || { ac_status=$?; continue; }
1452 # Check for configure.gnu first; this name is used for a wrapper for
1453 # Metaconfig's "Configure" on case-insensitive file systems.
1454 if test -f "$ac_srcdir/configure.gnu"; then
1455 echo &&
1456 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1457 elif test -f "$ac_srcdir/configure"; then
1458 echo &&
1459 $SHELL "$ac_srcdir/configure" --help=recursive
1460 else
1461 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1462 fi || ac_status=$?
1463 cd "$ac_pwd" || { ac_status=$?; break; }
1464 done
1467 test -n "$ac_init_help" && exit $ac_status
1468 if $ac_init_version; then
1469 cat <<\_ACEOF
1470 smenu configure 1.4.0
1471 generated by GNU Autoconf 2.72
1473 Copyright (C) 2023 Free Software Foundation, Inc.
1474 This configure script is free software; the Free Software Foundation
1475 gives unlimited permission to copy, distribute and modify it.
1476 _ACEOF
1477 exit
1480 ## ------------------------ ##
1481 ## Autoconf initialization. ##
1482 ## ------------------------ ##
1484 # ac_fn_c_try_compile LINENO
1485 # --------------------------
1486 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1487 ac_fn_c_try_compile ()
1489 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1490 rm -f conftest.$ac_objext conftest.beam
1491 if { { ac_try="$ac_compile"
1492 case "(($ac_try" in
1493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1494 *) ac_try_echo=$ac_try;;
1495 esac
1496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1497 printf "%s\n" "$ac_try_echo"; } >&5
1498 (eval "$ac_compile") 2>conftest.err
1499 ac_status=$?
1500 if test -s conftest.err; then
1501 grep -v '^ *+' conftest.err >conftest.er1
1502 cat conftest.er1 >&5
1503 mv -f conftest.er1 conftest.err
1505 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1506 test $ac_status = 0; } && {
1507 test -z "$ac_c_werror_flag" ||
1508 test ! -s conftest.err
1509 } && test -s conftest.$ac_objext
1510 then :
1511 ac_retval=0
1512 else case e in #(
1513 e) printf "%s\n" "$as_me: failed program was:" >&5
1514 sed 's/^/| /' conftest.$ac_ext >&5
1516 ac_retval=1 ;;
1517 esac
1519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1520 as_fn_set_status $ac_retval
1522 } # ac_fn_c_try_compile
1524 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1525 # -------------------------------------------------------
1526 # Tests whether HEADER exists and can be compiled using the include files in
1527 # INCLUDES, setting the cache variable VAR accordingly.
1528 ac_fn_c_check_header_compile ()
1530 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1532 printf %s "checking for $2... " >&6; }
1533 if eval test \${$3+y}
1534 then :
1535 printf %s "(cached) " >&6
1536 else case e in #(
1537 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1538 /* end confdefs.h. */
1540 #include <$2>
1541 _ACEOF
1542 if ac_fn_c_try_compile "$LINENO"
1543 then :
1544 eval "$3=yes"
1545 else case e in #(
1546 e) eval "$3=no" ;;
1547 esac
1549 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1550 esac
1552 eval ac_res=\$$3
1553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1554 printf "%s\n" "$ac_res" >&6; }
1555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1557 } # ac_fn_c_check_header_compile
1559 # ac_fn_c_try_link LINENO
1560 # -----------------------
1561 # Try to link conftest.$ac_ext, and return whether this succeeded.
1562 ac_fn_c_try_link ()
1564 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1565 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1566 if { { ac_try="$ac_link"
1567 case "(($ac_try" in
1568 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1569 *) ac_try_echo=$ac_try;;
1570 esac
1571 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1572 printf "%s\n" "$ac_try_echo"; } >&5
1573 (eval "$ac_link") 2>conftest.err
1574 ac_status=$?
1575 if test -s conftest.err; then
1576 grep -v '^ *+' conftest.err >conftest.er1
1577 cat conftest.er1 >&5
1578 mv -f conftest.er1 conftest.err
1580 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1581 test $ac_status = 0; } && {
1582 test -z "$ac_c_werror_flag" ||
1583 test ! -s conftest.err
1584 } && test -s conftest$ac_exeext && {
1585 test "$cross_compiling" = yes ||
1586 test -x conftest$ac_exeext
1588 then :
1589 ac_retval=0
1590 else case e in #(
1591 e) printf "%s\n" "$as_me: failed program was:" >&5
1592 sed 's/^/| /' conftest.$ac_ext >&5
1594 ac_retval=1 ;;
1595 esac
1597 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1598 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1599 # interfere with the next link command; also delete a directory that is
1600 # left behind by Apple's compiler. We do this before executing the actions.
1601 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1602 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1603 as_fn_set_status $ac_retval
1605 } # ac_fn_c_try_link
1607 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1608 # -------------------------------------------
1609 # Tests whether TYPE exists after having included INCLUDES, setting cache
1610 # variable VAR accordingly.
1611 ac_fn_c_check_type ()
1613 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1615 printf %s "checking for $2... " >&6; }
1616 if eval test \${$3+y}
1617 then :
1618 printf %s "(cached) " >&6
1619 else case e in #(
1620 e) eval "$3=no"
1621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1622 /* end confdefs.h. */
1625 main (void)
1627 if (sizeof ($2))
1628 return 0;
1630 return 0;
1632 _ACEOF
1633 if ac_fn_c_try_compile "$LINENO"
1634 then :
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1639 main (void)
1641 if (sizeof (($2)))
1642 return 0;
1644 return 0;
1646 _ACEOF
1647 if ac_fn_c_try_compile "$LINENO"
1648 then :
1650 else case e in #(
1651 e) eval "$3=yes" ;;
1652 esac
1654 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1656 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
1657 esac
1659 eval ac_res=\$$3
1660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1661 printf "%s\n" "$ac_res" >&6; }
1662 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1664 } # ac_fn_c_check_type
1666 # ac_fn_c_try_run LINENO
1667 # ----------------------
1668 # Try to run conftest.$ac_ext, and return whether this succeeded. Assumes that
1669 # executables *can* be run.
1670 ac_fn_c_try_run ()
1672 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1673 if { { ac_try="$ac_link"
1674 case "(($ac_try" in
1675 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1676 *) ac_try_echo=$ac_try;;
1677 esac
1678 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1679 printf "%s\n" "$ac_try_echo"; } >&5
1680 (eval "$ac_link") 2>&5
1681 ac_status=$?
1682 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1683 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1684 { { case "(($ac_try" in
1685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1686 *) ac_try_echo=$ac_try;;
1687 esac
1688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 printf "%s\n" "$ac_try_echo"; } >&5
1690 (eval "$ac_try") 2>&5
1691 ac_status=$?
1692 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1693 test $ac_status = 0; }; }
1694 then :
1695 ac_retval=0
1696 else case e in #(
1697 e) printf "%s\n" "$as_me: program exited with status $ac_status" >&5
1698 printf "%s\n" "$as_me: failed program was:" >&5
1699 sed 's/^/| /' conftest.$ac_ext >&5
1701 ac_retval=$ac_status ;;
1702 esac
1704 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1705 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1706 as_fn_set_status $ac_retval
1708 } # ac_fn_c_try_run
1710 # ac_fn_c_check_func LINENO FUNC VAR
1711 # ----------------------------------
1712 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1713 ac_fn_c_check_func ()
1715 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1717 printf %s "checking for $2... " >&6; }
1718 if eval test \${$3+y}
1719 then :
1720 printf %s "(cached) " >&6
1721 else case e in #(
1722 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1723 /* end confdefs.h. */
1724 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1725 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1726 #define $2 innocuous_$2
1728 /* System header to define __stub macros and hopefully few prototypes,
1729 which can conflict with char $2 (void); below. */
1731 #include <limits.h>
1732 #undef $2
1734 /* Override any GCC internal prototype to avoid an error.
1735 Use char because int might match the return type of a GCC
1736 builtin and then its argument prototype would still apply. */
1737 #ifdef __cplusplus
1738 extern "C"
1739 #endif
1740 char $2 (void);
1741 /* The GNU C library defines this for functions which it implements
1742 to always fail with ENOSYS. Some functions are actually named
1743 something starting with __ and the normal name is an alias. */
1744 #if defined __stub_$2 || defined __stub___$2
1745 choke me
1746 #endif
1749 main (void)
1751 return $2 ();
1753 return 0;
1755 _ACEOF
1756 if ac_fn_c_try_link "$LINENO"
1757 then :
1758 eval "$3=yes"
1759 else case e in #(
1760 e) eval "$3=no" ;;
1761 esac
1763 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1764 conftest$ac_exeext conftest.$ac_ext ;;
1765 esac
1767 eval ac_res=\$$3
1768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1769 printf "%s\n" "$ac_res" >&6; }
1770 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1772 } # ac_fn_c_check_func
1773 ac_configure_args_raw=
1774 for ac_arg
1776 case $ac_arg in
1777 *\'*)
1778 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1779 esac
1780 as_fn_append ac_configure_args_raw " '$ac_arg'"
1781 done
1783 case $ac_configure_args_raw in
1784 *$as_nl*)
1785 ac_safe_unquote= ;;
1787 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1788 ac_unsafe_a="$ac_unsafe_z#~"
1789 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1790 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1791 esac
1793 cat >config.log <<_ACEOF
1794 This file contains any messages produced by compilers while
1795 running configure, to aid debugging if configure makes a mistake.
1797 It was created by smenu $as_me 1.4.0, which was
1798 generated by GNU Autoconf 2.72. Invocation command line was
1800 $ $0$ac_configure_args_raw
1802 _ACEOF
1803 exec 5>>config.log
1805 cat <<_ASUNAME
1806 ## --------- ##
1807 ## Platform. ##
1808 ## --------- ##
1810 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1811 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1812 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1813 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1814 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1816 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1817 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1819 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1820 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1821 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1822 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1823 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1824 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1825 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1827 _ASUNAME
1829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1830 for as_dir in $PATH
1832 IFS=$as_save_IFS
1833 case $as_dir in #(((
1834 '') as_dir=./ ;;
1835 */) ;;
1836 *) as_dir=$as_dir/ ;;
1837 esac
1838 printf "%s\n" "PATH: $as_dir"
1839 done
1840 IFS=$as_save_IFS
1842 } >&5
1844 cat >&5 <<_ACEOF
1847 ## ----------- ##
1848 ## Core tests. ##
1849 ## ----------- ##
1851 _ACEOF
1854 # Keep a trace of the command line.
1855 # Strip out --no-create and --no-recursion so they do not pile up.
1856 # Strip out --silent because we don't want to record it for future runs.
1857 # Also quote any args containing shell meta-characters.
1858 # Make two passes to allow for proper duplicate-argument suppression.
1859 ac_configure_args=
1860 ac_configure_args0=
1861 ac_configure_args1=
1862 ac_must_keep_next=false
1863 for ac_pass in 1 2
1865 for ac_arg
1867 case $ac_arg in
1868 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1869 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1870 | -silent | --silent | --silen | --sile | --sil)
1871 continue ;;
1872 *\'*)
1873 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1874 esac
1875 case $ac_pass in
1876 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1878 as_fn_append ac_configure_args1 " '$ac_arg'"
1879 if test $ac_must_keep_next = true; then
1880 ac_must_keep_next=false # Got value, back to normal.
1881 else
1882 case $ac_arg in
1883 *=* | --config-cache | -C | -disable-* | --disable-* \
1884 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1885 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1886 | -with-* | --with-* | -without-* | --without-* | --x)
1887 case "$ac_configure_args0 " in
1888 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1889 esac
1891 -* ) ac_must_keep_next=true ;;
1892 esac
1894 as_fn_append ac_configure_args " '$ac_arg'"
1896 esac
1897 done
1898 done
1899 { ac_configure_args0=; unset ac_configure_args0;}
1900 { ac_configure_args1=; unset ac_configure_args1;}
1902 # When interrupted or exit'd, cleanup temporary files, and complete
1903 # config.log. We remove comments because anyway the quotes in there
1904 # would cause problems or look ugly.
1905 # WARNING: Use '\'' to represent an apostrophe within the trap.
1906 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1907 trap 'exit_status=$?
1908 # Sanitize IFS.
1909 IFS=" "" $as_nl"
1910 # Save into config.log some information that might help in debugging.
1912 echo
1914 printf "%s\n" "## ---------------- ##
1915 ## Cache variables. ##
1916 ## ---------------- ##"
1917 echo
1918 # The following way of writing the cache mishandles newlines in values,
1920 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1921 eval ac_val=\$$ac_var
1922 case $ac_val in #(
1923 *${as_nl}*)
1924 case $ac_var in #(
1925 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1926 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1927 esac
1928 case $ac_var in #(
1929 _ | IFS | as_nl) ;; #(
1930 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1931 *) { eval $ac_var=; unset $ac_var;} ;;
1932 esac ;;
1933 esac
1934 done
1935 (set) 2>&1 |
1936 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1937 *${as_nl}ac_space=\ *)
1938 sed -n \
1939 "s/'\''/'\''\\\\'\'''\''/g;
1940 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1941 ;; #(
1943 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1945 esac |
1946 sort
1948 echo
1950 printf "%s\n" "## ----------------- ##
1951 ## Output variables. ##
1952 ## ----------------- ##"
1953 echo
1954 for ac_var in $ac_subst_vars
1956 eval ac_val=\$$ac_var
1957 case $ac_val in
1958 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1959 esac
1960 printf "%s\n" "$ac_var='\''$ac_val'\''"
1961 done | sort
1962 echo
1964 if test -n "$ac_subst_files"; then
1965 printf "%s\n" "## ------------------- ##
1966 ## File substitutions. ##
1967 ## ------------------- ##"
1968 echo
1969 for ac_var in $ac_subst_files
1971 eval ac_val=\$$ac_var
1972 case $ac_val in
1973 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1974 esac
1975 printf "%s\n" "$ac_var='\''$ac_val'\''"
1976 done | sort
1977 echo
1980 if test -s confdefs.h; then
1981 printf "%s\n" "## ----------- ##
1982 ## confdefs.h. ##
1983 ## ----------- ##"
1984 echo
1985 cat confdefs.h
1986 echo
1988 test "$ac_signal" != 0 &&
1989 printf "%s\n" "$as_me: caught signal $ac_signal"
1990 printf "%s\n" "$as_me: exit $exit_status"
1991 } >&5
1992 rm -f core *.core core.conftest.* &&
1993 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1994 exit $exit_status
1996 for ac_signal in 1 2 13 15; do
1997 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1998 done
1999 ac_signal=0
2001 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2002 rm -f -r conftest* confdefs.h
2004 printf "%s\n" "/* confdefs.h */" > confdefs.h
2006 # Predefined preprocessor variables.
2008 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
2010 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
2012 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
2014 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
2016 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
2018 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
2021 # Let the site file select an alternate cache file if it wants to.
2022 # Prefer an explicitly selected file to automatically selected ones.
2023 if test -n "$CONFIG_SITE"; then
2024 ac_site_files="$CONFIG_SITE"
2025 elif test "x$prefix" != xNONE; then
2026 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
2027 else
2028 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
2031 for ac_site_file in $ac_site_files
2033 case $ac_site_file in #(
2034 */*) :
2035 ;; #(
2036 *) :
2037 ac_site_file=./$ac_site_file ;;
2038 esac
2039 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
2040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2041 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
2042 sed 's/^/| /' "$ac_site_file" >&5
2043 . "$ac_site_file" \
2044 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2045 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2046 as_fn_error $? "failed to load site script $ac_site_file
2047 See 'config.log' for more details" "$LINENO" 5; }
2049 done
2051 if test -r "$cache_file"; then
2052 # Some versions of bash will fail to source /dev/null (special files
2053 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2054 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2056 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
2057 case $cache_file in
2058 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2059 *) . "./$cache_file";;
2060 esac
2062 else
2063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2064 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
2065 >$cache_file
2068 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2069 # Test code for whether the C compiler supports C89 (global declarations)
2070 ac_c_conftest_c89_globals='
2071 /* Does the compiler advertise C89 conformance?
2072 Do not test the value of __STDC__, because some compilers set it to 0
2073 while being otherwise adequately conformant. */
2074 #if !defined __STDC__
2075 # error "Compiler does not advertise C89 conformance"
2076 #endif
2078 #include <stddef.h>
2079 #include <stdarg.h>
2080 struct stat;
2081 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2082 struct buf { int x; };
2083 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2084 static char *e (char **p, int i)
2086 return p[i];
2088 static char *f (char * (*g) (char **, int), char **p, ...)
2090 char *s;
2091 va_list v;
2092 va_start (v,p);
2093 s = g (p, va_arg (v,int));
2094 va_end (v);
2095 return s;
2098 /* C89 style stringification. */
2099 #define noexpand_stringify(a) #a
2100 const char *stringified = noexpand_stringify(arbitrary+token=sequence);
2102 /* C89 style token pasting. Exercises some of the corner cases that
2103 e.g. old MSVC gets wrong, but not very hard. */
2104 #define noexpand_concat(a,b) a##b
2105 #define expand_concat(a,b) noexpand_concat(a,b)
2106 extern int vA;
2107 extern int vbee;
2108 #define aye A
2109 #define bee B
2110 int *pvA = &expand_concat(v,aye);
2111 int *pvbee = &noexpand_concat(v,bee);
2113 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2114 function prototypes and stuff, but not \xHH hex character constants.
2115 These do not provoke an error unfortunately, instead are silently treated
2116 as an "x". The following induces an error, until -std is added to get
2117 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2118 array size at least. It is necessary to write \x00 == 0 to get something
2119 that is true only with -std. */
2120 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2122 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2123 inside strings and character constants. */
2124 #define FOO(x) '\''x'\''
2125 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2127 int test (int i, double x);
2128 struct s1 {int (*f) (int a);};
2129 struct s2 {int (*f) (double a);};
2130 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2131 int, int);'
2133 # Test code for whether the C compiler supports C89 (body of main).
2134 ac_c_conftest_c89_main='
2135 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2138 # Test code for whether the C compiler supports C99 (global declarations)
2139 ac_c_conftest_c99_globals='
2140 /* Does the compiler advertise C99 conformance? */
2141 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2142 # error "Compiler does not advertise C99 conformance"
2143 #endif
2145 // See if C++-style comments work.
2147 #include <stdbool.h>
2148 extern int puts (const char *);
2149 extern int printf (const char *, ...);
2150 extern int dprintf (int, const char *, ...);
2151 extern void *malloc (size_t);
2152 extern void free (void *);
2154 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2155 // dprintf is used instead of fprintf to avoid needing to declare
2156 // FILE and stderr.
2157 #define debug(...) dprintf (2, __VA_ARGS__)
2158 #define showlist(...) puts (#__VA_ARGS__)
2159 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2160 static void
2161 test_varargs_macros (void)
2163 int x = 1234;
2164 int y = 5678;
2165 debug ("Flag");
2166 debug ("X = %d\n", x);
2167 showlist (The first, second, and third items.);
2168 report (x>y, "x is %d but y is %d", x, y);
2171 // Check long long types.
2172 #define BIG64 18446744073709551615ull
2173 #define BIG32 4294967295ul
2174 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2175 #if !BIG_OK
2176 #error "your preprocessor is broken"
2177 #endif
2178 #if BIG_OK
2179 #else
2180 #error "your preprocessor is broken"
2181 #endif
2182 static long long int bignum = -9223372036854775807LL;
2183 static unsigned long long int ubignum = BIG64;
2185 struct incomplete_array
2187 int datasize;
2188 double data[];
2191 struct named_init {
2192 int number;
2193 const wchar_t *name;
2194 double average;
2197 typedef const char *ccp;
2199 static inline int
2200 test_restrict (ccp restrict text)
2202 // Iterate through items via the restricted pointer.
2203 // Also check for declarations in for loops.
2204 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2205 continue;
2206 return 0;
2209 // Check varargs and va_copy.
2210 static bool
2211 test_varargs (const char *format, ...)
2213 va_list args;
2214 va_start (args, format);
2215 va_list args_copy;
2216 va_copy (args_copy, args);
2218 const char *str = "";
2219 int number = 0;
2220 float fnumber = 0;
2222 while (*format)
2224 switch (*format++)
2226 case '\''s'\'': // string
2227 str = va_arg (args_copy, const char *);
2228 break;
2229 case '\''d'\'': // int
2230 number = va_arg (args_copy, int);
2231 break;
2232 case '\''f'\'': // float
2233 fnumber = va_arg (args_copy, double);
2234 break;
2235 default:
2236 break;
2239 va_end (args_copy);
2240 va_end (args);
2242 return *str && number && fnumber;
2246 # Test code for whether the C compiler supports C99 (body of main).
2247 ac_c_conftest_c99_main='
2248 // Check bool.
2249 _Bool success = false;
2250 success |= (argc != 0);
2252 // Check restrict.
2253 if (test_restrict ("String literal") == 0)
2254 success = true;
2255 char *restrict newvar = "Another string";
2257 // Check varargs.
2258 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2259 test_varargs_macros ();
2261 // Check flexible array members.
2262 struct incomplete_array *ia =
2263 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2264 ia->datasize = 10;
2265 for (int i = 0; i < ia->datasize; ++i)
2266 ia->data[i] = i * 1.234;
2267 // Work around memory leak warnings.
2268 free (ia);
2270 // Check named initializers.
2271 struct named_init ni = {
2272 .number = 34,
2273 .name = L"Test wide string",
2274 .average = 543.34343,
2277 ni.number = 58;
2279 int dynamic_array[ni.number];
2280 dynamic_array[0] = argv[0][0];
2281 dynamic_array[ni.number - 1] = 543;
2283 // work around unused variable warnings
2284 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2285 || dynamic_array[ni.number - 1] != 543);
2288 # Test code for whether the C compiler supports C11 (global declarations)
2289 ac_c_conftest_c11_globals='
2290 /* Does the compiler advertise C11 conformance? */
2291 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2292 # error "Compiler does not advertise C11 conformance"
2293 #endif
2295 // Check _Alignas.
2296 char _Alignas (double) aligned_as_double;
2297 char _Alignas (0) no_special_alignment;
2298 extern char aligned_as_int;
2299 char _Alignas (0) _Alignas (int) aligned_as_int;
2301 // Check _Alignof.
2302 enum
2304 int_alignment = _Alignof (int),
2305 int_array_alignment = _Alignof (int[100]),
2306 char_alignment = _Alignof (char)
2308 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2310 // Check _Noreturn.
2311 int _Noreturn does_not_return (void) { for (;;) continue; }
2313 // Check _Static_assert.
2314 struct test_static_assert
2316 int x;
2317 _Static_assert (sizeof (int) <= sizeof (long int),
2318 "_Static_assert does not work in struct");
2319 long int y;
2322 // Check UTF-8 literals.
2323 #define u8 syntax error!
2324 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2326 // Check duplicate typedefs.
2327 typedef long *long_ptr;
2328 typedef long int *long_ptr;
2329 typedef long_ptr long_ptr;
2331 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2332 struct anonymous
2334 union {
2335 struct { int i; int j; };
2336 struct { int k; long int l; } w;
2338 int m;
2339 } v1;
2342 # Test code for whether the C compiler supports C11 (body of main).
2343 ac_c_conftest_c11_main='
2344 _Static_assert ((offsetof (struct anonymous, i)
2345 == offsetof (struct anonymous, w.k)),
2346 "Anonymous union alignment botch");
2347 v1.i = 2;
2348 v1.w.k = 5;
2349 ok |= v1.i != 5;
2352 # Test code for whether the C compiler supports C11 (complete).
2353 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2354 ${ac_c_conftest_c99_globals}
2355 ${ac_c_conftest_c11_globals}
2358 main (int argc, char **argv)
2360 int ok = 0;
2361 ${ac_c_conftest_c89_main}
2362 ${ac_c_conftest_c99_main}
2363 ${ac_c_conftest_c11_main}
2364 return ok;
2368 # Test code for whether the C compiler supports C99 (complete).
2369 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2370 ${ac_c_conftest_c99_globals}
2373 main (int argc, char **argv)
2375 int ok = 0;
2376 ${ac_c_conftest_c89_main}
2377 ${ac_c_conftest_c99_main}
2378 return ok;
2382 # Test code for whether the C compiler supports C89 (complete).
2383 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2386 main (int argc, char **argv)
2388 int ok = 0;
2389 ${ac_c_conftest_c89_main}
2390 return ok;
2394 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2395 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2396 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2397 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2398 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2399 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2400 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2401 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2402 as_fn_append ac_header_c_list " wchar.h wchar_h HAVE_WCHAR_H"
2403 as_fn_append ac_header_c_list " minix/config.h minix_config_h HAVE_MINIX_CONFIG_H"
2405 # Auxiliary files required by this configure script.
2406 ac_aux_files="config.guess config.sub compile missing install-sh"
2408 # Locations in which to look for auxiliary files.
2409 ac_aux_dir_candidates="${srcdir}/build-aux"
2411 # Search for a directory containing all of the required auxiliary files,
2412 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2413 # If we don't find one directory that contains all the files we need,
2414 # we report the set of missing files from the *first* directory in
2415 # $ac_aux_dir_candidates and give up.
2416 ac_missing_aux_files=""
2417 ac_first_candidate=:
2418 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2419 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2420 as_found=false
2421 for as_dir in $ac_aux_dir_candidates
2423 IFS=$as_save_IFS
2424 case $as_dir in #(((
2425 '') as_dir=./ ;;
2426 */) ;;
2427 *) as_dir=$as_dir/ ;;
2428 esac
2429 as_found=:
2431 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2432 ac_aux_dir_found=yes
2433 ac_install_sh=
2434 for ac_aux in $ac_aux_files
2436 # As a special case, if "install-sh" is required, that requirement
2437 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2438 # and $ac_install_sh is set appropriately for whichever one is found.
2439 if test x"$ac_aux" = x"install-sh"
2440 then
2441 if test -f "${as_dir}install-sh"; then
2442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2443 ac_install_sh="${as_dir}install-sh -c"
2444 elif test -f "${as_dir}install.sh"; then
2445 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2446 ac_install_sh="${as_dir}install.sh -c"
2447 elif test -f "${as_dir}shtool"; then
2448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2449 ac_install_sh="${as_dir}shtool install -c"
2450 else
2451 ac_aux_dir_found=no
2452 if $ac_first_candidate; then
2453 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2454 else
2455 break
2458 else
2459 if test -f "${as_dir}${ac_aux}"; then
2460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2461 else
2462 ac_aux_dir_found=no
2463 if $ac_first_candidate; then
2464 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2465 else
2466 break
2470 done
2471 if test "$ac_aux_dir_found" = yes; then
2472 ac_aux_dir="$as_dir"
2473 break
2475 ac_first_candidate=false
2477 as_found=false
2478 done
2479 IFS=$as_save_IFS
2480 if $as_found
2481 then :
2483 else case e in #(
2484 e) as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5 ;;
2485 esac
2489 # These three variables are undocumented and unsupported,
2490 # and are intended to be withdrawn in a future Autoconf release.
2491 # They can cause serious problems if a builder's source tree is in a directory
2492 # whose full name contains unusual characters.
2493 if test -f "${ac_aux_dir}config.guess"; then
2494 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2496 if test -f "${ac_aux_dir}config.sub"; then
2497 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2499 if test -f "$ac_aux_dir/configure"; then
2500 ac_configure="$SHELL ${ac_aux_dir}configure"
2503 # Check that the precious variables saved in the cache have kept the same
2504 # value.
2505 ac_cache_corrupted=false
2506 for ac_var in $ac_precious_vars; do
2507 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2508 eval ac_new_set=\$ac_env_${ac_var}_set
2509 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2510 eval ac_new_val=\$ac_env_${ac_var}_value
2511 case $ac_old_set,$ac_new_set in
2512 set,)
2513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&5
2514 printf "%s\n" "$as_me: error: '$ac_var' was set to '$ac_old_val' in the previous run" >&2;}
2515 ac_cache_corrupted=: ;;
2516 ,set)
2517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' was not set in the previous run" >&5
2518 printf "%s\n" "$as_me: error: '$ac_var' was not set in the previous run" >&2;}
2519 ac_cache_corrupted=: ;;
2520 ,);;
2522 if test "x$ac_old_val" != "x$ac_new_val"; then
2523 # differences in whitespace do not lead to failure.
2524 ac_old_val_w=`echo x $ac_old_val`
2525 ac_new_val_w=`echo x $ac_new_val`
2526 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: '$ac_var' has changed since the previous run:" >&5
2528 printf "%s\n" "$as_me: error: '$ac_var' has changed since the previous run:" >&2;}
2529 ac_cache_corrupted=:
2530 else
2531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&5
2532 printf "%s\n" "$as_me: warning: ignoring whitespace changes in '$ac_var' since the previous run:" >&2;}
2533 eval $ac_var=\$ac_old_val
2535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: '$ac_old_val'" >&5
2536 printf "%s\n" "$as_me: former value: '$ac_old_val'" >&2;}
2537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: '$ac_new_val'" >&5
2538 printf "%s\n" "$as_me: current value: '$ac_new_val'" >&2;}
2539 fi;;
2540 esac
2541 # Pass precious variables to config.status.
2542 if test "$ac_new_set" = set; then
2543 case $ac_new_val in
2544 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2545 *) ac_arg=$ac_var=$ac_new_val ;;
2546 esac
2547 case " $ac_configure_args " in
2548 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2549 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2550 esac
2552 done
2553 if $ac_cache_corrupted; then
2554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
2555 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
2556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2557 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2558 as_fn_error $? "run '${MAKE-make} distclean' and/or 'rm $cache_file'
2559 and start over" "$LINENO" 5
2561 ## -------------------- ##
2562 ## Main body of script. ##
2563 ## -------------------- ##
2565 ac_ext=c
2566 ac_cpp='$CPP $CPPFLAGS'
2567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2573 ac_config_headers="$ac_config_headers config.h"
2576 am__api_version='1.16'
2580 # Find a good install program. We prefer a C program (faster),
2581 # so one script is as good as another. But avoid the broken or
2582 # incompatible versions:
2583 # SysV /etc/install, /usr/sbin/install
2584 # SunOS /usr/etc/install
2585 # IRIX /sbin/install
2586 # AIX /bin/install
2587 # AmigaOS /C/install, which installs bootblocks on floppy discs
2588 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2589 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2590 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2591 # OS/2's system install, which has a completely different semantic
2592 # ./install, which can be erroneously created by make from ./install.sh.
2593 # Reject install programs that cannot install multiple files.
2594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2595 printf %s "checking for a BSD-compatible install... " >&6; }
2596 if test -z "$INSTALL"; then
2597 if test ${ac_cv_path_install+y}
2598 then :
2599 printf %s "(cached) " >&6
2600 else case e in #(
2601 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2602 for as_dir in $PATH
2604 IFS=$as_save_IFS
2605 case $as_dir in #(((
2606 '') as_dir=./ ;;
2607 */) ;;
2608 *) as_dir=$as_dir/ ;;
2609 esac
2610 # Account for fact that we put trailing slashes in our PATH walk.
2611 case $as_dir in #((
2612 ./ | /[cC]/* | \
2613 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2614 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2615 /usr/ucb/* ) ;;
2617 # OSF1 and SCO ODT 3.0 have their own names for install.
2618 # Don't use installbsd from OSF since it installs stuff as root
2619 # by default.
2620 for ac_prog in ginstall scoinst install; do
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2623 if test $ac_prog = install &&
2624 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2625 # AIX install. It has an incompatible calling convention.
2627 elif test $ac_prog = install &&
2628 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2629 # program-specific install script used by HP pwplus--don't use.
2631 else
2632 rm -rf conftest.one conftest.two conftest.dir
2633 echo one > conftest.one
2634 echo two > conftest.two
2635 mkdir conftest.dir
2636 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2637 test -s conftest.one && test -s conftest.two &&
2638 test -s conftest.dir/conftest.one &&
2639 test -s conftest.dir/conftest.two
2640 then
2641 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2642 break 3
2646 done
2647 done
2649 esac
2651 done
2652 IFS=$as_save_IFS
2654 rm -rf conftest.one conftest.two conftest.dir
2656 esac
2658 if test ${ac_cv_path_install+y}; then
2659 INSTALL=$ac_cv_path_install
2660 else
2661 # As a last resort, use the slow shell script. Don't cache a
2662 # value for INSTALL within a source directory, because that will
2663 # break other packages using the cache if that directory is
2664 # removed, or if the value is a relative name.
2665 INSTALL=$ac_install_sh
2668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2669 printf "%s\n" "$INSTALL" >&6; }
2671 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2672 # It thinks the first close brace ends the variable substitution.
2673 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2675 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2677 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
2680 printf %s "checking whether build environment is sane... " >&6; }
2681 # Reject unsafe characters in $srcdir or the absolute working directory
2682 # name. Accept space and tab only in the latter.
2683 am_lf='
2685 case `pwd` in
2686 *[\\\"\#\$\&\'\`$am_lf]*)
2687 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
2688 esac
2689 case $srcdir in
2690 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
2691 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
2692 esac
2694 # Do 'set' in a subshell so we don't clobber the current shell's
2695 # arguments. Must try -L first in case configure is actually a
2696 # symlink; some systems play weird games with the mod time of symlinks
2697 # (eg FreeBSD returns the mod time of the symlink's containing
2698 # directory).
2699 if (
2700 am_has_slept=no
2701 for am_try in 1 2; do
2702 echo "timestamp, slept: $am_has_slept" > conftest.file
2703 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
2704 if test "$*" = "X"; then
2705 # -L didn't work.
2706 set X `ls -t "$srcdir/configure" conftest.file`
2708 if test "$*" != "X $srcdir/configure conftest.file" \
2709 && test "$*" != "X conftest.file $srcdir/configure"; then
2711 # If neither matched, then we have a broken ls. This can happen
2712 # if, for instance, CONFIG_SHELL is bash and it inherits a
2713 # broken ls alias from the environment. This has actually
2714 # happened. Such a system could not be considered "sane".
2715 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2716 alias in your environment" "$LINENO" 5
2718 if test "$2" = conftest.file || test $am_try -eq 2; then
2719 break
2721 # Just in case.
2722 sleep 1
2723 am_has_slept=yes
2724 done
2725 test "$2" = conftest.file
2727 then
2728 # Ok.
2730 else
2731 as_fn_error $? "newly created file is older than distributed files!
2732 Check your system clock" "$LINENO" 5
2734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2735 printf "%s\n" "yes" >&6; }
2736 # If we didn't sleep, we still need to ensure time stamps of config.status and
2737 # generated files are strictly newer.
2738 am_sleep_pid=
2739 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
2740 ( sleep 1 ) &
2741 am_sleep_pid=$!
2744 rm -f conftest.file
2746 test "$program_prefix" != NONE &&
2747 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2748 # Use a double $ so make ignores it.
2749 test "$program_suffix" != NONE &&
2750 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2751 # Double any \ or $.
2752 # By default was 's,x,x', remove it if useless.
2753 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2754 program_transform_name=`printf "%s\n" "$program_transform_name" | sed "$ac_script"`
2757 # Expand $ac_aux_dir to an absolute path.
2758 am_aux_dir=`cd "$ac_aux_dir" && pwd`
2761 if test x"${MISSING+set}" != xset; then
2762 MISSING="\${SHELL} '$am_aux_dir/missing'"
2764 # Use eval to expand $SHELL
2765 if eval "$MISSING --is-lightweight"; then
2766 am_missing_run="$MISSING "
2767 else
2768 am_missing_run=
2769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
2770 printf "%s\n" "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
2773 if test x"${install_sh+set}" != xset; then
2774 case $am_aux_dir in
2775 *\ * | *\ *)
2776 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
2778 install_sh="\${SHELL} $am_aux_dir/install-sh"
2779 esac
2782 # Installed binaries are usually stripped using 'strip' when the user
2783 # run "make install-strip". However 'strip' might not be the right
2784 # tool to use in cross-compilation environments, therefore Automake
2785 # will honor the 'STRIP' environment variable to overrule this program.
2786 if test "$cross_compiling" != no; then
2787 if test -n "$ac_tool_prefix"; then
2788 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
2789 set dummy ${ac_tool_prefix}strip; ac_word=$2
2790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2791 printf %s "checking for $ac_word... " >&6; }
2792 if test ${ac_cv_prog_STRIP+y}
2793 then :
2794 printf %s "(cached) " >&6
2795 else case e in #(
2796 e) if test -n "$STRIP"; then
2797 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
2798 else
2799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2800 for as_dir in $PATH
2802 IFS=$as_save_IFS
2803 case $as_dir in #(((
2804 '') as_dir=./ ;;
2805 */) ;;
2806 *) as_dir=$as_dir/ ;;
2807 esac
2808 for ac_exec_ext in '' $ac_executable_extensions; do
2809 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2810 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
2811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2812 break 2
2814 done
2815 done
2816 IFS=$as_save_IFS
2818 fi ;;
2819 esac
2821 STRIP=$ac_cv_prog_STRIP
2822 if test -n "$STRIP"; then
2823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
2824 printf "%s\n" "$STRIP" >&6; }
2825 else
2826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2827 printf "%s\n" "no" >&6; }
2832 if test -z "$ac_cv_prog_STRIP"; then
2833 ac_ct_STRIP=$STRIP
2834 # Extract the first word of "strip", so it can be a program name with args.
2835 set dummy strip; ac_word=$2
2836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2837 printf %s "checking for $ac_word... " >&6; }
2838 if test ${ac_cv_prog_ac_ct_STRIP+y}
2839 then :
2840 printf %s "(cached) " >&6
2841 else case e in #(
2842 e) if test -n "$ac_ct_STRIP"; then
2843 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2844 else
2845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2846 for as_dir in $PATH
2848 IFS=$as_save_IFS
2849 case $as_dir in #(((
2850 '') as_dir=./ ;;
2851 */) ;;
2852 *) as_dir=$as_dir/ ;;
2853 esac
2854 for ac_exec_ext in '' $ac_executable_extensions; do
2855 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2856 ac_cv_prog_ac_ct_STRIP="strip"
2857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2858 break 2
2860 done
2861 done
2862 IFS=$as_save_IFS
2864 fi ;;
2865 esac
2867 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2868 if test -n "$ac_ct_STRIP"; then
2869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2870 printf "%s\n" "$ac_ct_STRIP" >&6; }
2871 else
2872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2873 printf "%s\n" "no" >&6; }
2876 if test "x$ac_ct_STRIP" = x; then
2877 STRIP=":"
2878 else
2879 case $cross_compiling:$ac_tool_warned in
2880 yes:)
2881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2882 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2883 ac_tool_warned=yes ;;
2884 esac
2885 STRIP=$ac_ct_STRIP
2887 else
2888 STRIP="$ac_cv_prog_STRIP"
2892 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a race-free mkdir -p" >&5
2896 printf %s "checking for a race-free mkdir -p... " >&6; }
2897 if test -z "$MKDIR_P"; then
2898 if test ${ac_cv_path_mkdir+y}
2899 then :
2900 printf %s "(cached) " >&6
2901 else case e in #(
2902 e) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2903 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2905 IFS=$as_save_IFS
2906 case $as_dir in #(((
2907 '') as_dir=./ ;;
2908 */) ;;
2909 *) as_dir=$as_dir/ ;;
2910 esac
2911 for ac_prog in mkdir gmkdir; do
2912 for ac_exec_ext in '' $ac_executable_extensions; do
2913 as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext" || continue
2914 case `"$as_dir$ac_prog$ac_exec_ext" --version 2>&1` in #(
2915 'mkdir ('*'coreutils) '* | \
2916 *'BusyBox '* | \
2917 'mkdir (fileutils) '4.1*)
2918 ac_cv_path_mkdir=$as_dir$ac_prog$ac_exec_ext
2919 break 3;;
2920 esac
2921 done
2922 done
2923 done
2924 IFS=$as_save_IFS
2926 esac
2929 test -d ./--version && rmdir ./--version
2930 if test ${ac_cv_path_mkdir+y}; then
2931 MKDIR_P="$ac_cv_path_mkdir -p"
2932 else
2933 # As a last resort, use plain mkdir -p,
2934 # in the hope it doesn't have the bugs of ancient mkdir.
2935 MKDIR_P='mkdir -p'
2938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2939 printf "%s\n" "$MKDIR_P" >&6; }
2941 for ac_prog in gawk mawk nawk awk
2943 # Extract the first word of "$ac_prog", so it can be a program name with args.
2944 set dummy $ac_prog; ac_word=$2
2945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2946 printf %s "checking for $ac_word... " >&6; }
2947 if test ${ac_cv_prog_AWK+y}
2948 then :
2949 printf %s "(cached) " >&6
2950 else case e in #(
2951 e) if test -n "$AWK"; then
2952 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2953 else
2954 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2955 for as_dir in $PATH
2957 IFS=$as_save_IFS
2958 case $as_dir in #(((
2959 '') as_dir=./ ;;
2960 */) ;;
2961 *) as_dir=$as_dir/ ;;
2962 esac
2963 for ac_exec_ext in '' $ac_executable_extensions; do
2964 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2965 ac_cv_prog_AWK="$ac_prog"
2966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2967 break 2
2969 done
2970 done
2971 IFS=$as_save_IFS
2973 fi ;;
2974 esac
2976 AWK=$ac_cv_prog_AWK
2977 if test -n "$AWK"; then
2978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2979 printf "%s\n" "$AWK" >&6; }
2980 else
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2982 printf "%s\n" "no" >&6; }
2986 test -n "$AWK" && break
2987 done
2989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2990 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2991 set x ${MAKE-make}
2992 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2993 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
2994 then :
2995 printf %s "(cached) " >&6
2996 else case e in #(
2997 e) cat >conftest.make <<\_ACEOF
2998 SHELL = /bin/sh
2999 all:
3000 @echo '@@@%%%=$(MAKE)=@@@%%%'
3001 _ACEOF
3002 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3003 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3004 *@@@%%%=?*=@@@%%%*)
3005 eval ac_cv_prog_make_${ac_make}_set=yes;;
3007 eval ac_cv_prog_make_${ac_make}_set=no;;
3008 esac
3009 rm -f conftest.make ;;
3010 esac
3012 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3014 printf "%s\n" "yes" >&6; }
3015 SET_MAKE=
3016 else
3017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3018 printf "%s\n" "no" >&6; }
3019 SET_MAKE="MAKE=${MAKE-make}"
3022 rm -rf .tst 2>/dev/null
3023 mkdir .tst 2>/dev/null
3024 if test -d .tst; then
3025 am__leading_dot=.
3026 else
3027 am__leading_dot=_
3029 rmdir .tst 2>/dev/null
3031 # Check whether --enable-silent-rules was given.
3032 if test ${enable_silent_rules+y}
3033 then :
3034 enableval=$enable_silent_rules;
3037 case $enable_silent_rules in # (((
3038 yes) AM_DEFAULT_VERBOSITY=0;;
3039 no) AM_DEFAULT_VERBOSITY=1;;
3040 *) AM_DEFAULT_VERBOSITY=1;;
3041 esac
3042 am_make=${MAKE-make}
3043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3044 printf %s "checking whether $am_make supports nested variables... " >&6; }
3045 if test ${am_cv_make_support_nested_variables+y}
3046 then :
3047 printf %s "(cached) " >&6
3048 else case e in #(
3049 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3050 BAR0=false
3051 BAR1=true
3053 am__doit:
3054 @$(TRUE)
3055 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3056 am_cv_make_support_nested_variables=yes
3057 else
3058 am_cv_make_support_nested_variables=no
3059 fi ;;
3060 esac
3062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3063 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3064 if test $am_cv_make_support_nested_variables = yes; then
3065 AM_V='$(V)'
3066 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3067 else
3068 AM_V=$AM_DEFAULT_VERBOSITY
3069 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3071 AM_BACKSLASH='\'
3073 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3074 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3075 # is not polluted with repeated "-I."
3076 am__isrc=' -I$(srcdir)'
3077 # test to see if srcdir already configured
3078 if test -f $srcdir/config.status; then
3079 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3083 # test whether we have cygpath
3084 if test -z "$CYGPATH_W"; then
3085 if (cygpath --version) >/dev/null 2>/dev/null; then
3086 CYGPATH_W='cygpath -w'
3087 else
3088 CYGPATH_W=echo
3093 # Define the identity of the package.
3094 PACKAGE='smenu'
3095 VERSION='1.4.0'
3098 printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h
3101 printf "%s\n" "#define VERSION \"$VERSION\"" >>confdefs.h
3103 # Some tools Automake needs.
3105 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3108 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3111 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3114 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3117 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3119 # For better backward compatibility. To be removed once Automake 1.9.x
3120 # dies out for good. For more background, see:
3121 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3122 # <https://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3123 mkdir_p='$(MKDIR_P)'
3125 # We need awk for the "check" target (and possibly the TAP driver). The
3126 # system "awk" is bad on some platforms.
3127 # Always define AMTAR for backward compatibility. Yes, it's still used
3128 # in the wild :-( We should find a proper way to deprecate it ...
3129 AMTAR='$${TAR-tar}'
3132 # We'll loop over all known methods to create a tar archive until one works.
3133 _am_tools='gnutar pax cpio none'
3135 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3141 # Variables for tags utilities; see am/tags.am
3142 if test -z "$CTAGS"; then
3143 CTAGS=ctags
3146 if test -z "$ETAGS"; then
3147 ETAGS=etags
3150 if test -z "$CSCOPE"; then
3151 CSCOPE=cscope
3156 # POSIX will say in a future version that running "rm -f" with no argument
3157 # is OK; and we want to be able to make that assumption in our Makefile
3158 # recipes. So use an aggressive probe to check that the usage we want is
3159 # actually supported "in the wild" to an acceptable degree.
3160 # See automake bug#10828.
3161 # To make any issue more visible, cause the running configure to be aborted
3162 # by default if the 'rm' program in use doesn't match our expectations; the
3163 # user can still override this though.
3164 if rm -f && rm -fr && rm -rf; then : OK; else
3165 cat >&2 <<'END'
3166 Oops!
3168 Your 'rm' program seems unable to run without file operands specified
3169 on the command line, even when the '-f' option is present. This is contrary
3170 to the behaviour of most rm programs out there, and not conforming with
3171 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3173 Please tell bug-automake@gnu.org about your system, including the value
3174 of your $PATH and any error possibly output before this message. This
3175 can help us improve future automake versions.
3178 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3179 echo 'Configuration will proceed anyway, since you have set the' >&2
3180 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3181 echo >&2
3182 else
3183 cat >&2 <<'END'
3184 Aborting the configuration process, to ensure you take notice of the issue.
3186 You can download and install GNU coreutils to get an 'rm' implementation
3187 that behaves properly: <https://www.gnu.org/software/coreutils/>.
3189 If you want to complete the configuration process using your problematic
3190 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3191 to "yes", and re-run configure.
3194 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3198 # Check whether --enable-silent-rules was given.
3199 if test ${enable_silent_rules+y}
3200 then :
3201 enableval=$enable_silent_rules;
3204 case $enable_silent_rules in # (((
3205 yes) AM_DEFAULT_VERBOSITY=0;;
3206 no) AM_DEFAULT_VERBOSITY=1;;
3207 *) AM_DEFAULT_VERBOSITY=0;;
3208 esac
3209 am_make=${MAKE-make}
3210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3211 printf %s "checking whether $am_make supports nested variables... " >&6; }
3212 if test ${am_cv_make_support_nested_variables+y}
3213 then :
3214 printf %s "(cached) " >&6
3215 else case e in #(
3216 e) if printf "%s\n" 'TRUE=$(BAR$(V))
3217 BAR0=false
3218 BAR1=true
3220 am__doit:
3221 @$(TRUE)
3222 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3223 am_cv_make_support_nested_variables=yes
3224 else
3225 am_cv_make_support_nested_variables=no
3226 fi ;;
3227 esac
3229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3230 printf "%s\n" "$am_cv_make_support_nested_variables" >&6; }
3231 if test $am_cv_make_support_nested_variables = yes; then
3232 AM_V='$(V)'
3233 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3234 else
3235 AM_V=$AM_DEFAULT_VERBOSITY
3236 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3238 AM_BACKSLASH='\'
3241 # Checks for programs.
3251 DEPDIR="${am__leading_dot}deps"
3253 ac_config_commands="$ac_config_commands depfiles"
3255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} supports the include directive" >&5
3256 printf %s "checking whether ${MAKE-make} supports the include directive... " >&6; }
3257 cat > confinc.mk << 'END'
3258 am__doit:
3259 @echo this is the am__doit target >confinc.out
3260 .PHONY: am__doit
3262 am__include="#"
3263 am__quote=
3264 # BSD make does it like this.
3265 echo '.include "confinc.mk" # ignored' > confmf.BSD
3266 # Other make implementations (GNU, Solaris 10, AIX) do it like this.
3267 echo 'include confinc.mk # ignored' > confmf.GNU
3268 _am_result=no
3269 for s in GNU BSD; do
3270 { echo "$as_me:$LINENO: ${MAKE-make} -f confmf.$s && cat confinc.out" >&5
3271 (${MAKE-make} -f confmf.$s && cat confinc.out) >&5 2>&5
3272 ac_status=$?
3273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
3274 (exit $ac_status); }
3275 case $?:`cat confinc.out 2>/dev/null` in #(
3276 '0:this is the am__doit target') :
3277 case $s in #(
3278 BSD) :
3279 am__include='.include' am__quote='"' ;; #(
3280 *) :
3281 am__include='include' am__quote='' ;;
3282 esac ;; #(
3283 *) :
3285 esac
3286 if test "$am__include" != "#"; then
3287 _am_result="yes ($s style)"
3288 break
3290 done
3291 rm -f confinc.* confmf.*
3292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: ${_am_result}" >&5
3293 printf "%s\n" "${_am_result}" >&6; }
3295 # Check whether --enable-dependency-tracking was given.
3296 if test ${enable_dependency_tracking+y}
3297 then :
3298 enableval=$enable_dependency_tracking;
3301 if test "x$enable_dependency_tracking" != xno; then
3302 am_depcomp="$ac_aux_dir/depcomp"
3303 AMDEPBACKSLASH='\'
3304 am__nodep='_no'
3306 if test "x$enable_dependency_tracking" != xno; then
3307 AMDEP_TRUE=
3308 AMDEP_FALSE='#'
3309 else
3310 AMDEP_TRUE='#'
3311 AMDEP_FALSE=
3315 ac_ext=c
3316 ac_cpp='$CPP $CPPFLAGS'
3317 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3318 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3319 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3320 if test -n "$ac_tool_prefix"; then
3321 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3322 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3324 printf %s "checking for $ac_word... " >&6; }
3325 if test ${ac_cv_prog_CC+y}
3326 then :
3327 printf %s "(cached) " >&6
3328 else case e in #(
3329 e) if test -n "$CC"; then
3330 ac_cv_prog_CC="$CC" # Let the user override the test.
3331 else
3332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3333 for as_dir in $PATH
3335 IFS=$as_save_IFS
3336 case $as_dir in #(((
3337 '') as_dir=./ ;;
3338 */) ;;
3339 *) as_dir=$as_dir/ ;;
3340 esac
3341 for ac_exec_ext in '' $ac_executable_extensions; do
3342 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3343 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3345 break 2
3347 done
3348 done
3349 IFS=$as_save_IFS
3351 fi ;;
3352 esac
3354 CC=$ac_cv_prog_CC
3355 if test -n "$CC"; then
3356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3357 printf "%s\n" "$CC" >&6; }
3358 else
3359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3360 printf "%s\n" "no" >&6; }
3365 if test -z "$ac_cv_prog_CC"; then
3366 ac_ct_CC=$CC
3367 # Extract the first word of "gcc", so it can be a program name with args.
3368 set dummy gcc; ac_word=$2
3369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3370 printf %s "checking for $ac_word... " >&6; }
3371 if test ${ac_cv_prog_ac_ct_CC+y}
3372 then :
3373 printf %s "(cached) " >&6
3374 else case e in #(
3375 e) if test -n "$ac_ct_CC"; then
3376 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3377 else
3378 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3379 for as_dir in $PATH
3381 IFS=$as_save_IFS
3382 case $as_dir in #(((
3383 '') as_dir=./ ;;
3384 */) ;;
3385 *) as_dir=$as_dir/ ;;
3386 esac
3387 for ac_exec_ext in '' $ac_executable_extensions; do
3388 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3389 ac_cv_prog_ac_ct_CC="gcc"
3390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3391 break 2
3393 done
3394 done
3395 IFS=$as_save_IFS
3397 fi ;;
3398 esac
3400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3401 if test -n "$ac_ct_CC"; then
3402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3403 printf "%s\n" "$ac_ct_CC" >&6; }
3404 else
3405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3406 printf "%s\n" "no" >&6; }
3409 if test "x$ac_ct_CC" = x; then
3410 CC=""
3411 else
3412 case $cross_compiling:$ac_tool_warned in
3413 yes:)
3414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3415 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3416 ac_tool_warned=yes ;;
3417 esac
3418 CC=$ac_ct_CC
3420 else
3421 CC="$ac_cv_prog_CC"
3424 if test -z "$CC"; then
3425 if test -n "$ac_tool_prefix"; then
3426 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3427 set dummy ${ac_tool_prefix}cc; ac_word=$2
3428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3429 printf %s "checking for $ac_word... " >&6; }
3430 if test ${ac_cv_prog_CC+y}
3431 then :
3432 printf %s "(cached) " >&6
3433 else case e in #(
3434 e) if test -n "$CC"; then
3435 ac_cv_prog_CC="$CC" # Let the user override the test.
3436 else
3437 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3438 for as_dir in $PATH
3440 IFS=$as_save_IFS
3441 case $as_dir in #(((
3442 '') as_dir=./ ;;
3443 */) ;;
3444 *) as_dir=$as_dir/ ;;
3445 esac
3446 for ac_exec_ext in '' $ac_executable_extensions; do
3447 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3448 ac_cv_prog_CC="${ac_tool_prefix}cc"
3449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3450 break 2
3452 done
3453 done
3454 IFS=$as_save_IFS
3456 fi ;;
3457 esac
3459 CC=$ac_cv_prog_CC
3460 if test -n "$CC"; then
3461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3462 printf "%s\n" "$CC" >&6; }
3463 else
3464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3465 printf "%s\n" "no" >&6; }
3471 if test -z "$CC"; then
3472 # Extract the first word of "cc", so it can be a program name with args.
3473 set dummy cc; ac_word=$2
3474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3475 printf %s "checking for $ac_word... " >&6; }
3476 if test ${ac_cv_prog_CC+y}
3477 then :
3478 printf %s "(cached) " >&6
3479 else case e in #(
3480 e) if test -n "$CC"; then
3481 ac_cv_prog_CC="$CC" # Let the user override the test.
3482 else
3483 ac_prog_rejected=no
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 for as_dir in $PATH
3487 IFS=$as_save_IFS
3488 case $as_dir in #(((
3489 '') as_dir=./ ;;
3490 */) ;;
3491 *) as_dir=$as_dir/ ;;
3492 esac
3493 for ac_exec_ext in '' $ac_executable_extensions; do
3494 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3495 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3496 ac_prog_rejected=yes
3497 continue
3499 ac_cv_prog_CC="cc"
3500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3501 break 2
3503 done
3504 done
3505 IFS=$as_save_IFS
3507 if test $ac_prog_rejected = yes; then
3508 # We found a bogon in the path, so make sure we never use it.
3509 set dummy $ac_cv_prog_CC
3510 shift
3511 if test $# != 0; then
3512 # We chose a different compiler from the bogus one.
3513 # However, it has the same basename, so the bogon will be chosen
3514 # first if we set CC to just the basename; use the full file name.
3515 shift
3516 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
3519 fi ;;
3520 esac
3522 CC=$ac_cv_prog_CC
3523 if test -n "$CC"; then
3524 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3525 printf "%s\n" "$CC" >&6; }
3526 else
3527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3528 printf "%s\n" "no" >&6; }
3533 if test -z "$CC"; then
3534 if test -n "$ac_tool_prefix"; then
3535 for ac_prog in cl.exe
3537 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3538 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3540 printf %s "checking for $ac_word... " >&6; }
3541 if test ${ac_cv_prog_CC+y}
3542 then :
3543 printf %s "(cached) " >&6
3544 else case e in #(
3545 e) if test -n "$CC"; then
3546 ac_cv_prog_CC="$CC" # Let the user override the test.
3547 else
3548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3549 for as_dir in $PATH
3551 IFS=$as_save_IFS
3552 case $as_dir in #(((
3553 '') as_dir=./ ;;
3554 */) ;;
3555 *) as_dir=$as_dir/ ;;
3556 esac
3557 for ac_exec_ext in '' $ac_executable_extensions; do
3558 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3559 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
3560 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3561 break 2
3563 done
3564 done
3565 IFS=$as_save_IFS
3567 fi ;;
3568 esac
3570 CC=$ac_cv_prog_CC
3571 if test -n "$CC"; then
3572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3573 printf "%s\n" "$CC" >&6; }
3574 else
3575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3576 printf "%s\n" "no" >&6; }
3580 test -n "$CC" && break
3581 done
3583 if test -z "$CC"; then
3584 ac_ct_CC=$CC
3585 for ac_prog in cl.exe
3587 # Extract the first word of "$ac_prog", so it can be a program name with args.
3588 set dummy $ac_prog; ac_word=$2
3589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3590 printf %s "checking for $ac_word... " >&6; }
3591 if test ${ac_cv_prog_ac_ct_CC+y}
3592 then :
3593 printf %s "(cached) " >&6
3594 else case e in #(
3595 e) if test -n "$ac_ct_CC"; then
3596 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3597 else
3598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3599 for as_dir in $PATH
3601 IFS=$as_save_IFS
3602 case $as_dir in #(((
3603 '') as_dir=./ ;;
3604 */) ;;
3605 *) as_dir=$as_dir/ ;;
3606 esac
3607 for ac_exec_ext in '' $ac_executable_extensions; do
3608 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3609 ac_cv_prog_ac_ct_CC="$ac_prog"
3610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3611 break 2
3613 done
3614 done
3615 IFS=$as_save_IFS
3617 fi ;;
3618 esac
3620 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3621 if test -n "$ac_ct_CC"; then
3622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3623 printf "%s\n" "$ac_ct_CC" >&6; }
3624 else
3625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3626 printf "%s\n" "no" >&6; }
3630 test -n "$ac_ct_CC" && break
3631 done
3633 if test "x$ac_ct_CC" = x; then
3634 CC=""
3635 else
3636 case $cross_compiling:$ac_tool_warned in
3637 yes:)
3638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3639 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3640 ac_tool_warned=yes ;;
3641 esac
3642 CC=$ac_ct_CC
3647 if test -z "$CC"; then
3648 if test -n "$ac_tool_prefix"; then
3649 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
3650 set dummy ${ac_tool_prefix}clang; ac_word=$2
3651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 printf %s "checking for $ac_word... " >&6; }
3653 if test ${ac_cv_prog_CC+y}
3654 then :
3655 printf %s "(cached) " >&6
3656 else case e in #(
3657 e) if test -n "$CC"; then
3658 ac_cv_prog_CC="$CC" # Let the user override the test.
3659 else
3660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3661 for as_dir in $PATH
3663 IFS=$as_save_IFS
3664 case $as_dir in #(((
3665 '') as_dir=./ ;;
3666 */) ;;
3667 *) as_dir=$as_dir/ ;;
3668 esac
3669 for ac_exec_ext in '' $ac_executable_extensions; do
3670 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3671 ac_cv_prog_CC="${ac_tool_prefix}clang"
3672 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3673 break 2
3675 done
3676 done
3677 IFS=$as_save_IFS
3679 fi ;;
3680 esac
3682 CC=$ac_cv_prog_CC
3683 if test -n "$CC"; then
3684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3685 printf "%s\n" "$CC" >&6; }
3686 else
3687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3688 printf "%s\n" "no" >&6; }
3693 if test -z "$ac_cv_prog_CC"; then
3694 ac_ct_CC=$CC
3695 # Extract the first word of "clang", so it can be a program name with args.
3696 set dummy clang; ac_word=$2
3697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3698 printf %s "checking for $ac_word... " >&6; }
3699 if test ${ac_cv_prog_ac_ct_CC+y}
3700 then :
3701 printf %s "(cached) " >&6
3702 else case e in #(
3703 e) if test -n "$ac_ct_CC"; then
3704 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3705 else
3706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3707 for as_dir in $PATH
3709 IFS=$as_save_IFS
3710 case $as_dir in #(((
3711 '') as_dir=./ ;;
3712 */) ;;
3713 *) as_dir=$as_dir/ ;;
3714 esac
3715 for ac_exec_ext in '' $ac_executable_extensions; do
3716 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
3717 ac_cv_prog_ac_ct_CC="clang"
3718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
3719 break 2
3721 done
3722 done
3723 IFS=$as_save_IFS
3725 fi ;;
3726 esac
3728 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3729 if test -n "$ac_ct_CC"; then
3730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3731 printf "%s\n" "$ac_ct_CC" >&6; }
3732 else
3733 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3734 printf "%s\n" "no" >&6; }
3737 if test "x$ac_ct_CC" = x; then
3738 CC=""
3739 else
3740 case $cross_compiling:$ac_tool_warned in
3741 yes:)
3742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3743 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3744 ac_tool_warned=yes ;;
3745 esac
3746 CC=$ac_ct_CC
3748 else
3749 CC="$ac_cv_prog_CC"
3755 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3756 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3757 as_fn_error $? "no acceptable C compiler found in \$PATH
3758 See 'config.log' for more details" "$LINENO" 5; }
3760 # Provide some information about the compiler.
3761 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
3762 set X $ac_compile
3763 ac_compiler=$2
3764 for ac_option in --version -v -V -qversion -version; do
3765 { { ac_try="$ac_compiler $ac_option >&5"
3766 case "(($ac_try" in
3767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3768 *) ac_try_echo=$ac_try;;
3769 esac
3770 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3771 printf "%s\n" "$ac_try_echo"; } >&5
3772 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
3773 ac_status=$?
3774 if test -s conftest.err; then
3775 sed '10a\
3776 ... rest of stderr output deleted ...
3777 10q' conftest.err >conftest.er1
3778 cat conftest.er1 >&5
3780 rm -f conftest.er1 conftest.err
3781 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3782 test $ac_status = 0; }
3783 done
3785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3786 /* end confdefs.h. */
3789 main (void)
3793 return 0;
3795 _ACEOF
3796 ac_clean_files_save=$ac_clean_files
3797 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
3798 # Try to create an executable without -o first, disregard a.out.
3799 # It will help us diagnose broken compilers, and finding out an intuition
3800 # of exeext.
3801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
3802 printf %s "checking whether the C compiler works... " >&6; }
3803 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
3805 # The possible output files:
3806 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
3808 ac_rmfiles=
3809 for ac_file in $ac_files
3811 case $ac_file in
3812 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3813 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3814 esac
3815 done
3816 rm -f $ac_rmfiles
3818 if { { ac_try="$ac_link_default"
3819 case "(($ac_try" in
3820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3821 *) ac_try_echo=$ac_try;;
3822 esac
3823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3824 printf "%s\n" "$ac_try_echo"; } >&5
3825 (eval "$ac_link_default") 2>&5
3826 ac_status=$?
3827 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3828 test $ac_status = 0; }
3829 then :
3830 # Autoconf-2.13 could set the ac_cv_exeext variable to 'no'.
3831 # So ignore a value of 'no', otherwise this would lead to 'EXEEXT = no'
3832 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3833 # so that the user can short-circuit this test for compilers unknown to
3834 # Autoconf.
3835 for ac_file in $ac_files ''
3837 test -f "$ac_file" || continue
3838 case $ac_file in
3839 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3841 [ab].out )
3842 # We found the default executable, but exeext='' is most
3843 # certainly right.
3844 break;;
3845 *.* )
3846 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3847 then :; else
3848 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3850 # We set ac_cv_exeext here because the later test for it is not
3851 # safe: cross compilers may not add the suffix if given an '-o'
3852 # argument, so we may need to know it at that point already.
3853 # Even if this section looks crufty: it has the advantage of
3854 # actually working.
3855 break;;
3857 break;;
3858 esac
3859 done
3860 test "$ac_cv_exeext" = no && ac_cv_exeext=
3862 else case e in #(
3863 e) ac_file='' ;;
3864 esac
3866 if test -z "$ac_file"
3867 then :
3868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3869 printf "%s\n" "no" >&6; }
3870 printf "%s\n" "$as_me: failed program was:" >&5
3871 sed 's/^/| /' conftest.$ac_ext >&5
3873 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3874 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3875 as_fn_error 77 "C compiler cannot create executables
3876 See 'config.log' for more details" "$LINENO" 5; }
3877 else case e in #(
3878 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3879 printf "%s\n" "yes" >&6; } ;;
3880 esac
3882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3883 printf %s "checking for C compiler default output file name... " >&6; }
3884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3885 printf "%s\n" "$ac_file" >&6; }
3886 ac_exeext=$ac_cv_exeext
3888 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3889 ac_clean_files=$ac_clean_files_save
3890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3891 printf %s "checking for suffix of executables... " >&6; }
3892 if { { ac_try="$ac_link"
3893 case "(($ac_try" in
3894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3895 *) ac_try_echo=$ac_try;;
3896 esac
3897 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3898 printf "%s\n" "$ac_try_echo"; } >&5
3899 (eval "$ac_link") 2>&5
3900 ac_status=$?
3901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3902 test $ac_status = 0; }
3903 then :
3904 # If both 'conftest.exe' and 'conftest' are 'present' (well, observable)
3905 # catch 'conftest.exe'. For instance with Cygwin, 'ls conftest' will
3906 # work properly (i.e., refer to 'conftest.exe'), while it won't with
3907 # 'rm'.
3908 for ac_file in conftest.exe conftest conftest.*; do
3909 test -f "$ac_file" || continue
3910 case $ac_file in
3911 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3912 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3913 break;;
3914 * ) break;;
3915 esac
3916 done
3917 else case e in #(
3918 e) { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3919 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3920 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3921 See 'config.log' for more details" "$LINENO" 5; } ;;
3922 esac
3924 rm -f conftest conftest$ac_cv_exeext
3925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3926 printf "%s\n" "$ac_cv_exeext" >&6; }
3928 rm -f conftest.$ac_ext
3929 EXEEXT=$ac_cv_exeext
3930 ac_exeext=$EXEEXT
3931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3932 /* end confdefs.h. */
3933 #include <stdio.h>
3935 main (void)
3937 FILE *f = fopen ("conftest.out", "w");
3938 if (!f)
3939 return 1;
3940 return ferror (f) || fclose (f) != 0;
3943 return 0;
3945 _ACEOF
3946 ac_clean_files="$ac_clean_files conftest.out"
3947 # Check that the compiler produces executables we can run. If not, either
3948 # the compiler is broken, or we cross compile.
3949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3950 printf %s "checking whether we are cross compiling... " >&6; }
3951 if test "$cross_compiling" != yes; then
3952 { { ac_try="$ac_link"
3953 case "(($ac_try" in
3954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3955 *) ac_try_echo=$ac_try;;
3956 esac
3957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3958 printf "%s\n" "$ac_try_echo"; } >&5
3959 (eval "$ac_link") 2>&5
3960 ac_status=$?
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3962 test $ac_status = 0; }
3963 if { ac_try='./conftest$ac_cv_exeext'
3964 { { case "(($ac_try" in
3965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3966 *) ac_try_echo=$ac_try;;
3967 esac
3968 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3969 printf "%s\n" "$ac_try_echo"; } >&5
3970 (eval "$ac_try") 2>&5
3971 ac_status=$?
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3973 test $ac_status = 0; }; }; then
3974 cross_compiling=no
3975 else
3976 if test "$cross_compiling" = maybe; then
3977 cross_compiling=yes
3978 else
3979 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
3980 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
3981 as_fn_error 77 "cannot run C compiled programs.
3982 If you meant to cross compile, use '--host'.
3983 See 'config.log' for more details" "$LINENO" 5; }
3987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3988 printf "%s\n" "$cross_compiling" >&6; }
3990 rm -f conftest.$ac_ext conftest$ac_cv_exeext \
3991 conftest.o conftest.obj conftest.out
3992 ac_clean_files=$ac_clean_files_save
3993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3994 printf %s "checking for suffix of object files... " >&6; }
3995 if test ${ac_cv_objext+y}
3996 then :
3997 printf %s "(cached) " >&6
3998 else case e in #(
3999 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4000 /* end confdefs.h. */
4003 main (void)
4007 return 0;
4009 _ACEOF
4010 rm -f conftest.o conftest.obj
4011 if { { ac_try="$ac_compile"
4012 case "(($ac_try" in
4013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4014 *) ac_try_echo=$ac_try;;
4015 esac
4016 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4017 printf "%s\n" "$ac_try_echo"; } >&5
4018 (eval "$ac_compile") 2>&5
4019 ac_status=$?
4020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4021 test $ac_status = 0; }
4022 then :
4023 for ac_file in conftest.o conftest.obj conftest.*; do
4024 test -f "$ac_file" || continue;
4025 case $ac_file in
4026 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4027 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4028 break;;
4029 esac
4030 done
4031 else case e in #(
4032 e) printf "%s\n" "$as_me: failed program was:" >&5
4033 sed 's/^/| /' conftest.$ac_ext >&5
4035 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
4036 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
4037 as_fn_error $? "cannot compute suffix of object files: cannot compile
4038 See 'config.log' for more details" "$LINENO" 5; } ;;
4039 esac
4041 rm -f conftest.$ac_cv_objext conftest.$ac_ext ;;
4042 esac
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4045 printf "%s\n" "$ac_cv_objext" >&6; }
4046 OBJEXT=$ac_cv_objext
4047 ac_objext=$OBJEXT
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
4049 printf %s "checking whether the compiler supports GNU C... " >&6; }
4050 if test ${ac_cv_c_compiler_gnu+y}
4051 then :
4052 printf %s "(cached) " >&6
4053 else case e in #(
4054 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4055 /* end confdefs.h. */
4058 main (void)
4060 #ifndef __GNUC__
4061 choke me
4062 #endif
4065 return 0;
4067 _ACEOF
4068 if ac_fn_c_try_compile "$LINENO"
4069 then :
4070 ac_compiler_gnu=yes
4071 else case e in #(
4072 e) ac_compiler_gnu=no ;;
4073 esac
4075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4076 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4078 esac
4080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4081 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4084 if test $ac_compiler_gnu = yes; then
4085 GCC=yes
4086 else
4087 GCC=
4089 ac_test_CFLAGS=${CFLAGS+y}
4090 ac_save_CFLAGS=$CFLAGS
4091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4092 printf %s "checking whether $CC accepts -g... " >&6; }
4093 if test ${ac_cv_prog_cc_g+y}
4094 then :
4095 printf %s "(cached) " >&6
4096 else case e in #(
4097 e) ac_save_c_werror_flag=$ac_c_werror_flag
4098 ac_c_werror_flag=yes
4099 ac_cv_prog_cc_g=no
4100 CFLAGS="-g"
4101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4102 /* end confdefs.h. */
4105 main (void)
4109 return 0;
4111 _ACEOF
4112 if ac_fn_c_try_compile "$LINENO"
4113 then :
4114 ac_cv_prog_cc_g=yes
4115 else case e in #(
4116 e) CFLAGS=""
4117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4118 /* end confdefs.h. */
4121 main (void)
4125 return 0;
4127 _ACEOF
4128 if ac_fn_c_try_compile "$LINENO"
4129 then :
4131 else case e in #(
4132 e) ac_c_werror_flag=$ac_save_c_werror_flag
4133 CFLAGS="-g"
4134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4135 /* end confdefs.h. */
4138 main (void)
4142 return 0;
4144 _ACEOF
4145 if ac_fn_c_try_compile "$LINENO"
4146 then :
4147 ac_cv_prog_cc_g=yes
4149 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4150 esac
4152 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4153 esac
4155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4156 ac_c_werror_flag=$ac_save_c_werror_flag ;;
4157 esac
4159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4160 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
4161 if test $ac_test_CFLAGS; then
4162 CFLAGS=$ac_save_CFLAGS
4163 elif test $ac_cv_prog_cc_g = yes; then
4164 if test "$GCC" = yes; then
4165 CFLAGS="-g -O2"
4166 else
4167 CFLAGS="-g"
4169 else
4170 if test "$GCC" = yes; then
4171 CFLAGS="-O2"
4172 else
4173 CFLAGS=
4176 ac_prog_cc_stdc=no
4177 if test x$ac_prog_cc_stdc = xno
4178 then :
4179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
4180 printf %s "checking for $CC option to enable C11 features... " >&6; }
4181 if test ${ac_cv_prog_cc_c11+y}
4182 then :
4183 printf %s "(cached) " >&6
4184 else case e in #(
4185 e) ac_cv_prog_cc_c11=no
4186 ac_save_CC=$CC
4187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4188 /* end confdefs.h. */
4189 $ac_c_conftest_c11_program
4190 _ACEOF
4191 for ac_arg in '' -std=gnu11
4193 CC="$ac_save_CC $ac_arg"
4194 if ac_fn_c_try_compile "$LINENO"
4195 then :
4196 ac_cv_prog_cc_c11=$ac_arg
4198 rm -f core conftest.err conftest.$ac_objext conftest.beam
4199 test "x$ac_cv_prog_cc_c11" != "xno" && break
4200 done
4201 rm -f conftest.$ac_ext
4202 CC=$ac_save_CC ;;
4203 esac
4206 if test "x$ac_cv_prog_cc_c11" = xno
4207 then :
4208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4209 printf "%s\n" "unsupported" >&6; }
4210 else case e in #(
4211 e) if test "x$ac_cv_prog_cc_c11" = x
4212 then :
4213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4214 printf "%s\n" "none needed" >&6; }
4215 else case e in #(
4216 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
4217 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
4218 CC="$CC $ac_cv_prog_cc_c11" ;;
4219 esac
4221 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
4222 ac_prog_cc_stdc=c11 ;;
4223 esac
4226 if test x$ac_prog_cc_stdc = xno
4227 then :
4228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
4229 printf %s "checking for $CC option to enable C99 features... " >&6; }
4230 if test ${ac_cv_prog_cc_c99+y}
4231 then :
4232 printf %s "(cached) " >&6
4233 else case e in #(
4234 e) ac_cv_prog_cc_c99=no
4235 ac_save_CC=$CC
4236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4237 /* end confdefs.h. */
4238 $ac_c_conftest_c99_program
4239 _ACEOF
4240 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
4242 CC="$ac_save_CC $ac_arg"
4243 if ac_fn_c_try_compile "$LINENO"
4244 then :
4245 ac_cv_prog_cc_c99=$ac_arg
4247 rm -f core conftest.err conftest.$ac_objext conftest.beam
4248 test "x$ac_cv_prog_cc_c99" != "xno" && break
4249 done
4250 rm -f conftest.$ac_ext
4251 CC=$ac_save_CC ;;
4252 esac
4255 if test "x$ac_cv_prog_cc_c99" = xno
4256 then :
4257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4258 printf "%s\n" "unsupported" >&6; }
4259 else case e in #(
4260 e) if test "x$ac_cv_prog_cc_c99" = x
4261 then :
4262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4263 printf "%s\n" "none needed" >&6; }
4264 else case e in #(
4265 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
4266 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
4267 CC="$CC $ac_cv_prog_cc_c99" ;;
4268 esac
4270 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
4271 ac_prog_cc_stdc=c99 ;;
4272 esac
4275 if test x$ac_prog_cc_stdc = xno
4276 then :
4277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
4278 printf %s "checking for $CC option to enable C89 features... " >&6; }
4279 if test ${ac_cv_prog_cc_c89+y}
4280 then :
4281 printf %s "(cached) " >&6
4282 else case e in #(
4283 e) ac_cv_prog_cc_c89=no
4284 ac_save_CC=$CC
4285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4286 /* end confdefs.h. */
4287 $ac_c_conftest_c89_program
4288 _ACEOF
4289 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4291 CC="$ac_save_CC $ac_arg"
4292 if ac_fn_c_try_compile "$LINENO"
4293 then :
4294 ac_cv_prog_cc_c89=$ac_arg
4296 rm -f core conftest.err conftest.$ac_objext conftest.beam
4297 test "x$ac_cv_prog_cc_c89" != "xno" && break
4298 done
4299 rm -f conftest.$ac_ext
4300 CC=$ac_save_CC ;;
4301 esac
4304 if test "x$ac_cv_prog_cc_c89" = xno
4305 then :
4306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4307 printf "%s\n" "unsupported" >&6; }
4308 else case e in #(
4309 e) if test "x$ac_cv_prog_cc_c89" = x
4310 then :
4311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4312 printf "%s\n" "none needed" >&6; }
4313 else case e in #(
4314 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4315 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
4316 CC="$CC $ac_cv_prog_cc_c89" ;;
4317 esac
4319 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
4320 ac_prog_cc_stdc=c89 ;;
4321 esac
4325 ac_ext=c
4326 ac_cpp='$CPP $CPPFLAGS'
4327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332 ac_ext=c
4333 ac_cpp='$CPP $CPPFLAGS'
4334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4338 printf %s "checking whether $CC understands -c and -o together... " >&6; }
4339 if test ${am_cv_prog_cc_c_o+y}
4340 then :
4341 printf %s "(cached) " >&6
4342 else case e in #(
4343 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4344 /* end confdefs.h. */
4347 main (void)
4351 return 0;
4353 _ACEOF
4354 # Make sure it works both with $CC and with simple cc.
4355 # Following AC_PROG_CC_C_O, we do the test twice because some
4356 # compilers refuse to overwrite an existing .o file with -o,
4357 # though they will create one.
4358 am_cv_prog_cc_c_o=yes
4359 for am_i in 1 2; do
4360 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4361 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4362 ac_status=$?
4363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4364 (exit $ac_status); } \
4365 && test -f conftest2.$ac_objext; then
4366 : OK
4367 else
4368 am_cv_prog_cc_c_o=no
4369 break
4371 done
4372 rm -f core conftest*
4373 unset am_i ;;
4374 esac
4376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4377 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
4378 if test "$am_cv_prog_cc_c_o" != yes; then
4379 # Losing compiler, so override with the script.
4380 # FIXME: It is wrong to rewrite CC.
4381 # But if we don't then we get into trouble of one sort or another.
4382 # A longer-term fix would be to have automake use am__CC in this case,
4383 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4384 CC="$am_aux_dir/compile $CC"
4386 ac_ext=c
4387 ac_cpp='$CPP $CPPFLAGS'
4388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4393 depcc="$CC" am_compiler_list=
4395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
4396 printf %s "checking dependency style of $depcc... " >&6; }
4397 if test ${am_cv_CC_dependencies_compiler_type+y}
4398 then :
4399 printf %s "(cached) " >&6
4400 else case e in #(
4401 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
4402 # We make a subdir and do the tests there. Otherwise we can end up
4403 # making bogus files that we don't know about and never remove. For
4404 # instance it was reported that on HP-UX the gcc test will end up
4405 # making a dummy file named 'D' -- because '-MD' means "put the output
4406 # in D".
4407 rm -rf conftest.dir
4408 mkdir conftest.dir
4409 # Copy depcomp to subdir because otherwise we won't find it if we're
4410 # using a relative directory.
4411 cp "$am_depcomp" conftest.dir
4412 cd conftest.dir
4413 # We will build objects and dependencies in a subdirectory because
4414 # it helps to detect inapplicable dependency modes. For instance
4415 # both Tru64's cc and ICC support -MD to output dependencies as a
4416 # side effect of compilation, but ICC will put the dependencies in
4417 # the current directory while Tru64 will put them in the object
4418 # directory.
4419 mkdir sub
4421 am_cv_CC_dependencies_compiler_type=none
4422 if test "$am_compiler_list" = ""; then
4423 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
4425 am__universal=false
4426 case " $depcc " in #(
4427 *\ -arch\ *\ -arch\ *) am__universal=true ;;
4428 esac
4430 for depmode in $am_compiler_list; do
4431 # Setup a source with many dependencies, because some compilers
4432 # like to wrap large dependency lists on column 80 (with \), and
4433 # we should not choose a depcomp mode which is confused by this.
4435 # We need to recreate these files for each test, as the compiler may
4436 # overwrite some of them when testing with obscure command lines.
4437 # This happens at least with the AIX C compiler.
4438 : > sub/conftest.c
4439 for i in 1 2 3 4 5 6; do
4440 echo '#include "conftst'$i'.h"' >> sub/conftest.c
4441 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
4442 # Solaris 10 /bin/sh.
4443 echo '/* dummy */' > sub/conftst$i.h
4444 done
4445 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
4447 # We check with '-c' and '-o' for the sake of the "dashmstdout"
4448 # mode. It turns out that the SunPro C++ compiler does not properly
4449 # handle '-M -o', and we need to detect this. Also, some Intel
4450 # versions had trouble with output in subdirs.
4451 am__obj=sub/conftest.${OBJEXT-o}
4452 am__minus_obj="-o $am__obj"
4453 case $depmode in
4454 gcc)
4455 # This depmode causes a compiler race in universal mode.
4456 test "$am__universal" = false || continue
4458 nosideeffect)
4459 # After this tag, mechanisms are not by side-effect, so they'll
4460 # only be used when explicitly requested.
4461 if test "x$enable_dependency_tracking" = xyes; then
4462 continue
4463 else
4464 break
4467 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
4468 # This compiler won't grok '-c -o', but also, the minuso test has
4469 # not run yet. These depmodes are late enough in the game, and
4470 # so weak that their functioning should not be impacted.
4471 am__obj=conftest.${OBJEXT-o}
4472 am__minus_obj=
4474 none) break ;;
4475 esac
4476 if depmode=$depmode \
4477 source=sub/conftest.c object=$am__obj \
4478 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
4479 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
4480 >/dev/null 2>conftest.err &&
4481 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
4482 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
4483 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
4484 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
4485 # icc doesn't choke on unknown options, it will just issue warnings
4486 # or remarks (even with -Werror). So we grep stderr for any message
4487 # that says an option was ignored or not supported.
4488 # When given -MP, icc 7.0 and 7.1 complain thusly:
4489 # icc: Command line warning: ignoring option '-M'; no argument required
4490 # The diagnosis changed in icc 8.0:
4491 # icc: Command line remark: option '-MP' not supported
4492 if (grep 'ignoring option' conftest.err ||
4493 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
4494 am_cv_CC_dependencies_compiler_type=$depmode
4495 break
4498 done
4500 cd ..
4501 rm -rf conftest.dir
4502 else
4503 am_cv_CC_dependencies_compiler_type=none
4506 esac
4508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
4509 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
4510 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
4513 test "x$enable_dependency_tracking" != xno \
4514 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
4515 am__fastdepCC_TRUE=
4516 am__fastdepCC_FALSE='#'
4517 else
4518 am__fastdepCC_TRUE='#'
4519 am__fastdepCC_FALSE=
4524 ac_header= ac_cache=
4525 for ac_item in $ac_header_c_list
4527 if test $ac_cache; then
4528 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
4529 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
4530 printf "%s\n" "#define $ac_item 1" >> confdefs.h
4532 ac_header= ac_cache=
4533 elif test $ac_header; then
4534 ac_cache=$ac_item
4535 else
4536 ac_header=$ac_item
4538 done
4547 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
4548 then :
4550 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
4559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether it is safe to define __EXTENSIONS__" >&5
4560 printf %s "checking whether it is safe to define __EXTENSIONS__... " >&6; }
4561 if test ${ac_cv_safe_to_define___extensions__+y}
4562 then :
4563 printf %s "(cached) " >&6
4564 else case e in #(
4565 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4566 /* end confdefs.h. */
4568 # define __EXTENSIONS__ 1
4569 $ac_includes_default
4571 main (void)
4575 return 0;
4577 _ACEOF
4578 if ac_fn_c_try_compile "$LINENO"
4579 then :
4580 ac_cv_safe_to_define___extensions__=yes
4581 else case e in #(
4582 e) ac_cv_safe_to_define___extensions__=no ;;
4583 esac
4585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4586 esac
4588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_safe_to_define___extensions__" >&5
4589 printf "%s\n" "$ac_cv_safe_to_define___extensions__" >&6; }
4591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether _XOPEN_SOURCE should be defined" >&5
4592 printf %s "checking whether _XOPEN_SOURCE should be defined... " >&6; }
4593 if test ${ac_cv_should_define__xopen_source+y}
4594 then :
4595 printf %s "(cached) " >&6
4596 else case e in #(
4597 e) ac_cv_should_define__xopen_source=no
4598 if test $ac_cv_header_wchar_h = yes
4599 then :
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4603 #include <wchar.h>
4604 mbstate_t x;
4606 main (void)
4610 return 0;
4612 _ACEOF
4613 if ac_fn_c_try_compile "$LINENO"
4614 then :
4616 else case e in #(
4617 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4618 /* end confdefs.h. */
4620 #define _XOPEN_SOURCE 500
4621 #include <wchar.h>
4622 mbstate_t x;
4624 main (void)
4628 return 0;
4630 _ACEOF
4631 if ac_fn_c_try_compile "$LINENO"
4632 then :
4633 ac_cv_should_define__xopen_source=yes
4635 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
4636 esac
4638 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4639 fi ;;
4640 esac
4642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_should_define__xopen_source" >&5
4643 printf "%s\n" "$ac_cv_should_define__xopen_source" >&6; }
4645 printf "%s\n" "#define _ALL_SOURCE 1" >>confdefs.h
4647 printf "%s\n" "#define _DARWIN_C_SOURCE 1" >>confdefs.h
4649 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
4651 printf "%s\n" "#define _HPUX_ALT_XOPEN_SOCKET_API 1" >>confdefs.h
4653 printf "%s\n" "#define _NETBSD_SOURCE 1" >>confdefs.h
4655 printf "%s\n" "#define _OPENBSD_SOURCE 1" >>confdefs.h
4657 printf "%s\n" "#define _POSIX_PTHREAD_SEMANTICS 1" >>confdefs.h
4659 printf "%s\n" "#define __STDC_WANT_IEC_60559_ATTRIBS_EXT__ 1" >>confdefs.h
4661 printf "%s\n" "#define __STDC_WANT_IEC_60559_BFP_EXT__ 1" >>confdefs.h
4663 printf "%s\n" "#define __STDC_WANT_IEC_60559_DFP_EXT__ 1" >>confdefs.h
4665 printf "%s\n" "#define __STDC_WANT_IEC_60559_EXT__ 1" >>confdefs.h
4667 printf "%s\n" "#define __STDC_WANT_IEC_60559_FUNCS_EXT__ 1" >>confdefs.h
4669 printf "%s\n" "#define __STDC_WANT_IEC_60559_TYPES_EXT__ 1" >>confdefs.h
4671 printf "%s\n" "#define __STDC_WANT_LIB_EXT2__ 1" >>confdefs.h
4673 printf "%s\n" "#define __STDC_WANT_MATH_SPEC_FUNCS__ 1" >>confdefs.h
4675 printf "%s\n" "#define _TANDEM_SOURCE 1" >>confdefs.h
4677 if test $ac_cv_header_minix_config_h = yes
4678 then :
4679 MINIX=yes
4680 printf "%s\n" "#define _MINIX 1" >>confdefs.h
4682 printf "%s\n" "#define _POSIX_SOURCE 1" >>confdefs.h
4684 printf "%s\n" "#define _POSIX_1_SOURCE 2" >>confdefs.h
4686 else case e in #(
4687 e) MINIX= ;;
4688 esac
4690 if test $ac_cv_safe_to_define___extensions__ = yes
4691 then :
4692 printf "%s\n" "#define __EXTENSIONS__ 1" >>confdefs.h
4695 if test $ac_cv_should_define__xopen_source = yes
4696 then :
4697 printf "%s\n" "#define _XOPEN_SOURCE 500" >>confdefs.h
4701 for ac_prog in gawk mawk nawk awk
4703 # Extract the first word of "$ac_prog", so it can be a program name with args.
4704 set dummy $ac_prog; ac_word=$2
4705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4706 printf %s "checking for $ac_word... " >&6; }
4707 if test ${ac_cv_prog_AWK+y}
4708 then :
4709 printf %s "(cached) " >&6
4710 else case e in #(
4711 e) if test -n "$AWK"; then
4712 ac_cv_prog_AWK="$AWK" # Let the user override the test.
4713 else
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH
4717 IFS=$as_save_IFS
4718 case $as_dir in #(((
4719 '') as_dir=./ ;;
4720 */) ;;
4721 *) as_dir=$as_dir/ ;;
4722 esac
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4725 ac_cv_prog_AWK="$ac_prog"
4726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4727 break 2
4729 done
4730 done
4731 IFS=$as_save_IFS
4733 fi ;;
4734 esac
4736 AWK=$ac_cv_prog_AWK
4737 if test -n "$AWK"; then
4738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
4739 printf "%s\n" "$AWK" >&6; }
4740 else
4741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4742 printf "%s\n" "no" >&6; }
4746 test -n "$AWK" && break
4747 done
4749 ac_ext=c
4750 ac_cpp='$CPP $CPPFLAGS'
4751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4754 if test -n "$ac_tool_prefix"; then
4755 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4756 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4758 printf %s "checking for $ac_word... " >&6; }
4759 if test ${ac_cv_prog_CC+y}
4760 then :
4761 printf %s "(cached) " >&6
4762 else case e in #(
4763 e) if test -n "$CC"; then
4764 ac_cv_prog_CC="$CC" # Let the user override the test.
4765 else
4766 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4767 for as_dir in $PATH
4769 IFS=$as_save_IFS
4770 case $as_dir in #(((
4771 '') as_dir=./ ;;
4772 */) ;;
4773 *) as_dir=$as_dir/ ;;
4774 esac
4775 for ac_exec_ext in '' $ac_executable_extensions; do
4776 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4777 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4779 break 2
4781 done
4782 done
4783 IFS=$as_save_IFS
4785 fi ;;
4786 esac
4788 CC=$ac_cv_prog_CC
4789 if test -n "$CC"; then
4790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4791 printf "%s\n" "$CC" >&6; }
4792 else
4793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4794 printf "%s\n" "no" >&6; }
4799 if test -z "$ac_cv_prog_CC"; then
4800 ac_ct_CC=$CC
4801 # Extract the first word of "gcc", so it can be a program name with args.
4802 set dummy gcc; ac_word=$2
4803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4804 printf %s "checking for $ac_word... " >&6; }
4805 if test ${ac_cv_prog_ac_ct_CC+y}
4806 then :
4807 printf %s "(cached) " >&6
4808 else case e in #(
4809 e) if test -n "$ac_ct_CC"; then
4810 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4811 else
4812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4813 for as_dir in $PATH
4815 IFS=$as_save_IFS
4816 case $as_dir in #(((
4817 '') as_dir=./ ;;
4818 */) ;;
4819 *) as_dir=$as_dir/ ;;
4820 esac
4821 for ac_exec_ext in '' $ac_executable_extensions; do
4822 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4823 ac_cv_prog_ac_ct_CC="gcc"
4824 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4825 break 2
4827 done
4828 done
4829 IFS=$as_save_IFS
4831 fi ;;
4832 esac
4834 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4835 if test -n "$ac_ct_CC"; then
4836 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4837 printf "%s\n" "$ac_ct_CC" >&6; }
4838 else
4839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4840 printf "%s\n" "no" >&6; }
4843 if test "x$ac_ct_CC" = x; then
4844 CC=""
4845 else
4846 case $cross_compiling:$ac_tool_warned in
4847 yes:)
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4849 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4850 ac_tool_warned=yes ;;
4851 esac
4852 CC=$ac_ct_CC
4854 else
4855 CC="$ac_cv_prog_CC"
4858 if test -z "$CC"; then
4859 if test -n "$ac_tool_prefix"; then
4860 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4861 set dummy ${ac_tool_prefix}cc; ac_word=$2
4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 printf %s "checking for $ac_word... " >&6; }
4864 if test ${ac_cv_prog_CC+y}
4865 then :
4866 printf %s "(cached) " >&6
4867 else case e in #(
4868 e) if test -n "$CC"; then
4869 ac_cv_prog_CC="$CC" # Let the user override the test.
4870 else
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 for as_dir in $PATH
4874 IFS=$as_save_IFS
4875 case $as_dir in #(((
4876 '') as_dir=./ ;;
4877 */) ;;
4878 *) as_dir=$as_dir/ ;;
4879 esac
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_CC="${ac_tool_prefix}cc"
4883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4884 break 2
4886 done
4887 done
4888 IFS=$as_save_IFS
4890 fi ;;
4891 esac
4893 CC=$ac_cv_prog_CC
4894 if test -n "$CC"; then
4895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4896 printf "%s\n" "$CC" >&6; }
4897 else
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 printf "%s\n" "no" >&6; }
4905 if test -z "$CC"; then
4906 # Extract the first word of "cc", so it can be a program name with args.
4907 set dummy cc; ac_word=$2
4908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4909 printf %s "checking for $ac_word... " >&6; }
4910 if test ${ac_cv_prog_CC+y}
4911 then :
4912 printf %s "(cached) " >&6
4913 else case e in #(
4914 e) if test -n "$CC"; then
4915 ac_cv_prog_CC="$CC" # Let the user override the test.
4916 else
4917 ac_prog_rejected=no
4918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4919 for as_dir in $PATH
4921 IFS=$as_save_IFS
4922 case $as_dir in #(((
4923 '') as_dir=./ ;;
4924 */) ;;
4925 *) as_dir=$as_dir/ ;;
4926 esac
4927 for ac_exec_ext in '' $ac_executable_extensions; do
4928 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4929 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4930 ac_prog_rejected=yes
4931 continue
4933 ac_cv_prog_CC="cc"
4934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4935 break 2
4937 done
4938 done
4939 IFS=$as_save_IFS
4941 if test $ac_prog_rejected = yes; then
4942 # We found a bogon in the path, so make sure we never use it.
4943 set dummy $ac_cv_prog_CC
4944 shift
4945 if test $# != 0; then
4946 # We chose a different compiler from the bogus one.
4947 # However, it has the same basename, so the bogon will be chosen
4948 # first if we set CC to just the basename; use the full file name.
4949 shift
4950 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4953 fi ;;
4954 esac
4956 CC=$ac_cv_prog_CC
4957 if test -n "$CC"; then
4958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4959 printf "%s\n" "$CC" >&6; }
4960 else
4961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4962 printf "%s\n" "no" >&6; }
4967 if test -z "$CC"; then
4968 if test -n "$ac_tool_prefix"; then
4969 for ac_prog in cl.exe
4971 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4972 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4974 printf %s "checking for $ac_word... " >&6; }
4975 if test ${ac_cv_prog_CC+y}
4976 then :
4977 printf %s "(cached) " >&6
4978 else case e in #(
4979 e) if test -n "$CC"; then
4980 ac_cv_prog_CC="$CC" # Let the user override the test.
4981 else
4982 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4983 for as_dir in $PATH
4985 IFS=$as_save_IFS
4986 case $as_dir in #(((
4987 '') as_dir=./ ;;
4988 */) ;;
4989 *) as_dir=$as_dir/ ;;
4990 esac
4991 for ac_exec_ext in '' $ac_executable_extensions; do
4992 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4993 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4994 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4995 break 2
4997 done
4998 done
4999 IFS=$as_save_IFS
5001 fi ;;
5002 esac
5004 CC=$ac_cv_prog_CC
5005 if test -n "$CC"; then
5006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5007 printf "%s\n" "$CC" >&6; }
5008 else
5009 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5010 printf "%s\n" "no" >&6; }
5014 test -n "$CC" && break
5015 done
5017 if test -z "$CC"; then
5018 ac_ct_CC=$CC
5019 for ac_prog in cl.exe
5021 # Extract the first word of "$ac_prog", so it can be a program name with args.
5022 set dummy $ac_prog; ac_word=$2
5023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5024 printf %s "checking for $ac_word... " >&6; }
5025 if test ${ac_cv_prog_ac_ct_CC+y}
5026 then :
5027 printf %s "(cached) " >&6
5028 else case e in #(
5029 e) if test -n "$ac_ct_CC"; then
5030 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5031 else
5032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5033 for as_dir in $PATH
5035 IFS=$as_save_IFS
5036 case $as_dir in #(((
5037 '') as_dir=./ ;;
5038 */) ;;
5039 *) as_dir=$as_dir/ ;;
5040 esac
5041 for ac_exec_ext in '' $ac_executable_extensions; do
5042 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5043 ac_cv_prog_ac_ct_CC="$ac_prog"
5044 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5045 break 2
5047 done
5048 done
5049 IFS=$as_save_IFS
5051 fi ;;
5052 esac
5054 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5055 if test -n "$ac_ct_CC"; then
5056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5057 printf "%s\n" "$ac_ct_CC" >&6; }
5058 else
5059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5060 printf "%s\n" "no" >&6; }
5064 test -n "$ac_ct_CC" && break
5065 done
5067 if test "x$ac_ct_CC" = x; then
5068 CC=""
5069 else
5070 case $cross_compiling:$ac_tool_warned in
5071 yes:)
5072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5073 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5074 ac_tool_warned=yes ;;
5075 esac
5076 CC=$ac_ct_CC
5081 if test -z "$CC"; then
5082 if test -n "$ac_tool_prefix"; then
5083 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
5084 set dummy ${ac_tool_prefix}clang; ac_word=$2
5085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5086 printf %s "checking for $ac_word... " >&6; }
5087 if test ${ac_cv_prog_CC+y}
5088 then :
5089 printf %s "(cached) " >&6
5090 else case e in #(
5091 e) if test -n "$CC"; then
5092 ac_cv_prog_CC="$CC" # Let the user override the test.
5093 else
5094 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5095 for as_dir in $PATH
5097 IFS=$as_save_IFS
5098 case $as_dir in #(((
5099 '') as_dir=./ ;;
5100 */) ;;
5101 *) as_dir=$as_dir/ ;;
5102 esac
5103 for ac_exec_ext in '' $ac_executable_extensions; do
5104 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5105 ac_cv_prog_CC="${ac_tool_prefix}clang"
5106 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5107 break 2
5109 done
5110 done
5111 IFS=$as_save_IFS
5113 fi ;;
5114 esac
5116 CC=$ac_cv_prog_CC
5117 if test -n "$CC"; then
5118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
5119 printf "%s\n" "$CC" >&6; }
5120 else
5121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5122 printf "%s\n" "no" >&6; }
5127 if test -z "$ac_cv_prog_CC"; then
5128 ac_ct_CC=$CC
5129 # Extract the first word of "clang", so it can be a program name with args.
5130 set dummy clang; ac_word=$2
5131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5132 printf %s "checking for $ac_word... " >&6; }
5133 if test ${ac_cv_prog_ac_ct_CC+y}
5134 then :
5135 printf %s "(cached) " >&6
5136 else case e in #(
5137 e) if test -n "$ac_ct_CC"; then
5138 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5139 else
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 for as_dir in $PATH
5143 IFS=$as_save_IFS
5144 case $as_dir in #(((
5145 '') as_dir=./ ;;
5146 */) ;;
5147 *) as_dir=$as_dir/ ;;
5148 esac
5149 for ac_exec_ext in '' $ac_executable_extensions; do
5150 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5151 ac_cv_prog_ac_ct_CC="clang"
5152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5153 break 2
5155 done
5156 done
5157 IFS=$as_save_IFS
5159 fi ;;
5160 esac
5162 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5163 if test -n "$ac_ct_CC"; then
5164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5165 printf "%s\n" "$ac_ct_CC" >&6; }
5166 else
5167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 printf "%s\n" "no" >&6; }
5171 if test "x$ac_ct_CC" = x; then
5172 CC=""
5173 else
5174 case $cross_compiling:$ac_tool_warned in
5175 yes:)
5176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5177 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5178 ac_tool_warned=yes ;;
5179 esac
5180 CC=$ac_ct_CC
5182 else
5183 CC="$ac_cv_prog_CC"
5189 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
5190 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
5191 as_fn_error $? "no acceptable C compiler found in \$PATH
5192 See 'config.log' for more details" "$LINENO" 5; }
5194 # Provide some information about the compiler.
5195 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5196 set X $ac_compile
5197 ac_compiler=$2
5198 for ac_option in --version -v -V -qversion -version; do
5199 { { ac_try="$ac_compiler $ac_option >&5"
5200 case "(($ac_try" in
5201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5202 *) ac_try_echo=$ac_try;;
5203 esac
5204 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5205 printf "%s\n" "$ac_try_echo"; } >&5
5206 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5207 ac_status=$?
5208 if test -s conftest.err; then
5209 sed '10a\
5210 ... rest of stderr output deleted ...
5211 10q' conftest.err >conftest.er1
5212 cat conftest.er1 >&5
5214 rm -f conftest.er1 conftest.err
5215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5216 test $ac_status = 0; }
5217 done
5219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5220 printf %s "checking whether the compiler supports GNU C... " >&6; }
5221 if test ${ac_cv_c_compiler_gnu+y}
5222 then :
5223 printf %s "(cached) " >&6
5224 else case e in #(
5225 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5226 /* end confdefs.h. */
5229 main (void)
5231 #ifndef __GNUC__
5232 choke me
5233 #endif
5236 return 0;
5238 _ACEOF
5239 if ac_fn_c_try_compile "$LINENO"
5240 then :
5241 ac_compiler_gnu=yes
5242 else case e in #(
5243 e) ac_compiler_gnu=no ;;
5244 esac
5246 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5247 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5249 esac
5251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5252 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5255 if test $ac_compiler_gnu = yes; then
5256 GCC=yes
5257 else
5258 GCC=
5260 ac_test_CFLAGS=${CFLAGS+y}
5261 ac_save_CFLAGS=$CFLAGS
5262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5263 printf %s "checking whether $CC accepts -g... " >&6; }
5264 if test ${ac_cv_prog_cc_g+y}
5265 then :
5266 printf %s "(cached) " >&6
5267 else case e in #(
5268 e) ac_save_c_werror_flag=$ac_c_werror_flag
5269 ac_c_werror_flag=yes
5270 ac_cv_prog_cc_g=no
5271 CFLAGS="-g"
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5276 main (void)
5280 return 0;
5282 _ACEOF
5283 if ac_fn_c_try_compile "$LINENO"
5284 then :
5285 ac_cv_prog_cc_g=yes
5286 else case e in #(
5287 e) CFLAGS=""
5288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5289 /* end confdefs.h. */
5292 main (void)
5296 return 0;
5298 _ACEOF
5299 if ac_fn_c_try_compile "$LINENO"
5300 then :
5302 else case e in #(
5303 e) ac_c_werror_flag=$ac_save_c_werror_flag
5304 CFLAGS="-g"
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5309 main (void)
5313 return 0;
5315 _ACEOF
5316 if ac_fn_c_try_compile "$LINENO"
5317 then :
5318 ac_cv_prog_cc_g=yes
5320 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5321 esac
5323 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
5324 esac
5326 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5327 ac_c_werror_flag=$ac_save_c_werror_flag ;;
5328 esac
5330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5331 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5332 if test $ac_test_CFLAGS; then
5333 CFLAGS=$ac_save_CFLAGS
5334 elif test $ac_cv_prog_cc_g = yes; then
5335 if test "$GCC" = yes; then
5336 CFLAGS="-g -O2"
5337 else
5338 CFLAGS="-g"
5340 else
5341 if test "$GCC" = yes; then
5342 CFLAGS="-O2"
5343 else
5344 CFLAGS=
5347 ac_prog_cc_stdc=no
5348 if test x$ac_prog_cc_stdc = xno
5349 then :
5350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5351 printf %s "checking for $CC option to enable C11 features... " >&6; }
5352 if test ${ac_cv_prog_cc_c11+y}
5353 then :
5354 printf %s "(cached) " >&6
5355 else case e in #(
5356 e) ac_cv_prog_cc_c11=no
5357 ac_save_CC=$CC
5358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5359 /* end confdefs.h. */
5360 $ac_c_conftest_c11_program
5361 _ACEOF
5362 for ac_arg in '' -std=gnu11
5364 CC="$ac_save_CC $ac_arg"
5365 if ac_fn_c_try_compile "$LINENO"
5366 then :
5367 ac_cv_prog_cc_c11=$ac_arg
5369 rm -f core conftest.err conftest.$ac_objext conftest.beam
5370 test "x$ac_cv_prog_cc_c11" != "xno" && break
5371 done
5372 rm -f conftest.$ac_ext
5373 CC=$ac_save_CC ;;
5374 esac
5377 if test "x$ac_cv_prog_cc_c11" = xno
5378 then :
5379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5380 printf "%s\n" "unsupported" >&6; }
5381 else case e in #(
5382 e) if test "x$ac_cv_prog_cc_c11" = x
5383 then :
5384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5385 printf "%s\n" "none needed" >&6; }
5386 else case e in #(
5387 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5388 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5389 CC="$CC $ac_cv_prog_cc_c11" ;;
5390 esac
5392 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5393 ac_prog_cc_stdc=c11 ;;
5394 esac
5397 if test x$ac_prog_cc_stdc = xno
5398 then :
5399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5400 printf %s "checking for $CC option to enable C99 features... " >&6; }
5401 if test ${ac_cv_prog_cc_c99+y}
5402 then :
5403 printf %s "(cached) " >&6
5404 else case e in #(
5405 e) ac_cv_prog_cc_c99=no
5406 ac_save_CC=$CC
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5409 $ac_c_conftest_c99_program
5410 _ACEOF
5411 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5413 CC="$ac_save_CC $ac_arg"
5414 if ac_fn_c_try_compile "$LINENO"
5415 then :
5416 ac_cv_prog_cc_c99=$ac_arg
5418 rm -f core conftest.err conftest.$ac_objext conftest.beam
5419 test "x$ac_cv_prog_cc_c99" != "xno" && break
5420 done
5421 rm -f conftest.$ac_ext
5422 CC=$ac_save_CC ;;
5423 esac
5426 if test "x$ac_cv_prog_cc_c99" = xno
5427 then :
5428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5429 printf "%s\n" "unsupported" >&6; }
5430 else case e in #(
5431 e) if test "x$ac_cv_prog_cc_c99" = x
5432 then :
5433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5434 printf "%s\n" "none needed" >&6; }
5435 else case e in #(
5436 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5437 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5438 CC="$CC $ac_cv_prog_cc_c99" ;;
5439 esac
5441 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5442 ac_prog_cc_stdc=c99 ;;
5443 esac
5446 if test x$ac_prog_cc_stdc = xno
5447 then :
5448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5449 printf %s "checking for $CC option to enable C89 features... " >&6; }
5450 if test ${ac_cv_prog_cc_c89+y}
5451 then :
5452 printf %s "(cached) " >&6
5453 else case e in #(
5454 e) ac_cv_prog_cc_c89=no
5455 ac_save_CC=$CC
5456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5457 /* end confdefs.h. */
5458 $ac_c_conftest_c89_program
5459 _ACEOF
5460 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5462 CC="$ac_save_CC $ac_arg"
5463 if ac_fn_c_try_compile "$LINENO"
5464 then :
5465 ac_cv_prog_cc_c89=$ac_arg
5467 rm -f core conftest.err conftest.$ac_objext conftest.beam
5468 test "x$ac_cv_prog_cc_c89" != "xno" && break
5469 done
5470 rm -f conftest.$ac_ext
5471 CC=$ac_save_CC ;;
5472 esac
5475 if test "x$ac_cv_prog_cc_c89" = xno
5476 then :
5477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5478 printf "%s\n" "unsupported" >&6; }
5479 else case e in #(
5480 e) if test "x$ac_cv_prog_cc_c89" = x
5481 then :
5482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5483 printf "%s\n" "none needed" >&6; }
5484 else case e in #(
5485 e) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5486 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5487 CC="$CC $ac_cv_prog_cc_c89" ;;
5488 esac
5490 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5491 ac_prog_cc_stdc=c89 ;;
5492 esac
5496 ac_ext=c
5497 ac_cpp='$CPP $CPPFLAGS'
5498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5503 ac_ext=c
5504 ac_cpp='$CPP $CPPFLAGS'
5505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
5509 printf %s "checking whether $CC understands -c and -o together... " >&6; }
5510 if test ${am_cv_prog_cc_c_o+y}
5511 then :
5512 printf %s "(cached) " >&6
5513 else case e in #(
5514 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5515 /* end confdefs.h. */
5518 main (void)
5522 return 0;
5524 _ACEOF
5525 # Make sure it works both with $CC and with simple cc.
5526 # Following AC_PROG_CC_C_O, we do the test twice because some
5527 # compilers refuse to overwrite an existing .o file with -o,
5528 # though they will create one.
5529 am_cv_prog_cc_c_o=yes
5530 for am_i in 1 2; do
5531 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
5532 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
5533 ac_status=$?
5534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5535 (exit $ac_status); } \
5536 && test -f conftest2.$ac_objext; then
5537 : OK
5538 else
5539 am_cv_prog_cc_c_o=no
5540 break
5542 done
5543 rm -f core conftest*
5544 unset am_i ;;
5545 esac
5547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
5548 printf "%s\n" "$am_cv_prog_cc_c_o" >&6; }
5549 if test "$am_cv_prog_cc_c_o" != yes; then
5550 # Losing compiler, so override with the script.
5551 # FIXME: It is wrong to rewrite CC.
5552 # But if we don't then we get into trouble of one sort or another.
5553 # A longer-term fix would be to have automake use am__CC in this case,
5554 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
5555 CC="$am_aux_dir/compile $CC"
5557 ac_ext=c
5558 ac_cpp='$CPP $CPPFLAGS'
5559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5564 depcc="$CC" am_compiler_list=
5566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
5567 printf %s "checking dependency style of $depcc... " >&6; }
5568 if test ${am_cv_CC_dependencies_compiler_type+y}
5569 then :
5570 printf %s "(cached) " >&6
5571 else case e in #(
5572 e) if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
5573 # We make a subdir and do the tests there. Otherwise we can end up
5574 # making bogus files that we don't know about and never remove. For
5575 # instance it was reported that on HP-UX the gcc test will end up
5576 # making a dummy file named 'D' -- because '-MD' means "put the output
5577 # in D".
5578 rm -rf conftest.dir
5579 mkdir conftest.dir
5580 # Copy depcomp to subdir because otherwise we won't find it if we're
5581 # using a relative directory.
5582 cp "$am_depcomp" conftest.dir
5583 cd conftest.dir
5584 # We will build objects and dependencies in a subdirectory because
5585 # it helps to detect inapplicable dependency modes. For instance
5586 # both Tru64's cc and ICC support -MD to output dependencies as a
5587 # side effect of compilation, but ICC will put the dependencies in
5588 # the current directory while Tru64 will put them in the object
5589 # directory.
5590 mkdir sub
5592 am_cv_CC_dependencies_compiler_type=none
5593 if test "$am_compiler_list" = ""; then
5594 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
5596 am__universal=false
5597 case " $depcc " in #(
5598 *\ -arch\ *\ -arch\ *) am__universal=true ;;
5599 esac
5601 for depmode in $am_compiler_list; do
5602 # Setup a source with many dependencies, because some compilers
5603 # like to wrap large dependency lists on column 80 (with \), and
5604 # we should not choose a depcomp mode which is confused by this.
5606 # We need to recreate these files for each test, as the compiler may
5607 # overwrite some of them when testing with obscure command lines.
5608 # This happens at least with the AIX C compiler.
5609 : > sub/conftest.c
5610 for i in 1 2 3 4 5 6; do
5611 echo '#include "conftst'$i'.h"' >> sub/conftest.c
5612 # Using ": > sub/conftst$i.h" creates only sub/conftst1.h with
5613 # Solaris 10 /bin/sh.
5614 echo '/* dummy */' > sub/conftst$i.h
5615 done
5616 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
5618 # We check with '-c' and '-o' for the sake of the "dashmstdout"
5619 # mode. It turns out that the SunPro C++ compiler does not properly
5620 # handle '-M -o', and we need to detect this. Also, some Intel
5621 # versions had trouble with output in subdirs.
5622 am__obj=sub/conftest.${OBJEXT-o}
5623 am__minus_obj="-o $am__obj"
5624 case $depmode in
5625 gcc)
5626 # This depmode causes a compiler race in universal mode.
5627 test "$am__universal" = false || continue
5629 nosideeffect)
5630 # After this tag, mechanisms are not by side-effect, so they'll
5631 # only be used when explicitly requested.
5632 if test "x$enable_dependency_tracking" = xyes; then
5633 continue
5634 else
5635 break
5638 msvc7 | msvc7msys | msvisualcpp | msvcmsys)
5639 # This compiler won't grok '-c -o', but also, the minuso test has
5640 # not run yet. These depmodes are late enough in the game, and
5641 # so weak that their functioning should not be impacted.
5642 am__obj=conftest.${OBJEXT-o}
5643 am__minus_obj=
5645 none) break ;;
5646 esac
5647 if depmode=$depmode \
5648 source=sub/conftest.c object=$am__obj \
5649 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
5650 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
5651 >/dev/null 2>conftest.err &&
5652 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
5653 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
5654 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
5655 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
5656 # icc doesn't choke on unknown options, it will just issue warnings
5657 # or remarks (even with -Werror). So we grep stderr for any message
5658 # that says an option was ignored or not supported.
5659 # When given -MP, icc 7.0 and 7.1 complain thusly:
5660 # icc: Command line warning: ignoring option '-M'; no argument required
5661 # The diagnosis changed in icc 8.0:
5662 # icc: Command line remark: option '-MP' not supported
5663 if (grep 'ignoring option' conftest.err ||
5664 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
5665 am_cv_CC_dependencies_compiler_type=$depmode
5666 break
5669 done
5671 cd ..
5672 rm -rf conftest.dir
5673 else
5674 am_cv_CC_dependencies_compiler_type=none
5677 esac
5679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
5680 printf "%s\n" "$am_cv_CC_dependencies_compiler_type" >&6; }
5681 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
5684 test "x$enable_dependency_tracking" != xno \
5685 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
5686 am__fastdepCC_TRUE=
5687 am__fastdepCC_FALSE='#'
5688 else
5689 am__fastdepCC_TRUE='#'
5690 am__fastdepCC_FALSE=
5695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5696 printf %s "checking whether ln -s works... " >&6; }
5697 LN_S=$as_ln_s
5698 if test "$LN_S" = "ln -s"; then
5699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5700 printf "%s\n" "yes" >&6; }
5701 else
5702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5703 printf "%s\n" "no, using $LN_S" >&6; }
5706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
5707 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
5708 set x ${MAKE-make}
5709 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
5710 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
5711 then :
5712 printf %s "(cached) " >&6
5713 else case e in #(
5714 e) cat >conftest.make <<\_ACEOF
5715 SHELL = /bin/sh
5716 all:
5717 @echo '@@@%%%=$(MAKE)=@@@%%%'
5718 _ACEOF
5719 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
5720 case `${MAKE-make} -f conftest.make 2>/dev/null` in
5721 *@@@%%%=?*=@@@%%%*)
5722 eval ac_cv_prog_make_${ac_make}_set=yes;;
5724 eval ac_cv_prog_make_${ac_make}_set=no;;
5725 esac
5726 rm -f conftest.make ;;
5727 esac
5729 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
5730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5731 printf "%s\n" "yes" >&6; }
5732 SET_MAKE=
5733 else
5734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5735 printf "%s\n" "no" >&6; }
5736 SET_MAKE="MAKE=${MAKE-make}"
5740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing tgetent" >&5
5741 printf %s "checking for library containing tgetent... " >&6; }
5742 if test ${ac_cv_search_tgetent+y}
5743 then :
5744 printf %s "(cached) " >&6
5745 else case e in #(
5746 e) ac_func_search_save_LIBS=$LIBS
5747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5748 /* end confdefs.h. */
5750 /* Override any GCC internal prototype to avoid an error.
5751 Use char because int might match the return type of a GCC
5752 builtin and then its argument prototype would still apply.
5753 The 'extern "C"' is for builds by C++ compilers;
5754 although this is not generally supported in C code supporting it here
5755 has little cost and some practical benefit (sr 110532). */
5756 #ifdef __cplusplus
5757 extern "C"
5758 #endif
5759 char tgetent (void);
5761 main (void)
5763 return tgetent ();
5765 return 0;
5767 _ACEOF
5768 for ac_lib in '' tinfo curses ncursesw ncurses
5770 if test -z "$ac_lib"; then
5771 ac_res="none required"
5772 else
5773 ac_res=-l$ac_lib
5774 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5776 if ac_fn_c_try_link "$LINENO"
5777 then :
5778 ac_cv_search_tgetent=$ac_res
5780 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5781 conftest$ac_exeext
5782 if test ${ac_cv_search_tgetent+y}
5783 then :
5784 break
5786 done
5787 if test ${ac_cv_search_tgetent+y}
5788 then :
5790 else case e in #(
5791 e) ac_cv_search_tgetent=no ;;
5792 esac
5794 rm conftest.$ac_ext
5795 LIBS=$ac_func_search_save_LIBS ;;
5796 esac
5798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_tgetent" >&5
5799 printf "%s\n" "$ac_cv_search_tgetent" >&6; }
5800 ac_res=$ac_cv_search_tgetent
5801 if test "$ac_res" != no
5802 then :
5803 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5804 HAVE_CURSES=True
5808 # clock_gettime is in librt on *-*-osf5.1 and on glibc < 2.17, so add -lrt
5809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
5810 printf %s "checking for library containing clock_gettime... " >&6; }
5811 if test ${ac_cv_search_clock_gettime+y}
5812 then :
5813 printf %s "(cached) " >&6
5814 else case e in #(
5815 e) ac_func_search_save_LIBS=$LIBS
5816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5817 /* end confdefs.h. */
5819 /* Override any GCC internal prototype to avoid an error.
5820 Use char because int might match the return type of a GCC
5821 builtin and then its argument prototype would still apply.
5822 The 'extern "C"' is for builds by C++ compilers;
5823 although this is not generally supported in C code supporting it here
5824 has little cost and some practical benefit (sr 110532). */
5825 #ifdef __cplusplus
5826 extern "C"
5827 #endif
5828 char clock_gettime (void);
5830 main (void)
5832 return clock_gettime ();
5834 return 0;
5836 _ACEOF
5837 for ac_lib in '' rt
5839 if test -z "$ac_lib"; then
5840 ac_res="none required"
5841 else
5842 ac_res=-l$ac_lib
5843 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
5845 if ac_fn_c_try_link "$LINENO"
5846 then :
5847 ac_cv_search_clock_gettime=$ac_res
5849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
5850 conftest$ac_exeext
5851 if test ${ac_cv_search_clock_gettime+y}
5852 then :
5853 break
5855 done
5856 if test ${ac_cv_search_clock_gettime+y}
5857 then :
5859 else case e in #(
5860 e) ac_cv_search_clock_gettime=no ;;
5861 esac
5863 rm conftest.$ac_ext
5864 LIBS=$ac_func_search_save_LIBS ;;
5865 esac
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
5868 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
5869 ac_res=$ac_cv_search_clock_gettime
5870 if test "$ac_res" != no
5871 then :
5872 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
5875 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
5880 # Checks for libraries.
5882 # Checks for header files.
5884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5885 printf %s "checking for grep that handles long lines and -e... " >&6; }
5886 if test ${ac_cv_path_GREP+y}
5887 then :
5888 printf %s "(cached) " >&6
5889 else case e in #(
5890 e) if test -z "$GREP"; then
5891 ac_path_GREP_found=false
5892 # Loop through the user's path and test for each of PROGNAME-LIST
5893 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5894 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5896 IFS=$as_save_IFS
5897 case $as_dir in #(((
5898 '') as_dir=./ ;;
5899 */) ;;
5900 *) as_dir=$as_dir/ ;;
5901 esac
5902 for ac_prog in grep ggrep
5904 for ac_exec_ext in '' $ac_executable_extensions; do
5905 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
5906 as_fn_executable_p "$ac_path_GREP" || continue
5907 # Check for GNU ac_path_GREP and select it if it is found.
5908 # Check for GNU $ac_path_GREP
5909 case `"$ac_path_GREP" --version 2>&1` in #(
5910 *GNU*)
5911 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5914 ac_count=0
5915 printf %s 0123456789 >"conftest.in"
5916 while :
5918 cat "conftest.in" "conftest.in" >"conftest.tmp"
5919 mv "conftest.tmp" "conftest.in"
5920 cp "conftest.in" "conftest.nl"
5921 printf "%s\n" 'GREP' >> "conftest.nl"
5922 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5923 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5924 as_fn_arith $ac_count + 1 && ac_count=$as_val
5925 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5926 # Best one so far, save it but keep looking for a better one
5927 ac_cv_path_GREP="$ac_path_GREP"
5928 ac_path_GREP_max=$ac_count
5930 # 10*(2^10) chars as input seems more than enough
5931 test $ac_count -gt 10 && break
5932 done
5933 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5934 esac
5936 $ac_path_GREP_found && break 3
5937 done
5938 done
5939 done
5940 IFS=$as_save_IFS
5941 if test -z "$ac_cv_path_GREP"; then
5942 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5944 else
5945 ac_cv_path_GREP=$GREP
5948 esac
5950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5951 printf "%s\n" "$ac_cv_path_GREP" >&6; }
5952 GREP="$ac_cv_path_GREP"
5955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5956 printf %s "checking for egrep... " >&6; }
5957 if test ${ac_cv_path_EGREP+y}
5958 then :
5959 printf %s "(cached) " >&6
5960 else case e in #(
5961 e) if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5962 then ac_cv_path_EGREP="$GREP -E"
5963 else
5964 if test -z "$EGREP"; then
5965 ac_path_EGREP_found=false
5966 # Loop through the user's path and test for each of PROGNAME-LIST
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5970 IFS=$as_save_IFS
5971 case $as_dir in #(((
5972 '') as_dir=./ ;;
5973 */) ;;
5974 *) as_dir=$as_dir/ ;;
5975 esac
5976 for ac_prog in egrep
5978 for ac_exec_ext in '' $ac_executable_extensions; do
5979 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
5980 as_fn_executable_p "$ac_path_EGREP" || continue
5981 # Check for GNU ac_path_EGREP and select it if it is found.
5982 # Check for GNU $ac_path_EGREP
5983 case `"$ac_path_EGREP" --version 2>&1` in #(
5984 *GNU*)
5985 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5988 ac_count=0
5989 printf %s 0123456789 >"conftest.in"
5990 while :
5992 cat "conftest.in" "conftest.in" >"conftest.tmp"
5993 mv "conftest.tmp" "conftest.in"
5994 cp "conftest.in" "conftest.nl"
5995 printf "%s\n" 'EGREP' >> "conftest.nl"
5996 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5997 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5998 as_fn_arith $ac_count + 1 && ac_count=$as_val
5999 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6000 # Best one so far, save it but keep looking for a better one
6001 ac_cv_path_EGREP="$ac_path_EGREP"
6002 ac_path_EGREP_max=$ac_count
6004 # 10*(2^10) chars as input seems more than enough
6005 test $ac_count -gt 10 && break
6006 done
6007 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6008 esac
6010 $ac_path_EGREP_found && break 3
6011 done
6012 done
6013 done
6014 IFS=$as_save_IFS
6015 if test -z "$ac_cv_path_EGREP"; then
6016 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6018 else
6019 ac_cv_path_EGREP=$EGREP
6022 fi ;;
6023 esac
6025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6026 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
6027 EGREP="$ac_cv_path_EGREP"
6029 EGREP_TRADITIONAL=$EGREP
6030 ac_cv_path_EGREP_TRADITIONAL=$EGREP
6033 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
6034 if test "x$ac_cv_header_fcntl_h" = xyes
6035 then :
6036 printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
6039 ac_fn_c_check_header_compile "$LINENO" "limits.h" "ac_cv_header_limits_h" "$ac_includes_default"
6040 if test "x$ac_cv_header_limits_h" = xyes
6041 then :
6042 printf "%s\n" "#define HAVE_LIMITS_H 1" >>confdefs.h
6045 ac_fn_c_check_header_compile "$LINENO" "langinfo.h" "ac_cv_header_langinfo_h" "$ac_includes_default"
6046 if test "x$ac_cv_header_langinfo_h" = xyes
6047 then :
6048 printf "%s\n" "#define HAVE_LANGINFO_H 1" >>confdefs.h
6051 ac_fn_c_check_header_compile "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
6052 if test "x$ac_cv_header_locale_h" = xyes
6053 then :
6054 printf "%s\n" "#define HAVE_LOCALE_H 1" >>confdefs.h
6057 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
6058 if test "x$ac_cv_header_stdint_h" = xyes
6059 then :
6060 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
6063 ac_fn_c_check_header_compile "$LINENO" "stdlib.h" "ac_cv_header_stdlib_h" "$ac_includes_default"
6064 if test "x$ac_cv_header_stdlib_h" = xyes
6065 then :
6066 printf "%s\n" "#define HAVE_STDLIB_H 1" >>confdefs.h
6069 ac_fn_c_check_header_compile "$LINENO" "string.h" "ac_cv_header_string_h" "$ac_includes_default"
6070 if test "x$ac_cv_header_string_h" = xyes
6071 then :
6072 printf "%s\n" "#define HAVE_STRING_H 1" >>confdefs.h
6075 ac_fn_c_check_header_compile "$LINENO" "sys/ioctl.h" "ac_cv_header_sys_ioctl_h" "$ac_includes_default"
6076 if test "x$ac_cv_header_sys_ioctl_h" = xyes
6077 then :
6078 printf "%s\n" "#define HAVE_SYS_IOCTL_H 1" >>confdefs.h
6081 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
6082 if test "x$ac_cv_header_sys_time_h" = xyes
6083 then :
6084 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
6087 ac_fn_c_check_header_compile "$LINENO" "termios.h" "ac_cv_header_termios_h" "$ac_includes_default"
6088 if test "x$ac_cv_header_termios_h" = xyes
6089 then :
6090 printf "%s\n" "#define HAVE_TERMIOS_H 1" >>confdefs.h
6093 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
6094 if test "x$ac_cv_header_unistd_h" = xyes
6095 then :
6096 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
6099 ac_fn_c_check_header_compile "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
6100 if test "x$ac_cv_header_wchar_h" = xyes
6101 then :
6102 printf "%s\n" "#define HAVE_WCHAR_H 1" >>confdefs.h
6107 # Checks for typedefs, structures, and compiler characteristics.
6108 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
6109 if test "x$ac_cv_type_size_t" = xyes
6110 then :
6112 else case e in #(
6114 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
6116 esac
6120 # Checks for library functions.
6123 # Make sure we can run config.sub.
6124 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
6125 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
6128 printf %s "checking build system type... " >&6; }
6129 if test ${ac_cv_build+y}
6130 then :
6131 printf %s "(cached) " >&6
6132 else case e in #(
6133 e) ac_build_alias=$build_alias
6134 test "x$ac_build_alias" = x &&
6135 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
6136 test "x$ac_build_alias" = x &&
6137 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
6138 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
6139 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
6141 esac
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
6144 printf "%s\n" "$ac_cv_build" >&6; }
6145 case $ac_cv_build in
6146 *-*-*) ;;
6147 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
6148 esac
6149 build=$ac_cv_build
6150 ac_save_IFS=$IFS; IFS='-'
6151 set x $ac_cv_build
6152 shift
6153 build_cpu=$1
6154 build_vendor=$2
6155 shift; shift
6156 # Remember, the first character of IFS is used to create $*,
6157 # except with old shells:
6158 build_os=$*
6159 IFS=$ac_save_IFS
6160 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
6163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
6164 printf %s "checking host system type... " >&6; }
6165 if test ${ac_cv_host+y}
6166 then :
6167 printf %s "(cached) " >&6
6168 else case e in #(
6169 e) if test "x$host_alias" = x; then
6170 ac_cv_host=$ac_cv_build
6171 else
6172 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
6173 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
6176 esac
6178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
6179 printf "%s\n" "$ac_cv_host" >&6; }
6180 case $ac_cv_host in
6181 *-*-*) ;;
6182 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
6183 esac
6184 host=$ac_cv_host
6185 ac_save_IFS=$IFS; IFS='-'
6186 set x $ac_cv_host
6187 shift
6188 host_cpu=$1
6189 host_vendor=$2
6190 shift; shift
6191 # Remember, the first character of IFS is used to create $*,
6192 # except with old shells:
6193 host_os=$*
6194 IFS=$ac_save_IFS
6195 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible malloc" >&5
6199 printf %s "checking for GNU libc compatible malloc... " >&6; }
6200 if test ${ac_cv_func_malloc_0_nonnull+y}
6201 then :
6202 printf %s "(cached) " >&6
6203 else case e in #(
6204 e) if test "$cross_compiling" = yes
6205 then :
6206 case "$host_os" in # ((
6207 # Guess yes on platforms where we know the result.
6208 *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
6209 | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
6210 ac_cv_func_malloc_0_nonnull=yes ;;
6211 # If we don't know, assume the worst.
6212 *) ac_cv_func_malloc_0_nonnull=no ;;
6213 esac
6214 else case e in #(
6215 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6216 /* end confdefs.h. */
6217 #include <stdlib.h>
6220 main (void)
6222 void *p = malloc (0);
6223 int result = !p;
6224 free (p);
6225 return result;
6227 return 0;
6229 _ACEOF
6230 if ac_fn_c_try_run "$LINENO"
6231 then :
6232 ac_cv_func_malloc_0_nonnull=yes
6233 else case e in #(
6234 e) ac_cv_func_malloc_0_nonnull=no ;;
6235 esac
6237 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6238 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
6239 esac
6242 esac
6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_malloc_0_nonnull" >&5
6245 printf "%s\n" "$ac_cv_func_malloc_0_nonnull" >&6; }
6246 if test $ac_cv_func_malloc_0_nonnull = yes
6247 then :
6249 printf "%s\n" "#define HAVE_MALLOC 1" >>confdefs.h
6251 else case e in #(
6252 e) printf "%s\n" "#define HAVE_MALLOC 0" >>confdefs.h
6254 case " $LIBOBJS " in
6255 *" malloc.$ac_objext "* ) ;;
6256 *) LIBOBJS="$LIBOBJS malloc.$ac_objext"
6258 esac
6261 printf "%s\n" "#define malloc rpl_malloc" >>confdefs.h
6263 esac
6267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for GNU libc compatible realloc" >&5
6268 printf %s "checking for GNU libc compatible realloc... " >&6; }
6269 if test ${ac_cv_func_realloc_0_nonnull+y}
6270 then :
6271 printf %s "(cached) " >&6
6272 else case e in #(
6273 e) if test "$cross_compiling" = yes
6274 then :
6275 case "$host_os" in # ((
6276 # Guess yes on platforms where we know the result.
6277 *-gnu* | freebsd* | netbsd* | openbsd* | bitrig* \
6278 | hpux* | solaris* | cygwin* | mingw* | windows* | msys* )
6279 ac_cv_func_realloc_0_nonnull=yes ;;
6280 # If we don't know, assume the worst.
6281 *) ac_cv_func_realloc_0_nonnull=no ;;
6282 esac
6283 else case e in #(
6284 e) cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6285 /* end confdefs.h. */
6286 #include <stdlib.h>
6289 main (void)
6291 void *p = realloc (0, 0);
6292 int result = !p;
6293 free (p);
6294 return result;
6296 return 0;
6298 _ACEOF
6299 if ac_fn_c_try_run "$LINENO"
6300 then :
6301 ac_cv_func_realloc_0_nonnull=yes
6302 else case e in #(
6303 e) ac_cv_func_realloc_0_nonnull=no ;;
6304 esac
6306 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6307 conftest.$ac_objext conftest.beam conftest.$ac_ext ;;
6308 esac
6311 esac
6313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_realloc_0_nonnull" >&5
6314 printf "%s\n" "$ac_cv_func_realloc_0_nonnull" >&6; }
6315 if test $ac_cv_func_realloc_0_nonnull = yes
6316 then :
6318 printf "%s\n" "#define HAVE_REALLOC 1" >>confdefs.h
6320 else case e in #(
6321 e) printf "%s\n" "#define HAVE_REALLOC 0" >>confdefs.h
6323 case " $LIBOBJS " in
6324 *" realloc.$ac_objext "* ) ;;
6325 *) LIBOBJS="$LIBOBJS realloc.$ac_objext"
6327 esac
6330 printf "%s\n" "#define realloc rpl_realloc" >>confdefs.h
6332 esac
6336 ac_fn_c_check_func "$LINENO" "mblen" "ac_cv_func_mblen"
6337 if test "x$ac_cv_func_mblen" = xyes
6338 then :
6339 printf "%s\n" "#define HAVE_MBLEN 1" >>confdefs.h
6342 ac_fn_c_check_func "$LINENO" "memset" "ac_cv_func_memset"
6343 if test "x$ac_cv_func_memset" = xyes
6344 then :
6345 printf "%s\n" "#define HAVE_MEMSET 1" >>confdefs.h
6348 ac_fn_c_check_func "$LINENO" "nl_langinfo" "ac_cv_func_nl_langinfo"
6349 if test "x$ac_cv_func_nl_langinfo" = xyes
6350 then :
6351 printf "%s\n" "#define HAVE_NL_LANGINFO 1" >>confdefs.h
6354 ac_fn_c_check_func "$LINENO" "pathconf" "ac_cv_func_pathconf"
6355 if test "x$ac_cv_func_pathconf" = xyes
6356 then :
6357 printf "%s\n" "#define HAVE_PATHCONF 1" >>confdefs.h
6360 ac_fn_c_check_func "$LINENO" "regcomp" "ac_cv_func_regcomp"
6361 if test "x$ac_cv_func_regcomp" = xyes
6362 then :
6363 printf "%s\n" "#define HAVE_REGCOMP 1" >>confdefs.h
6366 ac_fn_c_check_func "$LINENO" "setlocale" "ac_cv_func_setlocale"
6367 if test "x$ac_cv_func_setlocale" = xyes
6368 then :
6369 printf "%s\n" "#define HAVE_SETLOCALE 1" >>confdefs.h
6373 ac_fn_c_check_func "$LINENO" "strchr" "ac_cv_func_strchr"
6374 if test "x$ac_cv_func_strchr" = xyes
6375 then :
6376 printf "%s\n" "#define HAVE_STRCHR 1" >>confdefs.h
6379 ac_fn_c_check_func "$LINENO" "strrchr" "ac_cv_func_strrchr"
6380 if test "x$ac_cv_func_strrchr" = xyes
6381 then :
6382 printf "%s\n" "#define HAVE_STRRCHR 1" >>confdefs.h
6385 ac_fn_c_check_func "$LINENO" "strspn" "ac_cv_func_strspn"
6386 if test "x$ac_cv_func_strspn" = xyes
6387 then :
6388 printf "%s\n" "#define HAVE_STRSPN 1" >>confdefs.h
6391 ac_fn_c_check_func "$LINENO" "strcasecmp" "ac_cv_func_strcasecmp"
6392 if test "x$ac_cv_func_strcasecmp" = xyes
6393 then :
6394 printf "%s\n" "#define HAVE_STRCASECMP 1" >>confdefs.h
6400 # OS-specific tests
6401 case "${host_os}" in
6402 *freebsd*|*dragonfly*)
6403 CPPFLAGS="-D__BSD_VISIBLE $CPPFLAGS"
6406 *darwin*)
6407 CPPFLAGS="-D_DARWIN_C_SOURCE $CPPFLAGS"
6410 *netbsd*)
6411 CPPFLAGS="-D_NETBSD_SOURCE $CPPFLAGS"
6414 *openbsd*|*bitrig*)
6415 CPPFLAGS="-D_BSD_SOURCE $CPPFLAGS"
6417 esac
6419 ac_config_files="$ac_config_files Makefile"
6421 cat >confcache <<\_ACEOF
6422 # This file is a shell script that caches the results of configure
6423 # tests run on this system so they can be shared between configure
6424 # scripts and configure runs, see configure's option --config-cache.
6425 # It is not useful on other systems. If it contains results you don't
6426 # want to keep, you may remove or edit it.
6428 # config.status only pays attention to the cache file if you give it
6429 # the --recheck option to rerun configure.
6431 # 'ac_cv_env_foo' variables (set or unset) will be overridden when
6432 # loading this file, other *unset* 'ac_cv_foo' will be assigned the
6433 # following values.
6435 _ACEOF
6437 # The following way of writing the cache mishandles newlines in values,
6438 # but we know of no workaround that is simple, portable, and efficient.
6439 # So, we kill variables containing newlines.
6440 # Ultrix sh set writes to stderr and can't be redirected directly,
6441 # and sets the high bit in the cache file unless we assign to the vars.
6443 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
6444 eval ac_val=\$$ac_var
6445 case $ac_val in #(
6446 *${as_nl}*)
6447 case $ac_var in #(
6448 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
6449 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
6450 esac
6451 case $ac_var in #(
6452 _ | IFS | as_nl) ;; #(
6453 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
6454 *) { eval $ac_var=; unset $ac_var;} ;;
6455 esac ;;
6456 esac
6457 done
6459 (set) 2>&1 |
6460 case $as_nl`(ac_space=' '; set) 2>&1` in #(
6461 *${as_nl}ac_space=\ *)
6462 # 'set' does not quote correctly, so add quotes: double-quote
6463 # substitution turns \\\\ into \\, and sed turns \\ into \.
6464 sed -n \
6465 "s/'/'\\\\''/g;
6466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
6467 ;; #(
6469 # 'set' quotes correctly as required by POSIX, so do not add quotes.
6470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
6472 esac |
6473 sort
6475 sed '
6476 /^ac_cv_env_/b end
6477 t clear
6478 :clear
6479 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
6480 t end
6481 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
6482 :end' >>confcache
6483 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
6484 if test -w "$cache_file"; then
6485 if test "x$cache_file" != "x/dev/null"; then
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
6487 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
6488 if test ! -f "$cache_file" || test -h "$cache_file"; then
6489 cat confcache >"$cache_file"
6490 else
6491 case $cache_file in #(
6492 */* | ?:*)
6493 mv -f confcache "$cache_file"$$ &&
6494 mv -f "$cache_file"$$ "$cache_file" ;; #(
6496 mv -f confcache "$cache_file" ;;
6497 esac
6500 else
6501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
6502 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
6505 rm -f confcache
6507 test "x$prefix" = xNONE && prefix=$ac_default_prefix
6508 # Let make expand exec_prefix.
6509 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
6511 DEFS=-DHAVE_CONFIG_H
6513 ac_libobjs=
6514 ac_ltlibobjs=
6516 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6517 # 1. Remove the extension, and $U if already installed.
6518 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6519 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
6520 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6521 # will be set to the directory where LIBOBJS objects are built.
6522 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6523 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6524 done
6525 LIBOBJS=$ac_libobjs
6527 LTLIBOBJS=$ac_ltlibobjs
6530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
6531 printf %s "checking that generated files are newer than configure... " >&6; }
6532 if test -n "$am_sleep_pid"; then
6533 # Hide warnings about reused PIDs.
6534 wait $am_sleep_pid 2>/dev/null
6536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: done" >&5
6537 printf "%s\n" "done" >&6; }
6538 if test -n "$EXEEXT"; then
6539 am__EXEEXT_TRUE=
6540 am__EXEEXT_FALSE='#'
6541 else
6542 am__EXEEXT_TRUE='#'
6543 am__EXEEXT_FALSE=
6546 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
6547 as_fn_error $? "conditional \"AMDEP\" was never defined.
6548 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6550 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6551 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6552 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6554 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
6555 as_fn_error $? "conditional \"am__fastdepCC\" was never defined.
6556 Usually this means the macro was only invoked conditionally." "$LINENO" 5
6559 : "${CONFIG_STATUS=./config.status}"
6560 ac_write_fail=0
6561 ac_clean_files_save=$ac_clean_files
6562 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6564 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
6565 as_write_fail=0
6566 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6567 #! $SHELL
6568 # Generated by $as_me.
6569 # Run this file to recreate the current configuration.
6570 # Compiler output produced by configure, useful for debugging
6571 # configure, is in config.log if it exists.
6573 debug=false
6574 ac_cs_recheck=false
6575 ac_cs_silent=false
6577 SHELL=\${CONFIG_SHELL-$SHELL}
6578 export SHELL
6579 _ASEOF
6580 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6581 ## -------------------- ##
6582 ## M4sh Initialization. ##
6583 ## -------------------- ##
6585 # Be more Bourne compatible
6586 DUALCASE=1; export DUALCASE # for MKS sh
6587 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
6588 then :
6589 emulate sh
6590 NULLCMD=:
6591 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6592 # is contrary to our usage. Disable this feature.
6593 alias -g '${1+"$@"}'='"$@"'
6594 setopt NO_GLOB_SUBST
6595 else case e in #(
6596 e) case `(set -o) 2>/dev/null` in #(
6597 *posix*) :
6598 set -o posix ;; #(
6599 *) :
6601 esac ;;
6602 esac
6607 # Reset variables that may have inherited troublesome values from
6608 # the environment.
6610 # IFS needs to be set, to space, tab, and newline, in precisely that order.
6611 # (If _AS_PATH_WALK were called with IFS unset, it would have the
6612 # side effect of setting IFS to empty, thus disabling word splitting.)
6613 # Quoting is to prevent editors from complaining about space-tab.
6614 as_nl='
6616 export as_nl
6617 IFS=" "" $as_nl"
6619 PS1='$ '
6620 PS2='> '
6621 PS4='+ '
6623 # Ensure predictable behavior from utilities with locale-dependent output.
6624 LC_ALL=C
6625 export LC_ALL
6626 LANGUAGE=C
6627 export LANGUAGE
6629 # We cannot yet rely on "unset" to work, but we need these variables
6630 # to be unset--not just set to an empty or harmless value--now, to
6631 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
6632 # also avoids known problems related to "unset" and subshell syntax
6633 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
6634 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
6635 do eval test \${$as_var+y} \
6636 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6637 done
6639 # Ensure that fds 0, 1, and 2 are open.
6640 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
6641 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
6642 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
6644 # The user is always right.
6645 if ${PATH_SEPARATOR+false} :; then
6646 PATH_SEPARATOR=:
6647 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6648 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6649 PATH_SEPARATOR=';'
6654 # Find who we are. Look in the path if we contain no directory separator.
6655 as_myself=
6656 case $0 in #((
6657 *[\\/]* ) as_myself=$0 ;;
6658 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6659 for as_dir in $PATH
6661 IFS=$as_save_IFS
6662 case $as_dir in #(((
6663 '') as_dir=./ ;;
6664 */) ;;
6665 *) as_dir=$as_dir/ ;;
6666 esac
6667 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
6668 done
6669 IFS=$as_save_IFS
6672 esac
6673 # We did not find ourselves, most probably we were run as 'sh COMMAND'
6674 # in which case we are not to be found in the path.
6675 if test "x$as_myself" = x; then
6676 as_myself=$0
6678 if test ! -f "$as_myself"; then
6679 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6680 exit 1
6685 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6686 # ----------------------------------------
6687 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6688 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6689 # script with STATUS, using 1 if that was 0.
6690 as_fn_error ()
6692 as_status=$1; test $as_status -eq 0 && as_status=1
6693 if test "$4"; then
6694 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6695 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6697 printf "%s\n" "$as_me: error: $2" >&2
6698 as_fn_exit $as_status
6699 } # as_fn_error
6702 # as_fn_set_status STATUS
6703 # -----------------------
6704 # Set $? to STATUS, without forking.
6705 as_fn_set_status ()
6707 return $1
6708 } # as_fn_set_status
6710 # as_fn_exit STATUS
6711 # -----------------
6712 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6713 as_fn_exit ()
6715 set +e
6716 as_fn_set_status $1
6717 exit $1
6718 } # as_fn_exit
6720 # as_fn_unset VAR
6721 # ---------------
6722 # Portably unset VAR.
6723 as_fn_unset ()
6725 { eval $1=; unset $1;}
6727 as_unset=as_fn_unset
6729 # as_fn_append VAR VALUE
6730 # ----------------------
6731 # Append the text in VALUE to the end of the definition contained in VAR. Take
6732 # advantage of any shell optimizations that allow amortized linear growth over
6733 # repeated appends, instead of the typical quadratic growth present in naive
6734 # implementations.
6735 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
6736 then :
6737 eval 'as_fn_append ()
6739 eval $1+=\$2
6741 else case e in #(
6742 e) as_fn_append ()
6744 eval $1=\$$1\$2
6745 } ;;
6746 esac
6747 fi # as_fn_append
6749 # as_fn_arith ARG...
6750 # ------------------
6751 # Perform arithmetic evaluation on the ARGs, and store the result in the
6752 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6753 # must be portable across $(()) and expr.
6754 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
6755 then :
6756 eval 'as_fn_arith ()
6758 as_val=$(( $* ))
6760 else case e in #(
6761 e) as_fn_arith ()
6763 as_val=`expr "$@" || test $? -eq 1`
6764 } ;;
6765 esac
6766 fi # as_fn_arith
6769 if expr a : '\(a\)' >/dev/null 2>&1 &&
6770 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6771 as_expr=expr
6772 else
6773 as_expr=false
6776 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6777 as_basename=basename
6778 else
6779 as_basename=false
6782 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6783 as_dirname=dirname
6784 else
6785 as_dirname=false
6788 as_me=`$as_basename -- "$0" ||
6789 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6790 X"$0" : 'X\(//\)$' \| \
6791 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6792 printf "%s\n" X/"$0" |
6793 sed '/^.*\/\([^/][^/]*\)\/*$/{
6794 s//\1/
6797 /^X\/\(\/\/\)$/{
6798 s//\1/
6801 /^X\/\(\/\).*/{
6802 s//\1/
6805 s/.*/./; q'`
6807 # Avoid depending upon Character Ranges.
6808 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6809 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6810 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6811 as_cr_digits='0123456789'
6812 as_cr_alnum=$as_cr_Letters$as_cr_digits
6815 # Determine whether it's possible to make 'echo' print without a newline.
6816 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
6817 # for compatibility with existing Makefiles.
6818 ECHO_C= ECHO_N= ECHO_T=
6819 case `echo -n x` in #(((((
6820 -n*)
6821 case `echo 'xy\c'` in
6822 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6823 xy) ECHO_C='\c';;
6824 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6825 ECHO_T=' ';;
6826 esac;;
6828 ECHO_N='-n';;
6829 esac
6831 # For backward compatibility with old third-party macros, we provide
6832 # the shell variables $as_echo and $as_echo_n. New code should use
6833 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
6834 as_echo='printf %s\n'
6835 as_echo_n='printf %s'
6837 rm -f conf$$ conf$$.exe conf$$.file
6838 if test -d conf$$.dir; then
6839 rm -f conf$$.dir/conf$$.file
6840 else
6841 rm -f conf$$.dir
6842 mkdir conf$$.dir 2>/dev/null
6844 if (echo >conf$$.file) 2>/dev/null; then
6845 if ln -s conf$$.file conf$$ 2>/dev/null; then
6846 as_ln_s='ln -s'
6847 # ... but there are two gotchas:
6848 # 1) On MSYS, both 'ln -s file dir' and 'ln file dir' fail.
6849 # 2) DJGPP < 2.04 has no symlinks; 'ln -s' creates a wrapper executable.
6850 # In both cases, we have to default to 'cp -pR'.
6851 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6852 as_ln_s='cp -pR'
6853 elif ln conf$$.file conf$$ 2>/dev/null; then
6854 as_ln_s=ln
6855 else
6856 as_ln_s='cp -pR'
6858 else
6859 as_ln_s='cp -pR'
6861 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6862 rmdir conf$$.dir 2>/dev/null
6865 # as_fn_mkdir_p
6866 # -------------
6867 # Create "$as_dir" as a directory, including parents if necessary.
6868 as_fn_mkdir_p ()
6871 case $as_dir in #(
6872 -*) as_dir=./$as_dir;;
6873 esac
6874 test -d "$as_dir" || eval $as_mkdir_p || {
6875 as_dirs=
6876 while :; do
6877 case $as_dir in #(
6878 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6879 *) as_qdir=$as_dir;;
6880 esac
6881 as_dirs="'$as_qdir' $as_dirs"
6882 as_dir=`$as_dirname -- "$as_dir" ||
6883 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6884 X"$as_dir" : 'X\(//\)[^/]' \| \
6885 X"$as_dir" : 'X\(//\)$' \| \
6886 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6887 printf "%s\n" X"$as_dir" |
6888 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6889 s//\1/
6892 /^X\(\/\/\)[^/].*/{
6893 s//\1/
6896 /^X\(\/\/\)$/{
6897 s//\1/
6900 /^X\(\/\).*/{
6901 s//\1/
6904 s/.*/./; q'`
6905 test -d "$as_dir" && break
6906 done
6907 test -z "$as_dirs" || eval "mkdir $as_dirs"
6908 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6911 } # as_fn_mkdir_p
6912 if mkdir -p . 2>/dev/null; then
6913 as_mkdir_p='mkdir -p "$as_dir"'
6914 else
6915 test -d ./-p && rmdir ./-p
6916 as_mkdir_p=false
6920 # as_fn_executable_p FILE
6921 # -----------------------
6922 # Test if FILE is an executable regular file.
6923 as_fn_executable_p ()
6925 test -f "$1" && test -x "$1"
6926 } # as_fn_executable_p
6927 as_test_x='test -x'
6928 as_executable_p=as_fn_executable_p
6930 # Sed expression to map a string onto a valid CPP name.
6931 as_sed_cpp="y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g"
6932 as_tr_cpp="eval sed '$as_sed_cpp'" # deprecated
6934 # Sed expression to map a string onto a valid variable name.
6935 as_sed_sh="y%*+%pp%;s%[^_$as_cr_alnum]%_%g"
6936 as_tr_sh="eval sed '$as_sed_sh'" # deprecated
6939 exec 6>&1
6940 ## ----------------------------------- ##
6941 ## Main body of $CONFIG_STATUS script. ##
6942 ## ----------------------------------- ##
6943 _ASEOF
6944 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6946 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6947 # Save the log message, to keep $0 and so on meaningful, and to
6948 # report actual input values of CONFIG_FILES etc. instead of their
6949 # values after options handling.
6950 ac_log="
6951 This file was extended by smenu $as_me 1.4.0, which was
6952 generated by GNU Autoconf 2.72. Invocation command line was
6954 CONFIG_FILES = $CONFIG_FILES
6955 CONFIG_HEADERS = $CONFIG_HEADERS
6956 CONFIG_LINKS = $CONFIG_LINKS
6957 CONFIG_COMMANDS = $CONFIG_COMMANDS
6958 $ $0 $@
6960 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6963 _ACEOF
6965 case $ac_config_files in *"
6966 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6967 esac
6969 case $ac_config_headers in *"
6970 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6971 esac
6974 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6975 # Files that config.status was made for.
6976 config_files="$ac_config_files"
6977 config_headers="$ac_config_headers"
6978 config_commands="$ac_config_commands"
6980 _ACEOF
6982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6983 ac_cs_usage="\
6984 '$as_me' instantiates files and other configuration actions
6985 from templates according to the current configuration. Unless the files
6986 and actions are specified as TAGs, all are instantiated by default.
6988 Usage: $0 [OPTION]... [TAG]...
6990 -h, --help print this help, then exit
6991 -V, --version print version number and configuration settings, then exit
6992 --config print configuration, then exit
6993 -q, --quiet, --silent
6994 do not print progress messages
6995 -d, --debug don't remove temporary files
6996 --recheck update $as_me by reconfiguring in the same conditions
6997 --file=FILE[:TEMPLATE]
6998 instantiate the configuration file FILE
6999 --header=FILE[:TEMPLATE]
7000 instantiate the configuration header FILE
7002 Configuration files:
7003 $config_files
7005 Configuration headers:
7006 $config_headers
7008 Configuration commands:
7009 $config_commands
7011 Report bugs to <p.gen.progs@gmail.com>."
7013 _ACEOF
7014 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
7015 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
7016 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7017 ac_cs_config='$ac_cs_config_escaped'
7018 ac_cs_version="\\
7019 smenu config.status 1.4.0
7020 configured by $0, generated by GNU Autoconf 2.72,
7021 with options \\"\$ac_cs_config\\"
7023 Copyright (C) 2023 Free Software Foundation, Inc.
7024 This config.status script is free software; the Free Software Foundation
7025 gives unlimited permission to copy, distribute and modify it."
7027 ac_pwd='$ac_pwd'
7028 srcdir='$srcdir'
7029 INSTALL='$INSTALL'
7030 MKDIR_P='$MKDIR_P'
7031 AWK='$AWK'
7032 test -n "\$AWK" || AWK=awk
7033 _ACEOF
7035 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7036 # The default lists apply if the user does not specify any file.
7037 ac_need_defaults=:
7038 while test $# != 0
7040 case $1 in
7041 --*=?*)
7042 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7043 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
7044 ac_shift=:
7046 --*=)
7047 ac_option=`expr "X$1" : 'X\([^=]*\)='`
7048 ac_optarg=
7049 ac_shift=:
7052 ac_option=$1
7053 ac_optarg=$2
7054 ac_shift=shift
7056 esac
7058 case $ac_option in
7059 # Handling of the options.
7060 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
7061 ac_cs_recheck=: ;;
7062 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
7063 printf "%s\n" "$ac_cs_version"; exit ;;
7064 --config | --confi | --conf | --con | --co | --c )
7065 printf "%s\n" "$ac_cs_config"; exit ;;
7066 --debug | --debu | --deb | --de | --d | -d )
7067 debug=: ;;
7068 --file | --fil | --fi | --f )
7069 $ac_shift
7070 case $ac_optarg in
7071 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7072 '') as_fn_error $? "missing file argument" ;;
7073 esac
7074 as_fn_append CONFIG_FILES " '$ac_optarg'"
7075 ac_need_defaults=false;;
7076 --header | --heade | --head | --hea )
7077 $ac_shift
7078 case $ac_optarg in
7079 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
7080 esac
7081 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
7082 ac_need_defaults=false;;
7083 --he | --h)
7084 # Conflict between --help and --header
7085 as_fn_error $? "ambiguous option: '$1'
7086 Try '$0 --help' for more information.";;
7087 --help | --hel | -h )
7088 printf "%s\n" "$ac_cs_usage"; exit ;;
7089 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
7090 | -silent | --silent | --silen | --sile | --sil | --si | --s)
7091 ac_cs_silent=: ;;
7093 # This is an error.
7094 -*) as_fn_error $? "unrecognized option: '$1'
7095 Try '$0 --help' for more information." ;;
7097 *) as_fn_append ac_config_targets " $1"
7098 ac_need_defaults=false ;;
7100 esac
7101 shift
7102 done
7104 ac_configure_extra_args=
7106 if $ac_cs_silent; then
7107 exec 6>/dev/null
7108 ac_configure_extra_args="$ac_configure_extra_args --silent"
7111 _ACEOF
7112 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7113 if \$ac_cs_recheck; then
7114 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
7115 shift
7116 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
7117 CONFIG_SHELL='$SHELL'
7118 export CONFIG_SHELL
7119 exec "\$@"
7122 _ACEOF
7123 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7124 exec 5>>config.log
7126 echo
7127 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
7128 ## Running $as_me. ##
7129 _ASBOX
7130 printf "%s\n" "$ac_log"
7131 } >&5
7133 _ACEOF
7134 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7136 # INIT-COMMANDS
7138 AMDEP_TRUE="$AMDEP_TRUE" MAKE="${MAKE-make}"
7140 _ACEOF
7142 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7144 # Handling of arguments.
7145 for ac_config_target in $ac_config_targets
7147 case $ac_config_target in
7148 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
7149 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
7150 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
7152 *) as_fn_error $? "invalid argument: '$ac_config_target'" "$LINENO" 5;;
7153 esac
7154 done
7157 # If the user did not use the arguments to specify the items to instantiate,
7158 # then the envvar interface is used. Set only those that are not.
7159 # We use the long form for the default assignment because of an extremely
7160 # bizarre bug on SunOS 4.1.3.
7161 if $ac_need_defaults; then
7162 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
7163 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
7164 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
7167 # Have a temporary directory for convenience. Make it in the build tree
7168 # simply because there is no reason against having it here, and in addition,
7169 # creating and moving files from /tmp can sometimes cause problems.
7170 # Hook for its removal unless debugging.
7171 # Note that there is a small window in which the directory will not be cleaned:
7172 # after its creation but before its name has been assigned to '$tmp'.
7173 $debug ||
7175 tmp= ac_tmp=
7176 trap 'exit_status=$?
7177 : "${ac_tmp:=$tmp}"
7178 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
7180 trap 'as_fn_exit 1' 1 2 13 15
7182 # Create a (secure) tmp directory for tmp files.
7185 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
7186 test -d "$tmp"
7187 } ||
7189 tmp=./conf$$-$RANDOM
7190 (umask 077 && mkdir "$tmp")
7191 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
7192 ac_tmp=$tmp
7194 # Set up the scripts for CONFIG_FILES section.
7195 # No need to generate them if there are no CONFIG_FILES.
7196 # This happens for instance with './config.status config.h'.
7197 if test -n "$CONFIG_FILES"; then
7200 ac_cr=`echo X | tr X '\015'`
7201 # On cygwin, bash can eat \r inside `` if the user requested igncr.
7202 # But we know of no other shell where ac_cr would be empty at this
7203 # point, so we can use a bashism as a fallback.
7204 if test "x$ac_cr" = x; then
7205 eval ac_cr=\$\'\\r\'
7207 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
7208 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
7209 ac_cs_awk_cr='\\r'
7210 else
7211 ac_cs_awk_cr=$ac_cr
7214 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
7215 _ACEOF
7219 echo "cat >conf$$subs.awk <<_ACEOF" &&
7220 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
7221 echo "_ACEOF"
7222 } >conf$$subs.sh ||
7223 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7224 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
7225 ac_delim='%!_!# '
7226 for ac_last_try in false false false false false :; do
7227 . ./conf$$subs.sh ||
7228 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7230 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
7231 if test $ac_delim_n = $ac_delim_num; then
7232 break
7233 elif $ac_last_try; then
7234 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
7235 else
7236 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7238 done
7239 rm -f conf$$subs.sh
7241 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7242 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
7243 _ACEOF
7244 sed -n '
7246 s/^/S["/; s/!.*/"]=/
7249 s/^[^!]*!//
7250 :repl
7251 t repl
7252 s/'"$ac_delim"'$//
7253 t delim
7256 s/\(.\{148\}\)..*/\1/
7257 t more1
7258 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
7261 b repl
7262 :more1
7263 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7266 s/.\{148\}//
7267 t nl
7268 :delim
7270 s/\(.\{148\}\)..*/\1/
7271 t more2
7272 s/["\\]/\\&/g; s/^/"/; s/$/"/
7275 :more2
7276 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
7279 s/.\{148\}//
7280 t delim
7281 ' <conf$$subs.awk | sed '
7282 /^[^""]/{
7284 s/\n//
7286 ' >>$CONFIG_STATUS || ac_write_fail=1
7287 rm -f conf$$subs.awk
7288 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7289 _ACAWK
7290 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
7291 for (key in S) S_is_set[key] = 1
7292 FS = "\a"
7296 line = $ 0
7297 nfields = split(line, field, "@")
7298 substed = 0
7299 len = length(field[1])
7300 for (i = 2; i < nfields; i++) {
7301 key = field[i]
7302 keylen = length(key)
7303 if (S_is_set[key]) {
7304 value = S[key]
7305 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
7306 len += length(value) + length(field[++i])
7307 substed = 1
7308 } else
7309 len += 1 + keylen
7312 print line
7315 _ACAWK
7316 _ACEOF
7317 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7318 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
7319 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
7320 else
7322 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
7323 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
7324 _ACEOF
7326 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
7327 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
7328 # trailing colons and then remove the whole line if VPATH becomes empty
7329 # (actually we leave an empty line to preserve line numbers).
7330 if test "x$srcdir" = x.; then
7331 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
7333 s///
7334 s/^/:/
7335 s/[ ]*$/:/
7336 s/:\$(srcdir):/:/g
7337 s/:\${srcdir}:/:/g
7338 s/:@srcdir@:/:/g
7339 s/^:*//
7340 s/:*$//
7342 s/\(=[ ]*\).*/\1/
7344 s/\n//
7345 s/^[^=]*=[ ]*$//
7349 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7350 fi # test -n "$CONFIG_FILES"
7352 # Set up the scripts for CONFIG_HEADERS section.
7353 # No need to generate them if there are no CONFIG_HEADERS.
7354 # This happens for instance with './config.status Makefile'.
7355 if test -n "$CONFIG_HEADERS"; then
7356 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
7357 BEGIN {
7358 _ACEOF
7360 # Transform confdefs.h into an awk script 'defines.awk', embedded as
7361 # here-document in config.status, that substitutes the proper values into
7362 # config.h.in to produce config.h.
7364 # Create a delimiter string that does not exist in confdefs.h, to ease
7365 # handling of long lines.
7366 ac_delim='%!_!# '
7367 for ac_last_try in false false :; do
7368 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
7369 if test -z "$ac_tt"; then
7370 break
7371 elif $ac_last_try; then
7372 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
7373 else
7374 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
7376 done
7378 # For the awk script, D is an array of macro values keyed by name,
7379 # likewise P contains macro parameters if any. Preserve backslash
7380 # newline sequences.
7382 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
7383 sed -n '
7384 s/.\{148\}/&'"$ac_delim"'/g
7385 t rset
7386 :rset
7387 s/^[ ]*#[ ]*define[ ][ ]*/ /
7388 t def
7390 :def
7391 s/\\$//
7392 t bsnl
7393 s/["\\]/\\&/g
7394 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7395 D["\1"]=" \3"/p
7396 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
7398 :bsnl
7399 s/["\\]/\\&/g
7400 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
7401 D["\1"]=" \3\\\\\\n"\\/p
7402 t cont
7403 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
7404 t cont
7406 :cont
7408 s/.\{148\}/&'"$ac_delim"'/g
7409 t clear
7410 :clear
7411 s/\\$//
7412 t bsnlc
7413 s/["\\]/\\&/g; s/^/"/; s/$/"/p
7415 :bsnlc
7416 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
7417 b cont
7418 ' <confdefs.h | sed '
7419 s/'"$ac_delim"'/"\\\
7420 "/g' >>$CONFIG_STATUS || ac_write_fail=1
7422 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7423 for (key in D) D_is_set[key] = 1
7424 FS = "\a"
7426 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
7427 line = \$ 0
7428 split(line, arg, " ")
7429 if (arg[1] == "#") {
7430 defundef = arg[2]
7431 mac1 = arg[3]
7432 } else {
7433 defundef = substr(arg[1], 2)
7434 mac1 = arg[2]
7436 split(mac1, mac2, "(") #)
7437 macro = mac2[1]
7438 prefix = substr(line, 1, index(line, defundef) - 1)
7439 if (D_is_set[macro]) {
7440 # Preserve the white space surrounding the "#".
7441 print prefix "define", macro P[macro] D[macro]
7442 next
7443 } else {
7444 # Replace #undef with comments. This is necessary, for example,
7445 # in the case of _POSIX_SOURCE, which is predefined and required
7446 # on some systems where configure will not decide to define it.
7447 if (defundef == "undef") {
7448 print "/*", prefix defundef, macro, "*/"
7449 next
7453 { print }
7454 _ACAWK
7455 _ACEOF
7456 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7457 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
7458 fi # test -n "$CONFIG_HEADERS"
7461 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
7462 shift
7463 for ac_tag
7465 case $ac_tag in
7466 :[FHLC]) ac_mode=$ac_tag; continue;;
7467 esac
7468 case $ac_mode$ac_tag in
7469 :[FHL]*:*);;
7470 :L* | :C*:*) as_fn_error $? "invalid tag '$ac_tag'" "$LINENO" 5;;
7471 :[FH]-) ac_tag=-:-;;
7472 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
7473 esac
7474 ac_save_IFS=$IFS
7475 IFS=:
7476 set x $ac_tag
7477 IFS=$ac_save_IFS
7478 shift
7479 ac_file=$1
7480 shift
7482 case $ac_mode in
7483 :L) ac_source=$1;;
7484 :[FH])
7485 ac_file_inputs=
7486 for ac_f
7488 case $ac_f in
7489 -) ac_f="$ac_tmp/stdin";;
7490 *) # Look for the file first in the build tree, then in the source tree
7491 # (if the path is not absolute). The absolute path cannot be DOS-style,
7492 # because $ac_f cannot contain ':'.
7493 test -f "$ac_f" ||
7494 case $ac_f in
7495 [\\/$]*) false;;
7496 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
7497 esac ||
7498 as_fn_error 1 "cannot find input file: '$ac_f'" "$LINENO" 5;;
7499 esac
7500 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
7501 as_fn_append ac_file_inputs " '$ac_f'"
7502 done
7504 # Let's still pretend it is 'configure' which instantiates (i.e., don't
7505 # use $as_me), people would be surprised to read:
7506 # /* config.h. Generated by config.status. */
7507 configure_input='Generated from '`
7508 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
7509 `' by configure.'
7510 if test x"$ac_file" != x-; then
7511 configure_input="$ac_file. $configure_input"
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
7513 printf "%s\n" "$as_me: creating $ac_file" >&6;}
7515 # Neutralize special characters interpreted by sed in replacement strings.
7516 case $configure_input in #(
7517 *\&* | *\|* | *\\* )
7518 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
7519 sed 's/[\\\\&|]/\\\\&/g'`;; #(
7520 *) ac_sed_conf_input=$configure_input;;
7521 esac
7523 case $ac_tag in
7524 *:-:* | *:-) cat >"$ac_tmp/stdin" \
7525 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
7526 esac
7528 esac
7530 ac_dir=`$as_dirname -- "$ac_file" ||
7531 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7532 X"$ac_file" : 'X\(//\)[^/]' \| \
7533 X"$ac_file" : 'X\(//\)$' \| \
7534 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
7535 printf "%s\n" X"$ac_file" |
7536 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7537 s//\1/
7540 /^X\(\/\/\)[^/].*/{
7541 s//\1/
7544 /^X\(\/\/\)$/{
7545 s//\1/
7548 /^X\(\/\).*/{
7549 s//\1/
7552 s/.*/./; q'`
7553 as_dir="$ac_dir"; as_fn_mkdir_p
7554 ac_builddir=.
7556 case "$ac_dir" in
7557 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
7559 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
7560 # A ".." for each directory in $ac_dir_suffix.
7561 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7562 case $ac_top_builddir_sub in
7563 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7564 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7565 esac ;;
7566 esac
7567 ac_abs_top_builddir=$ac_pwd
7568 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7569 # for backward compatibility:
7570 ac_top_builddir=$ac_top_build_prefix
7572 case $srcdir in
7573 .) # We are building in place.
7574 ac_srcdir=.
7575 ac_top_srcdir=$ac_top_builddir_sub
7576 ac_abs_top_srcdir=$ac_pwd ;;
7577 [\\/]* | ?:[\\/]* ) # Absolute name.
7578 ac_srcdir=$srcdir$ac_dir_suffix;
7579 ac_top_srcdir=$srcdir
7580 ac_abs_top_srcdir=$srcdir ;;
7581 *) # Relative name.
7582 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7583 ac_top_srcdir=$ac_top_build_prefix$srcdir
7584 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7585 esac
7586 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7589 case $ac_mode in
7592 # CONFIG_FILE
7595 case $INSTALL in
7596 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7597 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7598 esac
7599 ac_MKDIR_P=$MKDIR_P
7600 case $MKDIR_P in
7601 [\\/$]* | ?:[\\/]* ) ;;
7602 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
7603 esac
7604 _ACEOF
7606 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7607 # If the template does not know about datarootdir, expand it.
7608 # FIXME: This hack should be removed a few years after 2.60.
7609 ac_datarootdir_hack=; ac_datarootdir_seen=
7610 ac_sed_dataroot='
7611 /datarootdir/ {
7615 /@datadir@/p
7616 /@docdir@/p
7617 /@infodir@/p
7618 /@localedir@/p
7619 /@mandir@/p'
7620 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7621 *datarootdir*) ac_datarootdir_seen=yes;;
7622 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7624 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7625 _ACEOF
7626 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7627 ac_datarootdir_hack='
7628 s&@datadir@&$datadir&g
7629 s&@docdir@&$docdir&g
7630 s&@infodir@&$infodir&g
7631 s&@localedir@&$localedir&g
7632 s&@mandir@&$mandir&g
7633 s&\\\${datarootdir}&$datarootdir&g' ;;
7634 esac
7635 _ACEOF
7637 # Neutralize VPATH when '$srcdir' = '.'.
7638 # Shell code in configure.ac might set extrasub.
7639 # FIXME: do we really want to maintain this feature?
7640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7641 ac_sed_extra="$ac_vpsub
7642 $extrasub
7643 _ACEOF
7644 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7646 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7647 s|@configure_input@|$ac_sed_conf_input|;t t
7648 s&@top_builddir@&$ac_top_builddir_sub&;t t
7649 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7650 s&@srcdir@&$ac_srcdir&;t t
7651 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7652 s&@top_srcdir@&$ac_top_srcdir&;t t
7653 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7654 s&@builddir@&$ac_builddir&;t t
7655 s&@abs_builddir@&$ac_abs_builddir&;t t
7656 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7657 s&@INSTALL@&$ac_INSTALL&;t t
7658 s&@MKDIR_P@&$ac_MKDIR_P&;t t
7659 $ac_datarootdir_hack
7661 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7662 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7664 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7665 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7666 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7667 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable 'datarootdir'
7669 which seems to be undefined. Please make sure it is defined" >&5
7670 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable 'datarootdir'
7671 which seems to be undefined. Please make sure it is defined" >&2;}
7673 rm -f "$ac_tmp/stdin"
7674 case $ac_file in
7675 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7676 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7677 esac \
7678 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7682 # CONFIG_HEADER
7684 if test x"$ac_file" != x-; then
7686 printf "%s\n" "/* $configure_input */" >&1 \
7687 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7688 } >"$ac_tmp/config.h" \
7689 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7690 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7692 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
7693 else
7694 rm -f "$ac_file"
7695 mv "$ac_tmp/config.h" "$ac_file" \
7696 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7698 else
7699 printf "%s\n" "/* $configure_input */" >&1 \
7700 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7701 || as_fn_error $? "could not create -" "$LINENO" 5
7703 # Compute "$ac_file"'s index in $config_headers.
7704 _am_arg="$ac_file"
7705 _am_stamp_count=1
7706 for _am_header in $config_headers :; do
7707 case $_am_header in
7708 $_am_arg | $_am_arg:* )
7709 break ;;
7711 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
7712 esac
7713 done
7714 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
7715 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7716 X"$_am_arg" : 'X\(//\)[^/]' \| \
7717 X"$_am_arg" : 'X\(//\)$' \| \
7718 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
7719 printf "%s\n" X"$_am_arg" |
7720 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7721 s//\1/
7724 /^X\(\/\/\)[^/].*/{
7725 s//\1/
7728 /^X\(\/\/\)$/{
7729 s//\1/
7732 /^X\(\/\).*/{
7733 s//\1/
7736 s/.*/./; q'`/stamp-h$_am_stamp_count
7739 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
7740 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
7742 esac
7745 case $ac_file$ac_mode in
7746 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
7747 # Older Autoconf quotes --file arguments for eval, but not when files
7748 # are listed without --file. Let's play safe and only enable the eval
7749 # if we detect the quoting.
7750 # TODO: see whether this extra hack can be removed once we start
7751 # requiring Autoconf 2.70 or later.
7752 case $CONFIG_FILES in #(
7753 *\'*) :
7754 eval set x "$CONFIG_FILES" ;; #(
7755 *) :
7756 set x $CONFIG_FILES ;; #(
7757 *) :
7759 esac
7760 shift
7761 # Used to flag and report bootstrapping failures.
7762 am_rc=0
7763 for am_mf
7765 # Strip MF so we end up with the name of the file.
7766 am_mf=`printf "%s\n" "$am_mf" | sed -e 's/:.*$//'`
7767 # Check whether this is an Automake generated Makefile which includes
7768 # dependency-tracking related rules and includes.
7769 # Grep'ing the whole file directly is not great: AIX grep has a line
7770 # limit of 2048, but all sed's we know have understand at least 4000.
7771 sed -n 's,^am--depfiles:.*,X,p' "$am_mf" | grep X >/dev/null 2>&1 \
7772 || continue
7773 am_dirpart=`$as_dirname -- "$am_mf" ||
7774 $as_expr X"$am_mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
7775 X"$am_mf" : 'X\(//\)[^/]' \| \
7776 X"$am_mf" : 'X\(//\)$' \| \
7777 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7778 printf "%s\n" X"$am_mf" |
7779 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
7780 s//\1/
7783 /^X\(\/\/\)[^/].*/{
7784 s//\1/
7787 /^X\(\/\/\)$/{
7788 s//\1/
7791 /^X\(\/\).*/{
7792 s//\1/
7795 s/.*/./; q'`
7796 am_filepart=`$as_basename -- "$am_mf" ||
7797 $as_expr X/"$am_mf" : '.*/\([^/][^/]*\)/*$' \| \
7798 X"$am_mf" : 'X\(//\)$' \| \
7799 X"$am_mf" : 'X\(/\)' \| . 2>/dev/null ||
7800 printf "%s\n" X/"$am_mf" |
7801 sed '/^.*\/\([^/][^/]*\)\/*$/{
7802 s//\1/
7805 /^X\/\(\/\/\)$/{
7806 s//\1/
7809 /^X\/\(\/\).*/{
7810 s//\1/
7813 s/.*/./; q'`
7814 { echo "$as_me:$LINENO: cd "$am_dirpart" \
7815 && sed -e '/# am--include-marker/d' "$am_filepart" \
7816 | $MAKE -f - am--depfiles" >&5
7817 (cd "$am_dirpart" \
7818 && sed -e '/# am--include-marker/d' "$am_filepart" \
7819 | $MAKE -f - am--depfiles) >&5 2>&5
7820 ac_status=$?
7821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7822 (exit $ac_status); } || am_rc=$?
7823 done
7824 if test $am_rc -ne 0; then
7825 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in '$ac_pwd':" >&5
7826 printf "%s\n" "$as_me: error: in '$ac_pwd':" >&2;}
7827 as_fn_error $? "Something went wrong bootstrapping makefile fragments
7828 for automatic dependency tracking. If GNU make was not used, consider
7829 re-running the configure script with MAKE=\"gmake\" (or whatever is
7830 necessary). You can also try re-running configure with the
7831 '--disable-dependency-tracking' option to at least be able to build
7832 the package (albeit without support for automatic dependency tracking).
7833 See 'config.log' for more details" "$LINENO" 5; }
7835 { am_dirpart=; unset am_dirpart;}
7836 { am_filepart=; unset am_filepart;}
7837 { am_mf=; unset am_mf;}
7838 { am_rc=; unset am_rc;}
7839 rm -f conftest-deps.mk
7843 esac
7844 done # for ac_tag
7847 as_fn_exit 0
7848 _ACEOF
7849 ac_clean_files=$ac_clean_files_save
7851 test $ac_write_fail = 0 ||
7852 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7855 # configure is writing to config.log, and then calls config.status.
7856 # config.status does its own redirection, appending to config.log.
7857 # Unfortunately, on DOS this fails, as config.log is still kept open
7858 # by configure, so config.status won't be able to write to it; its
7859 # output is simply discarded. So we exec the FD to /dev/null,
7860 # effectively closing config.log, so it can be properly (re)opened and
7861 # appended to by config.status. When coming back to configure, we
7862 # need to make the FD available again.
7863 if test "$no_create" != yes; then
7864 ac_cs_success=:
7865 ac_config_status_args=
7866 test "$silent" = yes &&
7867 ac_config_status_args="$ac_config_status_args --quiet"
7868 exec 5>/dev/null
7869 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7870 exec 5>>config.log
7871 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7872 # would make configure fail if this is the last instruction.
7873 $ac_cs_success || as_fn_exit 1
7875 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7877 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}