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
651 program_transform_name
664 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
1296 --enable-ipv6 include ipv6 support
in the aio extension
1299 --with-PACKAGE[=ARG
] use PACKAGE
[ARG
=yes]
1300 --without-PACKAGE do not use PACKAGE
(same as
--with-PACKAGE=no
)
1301 --with-jim-ext specify jim extensions to build
(or all
, which is the default
)
1302 --with-jim-shared build a shared library instead of a static library
1304 Some influential environment variables
:
1305 CC C compiler
command
1306 CFLAGS C compiler flags
1307 LDFLAGS linker flags
, e.g.
-L<lib dir
> if you have libraries
in a
1308 nonstandard directory
<lib dir
>
1309 LIBS libraries to pass to the linker
, e.g.
-l<library
>
1310 CPPFLAGS
(Objective
) C
/C
++ preprocessor flags
, e.g.
-I<include dir
> if
1311 you have headers
in a nonstandard directory
<include dir
>
1314 Use these variables to override the choices made by
`configure' or to help
1315 it to find libraries and programs with nonstandard names/locations.
1317 Report bugs to <steveb@workware.net.au>.
1322 if test "$ac_init_help" = "recursive"; then
1323 # If there are subdirs, report their specific --help.
1324 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1325 test -d "$ac_dir" ||
1326 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1331 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 ac_dir_suffix=/`$as_echo "$ac_dir" |
sed 's|^\.[\\/]||'`
1334 # A ".." for each directory in $ac_dir_suffix.
1335 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" |
sed 's|/[^\\/]*|/..|g;s|/||'`
1336 case $ac_top_builddir_sub in
1337 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1341 ac_abs_top_builddir=$ac_pwd
1342 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1343 # for backward compatibility:
1344 ac_top_builddir=$ac_top_build_prefix
1347 .) # We are building in place.
1349 ac_top_srcdir=$ac_top_builddir_sub
1350 ac_abs_top_srcdir=$ac_pwd ;;
1351 [\\/]* | ?:[\\/]* ) # Absolute name.
1352 ac_srcdir=$srcdir$ac_dir_suffix;
1353 ac_top_srcdir=$srcdir
1354 ac_abs_top_srcdir=$srcdir ;;
1356 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1357 ac_top_srcdir=$ac_top_build_prefix$srcdir
1358 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1360 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1362 cd "$ac_dir" || { ac_status=$?; continue; }
1363 # Check for guested configure.
1364 if test -f "$ac_srcdir/configure.gnu"; then
1366 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1367 elif test -f "$ac_srcdir/configure"; then
1369 $SHELL "$ac_srcdir/configure" --help=recursive
1371 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1373 cd "$ac_pwd" || { ac_status=$?; break; }
1377 test -n "$ac_init_help" && exit $ac_status
1378 if $ac_init_version; then
1381 generated by GNU Autoconf 2.65
1383 Copyright (C) 2009 Free Software Foundation, Inc.
1384 This configure script is free software; the Free Software Foundation
1385 gives unlimited permission to copy, distribute and modify it.
1390 ## ------------------------ ##
1391 ## Autoconf initialization. ##
1392 ## ------------------------ ##
1394 # ac_fn_c_try_compile LINENO
1395 # --------------------------
1396 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1397 ac_fn_c_try_compile ()
1399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1400 rm -f conftest.$ac_objext
1401 if { { ac_try="$ac_compile"
1403 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1404 *) ac_try_echo
=$ac_try;;
1406 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1407 $as_echo "$ac_try_echo"; } >&5
1408 (eval "$ac_compile") 2>conftest.err
1410 if test -s conftest.err
; then
1411 grep -v '^ *+' conftest.err
>conftest.er1
1412 cat conftest.er1
>&5
1413 mv -f conftest.er1 conftest.err
1415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1416 test $ac_status = 0; } && {
1417 test -z "$ac_c_werror_flag" ||
1418 test ! -s conftest.err
1419 } && test -s conftest.
$ac_objext; then :
1422 $as_echo "$as_me: failed program was:" >&5
1423 sed 's/^/| /' conftest.
$ac_ext >&5
1427 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1428 as_fn_set_status
$ac_retval
1430 } # ac_fn_c_try_compile
1432 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1433 # -------------------------------------------
1434 # Tests whether TYPE exists after having included INCLUDES, setting cache
1435 # variable VAR accordingly.
1436 ac_fn_c_check_type
()
1438 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1440 $as_echo_n "checking for $2... " >&6; }
1441 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1442 $as_echo_n "(cached) " >&6
1445 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1446 /* end confdefs.h. */
1457 if ac_fn_c_try_compile
"$LINENO"; then :
1458 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1459 /* end confdefs.h. */
1470 if ac_fn_c_try_compile
"$LINENO"; then :
1475 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1477 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
1480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1481 $as_echo "$ac_res" >&6; }
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1484 } # ac_fn_c_check_type
1486 # ac_fn_c_try_cpp LINENO
1487 # ----------------------
1488 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1491 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1492 if { { ac_try
="$ac_cpp conftest.$ac_ext"
1494 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1495 *) ac_try_echo=$ac_try;;
1497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498 $as_echo "$ac_try_echo"; } >&5
1499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1501 if test -s conftest.err; then
1502 grep -v '^ *+' conftest.err >conftest.er1
1503 cat conftest.er1 >&5
1504 mv -f conftest.er1 conftest.err
1506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507 test $ac_status = 0; } >/dev/null && {
1508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1509 test ! -s conftest.err
1513 $as_echo "$as_me: failed program was:" >&5
1514 sed 's/^/| /' conftest.$ac_ext >&5
1518 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1519 as_fn_set_status $ac_retval
1523 # ac_fn_c_try_run LINENO
1524 # ----------------------
1525 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1526 # that executables *can* be run.
1529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1530 if { { ac_try="$ac_link"
1532 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1533 *) ac_try_echo
=$ac_try;;
1535 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536 $as_echo "$ac_try_echo"; } >&5
1537 (eval "$ac_link") 2>&5
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 test $ac_status = 0; } && { ac_try
='./conftest$ac_exeext'
1541 { { case "(($ac_try" in
1542 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
1543 *) ac_try_echo=$ac_try;;
1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546 $as_echo "$ac_try_echo"; } >&5
1547 (eval "$ac_try") 2>&5
1549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550 test $ac_status = 0; }; }; then :
1553 $as_echo "$as_me: program exited with status $ac_status" >&5
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1557 ac_retval=$ac_status
1559 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561 as_fn_set_status $ac_retval
1565 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1566 # -------------------------------------------------------
1567 # Tests whether HEADER exists and can be compiled using the include files in
1568 # INCLUDES, setting the cache variable VAR accordingly.
1569 ac_fn_c_check_header_compile ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573 $as_echo_n "checking for $2... " >&6; }
1574 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1575 $as_echo_n "(cached) " >&6
1577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1578 /* end confdefs.h. */
1582 if ac_fn_c_try_compile "$LINENO"; then :
1587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1591 $as_echo "$ac_res" >&6; }
1592 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1594 } # ac_fn_c_check_header_compile
1596 # ac_fn_c_try_link LINENO
1597 # -----------------------
1598 # Try to link conftest.$ac_ext, and return whether this succeeded.
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext conftest$ac_exeext
1603 if { { ac_try="$ac_link"
1605 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
1606 *) ac_try_echo
=$ac_try;;
1608 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_link") 2>conftest.err
1612 if test -s conftest.err
; then
1613 grep -v '^ *+' conftest.err
>conftest.er1
1614 cat conftest.er1
>&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_c_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest
$ac_exeext && {
1622 test "$cross_compiling" = yes ||
1623 $as_test_x conftest
$ac_exeext
1627 $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.
$ac_ext >&5
1632 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1633 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1634 # interfere with the next link command; also delete a directory that is
1635 # left behind by Apple's compiler. We do this before executing the actions.
1636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1638 as_fn_set_status
$ac_retval
1640 } # ac_fn_c_try_link
1642 # ac_fn_c_check_func LINENO FUNC VAR
1643 # ----------------------------------
1644 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1645 ac_fn_c_check_func
()
1647 as_lineno
=${as_lineno-"$1"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if { as_var
=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1651 $as_echo_n "(cached) " >&6
1653 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1655 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1657 #define $2 innocuous_$2
1659 /* System header to define __stub macros and hopefully few prototypes,
1660 which can conflict with char $2 (); below.
1661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1662 <limits.h> exists even on freestanding compilers. */
1665 # include <limits.h>
1667 # include <assert.h>
1672 /* Override any GCC internal prototype to avoid an error.
1673 Use char because int might match the return type of a GCC
1674 builtin and then its argument prototype would still apply. */
1679 /* The GNU C library defines this for functions which it implements
1680 to always fail with ENOSYS. Some functions are actually named
1681 something starting with __ and the normal name is an alias. */
1682 #if defined __stub_$2 || defined __stub___$2
1694 if ac_fn_c_try_link
"$LINENO"; then :
1699 rm -f core conftest.err conftest.
$ac_objext \
1700 conftest
$ac_exeext conftest.
$ac_ext
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704 $as_echo "$ac_res" >&6; }
1705 eval $as_lineno_stack; test "x$as_lineno_stack" = x
&& { as_lineno
=; unset as_lineno
;}
1707 } # ac_fn_c_check_func
1708 cat >config.log
<<_ACEOF
1709 This file contains any messages produced by compilers while
1710 running configure, to aid debugging if configure makes a mistake.
1712 It was created by jim $as_me 0.63, which was
1713 generated by GNU Autoconf 2.65. Invocation command line was
1725 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1726 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1727 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1728 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1729 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1731 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1732 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1734 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1735 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1736 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1737 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1738 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1739 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1740 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1744 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
1748 test -z "$as_dir" && as_dir
=.
1749 $as_echo "PATH: $as_dir"
1765 # Keep a trace of the command line.
1766 # Strip out --no-create and --no-recursion so they do not pile up.
1767 # Strip out --silent because we don't want to record it for future runs.
1768 # Also quote any args containing shell meta-characters.
1769 # Make two passes to allow for proper duplicate-argument suppression.
1773 ac_must_keep_next
=false
1779 -no-create |
--no-c* |
-n |
-no-recursion |
--no-r*) continue ;;
1780 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
1781 |
-silent |
--silent |
--silen |
--sile |
--sil)
1784 ac_arg
=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1787 1) as_fn_append ac_configure_args0
" '$ac_arg'" ;;
1789 as_fn_append ac_configure_args1
" '$ac_arg'"
1790 if test $ac_must_keep_next = true
; then
1791 ac_must_keep_next
=false
# Got value, back to normal.
1794 *=* |
--config-cache |
-C |
-disable-* |
--disable-* \
1795 |
-enable-* |
--enable-* |
-gas |
--g* |
-nfp |
--nf* \
1796 |
-q |
-quiet |
--q* |
-silent |
--sil* |
-v |
-verb* \
1797 |
-with-* |
--with-* |
-without-* |
--without-* |
--x)
1798 case "$ac_configure_args0 " in
1799 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1802 -* ) ac_must_keep_next
=true
;;
1805 as_fn_append ac_configure_args
" '$ac_arg'"
1810 { ac_configure_args0
=; unset ac_configure_args0
;}
1811 { ac_configure_args1
=; unset ac_configure_args1
;}
1813 # When interrupted or exit'd, cleanup temporary files, and complete
1814 # config.log. We remove comments because anyway the quotes in there
1815 # would cause problems or look ugly.
1816 # WARNING: Use '\'' to represent an apostrophe within the trap.
1817 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1818 trap 'exit_status=$?
1819 # Save into config.log some information that might help in debugging.
1824 ## ---------------- ##
1825 ## Cache variables. ##
1826 ## ---------------- ##
1829 # The following way of writing the cache mishandles newlines in values,
1831 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1832 eval ac_val=\$$ac_var
1836 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1837 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1840 _ | IFS | as_nl) ;; #(
1841 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1842 *) { eval $ac_var=; unset $ac_var;} ;;
1847 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1848 *${as_nl}ac_space=\ *)
1850 "s/'\''/'\''\\\\'\'''\''/g;
1851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1862 ## ----------------- ##
1863 ## Output variables. ##
1864 ## ----------------- ##
1867 for ac_var in $ac_subst_vars
1869 eval ac_val=\$$ac_var
1871 *\'\''*) ac_val
=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1873 $as_echo "$ac_var='\''$ac_val'\''"
1877 if test -n "$ac_subst_files"; then
1879 ## ------------------- ##
1880 ## File substitutions. ##
1881 ## ------------------- ##
1884 for ac_var
in $ac_subst_files
1886 eval ac_val
=\$
$ac_var
1888 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1890 $as_echo "$ac_var='\''$ac_val'\''"
1895 if test -s confdefs.h; then
1905 test "$ac_signal" != 0 &&
1906 $as_echo "$as_me: caught signal $ac_signal"
1907 $as_echo "$as_me: exit $exit_status"
1909 rm -f core *.core core.conftest.* &&
1910 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1913 for ac_signal
in 1 2 13 15; do
1914 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1918 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1919 rm -f -r conftest
* confdefs.h
1921 $as_echo "/* confdefs.h */" > confdefs.h
1923 # Predefined preprocessor variables.
1925 cat >>confdefs.h
<<_ACEOF
1926 #define PACKAGE_NAME "$PACKAGE_NAME"
1929 cat >>confdefs.h
<<_ACEOF
1930 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1933 cat >>confdefs.h
<<_ACEOF
1934 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1937 cat >>confdefs.h
<<_ACEOF
1938 #define PACKAGE_STRING "$PACKAGE_STRING"
1941 cat >>confdefs.h
<<_ACEOF
1942 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1945 cat >>confdefs.h
<<_ACEOF
1946 #define PACKAGE_URL "$PACKAGE_URL"
1950 # Let the site file select an alternate cache file if it wants to.
1951 # Prefer an explicitly selected file to automatically selected ones.
1954 if test -n "$CONFIG_SITE"; then
1955 ac_site_file1
=$CONFIG_SITE
1956 elif test "x$prefix" != xNONE
; then
1957 ac_site_file1
=$prefix/share
/config.site
1958 ac_site_file2
=$prefix/etc
/config.site
1960 ac_site_file1
=$ac_default_prefix/share
/config.site
1961 ac_site_file2
=$ac_default_prefix/etc
/config.site
1963 for ac_site_file
in "$ac_site_file1" "$ac_site_file2"
1965 test "x$ac_site_file" = xNONE
&& continue
1966 if test /dev
/null
!= "$ac_site_file" && test -r "$ac_site_file"; then
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1968 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1969 sed 's/^/| /' "$ac_site_file" >&5
1974 if test -r "$cache_file"; then
1975 # Some versions of bash will fail to source /dev/null (special files
1976 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1977 if test /dev
/null
!= "$cache_file" && test -f "$cache_file"; then
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1979 $as_echo "$as_me: loading cache $cache_file" >&6;}
1981 [\\/]* | ?
:[\\/]* ) .
"$cache_file";;
1982 *) .
"./$cache_file";;
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1987 $as_echo "$as_me: creating cache $cache_file" >&6;}
1991 # Check that the precious variables saved in the cache have kept the same
1993 ac_cache_corrupted
=false
1994 for ac_var
in $ac_precious_vars; do
1995 eval ac_old_set
=\
$ac_cv_env_${ac_var}_set
1996 eval ac_new_set
=\
$ac_env_${ac_var}_set
1997 eval ac_old_val
=\
$ac_cv_env_${ac_var}_value
1998 eval ac_new_val
=\
$ac_env_${ac_var}_value
1999 case $ac_old_set,$ac_new_set in
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2002 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2003 ac_cache_corrupted
=: ;;
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2006 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2007 ac_cache_corrupted
=: ;;
2010 if test "x$ac_old_val" != "x$ac_new_val"; then
2011 # differences in whitespace do not lead to failure.
2012 ac_old_val_w
=`echo x $ac_old_val`
2013 ac_new_val_w
=`echo x $ac_new_val`
2014 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2016 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2017 ac_cache_corrupted
=:
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2020 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2021 eval $ac_var=\
$ac_old_val
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2024 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2026 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2029 # Pass precious variables to config.status.
2030 if test "$ac_new_set" = set; then
2032 *\'*) ac_arg
=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2033 *) ac_arg
=$ac_var=$ac_new_val ;;
2035 case " $ac_configure_args " in
2036 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2037 *) as_fn_append ac_configure_args
" '$ac_arg'" ;;
2041 if $ac_cache_corrupted; then
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2045 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2046 as_fn_error
"run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2048 ## -------------------- ##
2049 ## Main body of script. ##
2050 ## -------------------- ##
2053 ac_cpp
='$CPP $CPPFLAGS'
2054 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2055 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2056 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2059 ac_config_headers
="$ac_config_headers autoconf.h"
2062 # Checks for programs.
2064 ac_cpp
='$CPP $CPPFLAGS'
2065 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2066 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2067 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
2068 if test -n "$ac_tool_prefix"; then
2069 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2070 set dummy
${ac_tool_prefix}gcc
; ac_word
=$2
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2072 $as_echo_n "checking for $ac_word... " >&6; }
2073 if test "${ac_cv_prog_CC+set}" = set; then :
2074 $as_echo_n "(cached) " >&6
2076 if test -n "$CC"; then
2077 ac_cv_prog_CC
="$CC" # Let the user override the test.
2079 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2083 test -z "$as_dir" && as_dir
=.
2084 for ac_exec_ext
in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_CC
="${ac_tool_prefix}gcc"
2087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2097 if test -n "$CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2099 $as_echo "$CC" >&6; }
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 $as_echo "no" >&6; }
2107 if test -z "$ac_cv_prog_CC"; then
2109 # Extract the first word of "gcc", so it can be a program name with args.
2110 set dummy gcc
; ac_word
=$2
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2112 $as_echo_n "checking for $ac_word... " >&6; }
2113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2114 $as_echo_n "(cached) " >&6
2116 if test -n "$ac_ct_CC"; then
2117 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2119 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2123 test -z "$as_dir" && as_dir
=.
2124 for ac_exec_ext
in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 ac_cv_prog_ac_ct_CC
="gcc"
2127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2136 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2137 if test -n "$ac_ct_CC"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2139 $as_echo "$ac_ct_CC" >&6; }
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2142 $as_echo "no" >&6; }
2145 if test "x$ac_ct_CC" = x
; then
2148 case $cross_compiling:$ac_tool_warned in
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2152 ac_tool_warned
=yes ;;
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2163 set dummy
${ac_tool_prefix}cc
; ac_word
=$2
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2165 $as_echo_n "checking for $ac_word... " >&6; }
2166 if test "${ac_cv_prog_CC+set}" = set; then :
2167 $as_echo_n "(cached) " >&6
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC
="$CC" # Let the user override the test.
2172 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2176 test -z "$as_dir" && as_dir
=.
2177 for ac_exec_ext
in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_CC
="${ac_tool_prefix}cc"
2180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2190 if test -n "$CC"; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2192 $as_echo "$CC" >&6; }
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2195 $as_echo "no" >&6; }
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc
; ac_word
=$2
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2205 $as_echo_n "checking for $ac_word... " >&6; }
2206 if test "${ac_cv_prog_CC+set}" = set; then :
2207 $as_echo_n "(cached) " >&6
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC
="$CC" # Let the user override the test.
2213 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2217 test -z "$as_dir" && as_dir
=.
2218 for ac_exec_ext
in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected
=yes
2225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2232 if test $ac_prog_rejected = yes; then
2233 # We found a bogon in the path, so make sure we never use it.
2234 set dummy
$ac_cv_prog_CC
2236 if test $# != 0; then
2237 # We chose a different compiler from the bogus one.
2238 # However, it has the same basename, so the bogon will be chosen
2239 # first if we set CC to just the basename; use the full file name.
2241 ac_cv_prog_CC
="$as_dir/$ac_word${1+' '}$@"
2247 if test -n "$CC"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2249 $as_echo "$CC" >&6; }
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2252 $as_echo "no" >&6; }
2257 if test -z "$CC"; then
2258 if test -n "$ac_tool_prefix"; then
2259 for ac_prog
in cl.exe
2261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2262 set dummy
$ac_tool_prefix$ac_prog; ac_word
=$2
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2264 $as_echo_n "checking for $ac_word... " >&6; }
2265 if test "${ac_cv_prog_CC+set}" = set; then :
2266 $as_echo_n "(cached) " >&6
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC
="$CC" # Let the user override the test.
2271 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2275 test -z "$as_dir" && as_dir
=.
2276 for ac_exec_ext
in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_CC
="$ac_tool_prefix$ac_prog"
2279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2289 if test -n "$CC"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2291 $as_echo "$CC" >&6; }
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2294 $as_echo "no" >&6; }
2298 test -n "$CC" && break
2301 if test -z "$CC"; then
2303 for ac_prog
in cl.exe
2305 # Extract the first word of "$ac_prog", so it can be a program name with args.
2306 set dummy
$ac_prog; ac_word
=$2
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2308 $as_echo_n "checking for $ac_word... " >&6; }
2309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2310 $as_echo_n "(cached) " >&6
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC
="$ac_ct_CC" # Let the user override the test.
2315 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
2319 test -z "$as_dir" && as_dir
=.
2320 for ac_exec_ext
in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_ac_ct_CC
="$ac_prog"
2323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2332 ac_ct_CC
=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2335 $as_echo "$ac_ct_CC" >&6; }
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2338 $as_echo "no" >&6; }
2342 test -n "$ac_ct_CC" && break
2345 if test "x$ac_ct_CC" = x
; then
2348 case $cross_compiling:$ac_tool_warned in
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2352 ac_tool_warned
=yes ;;
2361 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2363 as_fn_error
"no acceptable C compiler found in \$PATH
2364 See \`config.log' for more details." "$LINENO" 5; }
2366 # Provide some information about the compiler.
2367 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2370 for ac_option
in --version -v -V -qversion; do
2371 { { ac_try
="$ac_compiler $ac_option >&5"
2373 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2377 $as_echo "$ac_try_echo"; } >&5
2378 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2380 if test -s conftest.err; then
2382 ... rest of stderr output deleted ...
2383 10q' conftest.err >conftest.er1
2384 cat conftest.er1 >&5
2386 rm -f conftest.er1 conftest.err
2387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388 test $ac_status = 0; }
2391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2392 /* end confdefs.h. */
2402 ac_clean_files_save=$ac_clean_files
2403 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2404 # Try to create an executable without -o first, disregard a.out.
2405 # It will help us diagnose broken compilers, and finding out an intuition
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2408 $as_echo_n "checking whether the C compiler works... " >&6; }
2409 ac_link_default=`$as_echo "$ac_link" |
sed 's/ -o *conftest[^ ]*//'`
2411 # The possible output files:
2412 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2415 for ac_file in $ac_files
2418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2419 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2424 if { { ac_try="$ac_link_default"
2426 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2427 *) ac_try_echo
=$ac_try;;
2429 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2430 $as_echo "$ac_try_echo"; } >&5
2431 (eval "$ac_link_default") 2>&5
2433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2434 test $ac_status = 0; }; then :
2435 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2436 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2437 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2438 # so that the user can short-circuit this test for compilers unknown to
2440 for ac_file
in $ac_files ''
2442 test -f "$ac_file" ||
continue
2444 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
)
2447 # We found the default executable, but exeext='' is most
2451 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no
;
2453 ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455 # We set ac_cv_exeext here because the later test for it is not
2456 # safe: cross compilers may not add the suffix if given an `-o'
2457 # argument, so we may need to know it at that point already.
2458 # Even if this section looks crufty: it has the advantage of
2465 test "$ac_cv_exeext" = no
&& ac_cv_exeext
=
2470 if test -z "$ac_file"; then :
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2473 $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.
$ac_ext >&5
2476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2478 { as_fn_set_status
77
2479 as_fn_error
"C compiler cannot create executables
2480 See \`config.log' for more details." "$LINENO" 5; }; }
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2483 $as_echo "yes" >&6; }
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2486 $as_echo_n "checking for C compiler default output file name... " >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2488 $as_echo "$ac_file" >&6; }
2489 ac_exeext
=$ac_cv_exeext
2491 rm -f -r a.out a.out.dSYM a.exe conftest
$ac_cv_exeext b.out
2492 ac_clean_files
=$ac_clean_files_save
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2494 $as_echo_n "checking for suffix of executables... " >&6; }
2495 if { { ac_try
="$ac_link"
2497 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502 (eval "$ac_link") 2>&5
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; }; then :
2506 # If both `conftest.exe
' and `conftest' are
`present' (well, observable)
2507 # catch `conftest.exe
'. For instance with Cygwin, `ls conftest' will
2508 # work properly (i.e., refer to `conftest.exe'), while it won't with
2510 for ac_file
in conftest.exe conftest conftest.
*; do
2511 test -f "$ac_file" ||
continue
2513 *.
$ac_ext |
*.xcoff |
*.tds |
*.d |
*.pdb |
*.xSYM |
*.bb |
*.bbg |
*.map |
*.inf |
*.dSYM |
*.o |
*.obj
) ;;
2514 *.
* ) ac_cv_exeext
=`expr "$ac_file" : '[^.]*\(\..*\)'`
2520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2522 as_fn_error
"cannot compute suffix of executables: cannot compile and link
2523 See \`config.log' for more details." "$LINENO" 5; }
2525 rm -f conftest conftest
$ac_cv_exeext
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2527 $as_echo "$ac_cv_exeext" >&6; }
2529 rm -f conftest.
$ac_ext
2530 EXEEXT
=$ac_cv_exeext
2532 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2538 FILE *f = fopen ("conftest.out", "w");
2539 return ferror (f) || fclose (f) != 0;
2545 ac_clean_files
="$ac_clean_files conftest.out"
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2549 $as_echo_n "checking whether we are cross compiling... " >&6; }
2550 if test "$cross_compiling" != yes; then
2551 { { ac_try
="$ac_link"
2553 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2554 *) ac_try_echo=$ac_try;;
2556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_link") 2>&5
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; }
2562 if { ac_try='./conftest$ac_cv_exeext'
2563 { { case "(($ac_try" in
2564 *\"* | *\`* |
*\\*) ac_try_echo
=\
$ac_try;;
2565 *) ac_try_echo
=$ac_try;;
2567 eval ac_try_echo
="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_try") 2>&5
2571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2572 test $ac_status = 0; }; }; then
2575 if test "$cross_compiling" = maybe
; then
2578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 as_fn_error
"cannot run C compiled programs.
2581 If you meant to cross compile, use \`--host'.
2582 See \`config.log' for more details." "$LINENO" 5; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2587 $as_echo "$cross_compiling" >&6; }
2589 rm -f conftest.
$ac_ext conftest
$ac_cv_exeext conftest.out
2590 ac_clean_files
=$ac_clean_files_save
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2592 $as_echo_n "checking for suffix of object files... " >&6; }
2593 if test "${ac_cv_objext+set}" = set; then :
2594 $as_echo_n "(cached) " >&6
2596 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2607 rm -f conftest.o conftest.obj
2608 if { { ac_try
="$ac_compile"
2610 *\"* |
*\
`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2614 $as_echo "$ac_try_echo"; } >&5
2615 (eval "$ac_compile") 2>&5
2617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618 test $ac_status = 0; }; then :
2619 for ac_file in conftest.o conftest.obj conftest.*; do
2620 test -f "$ac_file" || continue;
2622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2623 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2628 $as_echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.$ac_ext >&5
2631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2633 as_fn_error "cannot compute suffix of object files
: cannot compile
2634 See \
`config.log' for more details." "$LINENO" 5; }
2636 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2639 $as_echo "$ac_cv_objext" >&6; }
2640 OBJEXT=$ac_cv_objext
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2643 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2644 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2645 $as_echo_n "(cached) " >&6
2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648 /* end confdefs.h. */
2661 if ac_fn_c_try_compile "$LINENO"; then :
2666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2667 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2671 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2672 if test $ac_compiler_gnu = yes; then
2677 ac_test_CFLAGS=${CFLAGS+set}
2678 ac_save_CFLAGS=$CFLAGS
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2680 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2681 if test "${ac_cv_prog_cc_g+set}" = set; then :
2682 $as_echo_n "(cached) " >&6
2684 ac_save_c_werror_flag=$ac_c_werror_flag
2685 ac_c_werror_flag=yes
2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2699 if ac_fn_c_try_compile "$LINENO"; then :
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2714 if ac_fn_c_try_compile "$LINENO"; then :
2717 ac_c_werror_flag=$ac_save_c_werror_flag
2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2730 if ac_fn_c_try_compile "$LINENO"; then :
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738 ac_c_werror_flag=$ac_save_c_werror_flag
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2741 $as_echo "$ac_cv_prog_cc_g" >&6; }
2742 if test "$ac_test_CFLAGS" = set; then
2743 CFLAGS=$ac_save_CFLAGS
2744 elif test $ac_cv_prog_cc_g = yes; then
2745 if test "$GCC" = yes; then
2751 if test "$GCC" = yes; then
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2758 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2759 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2760 $as_echo_n "(cached) " >&6
2762 ac_cv_prog_cc_c89=no
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2768 #include <sys/types.h>
2769 #include <sys/stat.h>
2770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2771 struct buf { int x; };
2772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2773 static char *e (p, i)
2779 static char *f (char * (*g) (char **, int), char **p, ...)
2784 s = g (p, va_arg (v,int));
2789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2790 function prototypes and stuff, but not '\xHH' hex character constants.
2791 These don't provoke an error unfortunately, instead are silently treated
2792 as 'x'. The following induces an error, until -std is added to get
2793 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2794 array size at least. It's necessary to write '\x00'==0 to get something
2795 that's true only with -std. */
2796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2798 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2799 inside strings and character constants. */
2801 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2803 int test (int i, double x);
2804 struct s1 {int (*f) (int a);};
2805 struct s2 {int (*f) (double a);};
2806 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2812 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2817 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2818 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2820 CC="$ac_save_CC $ac_arg"
2821 if ac_fn_c_try_compile "$LINENO"; then :
2822 ac_cv_prog_cc_c89=$ac_arg
2824 rm -f core conftest.err conftest.$ac_objext
2825 test "x$ac_cv_prog_cc_c89" != "xno" && break
2827 rm -f conftest.$ac_ext
2832 case "x$ac_cv_prog_cc_c89" in
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2835 $as_echo "none needed" >&6; } ;;
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2838 $as_echo "unsupported" >&6; } ;;
2840 CC="$CC $ac_cv_prog_cc_c89"
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2842 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2844 if test "x$ac_cv_prog_cc_c89" != xno; then :
2849 ac_cpp='$CPP $CPPFLAGS'
2850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2855 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2857 ac_make=`$as_echo "$2" |
sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2858 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2859 $as_echo_n "(cached) " >&6
2861 cat >conftest.make <<\_ACEOF
2864 @echo '@@@%%%=$(MAKE)=@@@%%%'
2866 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2867 case `${MAKE-make} -f conftest.
make 2>/dev
/null
` in
2869 eval ac_cv_prog_make_${ac_make}_set=yes;;
2871 eval ac_cv_prog_make_${ac_make}_set=no;;
2875 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2877 $as_echo "yes" >&6; }
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2882 SET_MAKE="MAKE=${MAKE-make}"
2889 ac_cpp='$CPP $CPPFLAGS'
2890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2894 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2895 # On Suns, sometimes $CPP names a directory.
2896 if test -n "$CPP" && test -d "$CPP"; then
2899 if test -z "$CPP"; then
2900 if test "${ac_cv_prog_CPP+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2903 # Double quotes because CPP needs to be expanded
2904 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2907 for ac_c_preproc_warn_flag in '' yes
2909 # Use a header file that comes with gcc, so configuring glibc
2910 # with a fresh cross-compiler works.
2911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2912 # <limits.h> exists even on freestanding compilers.
2913 # On the NeXT, cc -E runs the code through the compiler's parser,
2914 # not just through cpp. "Syntax error" is here to catch this case.
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2918 # include <limits.h>
2920 # include <assert.h>
2924 if ac_fn_c_try_cpp "$LINENO"; then :
2927 # Broken: fails on valid input.
2930 rm -f conftest.err conftest.$ac_ext
2932 # OK, works on sane cases. Now check whether nonexistent headers
2933 # can be detected and how.
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 #include <ac_nonexistent.h>
2938 if ac_fn_c_try_cpp "$LINENO"; then :
2939 # Broken: success on invalid input.
2942 # Passes both tests.
2946 rm -f conftest.err conftest.$ac_ext
2949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2950 rm -f conftest.err conftest.
$ac_ext
2951 if $ac_preproc_ok; then :
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2964 $as_echo "$CPP" >&6; }
2966 for ac_c_preproc_warn_flag
in '' yes
2968 # Use a header file that comes with gcc, so configuring glibc
2969 # with a fresh cross-compiler works.
2970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2971 # <limits.h> exists even on freestanding compilers.
2972 # On the NeXT, cc -E runs the code through the compiler's parser,
2973 # not just through cpp. "Syntax error" is here to catch this case.
2974 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2977 # include <limits.h>
2979 # include <assert.h>
2983 if ac_fn_c_try_cpp
"$LINENO"; then :
2986 # Broken: fails on valid input.
2989 rm -f conftest.err conftest.
$ac_ext
2991 # OK, works on sane cases. Now check whether nonexistent headers
2992 # can be detected and how.
2993 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2995 #include <ac_nonexistent.h>
2997 if ac_fn_c_try_cpp
"$LINENO"; then :
2998 # Broken: success on invalid input.
3001 # Passes both tests.
3005 rm -f conftest.err conftest.
$ac_ext
3008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3009 rm -f conftest.err conftest.
$ac_ext
3010 if $ac_preproc_ok; then :
3013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error
"C preprocessor \"$CPP\" fails sanity check
3016 See \`config.log' for more details." "$LINENO" 5; }
3020 ac_cpp
='$CPP $CPPFLAGS'
3021 ac_compile
='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link
='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu
=$ac_cv_c_compiler_gnu
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3027 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3028 if test "${ac_cv_path_GREP+set}" = set; then :
3029 $as_echo_n "(cached) " >&6
3031 if test -z "$GREP"; then
3032 ac_path_GREP_found
=false
3033 # Loop through the user's path and test for each of PROGNAME-LIST
3034 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3035 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3038 test -z "$as_dir" && as_dir
=.
3039 for ac_prog
in grep ggrep
; do
3040 for ac_exec_ext
in '' $ac_executable_extensions; do
3041 ac_path_GREP
="$as_dir/$ac_prog$ac_exec_ext"
3042 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } ||
continue
3043 # Check for GNU ac_path_GREP and select it if it is found.
3044 # Check for GNU $ac_path_GREP
3045 case `"$ac_path_GREP" --version 2>&1` in
3047 ac_cv_path_GREP
="$ac_path_GREP" ac_path_GREP_found
=:;;
3050 $as_echo_n 0123456789 >"conftest.in"
3053 cat "conftest.in" "conftest.in" >"conftest.tmp"
3054 mv "conftest.tmp" "conftest.in"
3055 cp "conftest.in" "conftest.nl"
3056 $as_echo 'GREP' >> "conftest.nl"
3057 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3058 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3059 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3060 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3061 # Best one so far, save it but keep looking for a better one
3062 ac_cv_path_GREP
="$ac_path_GREP"
3063 ac_path_GREP_max
=$ac_count
3065 # 10*(2^10) chars as input seems more than enough
3066 test $ac_count -gt 10 && break
3068 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3071 $ac_path_GREP_found && break 3
3076 if test -z "$ac_cv_path_GREP"; then
3077 as_fn_error
"no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3080 ac_cv_path_GREP
=$GREP
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3085 $as_echo "$ac_cv_path_GREP" >&6; }
3086 GREP
="$ac_cv_path_GREP"
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3090 $as_echo_n "checking for egrep... " >&6; }
3091 if test "${ac_cv_path_EGREP+set}" = set; then :
3092 $as_echo_n "(cached) " >&6
3094 if echo a |
$GREP -E '(a|b)' >/dev
/null
2>&1
3095 then ac_cv_path_EGREP
="$GREP -E"
3097 if test -z "$EGREP"; then
3098 ac_path_EGREP_found
=false
3099 # Loop through the user's path and test for each of PROGNAME-LIST
3100 as_save_IFS
=$IFS; IFS
=$PATH_SEPARATOR
3101 for as_dir
in $PATH$PATH_SEPARATOR/usr
/xpg
4/bin
3104 test -z "$as_dir" && as_dir
=.
3105 for ac_prog
in egrep; do
3106 for ac_exec_ext
in '' $ac_executable_extensions; do
3107 ac_path_EGREP
="$as_dir/$ac_prog$ac_exec_ext"
3108 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } ||
continue
3109 # Check for GNU ac_path_EGREP and select it if it is found.
3110 # Check for GNU $ac_path_EGREP
3111 case `"$ac_path_EGREP" --version 2>&1` in
3113 ac_cv_path_EGREP
="$ac_path_EGREP" ac_path_EGREP_found
=:;;
3116 $as_echo_n 0123456789 >"conftest.in"
3119 cat "conftest.in" "conftest.in" >"conftest.tmp"
3120 mv "conftest.tmp" "conftest.in"
3121 cp "conftest.in" "conftest.nl"
3122 $as_echo 'EGREP' >> "conftest.nl"
3123 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev
/null ||
break
3124 diff "conftest.out" "conftest.nl" >/dev
/null
2>&1 ||
break
3125 as_fn_arith
$ac_count + 1 && ac_count
=$as_val
3126 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3127 # Best one so far, save it but keep looking for a better one
3128 ac_cv_path_EGREP
="$ac_path_EGREP"
3129 ac_path_EGREP_max
=$ac_count
3131 # 10*(2^10) chars as input seems more than enough
3132 test $ac_count -gt 10 && break
3134 rm -f conftest.
in conftest.tmp conftest.
nl conftest.out
;;
3137 $ac_path_EGREP_found && break 3
3142 if test -z "$ac_cv_path_EGREP"; then
3143 as_fn_error
"no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3146 ac_cv_path_EGREP
=$EGREP
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3152 $as_echo "$ac_cv_path_EGREP" >&6; }
3153 EGREP
="$ac_cv_path_EGREP"
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3157 $as_echo_n "checking for ANSI C header files... " >&6; }
3158 if test "${ac_cv_header_stdc+set}" = set; then :
3159 $as_echo_n "(cached) " >&6
3161 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3176 if ac_fn_c_try_compile
"$LINENO"; then :
3177 ac_cv_header_stdc
=yes
3179 ac_cv_header_stdc
=no
3181 rm -f core conftest.err conftest.
$ac_objext conftest.
$ac_ext
3183 if test $ac_cv_header_stdc = yes; then
3184 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3185 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3186 /* end confdefs.h. */
3190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3191 $EGREP "memchr" >/dev
/null
2>&1; then :
3194 ac_cv_header_stdc
=no
3200 if test $ac_cv_header_stdc = yes; then
3201 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3202 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3208 $EGREP "free" >/dev
/null
2>&1; then :
3211 ac_cv_header_stdc
=no
3217 if test $ac_cv_header_stdc = yes; then
3218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3219 if test "$cross_compiling" = yes; then :
3222 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3226 #if ((' ' & 0x0FF) == 0x020)
3227 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3228 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3230 # define ISLOWER(c) \
3231 (('a' <= (c) && (c) <= 'i') \
3232 || ('j' <= (c) && (c) <= 'r') \
3233 || ('s' <= (c) && (c) <= 'z'))
3234 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3237 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3242 for (i = 0; i < 256; i++)
3243 if (XOR (islower (i), ISLOWER (i))
3244 || toupper (i) != TOUPPER (i))
3249 if ac_fn_c_try_run
"$LINENO"; then :
3252 ac_cv_header_stdc
=no
3254 rm -f core
*.core core.conftest.
* gmon.out bb.out conftest
$ac_exeext \
3255 conftest.
$ac_objext conftest.beam conftest.
$ac_ext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3261 $as_echo "$ac_cv_header_stdc" >&6; }
3262 if test $ac_cv_header_stdc = yes; then
3264 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3268 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3269 for ac_header
in sys
/types.h sys
/stat.h stdlib.h string.h memory.h
strings.h \
3270 inttypes.h stdint.h unistd.h
3272 as_ac_Header
=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3273 ac_fn_c_check_header_compile
"$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3275 eval as_val
=\$
$as_ac_Header
3276 if test "x$as_val" = x
""yes; then :
3277 cat >>confdefs.h
<<_ACEOF
3278 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3286 ac_fn_c_check_type
"$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
3287 if test "x$ac_cv_type_long_long" = x
""yes; then :
3289 cat >>confdefs.h
<<_ACEOF
3290 #define HAVE_LONG_LONG 1
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"
3426 # Check whether --enable-ipv6 was given.
3427 if test "${enable_ipv6+set}" = set; then :
3428 enableval
=$enable_ipv6;
3429 if test "x$enableval" = "xyes" ; then
3430 EXTRA_CFLAGS
="$EXTRA_CFLAGS -DJIM_IPV6"
3437 jim_extensions
="stdlib load package readdir glob array clock exec file posix regexp signal tclcompat aio bio eventloop syslog"
3439 # Check whether --with-jim-ext was given.
3440 if test "${with_jim_ext+set}" = set; then :
3441 withval
=$with_jim_ext;
3442 if test "x$withval" != "xno" ; then
3443 if test "x$withval" != "xall" ; then
3444 jim_extensions
="$withval"
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling jim extensions: $jim_extensions" >&5
3452 $as_echo "enabling jim extensions: $jim_extensions" >&6; }
3453 JIM_EXTENSIONS
=$jim_extensions
3455 for i
in $jim_extensions; do
3456 EXTRA_CFLAGS
="$EXTRA_CFLAGS -Djim_ext_$i"
3461 # Check whether --with-jim-shared was given.
3462 if test "${with_jim_shared+set}" = set; then :
3463 withval
=$with_jim_shared;
3464 if test "x$withval" = "xyes" ; then
3471 JIM_LIBTYPE
=$JIM_LIBTYPE
3474 for ac_func
in ualarm sysinfo lstat fork vfork
3476 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3477 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3478 eval as_val
=\$
$as_ac_var
3479 if test "x$as_val" = x
""yes; then :
3480 cat >>confdefs.h
<<_ACEOF
3481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3487 for ac_func
in backtrace geteuid mkstemp realpath strptime
3489 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3490 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3491 eval as_val
=\$
$as_ac_var
3492 if test "x$as_val" = x
""yes; then :
3493 cat >>confdefs.h
<<_ACEOF
3494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3500 for ac_func
in regcomp waitpid sigaction sys_signame sys_siglist
3502 as_ac_var
=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3503 ac_fn_c_check_func
"$LINENO" "$ac_func" "$as_ac_var"
3504 eval as_val
=\$
$as_ac_var
3505 if test "x$as_val" = x
""yes; then :
3506 cat >>confdefs.h
<<_ACEOF
3507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3514 EXTRA_CFLAGS
=$EXTRA_CFLAGS
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
3520 $as_echo_n "checking for library containing dlopen... " >&6; }
3521 if test "${ac_cv_search_dlopen+set}" = set; then :
3522 $as_echo_n "(cached) " >&6
3524 ac_func_search_save_LIBS
=$LIBS
3525 cat confdefs.h
- <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3528 /* Override any GCC internal prototype to avoid an error.
3529 Use char because int might match the return type of a GCC
3530 builtin and then its argument prototype would still apply. */
3543 for ac_lib
in '' dl
; do
3544 if test -z "$ac_lib"; then
3545 ac_res
="none required"
3548 LIBS
="-l$ac_lib $ac_func_search_save_LIBS"
3550 if ac_fn_c_try_link
"$LINENO"; then :
3551 ac_cv_search_dlopen
=$ac_res
3553 rm -f core conftest.err conftest.
$ac_objext \
3555 if test "${ac_cv_search_dlopen+set}" = set; then :
3559 if test "${ac_cv_search_dlopen+set}" = set; then :
3562 ac_cv_search_dlopen
=no
3565 LIBS
=$ac_func_search_save_LIBS
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
3568 $as_echo "$ac_cv_search_dlopen" >&6; }
3569 ac_res
=$ac_cv_search_dlopen
3570 if test "$ac_res" != no
; then :
3571 test "$ac_res" = "none required" || LIBS
="$ac_res $LIBS"
3572 LIBDL
=${ac_cv_search_dlopen%none required}
3575 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
3581 ac_config_files
="$ac_config_files Makefile"
3583 cat >confcache
<<\_ACEOF
3584 # This file is a shell script that caches the results of configure
3585 # tests run on this system so they can be shared between configure
3586 # scripts and configure runs, see configure's option --config-cache.
3587 # It is not useful on other systems. If it contains results you don't
3588 # want to keep, you may remove or edit it.
3590 # config.status only pays attention to the cache file if you give it
3591 # the --recheck option to rerun configure.
3593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3599 # The following way of writing the cache mishandles newlines in values,
3600 # but we know of no workaround that is simple, portable, and efficient.
3601 # So, we kill variables containing newlines.
3602 # Ultrix sh set writes to stderr and can't be redirected directly,
3603 # and sets the high bit in the cache file unless we assign to the vars.
3605 for ac_var
in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3606 eval ac_val
=\$
$ac_var
3610 *_cv_
*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3614 _ | IFS | as_nl
) ;; #(
3615 BASH_ARGV | BASH_SOURCE
) eval $ac_var= ;; #(
3616 *) { eval $ac_var=; unset $ac_var;} ;;
3622 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3623 *${as_nl}ac_space
=\
*)
3624 # `set' does not quote correctly, so add quotes: double-quote
3625 # substitution turns \\\\ into \\, and sed turns \\ into \.
3628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3631 # `set' quotes correctly as required by POSIX, so do not add quotes.
3632 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3641 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3643 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3645 if diff "$cache_file" confcache
>/dev
/null
2>&1; then :; else
3646 if test -w "$cache_file"; then
3647 test "x$cache_file" != "x/dev/null" &&
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3649 $as_echo "$as_me: updating cache $cache_file" >&6;}
3650 cat confcache
>$cache_file
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3653 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3658 test "x$prefix" = xNONE
&& prefix
=$ac_default_prefix
3659 # Let make expand exec_prefix.
3660 test "x$exec_prefix" = xNONE
&& exec_prefix
='${prefix}'
3662 DEFS
=-DHAVE_CONFIG_H
3666 for ac_i
in : $LIBOBJS; do test "x$ac_i" = x
: && continue
3667 # 1. Remove the extension, and $U if already installed.
3668 ac_script
='s/\$U\././;s/\.o$//;s/\.obj$//'
3669 ac_i
=`$as_echo "$ac_i" | sed "$ac_script"`
3670 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3671 # will be set to the directory where LIBOBJS objects are built.
3672 as_fn_append ac_libobjs
" \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3673 as_fn_append ac_ltlibobjs
" \${LIBOBJDIR}$ac_i"'$U.lo'
3677 LTLIBOBJS
=$ac_ltlibobjs
3681 : ${CONFIG_STATUS=./config.status}
3683 ac_clean_files_save
=$ac_clean_files
3684 ac_clean_files
="$ac_clean_files $CONFIG_STATUS"
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3686 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3688 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3690 # Generated by $as_me.
3691 # Run this file to recreate the current configuration.
3692 # Compiler output produced by configure, useful for debugging
3693 # configure, is in config.log if it exists.
3699 SHELL=\${CONFIG_SHELL-$SHELL}
3702 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail
=1
3703 ## -------------------- ##
3704 ## M4sh Initialization. ##
3705 ## -------------------- ##
3707 # Be more Bourne compatible
3708 DUALCASE
=1; export DUALCASE
# for MKS sh
3709 if test -n "${ZSH_VERSION+set}" && (emulate sh
) >/dev
/null
2>&1; then :
3712 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3713 # is contrary to our usage. Disable this feature.
3714 alias -g '${1+"$@"}'='"$@"'
3715 setopt NO_GLOB_SUBST
3717 case `(set -o) 2>/dev/null` in #(
3729 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3730 as_echo
='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3731 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3732 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3733 # Prefer a ksh shell builtin over an external printf program on Solaris,
3734 # but without wasting forks for bash or zsh.
3735 if test -z "$BASH_VERSION$ZSH_VERSION" \
3736 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3737 as_echo='print
-r --'
3738 as_echo_n='print
-rn --'
3739 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3740 as_echo='printf %s
\n'
3741 as_echo_n='printf %s
'
3743 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3744 as_echo_body='eval /usr
/ucb
/echo -n "$1$as_nl"'
3745 as_echo_n='/usr
/ucb
/echo -n'
3747 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3748 as_echo_n_body='eval
3752 expr "X$arg" : "X\\(.*\\)$as_nl";
3753 arg
=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3755 expr "X$arg" : "X\\(.*\\)" |
tr -d "$as_nl"
3757 export as_echo_n_body
3758 as_echo_n='sh
-c $as_echo_n_body as_echo
'
3761 as_echo='sh
-c $as_echo_body as_echo
'
3764 # The user is always right.
3765 if test "${PATH_SEPARATOR+set}" != set; then
3767 (PATH='/bin
;/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3768 (PATH='/bin
:/bin
'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3775 # We need space, tab and new line, in precisely that order. Quoting is
3776 # there to prevent editors from complaining about space-tab.
3777 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3778 # splitting by setting IFS to empty value.)
3781 # Find who we are. Look in the path if we contain no directory separator.
3783 *[\\/]* ) as_myself=$0 ;;
3784 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3788 test -z "$as_dir" && as_dir=.
3789 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3795 # We did not find ourselves, most probably we were run as `sh COMMAND'
3796 # in which case we are not to be found in the path.
3797 if test "x$as_myself" = x
; then
3800 if test ! -f "$as_myself"; then
3801 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3805 # Unset variables that we do not need and which cause bugs (e.g. in
3806 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3807 # suppresses any "Segmentation fault" message there. '((' could
3808 # trigger a bug in pdksh 5.2.14.
3809 for as_var
in BASH_ENV ENV MAIL MAILPATH
3810 do eval test x\
${$as_var+set} = xset \
3811 && ( (unset $as_var) ||
exit 1) >/dev
/null
2>&1 && unset $as_var ||
:
3824 (unset CDPATH
) >/dev
/null
2>&1 && unset CDPATH
3827 # as_fn_error ERROR [LINENO LOG_FD]
3828 # ---------------------------------
3829 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3830 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3831 # script with status $?, using 1 if that was 0.
3834 as_status
=$?
; test $as_status -eq 0 && as_status
=1
3836 as_lineno
=${as_lineno-"$2"} as_lineno_stack
=as_lineno_stack
=$as_lineno_stack
3837 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3839 $as_echo "$as_me: error: $1" >&2
3840 as_fn_exit
$as_status
3844 # as_fn_set_status STATUS
3845 # -----------------------
3846 # Set $? to STATUS, without forking.
3850 } # as_fn_set_status
3854 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3864 # Portably unset VAR.
3867 { eval $1=; unset $1;}
3869 as_unset
=as_fn_unset
3870 # as_fn_append VAR VALUE
3871 # ----------------------
3872 # Append the text in VALUE to the end of the definition contained in VAR. Take
3873 # advantage of any shell optimizations that allow amortized linear growth over
3874 # repeated appends, instead of the typical quadratic growth present in naive
3876 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev
/null
; then :
3877 eval 'as_fn_append ()
3888 # as_fn_arith ARG...
3889 # ------------------
3890 # Perform arithmetic evaluation on the ARGs, and store the result in the
3891 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3892 # must be portable across $(()) and expr.
3893 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev
/null
; then :
3894 eval 'as_fn_arith ()
3901 as_val
=`expr "$@" || test $? -eq 1`
3906 if expr a
: '\(a\)' >/dev
/null
2>&1 &&
3907 test "X`expr 00001 : '.*\(...\)'`" = X001
; then
3913 if (basename -- /) >/dev
/null
2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3914 as_basename
=basename
3919 if (as_dir
=`dirname -- /` && test "X$as_dir" = X
/) >/dev
/null
2>&1; then
3925 as_me
=`$as_basename -- "$0" ||
3926 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3927 X"$0" : 'X\(//\)$' \| \
3928 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3930 sed '/^.*\/\([^/][^/]*\)\/*$/{
3944 # Avoid depending upon Character Ranges.
3945 as_cr_letters
='abcdefghijklmnopqrstuvwxyz'
3946 as_cr_LETTERS
='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3947 as_cr_Letters
=$as_cr_letters$as_cr_LETTERS
3948 as_cr_digits
='0123456789'
3949 as_cr_alnum
=$as_cr_Letters$as_cr_digits
3951 ECHO_C
= ECHO_N
= ECHO_T
=
3952 case `echo -n x` in #(((((
3954 case `echo 'xy\c'` in
3955 *c
*) ECHO_T
=' ';; # ECHO_T is single tab character.
3957 *) echo `echo ksh88 bug on AIX 6.1` > /dev
/null
3964 rm -f conf$$ conf$$.exe conf$$.
file
3965 if test -d conf$$.dir
; then
3966 rm -f conf$$.dir
/conf$$.
file
3969 mkdir conf$$.dir
2>/dev
/null
3971 if (echo >conf$$.
file) 2>/dev
/null
; then
3972 if ln -s conf$$.
file conf$$
2>/dev
/null
; then
3974 # ... but there are two gotchas:
3975 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3976 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3977 # In both cases, we have to default to `cp -p'.
3978 ln -s conf$$.
file conf$$.dir
2>/dev
/null
&& test ! -f conf$$.exe ||
3980 elif ln conf$$.
file conf$$
2>/dev
/null
; then
3988 rm -f conf$$ conf$$.exe conf$$.dir
/conf$$.
file conf$$.
file
3989 rmdir conf$$.dir
2>/dev
/null
3994 # Create "$as_dir" as a directory, including parents if necessary.
3999 -*) as_dir
=.
/$as_dir;;
4001 test -d "$as_dir" ||
eval $as_mkdir_p ||
{
4005 *\'*) as_qdir
=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4006 *) as_qdir
=$as_dir;;
4008 as_dirs
="'$as_qdir' $as_dirs"
4009 as_dir
=`$as_dirname -- "$as_dir" ||
4010 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4011 X"$as_dir" : 'X\(//\)[^/]' \| \
4012 X"$as_dir" : 'X\(//\)$' \| \
4013 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4014 $as_echo X"$as_dir" |
4015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4032 test -d "$as_dir" && break
4034 test -z "$as_dirs" ||
eval "mkdir $as_dirs"
4035 } ||
test -d "$as_dir" || as_fn_error
"cannot create directory $as_dir"
4039 if mkdir
-p .
2>/dev
/null
; then
4040 as_mkdir_p
='mkdir -p "$as_dir"'
4042 test -d .
/-p && rmdir .
/-p
4046 if test -x / >/dev
/null
2>&1; then
4049 if ls -dL / >/dev
/null
2>&1; then
4056 if test -d "$1"; then
4062 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4063 ???[sx]*):;;*)false;;esac;fi
4067 as_executable_p
=$as_test_x
4069 # Sed expression to map a string onto a valid CPP name.
4070 as_tr_cpp
="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4072 # Sed expression to map a string onto a valid variable name.
4073 as_tr_sh
="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4077 ## ----------------------------------- ##
4078 ## Main body of $CONFIG_STATUS script. ##
4079 ## ----------------------------------- ##
4081 test $as_write_fail = 0 && chmod +x
$CONFIG_STATUS || ac_write_fail
=1
4083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4084 # Save the log message, to keep $0 and so on meaningful, and to
4085 # report actual input values of CONFIG_FILES etc. instead of their
4086 # values after options handling.
4088 This file was extended by jim $as_me 0.63, which was
4089 generated by GNU Autoconf 2.65. Invocation command line was
4091 CONFIG_FILES = $CONFIG_FILES
4092 CONFIG_HEADERS = $CONFIG_HEADERS
4093 CONFIG_LINKS = $CONFIG_LINKS
4094 CONFIG_COMMANDS = $CONFIG_COMMANDS
4097 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4102 case $ac_config_files in *"
4103 "*) set x
$ac_config_files; shift; ac_config_files
=$
*;;
4106 case $ac_config_headers in *"
4107 "*) set x
$ac_config_headers; shift; ac_config_headers
=$
*;;
4111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4112 # Files that config.status was made for.
4113 config_files="$ac_config_files"
4114 config_headers="$ac_config_headers"
4118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4120 \`$as_me' instantiates files and other configuration actions
4121 from templates according to the current configuration. Unless the files
4122 and actions are specified as TAGs, all are instantiated by default.
4124 Usage: $0 [OPTION]... [TAG]...
4126 -h, --help print this help, then exit
4127 -V, --version print version number and configuration settings, then exit
4128 --config print configuration, then exit
4129 -q, --quiet, --silent
4130 do not print progress messages
4131 -d, --debug don't remove temporary files
4132 --recheck update $as_me by reconfiguring in the same conditions
4133 --file=FILE[:TEMPLATE]
4134 instantiate the configuration file FILE
4135 --header=FILE[:TEMPLATE]
4136 instantiate the configuration header FILE
4138 Configuration files:
4141 Configuration headers:
4144 Report bugs to <steveb@workware.net.au>."
4147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4148 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4150 jim config.status 0.63
4151 configured by $0, generated by GNU Autoconf 2.65,
4152 with options \\"\$ac_cs_config\\"
4154 Copyright (C) 2009 Free Software Foundation, Inc.
4155 This config.status script is free software; the Free Software Foundation
4156 gives unlimited permission to copy, distribute and modify it."
4160 test -n "\$AWK" || AWK=awk
4163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4164 # The default lists apply if the user does not specify any file.
4170 ac_option
=`expr "X$1" : 'X\([^=]*\)='`
4171 ac_optarg
=`expr "X$1" : 'X[^=]*=\(.*\)'`
4182 # Handling of the options.
4183 -recheck |
--recheck |
--rechec |
--reche |
--rech |
--rec |
--re |
--r)
4185 --version |
--versio |
--versi |
--vers |
--ver |
--ve |
--v |
-V )
4186 $as_echo "$ac_cs_version"; exit ;;
4187 --config |
--confi |
--conf |
--con |
--co |
--c )
4188 $as_echo "$ac_cs_config"; exit ;;
4189 --debug |
--debu |
--deb |
--de |
--d |
-d )
4191 --file |
--fil |
--fi |
--f )
4194 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4196 as_fn_append CONFIG_FILES
" '$ac_optarg'"
4197 ac_need_defaults
=false
;;
4198 --header |
--heade |
--head |
--hea )
4201 *\'*) ac_optarg
=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4203 as_fn_append CONFIG_HEADERS
" '$ac_optarg'"
4204 ac_need_defaults
=false
;;
4206 # Conflict between --help and --header
4207 as_fn_error
"ambiguous option: \`$1'
4208 Try \`$0 --help' for more information.";;
4209 --help |
--hel |
-h )
4210 $as_echo "$ac_cs_usage"; exit ;;
4211 -q |
-quiet |
--quiet |
--quie |
--qui |
--qu |
--q \
4212 |
-silent |
--silent |
--silen |
--sile |
--sil |
--si |
--s)
4216 -*) as_fn_error
"unrecognized option: \`$1'
4217 Try \`$0 --help' for more information." ;;
4219 *) as_fn_append ac_config_targets
" $1"
4220 ac_need_defaults
=false
;;
4226 ac_configure_extra_args
=
4228 if $ac_cs_silent; then
4230 ac_configure_extra_args
="$ac_configure_extra_args --silent"
4234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4235 if \$ac_cs_recheck; then
4236 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4238 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4239 CONFIG_SHELL='$SHELL'
4245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4249 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4250 ## Running $as_me. ##
4256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4261 # Handling of arguments.
4262 for ac_config_target
in $ac_config_targets
4264 case $ac_config_target in
4265 "autoconf.h") CONFIG_HEADERS
="$CONFIG_HEADERS autoconf.h" ;;
4266 "Makefile") CONFIG_FILES
="$CONFIG_FILES Makefile" ;;
4268 *) as_fn_error
"invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4273 # If the user did not use the arguments to specify the items to instantiate,
4274 # then the envvar interface is used. Set only those that are not.
4275 # We use the long form for the default assignment because of an extremely
4276 # bizarre bug on SunOS 4.1.3.
4277 if $ac_need_defaults; then
4278 test "${CONFIG_FILES+set}" = set || CONFIG_FILES
=$config_files
4279 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS
=$config_headers
4282 # Have a temporary directory for convenience. Make it in the build tree
4283 # simply because there is no reason against having it here, and in addition,
4284 # creating and moving files from /tmp can sometimes cause problems.
4285 # Hook for its removal unless debugging.
4286 # Note that there is a small window in which the directory will not be cleaned:
4287 # after its creation but before its name has been assigned to `$tmp'.
4291 trap 'exit_status=$?
4292 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4294 trap 'as_fn_exit 1' 1 2 13 15
4296 # Create a (secure) tmp directory for tmp files.
4299 tmp
=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4300 test -n "$tmp" && test -d "$tmp"
4303 tmp
=.
/conf$$
-$RANDOM
4304 (umask 077 && mkdir
"$tmp")
4305 } || as_fn_error
"cannot create a temporary directory in ." "$LINENO" 5
4307 # Set up the scripts for CONFIG_FILES section.
4308 # No need to generate them if there are no CONFIG_FILES.
4309 # This happens for instance with `./config.status config.h'.
4310 if test -n "$CONFIG_FILES"; then
4313 ac_cr
=`echo X | tr X '\015'`
4314 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4315 # But we know of no other shell where ac_cr would be empty at this
4316 # point, so we can use a bashism as a fallback.
4317 if test "x$ac_cr" = x
; then
4318 eval ac_cr
=\$
\'\\r
\'
4320 ac_cs_awk_cr
=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4321 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4327 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4332 echo "cat >conf$$subs.awk <<_ACEOF" &&
4333 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4336 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4337 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4339 for ac_last_try in false false false false false :; do
4340 . ./conf$$subs.sh ||
4341 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4343 ac_delim_n=`sed -n "s
/.
*$ac_delim\$
/X
/p
" conf$$subs.awk | grep -c X`
4344 if test $ac_delim_n = $ac_delim_num; then
4346 elif $ac_last_try; then
4347 as_fn_error "could not
make $CONFIG_STATUS" "$LINENO" 5
4349 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4355 cat >>"\
$tmp/subs1.
awk" <<\\_ACAWK &&
4359 s/^/S["/; s
/!.
*/"]=/
4369 s/\(.\{148\}\)..*/\1/
4371 s/["\\]/\\&/g
; s
/^
/"/; s/$/\\n"\\/
4376 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4383 s/\(.\{148\}\)..*/\1/
4385 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/
4389 s
/["\\]/\\&/g; s/^/"/; s
/$
/"\\/
4394 ' <conf$$subs.awk | sed '
4399 ' >>$CONFIG_STATUS || ac_write_fail=1
4400 rm -f conf$$subs.awk
4401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4403 cat >>"\
$tmp/subs1.
awk" <<_ACAWK &&
4404 for (key in S) S_is_set[key] = 1
4410 nfields = split(line, field, "@
")
4412 len = length(field[1])
4413 for (i = 2; i < nfields; i++) {
4415 keylen = length(key)
4416 if (S_is_set[key]) {
4418 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4419 len += length(value) + length(field[++i])
4430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4431 if sed "s
/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4432 sed "s
/$ac_cr\$
//; s
/$ac_cr/$ac_cs_awk_cr/g
"
4435 fi < "$tmp/subs1.
awk" > "$tmp/subs.
awk" \
4436 || as_fn_error "could not setup config files machinery
" "$LINENO" 5
4439 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4440 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".
", strip leading and
4441 # trailing colons and then remove the whole line if VPATH becomes empty
4442 # (actually we leave an empty line to preserve line numbers).
4443 if test "x
$srcdir" = x.; then
4444 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4448 s/^\([^=]*=[ ]*\):*/\1/
4454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4455 fi # test -n "$CONFIG_FILES"
4457 # Set up the scripts for CONFIG_HEADERS section.
4458 # No need to generate them if there are no CONFIG_HEADERS.
4459 # This happens for instance with `./config.status Makefile'.
4460 if test -n "$CONFIG_HEADERS"; then
4461 cat >"$tmp/defines.
awk" <<\_ACAWK ||
4465 # Transform confdefs.h into an awk script `defines.awk', embedded as
4466 # here-document in config.status, that substitutes the proper values into
4467 # config.h.in to produce config.h.
4469 # Create a delimiter string that does not exist in confdefs.h, to ease
4470 # handling of long lines.
4472 for ac_last_try in false false :; do
4473 ac_t=`sed -n "/$ac_delim/p
" confdefs.h`
4474 if test -z "$ac_t"; then
4476 elif $ac_last_try; then
4477 as_fn_error "could not
make $CONFIG_HEADERS" "$LINENO" 5
4479 ac_delim="$ac_delim!$ac_delim _
$ac_delim!! "
4483 # For the awk script, D is an array of macro values keyed by name,
4484 # likewise P contains macro parameters if any. Preserve backslash
4485 # newline sequences.
4487 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4489 s/.\{148\}/&'"$ac_delim"'/g
4492 s/^[ ]*#[ ]*define[ ][ ]*/ /
4499 s
/^ \
('"$ac_word_re"'\
)\
(([^
()]*)\
)[ ]*\
(.
*\
)/P
["\1"]="\2"\
4501 s
/^ \
('"$ac_word_re"'\
)[ ]*\
(.
*\
)/D
["\1"]=" \2"/p
4505 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\
1"]="\
2"\
4506 D["\
1"]=" \
3\\\\\\n
"\\/p
4508 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\
1"]=" \
2\\\\\\n
"\\/p
4513 s/.\{148\}/&'"$ac_delim"'/g
4518 s/["\\]/\\&/g
; s
/^
/"/; s/$/"/p
4521 s
/["\\]/\\&/g; s/^/"/; s
/$
/\\\\\\n
"\\/p
4523 ' <confdefs.h | sed '
4524 s/'"$ac_delim"'/"\\\
4525 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4528 for (key in D) D_is_set[key] = 1
4531 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4533 split(line, arg, " ")
4534 if (arg[1] == "#") {
4538 defundef
= substr
(arg
[1], 2)
4541 split(mac1
, mac2
, "(") #)
4543 prefix
= substr
(line
, 1, index
(line
, defundef
) - 1)
4544 if (D_is_set
[macro
]) {
4545 # Preserve the white space surrounding the "#".
4546 print prefix
"define", macro P
[macro
] D
[macro
]
4549 # Replace #undef with comments. This is necessary, for example,
4550 # in the case of _POSIX_SOURCE, which is predefined and required
4551 # on some systems where configure will not decide to define it.
4552 if (defundef
== "undef") {
4553 print
"/*", prefix defundef
, macro
, "*/"
4561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4562 as_fn_error
"could not setup config headers machinery" "$LINENO" 5
4563 fi # test -n "$CONFIG_HEADERS"
4566 eval set X
" :F $CONFIG_FILES :H $CONFIG_HEADERS "
4571 :[FHLC
]) ac_mode
=$ac_tag; continue;;
4573 case $ac_mode$ac_tag in
4575 :L
* |
:C
*:*) as_fn_error
"invalid tag \`$ac_tag'" "$LINENO" 5;;
4576 :[FH
]-) ac_tag
=-:-;;
4577 :[FH
]*) ac_tag
=$ac_tag:$ac_tag.
in;;
4594 -) ac_f
="$tmp/stdin";;
4595 *) # Look for the file first in the build tree, then in the source tree
4596 # (if the path is not absolute). The absolute path cannot be DOS-style,
4597 # because $ac_f cannot contain `:'.
4601 *) test -f "$srcdir/$ac_f" && ac_f
="$srcdir/$ac_f";;
4603 as_fn_error
"cannot find input file: \`$ac_f'" "$LINENO" 5;;
4605 case $ac_f in *\'*) ac_f
=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4606 as_fn_append ac_file_inputs
" '$ac_f'"
4609 # Let's still pretend it is `configure' which instantiates (i.e., don't
4610 # use $as_me), people would be surprised to read:
4611 # /* config.h. Generated by config.status. */
4612 configure_input
='Generated from '`
4613 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4615 if test x
"$ac_file" != x-
; then
4616 configure_input
="$ac_file. $configure_input"
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4618 $as_echo "$as_me: creating $ac_file" >&6;}
4620 # Neutralize special characters interpreted by sed in replacement strings.
4621 case $configure_input in #(
4622 *\
&* |
*\|
* |
*\\* )
4623 ac_sed_conf_input
=`$as_echo "$configure_input" |
4624 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4625 *) ac_sed_conf_input
=$configure_input;;
4629 *:-:* |
*:-) cat >"$tmp/stdin" \
4630 || as_fn_error
"could not create $ac_file" "$LINENO" 5 ;;
4635 ac_dir
=`$as_dirname -- "$ac_file" ||
4636 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4637 X"$ac_file" : 'X\(//\)[^/]' \| \
4638 X"$ac_file" : 'X\(//\)$' \| \
4639 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4640 $as_echo X"$ac_file" |
4641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4658 as_dir
="$ac_dir"; as_fn_mkdir_p
4662 .
) ac_dir_suffix
= ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4664 ac_dir_suffix
=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4665 # A ".." for each directory in $ac_dir_suffix.
4666 ac_top_builddir_sub
=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4667 case $ac_top_builddir_sub in
4668 "") ac_top_builddir_sub
=. ac_top_build_prefix
= ;;
4669 *) ac_top_build_prefix
=$ac_top_builddir_sub/ ;;
4672 ac_abs_top_builddir
=$ac_pwd
4673 ac_abs_builddir
=$ac_pwd$ac_dir_suffix
4674 # for backward compatibility:
4675 ac_top_builddir
=$ac_top_build_prefix
4678 .
) # We are building in place.
4680 ac_top_srcdir
=$ac_top_builddir_sub
4681 ac_abs_top_srcdir
=$ac_pwd ;;
4682 [\\/]* | ?
:[\\/]* ) # Absolute name.
4683 ac_srcdir
=$srcdir$ac_dir_suffix;
4684 ac_top_srcdir
=$srcdir
4685 ac_abs_top_srcdir
=$srcdir ;;
4687 ac_srcdir
=$ac_top_build_prefix$srcdir$ac_dir_suffix
4688 ac_top_srcdir
=$ac_top_build_prefix$srcdir
4689 ac_abs_top_srcdir
=$ac_pwd/$srcdir ;;
4691 ac_abs_srcdir
=$ac_abs_top_srcdir$ac_dir_suffix
4702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4703 # If the template does not know about datarootdir, expand it.
4704 # FIXME: This hack should be removed a few years after 2.60.
4705 ac_datarootdir_hack
=; ac_datarootdir_seen
=
4716 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4717 *datarootdir
*) ac_datarootdir_seen
=yes;;
4718 *@datadir@
*|
*@docdir@
*|
*@infodir@
*|
*@localedir@
*|
*@mandir@
*)
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4720 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4723 ac_datarootdir_hack='
4724 s&@datadir@&$datadir&g
4725 s&@docdir@&$docdir&g
4726 s&@infodir@&$infodir&g
4727 s&@localedir@&$localedir&g
4728 s&@mandir@&$mandir&g
4729 s&\\\${datarootdir}&$datarootdir&g' ;;
4733 # Neutralize VPATH when `$srcdir' = `.'.
4734 # Shell code in configure.ac might set extrasub.
4735 # FIXME: do we really want to maintain this feature?
4736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4737 ac_sed_extra="$ac_vpsub
4740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail
=1
4742 /@
[a-zA-Z_
][a-zA-Z_0-9
]*@
/!b
4743 s|@configure_input@|
$ac_sed_conf_input|
;t t
4744 s
&@top_builddir@
&$ac_top_builddir_sub&;t t
4745 s
&@top_build_prefix@
&$ac_top_build_prefix&;t t
4746 s
&@srcdir@
&$ac_srcdir&;t t
4747 s
&@abs_srcdir@
&$ac_abs_srcdir&;t t
4748 s
&@top_srcdir@
&$ac_top_srcdir&;t t
4749 s
&@abs_top_srcdir@
&$ac_abs_top_srcdir&;t t
4750 s
&@builddir@
&$ac_builddir&;t t
4751 s
&@abs_builddir@
&$ac_abs_builddir&;t t
4752 s
&@abs_top_builddir@
&$ac_abs_top_builddir&;t t
4753 $ac_datarootdir_hack
4755 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.
awk" >$tmp/out \
4756 || as_fn_error "could not create
$ac_file" "$LINENO" 5
4758 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4759 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out
"`; test -n "$ac_out"; } &&
4760 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out
"`; test -z "$ac_out"; } &&
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING
: $ac_file contains a reference to the variable \
`datarootdir'
4762 which seems to be undefined. Please make sure it is defined." >&5
4763 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir
'
4764 which seems to be undefined. Please make sure it is defined." >&2;}
4768 -) cat "$tmp/out" && rm -f "$tmp/out";;
4769 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4771 || as_fn_error "could not create $ac_file" "$LINENO" 5
4777 if test x"$ac_file" != x-; then
4779 $as_echo "/* $configure_input */" \
4780 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4781 } >"$tmp/config.h" \
4782 || as_fn_error "could not create $ac_file" "$LINENO" 5
4783 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4785 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4788 mv "$tmp/config.h" "$ac_file" \
4789 || as_fn_error "could not create $ac_file" "$LINENO" 5
4792 $as_echo "/* $configure_input */" \
4793 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4794 || as_fn_error "could not create -" "$LINENO" 5
4806 ac_clean_files=$ac_clean_files_save
4808 test $ac_write_fail = 0 ||
4809 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4812 # configure is writing to config.log, and then calls config.status.
4813 # config.status does its own redirection, appending to config.log.
4814 # Unfortunately, on DOS this fails, as config.log is still kept open
4815 # by configure, so config.status won't be able to
write to it
; its
4816 # output is simply discarded. So we exec the FD to /dev/null,
4817 # effectively closing config.log, so it can be properly (re)opened and
4818 # appended to by config.status. When coming back to configure, we
4819 # need to make the FD available again.
4820 if test "$no_create" != yes; then
4822 ac_config_status_args
=
4823 test "$silent" = yes &&
4824 ac_config_status_args
="$ac_config_status_args --quiet"
4826 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success
=false
4828 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4829 # would make configure fail if this is the last instruction.
4830 $ac_cs_success || as_fn_exit $?
4832 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no
; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4834 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}