2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.65 for jim 0.63.
5 # Report bugs to <steveb@workware.net.au>.
8 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
9 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
13 # This configure script is free software; the Free Software Foundation
14 # gives unlimited permission to copy, distribute and modify it.
15 ## -------------------- ##
16 ## M4sh Initialization. ##
17 ## -------------------- ##
19 # Be more Bourne compatible
20 DUALCASE
=1; export DUALCASE
# for MKS sh
21 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
29 case `(set -o) 2>/dev/null` in #(
41 # Printing a long string crashes Solaris 7 /usr/bin/printf.
42 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
43 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
44 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
45 # Prefer a ksh shell builtin over an external printf program on Solaris,
46 # but without wasting forks for bash or zsh.
47 if test -z "$BASH_VERSION$ZSH_VERSION" \
48 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo_n='print
-rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
55 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
56 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
57 as_echo_n='/usr
/ucb
/echo -n'
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
67 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
70 as_echo_n='sh
-c $as_echo_n_body as_echo
'
73 as_echo='sh
-c $as_echo_body as_echo
'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
79 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
87 # We need space, tab and new line, in precisely that order. Quoting is
88 # there to prevent editors from complaining about space-tab.
89 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
90 # splitting by setting IFS to empty value.)
93 # Find who we are. Look in the path if we contain no directory separator.
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
107 # We did not find ourselves, most probably we were run as `sh COMMAND'
108 # in which case we are not to be found in the path.
109 if test "x$as_myself" = x
; then
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
117 # Unset variables that we do not need and which cause bugs (e.g. in
118 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
119 # suppresses any "Segmentation fault" message there. '((' could
120 # trigger a bug in pdksh 5.2.14.
121 for as_var
in BASH_ENV ENV MAIL MAILPATH
122 do eval test x\
${$as_var+set} = xset \
123 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
136 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
138 if test "x$CONFIG_SHELL" = x
; then
139 as_bourne_compatible
="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
142 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
143 # is contrary to our usage. Disable this feature.
144 alias -g '\${1+\"\$@\"}'='\"\$@\"'
147 case \`(set -o) 2>/dev/null\` in #(
155 as_required
="as_fn_return () { (exit \$1); }
156 as_fn_success () { as_fn_return 0; }
157 as_fn_failure () { as_fn_return 1; }
158 as_fn_ret_success () { return 0; }
159 as_fn_ret_failure () { return 1; }
162 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
163 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
164 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
165 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
166 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
169 exitcode=1; echo positional parameters were not saved.
171 test x\$exitcode = x0 || exit 1"
172 as_suggested
=" as_lineno_1=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_1a=\$LINENO
173 as_lineno_2=";as_suggested
=$as_suggested$LINENO;as_suggested
=$as_suggested" as_lineno_2a=\$LINENO
174 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
175 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
176 test \$(( 1 + 1 )) = 2 || exit 1"
177 if (eval "$as_required") 2>/dev
/null
; then :
182 if test x
$as_have_required = xyes
&& (eval "$as_suggested") 2>/dev
/null
; then :
185 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
187 for as_dir
in /bin
$PATH_SEPARATOR/usr
/bin
$PATH_SEPARATOR$PATH
190 test -z "$as_dir" && as_dir
=.
194 for as_base
in sh bash ksh sh5
; do
195 # Try only shells that exist, to save several forks.
196 as_shell
=$as_dir/$as_base
197 if { test -f "$as_shell" ||
test -f "$as_shell.exe"; } &&
198 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
199 CONFIG_SHELL
=$as_shell as_have_required
=yes
200 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run
=a
"$as_shell"; } 2>/dev
/null
; then :
208 $as_found ||
{ if { test -f "$SHELL" ||
test -f "$SHELL.exe"; } &&
209 { $as_echo "$as_bourne_compatible""$as_required" | as_run
=a
"$SHELL"; } 2>/dev
/null
; then :
210 CONFIG_SHELL
=$SHELL as_have_required
=yes
215 if test "x$CONFIG_SHELL" != x
; then :
216 # We cannot yet assume a decent shell, so we have to provide a
217 # neutralization value for shells without unset; and this also
218 # works around shells that cannot unset nonexistent variables.
221 (unset BASH_ENV
) >/dev
/null
2>&1 && unset BASH_ENV ENV
223 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
226 if test x
$as_have_required = xno
; then :
227 $as_echo "$0: This script requires a shell more modern than all"
228 $as_echo "$0: the shells that I found on your system."
229 if test x
${ZSH_VERSION+set} = xset
; then
230 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
231 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
233 $as_echo "$0: Please tell bug-autoconf@gnu.org and
234 $0: steveb@workware.net.au about your system, including any
235 $0: error possibly output before this message. Then install
236 $0: a modern shell, or manually run the script under such a
237 $0: shell if you do have one."
243 SHELL
=${CONFIG_SHELL-/bin/sh}
245 # Unset more variables known to interfere with behavior of common tools.
246 CLICOLOR_FORCE
= GREP_OPTIONS
=
247 unset CLICOLOR_FORCE GREP_OPTIONS
249 ## --------------------- ##
250 ## M4sh Shell Functions. ##
251 ## --------------------- ##
254 # Portably unset VAR.
257 { eval $1=; unset $1;}
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
281 # Create "$as_dir" as a directory, including parents if necessary.
286 -*) as_dir
=.
/$as_dir;;
288 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
292 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
295 as_dirs
="'$as_qdir' $as_dirs"
296 as_dir
=`$as_dirname -- "$as_dir" ||
297 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
298 X"$as_dir" : 'X\(//\)[^/]' \| \
299 X"$as_dir" : 'X\(//\)$' \| \
300 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
301 $as_echo X"$as_dir" |
302 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
319 test -d "$as_dir" && break
321 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
322 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
326 # as_fn_append VAR VALUE
327 # ----------------------
328 # Append the text in VALUE to the end of the definition contained in VAR. Take
329 # advantage of any shell optimizations that allow amortized linear growth over
330 # repeated appends, instead of the typical quadratic growth present in naive
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
333 eval 'as_fn_append ()
346 # Perform arithmetic evaluation on the ARGs, and store the result in the
347 # global $as_val. Take advantage of shells that can avoid forks. The arguments
348 # must be portable across $(()) and expr.
349 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
357 as_val
=`expr "$@" || test $? -eq 1`
362 # as_fn_error ERROR [LINENO LOG_FD]
363 # ---------------------------------
364 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
365 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
366 # script with status $?, using 1 if that was 0.
369 as_status
=$?
; test $as_status -eq 0 && as_status
=1
371 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
372 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
374 $as_echo "$as_me: error: $1" >&2
375 as_fn_exit
$as_status
378 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
385 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
397 as_me
=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
416 # Avoid depending upon Character Ranges.
417 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
418 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
419 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
420 as_cr_digits
='0123456789'
421 as_cr_alnum
=$as_cr_Letters$as_cr_digits
424 as_lineno_1
=$LINENO as_lineno_1a
=$LINENO
425 as_lineno_2
=$LINENO as_lineno_2a
=$LINENO
426 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
427 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' ||
{
428 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
444 chmod +x
"$as_me.lineno" ||
445 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit
1; }
447 # Don't try to exec as it changes $[0], causing all sort of problems
448 # (the dirname of $[0] is not the place where we might find the
449 # original and so on. Autoconf is especially sensitive to this).
451 # Exit status is that of the last command.
455 ECHO_C
= ECHO_N
= ECHO_T
=
456 case `echo -n x` in #(((((
458 case `echo 'xy\c'` in
459 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
468 rm -f conf$$ conf$$.exe conf$$.
file
469 if test -d conf$$.dir
; then
470 rm -f conf$$.dir
/conf$$.
file
473 mkdir conf$$.dir
2>/dev
/null
475 if (echo >conf$$.
file) 2>/dev
/null
; then
476 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
478 # ... but there are two gotchas:
479 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
480 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
481 # In both cases, we have to default to `cp -p'.
482 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
484 elif ln conf$$.
file conf$$
2>/dev
/null
; then
492 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
493 rmdir conf$$.dir
2>/dev
/null
495 if mkdir
-p .
2>/dev
/null
; then
496 as_mkdir_p
='mkdir -p "$as_dir"'
498 test -d .
/-p && rmdir .
/-p
502 if test -x / >/dev
/null
2>&1; then
505 if ls -dL / >/dev
/null
2>&1; then
512 if test -d "$1"; then
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
523 as_executable_p
=$as_test_x
525 # Sed expression to map a string onto a valid CPP name.
526 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
528 # Sed expression to map a string onto a valid variable name.
529 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
532 test -n "$DJDIR" ||
exec 7<&0 </dev
/null
536 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
537 # so uname gets run too.
538 ac_hostname
=`(hostname || uname -n) 2>/dev/null | sed 1q`
543 ac_default_prefix
=/usr
/local
545 ac_config_libobj_dir
=.
552 # Identity of this package.
554 PACKAGE_TARNAME
='jim'
555 PACKAGE_VERSION
='0.63'
556 PACKAGE_STRING
='jim 0.63'
557 PACKAGE_BUGREPORT
='steveb@workware.net.au'
560 # Factoring default headers for most tests.
561 ac_includes_default
="\
563 #ifdef HAVE_SYS_TYPES_H
564 # include <sys/types.h>
566 #ifdef HAVE_SYS_STAT_H
567 # include <sys/stat.h>
573 # ifdef HAVE_STDLIB_H
578 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
583 #ifdef HAVE_STRINGS_H
584 # include <strings.h>
586 #ifdef HAVE_INTTYPES_H
587 # include <inttypes.h>
596 ac_subst_vars
='LTLIBOBJS
652 program_transform_name
665 enable_option_checking
671 ac_precious_vars
='build_alias
682 # Initialize some variables set by options.
684 ac_init_version
=false
685 ac_unrecognized_opts
=
687 # The variables have the same names as the options, with
688 # dashes changed to underlines.
696 program_transform_name
=s
,x
,x
,
704 # Installation directory options.
705 # These are left unexpanded so users can "make install exec_prefix=/foo"
706 # and all the variables that are supposed to be based on exec_prefix
707 # by default will actually change.
708 # Use braces instead of parens because sh, perl, etc. also accept them.
709 # (The list follows the same order as the GNU Coding Standards.)
710 bindir
='${exec_prefix}/bin'
711 sbindir
='${exec_prefix}/sbin'
712 libexecdir
='${exec_prefix}/libexec'
713 datarootdir
='${prefix}/share'
714 datadir
='${datarootdir}'
715 sysconfdir
='${prefix}/etc'
716 sharedstatedir
='${prefix}/com'
717 localstatedir
='${prefix}/var'
718 includedir
='${prefix}/include'
719 oldincludedir
='/usr/include'
720 docdir
='${datarootdir}/doc/${PACKAGE_TARNAME}'
721 infodir
='${datarootdir}/info'
726 libdir
='${exec_prefix}/lib'
727 localedir
='${datarootdir}/locale'
728 mandir
='${datarootdir}/man'
734 # If the previous option needs an argument, assign it.
735 if test -n "$ac_prev"; then
736 eval $ac_prev=\
$ac_option
742 *=*) ac_optarg
=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
746 # Accept the important Cygnus configure options, so we can diagnose typos.
748 case $ac_dashdash$ac_option in
752 -bindir |
--bindir |
--bindi |
--bind |
--bin |
--bi)
754 -bindir=* |
--bindir=* |
--bindi=* |
--bind=* |
--bin=* |
--bi=*)
757 -build |
--build |
--buil |
--bui |
--bu)
758 ac_prev
=build_alias
;;
759 -build=* |
--build=* |
--buil=* |
--bui=* |
--bu=*)
760 build_alias
=$ac_optarg ;;
762 -cache-file |
--cache-file |
--cache-fil |
--cache-fi \
763 |
--cache-f |
--cache- |
--cache |
--cach |
--cac |
--ca |
--c)
764 ac_prev
=cache_file
;;
765 -cache-file=* |
--cache-file=* |
--cache-fil=* |
--cache-fi=* \
766 |
--cache-f=* |
--cache-=* |
--cache=* |
--cach=* |
--cac=* |
--ca=* |
--c=*)
767 cache_file
=$ac_optarg ;;
770 cache_file
=config.cache
;;
772 -datadir |
--datadir |
--datadi |
--datad)
774 -datadir=* |
--datadir=* |
--datadi=* |
--datad=*)
775 datadir
=$ac_optarg ;;
777 -datarootdir |
--datarootdir |
--datarootdi |
--datarootd |
--dataroot \
778 |
--dataroo |
--dataro |
--datar)
779 ac_prev
=datarootdir
;;
780 -datarootdir=* |
--datarootdir=* |
--datarootdi=* |
--datarootd=* \
781 |
--dataroot=* |
--dataroo=* |
--dataro=* |
--datar=*)
782 datarootdir
=$ac_optarg ;;
784 -disable-* |
--disable-*)
785 ac_useropt
=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
786 # Reject names that are not valid shell variable names.
787 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
788 as_fn_error
"invalid feature name: $ac_useropt"
789 ac_useropt_orig
=$ac_useropt
790 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
791 case $ac_user_opts in
795 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
796 ac_unrecognized_sep
=', ';;
798 eval enable_
$ac_useropt=no
;;
800 -docdir |
--docdir |
--docdi |
--doc |
--do)
802 -docdir=* |
--docdir=* |
--docdi=* |
--doc=* |
--do=*)
805 -dvidir |
--dvidir |
--dvidi |
--dvid |
--dvi |
--dv)
807 -dvidir=* |
--dvidir=* |
--dvidi=* |
--dvid=* |
--dvi=* |
--dv=*)
810 -enable-* |
--enable-*)
811 ac_useropt
=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
812 # Reject names that are not valid shell variable names.
813 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
814 as_fn_error
"invalid feature name: $ac_useropt"
815 ac_useropt_orig
=$ac_useropt
816 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
817 case $ac_user_opts in
821 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep
=', ';;
824 eval enable_
$ac_useropt=\
$ac_optarg ;;
826 -exec-prefix |
--exec_prefix |
--exec-prefix |
--exec-prefi \
827 |
--exec-pref |
--exec-pre |
--exec-pr |
--exec-p |
--exec- \
828 |
--exec |
--exe |
--ex)
829 ac_prev
=exec_prefix
;;
830 -exec-prefix=* |
--exec_prefix=* |
--exec-prefix=* |
--exec-prefi=* \
831 |
--exec-pref=* |
--exec-pre=* |
--exec-pr=* |
--exec-p=* |
--exec-=* \
832 |
--exec=* |
--exe=* |
--ex=*)
833 exec_prefix
=$ac_optarg ;;
835 -gas |
--gas |
--ga |
--g)
836 # Obsolete; use --with-gas.
839 -help |
--help |
--hel |
--he |
-h)
841 -help=r
* |
--help=r
* |
--hel=r
* |
--he=r
* |
-hr*)
842 ac_init_help
=recursive
;;
843 -help=s
* |
--help=s
* |
--hel=s
* |
--he=s
* |
-hs*)
844 ac_init_help
=short
;;
846 -host |
--host |
--hos |
--ho)
847 ac_prev
=host_alias
;;
848 -host=* |
--host=* |
--hos=* |
--ho=*)
849 host_alias
=$ac_optarg ;;
851 -htmldir |
--htmldir |
--htmldi |
--htmld |
--html |
--htm |
--ht)
853 -htmldir=* |
--htmldir=* |
--htmldi=* |
--htmld=* |
--html=* |
--htm=* \
855 htmldir
=$ac_optarg ;;
857 -includedir |
--includedir |
--includedi |
--included |
--include \
858 |
--includ |
--inclu |
--incl |
--inc)
859 ac_prev
=includedir
;;
860 -includedir=* |
--includedir=* |
--includedi=* |
--included=* |
--include=* \
861 |
--includ=* |
--inclu=* |
--incl=* |
--inc=*)
862 includedir
=$ac_optarg ;;
864 -infodir |
--infodir |
--infodi |
--infod |
--info |
--inf)
866 -infodir=* |
--infodir=* |
--infodi=* |
--infod=* |
--info=* |
--inf=*)
867 infodir
=$ac_optarg ;;
869 -libdir |
--libdir |
--libdi |
--libd)
871 -libdir=* |
--libdir=* |
--libdi=* |
--libd=*)
874 -libexecdir |
--libexecdir |
--libexecdi |
--libexecd |
--libexec \
875 |
--libexe |
--libex |
--libe)
876 ac_prev
=libexecdir
;;
877 -libexecdir=* |
--libexecdir=* |
--libexecdi=* |
--libexecd=* |
--libexec=* \
878 |
--libexe=* |
--libex=* |
--libe=*)
879 libexecdir
=$ac_optarg ;;
881 -localedir |
--localedir |
--localedi |
--localed |
--locale)
883 -localedir=* |
--localedir=* |
--localedi=* |
--localed=* |
--locale=*)
884 localedir
=$ac_optarg ;;
886 -localstatedir |
--localstatedir |
--localstatedi |
--localstated \
887 |
--localstate |
--localstat |
--localsta |
--localst |
--locals)
888 ac_prev
=localstatedir
;;
889 -localstatedir=* |
--localstatedir=* |
--localstatedi=* |
--localstated=* \
890 |
--localstate=* |
--localstat=* |
--localsta=* |
--localst=* |
--locals=*)
891 localstatedir
=$ac_optarg ;;
893 -mandir |
--mandir |
--mandi |
--mand |
--man |
--ma |
--m)
895 -mandir=* |
--mandir=* |
--mandi=* |
--mand=* |
--man=* |
--ma=* |
--m=*)
899 # Obsolete; use --without-fp.
902 -no-create |
--no-create |
--no-creat |
--no-crea |
--no-cre \
903 |
--no-cr |
--no-c |
-n)
906 -no-recursion |
--no-recursion |
--no-recursio |
--no-recursi \
907 |
--no-recurs |
--no-recur |
--no-recu |
--no-rec |
--no-re |
--no-r)
910 -oldincludedir |
--oldincludedir |
--oldincludedi |
--oldincluded \
911 |
--oldinclude |
--oldinclud |
--oldinclu |
--oldincl |
--oldinc \
912 |
--oldin |
--oldi |
--old |
--ol |
--o)
913 ac_prev
=oldincludedir
;;
914 -oldincludedir=* |
--oldincludedir=* |
--oldincludedi=* |
--oldincluded=* \
915 |
--oldinclude=* |
--oldinclud=* |
--oldinclu=* |
--oldincl=* |
--oldinc=* \
916 |
--oldin=* |
--oldi=* |
--old=* |
--ol=* |
--o=*)
917 oldincludedir
=$ac_optarg ;;
919 -prefix |
--prefix |
--prefi |
--pref |
--pre |
--pr |
--p)
921 -prefix=* |
--prefix=* |
--prefi=* |
--pref=* |
--pre=* |
--pr=* |
--p=*)
924 -program-prefix |
--program-prefix |
--program-prefi |
--program-pref \
925 |
--program-pre |
--program-pr |
--program-p)
926 ac_prev
=program_prefix
;;
927 -program-prefix=* |
--program-prefix=* |
--program-prefi=* \
928 |
--program-pref=* |
--program-pre=* |
--program-pr=* |
--program-p=*)
929 program_prefix
=$ac_optarg ;;
931 -program-suffix |
--program-suffix |
--program-suffi |
--program-suff \
932 |
--program-suf |
--program-su |
--program-s)
933 ac_prev
=program_suffix
;;
934 -program-suffix=* |
--program-suffix=* |
--program-suffi=* \
935 |
--program-suff=* |
--program-suf=* |
--program-su=* |
--program-s=*)
936 program_suffix
=$ac_optarg ;;
938 -program-transform-name |
--program-transform-name \
939 |
--program-transform-nam |
--program-transform-na \
940 |
--program-transform-n |
--program-transform- \
941 |
--program-transform |
--program-transfor \
942 |
--program-transfo |
--program-transf \
943 |
--program-trans |
--program-tran \
944 |
--progr-tra |
--program-tr |
--program-t)
945 ac_prev
=program_transform_name
;;
946 -program-transform-name=* |
--program-transform-name=* \
947 |
--program-transform-nam=* |
--program-transform-na=* \
948 |
--program-transform-n=* |
--program-transform-=* \
949 |
--program-transform=* |
--program-transfor=* \
950 |
--program-transfo=* |
--program-transf=* \
951 |
--program-trans=* |
--program-tran=* \
952 |
--progr-tra=* |
--program-tr=* |
--program-t=*)
953 program_transform_name
=$ac_optarg ;;
955 -pdfdir |
--pdfdir |
--pdfdi |
--pdfd |
--pdf |
--pd)
957 -pdfdir=* |
--pdfdir=* |
--pdfdi=* |
--pdfd=* |
--pdf=* |
--pd=*)
960 -psdir |
--psdir |
--psdi |
--psd |
--ps)
962 -psdir=* |
--psdir=* |
--psdi=* |
--psd=* |
--ps=*)
965 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
966 |
-silent |
--silent |
--silen |
--sile |
--sil)
969 -sbindir |
--sbindir |
--sbindi |
--sbind |
--sbin |
--sbi |
--sb)
971 -sbindir=* |
--sbindir=* |
--sbindi=* |
--sbind=* |
--sbin=* \
973 sbindir
=$ac_optarg ;;
975 -sharedstatedir |
--sharedstatedir |
--sharedstatedi \
976 |
--sharedstated |
--sharedstate |
--sharedstat |
--sharedsta \
977 |
--sharedst |
--shareds |
--shared |
--share |
--shar \
979 ac_prev
=sharedstatedir
;;
980 -sharedstatedir=* |
--sharedstatedir=* |
--sharedstatedi=* \
981 |
--sharedstated=* |
--sharedstate=* |
--sharedstat=* |
--sharedsta=* \
982 |
--sharedst=* |
--shareds=* |
--shared=* |
--share=* |
--shar=* \
984 sharedstatedir
=$ac_optarg ;;
986 -site |
--site |
--sit)
988 -site=* |
--site=* |
--sit=*)
991 -srcdir |
--srcdir |
--srcdi |
--srcd |
--src |
--sr)
993 -srcdir=* |
--srcdir=* |
--srcdi=* |
--srcd=* |
--src=* |
--sr=*)
996 -sysconfdir |
--sysconfdir |
--sysconfdi |
--sysconfd |
--sysconf \
997 |
--syscon |
--sysco |
--sysc |
--sys |
--sy)
998 ac_prev
=sysconfdir
;;
999 -sysconfdir=* |
--sysconfdir=* |
--sysconfdi=* |
--sysconfd=* |
--sysconf=* \
1000 |
--syscon=* |
--sysco=* |
--sysc=* |
--sys=* |
--sy=*)
1001 sysconfdir
=$ac_optarg ;;
1003 -target |
--target |
--targe |
--targ |
--tar |
--ta |
--t)
1004 ac_prev
=target_alias
;;
1005 -target=* |
--target=* |
--targe=* |
--targ=* |
--tar=* |
--ta=* |
--t=*)
1006 target_alias
=$ac_optarg ;;
1008 -v |
-verbose |
--verbose |
--verbos |
--verbo |
--verb)
1011 -version |
--version |
--versio |
--versi |
--vers |
-V)
1012 ac_init_version
=: ;;
1015 ac_useropt
=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1016 # Reject names that are not valid shell variable names.
1017 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1018 as_fn_error
"invalid package name: $ac_useropt"
1019 ac_useropt_orig
=$ac_useropt
1020 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1021 case $ac_user_opts in
1025 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1026 ac_unrecognized_sep
=', ';;
1028 eval with_
$ac_useropt=\
$ac_optarg ;;
1030 -without-* |
--without-*)
1031 ac_useropt
=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1032 # Reject names that are not valid shell variable names.
1033 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev
/null
&&
1034 as_fn_error
"invalid package name: $ac_useropt"
1035 ac_useropt_orig
=$ac_useropt
1036 ac_useropt
=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1037 case $ac_user_opts in
1041 *) ac_unrecognized_opts
="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1042 ac_unrecognized_sep
=', ';;
1044 eval with_
$ac_useropt=no
;;
1047 # Obsolete; use --with-x.
1050 -x-includes |
--x-includes |
--x-include |
--x-includ |
--x-inclu \
1051 |
--x-incl |
--x-inc |
--x-in |
--x-i)
1052 ac_prev
=x_includes
;;
1053 -x-includes=* |
--x-includes=* |
--x-include=* |
--x-includ=* |
--x-inclu=* \
1054 |
--x-incl=* |
--x-inc=* |
--x-in=* |
--x-i=*)
1055 x_includes
=$ac_optarg ;;
1057 -x-libraries |
--x-libraries |
--x-librarie |
--x-librari \
1058 |
--x-librar |
--x-libra |
--x-libr |
--x-lib |
--x-li |
--x-l)
1059 ac_prev
=x_libraries
;;
1060 -x-libraries=* |
--x-libraries=* |
--x-librarie=* |
--x-librari=* \
1061 |
--x-librar=* |
--x-libra=* |
--x-libr=* |
--x-lib=* |
--x-li=* |
--x-l=*)
1062 x_libraries
=$ac_optarg ;;
1064 -*) as_fn_error
"unrecognized option: \`$ac_option'
1065 Try \`$0 --help' for more information."
1069 ac_envvar
=`expr "x$ac_option" : 'x\([^=]*\)='`
1070 # Reject names that are not valid shell variable names.
1071 case $ac_envvar in #(
1072 '' |
[0-9]* |
*[!_
$as_cr_alnum]* )
1073 as_fn_error
"invalid variable name: \`$ac_envvar'" ;;
1075 eval $ac_envvar=\
$ac_optarg
1076 export $ac_envvar ;;
1079 # FIXME: should be removed in autoconf 3.0.
1080 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1081 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev
/null
&&
1082 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1083 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1089 if test -n "$ac_prev"; then
1090 ac_option
=--`echo $ac_prev | sed 's/_/-/g'`
1091 as_fn_error
"missing argument to $ac_option"
1094 if test -n "$ac_unrecognized_opts"; then
1095 case $enable_option_checking in
1097 fatal
) as_fn_error
"unrecognized options: $ac_unrecognized_opts" ;;
1098 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1102 # Check all directory arguments for consistency.
1103 for ac_var
in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1104 datadir sysconfdir sharedstatedir localstatedir includedir \
1105 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1106 libdir localedir mandir
1108 eval ac_val
=\$
$ac_var
1109 # Remove trailing slashes.
1112 ac_val
=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1113 eval $ac_var=\
$ac_val;;
1115 # Be sure to have absolute directory names.
1117 [\\/$
]* | ?
:[\\/]* ) continue;;
1118 NONE |
'' ) case $ac_var in *prefix
) continue;; esac;;
1120 as_fn_error
"expected an absolute directory name for --$ac_var: $ac_val"
1123 # There might be people who depend on the old broken behavior: `$host'
1124 # used to hold the argument of --host etc.
1125 # FIXME: To remove some day.
1128 target
=$target_alias
1130 # FIXME: To remove some day.
1131 if test "x$host_alias" != x
; then
1132 if test "x$build_alias" = x
; then
1133 cross_compiling
=maybe
1134 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1135 If a cross compiler is detected then cross compile mode will be used." >&2
1136 elif test "x$build_alias" != "x$host_alias"; then
1142 test -n "$host_alias" && ac_tool_prefix
=$host_alias-
1144 test "$silent" = yes && exec 6>/dev
/null
1147 ac_pwd
=`pwd` && test -n "$ac_pwd" &&
1148 ac_ls_di
=`ls -di .` &&
1149 ac_pwd_ls_di
=`cd "$ac_pwd" && ls -di .` ||
1150 as_fn_error
"working directory cannot be determined"
1151 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1152 as_fn_error
"pwd does not report name of working directory"
1155 # Find the source files, if location was not specified.
1156 if test -z "$srcdir"; then
1157 ac_srcdir_defaulted
=yes
1158 # Try the directory containing this script, then the parent directory.
1159 ac_confdir
=`$as_dirname -- "$as_myself" ||
1160 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1161 X"$as_myself" : 'X\(//\)[^/]' \| \
1162 X"$as_myself" : 'X\(//\)$' \| \
1163 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1164 $as_echo X"$as_myself" |
1165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1187 ac_srcdir_defaulted
=no
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1190 test "$ac_srcdir_defaulted" = yes && srcdir
="$ac_confdir or .."
1191 as_fn_error
"cannot find sources ($ac_unique_file) in $srcdir"
1193 ac_msg
="sources are in $srcdir, but \`cd $srcdir' does not work"
1195 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1197 # When building in place, set srcdir=.
1198 if test "$ac_abs_confdir" = "$ac_pwd"; then
1201 # Remove unnecessary trailing slashes from srcdir.
1202 # Double slashes in file names in object file debugging info
1203 # mess up M-x gdb in Emacs.
1205 */) srcdir
=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207 for ac_var
in $ac_precious_vars; do
1208 eval ac_env_
${ac_var}_set=\${${ac_var}+set}
1209 eval ac_env_
${ac_var}_value
=\$
${ac_var}
1210 eval ac_cv_env_
${ac_var}_set=\${${ac_var}+set}
1211 eval ac_cv_env_
${ac_var}_value
=\$
${ac_var}
1215 # Report the --help message.
1217 if test "$ac_init_help" = "long"; then
1218 # Omit some internal or obsolete options to make the list less imposing.
1219 # This message is too long to be a string in the A/UX 3.1 sh.
1221 \`configure' configures jim 0.63 to adapt to many kinds of systems.
1223 Usage: $0 [OPTION]... [VAR=VALUE]...
1225 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1226 VAR=VALUE. See below for descriptions of some of the useful variables.
1228 Defaults for the options are specified in brackets.
1231 -h, --help display this help and exit
1232 --help=short display options specific to this package
1233 --help=recursive display the short help of all the included packages
1234 -V, --version display version information and exit
1235 -q, --quiet, --silent do not print \`checking...' messages
1236 --cache-file=FILE cache test results in FILE [disabled]
1237 -C, --config-cache alias for \`--cache-file=config.cache'
1238 -n, --no-create do not create output files
1239 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1241 Installation directories:
1242 --prefix=PREFIX install architecture-independent files in PREFIX
1243 [$ac_default_prefix]
1244 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1247 By default, \`make install' will install all the files in
1248 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1249 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1250 for instance \`--prefix=\$HOME'.
1252 For better control, use the options below.
1254 Fine tuning of the installation directories:
1255 --bindir=DIR user executables [EPREFIX/bin]
1256 --sbindir=DIR system admin executables [EPREFIX/sbin]
1257 --libexecdir=DIR program executables [EPREFIX/libexec]
1258 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1259 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1260 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1261 --libdir=DIR object code libraries [EPREFIX/lib]
1262 --includedir=DIR C header files [PREFIX/include]
1263 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1264 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1265 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1266 --infodir=DIR info documentation [DATAROOTDIR/info]
1267 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1268 --mandir=DIR man documentation [DATAROOTDIR/man]
1269 --docdir=DIR documentation root [DATAROOTDIR/doc/jim]
1270 --htmldir=DIR html documentation [DOCDIR]
1271 --dvidir=DIR dvi documentation [DOCDIR]
1272 --pdfdir=DIR pdf documentation [DOCDIR]
1273 --psdir=DIR ps documentation [DOCDIR]
1279 --build=BUILD configure
for building on BUILD
[guessed
]
1280 --host=HOST cross-compile to build programs to run on HOST
[BUILD
]
1284 if test -n "$ac_init_help"; then
1285 case $ac_init_help in
1286 short | recursive
) echo "Configuration of jim 0.63:";;
1291 --disable-option-checking ignore unrecognized
--enable/--with options
1292 --disable-FEATURE do not include FEATURE
(same as
--enable-FEATURE=no
)
1293 --enable-FEATURE[=ARG
] include FEATURE
[ARG
=yes]
1294 --disable-fork do not use fork
(no
exec, etc.
)
1295 --enable-math include support
for math functions
1298 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1299 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1300 --with-jim-ext specify jim extensions to build
(or all
, which is the default
)
1301 --with-jim-shared build a shared library instead of a static library
1303 Some influential environment variables
:
1304 CC C compiler
command
1305 CFLAGS C compiler flags
1306 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1307 nonstandard directory
<lib dir
>
1308 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1309 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1310 you have headers
in a nonstandard directory
<include dir
>
1313 Use these variables to override the choices made by
`configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 Report bugs to <steveb@workware.net.au>.
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1346 .) # We are building in place.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1380 generated by GNU Autoconf 2.65
1382 Copyright (C) 2009 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1402 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1403 *) ac_try_echo
=$ac_try;;
1405 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1409 if test -s conftest.err
; then
1410 grep -v '^ *+' conftest.err
>conftest.er1
1411 cat conftest.er1
>&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.
$ac_objext; then :
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.
$ac_ext >&5
1426 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1427 as_fn_set_status
$ac_retval
1429 } # ac_fn_c_try_compile
1431 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1432 # -------------------------------------------
1433 # Tests whether TYPE exists after having included INCLUDES, setting cache
1434 # variable VAR accordingly.
1435 ac_fn_c_check_type
()
1437 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1439 $as_echo_n "checking for $2... " >&6; }
1440 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1441 $as_echo_n "(cached) " >&6
1444 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1445 /* end confdefs.h. */
1456 if ac_fn_c_try_compile
"$LINENO"; then :
1457 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1458 /* end confdefs.h. */
1469 if ac_fn_c_try_compile
"$LINENO"; then :
1474 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1476 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1480 $as_echo "$ac_res" >&6; }
1481 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1483 } # ac_fn_c_check_type
1485 # ac_fn_c_try_cpp LINENO
1486 # ----------------------
1487 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1490 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1491 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1493 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1494 *) ac_try_echo=$ac_try;;
1496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1497 $as_echo "$ac_try_echo"; } >&5
1498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1500 if test -s conftest.err; then
1501 grep -v '^ *+' conftest.err >conftest.er1
1502 cat conftest.er1 >&5
1503 mv -f conftest.er1 conftest.err
1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1506 test $ac_status = 0; } >/dev/null && {
1507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1508 test ! -s conftest.err
1512 $as_echo "$as_me: failed program was:" >&5
1513 sed 's/^/| /' conftest.$ac_ext >&5
1517 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1518 as_fn_set_status $ac_retval
1522 # ac_fn_c_try_run LINENO
1523 # ----------------------
1524 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1525 # that executables *can* be run.
1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1529 if { { ac_try="$ac_link"
1531 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1532 *) ac_try_echo
=$ac_try;;
1534 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1535 $as_echo "$ac_try_echo"; } >&5
1536 (eval "$ac_link") 2>&5
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1540 { { case "(($ac_try" in
1541 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1542 *) ac_try_echo=$ac_try;;
1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_try") 2>&5
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; }; }; then :
1552 $as_echo "$as_me: program exited with status $ac_status" >&5
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.$ac_ext >&5
1556 ac_retval=$ac_status
1558 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1560 as_fn_set_status $ac_retval
1564 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1565 # -------------------------------------------------------
1566 # Tests whether HEADER exists and can be compiled using the include files in
1567 # INCLUDES, setting the cache variable VAR accordingly.
1568 ac_fn_c_check_header_compile ()
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1572 $as_echo_n "checking for $2... " >&6; }
1573 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1574 $as_echo_n "(cached) " >&6
1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h. */
1581 if ac_fn_c_try_compile "$LINENO"; then :
1586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1590 $as_echo "$ac_res" >&6; }
1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1593 } # ac_fn_c_check_header_compile
1595 # ac_fn_c_try_link LINENO
1596 # -----------------------
1597 # Try to link conftest.$ac_ext, and return whether this succeeded.
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 rm -f conftest.$ac_objext conftest$ac_exeext
1602 if { { ac_try="$ac_link"
1604 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1605 *) ac_try_echo
=$ac_try;;
1607 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_link") 2>conftest.err
1611 if test -s conftest.err
; then
1612 grep -v '^ *+' conftest.err
>conftest.er1
1613 cat conftest.er1
>&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && {
1618 test -z "$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1620 } && test -s conftest
$ac_exeext && {
1621 test "$cross_compiling" = yes ||
1622 $as_test_x conftest
$ac_exeext
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.
$ac_ext >&5
1631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1632 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1633 # interfere with the next link command; also delete a directory that is
1634 # left behind by Apple's compiler. We do this before executing the actions.
1635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1637 as_fn_set_status
$ac_retval
1639 } # ac_fn_c_try_link
1641 # ac_fn_c_check_func LINENO FUNC VAR
1642 # ----------------------------------
1643 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1644 ac_fn_c_check_func
()
1646 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1650 $as_echo_n "(cached) " >&6
1652 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1654 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1656 #define $2 innocuous_$2
1658 /* System header to define __stub macros and hopefully few prototypes,
1659 which can conflict with char $2 (); below.
1660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1661 <limits.h> exists even on freestanding compilers. */
1664 # include <limits.h>
1666 # include <assert.h>
1671 /* Override any GCC internal prototype to avoid an error.
1672 Use char because int might match the return type of a GCC
1673 builtin and then its argument prototype would still apply. */
1678 /* The GNU C library defines this for functions which it implements
1679 to always fail with ENOSYS. Some functions are actually named
1680 something starting with __ and the normal name is an alias. */
1681 #if defined __stub_$2 || defined __stub___$2
1693 if ac_fn_c_try_link
"$LINENO"; then :
1698 rm -f core conftest.err conftest.
$ac_objext \
1699 conftest
$ac_exeext conftest.
$ac_ext
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703 $as_echo "$ac_res" >&6; }
1704 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1706 } # ac_fn_c_check_func
1707 cat >config.log
<<_ACEOF
1708 This file contains any messages produced by compilers while
1709 running configure, to aid debugging if configure makes a mistake.
1711 It was created by jim $as_me 0.63, which was
1712 generated by GNU Autoconf 2.65. Invocation command line was
1724 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1725 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1726 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1727 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1728 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1730 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1731 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1733 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1734 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1735 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1736 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1737 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1738 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1739 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1743 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1747 test -z "$as_dir" && as_dir
=.
1748 $as_echo "PATH: $as_dir"
1764 # Keep a trace of the command line.
1765 # Strip out --no-create and --no-recursion so they do not pile up.
1766 # Strip out --silent because we don't want to record it for future runs.
1767 # Also quote any args containing shell meta-characters.
1768 # Make two passes to allow for proper duplicate-argument suppression.
1772 ac_must_keep_next
=false
1778 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1779 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1780 |
-silent |
--silent |
--silen |
--sile |
--sil)
1783 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1786 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1788 as_fn_append ac_configure_args1
" '$ac_arg'"
1789 if test $ac_must_keep_next = true
; then
1790 ac_must_keep_next
=false
# Got value, back to normal.
1793 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1794 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1795 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1796 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1797 case "$ac_configure_args0 " in
1798 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1801 -* ) ac_must_keep_next
=true
;;
1804 as_fn_append ac_configure_args
" '$ac_arg'"
1809 { ac_configure_args0
=; unset ac_configure_args0
;}
1810 { ac_configure_args1
=; unset ac_configure_args1
;}
1812 # When interrupted or exit'd, cleanup temporary files, and complete
1813 # config.log. We remove comments because anyway the quotes in there
1814 # would cause problems or look ugly.
1815 # WARNING: Use '\'' to represent an apostrophe within the trap.
1816 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1817 trap 'exit_status=$?
1818 # Save into config.log some information that might help in debugging.
1823 ## ---------------- ##
1824 ## Cache variables. ##
1825 ## ---------------- ##
1828 # The following way of writing the cache mishandles newlines in values,
1830 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1831 eval ac_val=\$$ac_var
1835 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1839 _ | IFS | as_nl) ;; #(
1840 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1841 *) { eval $ac_var=; unset $ac_var;} ;;
1846 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1847 *${as_nl}ac_space=\ *)
1849 "s/'\''/'\''\\\\'\'''\''/g;
1850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1861 ## ----------------- ##
1862 ## Output variables. ##
1863 ## ----------------- ##
1866 for ac_var in $ac_subst_vars
1868 eval ac_val=\$$ac_var
1870 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1872 $as_echo "$ac_var='\''$ac_val'\''"
1876 if test -n "$ac_subst_files"; then
1878 ## ------------------- ##
1879 ## File substitutions. ##
1880 ## ------------------- ##
1883 for ac_var
in $ac_subst_files
1885 eval ac_val
=\$
$ac_var
1887 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1889 $as_echo "$ac_var='\''$ac_val'\''"
1894 if test -s confdefs.h; then
1904 test "$ac_signal" != 0 &&
1905 $as_echo "$as_me: caught signal $ac_signal"
1906 $as_echo "$as_me: exit $exit_status"
1908 rm -f core *.core core.conftest.* &&
1909 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1912 for ac_signal
in 1 2 13 15; do
1913 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1917 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1918 rm -f -r conftest
* confdefs.h
1920 $as_echo "/* confdefs.h */" > confdefs.h
1922 # Predefined preprocessor variables.
1924 cat >>confdefs.h
<<_ACEOF
1925 #define PACKAGE_NAME "$PACKAGE_NAME"
1928 cat >>confdefs.h
<<_ACEOF
1929 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1932 cat >>confdefs.h
<<_ACEOF
1933 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1936 cat >>confdefs.h
<<_ACEOF
1937 #define PACKAGE_STRING "$PACKAGE_STRING"
1940 cat >>confdefs.h
<<_ACEOF
1941 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1944 cat >>confdefs.h
<<_ACEOF
1945 #define PACKAGE_URL "$PACKAGE_URL"
1949 # Let the site file select an alternate cache file if it wants to.
1950 # Prefer an explicitly selected file to automatically selected ones.
1953 if test -n "$CONFIG_SITE"; then
1954 ac_site_file1
=$CONFIG_SITE
1955 elif test "x$prefix" != xNONE
; then
1956 ac_site_file1
=$prefix/share
/config.site
1957 ac_site_file2
=$prefix/etc
/config.site
1959 ac_site_file1
=$ac_default_prefix/share
/config.site
1960 ac_site_file2
=$ac_default_prefix/etc
/config.site
1962 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1964 test "x$ac_site_file" = xNONE
&& continue
1965 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1967 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1968 sed 's/^/| /' "$ac_site_file" >&5
1973 if test -r "$cache_file"; then
1974 # Some versions of bash will fail to source /dev/null (special files
1975 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1976 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1978 $as_echo "$as_me: loading cache $cache_file" >&6;}
1980 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1981 *) .
"./$cache_file";;
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1986 $as_echo "$as_me: creating cache $cache_file" >&6;}
1990 # Check that the precious variables saved in the cache have kept the same
1992 ac_cache_corrupted
=false
1993 for ac_var
in $ac_precious_vars; do
1994 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1995 eval ac_new_set
=\
$ac_env_${ac_var}_set
1996 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1997 eval ac_new_val
=\
$ac_env_${ac_var}_value
1998 case $ac_old_set,$ac_new_set in
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2001 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2002 ac_cache_corrupted
=: ;;
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2005 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2006 ac_cache_corrupted
=: ;;
2009 if test "x$ac_old_val" != "x$ac_new_val"; then
2010 # differences in whitespace do not lead to failure.
2011 ac_old_val_w
=`echo x $ac_old_val`
2012 ac_new_val_w
=`echo x $ac_new_val`
2013 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2015 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2016 ac_cache_corrupted
=:
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2019 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2020 eval $ac_var=\
$ac_old_val
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2023 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2025 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2028 # Pass precious variables to config.status.
2029 if test "$ac_new_set" = set; then
2031 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2032 *) ac_arg
=$ac_var=$ac_new_val ;;
2034 case " $ac_configure_args " in
2035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2036 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2040 if $ac_cache_corrupted; then
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2044 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2045 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2047 ## -------------------- ##
2048 ## Main body of script. ##
2049 ## -------------------- ##
2052 ac_cpp
='$CPP $CPPFLAGS'
2053 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2054 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2055 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2058 ac_config_headers
="$ac_config_headers autoconf.h"
2061 # Checks for programs.
2063 ac_cpp
='$CPP $CPPFLAGS'
2064 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2065 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2066 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2069 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2071 $as_echo_n "checking for $ac_word... " >&6; }
2072 if test "${ac_cv_prog_CC+set}" = set; then :
2073 $as_echo_n "(cached) " >&6
2075 if test -n "$CC"; then
2076 ac_cv_prog_CC
="$CC" # Let the user override the test.
2078 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2082 test -z "$as_dir" && as_dir
=.
2083 for ac_exec_ext
in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2096 if test -n "$CC"; then
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2098 $as_echo "$CC" >&6; }
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2101 $as_echo "no" >&6; }
2106 if test -z "$ac_cv_prog_CC"; then
2108 # Extract the first word of "gcc", so it can be a program name with args.
2109 set dummy gcc
; ac_word
=$2
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2111 $as_echo_n "checking for $ac_word... " >&6; }
2112 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2113 $as_echo_n "(cached) " >&6
2115 if test -n "$ac_ct_CC"; then
2116 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2118 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2122 test -z "$as_dir" && as_dir
=.
2123 for ac_exec_ext
in '' $ac_executable_extensions; do
2124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2125 ac_cv_prog_ac_ct_CC
="gcc"
2126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2136 if test -n "$ac_ct_CC"; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2138 $as_echo "$ac_ct_CC" >&6; }
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2141 $as_echo "no" >&6; }
2144 if test "x$ac_ct_CC" = x
; then
2147 case $cross_compiling:$ac_tool_warned in
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2151 ac_tool_warned
=yes ;;
2159 if test -z "$CC"; then
2160 if test -n "$ac_tool_prefix"; then
2161 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2162 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2164 $as_echo_n "checking for $ac_word... " >&6; }
2165 if test "${ac_cv_prog_CC+set}" = set; then :
2166 $as_echo_n "(cached) " >&6
2168 if test -n "$CC"; then
2169 ac_cv_prog_CC
="$CC" # Let the user override the test.
2171 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2175 test -z "$as_dir" && as_dir
=.
2176 for ac_exec_ext
in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2189 if test -n "$CC"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2191 $as_echo "$CC" >&6; }
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2194 $as_echo "no" >&6; }
2200 if test -z "$CC"; then
2201 # Extract the first word of "cc", so it can be a program name with args.
2202 set dummy cc
; ac_word
=$2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if test "${ac_cv_prog_CC+set}" = set; then :
2206 $as_echo_n "(cached) " >&6
2208 if test -n "$CC"; then
2209 ac_cv_prog_CC
="$CC" # Let the user override the test.
2212 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2216 test -z "$as_dir" && as_dir
=.
2217 for ac_exec_ext
in '' $ac_executable_extensions; do
2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2220 ac_prog_rejected
=yes
2224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2231 if test $ac_prog_rejected = yes; then
2232 # We found a bogon in the path, so make sure we never use it.
2233 set dummy
$ac_cv_prog_CC
2235 if test $# != 0; then
2236 # We chose a different compiler from the bogus one.
2237 # However, it has the same basename, so the bogon will be chosen
2238 # first if we set CC to just the basename; use the full file name.
2240 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2246 if test -n "$CC"; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2248 $as_echo "$CC" >&6; }
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2251 $as_echo "no" >&6; }
2256 if test -z "$CC"; then
2257 if test -n "$ac_tool_prefix"; then
2258 for ac_prog
in cl.exe
2260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2261 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2263 $as_echo_n "checking for $ac_word... " >&6; }
2264 if test "${ac_cv_prog_CC+set}" = set; then :
2265 $as_echo_n "(cached) " >&6
2267 if test -n "$CC"; then
2268 ac_cv_prog_CC
="$CC" # Let the user override the test.
2270 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2274 test -z "$as_dir" && as_dir
=.
2275 for ac_exec_ext
in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2288 if test -n "$CC"; then
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2290 $as_echo "$CC" >&6; }
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293 $as_echo "no" >&6; }
2297 test -n "$CC" && break
2300 if test -z "$CC"; then
2302 for ac_prog
in cl.exe
2304 # Extract the first word of "$ac_prog", so it can be a program name with args.
2305 set dummy
$ac_prog; ac_word
=$2
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2309 $as_echo_n "(cached) " >&6
2311 if test -n "$ac_ct_CC"; then
2312 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2314 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2318 test -z "$as_dir" && as_dir
=.
2319 for ac_exec_ext
in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_ac_ct_CC
="$ac_prog"
2322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2331 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2332 if test -n "$ac_ct_CC"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2334 $as_echo "$ac_ct_CC" >&6; }
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337 $as_echo "no" >&6; }
2341 test -n "$ac_ct_CC" && break
2344 if test "x$ac_ct_CC" = x
; then
2347 case $cross_compiling:$ac_tool_warned in
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2351 ac_tool_warned
=yes ;;
2360 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2362 as_fn_error
"no acceptable C compiler found in \$PATH
2363 See \`config.log' for more details." "$LINENO" 5; }
2365 # Provide some information about the compiler.
2366 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2369 for ac_option
in --version -v -V -qversion; do
2370 { { ac_try
="$ac_compiler $ac_option >&5"
2372 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2379 if test -s conftest.err; then
2381 ... rest of stderr output deleted ...
2382 10q' conftest.err >conftest.er1
2383 cat conftest.er1 >&5
2385 rm -f conftest.er1 conftest.err
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; }
2390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2401 ac_clean_files_save=$ac_clean_files
2402 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2403 # Try to create an executable without -o first, disregard a.out.
2404 # It will help us diagnose broken compilers, and finding out an intuition
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2407 $as_echo_n "checking whether the C compiler works... " >&6; }
2408 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2410 # The possible output files:
2411 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2414 for ac_file in $ac_files
2417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2418 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2423 if { { ac_try="$ac_link_default"
2425 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2426 *) ac_try_echo
=$ac_try;;
2428 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_link_default") 2>&5
2432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2433 test $ac_status = 0; }; then :
2434 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2435 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2436 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2437 # so that the user can short-circuit this test for compilers unknown to
2439 for ac_file
in $ac_files ''
2441 test -f "$ac_file" ||
continue
2443 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2446 # We found the default executable, but exeext='' is most
2450 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2452 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2454 # We set ac_cv_exeext here because the later test for it is not
2455 # safe: cross compilers may not add the suffix if given an `-o'
2456 # argument, so we may need to know it at that point already.
2457 # Even if this section looks crufty: it has the advantage of
2464 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2469 if test -z "$ac_file"; then :
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2472 $as_echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.
$ac_ext >&5
2475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2477 { as_fn_set_status
77
2478 as_fn_error
"C compiler cannot create executables
2479 See \`config.log' for more details." "$LINENO" 5; }; }
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2482 $as_echo "yes" >&6; }
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2485 $as_echo_n "checking for C compiler default output file name... " >&6; }
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2487 $as_echo "$ac_file" >&6; }
2488 ac_exeext
=$ac_cv_exeext
2490 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2491 ac_clean_files
=$ac_clean_files_save
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2493 $as_echo_n "checking for suffix of executables... " >&6; }
2494 if { { ac_try
="$ac_link"
2496 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2500 $as_echo "$ac_try_echo"; } >&5
2501 (eval "$ac_link") 2>&5
2503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2504 test $ac_status = 0; }; then :
2505 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2506 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2507 # work properly (i.e., refer to `conftest.exe'), while it won't with
2509 for ac_file
in conftest.exe conftest conftest.
*; do
2510 test -f "$ac_file" ||
continue
2512 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2513 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2521 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2522 See \`config.log' for more details." "$LINENO" 5; }
2524 rm -f conftest conftest
$ac_cv_exeext
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2526 $as_echo "$ac_cv_exeext" >&6; }
2528 rm -f conftest.
$ac_ext
2529 EXEEXT
=$ac_cv_exeext
2531 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2537 FILE *f = fopen ("conftest.out", "w");
2538 return ferror (f) || fclose (f) != 0;
2544 ac_clean_files
="$ac_clean_files conftest.out"
2545 # Check that the compiler produces executables we can run. If not, either
2546 # the compiler is broken, or we cross compile.
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2548 $as_echo_n "checking whether we are cross compiling... " >&6; }
2549 if test "$cross_compiling" != yes; then
2550 { { ac_try
="$ac_link"
2552 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_link") 2>&5
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; }
2561 if { ac_try='./conftest$ac_cv_exeext'
2562 { { case "(($ac_try" in
2563 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2564 *) ac_try_echo
=$ac_try;;
2566 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_try") 2>&5
2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 test $ac_status = 0; }; }; then
2574 if test "$cross_compiling" = maybe
; then
2577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579 as_fn_error
"cannot run C compiled programs.
2580 If you meant to cross compile, use \`--host'.
2581 See \`config.log' for more details." "$LINENO" 5; }
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2586 $as_echo "$cross_compiling" >&6; }
2588 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2589 ac_clean_files
=$ac_clean_files_save
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2591 $as_echo_n "checking for suffix of object files... " >&6; }
2592 if test "${ac_cv_objext+set}" = set; then :
2593 $as_echo_n "(cached) " >&6
2595 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2596 /* end confdefs.h. */
2606 rm -f conftest.o conftest.obj
2607 if { { ac_try
="$ac_compile"
2609 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2613 $as_echo "$ac_try_echo"; } >&5
2614 (eval "$ac_compile") 2>&5
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2617 test $ac_status = 0; }; then :
2618 for ac_file in conftest.o conftest.obj conftest.*; do
2619 test -f "$ac_file" || continue;
2621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2622 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2627 $as_echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2632 as_fn_error "cannot compute suffix of object files
: cannot compile
2633 See \
`config.log' for more details." "$LINENO" 5; }
2635 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2638 $as_echo "$ac_cv_objext" >&6; }
2639 OBJEXT=$ac_cv_objext
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2642 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2643 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2644 $as_echo_n "(cached) " >&6
2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2660 if ac_fn_c_try_compile "$LINENO"; then :
2665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2666 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2670 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2671 if test $ac_compiler_gnu = yes; then
2676 ac_test_CFLAGS=${CFLAGS+set}
2677 ac_save_CFLAGS=$CFLAGS
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2679 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2680 if test "${ac_cv_prog_cc_g+set}" = set; then :
2681 $as_echo_n "(cached) " >&6
2683 ac_save_c_werror_flag=$ac_c_werror_flag
2684 ac_c_werror_flag=yes
2687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2698 if ac_fn_c_try_compile "$LINENO"; then :
2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2713 if ac_fn_c_try_compile "$LINENO"; then :
2716 ac_c_werror_flag=$ac_save_c_werror_flag
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2729 if ac_fn_c_try_compile "$LINENO"; then :
2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 ac_c_werror_flag=$ac_save_c_werror_flag
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2740 $as_echo "$ac_cv_prog_cc_g" >&6; }
2741 if test "$ac_test_CFLAGS" = set; then
2742 CFLAGS=$ac_save_CFLAGS
2743 elif test $ac_cv_prog_cc_g = yes; then
2744 if test "$GCC" = yes; then
2750 if test "$GCC" = yes; then
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2757 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2758 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2759 $as_echo_n "(cached) " >&6
2761 ac_cv_prog_cc_c89=no
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2767 #include <sys/types.h>
2768 #include <sys/stat.h>
2769 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2770 struct buf { int x; };
2771 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2772 static char *e (p, i)
2778 static char *f (char * (*g) (char **, int), char **p, ...)
2783 s = g (p, va_arg (v,int));
2788 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2789 function prototypes and stuff, but not '\xHH' hex character constants.
2790 These don't provoke an error unfortunately, instead are silently treated
2791 as 'x'. The following induces an error, until -std is added to get
2792 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2793 array size at least. It's necessary to write '\x00'==0 to get something
2794 that's true only with -std. */
2795 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2797 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2798 inside strings and character constants. */
2800 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2802 int test (int i, double x);
2803 struct s1 {int (*f) (int a);};
2804 struct s2 {int (*f) (double a);};
2805 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2811 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2816 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2817 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2819 CC="$ac_save_CC $ac_arg"
2820 if ac_fn_c_try_compile "$LINENO"; then :
2821 ac_cv_prog_cc_c89=$ac_arg
2823 rm -f core conftest.err conftest.$ac_objext
2824 test "x$ac_cv_prog_cc_c89" != "xno" && break
2826 rm -f conftest.$ac_ext
2831 case "x$ac_cv_prog_cc_c89" in
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2834 $as_echo "none needed" >&6; } ;;
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2837 $as_echo "unsupported" >&6; } ;;
2839 CC="$CC $ac_cv_prog_cc_c89"
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2841 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2843 if test "x$ac_cv_prog_cc_c89" != xno; then :
2848 ac_cpp='$CPP $CPPFLAGS'
2849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2854 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2856 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2857 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2858 $as_echo_n "(cached) " >&6
2860 cat >conftest.make <<\_ACEOF
2863 @echo '@@@%%%=$(MAKE)=@@@%%%'
2865 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2866 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2868 eval ac_cv_prog_make_${ac_make}_set=yes;;
2870 eval ac_cv_prog_make_${ac_make}_set=no;;
2874 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2876 $as_echo "yes" >&6; }
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2881 SET_MAKE="MAKE=${MAKE-make}"
2888 ac_cpp='$CPP $CPPFLAGS'
2889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2893 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2894 # On Suns, sometimes $CPP names a directory.
2895 if test -n "$CPP" && test -d "$CPP"; then
2898 if test -z "$CPP"; then
2899 if test "${ac_cv_prog_CPP+set}" = set; then :
2900 $as_echo_n "(cached) " >&6
2902 # Double quotes because CPP needs to be expanded
2903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2906 for ac_c_preproc_warn_flag in '' yes
2908 # Use a header file that comes with gcc, so configuring glibc
2909 # with a fresh cross-compiler works.
2910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2911 # <limits.h> exists even on freestanding compilers.
2912 # On the NeXT, cc -E runs the code through the compiler's parser,
2913 # not just through cpp. "Syntax error" is here to catch this case.
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2917 # include <limits.h>
2919 # include <assert.h>
2923 if ac_fn_c_try_cpp "$LINENO"; then :
2926 # Broken: fails on valid input.
2929 rm -f conftest.err conftest.$ac_ext
2931 # OK, works on sane cases. Now check whether nonexistent headers
2932 # can be detected and how.
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2935 #include <ac_nonexistent.h>
2937 if ac_fn_c_try_cpp "$LINENO"; then :
2938 # Broken: success on invalid input.
2941 # Passes both tests.
2945 rm -f conftest.err conftest.$ac_ext
2948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2949 rm -f conftest.err conftest.
$ac_ext
2950 if $ac_preproc_ok; then :
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2963 $as_echo "$CPP" >&6; }
2965 for ac_c_preproc_warn_flag
in '' yes
2967 # Use a header file that comes with gcc, so configuring glibc
2968 # with a fresh cross-compiler works.
2969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2970 # <limits.h> exists even on freestanding compilers.
2971 # On the NeXT, cc -E runs the code through the compiler's parser,
2972 # not just through cpp. "Syntax error" is here to catch this case.
2973 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2974 /* end confdefs.h. */
2976 # include <limits.h>
2978 # include <assert.h>
2982 if ac_fn_c_try_cpp
"$LINENO"; then :
2985 # Broken: fails on valid input.
2988 rm -f conftest.err conftest.
$ac_ext
2990 # OK, works on sane cases. Now check whether nonexistent headers
2991 # can be detected and how.
2992 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2994 #include <ac_nonexistent.h>
2996 if ac_fn_c_try_cpp
"$LINENO"; then :
2997 # Broken: success on invalid input.
3000 # Passes both tests.
3004 rm -f conftest.err conftest.
$ac_ext
3007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3008 rm -f conftest.err conftest.
$ac_ext
3009 if $ac_preproc_ok; then :
3012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3015 See \`config.log' for more details." "$LINENO" 5; }
3019 ac_cpp
='$CPP $CPPFLAGS'
3020 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3026 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3027 if test "${ac_cv_path_GREP+set}" = set; then :
3028 $as_echo_n "(cached) " >&6
3030 if test -z "$GREP"; then
3031 ac_path_GREP_found
=false
3032 # Loop through the user's path and test for each of PROGNAME-LIST
3033 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3034 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3037 test -z "$as_dir" && as_dir
=.
3038 for ac_prog
in grep ggrep
; do
3039 for ac_exec_ext
in '' $ac_executable_extensions; do
3040 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3041 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3042 # Check for GNU ac_path_GREP and select it if it is found.
3043 # Check for GNU $ac_path_GREP
3044 case `"$ac_path_GREP" --version 2>&1` in
3046 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3049 $as_echo_n 0123456789 >"conftest.in"
3052 cat "conftest.in" "conftest.in" >"conftest.tmp"
3053 mv "conftest.tmp" "conftest.in"
3054 cp "conftest.in" "conftest.nl"
3055 $as_echo 'GREP' >> "conftest.nl"
3056 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3057 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3058 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3059 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3060 # Best one so far, save it but keep looking for a better one
3061 ac_cv_path_GREP
="$ac_path_GREP"
3062 ac_path_GREP_max
=$ac_count
3064 # 10*(2^10) chars as input seems more than enough
3065 test $ac_count -gt 10 && break
3067 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3070 $ac_path_GREP_found && break 3
3075 if test -z "$ac_cv_path_GREP"; then
3076 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3079 ac_cv_path_GREP
=$GREP
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3084 $as_echo "$ac_cv_path_GREP" >&6; }
3085 GREP
="$ac_cv_path_GREP"
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3089 $as_echo_n "checking for egrep... " >&6; }
3090 if test "${ac_cv_path_EGREP+set}" = set; then :
3091 $as_echo_n "(cached) " >&6
3093 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3094 then ac_cv_path_EGREP
="$GREP -E"
3096 if test -z "$EGREP"; then
3097 ac_path_EGREP_found
=false
3098 # Loop through the user's path and test for each of PROGNAME-LIST
3099 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3100 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3103 test -z "$as_dir" && as_dir
=.
3104 for ac_prog
in egrep; do
3105 for ac_exec_ext
in '' $ac_executable_extensions; do
3106 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3107 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3108 # Check for GNU ac_path_EGREP and select it if it is found.
3109 # Check for GNU $ac_path_EGREP
3110 case `"$ac_path_EGREP" --version 2>&1` in
3112 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3115 $as_echo_n 0123456789 >"conftest.in"
3118 cat "conftest.in" "conftest.in" >"conftest.tmp"
3119 mv "conftest.tmp" "conftest.in"
3120 cp "conftest.in" "conftest.nl"
3121 $as_echo 'EGREP' >> "conftest.nl"
3122 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3123 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3124 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3125 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3126 # Best one so far, save it but keep looking for a better one
3127 ac_cv_path_EGREP
="$ac_path_EGREP"
3128 ac_path_EGREP_max
=$ac_count
3130 # 10*(2^10) chars as input seems more than enough
3131 test $ac_count -gt 10 && break
3133 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3136 $ac_path_EGREP_found && break 3
3141 if test -z "$ac_cv_path_EGREP"; then
3142 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3145 ac_cv_path_EGREP
=$EGREP
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3151 $as_echo "$ac_cv_path_EGREP" >&6; }
3152 EGREP
="$ac_cv_path_EGREP"
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3156 $as_echo_n "checking for ANSI C header files... " >&6; }
3157 if test "${ac_cv_header_stdc+set}" = set; then :
3158 $as_echo_n "(cached) " >&6
3160 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3161 /* end confdefs.h. */
3175 if ac_fn_c_try_compile
"$LINENO"; then :
3176 ac_cv_header_stdc
=yes
3178 ac_cv_header_stdc
=no
3180 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3182 if test $ac_cv_header_stdc = yes; then
3183 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3184 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3190 $EGREP "memchr" >/dev
/null
2>&1; then :
3193 ac_cv_header_stdc
=no
3199 if test $ac_cv_header_stdc = yes; then
3200 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3201 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3207 $EGREP "free" >/dev
/null
2>&1; then :
3210 ac_cv_header_stdc
=no
3216 if test $ac_cv_header_stdc = yes; then
3217 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3218 if test "$cross_compiling" = yes; then :
3221 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3225 #if ((' ' & 0x0FF) == 0x020)
3226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3229 # define ISLOWER(c) \
3230 (('a' <= (c) && (c) <= 'i') \
3231 || ('j' <= (c) && (c) <= 'r') \
3232 || ('s' <= (c) && (c) <= 'z'))
3233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3241 for (i = 0; i < 256; i++)
3242 if (XOR (islower (i), ISLOWER (i))
3243 || toupper (i) != TOUPPER (i))
3248 if ac_fn_c_try_run
"$LINENO"; then :
3251 ac_cv_header_stdc
=no
3253 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3254 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3260 $as_echo "$ac_cv_header_stdc" >&6; }
3261 if test $ac_cv_header_stdc = yes; then
3263 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3267 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3268 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3269 inttypes.h stdint.h unistd.h
3271 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3272 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3274 eval as_val
=\$
$as_ac_Header
3275 if test "x$as_val" = x
""yes; then :
3276 cat >>confdefs.h
<<_ACEOF
3277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3285 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
3286 if test "x$ac_cv_type_long_long" = x
""yes; then :
3288 cat >>confdefs.h
<<_ACEOF
3289 #define HAVE_LONG_LONG 1
3292 HAVE_LONG_LONG
="#define HAVE_LONG_LONG"
3297 # Shared library support. Because we don't believe in automake!
3299 for ac_dir
in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3300 for ac_t
in install-sh
install.sh shtool
; do
3301 if test -f "$ac_dir/$ac_t"; then
3303 ac_install_sh
="$ac_aux_dir/$ac_t -c"
3308 if test -z "$ac_aux_dir"; then
3309 as_fn_error
"cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3312 # These three variables are undocumented and unsupported,
3313 # and are intended to be withdrawn in a future Autoconf release.
3314 # They can cause serious problems if a builder's source tree is in a directory
3315 # whose full name contains unusual characters.
3316 ac_config_guess
="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3317 ac_config_sub
="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3318 ac_configure
="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3321 # Make sure we can run config.sub.
3322 $SHELL "$ac_aux_dir/config.sub" sun4
>/dev
/null
2>&1 ||
3323 as_fn_error
"cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3326 $as_echo_n "checking build system type... " >&6; }
3327 if test "${ac_cv_build+set}" = set; then :
3328 $as_echo_n "(cached) " >&6
3330 ac_build_alias
=$build_alias
3331 test "x$ac_build_alias" = x
&&
3332 ac_build_alias
=`$SHELL "$ac_aux_dir/config.guess"`
3333 test "x$ac_build_alias" = x
&&
3334 as_fn_error
"cannot guess build type; you must specify one" "$LINENO" 5
3335 ac_cv_build
=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3336 as_fn_error
"$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3340 $as_echo "$ac_cv_build" >&6; }
3341 case $ac_cv_build in
3343 *) as_fn_error
"invalid value of canonical build" "$LINENO" 5;;
3346 ac_save_IFS
=$IFS; IFS
='-'
3352 # Remember, the first character of IFS is used to create $*,
3353 # except with old shells:
3356 case $build_os in *\
*) build_os
=`echo "$build_os" | sed 's/ /-/g'`;; esac
3359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3360 $as_echo_n "checking host system type... " >&6; }
3361 if test "${ac_cv_host+set}" = set; then :
3362 $as_echo_n "(cached) " >&6
3364 if test "x$host_alias" = x
; then
3365 ac_cv_host
=$ac_cv_build
3367 ac_cv_host
=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3368 as_fn_error
"$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3373 $as_echo "$ac_cv_host" >&6; }
3376 *) as_fn_error
"invalid value of canonical host" "$LINENO" 5;;
3379 ac_save_IFS
=$IFS; IFS
='-'
3385 # Remember, the first character of IFS is used to create $*,
3386 # except with old shells:
3389 case $host_os in *\
*) host_os
=`echo "$host_os" | sed 's/ /-/g'`;; esac
3396 SH_LDFLAGS
="-dynamiclib -undefined suppress -flat_namespace"
3405 # Check whether --enable-fork was given.
3406 if test "${enable_fork+set}" = set; then :
3407 enableval
=$enable_fork;
3408 if test "x$enableval" = "xno" ; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: * disabling fork" >&5
3410 $as_echo "* disabling fork" >&6; }
3411 EXTRA_CFLAGS
="-DJIM_NOFORK"
3416 # Check whether --enable-math was given.
3417 if test "${enable_math+set}" = set; then :
3418 enableval
=$enable_math;
3419 if test "x$enableval" = "xyes" ; then
3420 EXTRA_CFLAGS
="$EXTRA_CFLAGS -DJIM_MATH_FUNCTIONS"
3427 jim_extensions
="stdlib load package readdir glob array clock exec file posix regexp signal tclcompat aio bio eventloop syslog"
3429 # Check whether --with-jim-ext was given.
3430 if test "${with_jim_ext+set}" = set; then :
3431 withval
=$with_jim_ext;
3432 if test "x$withval" != "xno" ; then
3433 if test "x$withval" != "xall" ; then
3434 jim_extensions
="$withval"
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling jim extensions: $jim_extensions" >&5
3442 $as_echo "enabling jim extensions: $jim_extensions" >&6; }
3443 JIM_EXTENSIONS
=$jim_extensions
3445 for i
in $jim_extensions; do
3446 EXTRA_CFLAGS
="$EXTRA_CFLAGS -Djim_ext_$i"
3451 # Check whether --with-jim-shared was given.
3452 if test "${with_jim_shared+set}" = set; then :
3453 withval
=$with_jim_shared;
3454 if test "x$withval" = "xyes" ; then
3461 JIM_LIBTYPE
=$JIM_LIBTYPE
3464 for ac_func
in ualarm sysinfo lstat fork vfork
3466 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3467 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3468 eval as_val
=\$
$as_ac_var
3469 if test "x$as_val" = x
""yes; then :
3470 cat >>confdefs.h
<<_ACEOF
3471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3477 for ac_func
in backtrace geteuid mkstemp realpath strptime
3479 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3480 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3481 eval as_val
=\$
$as_ac_var
3482 if test "x$as_val" = x
""yes; then :
3483 cat >>confdefs.h
<<_ACEOF
3484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3491 EXTRA_CFLAGS
=$EXTRA_CFLAGS
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
3497 $as_echo_n "checking for dlopen in -ldl... " >&6; }
3498 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
3499 $as_echo_n "(cached) " >&6
3501 ac_check_lib_save_LIBS
=$LIBS
3503 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3506 /* Override any GCC internal prototype to avoid an error.
3507 Use char because int might match the return type of a GCC
3508 builtin and then its argument prototype would still apply. */
3521 if ac_fn_c_try_link
"$LINENO"; then :
3522 ac_cv_lib_dl_dlopen
=yes
3524 ac_cv_lib_dl_dlopen
=no
3526 rm -f core conftest.err conftest.
$ac_objext \
3527 conftest
$ac_exeext conftest.
$ac_ext
3528 LIBS
=$ac_check_lib_save_LIBS
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
3531 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
3532 if test "x$ac_cv_lib_dl_dlopen" = x
""yes; then :
3538 ac_config_files
="$ac_config_files Makefile"
3540 cat >confcache
<<\_ACEOF
3541 # This file is a shell script that caches the results of configure
3542 # tests run on this system so they can be shared between configure
3543 # scripts and configure runs, see configure's option --config-cache.
3544 # It is not useful on other systems. If it contains results you don't
3545 # want to keep, you may remove or edit it.
3547 # config.status only pays attention to the cache file if you give it
3548 # the --recheck option to rerun configure.
3550 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3551 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3556 # The following way of writing the cache mishandles newlines in values,
3557 # but we know of no workaround that is simple, portable, and efficient.
3558 # So, we kill variables containing newlines.
3559 # Ultrix sh set writes to stderr and can't be redirected directly,
3560 # and sets the high bit in the cache file unless we assign to the vars.
3562 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3563 eval ac_val
=\$
$ac_var
3567 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3568 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3571 _ | IFS | as_nl
) ;; #(
3572 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3573 *) { eval $ac_var=; unset $ac_var;} ;;
3579 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3580 *${as_nl}ac_space
=\
*)
3581 # `set' does not quote correctly, so add quotes: double-quote
3582 # substitution turns \\\\ into \\, and sed turns \\ into \.
3585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3588 # `set' quotes correctly as required by POSIX, so do not add quotes.
3589 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3598 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3600 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3602 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3603 if test -w "$cache_file"; then
3604 test "x$cache_file" != "x/dev/null" &&
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3606 $as_echo "$as_me: updating cache $cache_file" >&6;}
3607 cat confcache
>$cache_file
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3610 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3615 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3616 # Let make expand exec_prefix.
3617 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3619 DEFS
=-DHAVE_CONFIG_H
3623 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3624 # 1. Remove the extension, and $U if already installed.
3625 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3626 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3627 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3628 # will be set to the directory where LIBOBJS objects are built.
3629 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3630 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3634 LTLIBOBJS
=$ac_ltlibobjs
3638 : ${CONFIG_STATUS=./config.status}
3640 ac_clean_files_save
=$ac_clean_files
3641 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3643 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3645 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3647 # Generated by $as_me.
3648 # Run this file to recreate the current configuration.
3649 # Compiler output produced by configure, useful for debugging
3650 # configure, is in config.log if it exists.
3656 SHELL=\${CONFIG_SHELL-$SHELL}
3659 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3660 ## -------------------- ##
3661 ## M4sh Initialization. ##
3662 ## -------------------- ##
3664 # Be more Bourne compatible
3665 DUALCASE
=1; export DUALCASE
# for MKS sh
3666 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3669 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3670 # is contrary to our usage. Disable this feature.
3671 alias -g '${1+"$@"}'='"$@"'
3672 setopt NO_GLOB_SUBST
3674 case `(set -o) 2>/dev/null` in #(
3686 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3687 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3688 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3689 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3690 # Prefer a ksh shell builtin over an external printf program on Solaris,
3691 # but without wasting forks for bash or zsh.
3692 if test -z "$BASH_VERSION$ZSH_VERSION" \
3693 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3694 as_echo='print
-r --'
3695 as_echo_n='print
-rn --'
3696 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3697 as_echo='printf %s
\n'
3698 as_echo_n='printf %s
'
3700 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3701 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3702 as_echo_n='/usr
/ucb
/echo -n'
3704 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3705 as_echo_n_body='eval
3709 expr "X$arg" : "X\\(.*\\)$as_nl";
3710 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3712 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3714 export as_echo_n_body
3715 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3718 as_echo='sh
-c $as_echo_body as_echo
'
3721 # The user is always right.
3722 if test "${PATH_SEPARATOR+set}" != set; then
3724 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3725 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3732 # We need space, tab and new line, in precisely that order. Quoting is
3733 # there to prevent editors from complaining about space-tab.
3734 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3735 # splitting by setting IFS to empty value.)
3738 # Find who we are. Look in the path if we contain no directory separator.
3740 *[\\/]* ) as_myself=$0 ;;
3741 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3745 test -z "$as_dir" && as_dir=.
3746 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3752 # We did not find ourselves, most probably we were run as `sh COMMAND'
3753 # in which case we are not to be found in the path.
3754 if test "x$as_myself" = x
; then
3757 if test ! -f "$as_myself"; then
3758 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3762 # Unset variables that we do not need and which cause bugs (e.g. in
3763 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3764 # suppresses any "Segmentation fault" message there. '((' could
3765 # trigger a bug in pdksh 5.2.14.
3766 for as_var
in BASH_ENV ENV MAIL MAILPATH
3767 do eval test x\
${$as_var+set} = xset \
3768 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3781 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3784 # as_fn_error ERROR [LINENO LOG_FD]
3785 # ---------------------------------
3786 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3787 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3788 # script with status $?, using 1 if that was 0.
3791 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3793 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3794 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3796 $as_echo "$as_me: error: $1" >&2
3797 as_fn_exit
$as_status
3801 # as_fn_set_status STATUS
3802 # -----------------------
3803 # Set $? to STATUS, without forking.
3807 } # as_fn_set_status
3811 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3821 # Portably unset VAR.
3824 { eval $1=; unset $1;}
3826 as_unset
=as_fn_unset
3827 # as_fn_append VAR VALUE
3828 # ----------------------
3829 # Append the text in VALUE to the end of the definition contained in VAR. Take
3830 # advantage of any shell optimizations that allow amortized linear growth over
3831 # repeated appends, instead of the typical quadratic growth present in naive
3833 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3834 eval 'as_fn_append ()
3845 # as_fn_arith ARG...
3846 # ------------------
3847 # Perform arithmetic evaluation on the ARGs, and store the result in the
3848 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3849 # must be portable across $(()) and expr.
3850 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3851 eval 'as_fn_arith ()
3858 as_val
=`expr "$@" || test $? -eq 1`
3863 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3864 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3870 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3871 as_basename
=basename
3876 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3882 as_me
=`$as_basename -- "$0" ||
3883 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3884 X"$0" : 'X\(//\)$' \| \
3885 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3887 sed '/^.*\/\([^/][^/]*\)\/*$/{
3901 # Avoid depending upon Character Ranges.
3902 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3903 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3904 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3905 as_cr_digits
='0123456789'
3906 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3908 ECHO_C
= ECHO_N
= ECHO_T
=
3909 case `echo -n x` in #(((((
3911 case `echo 'xy\c'` in
3912 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3914 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3921 rm -f conf$$ conf$$.exe conf$$.
file
3922 if test -d conf$$.dir
; then
3923 rm -f conf$$.dir
/conf$$.
file
3926 mkdir conf$$.dir
2>/dev
/null
3928 if (echo >conf$$.
file) 2>/dev
/null
; then
3929 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3931 # ... but there are two gotchas:
3932 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3933 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3934 # In both cases, we have to default to `cp -p'.
3935 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3937 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3945 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3946 rmdir conf$$.dir
2>/dev
/null
3951 # Create "$as_dir" as a directory, including parents if necessary.
3956 -*) as_dir
=.
/$as_dir;;
3958 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
3962 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3963 *) as_qdir
=$as_dir;;
3965 as_dirs
="'$as_qdir' $as_dirs"
3966 as_dir
=`$as_dirname -- "$as_dir" ||
3967 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3968 X"$as_dir" : 'X\(//\)[^/]' \| \
3969 X"$as_dir" : 'X\(//\)$' \| \
3970 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3971 $as_echo X"$as_dir" |
3972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3989 test -d "$as_dir" && break
3991 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
3992 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
3996 if mkdir
-p .
2>/dev
/null
; then
3997 as_mkdir_p
='mkdir -p "$as_dir"'
3999 test -d .
/-p && rmdir .
/-p
4003 if test -x / >/dev
/null
2>&1; then
4006 if ls -dL / >/dev
/null
2>&1; then
4013 if test -d "$1"; then
4019 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4020 ???[sx]*):;;*)false;;esac;fi
4024 as_executable_p
=$as_test_x
4026 # Sed expression to map a string onto a valid CPP name.
4027 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4029 # Sed expression to map a string onto a valid variable name.
4030 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4034 ## ----------------------------------- ##
4035 ## Main body of $CONFIG_STATUS script. ##
4036 ## ----------------------------------- ##
4038 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4041 # Save the log message, to keep $0 and so on meaningful, and to
4042 # report actual input values of CONFIG_FILES etc. instead of their
4043 # values after options handling.
4045 This file was extended by jim $as_me 0.63, which was
4046 generated by GNU Autoconf 2.65. Invocation command line was
4048 CONFIG_FILES = $CONFIG_FILES
4049 CONFIG_HEADERS = $CONFIG_HEADERS
4050 CONFIG_LINKS = $CONFIG_LINKS
4051 CONFIG_COMMANDS = $CONFIG_COMMANDS
4054 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4059 case $ac_config_files in *"
4060 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4063 case $ac_config_headers in *"
4064 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4069 # Files that config.status was made for.
4070 config_files="$ac_config_files"
4071 config_headers="$ac_config_headers"
4075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4077 \`$as_me' instantiates files and other configuration actions
4078 from templates according to the current configuration. Unless the files
4079 and actions are specified as TAGs, all are instantiated by default.
4081 Usage: $0 [OPTION]... [TAG]...
4083 -h, --help print this help, then exit
4084 -V, --version print version number and configuration settings, then exit
4085 --config print configuration, then exit
4086 -q, --quiet, --silent
4087 do not print progress messages
4088 -d, --debug don't remove temporary files
4089 --recheck update $as_me by reconfiguring in the same conditions
4090 --file=FILE[:TEMPLATE]
4091 instantiate the configuration file FILE
4092 --header=FILE[:TEMPLATE]
4093 instantiate the configuration header FILE
4095 Configuration files:
4098 Configuration headers:
4101 Report bugs to <steveb@workware.net.au>."
4104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4105 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4107 jim config.status 0.63
4108 configured by $0, generated by GNU Autoconf 2.65,
4109 with options \\"\$ac_cs_config\\"
4111 Copyright (C) 2009 Free Software Foundation, Inc.
4112 This config.status script is free software; the Free Software Foundation
4113 gives unlimited permission to copy, distribute and modify it."
4117 test -n "\$AWK" || AWK=awk
4120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4121 # The default lists apply if the user does not specify any file.
4127 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4128 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4139 # Handling of the options.
4140 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4142 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4143 $as_echo "$ac_cs_version"; exit ;;
4144 --config |
--confi |
--conf |
--con |
--co |
--c )
4145 $as_echo "$ac_cs_config"; exit ;;
4146 --debug |
--debu |
--deb |
--de |
--d |
-d )
4148 --file |
--fil |
--fi |
--f )
4151 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4153 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4154 ac_need_defaults
=false
;;
4155 --header |
--heade |
--head |
--hea )
4158 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4160 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4161 ac_need_defaults
=false
;;
4163 # Conflict between --help and --header
4164 as_fn_error
"ambiguous option: \`$1'
4165 Try \`$0 --help' for more information.";;
4166 --help |
--hel |
-h )
4167 $as_echo "$ac_cs_usage"; exit ;;
4168 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4169 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4173 -*) as_fn_error
"unrecognized option: \`$1'
4174 Try \`$0 --help' for more information." ;;
4176 *) as_fn_append ac_config_targets
" $1"
4177 ac_need_defaults
=false
;;
4183 ac_configure_extra_args
=
4185 if $ac_cs_silent; then
4187 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4192 if \$ac_cs_recheck; then
4193 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4195 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4196 CONFIG_SHELL='$SHELL'
4202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4207 ## Running $as_me. ##
4213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4218 # Handling of arguments.
4219 for ac_config_target
in $ac_config_targets
4221 case $ac_config_target in
4222 "autoconf.h") CONFIG_HEADERS
="$CONFIG_HEADERS autoconf.h" ;;
4223 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4225 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4230 # If the user did not use the arguments to specify the items to instantiate,
4231 # then the envvar interface is used. Set only those that are not.
4232 # We use the long form for the default assignment because of an extremely
4233 # bizarre bug on SunOS 4.1.3.
4234 if $ac_need_defaults; then
4235 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4236 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4239 # Have a temporary directory for convenience. Make it in the build tree
4240 # simply because there is no reason against having it here, and in addition,
4241 # creating and moving files from /tmp can sometimes cause problems.
4242 # Hook for its removal unless debugging.
4243 # Note that there is a small window in which the directory will not be cleaned:
4244 # after its creation but before its name has been assigned to `$tmp'.
4248 trap 'exit_status=$?
4249 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4251 trap 'as_fn_exit 1' 1 2 13 15
4253 # Create a (secure) tmp directory for tmp files.
4256 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4257 test -n "$tmp" && test -d "$tmp"
4260 tmp
=.
/conf$$
-$RANDOM
4261 (umask 077 && mkdir
"$tmp")
4262 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4264 # Set up the scripts for CONFIG_FILES section.
4265 # No need to generate them if there are no CONFIG_FILES.
4266 # This happens for instance with `./config.status config.h'.
4267 if test -n "$CONFIG_FILES"; then
4270 ac_cr
=`echo X | tr X '\015'`
4271 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4272 # But we know of no other shell where ac_cr would be empty at this
4273 # point, so we can use a bashism as a fallback.
4274 if test "x$ac_cr" = x
; then
4275 eval ac_cr
=\$
\'\\r
\'
4277 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4278 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4284 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4289 echo "cat >conf$$subs.awk <<_ACEOF" &&
4290 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4293 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4294 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4296 for ac_last_try in false false false false false :; do
4297 . ./conf$$subs.sh ||
4298 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4300 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4301 if test $ac_delim_n = $ac_delim_num; then
4303 elif $ac_last_try; then
4304 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4306 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4312 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4316 s/^/S["/; s
/!.
*/"]=/
4326 s/\(.\{148\}\)..*/\1/
4328 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4333 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4340 s/\(.\{148\}\)..*/\1/
4342 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4346 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4351 ' <conf$$subs.awk | sed '
4356 ' >>$CONFIG_STATUS || ac_write_fail=1
4357 rm -f conf$$subs.awk
4358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4360 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4361 for (key in S) S_is_set[key] = 1
4367 nfields = split(line, field, "@
")
4369 len = length(field[1])
4370 for (i = 2; i < nfields; i++) {
4372 keylen = length(key)
4373 if (S_is_set[key]) {
4375 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4376 len += length(value) + length(field[++i])
4387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4388 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4389 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4392 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4393 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4396 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4397 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4398 # trailing colons and then remove the whole line if VPATH becomes empty
4399 # (actually we leave an empty line to preserve line numbers).
4400 if test "x
$srcdir" = x.; then
4401 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4405 s/^\([^=]*=[ ]*\):*/\1/
4411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4412 fi # test -n "$CONFIG_FILES"
4414 # Set up the scripts for CONFIG_HEADERS section.
4415 # No need to generate them if there are no CONFIG_HEADERS.
4416 # This happens for instance with `./config.status Makefile'.
4417 if test -n "$CONFIG_HEADERS"; then
4418 cat >"$tmp/defines.
awk" <<\_ACAWK ||
4422 # Transform confdefs.h into an awk script `defines.awk', embedded as
4423 # here-document in config.status, that substitutes the proper values into
4424 # config.h.in to produce config.h.
4426 # Create a delimiter string that does not exist in confdefs.h, to ease
4427 # handling of long lines.
4429 for ac_last_try in false false :; do
4430 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
4431 if test -z "$ac_t"; then
4433 elif $ac_last_try; then
4434 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
4436 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4440 # For the awk script, D is an array of macro values keyed by name,
4441 # likewise P contains macro parameters if any. Preserve backslash
4442 # newline sequences.
4444 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4446 s/.\{148\}/&'"$ac_delim"'/g
4449 s/^[ ]*#[ ]*define[ ][ ]*/ /
4456 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
4458 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
4462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
4463 D["\
1"]=" \
3\\\\\\n
"\\/p
4465 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
4470 s/.\{148\}/&'"$ac_delim"'/g
4475 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
4478 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
4480 ' <confdefs.h | sed '
4481 s/'"$ac_delim"'/"\\\
4482 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4485 for (key in D) D_is_set[key] = 1
4488 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4490 split(line, arg, " ")
4491 if (arg[1] == "#") {
4495 defundef
= substr
(arg
[1], 2)
4498 split(mac1
, mac2
, "(") #)
4500 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
4501 if (D_is_set
[macro
]) {
4502 # Preserve the white space surrounding the "#".
4503 print prefix
"define", macro P
[macro
] D
[macro
]
4506 # Replace #undef with comments. This is necessary, for example,
4507 # in the case of _POSIX_SOURCE, which is predefined and required
4508 # on some systems where configure will not decide to define it.
4509 if (defundef
== "undef") {
4510 print
"/*", prefix defundef
, macro
, "*/"
4518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4519 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
4520 fi # test -n "$CONFIG_HEADERS"
4523 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
4528 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4530 case $ac_mode$ac_tag in
4532 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
4533 :[FH
]-) ac_tag
=-:-;;
4534 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4551 -) ac_f
="$tmp/stdin";;
4552 *) # Look for the file first in the build tree, then in the source tree
4553 # (if the path is not absolute). The absolute path cannot be DOS-style,
4554 # because $ac_f cannot contain `:'.
4558 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4560 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
4562 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4563 as_fn_append ac_file_inputs
" '$ac_f'"
4566 # Let's still pretend it is `configure' which instantiates (i.e., don't
4567 # use $as_me), people would be surprised to read:
4568 # /* config.h. Generated by config.status. */
4569 configure_input
='Generated from '`
4570 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4572 if test x
"$ac_file" != x-
; then
4573 configure_input
="$ac_file. $configure_input"
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4575 $as_echo "$as_me: creating $ac_file" >&6;}
4577 # Neutralize special characters interpreted by sed in replacement strings.
4578 case $configure_input in #(
4579 *\
&* |
*\|
* |
*\\* )
4580 ac_sed_conf_input
=`$as_echo "$configure_input" |
4581 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4582 *) ac_sed_conf_input
=$configure_input;;
4586 *:-:* |
*:-) cat >"$tmp/stdin" \
4587 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
4592 ac_dir
=`$as_dirname -- "$ac_file" ||
4593 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4594 X"$ac_file" : 'X\(//\)[^/]' \| \
4595 X"$ac_file" : 'X\(//\)$' \| \
4596 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4597 $as_echo X"$ac_file" |
4598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4615 as_dir
="$ac_dir"; as_fn_mkdir_p
4619 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4621 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4622 # A ".." for each directory in $ac_dir_suffix.
4623 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4624 case $ac_top_builddir_sub in
4625 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4626 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4629 ac_abs_top_builddir
=$ac_pwd
4630 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4631 # for backward compatibility:
4632 ac_top_builddir
=$ac_top_build_prefix
4635 .
) # We are building in place.
4637 ac_top_srcdir
=$ac_top_builddir_sub
4638 ac_abs_top_srcdir
=$ac_pwd ;;
4639 [\\/]* | ?
:[\\/]* ) # Absolute name.
4640 ac_srcdir
=$srcdir$ac_dir_suffix;
4641 ac_top_srcdir
=$srcdir
4642 ac_abs_top_srcdir
=$srcdir ;;
4644 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4645 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4646 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4648 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4660 # If the template does not know about datarootdir, expand it.
4661 # FIXME: This hack should be removed a few years after 2.60.
4662 ac_datarootdir_hack
=; ac_datarootdir_seen
=
4673 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4674 *datarootdir
*) ac_datarootdir_seen
=yes;;
4675 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4677 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4680 ac_datarootdir_hack='
4681 s&@datadir@&$datadir&g
4682 s&@docdir@&$docdir&g
4683 s&@infodir@&$infodir&g
4684 s&@localedir@&$localedir&g
4685 s&@mandir@&$mandir&g
4686 s&\\\${datarootdir}&$datarootdir&g' ;;
4690 # Neutralize VPATH when `$srcdir' = `.'.
4691 # Shell code in configure.ac might set extrasub.
4692 # FIXME: do we really want to maintain this feature?
4693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4694 ac_sed_extra="$ac_vpsub
4697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4699 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4700 s|@configure_input@|
$ac_sed_conf_input|
;t t
4701 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4702 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4703 s
&@srcdir@
&$ac_srcdir&;t t
4704 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4705 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4706 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4707 s
&@builddir@
&$ac_builddir&;t t
4708 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4709 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4710 $ac_datarootdir_hack
4712 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4713 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4715 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4716 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4717 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4719 which seems to be undefined. Please make sure it is defined." >&5
4720 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4721 which seems to be undefined. Please make sure it is defined." >&2;}
4725 -) cat "$tmp/out" && rm -f "$tmp/out";;
4726 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4728 || as_fn_error "could not create $ac_file" "$LINENO" 5
4734 if test x"$ac_file" != x-; then
4736 $as_echo "/* $configure_input */" \
4737 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4738 } >"$tmp/config.h" \
4739 || as_fn_error "could not create $ac_file" "$LINENO" 5
4740 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4742 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4745 mv "$tmp/config.h" "$ac_file" \
4746 || as_fn_error "could not create $ac_file" "$LINENO" 5
4749 $as_echo "/* $configure_input */" \
4750 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4751 || as_fn_error "could not create -" "$LINENO" 5
4763 ac_clean_files=$ac_clean_files_save
4765 test $ac_write_fail = 0 ||
4766 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4769 # configure is writing to config.log, and then calls config.status.
4770 # config.status does its own redirection, appending to config.log.
4771 # Unfortunately, on DOS this fails, as config.log is still kept open
4772 # by configure, so config.status won't be able to
write to it
; its
4773 # output is simply discarded. So we exec the FD to /dev/null,
4774 # effectively closing config.log, so it can be properly (re)opened and
4775 # appended to by config.status. When coming back to configure, we
4776 # need to make the FD available again.
4777 if test "$no_create" != yes; then
4779 ac_config_status_args
=
4780 test "$silent" = yes &&
4781 ac_config_status_args
="$ac_config_status_args --quiet"
4783 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4785 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4786 # would make configure fail if this is the last instruction.
4787 $ac_cs_success || as_fn_exit $?
4789 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4791 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}