2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for ASCII.def 1.9.5.
5 # Report bugs to <gm2@nongnu.org>.
8 # Copyright (C) 1992-2024 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE
=1; export DUALCASE
# for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in #(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print
-rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
55 as_echo_n='/usr
/ucb
/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
68 as_echo_n='sh
-c $as_echo_n_body as_echo
'
71 as_echo='sh
-c $as_echo_body as_echo
'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x
; then
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var
in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\
${$as_var+set} = xset \
122 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
135 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x
"${_as_can_reexec}" != xno
&& test "x$CONFIG_SHELL" != x
; then
140 _as_can_reexec
=no
; export _as_can_reexec
;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
147 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
149 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec
=; unset _as_can_reexec
;}
162 if test "x$CONFIG_SHELL" = x
; then
163 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
171 case \`(set -o) 2>/dev/null\` in #(
179 as_required
="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
197 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev
/null
; then :
207 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
210 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
212 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
215 test -z "$as_dir" && as_dir
=.
219 for as_base
in sh bash ksh sh5
; do
220 # Try only shells that exist, to save several forks.
221 as_shell
=$as_dir/$as_base
222 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
224 CONFIG_SHELL
=$as_shell as_have_required
=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
233 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
235 CONFIG_SHELL
=$SHELL as_have_required
=yes
240 if test "x$CONFIG_SHELL" != x
; then :
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
248 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
250 *v
*x
* |
*x
*v
* ) as_opts
=-vx ;;
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
262 if test x
$as_have_required = xno
; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x
${ZSH_VERSION+set} = xset
; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and gm2@nongnu.org
270 $0: about your system, including any error possibly output
271 $0: before this message. Then install a modern shell, or
272 $0: manually run the script under such a shell if you do
279 SHELL
=${CONFIG_SHELL-/bin/sh}
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE
= GREP_OPTIONS
=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
290 # Portably unset VAR.
293 { eval $1=; unset $1;}
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
317 # Create "$as_dir" as a directory, including parents if necessary.
322 -*) as_dir
=.
/$as_dir;;
324 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
328 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
331 as_dirs
="'$as_qdir' $as_dirs"
332 as_dir
=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
355 test -d "$as_dir" && break
357 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
358 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p
()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
377 eval 'as_fn_append ()
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
401 as_val
=`expr "$@" || test $? -eq 1`
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
413 as_status
=$1; test $as_status -eq 0 && as_status
=1
415 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit
$as_status
422 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
429 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
441 as_me
=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
460 # Avoid depending upon Character Ranges.
461 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits
='0123456789'
465 as_cr_alnum
=$as_cr_Letters$as_cr_digits
468 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
469 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
488 chmod +x
"$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec
=no
; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
499 # Exit status is that of the last command.
503 ECHO_C
= ECHO_N
= ECHO_T
=
504 case `echo -n x` in #(((((
506 case `echo 'xy\c'` in
507 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
516 rm -f conf$$ conf$$.exe conf$$.
file
517 if test -d conf$$.dir
; then
518 rm -f conf$$.dir
/conf$$.
file
521 mkdir conf$$.dir
2>/dev
/null
523 if (echo >conf$$.
file) 2>/dev
/null
; then
524 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
532 elif ln conf$$.
file conf$$
2>/dev
/null
; then
540 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
541 rmdir conf$$.dir
2>/dev
/null
543 if mkdir
-p .
2>/dev
/null
; then
544 as_mkdir_p
='mkdir -p "$as_dir"'
546 test -d .
/-p && rmdir .
/-p
551 as_executable_p
=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
571 ac_default_prefix
=/usr
/local
573 ac_config_libobj_dir
=.
580 # Identity of this package.
581 PACKAGE_NAME
='ASCII.def'
582 PACKAGE_TARNAME
='ascii-def'
583 PACKAGE_VERSION
='1.9.5'
584 PACKAGE_STRING
='ASCII.def 1.9.5'
585 PACKAGE_BUGREPORT
='gm2@nongnu.org'
588 # Factoring default headers for most tests.
589 ac_includes_default
="\
591 #ifdef HAVE_SYS_TYPES_H
592 # include <sys/types.h>
594 #ifdef HAVE_SYS_STAT_H
595 # include <sys/stat.h>
601 # ifdef HAVE_STDLIB_H
606 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
611 #ifdef HAVE_STRINGS_H
612 # include <strings.h>
614 #ifdef HAVE_INTTYPES_H
615 # include <inttypes.h>
624 ac_subst_vars
='LTLIBOBJS
664 program_transform_name
677 enable_option_checking
679 ac_precious_vars
='build_alias
690 # Initialize some variables set by options.
692 ac_init_version
=false
693 ac_unrecognized_opts
=
695 # The variables have the same names as the options, with
696 # dashes changed to underlines.
704 program_transform_name
=s
,x
,x
,
712 # Installation directory options.
713 # These are left unexpanded so users can "make install exec_prefix=/foo"
714 # and all the variables that are supposed to be based on exec_prefix
715 # by default will actually change.
716 # Use braces instead of parens because sh, perl, etc. also accept them.
717 # (The list follows the same order as the GNU Coding Standards.)
718 bindir
='${exec_prefix}/bin'
719 sbindir
='${exec_prefix}/sbin'
720 libexecdir
='${exec_prefix}/libexec'
721 datarootdir
='${prefix}/share'
722 datadir
='${datarootdir}'
723 sysconfdir
='${prefix}/etc'
724 sharedstatedir
='${prefix}/com'
725 localstatedir
='${prefix}/var'
726 includedir
='${prefix}/include'
727 oldincludedir
='/usr/include'
728 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
729 infodir
='${datarootdir}/info'
734 libdir
='${exec_prefix}/lib'
735 localedir
='${datarootdir}/locale'
736 mandir
='${datarootdir}/man'
742 # If the previous option needs an argument, assign it.
743 if test -n "$ac_prev"; then
744 eval $ac_prev=\
$ac_option
750 *=?
*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
755 # Accept the important Cygnus configure options, so we can diagnose typos.
757 case $ac_dashdash$ac_option in
761 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
763 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
766 -build |
--build |
--buil |
--bui |
--bu)
767 ac_prev
=build_alias
;;
768 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
769 build_alias
=$ac_optarg ;;
771 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
772 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
773 ac_prev
=cache_file
;;
774 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
775 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
776 cache_file
=$ac_optarg ;;
779 cache_file
=config.cache
;;
781 -datadir |
--datadir |
--datadi |
--datad)
783 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
784 datadir
=$ac_optarg ;;
786 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
787 |
--dataroo |
--dataro |
--datar)
788 ac_prev
=datarootdir
;;
789 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
790 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
791 datarootdir
=$ac_optarg ;;
793 -disable-* |
--disable-*)
794 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
797 as_fn_error $?
"invalid feature name: $ac_useropt"
798 ac_useropt_orig
=$ac_useropt
799 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
804 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
805 ac_unrecognized_sep
=', ';;
807 eval enable_
$ac_useropt=no
;;
809 -docdir |
--docdir |
--docdi |
--doc |
--do)
811 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
814 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
816 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
819 -enable-* |
--enable-*)
820 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
821 # Reject names that are not valid shell variable names.
822 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
823 as_fn_error $?
"invalid feature name: $ac_useropt"
824 ac_useropt_orig
=$ac_useropt
825 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
826 case $ac_user_opts in
830 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
831 ac_unrecognized_sep
=', ';;
833 eval enable_
$ac_useropt=\
$ac_optarg ;;
835 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
836 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
837 |
--exec |
--exe |
--ex)
838 ac_prev
=exec_prefix
;;
839 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
840 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
841 |
--exec=* |
--exe=* |
--ex=*)
842 exec_prefix
=$ac_optarg ;;
844 -gas |
--gas |
--ga |
--g)
845 # Obsolete; use --with-gas.
848 -help |
--help |
--hel |
--he |
-h)
850 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
851 ac_init_help
=recursive
;;
852 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
853 ac_init_help
=short
;;
855 -host |
--host |
--hos |
--ho)
856 ac_prev
=host_alias
;;
857 -host=* |
--host=* |
--hos=* |
--ho=*)
858 host_alias
=$ac_optarg ;;
860 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
862 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
864 htmldir
=$ac_optarg ;;
866 -includedir |
--includedir |
--includedi |
--included |
--include \
867 |
--includ |
--inclu |
--incl |
--inc)
868 ac_prev
=includedir
;;
869 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
870 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
871 includedir
=$ac_optarg ;;
873 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
875 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
876 infodir
=$ac_optarg ;;
878 -libdir |
--libdir |
--libdi |
--libd)
880 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
883 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
884 |
--libexe |
--libex |
--libe)
885 ac_prev
=libexecdir
;;
886 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
887 |
--libexe=* |
--libex=* |
--libe=*)
888 libexecdir
=$ac_optarg ;;
890 -localedir |
--localedir |
--localedi |
--localed |
--locale)
892 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
893 localedir
=$ac_optarg ;;
895 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
896 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
897 ac_prev
=localstatedir
;;
898 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
899 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
900 localstatedir
=$ac_optarg ;;
902 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
904 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
908 # Obsolete; use --without-fp.
911 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
912 |
--no-cr |
--no-c |
-n)
915 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
916 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
919 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
920 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
921 |
--oldin |
--oldi |
--old |
--ol |
--o)
922 ac_prev
=oldincludedir
;;
923 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
924 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
925 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
926 oldincludedir
=$ac_optarg ;;
928 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
930 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
933 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
934 |
--program-pre |
--program-pr |
--program-p)
935 ac_prev
=program_prefix
;;
936 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
937 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
938 program_prefix
=$ac_optarg ;;
940 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
941 |
--program-suf |
--program-su |
--program-s)
942 ac_prev
=program_suffix
;;
943 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
944 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
945 program_suffix
=$ac_optarg ;;
947 -program-transform-name |
--program-transform-name \
948 |
--program-transform-nam |
--program-transform-na \
949 |
--program-transform-n |
--program-transform- \
950 |
--program-transform |
--program-transfor \
951 |
--program-transfo |
--program-transf \
952 |
--program-trans |
--program-tran \
953 |
--progr-tra |
--program-tr |
--program-t)
954 ac_prev
=program_transform_name
;;
955 -program-transform-name=* |
--program-transform-name=* \
956 |
--program-transform-nam=* |
--program-transform-na=* \
957 |
--program-transform-n=* |
--program-transform-=* \
958 |
--program-transform=* |
--program-transfor=* \
959 |
--program-transfo=* |
--program-transf=* \
960 |
--program-trans=* |
--program-tran=* \
961 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
962 program_transform_name
=$ac_optarg ;;
964 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
966 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
969 -psdir |
--psdir |
--psdi |
--psd |
--ps)
971 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
974 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
975 |
-silent |
--silent |
--silen |
--sile |
--sil)
978 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
980 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
982 sbindir
=$ac_optarg ;;
984 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
985 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
986 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
988 ac_prev
=sharedstatedir
;;
989 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
990 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
991 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
993 sharedstatedir
=$ac_optarg ;;
995 -site |
--site |
--sit)
997 -site=* |
--site=* |
--sit=*)
1000 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
1002 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
1003 srcdir
=$ac_optarg ;;
1005 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
1006 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
1007 ac_prev
=sysconfdir
;;
1008 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1009 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1010 sysconfdir
=$ac_optarg ;;
1012 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1013 ac_prev
=target_alias
;;
1014 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1015 target_alias
=$ac_optarg ;;
1017 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1020 -version |
--version |
--versio |
--versi |
--vers |
-V)
1021 ac_init_version
=: ;;
1024 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1025 # Reject names that are not valid shell variable names.
1026 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1027 as_fn_error $?
"invalid package name: $ac_useropt"
1028 ac_useropt_orig
=$ac_useropt
1029 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1030 case $ac_user_opts in
1034 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1035 ac_unrecognized_sep
=', ';;
1037 eval with_
$ac_useropt=\
$ac_optarg ;;
1039 -without-* |
--without-*)
1040 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1041 # Reject names that are not valid shell variable names.
1042 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1043 as_fn_error $?
"invalid package name: $ac_useropt"
1044 ac_useropt_orig
=$ac_useropt
1045 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1046 case $ac_user_opts in
1050 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1051 ac_unrecognized_sep
=', ';;
1053 eval with_
$ac_useropt=no
;;
1056 # Obsolete; use --with-x.
1059 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1060 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1061 ac_prev
=x_includes
;;
1062 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1063 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1064 x_includes
=$ac_optarg ;;
1066 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1067 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1068 ac_prev
=x_libraries
;;
1069 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1070 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1071 x_libraries
=$ac_optarg ;;
1073 -*) as_fn_error $?
"unrecognized option: \`$ac_option'
1074 Try \`$0 --help' for more information"
1078 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1079 # Reject names that are not valid shell variable names.
1080 case $ac_envvar in #(
1081 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1082 as_fn_error $?
"invalid variable name: \`$ac_envvar'" ;;
1084 eval $ac_envvar=\
$ac_optarg
1085 export $ac_envvar ;;
1088 # FIXME: should be removed in autoconf 3.0.
1089 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1090 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1091 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1092 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1098 if test -n "$ac_prev"; then
1099 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1100 as_fn_error $?
"missing argument to $ac_option"
1103 if test -n "$ac_unrecognized_opts"; then
1104 case $enable_option_checking in
1106 fatal
) as_fn_error $?
"unrecognized options: $ac_unrecognized_opts" ;;
1107 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1111 # Check all directory arguments for consistency.
1112 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1113 datadir sysconfdir sharedstatedir localstatedir includedir \
1114 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1115 libdir localedir mandir
1117 eval ac_val
=\$
$ac_var
1118 # Remove trailing slashes.
1121 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1122 eval $ac_var=\
$ac_val;;
1124 # Be sure to have absolute directory names.
1126 [\\/$
]* | ?
:[\\/]* ) continue;;
1127 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1129 as_fn_error $?
"expected an absolute directory name for --$ac_var: $ac_val"
1132 # There might be people who depend on the old broken behavior: `$host'
1133 # used to hold the argument of --host etc.
1134 # FIXME: To remove some day.
1137 target
=$target_alias
1139 # FIXME: To remove some day.
1140 if test "x$host_alias" != x
; then
1141 if test "x$build_alias" = x
; then
1142 cross_compiling
=maybe
1143 elif test "x$build_alias" != "x$host_alias"; then
1149 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1151 test "$silent" = yes && exec 6>/dev
/null
1154 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1155 ac_ls_di
=`ls -di .` &&
1156 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1157 as_fn_error $?
"working directory cannot be determined"
1158 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1159 as_fn_error $?
"pwd does not report name of working directory"
1162 # Find the source files, if location was not specified.
1163 if test -z "$srcdir"; then
1164 ac_srcdir_defaulted
=yes
1165 # Try the directory containing this script, then the parent directory.
1166 ac_confdir
=`$as_dirname -- "$as_myself" ||
1167 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1168 X"$as_myself" : 'X\(//\)[^/]' \| \
1169 X"$as_myself" : 'X\(//\)$' \| \
1170 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1171 $as_echo X"$as_myself" |
1172 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1190 if test ! -r "$srcdir/$ac_unique_file"; then
1194 ac_srcdir_defaulted
=no
1196 if test ! -r "$srcdir/$ac_unique_file"; then
1197 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1198 as_fn_error $?
"cannot find sources ($ac_unique_file) in $srcdir"
1200 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1202 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1204 # When building in place, set srcdir=.
1205 if test "$ac_abs_confdir" = "$ac_pwd"; then
1208 # Remove unnecessary trailing slashes from srcdir.
1209 # Double slashes in file names in object file debugging info
1210 # mess up M-x gdb in Emacs.
1212 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1214 for ac_var
in $ac_precious_vars; do
1215 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1216 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1217 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1218 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1222 # Report the --help message.
1224 if test "$ac_init_help" = "long"; then
1225 # Omit some internal or obsolete options to make the list less imposing.
1226 # This message is too long to be a string in the A/UX 3.1 sh.
1228 \`configure' configures ASCII.def 1.9.5 to adapt to many kinds of systems.
1230 Usage: $0 [OPTION]... [VAR=VALUE]...
1232 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1233 VAR=VALUE. See below for descriptions of some of the useful variables.
1235 Defaults for the options are specified in brackets.
1238 -h, --help display this help and exit
1239 --help=short display options specific to this package
1240 --help=recursive display the short help of all the included packages
1241 -V, --version display version information and exit
1242 -q, --quiet, --silent do not print \`checking ...' messages
1243 --cache-file=FILE cache test results in FILE [disabled]
1244 -C, --config-cache alias for \`--cache-file=config.cache'
1245 -n, --no-create do not create output files
1246 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1248 Installation directories:
1249 --prefix=PREFIX install architecture-independent files in PREFIX
1250 [$ac_default_prefix]
1251 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1254 By default, \`make install' will install all the files in
1255 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1256 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1257 for instance \`--prefix=\$HOME'.
1259 For better control, use the options below.
1261 Fine tuning of the installation directories:
1262 --bindir=DIR user executables [EPREFIX/bin]
1263 --sbindir=DIR system admin executables [EPREFIX/sbin]
1264 --libexecdir=DIR program executables [EPREFIX/libexec]
1265 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1266 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1267 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1268 --libdir=DIR object code libraries [EPREFIX/lib]
1269 --includedir=DIR C header files [PREFIX/include]
1270 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1271 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1272 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1273 --infodir=DIR info documentation [DATAROOTDIR/info]
1274 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1275 --mandir=DIR man documentation [DATAROOTDIR/man]
1276 --docdir=DIR documentation root [DATAROOTDIR/doc/ascii-def]
1277 --htmldir=DIR html documentation [DOCDIR]
1278 --dvidir=DIR dvi documentation [DOCDIR]
1279 --pdfdir=DIR pdf documentation [DOCDIR]
1280 --psdir=DIR ps documentation [DOCDIR]
1287 if test -n "$ac_init_help"; then
1288 case $ac_init_help in
1289 short | recursive
) echo "Configuration of ASCII.def 1.9.5:";;
1293 Some influential environment variables
:
1294 CC C compiler
command
1295 CFLAGS C compiler flags
1296 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1297 nonstandard directory
<lib dir
>
1298 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1299 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1300 you have headers
in a nonstandard directory
<include dir
>
1303 Use these variables to override the choices made by
`configure' or to help
1304 it to find libraries and programs with nonstandard names/locations.
1306 Report bugs to <gm2@nongnu.org>.
1311 if test "$ac_init_help" = "recursive"; then
1312 # If there are subdirs, report their specific --help.
1313 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1314 test -d "$ac_dir" ||
1315 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1320 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1322 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1323 # A ".." for each directory in $ac_dir_suffix.
1324 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1325 case $ac_top_builddir_sub in
1326 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1327 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1330 ac_abs_top_builddir=$ac_pwd
1331 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1332 # for backward compatibility:
1333 ac_top_builddir=$ac_top_build_prefix
1336 .) # We are building in place.
1338 ac_top_srcdir=$ac_top_builddir_sub
1339 ac_abs_top_srcdir=$ac_pwd ;;
1340 [\\/]* | ?:[\\/]* ) # Absolute name.
1341 ac_srcdir=$srcdir$ac_dir_suffix;
1342 ac_top_srcdir=$srcdir
1343 ac_abs_top_srcdir=$srcdir ;;
1345 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1346 ac_top_srcdir=$ac_top_build_prefix$srcdir
1347 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1349 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1351 cd "$ac_dir" || { ac_status=$?; continue; }
1352 # Check for guested configure.
1353 if test -f "$ac_srcdir/configure.gnu"; then
1355 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1356 elif test -f "$ac_srcdir/configure"; then
1358 $SHELL "$ac_srcdir/configure" --help=recursive
1360 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1362 cd "$ac_pwd" || { ac_status=$?; break; }
1366 test -n "$ac_init_help" && exit $ac_status
1367 if $ac_init_version; then
1369 ASCII.def configure 1.9.5
1370 generated by GNU Autoconf 2.69
1372 Copyright (C) 2012-2024 Free Software Foundation, Inc.
1373 This configure script is free software; the Free Software Foundation
1374 gives unlimited permission to copy, distribute and modify it.
1379 ## ------------------------ ##
1380 ## Autoconf initialization. ##
1381 ## ------------------------ ##
1383 # ac_fn_c_try_compile LINENO
1384 # --------------------------
1385 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1386 ac_fn_c_try_compile ()
1388 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1389 rm -f conftest.$ac_objext
1390 if { { ac_try="$ac_compile"
1392 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1393 *) ac_try_echo
=$ac_try;;
1395 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1396 $as_echo "$ac_try_echo"; } >&5
1397 (eval "$ac_compile") 2>conftest.err
1399 if test -s conftest.err
; then
1400 grep -v '^ *+' conftest.err
>conftest.er1
1401 cat conftest.er1
>&5
1402 mv -f conftest.er1 conftest.err
1404 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1405 test $ac_status = 0; } && {
1406 test -z "$ac_c_werror_flag" ||
1407 test ! -s conftest.err
1408 } && test -s conftest.
$ac_objext; then :
1411 $as_echo "$as_me: failed program was:" >&5
1412 sed 's/^/| /' conftest.
$ac_ext >&5
1416 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1417 as_fn_set_status
$ac_retval
1419 } # ac_fn_c_try_compile
1421 # ac_fn_c_try_cpp LINENO
1422 # ----------------------
1423 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1426 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1427 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1429 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1430 *) ac_try_echo=$ac_try;;
1432 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1433 $as_echo "$ac_try_echo"; } >&5
1434 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1436 if test -s conftest.err; then
1437 grep -v '^ *+' conftest.err >conftest.er1
1438 cat conftest.er1 >&5
1439 mv -f conftest.er1 conftest.err
1441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1442 test $ac_status = 0; } > conftest.i && {
1443 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1444 test ! -s conftest.err
1448 $as_echo "$as_me: failed program was:" >&5
1449 sed 's/^/| /' conftest.$ac_ext >&5
1453 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1454 as_fn_set_status $ac_retval
1458 # ac_fn_c_try_run LINENO
1459 # ----------------------
1460 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1461 # that executables *can* be run.
1464 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1465 if { { ac_try="$ac_link"
1467 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1468 *) ac_try_echo
=$ac_try;;
1470 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1471 $as_echo "$ac_try_echo"; } >&5
1472 (eval "$ac_link") 2>&5
1474 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1475 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1476 { { case "(($ac_try" in
1477 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1478 *) ac_try_echo=$ac_try;;
1480 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1481 $as_echo "$ac_try_echo"; } >&5
1482 (eval "$ac_try") 2>&5
1484 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1485 test $ac_status = 0; }; }; then :
1488 $as_echo "$as_me: program exited with status $ac_status" >&5
1489 $as_echo "$as_me: failed program was:" >&5
1490 sed 's/^/| /' conftest.$ac_ext >&5
1492 ac_retval=$ac_status
1494 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1495 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1496 as_fn_set_status $ac_retval
1500 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1501 # -------------------------------------------------------
1502 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1503 # the include files in INCLUDES and setting the cache variable VAR
1505 ac_fn_c_check_header_mongrel ()
1507 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1508 if eval \${$3+:} false; then :
1509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1510 $as_echo_n "checking for $2... " >&6; }
1511 if eval \${$3+:} false; then :
1512 $as_echo_n "(cached) " >&6
1515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1516 $as_echo "$ac_res" >&6; }
1518 # Is the header compilable?
1519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1520 $as_echo_n "checking $2 usability... " >&6; }
1521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1522 /* end confdefs.h. */
1526 if ac_fn_c_try_compile "$LINENO"; then :
1527 ac_header_compiler=yes
1529 ac_header_compiler=no
1531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1533 $as_echo "$ac_header_compiler" >&6; }
1535 # Is the header present?
1536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1537 $as_echo_n "checking $2 presence... " >&6; }
1538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1539 /* end confdefs.h. */
1542 if ac_fn_c_try_cpp "$LINENO"; then :
1543 ac_header_preproc=yes
1545 ac_header_preproc=no
1547 rm -f conftest.err conftest.i conftest.$ac_ext
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1549 $as_echo "$ac_header_preproc" >&6; }
1551 # So? What about this header?
1552 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1555 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1556 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1557 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1561 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1563 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1565 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1567 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1568 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1569 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1570 ( $as_echo "## ----------------------------- ##
1571 ## Report this to gm2@nongnu.org ##
1572 ## ----------------------------- ##"
1573 ) | sed "s/^/$as_me: WARNING: /" >&2
1576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1577 $as_echo_n "checking for $2... " >&6; }
1578 if eval \${$3+:} false; then :
1579 $as_echo_n "(cached) " >&6
1581 eval "$3=\$ac_header_compiler"
1584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1585 $as_echo "$ac_res" >&6; }
1587 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1589 } # ac_fn_c_check_header_mongrel
1591 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1592 # -------------------------------------------------------
1593 # Tests whether HEADER exists and can be compiled using the include files in
1594 # INCLUDES, setting the cache variable VAR accordingly.
1595 ac_fn_c_check_header_compile ()
1597 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1599 $as_echo_n "checking for $2... " >&6; }
1600 if eval \${$3+:} false; then :
1601 $as_echo_n "(cached) " >&6
1603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h. */
1608 if ac_fn_c_try_compile "$LINENO"; then :
1613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1617 $as_echo "$ac_res" >&6; }
1618 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620 } # ac_fn_c_check_header_compile
1622 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1623 # -------------------------------------------
1624 # Tests whether TYPE exists after having included INCLUDES, setting cache
1625 # variable VAR accordingly.
1626 ac_fn_c_check_type ()
1628 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1630 $as_echo_n "checking for $2... " >&6; }
1631 if eval \${$3+:} false; then :
1632 $as_echo_n "(cached) " >&6
1635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1636 /* end confdefs.h. */
1647 if ac_fn_c_try_compile "$LINENO"; then :
1648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1649 /* end confdefs.h. */
1660 if ac_fn_c_try_compile "$LINENO"; then :
1665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1671 $as_echo "$ac_res" >&6; }
1672 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1674 } # ac_fn_c_check_type
1676 # ac_fn_c_try_link LINENO
1677 # -----------------------
1678 # Try to link conftest.$ac_ext, and return whether this succeeded.
1681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1682 rm -f conftest.$ac_objext conftest$ac_exeext
1683 if { { ac_try="$ac_link"
1685 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1686 *) ac_try_echo
=$ac_try;;
1688 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1689 $as_echo "$ac_try_echo"; } >&5
1690 (eval "$ac_link") 2>conftest.err
1692 if test -s conftest.err
; then
1693 grep -v '^ *+' conftest.err
>conftest.er1
1694 cat conftest.er1
>&5
1695 mv -f conftest.er1 conftest.err
1697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1698 test $ac_status = 0; } && {
1699 test -z "$ac_c_werror_flag" ||
1700 test ! -s conftest.err
1701 } && test -s conftest
$ac_exeext && {
1702 test "$cross_compiling" = yes ||
1703 test -x conftest
$ac_exeext
1707 $as_echo "$as_me: failed program was:" >&5
1708 sed 's/^/| /' conftest.
$ac_ext >&5
1712 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1713 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1714 # interfere with the next link command; also delete a directory that is
1715 # left behind by Apple's compiler. We do this before executing the actions.
1716 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1717 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1718 as_fn_set_status
$ac_retval
1720 } # ac_fn_c_try_link
1722 # ac_fn_c_check_func LINENO FUNC VAR
1723 # ----------------------------------
1724 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1725 ac_fn_c_check_func
()
1727 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1729 $as_echo_n "checking for $2... " >&6; }
1730 if eval \
${$3+:} false
; then :
1731 $as_echo_n "(cached) " >&6
1733 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1734 /* end confdefs.h. */
1735 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1736 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1737 #define $2 innocuous_$2
1739 /* System header to define __stub macros and hopefully few prototypes,
1740 which can conflict with char $2 (); below.
1741 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1742 <limits.h> exists even on freestanding compilers. */
1745 # include <limits.h>
1747 # include <assert.h>
1752 /* Override any GCC internal prototype to avoid an error.
1753 Use char because int might match the return type of a GCC
1754 builtin and then its argument prototype would still apply. */
1759 /* The GNU C library defines this for functions which it implements
1760 to always fail with ENOSYS. Some functions are actually named
1761 something starting with __ and the normal name is an alias. */
1762 #if defined __stub_$2 || defined __stub___$2
1774 if ac_fn_c_try_link
"$LINENO"; then :
1779 rm -f core conftest.err conftest.
$ac_objext \
1780 conftest
$ac_exeext conftest.
$ac_ext
1783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1784 $as_echo "$ac_res" >&6; }
1785 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1787 } # ac_fn_c_check_func
1789 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
1790 # --------------------------------------------
1791 # Tries to find the compile-time value of EXPR in a program that includes
1792 # INCLUDES, setting VAR accordingly. Returns whether the value could be
1794 ac_fn_c_compute_int
()
1796 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1797 if test "$cross_compiling" = yes; then
1798 # Depending upon the size, compute the lo and hi bounds.
1799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1800 /* end confdefs.h. */
1805 static int test_array [1 - 2 * !(($2) >= 0)];
1807 return test_array [0];
1813 if ac_fn_c_try_compile
"$LINENO"; then :
1816 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1817 /* end confdefs.h. */
1822 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1824 return test_array [0];
1830 if ac_fn_c_try_compile
"$LINENO"; then :
1831 ac_hi
=$ac_mid; break
1833 as_fn_arith
$ac_mid + 1 && ac_lo
=$as_val
1834 if test $ac_lo -le $ac_mid; then
1838 as_fn_arith
2 '*' $ac_mid + 1 && ac_mid
=$as_val
1840 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1843 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1844 /* end confdefs.h. */
1849 static int test_array [1 - 2 * !(($2) < 0)];
1851 return test_array [0];
1857 if ac_fn_c_try_compile
"$LINENO"; then :
1860 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1861 /* end confdefs.h. */
1866 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
1868 return test_array [0];
1874 if ac_fn_c_try_compile
"$LINENO"; then :
1875 ac_lo
=$ac_mid; break
1877 as_fn_arith
'(' $ac_mid ')' - 1 && ac_hi
=$as_val
1878 if test $ac_mid -le $ac_hi; then
1882 as_fn_arith
2 '*' $ac_mid && ac_mid
=$as_val
1884 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1889 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1891 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1892 # Binary search between lo and hi bounds.
1893 while test "x$ac_lo" != "x$ac_hi"; do
1894 as_fn_arith
'(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid
=$as_val
1895 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1896 /* end confdefs.h. */
1901 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
1903 return test_array [0];
1909 if ac_fn_c_try_compile
"$LINENO"; then :
1912 as_fn_arith
'(' $ac_mid ')' + 1 && ac_lo
=$as_val
1914 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1917 ?
*) eval "$3=\$ac_lo"; ac_retval
=0 ;;
1921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1922 /* end confdefs.h. */
1924 static long int longval () { return $2; }
1925 static unsigned long int ulongval () { return $2; }
1932 FILE *f = fopen ("conftest.val", "w");
1937 long int i = longval ();
1940 fprintf (f, "%ld", i);
1944 unsigned long int i = ulongval ();
1947 fprintf (f, "%lu", i);
1949 /* Do not output a trailing newline, as this causes \r\n confusion
1950 on some platforms. */
1951 return ferror (f) || fclose (f) != 0;
1957 if ac_fn_c_try_run
"$LINENO"; then :
1958 echo >>conftest.val
; read $3 <conftest.val
; ac_retval
=0
1962 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
1963 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
1967 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1968 as_fn_set_status
$ac_retval
1970 } # ac_fn_c_compute_int
1971 cat >config.log
<<_ACEOF
1972 This file contains any messages produced by compilers while
1973 running configure, to aid debugging if configure makes a mistake.
1975 It was created by ASCII.def $as_me 1.9.5, which was
1976 generated by GNU Autoconf 2.69. Invocation command line was
1988 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1989 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1990 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1991 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1992 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1994 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1995 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1997 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1998 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1999 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2000 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2001 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2002 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2003 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2007 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2011 test -z "$as_dir" && as_dir
=.
2012 $as_echo "PATH: $as_dir"
2028 # Keep a trace of the command line.
2029 # Strip out --no-create and --no-recursion so they do not pile up.
2030 # Strip out --silent because we don't want to record it for future runs.
2031 # Also quote any args containing shell meta-characters.
2032 # Make two passes to allow for proper duplicate-argument suppression.
2036 ac_must_keep_next
=false
2042 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
2043 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
2044 |
-silent |
--silent |
--silen |
--sile |
--sil)
2047 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2050 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
2052 as_fn_append ac_configure_args1
" '$ac_arg'"
2053 if test $ac_must_keep_next = true
; then
2054 ac_must_keep_next
=false
# Got value, back to normal.
2057 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
2058 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
2059 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
2060 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
2061 case "$ac_configure_args0 " in
2062 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2065 -* ) ac_must_keep_next
=true
;;
2068 as_fn_append ac_configure_args
" '$ac_arg'"
2073 { ac_configure_args0
=; unset ac_configure_args0
;}
2074 { ac_configure_args1
=; unset ac_configure_args1
;}
2076 # When interrupted or exit'd, cleanup temporary files, and complete
2077 # config.log. We remove comments because anyway the quotes in there
2078 # would cause problems or look ugly.
2079 # WARNING: Use '\'' to represent an apostrophe within the trap.
2080 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2081 trap 'exit_status=$?
2082 # Save into config.log some information that might help in debugging.
2086 $as_echo "## ---------------- ##
2087 ## Cache variables. ##
2088 ## ---------------- ##"
2090 # The following way of writing the cache mishandles newlines in values,
2092 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2093 eval ac_val=\$$ac_var
2097 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2098 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2101 _ | IFS | as_nl) ;; #(
2102 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2103 *) { eval $ac_var=; unset $ac_var;} ;;
2108 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2109 *${as_nl}ac_space=\ *)
2111 "s/'\''/'\''\\\\'\'''\''/g;
2112 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2115 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2122 $as_echo "## ----------------- ##
2123 ## Output variables. ##
2124 ## ----------------- ##"
2126 for ac_var in $ac_subst_vars
2128 eval ac_val=\$$ac_var
2130 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2132 $as_echo "$ac_var='\''$ac_val'\''"
2136 if test -n "$ac_subst_files"; then
2137 $as_echo "## ------------------- ##
2138 ## File substitutions. ##
2139 ## ------------------- ##"
2141 for ac_var
in $ac_subst_files
2143 eval ac_val
=\$
$ac_var
2145 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2147 $as_echo "$ac_var='\''$ac_val'\''"
2152 if test -s confdefs.h; then
2153 $as_echo "## ----------- ##
2160 test "$ac_signal" != 0 &&
2161 $as_echo "$as_me: caught signal $ac_signal"
2162 $as_echo "$as_me: exit $exit_status"
2164 rm -f core *.core core.conftest.* &&
2165 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2168 for ac_signal
in 1 2 13 15; do
2169 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2173 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2174 rm -f -r conftest
* confdefs.h
2176 $as_echo "/* confdefs.h */" > confdefs.h
2178 # Predefined preprocessor variables.
2180 cat >>confdefs.h
<<_ACEOF
2181 #define PACKAGE_NAME "$PACKAGE_NAME"
2184 cat >>confdefs.h
<<_ACEOF
2185 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2188 cat >>confdefs.h
<<_ACEOF
2189 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2192 cat >>confdefs.h
<<_ACEOF
2193 #define PACKAGE_STRING "$PACKAGE_STRING"
2196 cat >>confdefs.h
<<_ACEOF
2197 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2200 cat >>confdefs.h
<<_ACEOF
2201 #define PACKAGE_URL "$PACKAGE_URL"
2205 # Let the site file select an alternate cache file if it wants to.
2206 # Prefer an explicitly selected file to automatically selected ones.
2209 if test -n "$CONFIG_SITE"; then
2210 # We do not want a PATH search for config.site.
2211 case $CONFIG_SITE in #((
2212 -*) ac_site_file1
=.
/$CONFIG_SITE;;
2213 */*) ac_site_file1
=$CONFIG_SITE;;
2214 *) ac_site_file1
=.
/$CONFIG_SITE;;
2216 elif test "x$prefix" != xNONE
; then
2217 ac_site_file1
=$prefix/share
/config.site
2218 ac_site_file2
=$prefix/etc
/config.site
2220 ac_site_file1
=$ac_default_prefix/share
/config.site
2221 ac_site_file2
=$ac_default_prefix/etc
/config.site
2223 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
2225 test "x$ac_site_file" = xNONE
&& continue
2226 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
2227 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2228 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2229 sed 's/^/| /' "$ac_site_file" >&5
2231 ||
{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2232 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2233 as_fn_error $?
"failed to load site script $ac_site_file
2234 See \`config.log' for more details" "$LINENO" 5; }
2238 if test -r "$cache_file"; then
2239 # Some versions of bash will fail to source /dev/null (special files
2240 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2241 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2243 $as_echo "$as_me: loading cache $cache_file" >&6;}
2245 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
2246 *) .
"./$cache_file";;
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2251 $as_echo "$as_me: creating cache $cache_file" >&6;}
2255 # Check that the precious variables saved in the cache have kept the same
2257 ac_cache_corrupted
=false
2258 for ac_var
in $ac_precious_vars; do
2259 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
2260 eval ac_new_set
=\
$ac_env_${ac_var}_set
2261 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
2262 eval ac_new_val
=\
$ac_env_${ac_var}_value
2263 case $ac_old_set,$ac_new_set in
2265 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2266 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2267 ac_cache_corrupted
=: ;;
2269 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2270 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2271 ac_cache_corrupted
=: ;;
2274 if test "x$ac_old_val" != "x$ac_new_val"; then
2275 # differences in whitespace do not lead to failure.
2276 ac_old_val_w
=`echo x $ac_old_val`
2277 ac_new_val_w
=`echo x $ac_new_val`
2278 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2279 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2280 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2281 ac_cache_corrupted
=:
2283 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2284 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2285 eval $ac_var=\
$ac_old_val
2287 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2288 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2290 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2293 # Pass precious variables to config.status.
2294 if test "$ac_new_set" = set; then
2296 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2297 *) ac_arg
=$ac_var=$ac_new_val ;;
2299 case " $ac_configure_args " in
2300 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2301 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2305 if $ac_cache_corrupted; then
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2307 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2309 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2310 as_fn_error $?
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2312 ## -------------------- ##
2313 ## Main body of script. ##
2314 ## -------------------- ##
2317 ac_cpp
='$CPP $CPPFLAGS'
2318 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2319 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2320 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2323 ac_config_headers
="$ac_config_headers gm2-libs-host.h:gm2-libs-host.h.in"
2326 # Checks for programs.
2328 # Checks for libraries.
2330 # Checks for header files.
2332 ac_cpp
='$CPP $CPPFLAGS'
2333 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2334 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2335 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2336 if test -n "$ac_tool_prefix"; then
2337 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2338 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2340 $as_echo_n "checking for $ac_word... " >&6; }
2341 if ${ac_cv_prog_CC+:} false
; then :
2342 $as_echo_n "(cached) " >&6
2344 if test -n "$CC"; then
2345 ac_cv_prog_CC
="$CC" # Let the user override the test.
2347 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2351 test -z "$as_dir" && as_dir
=.
2352 for ac_exec_ext
in '' $ac_executable_extensions; do
2353 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2354 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2355 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2365 if test -n "$CC"; then
2366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2367 $as_echo "$CC" >&6; }
2369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2370 $as_echo "no" >&6; }
2375 if test -z "$ac_cv_prog_CC"; then
2377 # Extract the first word of "gcc", so it can be a program name with args.
2378 set dummy gcc
; ac_word
=$2
2379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2380 $as_echo_n "checking for $ac_word... " >&6; }
2381 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2382 $as_echo_n "(cached) " >&6
2384 if test -n "$ac_ct_CC"; then
2385 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2387 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2391 test -z "$as_dir" && as_dir
=.
2392 for ac_exec_ext
in '' $ac_executable_extensions; do
2393 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2394 ac_cv_prog_ac_ct_CC
="gcc"
2395 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2404 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2405 if test -n "$ac_ct_CC"; then
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2407 $as_echo "$ac_ct_CC" >&6; }
2409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2410 $as_echo "no" >&6; }
2413 if test "x$ac_ct_CC" = x
; then
2416 case $cross_compiling:$ac_tool_warned in
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2419 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2420 ac_tool_warned
=yes ;;
2428 if test -z "$CC"; then
2429 if test -n "$ac_tool_prefix"; then
2430 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2431 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2433 $as_echo_n "checking for $ac_word... " >&6; }
2434 if ${ac_cv_prog_CC+:} false
; then :
2435 $as_echo_n "(cached) " >&6
2437 if test -n "$CC"; then
2438 ac_cv_prog_CC
="$CC" # Let the user override the test.
2440 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2444 test -z "$as_dir" && as_dir
=.
2445 for ac_exec_ext
in '' $ac_executable_extensions; do
2446 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2447 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2448 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2458 if test -n "$CC"; then
2459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2460 $as_echo "$CC" >&6; }
2462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2463 $as_echo "no" >&6; }
2469 if test -z "$CC"; then
2470 # Extract the first word of "cc", so it can be a program name with args.
2471 set dummy cc
; ac_word
=$2
2472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2473 $as_echo_n "checking for $ac_word... " >&6; }
2474 if ${ac_cv_prog_CC+:} false
; then :
2475 $as_echo_n "(cached) " >&6
2477 if test -n "$CC"; then
2478 ac_cv_prog_CC
="$CC" # Let the user override the test.
2481 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2485 test -z "$as_dir" && as_dir
=.
2486 for ac_exec_ext
in '' $ac_executable_extensions; do
2487 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2488 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2489 ac_prog_rejected
=yes
2493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2500 if test $ac_prog_rejected = yes; then
2501 # We found a bogon in the path, so make sure we never use it.
2502 set dummy
$ac_cv_prog_CC
2504 if test $# != 0; then
2505 # We chose a different compiler from the bogus one.
2506 # However, it has the same basename, so the bogon will be chosen
2507 # first if we set CC to just the basename; use the full file name.
2509 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2515 if test -n "$CC"; then
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2517 $as_echo "$CC" >&6; }
2519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2520 $as_echo "no" >&6; }
2525 if test -z "$CC"; then
2526 if test -n "$ac_tool_prefix"; then
2527 for ac_prog
in cl.exe
2529 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2530 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2532 $as_echo_n "checking for $ac_word... " >&6; }
2533 if ${ac_cv_prog_CC+:} false
; then :
2534 $as_echo_n "(cached) " >&6
2536 if test -n "$CC"; then
2537 ac_cv_prog_CC
="$CC" # Let the user override the test.
2539 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2543 test -z "$as_dir" && as_dir
=.
2544 for ac_exec_ext
in '' $ac_executable_extensions; do
2545 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2546 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2547 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2557 if test -n "$CC"; then
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2559 $as_echo "$CC" >&6; }
2561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2562 $as_echo "no" >&6; }
2566 test -n "$CC" && break
2569 if test -z "$CC"; then
2571 for ac_prog
in cl.exe
2573 # Extract the first word of "$ac_prog", so it can be a program name with args.
2574 set dummy
$ac_prog; ac_word
=$2
2575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2576 $as_echo_n "checking for $ac_word... " >&6; }
2577 if ${ac_cv_prog_ac_ct_CC+:} false
; then :
2578 $as_echo_n "(cached) " >&6
2580 if test -n "$ac_ct_CC"; then
2581 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2583 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2587 test -z "$as_dir" && as_dir
=.
2588 for ac_exec_ext
in '' $ac_executable_extensions; do
2589 if as_fn_executable_p
"$as_dir/$ac_word$ac_exec_ext"; then
2590 ac_cv_prog_ac_ct_CC
="$ac_prog"
2591 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2600 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2601 if test -n "$ac_ct_CC"; then
2602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2603 $as_echo "$ac_ct_CC" >&6; }
2605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2606 $as_echo "no" >&6; }
2610 test -n "$ac_ct_CC" && break
2613 if test "x$ac_ct_CC" = x
; then
2616 case $cross_compiling:$ac_tool_warned in
2618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2619 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2620 ac_tool_warned
=yes ;;
2629 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2630 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2631 as_fn_error $?
"no acceptable C compiler found in \$PATH
2632 See \`config.log' for more details" "$LINENO" 5; }
2634 # Provide some information about the compiler.
2635 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2638 for ac_option
in --version -v -V -qversion; do
2639 { { ac_try
="$ac_compiler $ac_option >&5"
2641 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2642 *) ac_try_echo=$ac_try;;
2644 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2645 $as_echo "$ac_try_echo"; } >&5
2646 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2648 if test -s conftest.err; then
2650 ... rest of stderr output deleted ...
2651 10q' conftest.err >conftest.er1
2652 cat conftest.er1 >&5
2654 rm -f conftest.er1 conftest.err
2655 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2656 test $ac_status = 0; }
2659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2660 /* end confdefs.h. */
2670 ac_clean_files_save=$ac_clean_files
2671 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2672 # Try to create an executable without -o first, disregard a.out.
2673 # It will help us diagnose broken compilers, and finding out an intuition
2675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2676 $as_echo_n "checking whether the C compiler works... " >&6; }
2677 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2679 # The possible output files:
2680 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2683 for ac_file in $ac_files
2686 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2687 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2692 if { { ac_try="$ac_link_default"
2694 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2695 *) ac_try_echo
=$ac_try;;
2697 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2698 $as_echo "$ac_try_echo"; } >&5
2699 (eval "$ac_link_default") 2>&5
2701 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2702 test $ac_status = 0; }; then :
2703 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2704 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2705 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2706 # so that the user can short-circuit this test for compilers unknown to
2708 for ac_file
in $ac_files ''
2710 test -f "$ac_file" ||
continue
2712 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2715 # We found the default executable, but exeext='' is most
2719 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2721 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2723 # We set ac_cv_exeext here because the later test for it is not
2724 # safe: cross compilers may not add the suffix if given an `-o'
2725 # argument, so we may need to know it at that point already.
2726 # Even if this section looks crufty: it has the advantage of
2733 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2738 if test -z "$ac_file"; then :
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2740 $as_echo "no" >&6; }
2741 $as_echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.
$ac_ext >&5
2744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2746 as_fn_error
77 "C compiler cannot create executables
2747 See \`config.log' for more details" "$LINENO" 5; }
2749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2750 $as_echo "yes" >&6; }
2752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2753 $as_echo_n "checking for C compiler default output file name... " >&6; }
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2755 $as_echo "$ac_file" >&6; }
2756 ac_exeext
=$ac_cv_exeext
2758 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2759 ac_clean_files
=$ac_clean_files_save
2760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2761 $as_echo_n "checking for suffix of executables... " >&6; }
2762 if { { ac_try
="$ac_link"
2764 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768 $as_echo "$ac_try_echo"; } >&5
2769 (eval "$ac_link") 2>&5
2771 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2772 test $ac_status = 0; }; then :
2773 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2774 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2775 # work properly (i.e., refer to `conftest.exe'), while it won't with
2777 for ac_file
in conftest.exe conftest conftest.
*; do
2778 test -f "$ac_file" ||
continue
2780 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2781 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2787 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2788 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2789 as_fn_error $?
"cannot compute suffix of executables: cannot compile and link
2790 See \`config.log' for more details" "$LINENO" 5; }
2792 rm -f conftest conftest
$ac_cv_exeext
2793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2794 $as_echo "$ac_cv_exeext" >&6; }
2796 rm -f conftest.
$ac_ext
2797 EXEEXT
=$ac_cv_exeext
2799 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2800 /* end confdefs.h. */
2805 FILE *f = fopen ("conftest.out", "w");
2806 return ferror (f) || fclose (f) != 0;
2812 ac_clean_files
="$ac_clean_files conftest.out"
2813 # Check that the compiler produces executables we can run. If not, either
2814 # the compiler is broken, or we cross compile.
2815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2816 $as_echo_n "checking whether we are cross compiling... " >&6; }
2817 if test "$cross_compiling" != yes; then
2818 { { ac_try
="$ac_link"
2820 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2821 *) ac_try_echo=$ac_try;;
2823 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2824 $as_echo "$ac_try_echo"; } >&5
2825 (eval "$ac_link") 2>&5
2827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2828 test $ac_status = 0; }
2829 if { ac_try='./conftest$ac_cv_exeext'
2830 { { case "(($ac_try" in
2831 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2832 *) ac_try_echo
=$ac_try;;
2834 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836 (eval "$ac_try") 2>&5
2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2839 test $ac_status = 0; }; }; then
2842 if test "$cross_compiling" = maybe
; then
2845 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2846 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2847 as_fn_error $?
"cannot run C compiled programs.
2848 If you meant to cross compile, use \`--host'.
2849 See \`config.log' for more details" "$LINENO" 5; }
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2854 $as_echo "$cross_compiling" >&6; }
2856 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2857 ac_clean_files
=$ac_clean_files_save
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2859 $as_echo_n "checking for suffix of object files... " >&6; }
2860 if ${ac_cv_objext+:} false
; then :
2861 $as_echo_n "(cached) " >&6
2863 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2864 /* end confdefs.h. */
2874 rm -f conftest.o conftest.obj
2875 if { { ac_try
="$ac_compile"
2877 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2878 *) ac_try_echo=$ac_try;;
2880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2881 $as_echo "$ac_try_echo"; } >&5
2882 (eval "$ac_compile") 2>&5
2884 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2885 test $ac_status = 0; }; then :
2886 for ac_file in conftest.o conftest.obj conftest.*; do
2887 test -f "$ac_file" || continue;
2889 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2890 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2895 $as_echo "$as_me: failed program was:" >&5
2896 sed 's/^/| /' conftest.$ac_ext >&5
2898 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2899 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2900 as_fn_error $? "cannot compute suffix of object files
: cannot compile
2901 See \
`config.log' for more details" "$LINENO" 5; }
2903 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2906 $as_echo "$ac_cv_objext" >&6; }
2907 OBJEXT=$ac_cv_objext
2909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2910 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2911 if ${ac_cv_c_compiler_gnu+:} false; then :
2912 $as_echo_n "(cached) " >&6
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2928 if ac_fn_c_try_compile "$LINENO"; then :
2933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2934 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2938 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2939 if test $ac_compiler_gnu = yes; then
2944 ac_test_CFLAGS=${CFLAGS+set}
2945 ac_save_CFLAGS=$CFLAGS
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2947 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2948 if ${ac_cv_prog_cc_g+:} false; then :
2949 $as_echo_n "(cached) " >&6
2951 ac_save_c_werror_flag=$ac_c_werror_flag
2952 ac_c_werror_flag=yes
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2966 if ac_fn_c_try_compile "$LINENO"; then :
2970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2971 /* end confdefs.h. */
2981 if ac_fn_c_try_compile "$LINENO"; then :
2984 ac_c_werror_flag=$ac_save_c_werror_flag
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2997 if ac_fn_c_try_compile "$LINENO"; then :
3000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3005 ac_c_werror_flag=$ac_save_c_werror_flag
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3008 $as_echo "$ac_cv_prog_cc_g" >&6; }
3009 if test "$ac_test_CFLAGS" = set; then
3010 CFLAGS=$ac_save_CFLAGS
3011 elif test $ac_cv_prog_cc_g = yes; then
3012 if test "$GCC" = yes; then
3018 if test "$GCC" = yes; then
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
3025 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
3026 if ${ac_cv_prog_cc_c89+:} false; then :
3027 $as_echo_n "(cached) " >&6
3029 ac_cv_prog_cc_c89=no
3031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3032 /* end confdefs.h. */
3036 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
3037 struct buf { int x; };
3038 FILE * (*rcsopen) (struct buf *, struct stat *, int);
3039 static char *e (p, i)
3045 static char *f (char * (*g) (char **, int), char **p, ...)
3050 s = g (p, va_arg (v,int));
3055 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3056 function prototypes and stuff, but not '\xHH' hex character constants.
3057 These don't provoke an error unfortunately, instead are silently treated
3058 as 'x'. The following induces an error, until -std is added to get
3059 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
3060 array size at least. It's necessary to write '\x00'==0 to get something
3061 that's true only with -std. */
3062 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
3064 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3065 inside strings and character constants. */
3067 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
3069 int test (int i, double x);
3070 struct s1 {int (*f) (int a);};
3071 struct s2 {int (*f) (double a);};
3072 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
3078 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3083 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3084 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3086 CC="$ac_save_CC $ac_arg"
3087 if ac_fn_c_try_compile "$LINENO"; then :
3088 ac_cv_prog_cc_c89=$ac_arg
3090 rm -f core conftest.err conftest.$ac_objext
3091 test "x$ac_cv_prog_cc_c89" != "xno" && break
3093 rm -f conftest.$ac_ext
3098 case "x$ac_cv_prog_cc_c89" in
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3101 $as_echo "none needed" >&6; } ;;
3103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3104 $as_echo "unsupported" >&6; } ;;
3106 CC="$CC $ac_cv_prog_cc_c89"
3107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3108 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3110 if test "x$ac_cv_prog_cc_c89" != xno; then :
3115 ac_cpp='$CPP $CPPFLAGS'
3116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3122 ac_cpp='$CPP $CPPFLAGS'
3123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3127 $as_echo_n "checking how to run the C preprocessor... " >&6; }
3128 # On Suns, sometimes $CPP names a directory.
3129 if test -n "$CPP" && test -d "$CPP"; then
3132 if test -z "$CPP"; then
3133 if ${ac_cv_prog_CPP+:} false; then :
3134 $as_echo_n "(cached) " >&6
3136 # Double quotes because CPP needs to be expanded
3137 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
3140 for ac_c_preproc_warn_flag in '' yes
3142 # Use a header file that comes with gcc, so configuring glibc
3143 # with a fresh cross-compiler works.
3144 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3145 # <limits.h> exists even on freestanding compilers.
3146 # On the NeXT, cc -E runs the code through the compiler's parser,
3147 # not just through cpp. "Syntax error" is here to catch this case.
3148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3149 /* end confdefs.h. */
3151 # include <limits.h>
3153 # include <assert.h>
3157 if ac_fn_c_try_cpp "$LINENO"; then :
3160 # Broken: fails on valid input.
3163 rm -f conftest.err conftest.i conftest.$ac_ext
3165 # OK, works on sane cases. Now check whether nonexistent headers
3166 # can be detected and how.
3167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3168 /* end confdefs.h. */
3169 #include <ac_nonexistent.h>
3171 if ac_fn_c_try_cpp "$LINENO"; then :
3172 # Broken: success on invalid input.
3175 # Passes both tests.
3179 rm -f conftest.err conftest.i conftest.$ac_ext
3182 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3183 rm -f conftest.i conftest.err conftest.
$ac_ext
3184 if $ac_preproc_ok; then :
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3197 $as_echo "$CPP" >&6; }
3199 for ac_c_preproc_warn_flag
in '' yes
3201 # Use a header file that comes with gcc, so configuring glibc
3202 # with a fresh cross-compiler works.
3203 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3204 # <limits.h> exists even on freestanding compilers.
3205 # On the NeXT, cc -E runs the code through the compiler's parser,
3206 # not just through cpp. "Syntax error" is here to catch this case.
3207 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3210 # include <limits.h>
3212 # include <assert.h>
3216 if ac_fn_c_try_cpp
"$LINENO"; then :
3219 # Broken: fails on valid input.
3222 rm -f conftest.err conftest.i conftest.
$ac_ext
3224 # OK, works on sane cases. Now check whether nonexistent headers
3225 # can be detected and how.
3226 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3227 /* end confdefs.h. */
3228 #include <ac_nonexistent.h>
3230 if ac_fn_c_try_cpp
"$LINENO"; then :
3231 # Broken: success on invalid input.
3234 # Passes both tests.
3238 rm -f conftest.err conftest.i conftest.
$ac_ext
3241 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3242 rm -f conftest.i conftest.err conftest.
$ac_ext
3243 if $ac_preproc_ok; then :
3246 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3247 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3248 as_fn_error $?
"C preprocessor \"$CPP\" fails sanity check
3249 See \`config.log' for more details" "$LINENO" 5; }
3253 ac_cpp
='$CPP $CPPFLAGS'
3254 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3255 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3256 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3260 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3261 if ${ac_cv_path_GREP+:} false
; then :
3262 $as_echo_n "(cached) " >&6
3264 if test -z "$GREP"; then
3265 ac_path_GREP_found
=false
3266 # Loop through the user's path and test for each of PROGNAME-LIST
3267 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3268 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3271 test -z "$as_dir" && as_dir
=.
3272 for ac_prog
in grep ggrep
; do
3273 for ac_exec_ext
in '' $ac_executable_extensions; do
3274 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3275 as_fn_executable_p
"$ac_path_GREP" ||
continue
3276 # Check for GNU ac_path_GREP and select it if it is found.
3277 # Check for GNU $ac_path_GREP
3278 case `"$ac_path_GREP" --version 2>&1` in
3280 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3283 $as_echo_n 0123456789 >"conftest.in"
3286 cat "conftest.in" "conftest.in" >"conftest.tmp"
3287 mv "conftest.tmp" "conftest.in"
3288 cp "conftest.in" "conftest.nl"
3289 $as_echo 'GREP' >> "conftest.nl"
3290 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3291 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3292 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3293 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3294 # Best one so far, save it but keep looking for a better one
3295 ac_cv_path_GREP
="$ac_path_GREP"
3296 ac_path_GREP_max
=$ac_count
3298 # 10*(2^10) chars as input seems more than enough
3299 test $ac_count -gt 10 && break
3301 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3304 $ac_path_GREP_found && break 3
3309 if test -z "$ac_cv_path_GREP"; then
3310 as_fn_error $?
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3313 ac_cv_path_GREP
=$GREP
3317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3318 $as_echo "$ac_cv_path_GREP" >&6; }
3319 GREP
="$ac_cv_path_GREP"
3322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3323 $as_echo_n "checking for egrep... " >&6; }
3324 if ${ac_cv_path_EGREP+:} false
; then :
3325 $as_echo_n "(cached) " >&6
3327 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3328 then ac_cv_path_EGREP
="$GREP -E"
3330 if test -z "$EGREP"; then
3331 ac_path_EGREP_found
=false
3332 # Loop through the user's path and test for each of PROGNAME-LIST
3333 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3334 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3337 test -z "$as_dir" && as_dir
=.
3338 for ac_prog
in egrep; do
3339 for ac_exec_ext
in '' $ac_executable_extensions; do
3340 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3341 as_fn_executable_p
"$ac_path_EGREP" ||
continue
3342 # Check for GNU ac_path_EGREP and select it if it is found.
3343 # Check for GNU $ac_path_EGREP
3344 case `"$ac_path_EGREP" --version 2>&1` in
3346 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3349 $as_echo_n 0123456789 >"conftest.in"
3352 cat "conftest.in" "conftest.in" >"conftest.tmp"
3353 mv "conftest.tmp" "conftest.in"
3354 cp "conftest.in" "conftest.nl"
3355 $as_echo 'EGREP' >> "conftest.nl"
3356 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3357 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3358 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3359 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3360 # Best one so far, save it but keep looking for a better one
3361 ac_cv_path_EGREP
="$ac_path_EGREP"
3362 ac_path_EGREP_max
=$ac_count
3364 # 10*(2^10) chars as input seems more than enough
3365 test $ac_count -gt 10 && break
3367 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3370 $ac_path_EGREP_found && break 3
3375 if test -z "$ac_cv_path_EGREP"; then
3376 as_fn_error $?
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3379 ac_cv_path_EGREP
=$EGREP
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3385 $as_echo "$ac_cv_path_EGREP" >&6; }
3386 EGREP
="$ac_cv_path_EGREP"
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3390 $as_echo_n "checking for ANSI C header files... " >&6; }
3391 if ${ac_cv_header_stdc+:} false
; then :
3392 $as_echo_n "(cached) " >&6
3394 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3395 /* end confdefs.h. */
3409 if ac_fn_c_try_compile
"$LINENO"; then :
3410 ac_cv_header_stdc
=yes
3412 ac_cv_header_stdc
=no
3414 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3416 if test $ac_cv_header_stdc = yes; then
3417 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3418 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3423 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3424 $EGREP "memchr" >/dev
/null
2>&1; then :
3427 ac_cv_header_stdc
=no
3433 if test $ac_cv_header_stdc = yes; then
3434 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3435 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3440 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3441 $EGREP "free" >/dev
/null
2>&1; then :
3444 ac_cv_header_stdc
=no
3450 if test $ac_cv_header_stdc = yes; then
3451 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3452 if test "$cross_compiling" = yes; then :
3455 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3459 #if ((' ' & 0x0FF) == 0x020)
3460 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3461 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3463 # define ISLOWER(c) \
3464 (('a' <= (c) && (c) <= 'i') \
3465 || ('j' <= (c) && (c) <= 'r') \
3466 || ('s' <= (c) && (c) <= 'z'))
3467 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3470 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3475 for (i = 0; i < 256; i++)
3476 if (XOR (islower (i), ISLOWER (i))
3477 || toupper (i) != TOUPPER (i))
3482 if ac_fn_c_try_run
"$LINENO"; then :
3485 ac_cv_header_stdc
=no
3487 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3488 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3494 $as_echo "$ac_cv_header_stdc" >&6; }
3495 if test $ac_cv_header_stdc = yes; then
3497 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
3502 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
3503 if ${ac_cv_header_time+:} false
; then :
3504 $as_echo_n "(cached) " >&6
3506 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3507 /* end confdefs.h. */
3508 #include <sys/types.h>
3509 #include <sys/time.h>
3515 if ((struct tm *) 0)
3521 if ac_fn_c_try_compile
"$LINENO"; then :
3522 ac_cv_header_time
=yes
3524 ac_cv_header_time
=no
3526 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
3529 $as_echo "$ac_cv_header_time" >&6; }
3530 if test $ac_cv_header_time = yes; then
3532 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
3536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
3537 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
3538 if ${ac_cv_header_sys_wait_h+:} false
; then :
3539 $as_echo_n "(cached) " >&6
3541 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3542 /* end confdefs.h. */
3543 #include <sys/types.h>
3544 #include <sys/wait.h>
3546 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3549 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3557 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3562 if ac_fn_c_try_compile
"$LINENO"; then :
3563 ac_cv_header_sys_wait_h
=yes
3565 ac_cv_header_sys_wait_h
=no
3567 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
3570 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
3571 if test $ac_cv_header_sys_wait_h = yes; then
3573 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
3577 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3578 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3579 inttypes.h stdint.h unistd.h
3581 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3582 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3584 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3585 cat >>confdefs.h
<<_ACEOF
3586 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3594 ac_fn_c_check_header_mongrel
"$LINENO" "math.h" "ac_cv_header_math_h" "$ac_includes_default"
3595 if test "x$ac_cv_header_math_h" = xyes
; then :
3597 $as_echo "#define HAVE_MATH_H 1" >>confdefs.h
3603 for ac_header
in limits.h stddef.h string.h
strings.h stdlib.h \
3605 fcntl.h unistd.h sys
/file.h sys
/time.h sys
/mman.h \
3606 sys
/resource.h sys
/param.h sys
/times.h sys
/stat.h \
3607 sys
/wait.h sys
/ioctl.h errno.h sys
/errno.h \
3608 pwd.h direct.h dirent.h signal.h malloc.h langinfo.h \
3609 pthread.h stdarg.h stdio.h sys
/types.h termios.h \
3610 netinet
/in.h netdb.h
3612 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3613 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3614 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3615 cat >>confdefs.h
<<_ACEOF
3616 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3624 # Checks for typedefs, structures, and compiler characteristics.
3626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
3627 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
3628 if ${ac_cv_header_stat_broken+:} false
; then :
3629 $as_echo_n "(cached) " >&6
3631 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3632 /* end confdefs.h. */
3633 #include <sys/types.h>
3634 #include <sys/stat.h>
3636 #if defined S_ISBLK && defined S_IFDIR
3637 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
3640 #if defined S_ISBLK && defined S_IFCHR
3641 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
3644 #if defined S_ISLNK && defined S_IFREG
3645 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
3648 #if defined S_ISSOCK && defined S_IFREG
3649 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
3653 if ac_fn_c_try_compile
"$LINENO"; then :
3654 ac_cv_header_stat_broken
=no
3656 ac_cv_header_stat_broken
=yes
3658 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
3661 $as_echo "$ac_cv_header_stat_broken" >&6; }
3662 if test $ac_cv_header_stat_broken = yes; then
3664 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
3668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether struct tm is in sys/time.h or time.h" >&5
3669 $as_echo_n "checking whether struct tm is in sys/time.h or time.h... " >&6; }
3670 if ${ac_cv_struct_tm+:} false
; then :
3671 $as_echo_n "(cached) " >&6
3673 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3674 /* end confdefs.h. */
3675 #include <sys/types.h>
3682 int *p = &tm.tm_sec;
3688 if ac_fn_c_try_compile
"$LINENO"; then :
3689 ac_cv_struct_tm
=time.h
3691 ac_cv_struct_tm
=sys
/time.h
3693 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_struct_tm" >&5
3696 $as_echo "$ac_cv_struct_tm" >&6; }
3697 if test $ac_cv_struct_tm = sys
/time.h
; then
3699 $as_echo "#define TM_IN_SYS_TIME 1" >>confdefs.h
3703 ac_fn_c_check_type
"$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
3704 if test "x$ac_cv_type_size_t" = xyes
; then :
3708 cat >>confdefs.h
<<_ACEOF
3709 #define size_t unsigned int
3714 # The Ultrix 4.2 mips builtin alloca declared by alloca.h only works
3715 # for constant arguments. Useless!
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working alloca.h" >&5
3717 $as_echo_n "checking for working alloca.h... " >&6; }
3718 if ${ac_cv_working_alloca_h+:} false
; then :
3719 $as_echo_n "(cached) " >&6
3721 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3722 /* end confdefs.h. */
3727 char *p = (char *) alloca (2 * sizeof (int));
3733 if ac_fn_c_try_link
"$LINENO"; then :
3734 ac_cv_working_alloca_h
=yes
3736 ac_cv_working_alloca_h
=no
3738 rm -f core conftest.err conftest.
$ac_objext \
3739 conftest
$ac_exeext conftest.
$ac_ext
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_working_alloca_h" >&5
3742 $as_echo "$ac_cv_working_alloca_h" >&6; }
3743 if test $ac_cv_working_alloca_h = yes; then
3745 $as_echo "#define HAVE_ALLOCA_H 1" >>confdefs.h
3749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for alloca" >&5
3750 $as_echo_n "checking for alloca... " >&6; }
3751 if ${ac_cv_func_alloca_works+:} false
; then :
3752 $as_echo_n "(cached) " >&6
3754 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3755 /* end confdefs.h. */
3757 # define alloca __builtin_alloca
3760 # include <malloc.h>
3761 # define alloca _alloca
3763 # ifdef HAVE_ALLOCA_H
3764 # include <alloca.h>
3769 # ifndef alloca /* predefined by HP cc +Olibcalls */
3770 void *alloca (size_t);
3780 char *p = (char *) alloca (1);
3786 if ac_fn_c_try_link
"$LINENO"; then :
3787 ac_cv_func_alloca_works
=yes
3789 ac_cv_func_alloca_works
=no
3791 rm -f core conftest.err conftest.
$ac_objext \
3792 conftest
$ac_exeext conftest.
$ac_ext
3794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_alloca_works" >&5
3795 $as_echo "$ac_cv_func_alloca_works" >&6; }
3797 if test $ac_cv_func_alloca_works = yes; then
3799 $as_echo "#define HAVE_ALLOCA 1" >>confdefs.h
3802 # The SVR3 libPW and SVR4 libucb both contain incompatible functions
3803 # that cause trouble. Some versions do not even contain alloca or
3804 # contain a buggy version. If you still want to use their alloca,
3805 # use ar to extract alloca.o from them instead of compiling alloca.c.
3807 ALLOCA
=\
${LIBOBJDIR}alloca.
$ac_objext
3809 $as_echo "#define C_ALLOCA 1" >>confdefs.h
3812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether \`alloca.c' needs Cray hooks" >&5
3813 $as_echo_n "checking whether \`alloca.c' needs Cray hooks... " >&6; }
3814 if ${ac_cv_os_cray+:} false
; then :
3815 $as_echo_n "(cached) " >&6
3817 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3818 /* end confdefs.h. */
3819 #if defined CRAY && ! defined CRAY2
3826 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3827 $EGREP "webecray" >/dev
/null
2>&1; then :
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_os_cray" >&5
3836 $as_echo "$ac_cv_os_cray" >&6; }
3837 if test $ac_cv_os_cray = yes; then
3838 for ac_func
in _getb67 GETB67 getb67
; do
3839 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3840 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3841 if eval test \"x\$
"$as_ac_var"\" = x
"yes"; then :
3843 cat >>confdefs.h
<<_ACEOF
3844 #define CRAY_STACKSEG_END $ac_func
3853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking stack direction for C alloca" >&5
3854 $as_echo_n "checking stack direction for C alloca... " >&6; }
3855 if ${ac_cv_c_stack_direction+:} false
; then :
3856 $as_echo_n "(cached) " >&6
3858 if test "$cross_compiling" = yes; then :
3859 ac_cv_c_stack_direction
=0
3861 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3862 /* end confdefs.h. */
3863 $ac_includes_default
3865 find_stack_direction (int *addr, int depth)
3870 *addr = addr < &dummy ? 1 : addr == &dummy ? 0 : -1;
3871 dir = depth ? find_stack_direction (addr, depth - 1) : 0;
3876 main (int argc, char **argv)
3878 return find_stack_direction (0, argc + !argv + 20) < 0;
3881 if ac_fn_c_try_run
"$LINENO"; then :
3882 ac_cv_c_stack_direction
=1
3884 ac_cv_c_stack_direction
=-1
3886 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3887 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stack_direction" >&5
3892 $as_echo "$ac_cv_c_stack_direction" >&6; }
3893 cat >>confdefs.h
<<_ACEOF
3894 #define STACK_DIRECTION $ac_cv_c_stack_direction
3900 for ac_header
in sys
/select.h sys
/socket.h
3902 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3903 ac_fn_c_check_header_mongrel
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3904 if eval test \"x\$
"$as_ac_Header"\" = x
"yes"; then :
3905 cat >>confdefs.h
<<_ACEOF
3906 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking types of arguments for select" >&5
3914 $as_echo_n "checking types of arguments for select... " >&6; }
3915 if ${ac_cv_func_select_args+:} false
; then :
3916 $as_echo_n "(cached) " >&6
3918 for ac_arg234
in 'fd_set *' 'int *' 'void *'; do
3919 for ac_arg1
in 'int' 'size_t' 'unsigned long int' 'unsigned int'; do
3920 for ac_arg5
in 'struct timeval *' 'const struct timeval *'; do
3921 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3922 /* end confdefs.h. */
3923 $ac_includes_default
3924 #ifdef HAVE_SYS_SELECT_H
3925 # include <sys/select.h>
3927 #ifdef HAVE_SYS_SOCKET_H
3928 # include <sys/socket.h>
3934 extern int select ($ac_arg1,
3935 $ac_arg234, $ac_arg234, $ac_arg234,
3941 if ac_fn_c_try_compile
"$LINENO"; then :
3942 ac_cv_func_select_args
="$ac_arg1,$ac_arg234,$ac_arg5"; break 3
3944 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3948 # Provide a safe default value.
3949 : "${ac_cv_func_select_args=int,int *,struct timeval *}"
3952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_select_args" >&5
3953 $as_echo "$ac_cv_func_select_args" >&6; }
3954 ac_save_IFS
=$IFS; IFS
=','
3955 set dummy
`echo "$ac_cv_func_select_args" | sed 's/\*/\*/g'`
3959 cat >>confdefs.h
<<_ACEOF
3960 #define SELECT_TYPE_ARG1 $1
3964 cat >>confdefs.h
<<_ACEOF
3965 #define SELECT_TYPE_ARG234 ($2)
3969 cat >>confdefs.h
<<_ACEOF
3970 #define SELECT_TYPE_ARG5 ($3)
3976 # Checks for library functions.
3978 for ac_func
in ctime
3980 ac_fn_c_check_func
"$LINENO" "ctime" "ac_cv_func_ctime"
3981 if test "x$ac_cv_func_ctime" = xyes
; then :
3982 cat >>confdefs.h
<<_ACEOF
3983 #define HAVE_CTIME 1
3991 ac_fn_c_check_func
"$LINENO" "rand" "ac_cv_func_rand"
3992 if test "x$ac_cv_func_rand" = xyes
; then :
3993 cat >>confdefs.h
<<_ACEOF
4000 for ac_func
in fstat
4002 ac_fn_c_check_func
"$LINENO" "fstat" "ac_cv_func_fstat"
4003 if test "x$ac_cv_func_fstat" = xyes
; then :
4004 cat >>confdefs.h
<<_ACEOF
4005 #define HAVE_FSTAT 1
4011 for ac_func
in select
4013 ac_fn_c_check_func
"$LINENO" "select" "ac_cv_func_select"
4014 if test "x$ac_cv_func_select" = xyes
; then :
4015 cat >>confdefs.h
<<_ACEOF
4016 #define HAVE_SELECT 1
4022 for ac_func
in strsignal
4024 ac_fn_c_check_func
"$LINENO" "strsignal" "ac_cv_func_strsignal"
4025 if test "x$ac_cv_func_strsignal" = xyes
; then :
4026 cat >>confdefs.h
<<_ACEOF
4027 #define HAVE_STRSIGNAL 1
4033 for ac_func
in strtod
4035 ac_fn_c_check_func
"$LINENO" "strtod" "ac_cv_func_strtod"
4036 if test "x$ac_cv_func_strtod" = xyes
; then :
4037 cat >>confdefs.h
<<_ACEOF
4038 #define HAVE_STRTOD 1
4044 for ac_func
in strtold
4046 ac_fn_c_check_func
"$LINENO" "strtold" "ac_cv_func_strtold"
4047 if test "x$ac_cv_func_strtold" = xyes
; then :
4048 cat >>confdefs.h
<<_ACEOF
4049 #define HAVE_STRTOLD 1
4055 for ac_func
in cfmakeraw
4057 ac_fn_c_check_func
"$LINENO" "cfmakeraw" "ac_cv_func_cfmakeraw"
4058 if test "x$ac_cv_func_cfmakeraw" = xyes
; then :
4059 cat >>confdefs.h
<<_ACEOF
4060 #define HAVE_CFMAKERAW 1
4068 # library functions (used by gm2-libs and ulm-lib-gm2)
4069 # the results of this configuration are process by
4070 # tools-src/createUlmSys in order to produce the runtime system
4073 for ac_func
in access
4075 ac_fn_c_check_func
"$LINENO" "access" "ac_cv_func_access"
4076 if test "x$ac_cv_func_access" = xyes
; then :
4077 cat >>confdefs.h
<<_ACEOF
4078 #define HAVE_ACCESS 1
4086 ac_fn_c_check_func
"$LINENO" "brk" "ac_cv_func_brk"
4087 if test "x$ac_cv_func_brk" = xyes
; then :
4088 cat >>confdefs.h
<<_ACEOF
4095 for ac_func
in close
4097 ac_fn_c_check_func
"$LINENO" "close" "ac_cv_func_close"
4098 if test "x$ac_cv_func_close" = xyes
; then :
4099 cat >>confdefs.h
<<_ACEOF
4100 #define HAVE_CLOSE 1
4106 for ac_func
in creat
4108 ac_fn_c_check_func
"$LINENO" "creat" "ac_cv_func_creat"
4109 if test "x$ac_cv_func_creat" = xyes
; then :
4110 cat >>confdefs.h
<<_ACEOF
4111 #define HAVE_CREAT 1
4119 ac_fn_c_check_func
"$LINENO" "dup" "ac_cv_func_dup"
4120 if test "x$ac_cv_func_dup" = xyes
; then :
4121 cat >>confdefs.h
<<_ACEOF
4128 for ac_func
in execve
4130 ac_fn_c_check_func
"$LINENO" "execve" "ac_cv_func_execve"
4131 if test "x$ac_cv_func_execve" = xyes
; then :
4132 cat >>confdefs.h
<<_ACEOF
4133 #define HAVE_EXECVE 1
4141 ac_fn_c_check_func
"$LINENO" "exit" "ac_cv_func_exit"
4142 if test "x$ac_cv_func_exit" = xyes
; then :
4143 cat >>confdefs.h
<<_ACEOF
4150 for ac_func
in fcntl
4152 ac_fn_c_check_func
"$LINENO" "fcntl" "ac_cv_func_fcntl"
4153 if test "x$ac_cv_func_fcntl" = xyes
; then :
4154 cat >>confdefs.h
<<_ACEOF
4155 #define HAVE_FCNTL 1
4161 for ac_func
in fstat
4163 ac_fn_c_check_func
"$LINENO" "fstat" "ac_cv_func_fstat"
4164 if test "x$ac_cv_func_fstat" = xyes
; then :
4165 cat >>confdefs.h
<<_ACEOF
4166 #define HAVE_FSTAT 1
4172 for ac_func
in getdents
4174 ac_fn_c_check_func
"$LINENO" "getdents" "ac_cv_func_getdents"
4175 if test "x$ac_cv_func_getdents" = xyes
; then :
4176 cat >>confdefs.h
<<_ACEOF
4177 #define HAVE_GETDENTS 1
4183 for ac_func
in getgid
4185 ac_fn_c_check_func
"$LINENO" "getgid" "ac_cv_func_getgid"
4186 if test "x$ac_cv_func_getgid" = xyes
; then :
4187 cat >>confdefs.h
<<_ACEOF
4188 #define HAVE_GETGID 1
4194 for ac_func
in getpid
4196 ac_fn_c_check_func
"$LINENO" "getpid" "ac_cv_func_getpid"
4197 if test "x$ac_cv_func_getpid" = xyes
; then :
4198 cat >>confdefs.h
<<_ACEOF
4199 #define HAVE_GETPID 1
4205 for ac_func
in gettimeofday
4207 ac_fn_c_check_func
"$LINENO" "gettimeofday" "ac_cv_func_gettimeofday"
4208 if test "x$ac_cv_func_gettimeofday" = xyes
; then :
4209 cat >>confdefs.h
<<_ACEOF
4210 #define HAVE_GETTIMEOFDAY 1
4216 for ac_func
in getuid
4218 ac_fn_c_check_func
"$LINENO" "getuid" "ac_cv_func_getuid"
4219 if test "x$ac_cv_func_getuid" = xyes
; then :
4220 cat >>confdefs.h
<<_ACEOF
4221 #define HAVE_GETUID 1
4227 for ac_func
in ioctl
4229 ac_fn_c_check_func
"$LINENO" "ioctl" "ac_cv_func_ioctl"
4230 if test "x$ac_cv_func_ioctl" = xyes
; then :
4231 cat >>confdefs.h
<<_ACEOF
4232 #define HAVE_IOCTL 1
4240 ac_fn_c_check_func
"$LINENO" "kill" "ac_cv_func_kill"
4241 if test "x$ac_cv_func_kill" = xyes
; then :
4242 cat >>confdefs.h
<<_ACEOF
4251 ac_fn_c_check_func
"$LINENO" "link" "ac_cv_func_link"
4252 if test "x$ac_cv_func_link" = xyes
; then :
4253 cat >>confdefs.h
<<_ACEOF
4260 for ac_func
in lseek
4262 ac_fn_c_check_func
"$LINENO" "lseek" "ac_cv_func_lseek"
4263 if test "x$ac_cv_func_lseek" = xyes
; then :
4264 cat >>confdefs.h
<<_ACEOF
4265 #define HAVE_LSEEK 1
4273 ac_fn_c_check_func
"$LINENO" "open" "ac_cv_func_open"
4274 if test "x$ac_cv_func_open" = xyes
; then :
4275 cat >>confdefs.h
<<_ACEOF
4282 for ac_func
in pause
4284 ac_fn_c_check_func
"$LINENO" "pause" "ac_cv_func_pause"
4285 if test "x$ac_cv_func_pause" = xyes
; then :
4286 cat >>confdefs.h
<<_ACEOF
4287 #define HAVE_PAUSE 1
4295 ac_fn_c_check_func
"$LINENO" "pipe" "ac_cv_func_pipe"
4296 if test "x$ac_cv_func_pipe" = xyes
; then :
4297 cat >>confdefs.h
<<_ACEOF
4306 ac_fn_c_check_func
"$LINENO" "read" "ac_cv_func_read"
4307 if test "x$ac_cv_func_read" = xyes
; then :
4308 cat >>confdefs.h
<<_ACEOF
4315 for ac_func
in setitimer
4317 ac_fn_c_check_func
"$LINENO" "setitimer" "ac_cv_func_setitimer"
4318 if test "x$ac_cv_func_setitimer" = xyes
; then :
4319 cat >>confdefs.h
<<_ACEOF
4320 #define HAVE_SETITIMER 1
4326 for ac_func
in setgid
4328 ac_fn_c_check_func
"$LINENO" "setgid" "ac_cv_func_setgid"
4329 if test "x$ac_cv_func_setgid" = xyes
; then :
4330 cat >>confdefs.h
<<_ACEOF
4331 #define HAVE_SETGID 1
4337 for ac_func
in setuid
4339 ac_fn_c_check_func
"$LINENO" "setuid" "ac_cv_func_setuid"
4340 if test "x$ac_cv_func_setuid" = xyes
; then :
4341 cat >>confdefs.h
<<_ACEOF
4342 #define HAVE_SETUID 1
4350 ac_fn_c_check_func
"$LINENO" "stat" "ac_cv_func_stat"
4351 if test "x$ac_cv_func_stat" = xyes
; then :
4352 cat >>confdefs.h
<<_ACEOF
4359 for ac_func
in times
4361 ac_fn_c_check_func
"$LINENO" "times" "ac_cv_func_times"
4362 if test "x$ac_cv_func_times" = xyes
; then :
4363 cat >>confdefs.h
<<_ACEOF
4364 #define HAVE_TIMES 1
4370 for ac_func
in unlink
4372 ac_fn_c_check_func
"$LINENO" "unlink" "ac_cv_func_unlink"
4373 if test "x$ac_cv_func_unlink" = xyes
; then :
4374 cat >>confdefs.h
<<_ACEOF
4375 #define HAVE_UNLINK 1
4383 ac_fn_c_check_func
"$LINENO" "wait" "ac_cv_func_wait"
4384 if test "x$ac_cv_func_wait" = xyes
; then :
4385 cat >>confdefs.h
<<_ACEOF
4392 for ac_func
in write
4394 ac_fn_c_check_func
"$LINENO" "write" "ac_cv_func_write"
4395 if test "x$ac_cv_func_write" = xyes
; then :
4396 cat >>confdefs.h
<<_ACEOF
4397 #define HAVE_WRITE 1
4406 # The cast to long int works around a bug in the HP C Compiler
4407 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
4408 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
4409 # This bug is HP SR number 8606223364.
4410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
4411 $as_echo_n "checking size of long... " >&6; }
4412 if ${ac_cv_sizeof_long+:} false
; then :
4413 $as_echo_n "(cached) " >&6
4415 if ac_fn_c_compute_int
"$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
4418 if test "$ac_cv_type_long" = yes; then
4419 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4420 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4421 as_fn_error
77 "cannot compute sizeof (long)
4422 See \`config.log' for more details" "$LINENO" 5; }
4429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
4430 $as_echo "$ac_cv_sizeof_long" >&6; }
4434 cat >>confdefs.h
<<_ACEOF
4435 #define SIZEOF_LONG $ac_cv_sizeof_long
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timeval" >&5
4441 $as_echo_n "checking for struct timeval... " >&6; }
4442 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4443 /* end confdefs.h. */
4444 #ifdef TIME_WITH_SYS_TIME
4445 #include <sys/time.h>
4448 #ifdef HAVE_SYS_TIME_H
4449 #include <sys/time.h>
4457 static struct timeval x; x.tv_sec = x.tv_usec;
4462 if ac_fn_c_try_compile
"$LINENO"; then :
4463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4464 $as_echo "yes" >&6; }
4467 $as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4471 $as_echo "no" >&6; }
4474 $as_echo "#define HAVE_TIMEVAL 1" >>confdefs.h
4477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
4480 # AC_CHECK_TYPES(time_t)
4484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10 in -lm" >&5
4485 $as_echo_n "checking for exp10 in -lm... " >&6; }
4486 if ${ac_cv_lib_m_exp10+:} false
; then :
4487 $as_echo_n "(cached) " >&6
4489 ac_check_lib_save_LIBS
=$LIBS
4491 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4494 /* Override any GCC internal prototype to avoid an error.
4495 Use char because int might match the return type of a GCC
4496 builtin and then its argument prototype would still apply. */
4509 if ac_fn_c_try_link
"$LINENO"; then :
4510 ac_cv_lib_m_exp10
=yes
4512 ac_cv_lib_m_exp10
=no
4514 rm -f core conftest.err conftest.
$ac_objext \
4515 conftest
$ac_exeext conftest.
$ac_ext
4516 LIBS
=$ac_check_lib_save_LIBS
4518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10" >&5
4519 $as_echo "$ac_cv_lib_m_exp10" >&6; }
4520 if test "x$ac_cv_lib_m_exp10" = xyes
; then :
4522 $as_echo "#define HAVE_EXP10 1" >>confdefs.h
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10f in -lm" >&5
4527 $as_echo_n "checking for exp10f in -lm... " >&6; }
4528 if ${ac_cv_lib_m_exp10f+:} false
; then :
4529 $as_echo_n "(cached) " >&6
4531 ac_check_lib_save_LIBS
=$LIBS
4533 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4534 /* end confdefs.h. */
4536 /* Override any GCC internal prototype to avoid an error.
4537 Use char because int might match the return type of a GCC
4538 builtin and then its argument prototype would still apply. */
4551 if ac_fn_c_try_link
"$LINENO"; then :
4552 ac_cv_lib_m_exp10f
=yes
4554 ac_cv_lib_m_exp10f
=no
4556 rm -f core conftest.err conftest.
$ac_objext \
4557 conftest
$ac_exeext conftest.
$ac_ext
4558 LIBS
=$ac_check_lib_save_LIBS
4560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10f" >&5
4561 $as_echo "$ac_cv_lib_m_exp10f" >&6; }
4562 if test "x$ac_cv_lib_m_exp10f" = xyes
; then :
4564 $as_echo "#define HAVE_EXP10F 1" >>confdefs.h
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for exp10l in -lm" >&5
4569 $as_echo_n "checking for exp10l in -lm... " >&6; }
4570 if ${ac_cv_lib_m_exp10l+:} false
; then :
4571 $as_echo_n "(cached) " >&6
4573 ac_check_lib_save_LIBS
=$LIBS
4575 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4576 /* end confdefs.h. */
4578 /* Override any GCC internal prototype to avoid an error.
4579 Use char because int might match the return type of a GCC
4580 builtin and then its argument prototype would still apply. */
4593 if ac_fn_c_try_link
"$LINENO"; then :
4594 ac_cv_lib_m_exp10l
=yes
4596 ac_cv_lib_m_exp10l
=no
4598 rm -f core conftest.err conftest.
$ac_objext \
4599 conftest
$ac_exeext conftest.
$ac_ext
4600 LIBS
=$ac_check_lib_save_LIBS
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_exp10l" >&5
4603 $as_echo "$ac_cv_lib_m_exp10l" >&6; }
4604 if test "x$ac_cv_lib_m_exp10l" = xyes
; then :
4606 $as_echo "#define HAVE_EXP10L 1" >>confdefs.h
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbit in -lm" >&5
4612 $as_echo_n "checking for signbit in -lm... " >&6; }
4613 if ${ac_cv_lib_m_signbit+:} false
; then :
4614 $as_echo_n "(cached) " >&6
4616 ac_check_lib_save_LIBS
=$LIBS
4618 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4619 /* end confdefs.h. */
4621 /* Override any GCC internal prototype to avoid an error.
4622 Use char because int might match the return type of a GCC
4623 builtin and then its argument prototype would still apply. */
4636 if ac_fn_c_try_link
"$LINENO"; then :
4637 ac_cv_lib_m_signbit
=yes
4639 ac_cv_lib_m_signbit
=no
4641 rm -f core conftest.err conftest.
$ac_objext \
4642 conftest
$ac_exeext conftest.
$ac_ext
4643 LIBS
=$ac_check_lib_save_LIBS
4645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbit" >&5
4646 $as_echo "$ac_cv_lib_m_signbit" >&6; }
4647 if test "x$ac_cv_lib_m_signbit" = xyes
; then :
4649 $as_echo "#define HAVE_SIGNBIT 1" >>confdefs.h
4653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitf in -lm" >&5
4654 $as_echo_n "checking for signbitf in -lm... " >&6; }
4655 if ${ac_cv_lib_m_signbitf+:} false
; then :
4656 $as_echo_n "(cached) " >&6
4658 ac_check_lib_save_LIBS
=$LIBS
4660 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4661 /* end confdefs.h. */
4663 /* Override any GCC internal prototype to avoid an error.
4664 Use char because int might match the return type of a GCC
4665 builtin and then its argument prototype would still apply. */
4678 if ac_fn_c_try_link
"$LINENO"; then :
4679 ac_cv_lib_m_signbitf
=yes
4681 ac_cv_lib_m_signbitf
=no
4683 rm -f core conftest.err conftest.
$ac_objext \
4684 conftest
$ac_exeext conftest.
$ac_ext
4685 LIBS
=$ac_check_lib_save_LIBS
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitf" >&5
4688 $as_echo "$ac_cv_lib_m_signbitf" >&6; }
4689 if test "x$ac_cv_lib_m_signbitf" = xyes
; then :
4691 $as_echo "#define HAVE_SIGNBITF 1" >>confdefs.h
4695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for signbitl in -lm" >&5
4696 $as_echo_n "checking for signbitl in -lm... " >&6; }
4697 if ${ac_cv_lib_m_signbitl+:} false
; then :
4698 $as_echo_n "(cached) " >&6
4700 ac_check_lib_save_LIBS
=$LIBS
4702 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
4703 /* end confdefs.h. */
4705 /* Override any GCC internal prototype to avoid an error.
4706 Use char because int might match the return type of a GCC
4707 builtin and then its argument prototype would still apply. */
4720 if ac_fn_c_try_link
"$LINENO"; then :
4721 ac_cv_lib_m_signbitl
=yes
4723 ac_cv_lib_m_signbitl
=no
4725 rm -f core conftest.err conftest.
$ac_objext \
4726 conftest
$ac_exeext conftest.
$ac_ext
4727 LIBS
=$ac_check_lib_save_LIBS
4729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_signbitl" >&5
4730 $as_echo "$ac_cv_lib_m_signbitl" >&6; }
4731 if test "x$ac_cv_lib_m_signbitl" = xyes
; then :
4733 $as_echo "#define HAVE_SIGNBITL 1" >>confdefs.h
4738 cat >confcache
<<\_ACEOF
4739 # This file is a shell script that caches the results of configure
4740 # tests run on this system so they can be shared between configure
4741 # scripts and configure runs, see configure's option --config-cache.
4742 # It is not useful on other systems. If it contains results you don't
4743 # want to keep, you may remove or edit it.
4745 # config.status only pays attention to the cache file if you give it
4746 # the --recheck option to rerun configure.
4748 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4749 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4754 # The following way of writing the cache mishandles newlines in values,
4755 # but we know of no workaround that is simple, portable, and efficient.
4756 # So, we kill variables containing newlines.
4757 # Ultrix sh set writes to stderr and can't be redirected directly,
4758 # and sets the high bit in the cache file unless we assign to the vars.
4760 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4761 eval ac_val
=\$
$ac_var
4765 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4766 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4769 _ | IFS | as_nl
) ;; #(
4770 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
4771 *) { eval $ac_var=; unset $ac_var;} ;;
4777 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4778 *${as_nl}ac_space
=\
*)
4779 # `set' does not quote correctly, so add quotes: double-quote
4780 # substitution turns \\\\ into \\, and sed turns \\ into \.
4783 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4786 # `set' quotes correctly as required by POSIX, so do not add quotes.
4787 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4796 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4798 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4800 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
4801 if test -w "$cache_file"; then
4802 if test "x$cache_file" != "x/dev/null"; then
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4804 $as_echo "$as_me: updating cache $cache_file" >&6;}
4805 if test ! -f "$cache_file" ||
test -h "$cache_file"; then
4806 cat confcache
>"$cache_file"
4808 case $cache_file in #(
4810 mv -f confcache
"$cache_file"$$
&&
4811 mv -f "$cache_file"$$
"$cache_file" ;; #(
4813 mv -f confcache
"$cache_file" ;;
4818 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4819 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4824 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
4825 # Let make expand exec_prefix.
4826 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
4828 DEFS
=-DHAVE_CONFIG_H
4833 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
4834 # 1. Remove the extension, and $U if already installed.
4835 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
4836 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
4837 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4838 # will be set to the directory where LIBOBJS objects are built.
4839 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4840 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
4844 LTLIBOBJS
=$ac_ltlibobjs
4848 : "${CONFIG_STATUS=./config.status}"
4850 ac_clean_files_save
=$ac_clean_files
4851 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
4852 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4853 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4855 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4857 # Generated by $as_me.
4858 # Run this file to recreate the current configuration.
4859 # Compiler output produced by configure, useful for debugging
4860 # configure, is in config.log if it exists.
4866 SHELL=\${CONFIG_SHELL-$SHELL}
4869 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
4870 ## -------------------- ##
4871 ## M4sh Initialization. ##
4872 ## -------------------- ##
4874 # Be more Bourne compatible
4875 DUALCASE
=1; export DUALCASE
# for MKS sh
4876 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
4879 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4880 # is contrary to our usage. Disable this feature.
4881 alias -g '${1+"$@"}'='"$@"'
4882 setopt NO_GLOB_SUBST
4884 case `(set -o) 2>/dev/null` in #(
4896 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4897 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4898 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4899 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4900 # Prefer a ksh shell builtin over an external printf program on Solaris,
4901 # but without wasting forks for bash or zsh.
4902 if test -z "$BASH_VERSION$ZSH_VERSION" \
4903 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4904 as_echo='print
-r --'
4905 as_echo_n='print
-rn --'
4906 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4907 as_echo='printf %s
\n'
4908 as_echo_n='printf %s
'
4910 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4911 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
4912 as_echo_n='/usr
/ucb
/echo -n'
4914 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4915 as_echo_n_body='eval
4919 expr "X$arg" : "X\\(.*\\)$as_nl";
4920 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4922 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
4924 export as_echo_n_body
4925 as_echo_n='sh
-c $as_echo_n_body as_echo
'
4928 as_echo='sh
-c $as_echo_body as_echo
'
4931 # The user is always right.
4932 if test "${PATH_SEPARATOR+set}" != set; then
4934 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4935 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4942 # We need space, tab and new line, in precisely that order. Quoting is
4943 # there to prevent editors from complaining about space-tab.
4944 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4945 # splitting by setting IFS to empty value.)
4948 # Find who we are. Look in the path if we contain no directory separator.
4951 *[\\/]* ) as_myself=$0 ;;
4952 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4956 test -z "$as_dir" && as_dir=.
4957 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4963 # We did not find ourselves, most probably we were run as `sh COMMAND'
4964 # in which case we are not to be found in the path.
4965 if test "x$as_myself" = x
; then
4968 if test ! -f "$as_myself"; then
4969 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4973 # Unset variables that we do not need and which cause bugs (e.g. in
4974 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4975 # suppresses any "Segmentation fault" message there. '((' could
4976 # trigger a bug in pdksh 5.2.14.
4977 for as_var
in BASH_ENV ENV MAIL MAILPATH
4978 do eval test x\
${$as_var+set} = xset \
4979 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
4992 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
4995 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4996 # ----------------------------------------
4997 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4998 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4999 # script with STATUS, using 1 if that was 0.
5002 as_status
=$1; test $as_status -eq 0 && as_status
=1
5004 as_lineno
=${as_lineno-"$3"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
5005 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
5007 $as_echo "$as_me: error: $2" >&2
5008 as_fn_exit
$as_status
5012 # as_fn_set_status STATUS
5013 # -----------------------
5014 # Set $? to STATUS, without forking.
5018 } # as_fn_set_status
5022 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
5032 # Portably unset VAR.
5035 { eval $1=; unset $1;}
5037 as_unset
=as_fn_unset
5038 # as_fn_append VAR VALUE
5039 # ----------------------
5040 # Append the text in VALUE to the end of the definition contained in VAR. Take
5041 # advantage of any shell optimizations that allow amortized linear growth over
5042 # repeated appends, instead of the typical quadratic growth present in naive
5044 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
5045 eval 'as_fn_append ()
5056 # as_fn_arith ARG...
5057 # ------------------
5058 # Perform arithmetic evaluation on the ARGs, and store the result in the
5059 # global $as_val. Take advantage of shells that can avoid forks. The arguments
5060 # must be portable across $(()) and expr.
5061 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
5062 eval 'as_fn_arith ()
5069 as_val
=`expr "$@" || test $? -eq 1`
5074 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
5075 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
5081 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
5082 as_basename
=basename
5087 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
5093 as_me
=`$as_basename -- "$0" ||
5094 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
5095 X"$0" : 'X\(//\)$' \| \
5096 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
5098 sed '/^.*\/\([^/][^/]*\)\/*$/{
5112 # Avoid depending upon Character Ranges.
5113 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
5114 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
5115 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
5116 as_cr_digits
='0123456789'
5117 as_cr_alnum
=$as_cr_Letters$as_cr_digits
5119 ECHO_C
= ECHO_N
= ECHO_T
=
5120 case `echo -n x` in #(((((
5122 case `echo 'xy\c'` in
5123 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
5125 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
5132 rm -f conf$$ conf$$.exe conf$$.
file
5133 if test -d conf$$.dir
; then
5134 rm -f conf$$.dir
/conf$$.
file
5137 mkdir conf$$.dir
2>/dev
/null
5139 if (echo >conf$$.
file) 2>/dev
/null
; then
5140 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
5142 # ... but there are two gotchas:
5143 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5144 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5145 # In both cases, we have to default to `cp -pR'.
5146 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
5148 elif ln conf$$.
file conf$$
2>/dev
/null
; then
5156 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
5157 rmdir conf$$.dir
2>/dev
/null
5162 # Create "$as_dir" as a directory, including parents if necessary.
5167 -*) as_dir
=.
/$as_dir;;
5169 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
5173 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5174 *) as_qdir
=$as_dir;;
5176 as_dirs
="'$as_qdir' $as_dirs"
5177 as_dir
=`$as_dirname -- "$as_dir" ||
5178 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5179 X"$as_dir" : 'X\(//\)[^/]' \| \
5180 X"$as_dir" : 'X\(//\)$' \| \
5181 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5182 $as_echo X"$as_dir" |
5183 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5200 test -d "$as_dir" && break
5202 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
5203 } ||
test -d "$as_dir" || as_fn_error $?
"cannot create directory $as_dir"
5207 if mkdir
-p .
2>/dev
/null
; then
5208 as_mkdir_p
='mkdir -p "$as_dir"'
5210 test -d .
/-p && rmdir .
/-p
5215 # as_fn_executable_p FILE
5216 # -----------------------
5217 # Test if FILE is an executable regular file.
5218 as_fn_executable_p
()
5220 test -f "$1" && test -x "$1"
5221 } # as_fn_executable_p
5223 as_executable_p
=as_fn_executable_p
5225 # Sed expression to map a string onto a valid CPP name.
5226 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5228 # Sed expression to map a string onto a valid variable name.
5229 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5233 ## ----------------------------------- ##
5234 ## Main body of $CONFIG_STATUS script. ##
5235 ## ----------------------------------- ##
5237 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
5239 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5240 # Save the log message, to keep $0 and so on meaningful, and to
5241 # report actual input values of CONFIG_FILES etc. instead of their
5242 # values after options handling.
5244 This file was extended by ASCII.def $as_me 1.9.5, which was
5245 generated by GNU Autoconf 2.69. Invocation command line was
5247 CONFIG_FILES = $CONFIG_FILES
5248 CONFIG_HEADERS = $CONFIG_HEADERS
5249 CONFIG_LINKS = $CONFIG_LINKS
5250 CONFIG_COMMANDS = $CONFIG_COMMANDS
5253 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5259 case $ac_config_headers in *"
5260 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
5264 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5265 # Files that config.status was made for.
5266 config_headers="$ac_config_headers"
5270 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5272 \`$as_me' instantiates files and other configuration actions
5273 from templates according to the current configuration. Unless the files
5274 and actions are specified as TAGs, all are instantiated by default.
5276 Usage: $0 [OPTION]... [TAG]...
5278 -h, --help print this help, then exit
5279 -V, --version print version number and configuration settings, then exit
5280 --config print configuration, then exit
5281 -q, --quiet, --silent
5282 do not print progress messages
5283 -d, --debug don't remove temporary files
5284 --recheck update $as_me by reconfiguring in the same conditions
5285 --header=FILE[:TEMPLATE]
5286 instantiate the configuration header FILE
5288 Configuration headers:
5291 Report bugs to <gm2@nongnu.org>."
5294 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5295 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
5297 ASCII.def config.status 1.9.5
5298 configured by $0, generated by GNU Autoconf 2.69,
5299 with options \\"\$ac_cs_config\\"
5301 Copyright (C) 2012-2024 Free Software Foundation, Inc.
5302 This config.status script is free software; the Free Software Foundation
5303 gives unlimited permission to copy, distribute and modify it."
5307 test -n "\$AWK" || AWK=awk
5310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5311 # The default lists apply if the user does not specify any file.
5317 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5318 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
5322 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
5334 # Handling of the options.
5335 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
5337 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
5338 $as_echo "$ac_cs_version"; exit ;;
5339 --config |
--confi |
--conf |
--con |
--co |
--c )
5340 $as_echo "$ac_cs_config"; exit ;;
5341 --debug |
--debu |
--deb |
--de |
--d |
-d )
5343 --header |
--heade |
--head |
--hea )
5346 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5348 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
5349 ac_need_defaults
=false
;;
5351 # Conflict between --help and --header
5352 as_fn_error $?
"ambiguous option: \`$1'
5353 Try \`$0 --help' for more information.";;
5354 --help |
--hel |
-h )
5355 $as_echo "$ac_cs_usage"; exit ;;
5356 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
5357 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
5361 -*) as_fn_error $?
"unrecognized option: \`$1'
5362 Try \`$0 --help' for more information." ;;
5364 *) as_fn_append ac_config_targets
" $1"
5365 ac_need_defaults
=false
;;
5371 ac_configure_extra_args
=
5373 if $ac_cs_silent; then
5375 ac_configure_extra_args
="$ac_configure_extra_args --silent"
5379 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5380 if \$ac_cs_recheck; then
5381 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5383 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
5384 CONFIG_SHELL='$SHELL'
5390 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5394 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5395 ## Running $as_me. ##
5401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5404 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5406 # Handling of arguments.
5407 for ac_config_target
in $ac_config_targets
5409 case $ac_config_target in
5410 "gm2-libs-host.h") CONFIG_HEADERS
="$CONFIG_HEADERS gm2-libs-host.h:gm2-libs-host.h.in" ;;
5412 *) as_fn_error $?
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5417 # If the user did not use the arguments to specify the items to instantiate,
5418 # then the envvar interface is used. Set only those that are not.
5419 # We use the long form for the default assignment because of an extremely
5420 # bizarre bug on SunOS 4.1.3.
5421 if $ac_need_defaults; then
5422 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
5425 # Have a temporary directory for convenience. Make it in the build tree
5426 # simply because there is no reason against having it here, and in addition,
5427 # creating and moving files from /tmp can sometimes cause problems.
5428 # Hook for its removal unless debugging.
5429 # Note that there is a small window in which the directory will not be cleaned:
5430 # after its creation but before its name has been assigned to `$tmp'.
5434 trap 'exit_status=$?
5436 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5438 trap 'as_fn_exit 1' 1 2 13 15
5440 # Create a (secure) tmp directory for tmp files.
5443 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5447 tmp
=.
/conf$$
-$RANDOM
5448 (umask 077 && mkdir
"$tmp")
5449 } || as_fn_error $?
"cannot create a temporary directory in ." "$LINENO" 5
5452 # Set up the scripts for CONFIG_HEADERS section.
5453 # No need to generate them if there are no CONFIG_HEADERS.
5454 # This happens for instance with `./config.status Makefile'.
5455 if test -n "$CONFIG_HEADERS"; then
5456 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5460 # Transform confdefs.h into an awk script `defines.awk', embedded as
5461 # here-document in config.status, that substitutes the proper values into
5462 # config.h.in to produce config.h.
5464 # Create a delimiter string that does not exist in confdefs.h, to ease
5465 # handling of long lines.
5467 for ac_last_try
in false false
:; do
5468 ac_tt
=`sed -n "/$ac_delim/p" confdefs.h`
5469 if test -z "$ac_tt"; then
5471 elif $ac_last_try; then
5472 as_fn_error $?
"could not make $CONFIG_HEADERS" "$LINENO" 5
5474 ac_delim
="$ac_delim!$ac_delim _$ac_delim!! "
5478 # For the awk script, D is an array of macro values keyed by name,
5479 # likewise P contains macro parameters if any. Preserve backslash
5480 # newline sequences.
5482 ac_word_re
=[_
$as_cr_Letters][_
$as_cr_alnum]*
5484 s/.\{148\}/&'"$ac_delim"'/g
5487 s/^[ ]*#[ ]*define[ ][ ]*/ /
5494 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5496 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5500 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5501 D["\1"]=" \3\\\\\\n"\\/p
5503 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5508 s/.\{148\}/&'"$ac_delim"'/g
5513 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5516 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5518 ' <confdefs.h |
sed '
5519 s/'"$ac_delim"'/"\\\
5520 "/g' >>$CONFIG_STATUS || ac_write_fail
=1
5522 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5523 for (key in D) D_is_set[key] = 1
5526 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5528 split(line, arg, " ")
5529 if (arg[1] == "#") {
5533 defundef = substr(arg[1], 2)
5536 split(mac1, mac2, "(") #)
5538 prefix = substr(line, 1, index(line, defundef) - 1)
5539 if (D_is_set[macro]) {
5540 # Preserve the white space surrounding the "#".
5541 print prefix "define", macro P[macro] D[macro]
5544 # Replace #undef with comments. This is necessary, for example,
5545 # in the case of _POSIX_SOURCE, which is predefined and required
5546 # on some systems where configure will not decide to define it.
5547 if (defundef == "undef") {
5548 print "/*", prefix defundef, macro, "*/"
5556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
5557 as_fn_error $?
"could not setup config headers machinery" "$LINENO" 5
5558 fi # test -n "$CONFIG_HEADERS"
5561 eval set X
" :H $CONFIG_HEADERS "
5566 :[FHLC
]) ac_mode
=$ac_tag; continue;;
5568 case $ac_mode$ac_tag in
5570 :L
* |
:C
*:*) as_fn_error $?
"invalid tag \`$ac_tag'" "$LINENO" 5;;
5571 :[FH
]-) ac_tag
=-:-;;
5572 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
5589 -) ac_f
="$ac_tmp/stdin";;
5590 *) # Look for the file first in the build tree, then in the source tree
5591 # (if the path is not absolute). The absolute path cannot be DOS-style,
5592 # because $ac_f cannot contain `:'.
5596 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
5598 as_fn_error
1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5600 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5601 as_fn_append ac_file_inputs
" '$ac_f'"
5604 # Let's still pretend it is `configure' which instantiates (i.e., don't
5605 # use $as_me), people would be surprised to read:
5606 # /* config.h. Generated by config.status. */
5607 configure_input
='Generated from '`
5608 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5610 if test x
"$ac_file" != x-
; then
5611 configure_input
="$ac_file. $configure_input"
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5613 $as_echo "$as_me: creating $ac_file" >&6;}
5615 # Neutralize special characters interpreted by sed in replacement strings.
5616 case $configure_input in #(
5617 *\
&* |
*\|
* |
*\\* )
5618 ac_sed_conf_input
=`$as_echo "$configure_input" |
5619 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5620 *) ac_sed_conf_input
=$configure_input;;
5624 *:-:* |
*:-) cat >"$ac_tmp/stdin" \
5625 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5 ;;
5630 ac_dir
=`$as_dirname -- "$ac_file" ||
5631 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5632 X"$ac_file" : 'X\(//\)[^/]' \| \
5633 X"$ac_file" : 'X\(//\)$' \| \
5634 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5635 $as_echo X"$ac_file" |
5636 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5653 as_dir
="$ac_dir"; as_fn_mkdir_p
5657 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5659 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5660 # A ".." for each directory in $ac_dir_suffix.
5661 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5662 case $ac_top_builddir_sub in
5663 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
5664 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
5667 ac_abs_top_builddir
=$ac_pwd
5668 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
5669 # for backward compatibility:
5670 ac_top_builddir
=$ac_top_build_prefix
5673 .
) # We are building in place.
5675 ac_top_srcdir
=$ac_top_builddir_sub
5676 ac_abs_top_srcdir
=$ac_pwd ;;
5677 [\\/]* | ?
:[\\/]* ) # Absolute name.
5678 ac_srcdir
=$srcdir$ac_dir_suffix;
5679 ac_top_srcdir
=$srcdir
5680 ac_abs_top_srcdir
=$srcdir ;;
5682 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
5683 ac_top_srcdir
=$ac_top_build_prefix$srcdir
5684 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
5686 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
5695 if test x
"$ac_file" != x-
; then
5697 $as_echo "/* $configure_input */" \
5698 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5699 } >"$ac_tmp/config.h" \
5700 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
5701 if diff "$ac_file" "$ac_tmp/config.h" >/dev
/null
2>&1; then
5702 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5703 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5706 mv "$ac_tmp/config.h" "$ac_file" \
5707 || as_fn_error $?
"could not create $ac_file" "$LINENO" 5
5710 $as_echo "/* $configure_input */" \
5711 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5712 || as_fn_error $?
"could not create -" "$LINENO" 5
5724 ac_clean_files
=$ac_clean_files_save
5726 test $ac_write_fail = 0 ||
5727 as_fn_error $?
"write failure creating $CONFIG_STATUS" "$LINENO" 5
5730 # configure is writing to config.log, and then calls config.status.
5731 # config.status does its own redirection, appending to config.log.
5732 # Unfortunately, on DOS this fails, as config.log is still kept open
5733 # by configure, so config.status won't be able to write to it; its
5734 # output is simply discarded. So we exec the FD to /dev/null,
5735 # effectively closing config.log, so it can be properly (re)opened and
5736 # appended to by config.status. When coming back to configure, we
5737 # need to make the FD available again.
5738 if test "$no_create" != yes; then
5740 ac_config_status_args
=
5741 test "$silent" = yes &&
5742 ac_config_status_args
="$ac_config_status_args --quiet"
5744 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
5746 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5747 # would make configure fail if this is the last instruction.
5748 $ac_cs_success || as_fn_exit
1
5750 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
5751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5752 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}