aio recvfrom was not null terminating the result
[jimtcl.git] / configure
blob768b9ce6c4edf6be3fb0f2239d1c1342a11604d4
1 #! /bin/sh
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,
10 # Inc.
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 :
22 emulate sh
23 NULLCMD=:
24 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
25 # is contrary to our usage. Disable this feature.
26 alias -g '${1+"$@"}'='"$@"'
27 setopt NO_GLOB_SUBST
28 else
29 case `(set -o) 2>/dev/null` in #(
30 *posix*) :
31 set -o posix ;; #(
32 *) :
34 esac
38 as_nl='
40 export as_nl
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
49 as_echo='print -r --'
50 as_echo_n='print -rn --'
51 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
52 as_echo='printf %s\n'
53 as_echo_n='printf %s'
54 else
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'
58 else
59 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 as_echo_n_body='eval
61 arg=$1;
62 case $arg in #(
63 *"$as_nl"*)
64 expr "X$arg" : "X\\(.*\\)$as_nl";
65 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
66 esac;
67 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
69 export as_echo_n_body
70 as_echo_n='sh -c $as_echo_n_body as_echo'
72 export as_echo_body
73 as_echo='sh -c $as_echo_body as_echo'
76 # The user is always right.
77 if test "${PATH_SEPARATOR+set}" != set; then
78 PATH_SEPARATOR=:
79 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
80 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
81 PATH_SEPARATOR=';'
86 # IFS
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.)
91 IFS=" "" $as_nl"
93 # Find who we are. Look in the path if we contain no directory separator.
94 case $0 in #((
95 *[\\/]* ) as_myself=$0 ;;
96 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 for as_dir in $PATH
99 IFS=$as_save_IFS
100 test -z "$as_dir" && as_dir=.
101 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
102 done
103 IFS=$as_save_IFS
106 esac
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
110 as_myself=$0
112 if test ! -f "$as_myself"; then
113 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 exit 1
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 || :
124 done
125 PS1='$ '
126 PS2='> '
127 PS4='+ '
129 # NLS nuisances.
130 LC_ALL=C
131 export LC_ALL
132 LANGUAGE=C
133 export LANGUAGE
135 # CDPATH.
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 :
140 emulate sh
141 NULLCMD=:
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+\"\$@\"}'='\"\$@\"'
145 setopt NO_GLOB_SUBST
146 else
147 case \`(set -o) 2>/dev/null\` in #(
148 *posix*) :
149 set -o posix ;; #(
150 *) :
152 esac
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; }
161 exitcode=0
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 :
168 else
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 :
178 as_have_required=yes
179 else
180 as_have_required=no
182 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
184 else
185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
186 as_found=false
187 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
189 IFS=$as_save_IFS
190 test -z "$as_dir" && as_dir=.
191 as_found=:
192 case $as_dir in #(
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 :
201 break 2
204 done;;
205 esac
206 as_found=false
207 done
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
211 fi; }
212 IFS=$as_save_IFS
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.
219 BASH_ENV=/dev/null
220 ENV=/dev/null
221 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
222 export CONFIG_SHELL
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."
232 else
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."
239 exit 1
243 SHELL=${CONFIG_SHELL-/bin/sh}
244 export SHELL
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 ## --------------------- ##
252 # as_fn_unset VAR
253 # ---------------
254 # Portably unset VAR.
255 as_fn_unset ()
257 { eval $1=; unset $1;}
259 as_unset=as_fn_unset
261 # as_fn_set_status STATUS
262 # -----------------------
263 # Set $? to STATUS, without forking.
264 as_fn_set_status ()
266 return $1
267 } # as_fn_set_status
269 # as_fn_exit STATUS
270 # -----------------
271 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
272 as_fn_exit ()
274 set +e
275 as_fn_set_status $1
276 exit $1
277 } # as_fn_exit
279 # as_fn_mkdir_p
280 # -------------
281 # Create "$as_dir" as a directory, including parents if necessary.
282 as_fn_mkdir_p ()
285 case $as_dir in #(
286 -*) as_dir=./$as_dir;;
287 esac
288 test -d "$as_dir" || eval $as_mkdir_p || {
289 as_dirs=
290 while :; do
291 case $as_dir in #(
292 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
293 *) as_qdir=$as_dir;;
294 esac
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
303 s//\1/
306 /^X\(\/\/\)[^/].*/{
307 s//\1/
310 /^X\(\/\/\)$/{
311 s//\1/
314 /^X\(\/\).*/{
315 s//\1/
318 s/.*/./; q'`
319 test -d "$as_dir" && break
320 done
321 test -z "$as_dirs" || eval "mkdir $as_dirs"
322 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
325 } # as_fn_mkdir_p
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
331 # implementations.
332 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
333 eval 'as_fn_append ()
335 eval $1+=\$2
337 else
338 as_fn_append ()
340 eval $1=\$$1\$2
342 fi # as_fn_append
344 # as_fn_arith ARG...
345 # ------------------
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 :
350 eval 'as_fn_arith ()
352 as_val=$(( $* ))
354 else
355 as_fn_arith ()
357 as_val=`expr "$@" || test $? -eq 1`
359 fi # as_fn_arith
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.
367 as_fn_error ()
369 as_status=$?; test $as_status -eq 0 && as_status=1
370 if test "$3"; then
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
376 } # as_fn_error
378 if expr a : '\(a\)' >/dev/null 2>&1 &&
379 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 as_expr=expr
381 else
382 as_expr=false
385 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 as_basename=basename
387 else
388 as_basename=false
391 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_dirname=dirname
393 else
394 as_dirname=false
397 as_me=`$as_basename -- "$0" ||
398 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
399 X"$0" : 'X\(//\)$' \| \
400 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
401 $as_echo X/"$0" |
402 sed '/^.*\/\([^/][^/]*\)\/*$/{
403 s//\1/
406 /^X\/\(\/\/\)$/{
407 s//\1/
410 /^X\/\(\/\).*/{
411 s//\1/
414 s/.*/./; q'`
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. :-)
429 sed -n '
431 /[$]LINENO/=
432 ' <$as_myself |
433 sed '
434 s/[$]LINENO.*/&-/
435 t lineno
437 :lineno
439 :loop
440 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
441 t loop
442 s/-\n.*//
443 ' >$as_me.lineno &&
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).
450 . "./$as_me.lineno"
451 # Exit status is that of the last command.
452 exit
455 ECHO_C= ECHO_N= ECHO_T=
456 case `echo -n x` in #(((((
457 -n*)
458 case `echo 'xy\c'` in
459 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
460 xy) ECHO_C='\c';;
461 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 ECHO_T=' ';;
463 esac;;
465 ECHO_N='-n';;
466 esac
468 rm -f conf$$ conf$$.exe conf$$.file
469 if test -d conf$$.dir; then
470 rm -f conf$$.dir/conf$$.file
471 else
472 rm -f conf$$.dir
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
477 as_ln_s='ln -s'
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 ||
483 as_ln_s='cp -p'
484 elif ln conf$$.file conf$$ 2>/dev/null; then
485 as_ln_s=ln
486 else
487 as_ln_s='cp -p'
489 else
490 as_ln_s='cp -p'
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"'
497 else
498 test -d ./-p && rmdir ./-p
499 as_mkdir_p=false
502 if test -x / >/dev/null 2>&1; then
503 as_test_x='test -x'
504 else
505 if ls -dL / >/dev/null 2>&1; then
506 as_ls_L_option=L
507 else
508 as_ls_L_option=
510 as_test_x='
511 eval sh -c '\''
512 if test -d "$1"; then
513 test -d "$1/.";
514 else
515 case $1 in #(
516 -*)set "./$1";;
517 esac;
518 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
519 ???[sx]*):;;*)false;;esac;fi
520 '\'' sh
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
533 exec 6>&1
535 # Name of the host.
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`
541 # Initializations.
543 ac_default_prefix=/usr/local
544 ac_clean_files=
545 ac_config_libobj_dir=.
546 LIBOBJS=
547 cross_compiling=no
548 subdirs=
549 MFLAGS=
550 MAKEFLAGS=
552 # Identity of this package.
553 PACKAGE_NAME='jim'
554 PACKAGE_TARNAME='jim'
555 PACKAGE_VERSION='0.63'
556 PACKAGE_STRING='jim 0.63'
557 PACKAGE_BUGREPORT='steveb@workware.net.au'
558 PACKAGE_URL=''
560 # Factoring default headers for most tests.
561 ac_includes_default="\
562 #include <stdio.h>
563 #ifdef HAVE_SYS_TYPES_H
564 # include <sys/types.h>
565 #endif
566 #ifdef HAVE_SYS_STAT_H
567 # include <sys/stat.h>
568 #endif
569 #ifdef STDC_HEADERS
570 # include <stdlib.h>
571 # include <stddef.h>
572 #else
573 # ifdef HAVE_STDLIB_H
574 # include <stdlib.h>
575 # endif
576 #endif
577 #ifdef HAVE_STRING_H
578 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
579 # include <memory.h>
580 # endif
581 # include <string.h>
582 #endif
583 #ifdef HAVE_STRINGS_H
584 # include <strings.h>
585 #endif
586 #ifdef HAVE_INTTYPES_H
587 # include <inttypes.h>
588 #endif
589 #ifdef HAVE_STDINT_H
590 # include <stdint.h>
591 #endif
592 #ifdef HAVE_UNISTD_H
593 # include <unistd.h>
594 #endif"
596 ac_subst_vars='LTLIBOBJS
597 LIBOBJS
598 LIBDL
599 SRCDIR
600 EXTRA_CFLAGS
601 JIM_LIBTYPE
602 JIM_EXTENSIONS
603 SH_LDFLAGS
604 SH_CFLAGS
605 host_os
606 host_vendor
607 host_cpu
608 host
609 build_os
610 build_vendor
611 build_cpu
612 build
613 EGREP
614 GREP
616 HAVE_LONG_LONG
617 SET_MAKE
618 OBJEXT
619 EXEEXT
620 ac_ct_CC
621 CPPFLAGS
622 LDFLAGS
623 CFLAGS
625 target_alias
626 host_alias
627 build_alias
628 LIBS
629 ECHO_T
630 ECHO_N
631 ECHO_C
632 DEFS
633 mandir
634 localedir
635 libdir
636 psdir
637 pdfdir
638 dvidir
639 htmldir
640 infodir
641 docdir
642 oldincludedir
643 includedir
644 localstatedir
645 sharedstatedir
646 sysconfdir
647 datadir
648 datarootdir
649 libexecdir
650 sbindir
651 bindir
652 program_transform_name
653 prefix
654 exec_prefix
655 PACKAGE_URL
656 PACKAGE_BUGREPORT
657 PACKAGE_STRING
658 PACKAGE_VERSION
659 PACKAGE_TARNAME
660 PACKAGE_NAME
661 PATH_SEPARATOR
662 SHELL'
663 ac_subst_files=''
664 ac_user_opts='
665 enable_option_checking
666 enable_fork
667 enable_math
668 with_jim_ext
669 with_jim_shared
671 ac_precious_vars='build_alias
672 host_alias
673 target_alias
675 CFLAGS
676 LDFLAGS
677 LIBS
678 CPPFLAGS
679 CPP'
682 # Initialize some variables set by options.
683 ac_init_help=
684 ac_init_version=false
685 ac_unrecognized_opts=
686 ac_unrecognized_sep=
687 # The variables have the same names as the options, with
688 # dashes changed to underlines.
689 cache_file=/dev/null
690 exec_prefix=NONE
691 no_create=
692 no_recursion=
693 prefix=NONE
694 program_prefix=NONE
695 program_suffix=NONE
696 program_transform_name=s,x,x,
697 silent=
698 site=
699 srcdir=
700 verbose=
701 x_includes=NONE
702 x_libraries=NONE
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'
722 htmldir='${docdir}'
723 dvidir='${docdir}'
724 pdfdir='${docdir}'
725 psdir='${docdir}'
726 libdir='${exec_prefix}/lib'
727 localedir='${datarootdir}/locale'
728 mandir='${datarootdir}/man'
730 ac_prev=
731 ac_dashdash=
732 for ac_option
734 # If the previous option needs an argument, assign it.
735 if test -n "$ac_prev"; then
736 eval $ac_prev=\$ac_option
737 ac_prev=
738 continue
741 case $ac_option in
742 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
743 *) ac_optarg=yes ;;
744 esac
746 # Accept the important Cygnus configure options, so we can diagnose typos.
748 case $ac_dashdash$ac_option in
750 ac_dashdash=yes ;;
752 -bindir | --bindir | --bindi | --bind | --bin | --bi)
753 ac_prev=bindir ;;
754 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
755 bindir=$ac_optarg ;;
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 ;;
769 --config-cache | -C)
770 cache_file=config.cache ;;
772 -datadir | --datadir | --datadi | --datad)
773 ac_prev=datadir ;;
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
793 "enable_$ac_useropt"
794 "*) ;;
795 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
796 ac_unrecognized_sep=', ';;
797 esac
798 eval enable_$ac_useropt=no ;;
800 -docdir | --docdir | --docdi | --doc | --do)
801 ac_prev=docdir ;;
802 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
803 docdir=$ac_optarg ;;
805 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
806 ac_prev=dvidir ;;
807 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
808 dvidir=$ac_optarg ;;
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
819 "enable_$ac_useropt"
820 "*) ;;
821 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
822 ac_unrecognized_sep=', ';;
823 esac
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.
837 with_gas=yes ;;
839 -help | --help | --hel | --he | -h)
840 ac_init_help=long ;;
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)
852 ac_prev=htmldir ;;
853 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
854 | --ht=*)
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)
865 ac_prev=infodir ;;
866 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
867 infodir=$ac_optarg ;;
869 -libdir | --libdir | --libdi | --libd)
870 ac_prev=libdir ;;
871 -libdir=* | --libdir=* | --libdi=* | --libd=*)
872 libdir=$ac_optarg ;;
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)
882 ac_prev=localedir ;;
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)
894 ac_prev=mandir ;;
895 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
896 mandir=$ac_optarg ;;
898 -nfp | --nfp | --nf)
899 # Obsolete; use --without-fp.
900 with_fp=no ;;
902 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
903 | --no-cr | --no-c | -n)
904 no_create=yes ;;
906 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
907 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
908 no_recursion=yes ;;
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)
920 ac_prev=prefix ;;
921 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
922 prefix=$ac_optarg ;;
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)
956 ac_prev=pdfdir ;;
957 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
958 pdfdir=$ac_optarg ;;
960 -psdir | --psdir | --psdi | --psd | --ps)
961 ac_prev=psdir ;;
962 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
963 psdir=$ac_optarg ;;
965 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
966 | -silent | --silent | --silen | --sile | --sil)
967 silent=yes ;;
969 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
970 ac_prev=sbindir ;;
971 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
972 | --sbi=* | --sb=*)
973 sbindir=$ac_optarg ;;
975 -sharedstatedir | --sharedstatedir | --sharedstatedi \
976 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
977 | --sharedst | --shareds | --shared | --share | --shar \
978 | --sha | --sh)
979 ac_prev=sharedstatedir ;;
980 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
981 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
982 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
983 | --sha=* | --sh=*)
984 sharedstatedir=$ac_optarg ;;
986 -site | --site | --sit)
987 ac_prev=site ;;
988 -site=* | --site=* | --sit=*)
989 site=$ac_optarg ;;
991 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
992 ac_prev=srcdir ;;
993 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
994 srcdir=$ac_optarg ;;
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)
1009 verbose=yes ;;
1011 -version | --version | --versio | --versi | --vers | -V)
1012 ac_init_version=: ;;
1014 -with-* | --with-*)
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
1023 "with_$ac_useropt"
1024 "*) ;;
1025 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1026 ac_unrecognized_sep=', ';;
1027 esac
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
1039 "with_$ac_useropt"
1040 "*) ;;
1041 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1042 ac_unrecognized_sep=', ';;
1043 esac
1044 eval with_$ac_useropt=no ;;
1046 --x)
1047 # Obsolete; use --with-x.
1048 with_x=yes ;;
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."
1068 *=*)
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'" ;;
1074 esac
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}
1086 esac
1087 done
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
1096 no) ;;
1097 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1098 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1099 esac
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.
1110 case $ac_val in
1111 */ )
1112 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1113 eval $ac_var=\$ac_val;;
1114 esac
1115 # Be sure to have absolute directory names.
1116 case $ac_val in
1117 [\\/$]* | ?:[\\/]* ) continue;;
1118 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1119 esac
1120 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1121 done
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.
1126 build=$build_alias
1127 host=$host_alias
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
1137 cross_compiling=yes
1141 ac_tool_prefix=
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\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1166 s//\1/
1169 /^X\(\/\/\)[^/].*/{
1170 s//\1/
1173 /^X\(\/\/\)$/{
1174 s//\1/
1177 /^X\(\/\).*/{
1178 s//\1/
1181 s/.*/./; q'`
1182 srcdir=$ac_confdir
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1184 srcdir=..
1186 else
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"
1194 ac_abs_confdir=`(
1195 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1196 pwd)`
1197 # When building in place, set srcdir=.
1198 if test "$ac_abs_confdir" = "$ac_pwd"; then
1199 srcdir=.
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.
1204 case $srcdir in
1205 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1206 esac
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}
1212 done
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.
1220 cat <<_ACEOF
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.
1230 Configuration:
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
1245 [PREFIX]
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]
1274 _ACEOF
1276 cat <<\_ACEOF
1278 System types:
1279 --build=BUILD configure for building on BUILD [guessed]
1280 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1281 _ACEOF
1284 if test -n "$ac_init_help"; then
1285 case $ac_init_help in
1286 short | recursive ) echo "Configuration of jim 0.63:";;
1287 esac
1288 cat <<\_ACEOF
1290 Optional Features:
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
1297 Optional Packages:
1298 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1299 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1300 --with-jim-ext specify jim extensions to build (or all, which is the default)
1301 --with-jim-shared build a shared library instead of a static library
1303 Some influential environment variables:
1304 CC C compiler command
1305 CFLAGS C compiler flags
1306 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1307 nonstandard directory <lib dir>
1308 LIBS libraries to pass to the linker, e.g. -l<library>
1309 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1310 you have headers in a nonstandard directory <include dir>
1311 CPP C preprocessor
1313 Use these variables to override the choices made by `configure' or to help
1314 it to find libraries and programs with nonstandard names/locations.
1316 Report bugs to <steveb@workware.net.au>.
1317 _ACEOF
1318 ac_status=$?
1321 if test "$ac_init_help" = "recursive"; then
1322 # If there are subdirs, report their specific --help.
1323 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1324 test -d "$ac_dir" ||
1325 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1326 continue
1327 ac_builddir=.
1329 case "$ac_dir" in
1330 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1332 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1333 # A ".." for each directory in $ac_dir_suffix.
1334 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1335 case $ac_top_builddir_sub in
1336 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1338 esac ;;
1339 esac
1340 ac_abs_top_builddir=$ac_pwd
1341 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1342 # for backward compatibility:
1343 ac_top_builddir=$ac_top_build_prefix
1345 case $srcdir in
1346 .) # We are building in place.
1347 ac_srcdir=.
1348 ac_top_srcdir=$ac_top_builddir_sub
1349 ac_abs_top_srcdir=$ac_pwd ;;
1350 [\\/]* | ?:[\\/]* ) # Absolute name.
1351 ac_srcdir=$srcdir$ac_dir_suffix;
1352 ac_top_srcdir=$srcdir
1353 ac_abs_top_srcdir=$srcdir ;;
1354 *) # Relative name.
1355 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1356 ac_top_srcdir=$ac_top_build_prefix$srcdir
1357 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1358 esac
1359 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1361 cd "$ac_dir" || { ac_status=$?; continue; }
1362 # Check for guested configure.
1363 if test -f "$ac_srcdir/configure.gnu"; then
1364 echo &&
1365 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1366 elif test -f "$ac_srcdir/configure"; then
1367 echo &&
1368 $SHELL "$ac_srcdir/configure" --help=recursive
1369 else
1370 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1371 fi || ac_status=$?
1372 cd "$ac_pwd" || { ac_status=$?; break; }
1373 done
1376 test -n "$ac_init_help" && exit $ac_status
1377 if $ac_init_version; then
1378 cat <<\_ACEOF
1379 jim configure 0.63
1380 generated by GNU Autoconf 2.65
1382 Copyright (C) 2009 Free Software Foundation, Inc.
1383 This configure script is free software; the Free Software Foundation
1384 gives unlimited permission to copy, distribute and modify it.
1385 _ACEOF
1386 exit
1389 ## ------------------------ ##
1390 ## Autoconf initialization. ##
1391 ## ------------------------ ##
1393 # ac_fn_c_try_compile LINENO
1394 # --------------------------
1395 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1396 ac_fn_c_try_compile ()
1398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1399 rm -f conftest.$ac_objext
1400 if { { ac_try="$ac_compile"
1401 case "(($ac_try" in
1402 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1403 *) ac_try_echo=$ac_try;;
1404 esac
1405 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1406 $as_echo "$ac_try_echo"; } >&5
1407 (eval "$ac_compile") 2>conftest.err
1408 ac_status=$?
1409 if test -s conftest.err; then
1410 grep -v '^ *+' conftest.err >conftest.er1
1411 cat conftest.er1 >&5
1412 mv -f conftest.er1 conftest.err
1414 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1415 test $ac_status = 0; } && {
1416 test -z "$ac_c_werror_flag" ||
1417 test ! -s conftest.err
1418 } && test -s conftest.$ac_objext; then :
1419 ac_retval=0
1420 else
1421 $as_echo "$as_me: failed program was:" >&5
1422 sed 's/^/| /' conftest.$ac_ext >&5
1424 ac_retval=1
1426 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1427 as_fn_set_status $ac_retval
1429 } # ac_fn_c_try_compile
1431 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1432 # -------------------------------------------
1433 # Tests whether TYPE exists after having included INCLUDES, setting cache
1434 # variable VAR accordingly.
1435 ac_fn_c_check_type ()
1437 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1439 $as_echo_n "checking for $2... " >&6; }
1440 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1441 $as_echo_n "(cached) " >&6
1442 else
1443 eval "$3=no"
1444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1445 /* end confdefs.h. */
1448 main ()
1450 if (sizeof ($2))
1451 return 0;
1453 return 0;
1455 _ACEOF
1456 if ac_fn_c_try_compile "$LINENO"; then :
1457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1458 /* end confdefs.h. */
1461 main ()
1463 if (sizeof (($2)))
1464 return 0;
1466 return 0;
1468 _ACEOF
1469 if ac_fn_c_try_compile "$LINENO"; then :
1471 else
1472 eval "$3=yes"
1474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1478 eval ac_res=\$$3
1479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1480 $as_echo "$ac_res" >&6; }
1481 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1483 } # ac_fn_c_check_type
1485 # ac_fn_c_try_cpp LINENO
1486 # ----------------------
1487 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1488 ac_fn_c_try_cpp ()
1490 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1491 if { { ac_try="$ac_cpp conftest.$ac_ext"
1492 case "(($ac_try" in
1493 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1494 *) ac_try_echo=$ac_try;;
1495 esac
1496 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1497 $as_echo "$ac_try_echo"; } >&5
1498 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1499 ac_status=$?
1500 if test -s conftest.err; then
1501 grep -v '^ *+' conftest.err >conftest.er1
1502 cat conftest.er1 >&5
1503 mv -f conftest.er1 conftest.err
1505 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1506 test $ac_status = 0; } >/dev/null && {
1507 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1508 test ! -s conftest.err
1509 }; then :
1510 ac_retval=0
1511 else
1512 $as_echo "$as_me: failed program was:" >&5
1513 sed 's/^/| /' conftest.$ac_ext >&5
1515 ac_retval=1
1517 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1518 as_fn_set_status $ac_retval
1520 } # ac_fn_c_try_cpp
1522 # ac_fn_c_try_run LINENO
1523 # ----------------------
1524 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1525 # that executables *can* be run.
1526 ac_fn_c_try_run ()
1528 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1529 if { { ac_try="$ac_link"
1530 case "(($ac_try" in
1531 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1532 *) ac_try_echo=$ac_try;;
1533 esac
1534 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1535 $as_echo "$ac_try_echo"; } >&5
1536 (eval "$ac_link") 2>&5
1537 ac_status=$?
1538 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1539 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1540 { { case "(($ac_try" in
1541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1542 *) ac_try_echo=$ac_try;;
1543 esac
1544 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1545 $as_echo "$ac_try_echo"; } >&5
1546 (eval "$ac_try") 2>&5
1547 ac_status=$?
1548 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1549 test $ac_status = 0; }; }; then :
1550 ac_retval=0
1551 else
1552 $as_echo "$as_me: program exited with status $ac_status" >&5
1553 $as_echo "$as_me: failed program was:" >&5
1554 sed 's/^/| /' conftest.$ac_ext >&5
1556 ac_retval=$ac_status
1558 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1559 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1560 as_fn_set_status $ac_retval
1562 } # ac_fn_c_try_run
1564 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1565 # -------------------------------------------------------
1566 # Tests whether HEADER exists and can be compiled using the include files in
1567 # INCLUDES, setting the cache variable VAR accordingly.
1568 ac_fn_c_check_header_compile ()
1570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1572 $as_echo_n "checking for $2... " >&6; }
1573 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1574 $as_echo_n "(cached) " >&6
1575 else
1576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1577 /* end confdefs.h. */
1579 #include <$2>
1580 _ACEOF
1581 if ac_fn_c_try_compile "$LINENO"; then :
1582 eval "$3=yes"
1583 else
1584 eval "$3=no"
1586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1588 eval ac_res=\$$3
1589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1590 $as_echo "$ac_res" >&6; }
1591 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1593 } # ac_fn_c_check_header_compile
1595 # ac_fn_c_try_link LINENO
1596 # -----------------------
1597 # Try to link conftest.$ac_ext, and return whether this succeeded.
1598 ac_fn_c_try_link ()
1600 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1601 rm -f conftest.$ac_objext conftest$ac_exeext
1602 if { { ac_try="$ac_link"
1603 case "(($ac_try" in
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1606 esac
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_link") 2>conftest.err
1610 ac_status=$?
1611 if test -s conftest.err; then
1612 grep -v '^ *+' conftest.err >conftest.er1
1613 cat conftest.er1 >&5
1614 mv -f conftest.er1 conftest.err
1616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1617 test $ac_status = 0; } && {
1618 test -z "$ac_c_werror_flag" ||
1619 test ! -s conftest.err
1620 } && test -s conftest$ac_exeext && {
1621 test "$cross_compiling" = yes ||
1622 $as_test_x conftest$ac_exeext
1623 }; then :
1624 ac_retval=0
1625 else
1626 $as_echo "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.$ac_ext >&5
1629 ac_retval=1
1631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1632 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1633 # interfere with the next link command; also delete a directory that is
1634 # left behind by Apple's compiler. We do this before executing the actions.
1635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1636 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1637 as_fn_set_status $ac_retval
1639 } # ac_fn_c_try_link
1641 # ac_fn_c_check_func LINENO FUNC VAR
1642 # ----------------------------------
1643 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1644 ac_fn_c_check_func ()
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 $as_echo_n "checking for $2... " >&6; }
1649 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1650 $as_echo_n "(cached) " >&6
1651 else
1652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1653 /* end confdefs.h. */
1654 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1656 #define $2 innocuous_$2
1658 /* System header to define __stub macros and hopefully few prototypes,
1659 which can conflict with char $2 (); below.
1660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1661 <limits.h> exists even on freestanding compilers. */
1663 #ifdef __STDC__
1664 # include <limits.h>
1665 #else
1666 # include <assert.h>
1667 #endif
1669 #undef $2
1671 /* Override any GCC internal prototype to avoid an error.
1672 Use char because int might match the return type of a GCC
1673 builtin and then its argument prototype would still apply. */
1674 #ifdef __cplusplus
1675 extern "C"
1676 #endif
1677 char $2 ();
1678 /* The GNU C library defines this for functions which it implements
1679 to always fail with ENOSYS. Some functions are actually named
1680 something starting with __ and the normal name is an alias. */
1681 #if defined __stub_$2 || defined __stub___$2
1682 choke me
1683 #endif
1686 main ()
1688 return $2 ();
1690 return 0;
1692 _ACEOF
1693 if ac_fn_c_try_link "$LINENO"; then :
1694 eval "$3=yes"
1695 else
1696 eval "$3=no"
1698 rm -f core conftest.err conftest.$ac_objext \
1699 conftest$ac_exeext conftest.$ac_ext
1701 eval ac_res=\$$3
1702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1703 $as_echo "$ac_res" >&6; }
1704 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1706 } # ac_fn_c_check_func
1707 cat >config.log <<_ACEOF
1708 This file contains any messages produced by compilers while
1709 running configure, to aid debugging if configure makes a mistake.
1711 It was created by jim $as_me 0.63, which was
1712 generated by GNU Autoconf 2.65. Invocation command line was
1714 $ $0 $@
1716 _ACEOF
1717 exec 5>>config.log
1719 cat <<_ASUNAME
1720 ## --------- ##
1721 ## Platform. ##
1722 ## --------- ##
1724 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1725 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1726 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1727 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1728 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1730 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1731 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1733 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1734 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1735 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1736 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1737 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1738 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1739 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1741 _ASUNAME
1743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1744 for as_dir in $PATH
1746 IFS=$as_save_IFS
1747 test -z "$as_dir" && as_dir=.
1748 $as_echo "PATH: $as_dir"
1749 done
1750 IFS=$as_save_IFS
1752 } >&5
1754 cat >&5 <<_ACEOF
1757 ## ----------- ##
1758 ## Core tests. ##
1759 ## ----------- ##
1761 _ACEOF
1764 # Keep a trace of the command line.
1765 # Strip out --no-create and --no-recursion so they do not pile up.
1766 # Strip out --silent because we don't want to record it for future runs.
1767 # Also quote any args containing shell meta-characters.
1768 # Make two passes to allow for proper duplicate-argument suppression.
1769 ac_configure_args=
1770 ac_configure_args0=
1771 ac_configure_args1=
1772 ac_must_keep_next=false
1773 for ac_pass in 1 2
1775 for ac_arg
1777 case $ac_arg in
1778 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1779 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1780 | -silent | --silent | --silen | --sile | --sil)
1781 continue ;;
1782 *\'*)
1783 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1784 esac
1785 case $ac_pass in
1786 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1788 as_fn_append ac_configure_args1 " '$ac_arg'"
1789 if test $ac_must_keep_next = true; then
1790 ac_must_keep_next=false # Got value, back to normal.
1791 else
1792 case $ac_arg in
1793 *=* | --config-cache | -C | -disable-* | --disable-* \
1794 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1795 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1796 | -with-* | --with-* | -without-* | --without-* | --x)
1797 case "$ac_configure_args0 " in
1798 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1799 esac
1801 -* ) ac_must_keep_next=true ;;
1802 esac
1804 as_fn_append ac_configure_args " '$ac_arg'"
1806 esac
1807 done
1808 done
1809 { ac_configure_args0=; unset ac_configure_args0;}
1810 { ac_configure_args1=; unset ac_configure_args1;}
1812 # When interrupted or exit'd, cleanup temporary files, and complete
1813 # config.log. We remove comments because anyway the quotes in there
1814 # would cause problems or look ugly.
1815 # WARNING: Use '\'' to represent an apostrophe within the trap.
1816 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1817 trap 'exit_status=$?
1818 # Save into config.log some information that might help in debugging.
1820 echo
1822 cat <<\_ASBOX
1823 ## ---------------- ##
1824 ## Cache variables. ##
1825 ## ---------------- ##
1826 _ASBOX
1827 echo
1828 # The following way of writing the cache mishandles newlines in values,
1830 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1831 eval ac_val=\$$ac_var
1832 case $ac_val in #(
1833 *${as_nl}*)
1834 case $ac_var in #(
1835 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1836 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1837 esac
1838 case $ac_var in #(
1839 _ | IFS | as_nl) ;; #(
1840 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1841 *) { eval $ac_var=; unset $ac_var;} ;;
1842 esac ;;
1843 esac
1844 done
1845 (set) 2>&1 |
1846 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1847 *${as_nl}ac_space=\ *)
1848 sed -n \
1849 "s/'\''/'\''\\\\'\'''\''/g;
1850 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1851 ;; #(
1853 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1855 esac |
1856 sort
1858 echo
1860 cat <<\_ASBOX
1861 ## ----------------- ##
1862 ## Output variables. ##
1863 ## ----------------- ##
1864 _ASBOX
1865 echo
1866 for ac_var in $ac_subst_vars
1868 eval ac_val=\$$ac_var
1869 case $ac_val in
1870 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1871 esac
1872 $as_echo "$ac_var='\''$ac_val'\''"
1873 done | sort
1874 echo
1876 if test -n "$ac_subst_files"; then
1877 cat <<\_ASBOX
1878 ## ------------------- ##
1879 ## File substitutions. ##
1880 ## ------------------- ##
1881 _ASBOX
1882 echo
1883 for ac_var in $ac_subst_files
1885 eval ac_val=\$$ac_var
1886 case $ac_val in
1887 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1888 esac
1889 $as_echo "$ac_var='\''$ac_val'\''"
1890 done | sort
1891 echo
1894 if test -s confdefs.h; then
1895 cat <<\_ASBOX
1896 ## ----------- ##
1897 ## confdefs.h. ##
1898 ## ----------- ##
1899 _ASBOX
1900 echo
1901 cat confdefs.h
1902 echo
1904 test "$ac_signal" != 0 &&
1905 $as_echo "$as_me: caught signal $ac_signal"
1906 $as_echo "$as_me: exit $exit_status"
1907 } >&5
1908 rm -f core *.core core.conftest.* &&
1909 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1910 exit $exit_status
1912 for ac_signal in 1 2 13 15; do
1913 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1914 done
1915 ac_signal=0
1917 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1918 rm -f -r conftest* confdefs.h
1920 $as_echo "/* confdefs.h */" > confdefs.h
1922 # Predefined preprocessor variables.
1924 cat >>confdefs.h <<_ACEOF
1925 #define PACKAGE_NAME "$PACKAGE_NAME"
1926 _ACEOF
1928 cat >>confdefs.h <<_ACEOF
1929 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1930 _ACEOF
1932 cat >>confdefs.h <<_ACEOF
1933 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1934 _ACEOF
1936 cat >>confdefs.h <<_ACEOF
1937 #define PACKAGE_STRING "$PACKAGE_STRING"
1938 _ACEOF
1940 cat >>confdefs.h <<_ACEOF
1941 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1942 _ACEOF
1944 cat >>confdefs.h <<_ACEOF
1945 #define PACKAGE_URL "$PACKAGE_URL"
1946 _ACEOF
1949 # Let the site file select an alternate cache file if it wants to.
1950 # Prefer an explicitly selected file to automatically selected ones.
1951 ac_site_file1=NONE
1952 ac_site_file2=NONE
1953 if test -n "$CONFIG_SITE"; then
1954 ac_site_file1=$CONFIG_SITE
1955 elif test "x$prefix" != xNONE; then
1956 ac_site_file1=$prefix/share/config.site
1957 ac_site_file2=$prefix/etc/config.site
1958 else
1959 ac_site_file1=$ac_default_prefix/share/config.site
1960 ac_site_file2=$ac_default_prefix/etc/config.site
1962 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1964 test "x$ac_site_file" = xNONE && continue
1965 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1966 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1967 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1968 sed 's/^/| /' "$ac_site_file" >&5
1969 . "$ac_site_file"
1971 done
1973 if test -r "$cache_file"; then
1974 # Some versions of bash will fail to source /dev/null (special files
1975 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1976 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1977 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1978 $as_echo "$as_me: loading cache $cache_file" >&6;}
1979 case $cache_file in
1980 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1981 *) . "./$cache_file";;
1982 esac
1984 else
1985 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1986 $as_echo "$as_me: creating cache $cache_file" >&6;}
1987 >$cache_file
1990 # Check that the precious variables saved in the cache have kept the same
1991 # value.
1992 ac_cache_corrupted=false
1993 for ac_var in $ac_precious_vars; do
1994 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1995 eval ac_new_set=\$ac_env_${ac_var}_set
1996 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1997 eval ac_new_val=\$ac_env_${ac_var}_value
1998 case $ac_old_set,$ac_new_set in
1999 set,)
2000 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2001 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2002 ac_cache_corrupted=: ;;
2003 ,set)
2004 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2005 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2006 ac_cache_corrupted=: ;;
2007 ,);;
2009 if test "x$ac_old_val" != "x$ac_new_val"; then
2010 # differences in whitespace do not lead to failure.
2011 ac_old_val_w=`echo x $ac_old_val`
2012 ac_new_val_w=`echo x $ac_new_val`
2013 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2014 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2015 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2016 ac_cache_corrupted=:
2017 else
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2019 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2020 eval $ac_var=\$ac_old_val
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2023 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2024 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2025 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2026 fi;;
2027 esac
2028 # Pass precious variables to config.status.
2029 if test "$ac_new_set" = set; then
2030 case $ac_new_val in
2031 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2032 *) ac_arg=$ac_var=$ac_new_val ;;
2033 esac
2034 case " $ac_configure_args " in
2035 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2036 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2037 esac
2039 done
2040 if $ac_cache_corrupted; then
2041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2042 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2043 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2044 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2045 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2047 ## -------------------- ##
2048 ## Main body of script. ##
2049 ## -------------------- ##
2051 ac_ext=c
2052 ac_cpp='$CPP $CPPFLAGS'
2053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2058 ac_config_headers="$ac_config_headers autoconf.h"
2061 # Checks for programs.
2062 ac_ext=c
2063 ac_cpp='$CPP $CPPFLAGS'
2064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2067 if test -n "$ac_tool_prefix"; then
2068 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2069 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2071 $as_echo_n "checking for $ac_word... " >&6; }
2072 if test "${ac_cv_prog_CC+set}" = set; then :
2073 $as_echo_n "(cached) " >&6
2074 else
2075 if test -n "$CC"; then
2076 ac_cv_prog_CC="$CC" # Let the user override the test.
2077 else
2078 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2079 for as_dir in $PATH
2081 IFS=$as_save_IFS
2082 test -z "$as_dir" && as_dir=.
2083 for ac_exec_ext in '' $ac_executable_extensions; do
2084 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2085 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2086 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2087 break 2
2089 done
2090 done
2091 IFS=$as_save_IFS
2095 CC=$ac_cv_prog_CC
2096 if test -n "$CC"; then
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2098 $as_echo "$CC" >&6; }
2099 else
2100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2101 $as_echo "no" >&6; }
2106 if test -z "$ac_cv_prog_CC"; then
2107 ac_ct_CC=$CC
2108 # Extract the first word of "gcc", so it can be a program name with args.
2109 set dummy gcc; ac_word=$2
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2111 $as_echo_n "checking for $ac_word... " >&6; }
2112 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2113 $as_echo_n "(cached) " >&6
2114 else
2115 if test -n "$ac_ct_CC"; then
2116 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2117 else
2118 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2119 for as_dir in $PATH
2121 IFS=$as_save_IFS
2122 test -z "$as_dir" && as_dir=.
2123 for ac_exec_ext in '' $ac_executable_extensions; do
2124 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2125 ac_cv_prog_ac_ct_CC="gcc"
2126 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2127 break 2
2129 done
2130 done
2131 IFS=$as_save_IFS
2135 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2136 if test -n "$ac_ct_CC"; then
2137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2138 $as_echo "$ac_ct_CC" >&6; }
2139 else
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2141 $as_echo "no" >&6; }
2144 if test "x$ac_ct_CC" = x; then
2145 CC=""
2146 else
2147 case $cross_compiling:$ac_tool_warned in
2148 yes:)
2149 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2150 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2151 ac_tool_warned=yes ;;
2152 esac
2153 CC=$ac_ct_CC
2155 else
2156 CC="$ac_cv_prog_CC"
2159 if test -z "$CC"; then
2160 if test -n "$ac_tool_prefix"; then
2161 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2162 set dummy ${ac_tool_prefix}cc; ac_word=$2
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2164 $as_echo_n "checking for $ac_word... " >&6; }
2165 if test "${ac_cv_prog_CC+set}" = set; then :
2166 $as_echo_n "(cached) " >&6
2167 else
2168 if test -n "$CC"; then
2169 ac_cv_prog_CC="$CC" # Let the user override the test.
2170 else
2171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2172 for as_dir in $PATH
2174 IFS=$as_save_IFS
2175 test -z "$as_dir" && as_dir=.
2176 for ac_exec_ext in '' $ac_executable_extensions; do
2177 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2178 ac_cv_prog_CC="${ac_tool_prefix}cc"
2179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2180 break 2
2182 done
2183 done
2184 IFS=$as_save_IFS
2188 CC=$ac_cv_prog_CC
2189 if test -n "$CC"; then
2190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2191 $as_echo "$CC" >&6; }
2192 else
2193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2194 $as_echo "no" >&6; }
2200 if test -z "$CC"; then
2201 # Extract the first word of "cc", so it can be a program name with args.
2202 set dummy cc; ac_word=$2
2203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2204 $as_echo_n "checking for $ac_word... " >&6; }
2205 if test "${ac_cv_prog_CC+set}" = set; then :
2206 $as_echo_n "(cached) " >&6
2207 else
2208 if test -n "$CC"; then
2209 ac_cv_prog_CC="$CC" # Let the user override the test.
2210 else
2211 ac_prog_rejected=no
2212 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2213 for as_dir in $PATH
2215 IFS=$as_save_IFS
2216 test -z "$as_dir" && as_dir=.
2217 for ac_exec_ext in '' $ac_executable_extensions; do
2218 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2219 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2220 ac_prog_rejected=yes
2221 continue
2223 ac_cv_prog_CC="cc"
2224 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2225 break 2
2227 done
2228 done
2229 IFS=$as_save_IFS
2231 if test $ac_prog_rejected = yes; then
2232 # We found a bogon in the path, so make sure we never use it.
2233 set dummy $ac_cv_prog_CC
2234 shift
2235 if test $# != 0; then
2236 # We chose a different compiler from the bogus one.
2237 # However, it has the same basename, so the bogon will be chosen
2238 # first if we set CC to just the basename; use the full file name.
2239 shift
2240 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2245 CC=$ac_cv_prog_CC
2246 if test -n "$CC"; then
2247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2248 $as_echo "$CC" >&6; }
2249 else
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2251 $as_echo "no" >&6; }
2256 if test -z "$CC"; then
2257 if test -n "$ac_tool_prefix"; then
2258 for ac_prog in cl.exe
2260 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2261 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2263 $as_echo_n "checking for $ac_word... " >&6; }
2264 if test "${ac_cv_prog_CC+set}" = set; then :
2265 $as_echo_n "(cached) " >&6
2266 else
2267 if test -n "$CC"; then
2268 ac_cv_prog_CC="$CC" # Let the user override the test.
2269 else
2270 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2271 for as_dir in $PATH
2273 IFS=$as_save_IFS
2274 test -z "$as_dir" && as_dir=.
2275 for ac_exec_ext in '' $ac_executable_extensions; do
2276 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2277 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2278 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2279 break 2
2281 done
2282 done
2283 IFS=$as_save_IFS
2287 CC=$ac_cv_prog_CC
2288 if test -n "$CC"; then
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2290 $as_echo "$CC" >&6; }
2291 else
2292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2293 $as_echo "no" >&6; }
2297 test -n "$CC" && break
2298 done
2300 if test -z "$CC"; then
2301 ac_ct_CC=$CC
2302 for ac_prog in cl.exe
2304 # Extract the first word of "$ac_prog", so it can be a program name with args.
2305 set dummy $ac_prog; ac_word=$2
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2307 $as_echo_n "checking for $ac_word... " >&6; }
2308 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2309 $as_echo_n "(cached) " >&6
2310 else
2311 if test -n "$ac_ct_CC"; then
2312 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2313 else
2314 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2315 for as_dir in $PATH
2317 IFS=$as_save_IFS
2318 test -z "$as_dir" && as_dir=.
2319 for ac_exec_ext in '' $ac_executable_extensions; do
2320 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2321 ac_cv_prog_ac_ct_CC="$ac_prog"
2322 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 break 2
2325 done
2326 done
2327 IFS=$as_save_IFS
2331 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2332 if test -n "$ac_ct_CC"; then
2333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2334 $as_echo "$ac_ct_CC" >&6; }
2335 else
2336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2337 $as_echo "no" >&6; }
2341 test -n "$ac_ct_CC" && break
2342 done
2344 if test "x$ac_ct_CC" = x; then
2345 CC=""
2346 else
2347 case $cross_compiling:$ac_tool_warned in
2348 yes:)
2349 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2350 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2351 ac_tool_warned=yes ;;
2352 esac
2353 CC=$ac_ct_CC
2360 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2361 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2362 as_fn_error "no acceptable C compiler found in \$PATH
2363 See \`config.log' for more details." "$LINENO" 5; }
2365 # Provide some information about the compiler.
2366 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2367 set X $ac_compile
2368 ac_compiler=$2
2369 for ac_option in --version -v -V -qversion; do
2370 { { ac_try="$ac_compiler $ac_option >&5"
2371 case "(($ac_try" in
2372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2373 *) ac_try_echo=$ac_try;;
2374 esac
2375 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2376 $as_echo "$ac_try_echo"; } >&5
2377 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2378 ac_status=$?
2379 if test -s conftest.err; then
2380 sed '10a\
2381 ... rest of stderr output deleted ...
2382 10q' conftest.err >conftest.er1
2383 cat conftest.er1 >&5
2385 rm -f conftest.er1 conftest.err
2386 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2387 test $ac_status = 0; }
2388 done
2390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2391 /* end confdefs.h. */
2394 main ()
2398 return 0;
2400 _ACEOF
2401 ac_clean_files_save=$ac_clean_files
2402 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2403 # Try to create an executable without -o first, disregard a.out.
2404 # It will help us diagnose broken compilers, and finding out an intuition
2405 # of exeext.
2406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2407 $as_echo_n "checking whether the C compiler works... " >&6; }
2408 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2410 # The possible output files:
2411 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2413 ac_rmfiles=
2414 for ac_file in $ac_files
2416 case $ac_file in
2417 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2418 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2419 esac
2420 done
2421 rm -f $ac_rmfiles
2423 if { { ac_try="$ac_link_default"
2424 case "(($ac_try" in
2425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2426 *) ac_try_echo=$ac_try;;
2427 esac
2428 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2429 $as_echo "$ac_try_echo"; } >&5
2430 (eval "$ac_link_default") 2>&5
2431 ac_status=$?
2432 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2433 test $ac_status = 0; }; then :
2434 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2435 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2436 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2437 # so that the user can short-circuit this test for compilers unknown to
2438 # Autoconf.
2439 for ac_file in $ac_files ''
2441 test -f "$ac_file" || continue
2442 case $ac_file in
2443 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2445 [ab].out )
2446 # We found the default executable, but exeext='' is most
2447 # certainly right.
2448 break;;
2449 *.* )
2450 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2451 then :; else
2452 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2454 # We set ac_cv_exeext here because the later test for it is not
2455 # safe: cross compilers may not add the suffix if given an `-o'
2456 # argument, so we may need to know it at that point already.
2457 # Even if this section looks crufty: it has the advantage of
2458 # actually working.
2459 break;;
2461 break;;
2462 esac
2463 done
2464 test "$ac_cv_exeext" = no && ac_cv_exeext=
2466 else
2467 ac_file=''
2469 if test -z "$ac_file"; then :
2470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2471 $as_echo "no" >&6; }
2472 $as_echo "$as_me: failed program was:" >&5
2473 sed 's/^/| /' conftest.$ac_ext >&5
2475 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2477 { as_fn_set_status 77
2478 as_fn_error "C compiler cannot create executables
2479 See \`config.log' for more details." "$LINENO" 5; }; }
2480 else
2481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2482 $as_echo "yes" >&6; }
2484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2485 $as_echo_n "checking for C compiler default output file name... " >&6; }
2486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2487 $as_echo "$ac_file" >&6; }
2488 ac_exeext=$ac_cv_exeext
2490 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2491 ac_clean_files=$ac_clean_files_save
2492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2493 $as_echo_n "checking for suffix of executables... " >&6; }
2494 if { { ac_try="$ac_link"
2495 case "(($ac_try" in
2496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2497 *) ac_try_echo=$ac_try;;
2498 esac
2499 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2500 $as_echo "$ac_try_echo"; } >&5
2501 (eval "$ac_link") 2>&5
2502 ac_status=$?
2503 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2504 test $ac_status = 0; }; then :
2505 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2506 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2507 # work properly (i.e., refer to `conftest.exe'), while it won't with
2508 # `rm'.
2509 for ac_file in conftest.exe conftest conftest.*; do
2510 test -f "$ac_file" || continue
2511 case $ac_file in
2512 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2513 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2514 break;;
2515 * ) break;;
2516 esac
2517 done
2518 else
2519 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2520 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2521 as_fn_error "cannot compute suffix of executables: cannot compile and link
2522 See \`config.log' for more details." "$LINENO" 5; }
2524 rm -f conftest conftest$ac_cv_exeext
2525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2526 $as_echo "$ac_cv_exeext" >&6; }
2528 rm -f conftest.$ac_ext
2529 EXEEXT=$ac_cv_exeext
2530 ac_exeext=$EXEEXT
2531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2532 /* end confdefs.h. */
2533 #include <stdio.h>
2535 main ()
2537 FILE *f = fopen ("conftest.out", "w");
2538 return ferror (f) || fclose (f) != 0;
2541 return 0;
2543 _ACEOF
2544 ac_clean_files="$ac_clean_files conftest.out"
2545 # Check that the compiler produces executables we can run. If not, either
2546 # the compiler is broken, or we cross compile.
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2548 $as_echo_n "checking whether we are cross compiling... " >&6; }
2549 if test "$cross_compiling" != yes; then
2550 { { ac_try="$ac_link"
2551 case "(($ac_try" in
2552 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2553 *) ac_try_echo=$ac_try;;
2554 esac
2555 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2556 $as_echo "$ac_try_echo"; } >&5
2557 (eval "$ac_link") 2>&5
2558 ac_status=$?
2559 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2560 test $ac_status = 0; }
2561 if { ac_try='./conftest$ac_cv_exeext'
2562 { { case "(($ac_try" in
2563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2564 *) ac_try_echo=$ac_try;;
2565 esac
2566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2567 $as_echo "$ac_try_echo"; } >&5
2568 (eval "$ac_try") 2>&5
2569 ac_status=$?
2570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2571 test $ac_status = 0; }; }; then
2572 cross_compiling=no
2573 else
2574 if test "$cross_compiling" = maybe; then
2575 cross_compiling=yes
2576 else
2577 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2578 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2579 as_fn_error "cannot run C compiled programs.
2580 If you meant to cross compile, use \`--host'.
2581 See \`config.log' for more details." "$LINENO" 5; }
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2586 $as_echo "$cross_compiling" >&6; }
2588 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2589 ac_clean_files=$ac_clean_files_save
2590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2591 $as_echo_n "checking for suffix of object files... " >&6; }
2592 if test "${ac_cv_objext+set}" = set; then :
2593 $as_echo_n "(cached) " >&6
2594 else
2595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2596 /* end confdefs.h. */
2599 main ()
2603 return 0;
2605 _ACEOF
2606 rm -f conftest.o conftest.obj
2607 if { { ac_try="$ac_compile"
2608 case "(($ac_try" in
2609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2610 *) ac_try_echo=$ac_try;;
2611 esac
2612 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2613 $as_echo "$ac_try_echo"; } >&5
2614 (eval "$ac_compile") 2>&5
2615 ac_status=$?
2616 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2617 test $ac_status = 0; }; then :
2618 for ac_file in conftest.o conftest.obj conftest.*; do
2619 test -f "$ac_file" || continue;
2620 case $ac_file in
2621 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2622 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2623 break;;
2624 esac
2625 done
2626 else
2627 $as_echo "$as_me: failed program was:" >&5
2628 sed 's/^/| /' conftest.$ac_ext >&5
2630 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2631 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2632 as_fn_error "cannot compute suffix of object files: cannot compile
2633 See \`config.log' for more details." "$LINENO" 5; }
2635 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2638 $as_echo "$ac_cv_objext" >&6; }
2639 OBJEXT=$ac_cv_objext
2640 ac_objext=$OBJEXT
2641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2642 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2643 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2644 $as_echo_n "(cached) " >&6
2645 else
2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647 /* end confdefs.h. */
2650 main ()
2652 #ifndef __GNUC__
2653 choke me
2654 #endif
2657 return 0;
2659 _ACEOF
2660 if ac_fn_c_try_compile "$LINENO"; then :
2661 ac_compiler_gnu=yes
2662 else
2663 ac_compiler_gnu=no
2665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2666 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2670 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2671 if test $ac_compiler_gnu = yes; then
2672 GCC=yes
2673 else
2674 GCC=
2676 ac_test_CFLAGS=${CFLAGS+set}
2677 ac_save_CFLAGS=$CFLAGS
2678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2679 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2680 if test "${ac_cv_prog_cc_g+set}" = set; then :
2681 $as_echo_n "(cached) " >&6
2682 else
2683 ac_save_c_werror_flag=$ac_c_werror_flag
2684 ac_c_werror_flag=yes
2685 ac_cv_prog_cc_g=no
2686 CFLAGS="-g"
2687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2688 /* end confdefs.h. */
2691 main ()
2695 return 0;
2697 _ACEOF
2698 if ac_fn_c_try_compile "$LINENO"; then :
2699 ac_cv_prog_cc_g=yes
2700 else
2701 CFLAGS=""
2702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2703 /* end confdefs.h. */
2706 main ()
2710 return 0;
2712 _ACEOF
2713 if ac_fn_c_try_compile "$LINENO"; then :
2715 else
2716 ac_c_werror_flag=$ac_save_c_werror_flag
2717 CFLAGS="-g"
2718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2719 /* end confdefs.h. */
2722 main ()
2726 return 0;
2728 _ACEOF
2729 if ac_fn_c_try_compile "$LINENO"; then :
2730 ac_cv_prog_cc_g=yes
2732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 ac_c_werror_flag=$ac_save_c_werror_flag
2739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2740 $as_echo "$ac_cv_prog_cc_g" >&6; }
2741 if test "$ac_test_CFLAGS" = set; then
2742 CFLAGS=$ac_save_CFLAGS
2743 elif test $ac_cv_prog_cc_g = yes; then
2744 if test "$GCC" = yes; then
2745 CFLAGS="-g -O2"
2746 else
2747 CFLAGS="-g"
2749 else
2750 if test "$GCC" = yes; then
2751 CFLAGS="-O2"
2752 else
2753 CFLAGS=
2756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2757 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2758 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2759 $as_echo_n "(cached) " >&6
2760 else
2761 ac_cv_prog_cc_c89=no
2762 ac_save_CC=$CC
2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764 /* end confdefs.h. */
2765 #include <stdarg.h>
2766 #include <stdio.h>
2767 #include <sys/types.h>
2768 #include <sys/stat.h>
2769 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2770 struct buf { int x; };
2771 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2772 static char *e (p, i)
2773 char **p;
2774 int i;
2776 return p[i];
2778 static char *f (char * (*g) (char **, int), char **p, ...)
2780 char *s;
2781 va_list v;
2782 va_start (v,p);
2783 s = g (p, va_arg (v,int));
2784 va_end (v);
2785 return s;
2788 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2789 function prototypes and stuff, but not '\xHH' hex character constants.
2790 These don't provoke an error unfortunately, instead are silently treated
2791 as 'x'. The following induces an error, until -std is added to get
2792 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2793 array size at least. It's necessary to write '\x00'==0 to get something
2794 that's true only with -std. */
2795 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2797 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2798 inside strings and character constants. */
2799 #define FOO(x) 'x'
2800 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2802 int test (int i, double x);
2803 struct s1 {int (*f) (int a);};
2804 struct s2 {int (*f) (double a);};
2805 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2806 int argc;
2807 char **argv;
2809 main ()
2811 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2813 return 0;
2815 _ACEOF
2816 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2817 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2819 CC="$ac_save_CC $ac_arg"
2820 if ac_fn_c_try_compile "$LINENO"; then :
2821 ac_cv_prog_cc_c89=$ac_arg
2823 rm -f core conftest.err conftest.$ac_objext
2824 test "x$ac_cv_prog_cc_c89" != "xno" && break
2825 done
2826 rm -f conftest.$ac_ext
2827 CC=$ac_save_CC
2830 # AC_CACHE_VAL
2831 case "x$ac_cv_prog_cc_c89" in
2833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2834 $as_echo "none needed" >&6; } ;;
2835 xno)
2836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2837 $as_echo "unsupported" >&6; } ;;
2839 CC="$CC $ac_cv_prog_cc_c89"
2840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2841 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2842 esac
2843 if test "x$ac_cv_prog_cc_c89" != xno; then :
2847 ac_ext=c
2848 ac_cpp='$CPP $CPPFLAGS'
2849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2854 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2855 set x ${MAKE-make}
2856 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2857 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2858 $as_echo_n "(cached) " >&6
2859 else
2860 cat >conftest.make <<\_ACEOF
2861 SHELL = /bin/sh
2862 all:
2863 @echo '@@@%%%=$(MAKE)=@@@%%%'
2864 _ACEOF
2865 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2866 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2867 *@@@%%%=?*=@@@%%%*)
2868 eval ac_cv_prog_make_${ac_make}_set=yes;;
2870 eval ac_cv_prog_make_${ac_make}_set=no;;
2871 esac
2872 rm -f conftest.make
2874 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2876 $as_echo "yes" >&6; }
2877 SET_MAKE=
2878 else
2879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2880 $as_echo "no" >&6; }
2881 SET_MAKE="MAKE=${MAKE-make}"
2885 # Checks for types
2887 ac_ext=c
2888 ac_cpp='$CPP $CPPFLAGS'
2889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2893 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2894 # On Suns, sometimes $CPP names a directory.
2895 if test -n "$CPP" && test -d "$CPP"; then
2896 CPP=
2898 if test -z "$CPP"; then
2899 if test "${ac_cv_prog_CPP+set}" = set; then :
2900 $as_echo_n "(cached) " >&6
2901 else
2902 # Double quotes because CPP needs to be expanded
2903 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2905 ac_preproc_ok=false
2906 for ac_c_preproc_warn_flag in '' yes
2908 # Use a header file that comes with gcc, so configuring glibc
2909 # with a fresh cross-compiler works.
2910 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2911 # <limits.h> exists even on freestanding compilers.
2912 # On the NeXT, cc -E runs the code through the compiler's parser,
2913 # not just through cpp. "Syntax error" is here to catch this case.
2914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2915 /* end confdefs.h. */
2916 #ifdef __STDC__
2917 # include <limits.h>
2918 #else
2919 # include <assert.h>
2920 #endif
2921 Syntax error
2922 _ACEOF
2923 if ac_fn_c_try_cpp "$LINENO"; then :
2925 else
2926 # Broken: fails on valid input.
2927 continue
2929 rm -f conftest.err conftest.$ac_ext
2931 # OK, works on sane cases. Now check whether nonexistent headers
2932 # can be detected and how.
2933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2934 /* end confdefs.h. */
2935 #include <ac_nonexistent.h>
2936 _ACEOF
2937 if ac_fn_c_try_cpp "$LINENO"; then :
2938 # Broken: success on invalid input.
2939 continue
2940 else
2941 # Passes both tests.
2942 ac_preproc_ok=:
2943 break
2945 rm -f conftest.err conftest.$ac_ext
2947 done
2948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2949 rm -f conftest.err conftest.$ac_ext
2950 if $ac_preproc_ok; then :
2951 break
2954 done
2955 ac_cv_prog_CPP=$CPP
2958 CPP=$ac_cv_prog_CPP
2959 else
2960 ac_cv_prog_CPP=$CPP
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2963 $as_echo "$CPP" >&6; }
2964 ac_preproc_ok=false
2965 for ac_c_preproc_warn_flag in '' yes
2967 # Use a header file that comes with gcc, so configuring glibc
2968 # with a fresh cross-compiler works.
2969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2970 # <limits.h> exists even on freestanding compilers.
2971 # On the NeXT, cc -E runs the code through the compiler's parser,
2972 # not just through cpp. "Syntax error" is here to catch this case.
2973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2974 /* end confdefs.h. */
2975 #ifdef __STDC__
2976 # include <limits.h>
2977 #else
2978 # include <assert.h>
2979 #endif
2980 Syntax error
2981 _ACEOF
2982 if ac_fn_c_try_cpp "$LINENO"; then :
2984 else
2985 # Broken: fails on valid input.
2986 continue
2988 rm -f conftest.err conftest.$ac_ext
2990 # OK, works on sane cases. Now check whether nonexistent headers
2991 # can be detected and how.
2992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2993 /* end confdefs.h. */
2994 #include <ac_nonexistent.h>
2995 _ACEOF
2996 if ac_fn_c_try_cpp "$LINENO"; then :
2997 # Broken: success on invalid input.
2998 continue
2999 else
3000 # Passes both tests.
3001 ac_preproc_ok=:
3002 break
3004 rm -f conftest.err conftest.$ac_ext
3006 done
3007 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3008 rm -f conftest.err conftest.$ac_ext
3009 if $ac_preproc_ok; then :
3011 else
3012 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3013 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3014 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3015 See \`config.log' for more details." "$LINENO" 5; }
3018 ac_ext=c
3019 ac_cpp='$CPP $CPPFLAGS'
3020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3026 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3027 if test "${ac_cv_path_GREP+set}" = set; then :
3028 $as_echo_n "(cached) " >&6
3029 else
3030 if test -z "$GREP"; then
3031 ac_path_GREP_found=false
3032 # Loop through the user's path and test for each of PROGNAME-LIST
3033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3034 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3036 IFS=$as_save_IFS
3037 test -z "$as_dir" && as_dir=.
3038 for ac_prog in grep ggrep; do
3039 for ac_exec_ext in '' $ac_executable_extensions; do
3040 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3041 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3042 # Check for GNU ac_path_GREP and select it if it is found.
3043 # Check for GNU $ac_path_GREP
3044 case `"$ac_path_GREP" --version 2>&1` in
3045 *GNU*)
3046 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3048 ac_count=0
3049 $as_echo_n 0123456789 >"conftest.in"
3050 while :
3052 cat "conftest.in" "conftest.in" >"conftest.tmp"
3053 mv "conftest.tmp" "conftest.in"
3054 cp "conftest.in" "conftest.nl"
3055 $as_echo 'GREP' >> "conftest.nl"
3056 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3057 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3058 as_fn_arith $ac_count + 1 && ac_count=$as_val
3059 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3060 # Best one so far, save it but keep looking for a better one
3061 ac_cv_path_GREP="$ac_path_GREP"
3062 ac_path_GREP_max=$ac_count
3064 # 10*(2^10) chars as input seems more than enough
3065 test $ac_count -gt 10 && break
3066 done
3067 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3068 esac
3070 $ac_path_GREP_found && break 3
3071 done
3072 done
3073 done
3074 IFS=$as_save_IFS
3075 if test -z "$ac_cv_path_GREP"; then
3076 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3078 else
3079 ac_cv_path_GREP=$GREP
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3084 $as_echo "$ac_cv_path_GREP" >&6; }
3085 GREP="$ac_cv_path_GREP"
3088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3089 $as_echo_n "checking for egrep... " >&6; }
3090 if test "${ac_cv_path_EGREP+set}" = set; then :
3091 $as_echo_n "(cached) " >&6
3092 else
3093 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3094 then ac_cv_path_EGREP="$GREP -E"
3095 else
3096 if test -z "$EGREP"; then
3097 ac_path_EGREP_found=false
3098 # Loop through the user's path and test for each of PROGNAME-LIST
3099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3100 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3102 IFS=$as_save_IFS
3103 test -z "$as_dir" && as_dir=.
3104 for ac_prog in egrep; do
3105 for ac_exec_ext in '' $ac_executable_extensions; do
3106 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3107 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3108 # Check for GNU ac_path_EGREP and select it if it is found.
3109 # Check for GNU $ac_path_EGREP
3110 case `"$ac_path_EGREP" --version 2>&1` in
3111 *GNU*)
3112 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3114 ac_count=0
3115 $as_echo_n 0123456789 >"conftest.in"
3116 while :
3118 cat "conftest.in" "conftest.in" >"conftest.tmp"
3119 mv "conftest.tmp" "conftest.in"
3120 cp "conftest.in" "conftest.nl"
3121 $as_echo 'EGREP' >> "conftest.nl"
3122 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3123 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3124 as_fn_arith $ac_count + 1 && ac_count=$as_val
3125 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3126 # Best one so far, save it but keep looking for a better one
3127 ac_cv_path_EGREP="$ac_path_EGREP"
3128 ac_path_EGREP_max=$ac_count
3130 # 10*(2^10) chars as input seems more than enough
3131 test $ac_count -gt 10 && break
3132 done
3133 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3134 esac
3136 $ac_path_EGREP_found && break 3
3137 done
3138 done
3139 done
3140 IFS=$as_save_IFS
3141 if test -z "$ac_cv_path_EGREP"; then
3142 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3144 else
3145 ac_cv_path_EGREP=$EGREP
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3151 $as_echo "$ac_cv_path_EGREP" >&6; }
3152 EGREP="$ac_cv_path_EGREP"
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3156 $as_echo_n "checking for ANSI C header files... " >&6; }
3157 if test "${ac_cv_header_stdc+set}" = set; then :
3158 $as_echo_n "(cached) " >&6
3159 else
3160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3161 /* end confdefs.h. */
3162 #include <stdlib.h>
3163 #include <stdarg.h>
3164 #include <string.h>
3165 #include <float.h>
3168 main ()
3172 return 0;
3174 _ACEOF
3175 if ac_fn_c_try_compile "$LINENO"; then :
3176 ac_cv_header_stdc=yes
3177 else
3178 ac_cv_header_stdc=no
3180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3182 if test $ac_cv_header_stdc = yes; then
3183 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3185 /* end confdefs.h. */
3186 #include <string.h>
3188 _ACEOF
3189 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3190 $EGREP "memchr" >/dev/null 2>&1; then :
3192 else
3193 ac_cv_header_stdc=no
3195 rm -f conftest*
3199 if test $ac_cv_header_stdc = yes; then
3200 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3203 #include <stdlib.h>
3205 _ACEOF
3206 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3207 $EGREP "free" >/dev/null 2>&1; then :
3209 else
3210 ac_cv_header_stdc=no
3212 rm -f conftest*
3216 if test $ac_cv_header_stdc = yes; then
3217 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3218 if test "$cross_compiling" = yes; then :
3220 else
3221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3222 /* end confdefs.h. */
3223 #include <ctype.h>
3224 #include <stdlib.h>
3225 #if ((' ' & 0x0FF) == 0x020)
3226 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3227 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3228 #else
3229 # define ISLOWER(c) \
3230 (('a' <= (c) && (c) <= 'i') \
3231 || ('j' <= (c) && (c) <= 'r') \
3232 || ('s' <= (c) && (c) <= 'z'))
3233 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3234 #endif
3236 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3238 main ()
3240 int i;
3241 for (i = 0; i < 256; i++)
3242 if (XOR (islower (i), ISLOWER (i))
3243 || toupper (i) != TOUPPER (i))
3244 return 2;
3245 return 0;
3247 _ACEOF
3248 if ac_fn_c_try_run "$LINENO"; then :
3250 else
3251 ac_cv_header_stdc=no
3253 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3254 conftest.$ac_objext conftest.beam conftest.$ac_ext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3260 $as_echo "$ac_cv_header_stdc" >&6; }
3261 if test $ac_cv_header_stdc = yes; then
3263 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3267 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3268 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3269 inttypes.h stdint.h unistd.h
3270 do :
3271 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3272 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3274 eval as_val=\$$as_ac_Header
3275 if test "x$as_val" = x""yes; then :
3276 cat >>confdefs.h <<_ACEOF
3277 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3278 _ACEOF
3282 done
3285 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
3286 if test "x$ac_cv_type_long_long" = x""yes; then :
3288 cat >>confdefs.h <<_ACEOF
3289 #define HAVE_LONG_LONG 1
3290 _ACEOF
3292 HAVE_LONG_LONG="#define HAVE_LONG_LONG"
3297 # Shared library support. Because we don't believe in automake!
3298 ac_aux_dir=
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
3302 ac_aux_dir=$ac_dir
3303 ac_install_sh="$ac_aux_dir/$ac_t -c"
3304 break 2
3306 done
3307 done
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
3329 else
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
3342 *-*-*) ;;
3343 *) as_fn_error "invalid value of canonical build" "$LINENO" 5;;
3344 esac
3345 build=$ac_cv_build
3346 ac_save_IFS=$IFS; IFS='-'
3347 set x $ac_cv_build
3348 shift
3349 build_cpu=$1
3350 build_vendor=$2
3351 shift; shift
3352 # Remember, the first character of IFS is used to create $*,
3353 # except with old shells:
3354 build_os=$*
3355 IFS=$ac_save_IFS
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
3363 else
3364 if test "x$host_alias" = x; then
3365 ac_cv_host=$ac_cv_build
3366 else
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; }
3374 case $ac_cv_host in
3375 *-*-*) ;;
3376 *) as_fn_error "invalid value of canonical host" "$LINENO" 5;;
3377 esac
3378 host=$ac_cv_host
3379 ac_save_IFS=$IFS; IFS='-'
3380 set x $ac_cv_host
3381 shift
3382 host_cpu=$1
3383 host_vendor=$2
3384 shift; shift
3385 # Remember, the first character of IFS is used to create $*,
3386 # except with old shells:
3387 host_os=$*
3388 IFS=$ac_save_IFS
3389 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3392 case $host in
3393 *-*-darwin*)
3394 SH_CFLAGS=-dynamic
3396 SH_LDFLAGS="-dynamiclib -undefined suppress -flat_namespace"
3399 SH_CFLAGS=-fPIC
3401 SH_LDFLAGS=-shared
3403 esac
3405 # Check whether --enable-fork was given.
3406 if test "${enable_fork+set}" = set; then :
3407 enableval=$enable_fork;
3408 if test "x$enableval" = "xno" ; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: * disabling fork" >&5
3410 $as_echo "* disabling fork" >&6; }
3411 EXTRA_CFLAGS="-DJIM_NOFORK"
3416 # Check whether --enable-math was given.
3417 if test "${enable_math+set}" = set; then :
3418 enableval=$enable_math;
3419 if test "x$enableval" = "xyes" ; then
3420 EXTRA_CFLAGS="$EXTRA_CFLAGS -DJIM_MATH_FUNCTIONS"
3427 jim_extensions="stdlib load package readdir glob array clock exec file posix regexp signal tclcompat aio bio eventloop syslog"
3429 # Check whether --with-jim-ext was given.
3430 if test "${with_jim_ext+set}" = set; then :
3431 withval=$with_jim_ext;
3432 if test "x$withval" != "xno" ; then
3433 if test "x$withval" != "xall" ; then
3434 jim_extensions="$withval"
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling jim extensions: $jim_extensions" >&5
3442 $as_echo "enabling jim extensions: $jim_extensions" >&6; }
3443 JIM_EXTENSIONS=$jim_extensions
3445 for i in $jim_extensions; do
3446 EXTRA_CFLAGS="$EXTRA_CFLAGS -Djim_ext_$i"
3447 done
3449 JIM_LIBTYPE=static
3451 # Check whether --with-jim-shared was given.
3452 if test "${with_jim_shared+set}" = set; then :
3453 withval=$with_jim_shared;
3454 if test "x$withval" = "xyes" ; then
3455 JIM_LIBTYPE=shared
3461 JIM_LIBTYPE=$JIM_LIBTYPE
3464 for ac_func in ualarm sysinfo lstat fork vfork
3465 do :
3466 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3467 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3468 eval as_val=\$$as_ac_var
3469 if test "x$as_val" = x""yes; then :
3470 cat >>confdefs.h <<_ACEOF
3471 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3472 _ACEOF
3475 done
3477 for ac_func in backtrace geteuid mkstemp realpath strptime
3478 do :
3479 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3480 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3481 eval as_val=\$$as_ac_var
3482 if test "x$as_val" = x""yes; then :
3483 cat >>confdefs.h <<_ACEOF
3484 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3485 _ACEOF
3488 done
3491 EXTRA_CFLAGS=$EXTRA_CFLAGS
3493 SRCDIR=`dirname $0`
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
3497 $as_echo_n "checking for dlopen in -ldl... " >&6; }
3498 if test "${ac_cv_lib_dl_dlopen+set}" = set; then :
3499 $as_echo_n "(cached) " >&6
3500 else
3501 ac_check_lib_save_LIBS=$LIBS
3502 LIBS="-ldl $LIBS"
3503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3504 /* end confdefs.h. */
3506 /* Override any GCC internal prototype to avoid an error.
3507 Use char because int might match the return type of a GCC
3508 builtin and then its argument prototype would still apply. */
3509 #ifdef __cplusplus
3510 extern "C"
3511 #endif
3512 char dlopen ();
3514 main ()
3516 return dlopen ();
3518 return 0;
3520 _ACEOF
3521 if ac_fn_c_try_link "$LINENO"; then :
3522 ac_cv_lib_dl_dlopen=yes
3523 else
3524 ac_cv_lib_dl_dlopen=no
3526 rm -f core conftest.err conftest.$ac_objext \
3527 conftest$ac_exeext conftest.$ac_ext
3528 LIBS=$ac_check_lib_save_LIBS
3530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
3531 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
3532 if test "x$ac_cv_lib_dl_dlopen" = x""yes; then :
3533 LIBDL=-ldl
3538 ac_config_files="$ac_config_files Makefile"
3540 cat >confcache <<\_ACEOF
3541 # This file is a shell script that caches the results of configure
3542 # tests run on this system so they can be shared between configure
3543 # scripts and configure runs, see configure's option --config-cache.
3544 # It is not useful on other systems. If it contains results you don't
3545 # want to keep, you may remove or edit it.
3547 # config.status only pays attention to the cache file if you give it
3548 # the --recheck option to rerun configure.
3550 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3551 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3552 # following values.
3554 _ACEOF
3556 # The following way of writing the cache mishandles newlines in values,
3557 # but we know of no workaround that is simple, portable, and efficient.
3558 # So, we kill variables containing newlines.
3559 # Ultrix sh set writes to stderr and can't be redirected directly,
3560 # and sets the high bit in the cache file unless we assign to the vars.
3562 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3563 eval ac_val=\$$ac_var
3564 case $ac_val in #(
3565 *${as_nl}*)
3566 case $ac_var in #(
3567 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3568 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3569 esac
3570 case $ac_var in #(
3571 _ | IFS | as_nl) ;; #(
3572 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3573 *) { eval $ac_var=; unset $ac_var;} ;;
3574 esac ;;
3575 esac
3576 done
3578 (set) 2>&1 |
3579 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3580 *${as_nl}ac_space=\ *)
3581 # `set' does not quote correctly, so add quotes: double-quote
3582 # substitution turns \\\\ into \\, and sed turns \\ into \.
3583 sed -n \
3584 "s/'/'\\\\''/g;
3585 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3586 ;; #(
3588 # `set' quotes correctly as required by POSIX, so do not add quotes.
3589 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3591 esac |
3592 sort
3594 sed '
3595 /^ac_cv_env_/b end
3596 t clear
3597 :clear
3598 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3599 t end
3600 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3601 :end' >>confcache
3602 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3603 if test -w "$cache_file"; then
3604 test "x$cache_file" != "x/dev/null" &&
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3606 $as_echo "$as_me: updating cache $cache_file" >&6;}
3607 cat confcache >$cache_file
3608 else
3609 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3610 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3613 rm -f confcache
3615 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3616 # Let make expand exec_prefix.
3617 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3619 DEFS=-DHAVE_CONFIG_H
3621 ac_libobjs=
3622 ac_ltlibobjs=
3623 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3624 # 1. Remove the extension, and $U if already installed.
3625 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3626 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3627 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3628 # will be set to the directory where LIBOBJS objects are built.
3629 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3630 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3631 done
3632 LIBOBJS=$ac_libobjs
3634 LTLIBOBJS=$ac_ltlibobjs
3638 : ${CONFIG_STATUS=./config.status}
3639 ac_write_fail=0
3640 ac_clean_files_save=$ac_clean_files
3641 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3642 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3643 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3644 as_write_fail=0
3645 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3646 #! $SHELL
3647 # Generated by $as_me.
3648 # Run this file to recreate the current configuration.
3649 # Compiler output produced by configure, useful for debugging
3650 # configure, is in config.log if it exists.
3652 debug=false
3653 ac_cs_recheck=false
3654 ac_cs_silent=false
3656 SHELL=\${CONFIG_SHELL-$SHELL}
3657 export SHELL
3658 _ASEOF
3659 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3660 ## -------------------- ##
3661 ## M4sh Initialization. ##
3662 ## -------------------- ##
3664 # Be more Bourne compatible
3665 DUALCASE=1; export DUALCASE # for MKS sh
3666 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3667 emulate sh
3668 NULLCMD=:
3669 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3670 # is contrary to our usage. Disable this feature.
3671 alias -g '${1+"$@"}'='"$@"'
3672 setopt NO_GLOB_SUBST
3673 else
3674 case `(set -o) 2>/dev/null` in #(
3675 *posix*) :
3676 set -o posix ;; #(
3677 *) :
3679 esac
3683 as_nl='
3685 export as_nl
3686 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3687 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3688 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3689 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3690 # Prefer a ksh shell builtin over an external printf program on Solaris,
3691 # but without wasting forks for bash or zsh.
3692 if test -z "$BASH_VERSION$ZSH_VERSION" \
3693 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3694 as_echo='print -r --'
3695 as_echo_n='print -rn --'
3696 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3697 as_echo='printf %s\n'
3698 as_echo_n='printf %s'
3699 else
3700 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3701 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3702 as_echo_n='/usr/ucb/echo -n'
3703 else
3704 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3705 as_echo_n_body='eval
3706 arg=$1;
3707 case $arg in #(
3708 *"$as_nl"*)
3709 expr "X$arg" : "X\\(.*\\)$as_nl";
3710 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3711 esac;
3712 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3714 export as_echo_n_body
3715 as_echo_n='sh -c $as_echo_n_body as_echo'
3717 export as_echo_body
3718 as_echo='sh -c $as_echo_body as_echo'
3721 # The user is always right.
3722 if test "${PATH_SEPARATOR+set}" != set; then
3723 PATH_SEPARATOR=:
3724 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3725 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3726 PATH_SEPARATOR=';'
3731 # IFS
3732 # We need space, tab and new line, in precisely that order. Quoting is
3733 # there to prevent editors from complaining about space-tab.
3734 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3735 # splitting by setting IFS to empty value.)
3736 IFS=" "" $as_nl"
3738 # Find who we are. Look in the path if we contain no directory separator.
3739 case $0 in #((
3740 *[\\/]* ) as_myself=$0 ;;
3741 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3742 for as_dir in $PATH
3744 IFS=$as_save_IFS
3745 test -z "$as_dir" && as_dir=.
3746 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3747 done
3748 IFS=$as_save_IFS
3751 esac
3752 # We did not find ourselves, most probably we were run as `sh COMMAND'
3753 # in which case we are not to be found in the path.
3754 if test "x$as_myself" = x; then
3755 as_myself=$0
3757 if test ! -f "$as_myself"; then
3758 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3759 exit 1
3762 # Unset variables that we do not need and which cause bugs (e.g. in
3763 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3764 # suppresses any "Segmentation fault" message there. '((' could
3765 # trigger a bug in pdksh 5.2.14.
3766 for as_var in BASH_ENV ENV MAIL MAILPATH
3767 do eval test x\${$as_var+set} = xset \
3768 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3769 done
3770 PS1='$ '
3771 PS2='> '
3772 PS4='+ '
3774 # NLS nuisances.
3775 LC_ALL=C
3776 export LC_ALL
3777 LANGUAGE=C
3778 export LANGUAGE
3780 # CDPATH.
3781 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3784 # as_fn_error ERROR [LINENO LOG_FD]
3785 # ---------------------------------
3786 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3787 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3788 # script with status $?, using 1 if that was 0.
3789 as_fn_error ()
3791 as_status=$?; test $as_status -eq 0 && as_status=1
3792 if test "$3"; then
3793 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3794 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3796 $as_echo "$as_me: error: $1" >&2
3797 as_fn_exit $as_status
3798 } # as_fn_error
3801 # as_fn_set_status STATUS
3802 # -----------------------
3803 # Set $? to STATUS, without forking.
3804 as_fn_set_status ()
3806 return $1
3807 } # as_fn_set_status
3809 # as_fn_exit STATUS
3810 # -----------------
3811 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3812 as_fn_exit ()
3814 set +e
3815 as_fn_set_status $1
3816 exit $1
3817 } # as_fn_exit
3819 # as_fn_unset VAR
3820 # ---------------
3821 # Portably unset VAR.
3822 as_fn_unset ()
3824 { eval $1=; unset $1;}
3826 as_unset=as_fn_unset
3827 # as_fn_append VAR VALUE
3828 # ----------------------
3829 # Append the text in VALUE to the end of the definition contained in VAR. Take
3830 # advantage of any shell optimizations that allow amortized linear growth over
3831 # repeated appends, instead of the typical quadratic growth present in naive
3832 # implementations.
3833 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3834 eval 'as_fn_append ()
3836 eval $1+=\$2
3838 else
3839 as_fn_append ()
3841 eval $1=\$$1\$2
3843 fi # as_fn_append
3845 # as_fn_arith ARG...
3846 # ------------------
3847 # Perform arithmetic evaluation on the ARGs, and store the result in the
3848 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3849 # must be portable across $(()) and expr.
3850 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3851 eval 'as_fn_arith ()
3853 as_val=$(( $* ))
3855 else
3856 as_fn_arith ()
3858 as_val=`expr "$@" || test $? -eq 1`
3860 fi # as_fn_arith
3863 if expr a : '\(a\)' >/dev/null 2>&1 &&
3864 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3865 as_expr=expr
3866 else
3867 as_expr=false
3870 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3871 as_basename=basename
3872 else
3873 as_basename=false
3876 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3877 as_dirname=dirname
3878 else
3879 as_dirname=false
3882 as_me=`$as_basename -- "$0" ||
3883 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3884 X"$0" : 'X\(//\)$' \| \
3885 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3886 $as_echo X/"$0" |
3887 sed '/^.*\/\([^/][^/]*\)\/*$/{
3888 s//\1/
3891 /^X\/\(\/\/\)$/{
3892 s//\1/
3895 /^X\/\(\/\).*/{
3896 s//\1/
3899 s/.*/./; q'`
3901 # Avoid depending upon Character Ranges.
3902 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3903 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3904 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3905 as_cr_digits='0123456789'
3906 as_cr_alnum=$as_cr_Letters$as_cr_digits
3908 ECHO_C= ECHO_N= ECHO_T=
3909 case `echo -n x` in #(((((
3910 -n*)
3911 case `echo 'xy\c'` in
3912 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3913 xy) ECHO_C='\c';;
3914 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3915 ECHO_T=' ';;
3916 esac;;
3918 ECHO_N='-n';;
3919 esac
3921 rm -f conf$$ conf$$.exe conf$$.file
3922 if test -d conf$$.dir; then
3923 rm -f conf$$.dir/conf$$.file
3924 else
3925 rm -f conf$$.dir
3926 mkdir conf$$.dir 2>/dev/null
3928 if (echo >conf$$.file) 2>/dev/null; then
3929 if ln -s conf$$.file conf$$ 2>/dev/null; then
3930 as_ln_s='ln -s'
3931 # ... but there are two gotchas:
3932 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3933 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3934 # In both cases, we have to default to `cp -p'.
3935 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3936 as_ln_s='cp -p'
3937 elif ln conf$$.file conf$$ 2>/dev/null; then
3938 as_ln_s=ln
3939 else
3940 as_ln_s='cp -p'
3942 else
3943 as_ln_s='cp -p'
3945 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3946 rmdir conf$$.dir 2>/dev/null
3949 # as_fn_mkdir_p
3950 # -------------
3951 # Create "$as_dir" as a directory, including parents if necessary.
3952 as_fn_mkdir_p ()
3955 case $as_dir in #(
3956 -*) as_dir=./$as_dir;;
3957 esac
3958 test -d "$as_dir" || eval $as_mkdir_p || {
3959 as_dirs=
3960 while :; do
3961 case $as_dir in #(
3962 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3963 *) as_qdir=$as_dir;;
3964 esac
3965 as_dirs="'$as_qdir' $as_dirs"
3966 as_dir=`$as_dirname -- "$as_dir" ||
3967 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3968 X"$as_dir" : 'X\(//\)[^/]' \| \
3969 X"$as_dir" : 'X\(//\)$' \| \
3970 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3971 $as_echo X"$as_dir" |
3972 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3973 s//\1/
3976 /^X\(\/\/\)[^/].*/{
3977 s//\1/
3980 /^X\(\/\/\)$/{
3981 s//\1/
3984 /^X\(\/\).*/{
3985 s//\1/
3988 s/.*/./; q'`
3989 test -d "$as_dir" && break
3990 done
3991 test -z "$as_dirs" || eval "mkdir $as_dirs"
3992 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3995 } # as_fn_mkdir_p
3996 if mkdir -p . 2>/dev/null; then
3997 as_mkdir_p='mkdir -p "$as_dir"'
3998 else
3999 test -d ./-p && rmdir ./-p
4000 as_mkdir_p=false
4003 if test -x / >/dev/null 2>&1; then
4004 as_test_x='test -x'
4005 else
4006 if ls -dL / >/dev/null 2>&1; then
4007 as_ls_L_option=L
4008 else
4009 as_ls_L_option=
4011 as_test_x='
4012 eval sh -c '\''
4013 if test -d "$1"; then
4014 test -d "$1/.";
4015 else
4016 case $1 in #(
4017 -*)set "./$1";;
4018 esac;
4019 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4020 ???[sx]*):;;*)false;;esac;fi
4021 '\'' sh
4024 as_executable_p=$as_test_x
4026 # Sed expression to map a string onto a valid CPP name.
4027 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4029 # Sed expression to map a string onto a valid variable name.
4030 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4033 exec 6>&1
4034 ## ----------------------------------- ##
4035 ## Main body of $CONFIG_STATUS script. ##
4036 ## ----------------------------------- ##
4037 _ASEOF
4038 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4040 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4041 # Save the log message, to keep $0 and so on meaningful, and to
4042 # report actual input values of CONFIG_FILES etc. instead of their
4043 # values after options handling.
4044 ac_log="
4045 This file was extended by jim $as_me 0.63, which was
4046 generated by GNU Autoconf 2.65. Invocation command line was
4048 CONFIG_FILES = $CONFIG_FILES
4049 CONFIG_HEADERS = $CONFIG_HEADERS
4050 CONFIG_LINKS = $CONFIG_LINKS
4051 CONFIG_COMMANDS = $CONFIG_COMMANDS
4052 $ $0 $@
4054 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4057 _ACEOF
4059 case $ac_config_files in *"
4060 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4061 esac
4063 case $ac_config_headers in *"
4064 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4065 esac
4068 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4069 # Files that config.status was made for.
4070 config_files="$ac_config_files"
4071 config_headers="$ac_config_headers"
4073 _ACEOF
4075 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4076 ac_cs_usage="\
4077 \`$as_me' instantiates files and other configuration actions
4078 from templates according to the current configuration. Unless the files
4079 and actions are specified as TAGs, all are instantiated by default.
4081 Usage: $0 [OPTION]... [TAG]...
4083 -h, --help print this help, then exit
4084 -V, --version print version number and configuration settings, then exit
4085 --config print configuration, then exit
4086 -q, --quiet, --silent
4087 do not print progress messages
4088 -d, --debug don't remove temporary files
4089 --recheck update $as_me by reconfiguring in the same conditions
4090 --file=FILE[:TEMPLATE]
4091 instantiate the configuration file FILE
4092 --header=FILE[:TEMPLATE]
4093 instantiate the configuration header FILE
4095 Configuration files:
4096 $config_files
4098 Configuration headers:
4099 $config_headers
4101 Report bugs to <steveb@workware.net.au>."
4103 _ACEOF
4104 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4105 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4106 ac_cs_version="\\
4107 jim config.status 0.63
4108 configured by $0, generated by GNU Autoconf 2.65,
4109 with options \\"\$ac_cs_config\\"
4111 Copyright (C) 2009 Free Software Foundation, Inc.
4112 This config.status script is free software; the Free Software Foundation
4113 gives unlimited permission to copy, distribute and modify it."
4115 ac_pwd='$ac_pwd'
4116 srcdir='$srcdir'
4117 test -n "\$AWK" || AWK=awk
4118 _ACEOF
4120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4121 # The default lists apply if the user does not specify any file.
4122 ac_need_defaults=:
4123 while test $# != 0
4125 case $1 in
4126 --*=*)
4127 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4128 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4129 ac_shift=:
4132 ac_option=$1
4133 ac_optarg=$2
4134 ac_shift=shift
4136 esac
4138 case $ac_option in
4139 # Handling of the options.
4140 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4141 ac_cs_recheck=: ;;
4142 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4143 $as_echo "$ac_cs_version"; exit ;;
4144 --config | --confi | --conf | --con | --co | --c )
4145 $as_echo "$ac_cs_config"; exit ;;
4146 --debug | --debu | --deb | --de | --d | -d )
4147 debug=: ;;
4148 --file | --fil | --fi | --f )
4149 $ac_shift
4150 case $ac_optarg in
4151 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4152 esac
4153 as_fn_append CONFIG_FILES " '$ac_optarg'"
4154 ac_need_defaults=false;;
4155 --header | --heade | --head | --hea )
4156 $ac_shift
4157 case $ac_optarg in
4158 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4159 esac
4160 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4161 ac_need_defaults=false;;
4162 --he | --h)
4163 # Conflict between --help and --header
4164 as_fn_error "ambiguous option: \`$1'
4165 Try \`$0 --help' for more information.";;
4166 --help | --hel | -h )
4167 $as_echo "$ac_cs_usage"; exit ;;
4168 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4169 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4170 ac_cs_silent=: ;;
4172 # This is an error.
4173 -*) as_fn_error "unrecognized option: \`$1'
4174 Try \`$0 --help' for more information." ;;
4176 *) as_fn_append ac_config_targets " $1"
4177 ac_need_defaults=false ;;
4179 esac
4180 shift
4181 done
4183 ac_configure_extra_args=
4185 if $ac_cs_silent; then
4186 exec 6>/dev/null
4187 ac_configure_extra_args="$ac_configure_extra_args --silent"
4190 _ACEOF
4191 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4192 if \$ac_cs_recheck; then
4193 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4194 shift
4195 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4196 CONFIG_SHELL='$SHELL'
4197 export CONFIG_SHELL
4198 exec "\$@"
4201 _ACEOF
4202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4203 exec 5>>config.log
4205 echo
4206 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4207 ## Running $as_me. ##
4208 _ASBOX
4209 $as_echo "$ac_log"
4210 } >&5
4212 _ACEOF
4213 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4214 _ACEOF
4216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4218 # Handling of arguments.
4219 for ac_config_target in $ac_config_targets
4221 case $ac_config_target in
4222 "autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;;
4223 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4225 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4226 esac
4227 done
4230 # If the user did not use the arguments to specify the items to instantiate,
4231 # then the envvar interface is used. Set only those that are not.
4232 # We use the long form for the default assignment because of an extremely
4233 # bizarre bug on SunOS 4.1.3.
4234 if $ac_need_defaults; then
4235 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4236 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4239 # Have a temporary directory for convenience. Make it in the build tree
4240 # simply because there is no reason against having it here, and in addition,
4241 # creating and moving files from /tmp can sometimes cause problems.
4242 # Hook for its removal unless debugging.
4243 # Note that there is a small window in which the directory will not be cleaned:
4244 # after its creation but before its name has been assigned to `$tmp'.
4245 $debug ||
4247 tmp=
4248 trap 'exit_status=$?
4249 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4251 trap 'as_fn_exit 1' 1 2 13 15
4253 # Create a (secure) tmp directory for tmp files.
4256 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4257 test -n "$tmp" && test -d "$tmp"
4258 } ||
4260 tmp=./conf$$-$RANDOM
4261 (umask 077 && mkdir "$tmp")
4262 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4264 # Set up the scripts for CONFIG_FILES section.
4265 # No need to generate them if there are no CONFIG_FILES.
4266 # This happens for instance with `./config.status config.h'.
4267 if test -n "$CONFIG_FILES"; then
4270 ac_cr=`echo X | tr X '\015'`
4271 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4272 # But we know of no other shell where ac_cr would be empty at this
4273 # point, so we can use a bashism as a fallback.
4274 if test "x$ac_cr" = x; then
4275 eval ac_cr=\$\'\\r\'
4277 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4278 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4279 ac_cs_awk_cr='\r'
4280 else
4281 ac_cs_awk_cr=$ac_cr
4284 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4285 _ACEOF
4289 echo "cat >conf$$subs.awk <<_ACEOF" &&
4290 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4291 echo "_ACEOF"
4292 } >conf$$subs.sh ||
4293 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4294 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4295 ac_delim='%!_!# '
4296 for ac_last_try in false false false false false :; do
4297 . ./conf$$subs.sh ||
4298 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4300 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4301 if test $ac_delim_n = $ac_delim_num; then
4302 break
4303 elif $ac_last_try; then
4304 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4305 else
4306 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4308 done
4309 rm -f conf$$subs.sh
4311 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4312 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4313 _ACEOF
4314 sed -n '
4316 s/^/S["/; s/!.*/"]=/
4319 s/^[^!]*!//
4320 :repl
4321 t repl
4322 s/'"$ac_delim"'$//
4323 t delim
4326 s/\(.\{148\}\)..*/\1/
4327 t more1
4328 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4331 b repl
4332 :more1
4333 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4336 s/.\{148\}//
4337 t nl
4338 :delim
4340 s/\(.\{148\}\)..*/\1/
4341 t more2
4342 s/["\\]/\\&/g; s/^/"/; s/$/"/
4345 :more2
4346 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4349 s/.\{148\}//
4350 t delim
4351 ' <conf$$subs.awk | sed '
4352 /^[^""]/{
4354 s/\n//
4356 ' >>$CONFIG_STATUS || ac_write_fail=1
4357 rm -f conf$$subs.awk
4358 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4359 _ACAWK
4360 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4361 for (key in S) S_is_set[key] = 1
4362 FS = "\a"
4366 line = $ 0
4367 nfields = split(line, field, "@")
4368 substed = 0
4369 len = length(field[1])
4370 for (i = 2; i < nfields; i++) {
4371 key = field[i]
4372 keylen = length(key)
4373 if (S_is_set[key]) {
4374 value = S[key]
4375 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4376 len += length(value) + length(field[++i])
4377 substed = 1
4378 } else
4379 len += 1 + keylen
4382 print line
4385 _ACAWK
4386 _ACEOF
4387 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4388 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4389 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4390 else
4392 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4393 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4394 _ACEOF
4396 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4397 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4398 # trailing colons and then remove the whole line if VPATH becomes empty
4399 # (actually we leave an empty line to preserve line numbers).
4400 if test "x$srcdir" = x.; then
4401 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4402 s/:*\$(srcdir):*/:/
4403 s/:*\${srcdir}:*/:/
4404 s/:*@srcdir@:*/:/
4405 s/^\([^=]*=[ ]*\):*/\1/
4406 s/:*$//
4407 s/^[^=]*=[ ]*$//
4411 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4412 fi # test -n "$CONFIG_FILES"
4414 # Set up the scripts for CONFIG_HEADERS section.
4415 # No need to generate them if there are no CONFIG_HEADERS.
4416 # This happens for instance with `./config.status Makefile'.
4417 if test -n "$CONFIG_HEADERS"; then
4418 cat >"$tmp/defines.awk" <<\_ACAWK ||
4419 BEGIN {
4420 _ACEOF
4422 # Transform confdefs.h into an awk script `defines.awk', embedded as
4423 # here-document in config.status, that substitutes the proper values into
4424 # config.h.in to produce config.h.
4426 # Create a delimiter string that does not exist in confdefs.h, to ease
4427 # handling of long lines.
4428 ac_delim='%!_!# '
4429 for ac_last_try in false false :; do
4430 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4431 if test -z "$ac_t"; then
4432 break
4433 elif $ac_last_try; then
4434 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
4435 else
4436 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4438 done
4440 # For the awk script, D is an array of macro values keyed by name,
4441 # likewise P contains macro parameters if any. Preserve backslash
4442 # newline sequences.
4444 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4445 sed -n '
4446 s/.\{148\}/&'"$ac_delim"'/g
4447 t rset
4448 :rset
4449 s/^[ ]*#[ ]*define[ ][ ]*/ /
4450 t def
4452 :def
4453 s/\\$//
4454 t bsnl
4455 s/["\\]/\\&/g
4456 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4457 D["\1"]=" \3"/p
4458 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4460 :bsnl
4461 s/["\\]/\\&/g
4462 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4463 D["\1"]=" \3\\\\\\n"\\/p
4464 t cont
4465 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4466 t cont
4468 :cont
4470 s/.\{148\}/&'"$ac_delim"'/g
4471 t clear
4472 :clear
4473 s/\\$//
4474 t bsnlc
4475 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4477 :bsnlc
4478 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4479 b cont
4480 ' <confdefs.h | sed '
4481 s/'"$ac_delim"'/"\\\
4482 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4484 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4485 for (key in D) D_is_set[key] = 1
4486 FS = "\a"
4488 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4489 line = \$ 0
4490 split(line, arg, " ")
4491 if (arg[1] == "#") {
4492 defundef = arg[2]
4493 mac1 = arg[3]
4494 } else {
4495 defundef = substr(arg[1], 2)
4496 mac1 = arg[2]
4498 split(mac1, mac2, "(") #)
4499 macro = mac2[1]
4500 prefix = substr(line, 1, index(line, defundef) - 1)
4501 if (D_is_set[macro]) {
4502 # Preserve the white space surrounding the "#".
4503 print prefix "define", macro P[macro] D[macro]
4504 next
4505 } else {
4506 # Replace #undef with comments. This is necessary, for example,
4507 # in the case of _POSIX_SOURCE, which is predefined and required
4508 # on some systems where configure will not decide to define it.
4509 if (defundef == "undef") {
4510 print "/*", prefix defundef, macro, "*/"
4511 next
4515 { print }
4516 _ACAWK
4517 _ACEOF
4518 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4519 as_fn_error "could not setup config headers machinery" "$LINENO" 5
4520 fi # test -n "$CONFIG_HEADERS"
4523 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4524 shift
4525 for ac_tag
4527 case $ac_tag in
4528 :[FHLC]) ac_mode=$ac_tag; continue;;
4529 esac
4530 case $ac_mode$ac_tag in
4531 :[FHL]*:*);;
4532 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4533 :[FH]-) ac_tag=-:-;;
4534 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4535 esac
4536 ac_save_IFS=$IFS
4537 IFS=:
4538 set x $ac_tag
4539 IFS=$ac_save_IFS
4540 shift
4541 ac_file=$1
4542 shift
4544 case $ac_mode in
4545 :L) ac_source=$1;;
4546 :[FH])
4547 ac_file_inputs=
4548 for ac_f
4550 case $ac_f in
4551 -) ac_f="$tmp/stdin";;
4552 *) # Look for the file first in the build tree, then in the source tree
4553 # (if the path is not absolute). The absolute path cannot be DOS-style,
4554 # because $ac_f cannot contain `:'.
4555 test -f "$ac_f" ||
4556 case $ac_f in
4557 [\\/$]*) false;;
4558 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4559 esac ||
4560 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4561 esac
4562 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4563 as_fn_append ac_file_inputs " '$ac_f'"
4564 done
4566 # Let's still pretend it is `configure' which instantiates (i.e., don't
4567 # use $as_me), people would be surprised to read:
4568 # /* config.h. Generated by config.status. */
4569 configure_input='Generated from '`
4570 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4571 `' by configure.'
4572 if test x"$ac_file" != x-; then
4573 configure_input="$ac_file. $configure_input"
4574 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4575 $as_echo "$as_me: creating $ac_file" >&6;}
4577 # Neutralize special characters interpreted by sed in replacement strings.
4578 case $configure_input in #(
4579 *\&* | *\|* | *\\* )
4580 ac_sed_conf_input=`$as_echo "$configure_input" |
4581 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4582 *) ac_sed_conf_input=$configure_input;;
4583 esac
4585 case $ac_tag in
4586 *:-:* | *:-) cat >"$tmp/stdin" \
4587 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4588 esac
4590 esac
4592 ac_dir=`$as_dirname -- "$ac_file" ||
4593 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4594 X"$ac_file" : 'X\(//\)[^/]' \| \
4595 X"$ac_file" : 'X\(//\)$' \| \
4596 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4597 $as_echo X"$ac_file" |
4598 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4599 s//\1/
4602 /^X\(\/\/\)[^/].*/{
4603 s//\1/
4606 /^X\(\/\/\)$/{
4607 s//\1/
4610 /^X\(\/\).*/{
4611 s//\1/
4614 s/.*/./; q'`
4615 as_dir="$ac_dir"; as_fn_mkdir_p
4616 ac_builddir=.
4618 case "$ac_dir" in
4619 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4621 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4622 # A ".." for each directory in $ac_dir_suffix.
4623 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4624 case $ac_top_builddir_sub in
4625 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4626 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4627 esac ;;
4628 esac
4629 ac_abs_top_builddir=$ac_pwd
4630 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4631 # for backward compatibility:
4632 ac_top_builddir=$ac_top_build_prefix
4634 case $srcdir in
4635 .) # We are building in place.
4636 ac_srcdir=.
4637 ac_top_srcdir=$ac_top_builddir_sub
4638 ac_abs_top_srcdir=$ac_pwd ;;
4639 [\\/]* | ?:[\\/]* ) # Absolute name.
4640 ac_srcdir=$srcdir$ac_dir_suffix;
4641 ac_top_srcdir=$srcdir
4642 ac_abs_top_srcdir=$srcdir ;;
4643 *) # Relative name.
4644 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4645 ac_top_srcdir=$ac_top_build_prefix$srcdir
4646 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4647 esac
4648 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4651 case $ac_mode in
4654 # CONFIG_FILE
4657 _ACEOF
4659 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4660 # If the template does not know about datarootdir, expand it.
4661 # FIXME: This hack should be removed a few years after 2.60.
4662 ac_datarootdir_hack=; ac_datarootdir_seen=
4663 ac_sed_dataroot='
4664 /datarootdir/ {
4668 /@datadir@/p
4669 /@docdir@/p
4670 /@infodir@/p
4671 /@localedir@/p
4672 /@mandir@/p'
4673 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4674 *datarootdir*) ac_datarootdir_seen=yes;;
4675 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4676 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4677 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4678 _ACEOF
4679 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4680 ac_datarootdir_hack='
4681 s&@datadir@&$datadir&g
4682 s&@docdir@&$docdir&g
4683 s&@infodir@&$infodir&g
4684 s&@localedir@&$localedir&g
4685 s&@mandir@&$mandir&g
4686 s&\\\${datarootdir}&$datarootdir&g' ;;
4687 esac
4688 _ACEOF
4690 # Neutralize VPATH when `$srcdir' = `.'.
4691 # Shell code in configure.ac might set extrasub.
4692 # FIXME: do we really want to maintain this feature?
4693 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4694 ac_sed_extra="$ac_vpsub
4695 $extrasub
4696 _ACEOF
4697 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4699 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4700 s|@configure_input@|$ac_sed_conf_input|;t t
4701 s&@top_builddir@&$ac_top_builddir_sub&;t t
4702 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4703 s&@srcdir@&$ac_srcdir&;t t
4704 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4705 s&@top_srcdir@&$ac_top_srcdir&;t t
4706 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4707 s&@builddir@&$ac_builddir&;t t
4708 s&@abs_builddir@&$ac_abs_builddir&;t t
4709 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4710 $ac_datarootdir_hack
4712 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4713 || as_fn_error "could not create $ac_file" "$LINENO" 5
4715 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4716 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4717 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4719 which seems to be undefined. Please make sure it is defined." >&5
4720 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4721 which seems to be undefined. Please make sure it is defined." >&2;}
4723 rm -f "$tmp/stdin"
4724 case $ac_file in
4725 -) cat "$tmp/out" && rm -f "$tmp/out";;
4726 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4727 esac \
4728 || as_fn_error "could not create $ac_file" "$LINENO" 5
4732 # CONFIG_HEADER
4734 if test x"$ac_file" != x-; then
4736 $as_echo "/* $configure_input */" \
4737 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4738 } >"$tmp/config.h" \
4739 || as_fn_error "could not create $ac_file" "$LINENO" 5
4740 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4741 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4742 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4743 else
4744 rm -f "$ac_file"
4745 mv "$tmp/config.h" "$ac_file" \
4746 || as_fn_error "could not create $ac_file" "$LINENO" 5
4748 else
4749 $as_echo "/* $configure_input */" \
4750 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4751 || as_fn_error "could not create -" "$LINENO" 5
4756 esac
4758 done # for ac_tag
4761 as_fn_exit 0
4762 _ACEOF
4763 ac_clean_files=$ac_clean_files_save
4765 test $ac_write_fail = 0 ||
4766 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4769 # configure is writing to config.log, and then calls config.status.
4770 # config.status does its own redirection, appending to config.log.
4771 # Unfortunately, on DOS this fails, as config.log is still kept open
4772 # by configure, so config.status won't be able to write to it; its
4773 # output is simply discarded. So we exec the FD to /dev/null,
4774 # effectively closing config.log, so it can be properly (re)opened and
4775 # appended to by config.status. When coming back to configure, we
4776 # need to make the FD available again.
4777 if test "$no_create" != yes; then
4778 ac_cs_success=:
4779 ac_config_status_args=
4780 test "$silent" = yes &&
4781 ac_config_status_args="$ac_config_status_args --quiet"
4782 exec 5>/dev/null
4783 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4784 exec 5>>config.log
4785 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4786 # would make configure fail if this is the last instruction.
4787 $ac_cs_success || as_fn_exit $?
4789 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4790 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4791 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}