It was possible to create a bad ref
[jimtcl.git] / configure
blobe2e1153e26d7a904f86de765b98b769c8b0067a0
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 SET_MAKE
617 OBJEXT
618 EXEEXT
619 ac_ct_CC
620 CPPFLAGS
621 LDFLAGS
622 CFLAGS
624 target_alias
625 host_alias
626 build_alias
627 LIBS
628 ECHO_T
629 ECHO_N
630 ECHO_C
631 DEFS
632 mandir
633 localedir
634 libdir
635 psdir
636 pdfdir
637 dvidir
638 htmldir
639 infodir
640 docdir
641 oldincludedir
642 includedir
643 localstatedir
644 sharedstatedir
645 sysconfdir
646 datadir
647 datarootdir
648 libexecdir
649 sbindir
650 bindir
651 program_transform_name
652 prefix
653 exec_prefix
654 PACKAGE_URL
655 PACKAGE_BUGREPORT
656 PACKAGE_STRING
657 PACKAGE_VERSION
658 PACKAGE_TARNAME
659 PACKAGE_NAME
660 PATH_SEPARATOR
661 SHELL'
662 ac_subst_files=''
663 ac_user_opts='
664 enable_option_checking
665 enable_fork
666 enable_math
667 enable_ipv6
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
1296 --enable-ipv6 include ipv6 support in the aio extension
1298 Optional Packages:
1299 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1300 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1301 --with-jim-ext specify jim extensions to build (or all, which is the default)
1302 --with-jim-shared build a shared library instead of a static library
1304 Some influential environment variables:
1305 CC C compiler command
1306 CFLAGS C compiler flags
1307 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1308 nonstandard directory <lib dir>
1309 LIBS libraries to pass to the linker, e.g. -l<library>
1310 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1311 you have headers in a nonstandard directory <include dir>
1312 CPP C preprocessor
1314 Use these variables to override the choices made by `configure' or to help
1315 it to find libraries and programs with nonstandard names/locations.
1317 Report bugs to <steveb@workware.net.au>.
1318 _ACEOF
1319 ac_status=$?
1322 if test "$ac_init_help" = "recursive"; then
1323 # If there are subdirs, report their specific --help.
1324 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1325 test -d "$ac_dir" ||
1326 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1327 continue
1328 ac_builddir=.
1330 case "$ac_dir" in
1331 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1333 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1334 # A ".." for each directory in $ac_dir_suffix.
1335 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1336 case $ac_top_builddir_sub in
1337 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1338 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1339 esac ;;
1340 esac
1341 ac_abs_top_builddir=$ac_pwd
1342 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1343 # for backward compatibility:
1344 ac_top_builddir=$ac_top_build_prefix
1346 case $srcdir in
1347 .) # We are building in place.
1348 ac_srcdir=.
1349 ac_top_srcdir=$ac_top_builddir_sub
1350 ac_abs_top_srcdir=$ac_pwd ;;
1351 [\\/]* | ?:[\\/]* ) # Absolute name.
1352 ac_srcdir=$srcdir$ac_dir_suffix;
1353 ac_top_srcdir=$srcdir
1354 ac_abs_top_srcdir=$srcdir ;;
1355 *) # Relative name.
1356 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1357 ac_top_srcdir=$ac_top_build_prefix$srcdir
1358 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1359 esac
1360 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1362 cd "$ac_dir" || { ac_status=$?; continue; }
1363 # Check for guested configure.
1364 if test -f "$ac_srcdir/configure.gnu"; then
1365 echo &&
1366 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1367 elif test -f "$ac_srcdir/configure"; then
1368 echo &&
1369 $SHELL "$ac_srcdir/configure" --help=recursive
1370 else
1371 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1372 fi || ac_status=$?
1373 cd "$ac_pwd" || { ac_status=$?; break; }
1374 done
1377 test -n "$ac_init_help" && exit $ac_status
1378 if $ac_init_version; then
1379 cat <<\_ACEOF
1380 jim configure 0.63
1381 generated by GNU Autoconf 2.65
1383 Copyright (C) 2009 Free Software Foundation, Inc.
1384 This configure script is free software; the Free Software Foundation
1385 gives unlimited permission to copy, distribute and modify it.
1386 _ACEOF
1387 exit
1390 ## ------------------------ ##
1391 ## Autoconf initialization. ##
1392 ## ------------------------ ##
1394 # ac_fn_c_try_compile LINENO
1395 # --------------------------
1396 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1397 ac_fn_c_try_compile ()
1399 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1400 rm -f conftest.$ac_objext
1401 if { { ac_try="$ac_compile"
1402 case "(($ac_try" in
1403 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1404 *) ac_try_echo=$ac_try;;
1405 esac
1406 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1407 $as_echo "$ac_try_echo"; } >&5
1408 (eval "$ac_compile") 2>conftest.err
1409 ac_status=$?
1410 if test -s conftest.err; then
1411 grep -v '^ *+' conftest.err >conftest.er1
1412 cat conftest.er1 >&5
1413 mv -f conftest.er1 conftest.err
1415 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1416 test $ac_status = 0; } && {
1417 test -z "$ac_c_werror_flag" ||
1418 test ! -s conftest.err
1419 } && test -s conftest.$ac_objext; then :
1420 ac_retval=0
1421 else
1422 $as_echo "$as_me: failed program was:" >&5
1423 sed 's/^/| /' conftest.$ac_ext >&5
1425 ac_retval=1
1427 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1428 as_fn_set_status $ac_retval
1430 } # ac_fn_c_try_compile
1432 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1433 # -------------------------------------------
1434 # Tests whether TYPE exists after having included INCLUDES, setting cache
1435 # variable VAR accordingly.
1436 ac_fn_c_check_type ()
1438 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1440 $as_echo_n "checking for $2... " >&6; }
1441 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1442 $as_echo_n "(cached) " >&6
1443 else
1444 eval "$3=no"
1445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1446 /* end confdefs.h. */
1449 main ()
1451 if (sizeof ($2))
1452 return 0;
1454 return 0;
1456 _ACEOF
1457 if ac_fn_c_try_compile "$LINENO"; then :
1458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1459 /* end confdefs.h. */
1462 main ()
1464 if (sizeof (($2)))
1465 return 0;
1467 return 0;
1469 _ACEOF
1470 if ac_fn_c_try_compile "$LINENO"; then :
1472 else
1473 eval "$3=yes"
1475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1479 eval ac_res=\$$3
1480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1481 $as_echo "$ac_res" >&6; }
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1484 } # ac_fn_c_check_type
1486 # ac_fn_c_try_cpp LINENO
1487 # ----------------------
1488 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1489 ac_fn_c_try_cpp ()
1491 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1492 if { { ac_try="$ac_cpp conftest.$ac_ext"
1493 case "(($ac_try" in
1494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1495 *) ac_try_echo=$ac_try;;
1496 esac
1497 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1498 $as_echo "$ac_try_echo"; } >&5
1499 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1500 ac_status=$?
1501 if test -s conftest.err; then
1502 grep -v '^ *+' conftest.err >conftest.er1
1503 cat conftest.er1 >&5
1504 mv -f conftest.er1 conftest.err
1506 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1507 test $ac_status = 0; } >/dev/null && {
1508 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1509 test ! -s conftest.err
1510 }; then :
1511 ac_retval=0
1512 else
1513 $as_echo "$as_me: failed program was:" >&5
1514 sed 's/^/| /' conftest.$ac_ext >&5
1516 ac_retval=1
1518 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1519 as_fn_set_status $ac_retval
1521 } # ac_fn_c_try_cpp
1523 # ac_fn_c_try_run LINENO
1524 # ----------------------
1525 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1526 # that executables *can* be run.
1527 ac_fn_c_try_run ()
1529 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1530 if { { ac_try="$ac_link"
1531 case "(($ac_try" in
1532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1533 *) ac_try_echo=$ac_try;;
1534 esac
1535 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1536 $as_echo "$ac_try_echo"; } >&5
1537 (eval "$ac_link") 2>&5
1538 ac_status=$?
1539 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1540 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1541 { { case "(($ac_try" in
1542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1543 *) ac_try_echo=$ac_try;;
1544 esac
1545 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1546 $as_echo "$ac_try_echo"; } >&5
1547 (eval "$ac_try") 2>&5
1548 ac_status=$?
1549 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1550 test $ac_status = 0; }; }; then :
1551 ac_retval=0
1552 else
1553 $as_echo "$as_me: program exited with status $ac_status" >&5
1554 $as_echo "$as_me: failed program was:" >&5
1555 sed 's/^/| /' conftest.$ac_ext >&5
1557 ac_retval=$ac_status
1559 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1560 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1561 as_fn_set_status $ac_retval
1563 } # ac_fn_c_try_run
1565 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1566 # -------------------------------------------------------
1567 # Tests whether HEADER exists and can be compiled using the include files in
1568 # INCLUDES, setting the cache variable VAR accordingly.
1569 ac_fn_c_check_header_compile ()
1571 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1573 $as_echo_n "checking for $2... " >&6; }
1574 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1575 $as_echo_n "(cached) " >&6
1576 else
1577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1578 /* end confdefs.h. */
1580 #include <$2>
1581 _ACEOF
1582 if ac_fn_c_try_compile "$LINENO"; then :
1583 eval "$3=yes"
1584 else
1585 eval "$3=no"
1587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1589 eval ac_res=\$$3
1590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1591 $as_echo "$ac_res" >&6; }
1592 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1594 } # ac_fn_c_check_header_compile
1596 # ac_fn_c_try_link LINENO
1597 # -----------------------
1598 # Try to link conftest.$ac_ext, and return whether this succeeded.
1599 ac_fn_c_try_link ()
1601 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1602 rm -f conftest.$ac_objext conftest$ac_exeext
1603 if { { ac_try="$ac_link"
1604 case "(($ac_try" in
1605 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1606 *) ac_try_echo=$ac_try;;
1607 esac
1608 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1609 $as_echo "$ac_try_echo"; } >&5
1610 (eval "$ac_link") 2>conftest.err
1611 ac_status=$?
1612 if test -s conftest.err; then
1613 grep -v '^ *+' conftest.err >conftest.er1
1614 cat conftest.er1 >&5
1615 mv -f conftest.er1 conftest.err
1617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1618 test $ac_status = 0; } && {
1619 test -z "$ac_c_werror_flag" ||
1620 test ! -s conftest.err
1621 } && test -s conftest$ac_exeext && {
1622 test "$cross_compiling" = yes ||
1623 $as_test_x conftest$ac_exeext
1624 }; then :
1625 ac_retval=0
1626 else
1627 $as_echo "$as_me: failed program was:" >&5
1628 sed 's/^/| /' conftest.$ac_ext >&5
1630 ac_retval=1
1632 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1633 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1634 # interfere with the next link command; also delete a directory that is
1635 # left behind by Apple's compiler. We do this before executing the actions.
1636 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1637 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1638 as_fn_set_status $ac_retval
1640 } # ac_fn_c_try_link
1642 # ac_fn_c_check_func LINENO FUNC VAR
1643 # ----------------------------------
1644 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1645 ac_fn_c_check_func ()
1647 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1649 $as_echo_n "checking for $2... " >&6; }
1650 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1651 $as_echo_n "(cached) " >&6
1652 else
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1655 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1657 #define $2 innocuous_$2
1659 /* System header to define __stub macros and hopefully few prototypes,
1660 which can conflict with char $2 (); below.
1661 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1662 <limits.h> exists even on freestanding compilers. */
1664 #ifdef __STDC__
1665 # include <limits.h>
1666 #else
1667 # include <assert.h>
1668 #endif
1670 #undef $2
1672 /* Override any GCC internal prototype to avoid an error.
1673 Use char because int might match the return type of a GCC
1674 builtin and then its argument prototype would still apply. */
1675 #ifdef __cplusplus
1676 extern "C"
1677 #endif
1678 char $2 ();
1679 /* The GNU C library defines this for functions which it implements
1680 to always fail with ENOSYS. Some functions are actually named
1681 something starting with __ and the normal name is an alias. */
1682 #if defined __stub_$2 || defined __stub___$2
1683 choke me
1684 #endif
1687 main ()
1689 return $2 ();
1691 return 0;
1693 _ACEOF
1694 if ac_fn_c_try_link "$LINENO"; then :
1695 eval "$3=yes"
1696 else
1697 eval "$3=no"
1699 rm -f core conftest.err conftest.$ac_objext \
1700 conftest$ac_exeext conftest.$ac_ext
1702 eval ac_res=\$$3
1703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1704 $as_echo "$ac_res" >&6; }
1705 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1707 } # ac_fn_c_check_func
1708 cat >config.log <<_ACEOF
1709 This file contains any messages produced by compilers while
1710 running configure, to aid debugging if configure makes a mistake.
1712 It was created by jim $as_me 0.63, which was
1713 generated by GNU Autoconf 2.65. Invocation command line was
1715 $ $0 $@
1717 _ACEOF
1718 exec 5>>config.log
1720 cat <<_ASUNAME
1721 ## --------- ##
1722 ## Platform. ##
1723 ## --------- ##
1725 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1726 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1727 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1728 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1729 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1731 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1732 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1734 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1735 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1736 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1737 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1738 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1739 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1740 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1742 _ASUNAME
1744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1745 for as_dir in $PATH
1747 IFS=$as_save_IFS
1748 test -z "$as_dir" && as_dir=.
1749 $as_echo "PATH: $as_dir"
1750 done
1751 IFS=$as_save_IFS
1753 } >&5
1755 cat >&5 <<_ACEOF
1758 ## ----------- ##
1759 ## Core tests. ##
1760 ## ----------- ##
1762 _ACEOF
1765 # Keep a trace of the command line.
1766 # Strip out --no-create and --no-recursion so they do not pile up.
1767 # Strip out --silent because we don't want to record it for future runs.
1768 # Also quote any args containing shell meta-characters.
1769 # Make two passes to allow for proper duplicate-argument suppression.
1770 ac_configure_args=
1771 ac_configure_args0=
1772 ac_configure_args1=
1773 ac_must_keep_next=false
1774 for ac_pass in 1 2
1776 for ac_arg
1778 case $ac_arg in
1779 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1780 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1781 | -silent | --silent | --silen | --sile | --sil)
1782 continue ;;
1783 *\'*)
1784 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1785 esac
1786 case $ac_pass in
1787 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1789 as_fn_append ac_configure_args1 " '$ac_arg'"
1790 if test $ac_must_keep_next = true; then
1791 ac_must_keep_next=false # Got value, back to normal.
1792 else
1793 case $ac_arg in
1794 *=* | --config-cache | -C | -disable-* | --disable-* \
1795 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1796 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1797 | -with-* | --with-* | -without-* | --without-* | --x)
1798 case "$ac_configure_args0 " in
1799 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1800 esac
1802 -* ) ac_must_keep_next=true ;;
1803 esac
1805 as_fn_append ac_configure_args " '$ac_arg'"
1807 esac
1808 done
1809 done
1810 { ac_configure_args0=; unset ac_configure_args0;}
1811 { ac_configure_args1=; unset ac_configure_args1;}
1813 # When interrupted or exit'd, cleanup temporary files, and complete
1814 # config.log. We remove comments because anyway the quotes in there
1815 # would cause problems or look ugly.
1816 # WARNING: Use '\'' to represent an apostrophe within the trap.
1817 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1818 trap 'exit_status=$?
1819 # Save into config.log some information that might help in debugging.
1821 echo
1823 cat <<\_ASBOX
1824 ## ---------------- ##
1825 ## Cache variables. ##
1826 ## ---------------- ##
1827 _ASBOX
1828 echo
1829 # The following way of writing the cache mishandles newlines in values,
1831 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1832 eval ac_val=\$$ac_var
1833 case $ac_val in #(
1834 *${as_nl}*)
1835 case $ac_var in #(
1836 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1837 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1838 esac
1839 case $ac_var in #(
1840 _ | IFS | as_nl) ;; #(
1841 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1842 *) { eval $ac_var=; unset $ac_var;} ;;
1843 esac ;;
1844 esac
1845 done
1846 (set) 2>&1 |
1847 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1848 *${as_nl}ac_space=\ *)
1849 sed -n \
1850 "s/'\''/'\''\\\\'\'''\''/g;
1851 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1852 ;; #(
1854 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1856 esac |
1857 sort
1859 echo
1861 cat <<\_ASBOX
1862 ## ----------------- ##
1863 ## Output variables. ##
1864 ## ----------------- ##
1865 _ASBOX
1866 echo
1867 for ac_var in $ac_subst_vars
1869 eval ac_val=\$$ac_var
1870 case $ac_val in
1871 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1872 esac
1873 $as_echo "$ac_var='\''$ac_val'\''"
1874 done | sort
1875 echo
1877 if test -n "$ac_subst_files"; then
1878 cat <<\_ASBOX
1879 ## ------------------- ##
1880 ## File substitutions. ##
1881 ## ------------------- ##
1882 _ASBOX
1883 echo
1884 for ac_var in $ac_subst_files
1886 eval ac_val=\$$ac_var
1887 case $ac_val in
1888 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1889 esac
1890 $as_echo "$ac_var='\''$ac_val'\''"
1891 done | sort
1892 echo
1895 if test -s confdefs.h; then
1896 cat <<\_ASBOX
1897 ## ----------- ##
1898 ## confdefs.h. ##
1899 ## ----------- ##
1900 _ASBOX
1901 echo
1902 cat confdefs.h
1903 echo
1905 test "$ac_signal" != 0 &&
1906 $as_echo "$as_me: caught signal $ac_signal"
1907 $as_echo "$as_me: exit $exit_status"
1908 } >&5
1909 rm -f core *.core core.conftest.* &&
1910 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1911 exit $exit_status
1913 for ac_signal in 1 2 13 15; do
1914 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1915 done
1916 ac_signal=0
1918 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1919 rm -f -r conftest* confdefs.h
1921 $as_echo "/* confdefs.h */" > confdefs.h
1923 # Predefined preprocessor variables.
1925 cat >>confdefs.h <<_ACEOF
1926 #define PACKAGE_NAME "$PACKAGE_NAME"
1927 _ACEOF
1929 cat >>confdefs.h <<_ACEOF
1930 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1931 _ACEOF
1933 cat >>confdefs.h <<_ACEOF
1934 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1935 _ACEOF
1937 cat >>confdefs.h <<_ACEOF
1938 #define PACKAGE_STRING "$PACKAGE_STRING"
1939 _ACEOF
1941 cat >>confdefs.h <<_ACEOF
1942 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1943 _ACEOF
1945 cat >>confdefs.h <<_ACEOF
1946 #define PACKAGE_URL "$PACKAGE_URL"
1947 _ACEOF
1950 # Let the site file select an alternate cache file if it wants to.
1951 # Prefer an explicitly selected file to automatically selected ones.
1952 ac_site_file1=NONE
1953 ac_site_file2=NONE
1954 if test -n "$CONFIG_SITE"; then
1955 ac_site_file1=$CONFIG_SITE
1956 elif test "x$prefix" != xNONE; then
1957 ac_site_file1=$prefix/share/config.site
1958 ac_site_file2=$prefix/etc/config.site
1959 else
1960 ac_site_file1=$ac_default_prefix/share/config.site
1961 ac_site_file2=$ac_default_prefix/etc/config.site
1963 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1965 test "x$ac_site_file" = xNONE && continue
1966 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1967 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1968 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1969 sed 's/^/| /' "$ac_site_file" >&5
1970 . "$ac_site_file"
1972 done
1974 if test -r "$cache_file"; then
1975 # Some versions of bash will fail to source /dev/null (special files
1976 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1977 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1978 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1979 $as_echo "$as_me: loading cache $cache_file" >&6;}
1980 case $cache_file in
1981 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1982 *) . "./$cache_file";;
1983 esac
1985 else
1986 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1987 $as_echo "$as_me: creating cache $cache_file" >&6;}
1988 >$cache_file
1991 # Check that the precious variables saved in the cache have kept the same
1992 # value.
1993 ac_cache_corrupted=false
1994 for ac_var in $ac_precious_vars; do
1995 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1996 eval ac_new_set=\$ac_env_${ac_var}_set
1997 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1998 eval ac_new_val=\$ac_env_${ac_var}_value
1999 case $ac_old_set,$ac_new_set in
2000 set,)
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2002 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2003 ac_cache_corrupted=: ;;
2004 ,set)
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2006 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2007 ac_cache_corrupted=: ;;
2008 ,);;
2010 if test "x$ac_old_val" != "x$ac_new_val"; then
2011 # differences in whitespace do not lead to failure.
2012 ac_old_val_w=`echo x $ac_old_val`
2013 ac_new_val_w=`echo x $ac_new_val`
2014 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2016 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2017 ac_cache_corrupted=:
2018 else
2019 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2020 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2021 eval $ac_var=\$ac_old_val
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2024 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2025 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2026 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2027 fi;;
2028 esac
2029 # Pass precious variables to config.status.
2030 if test "$ac_new_set" = set; then
2031 case $ac_new_val in
2032 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2033 *) ac_arg=$ac_var=$ac_new_val ;;
2034 esac
2035 case " $ac_configure_args " in
2036 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2037 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2038 esac
2040 done
2041 if $ac_cache_corrupted; then
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2043 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2045 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2046 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2048 ## -------------------- ##
2049 ## Main body of script. ##
2050 ## -------------------- ##
2052 ac_ext=c
2053 ac_cpp='$CPP $CPPFLAGS'
2054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2059 ac_config_headers="$ac_config_headers autoconf.h"
2062 # Checks for programs.
2063 ac_ext=c
2064 ac_cpp='$CPP $CPPFLAGS'
2065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2068 if test -n "$ac_tool_prefix"; then
2069 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2070 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2072 $as_echo_n "checking for $ac_word... " >&6; }
2073 if test "${ac_cv_prog_CC+set}" = set; then :
2074 $as_echo_n "(cached) " >&6
2075 else
2076 if test -n "$CC"; then
2077 ac_cv_prog_CC="$CC" # Let the user override the test.
2078 else
2079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2080 for as_dir in $PATH
2082 IFS=$as_save_IFS
2083 test -z "$as_dir" && as_dir=.
2084 for ac_exec_ext in '' $ac_executable_extensions; do
2085 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2086 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2088 break 2
2090 done
2091 done
2092 IFS=$as_save_IFS
2096 CC=$ac_cv_prog_CC
2097 if test -n "$CC"; then
2098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2099 $as_echo "$CC" >&6; }
2100 else
2101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2102 $as_echo "no" >&6; }
2107 if test -z "$ac_cv_prog_CC"; then
2108 ac_ct_CC=$CC
2109 # Extract the first word of "gcc", so it can be a program name with args.
2110 set dummy gcc; ac_word=$2
2111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2112 $as_echo_n "checking for $ac_word... " >&6; }
2113 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2114 $as_echo_n "(cached) " >&6
2115 else
2116 if test -n "$ac_ct_CC"; then
2117 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2118 else
2119 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2120 for as_dir in $PATH
2122 IFS=$as_save_IFS
2123 test -z "$as_dir" && as_dir=.
2124 for ac_exec_ext in '' $ac_executable_extensions; do
2125 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2126 ac_cv_prog_ac_ct_CC="gcc"
2127 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2128 break 2
2130 done
2131 done
2132 IFS=$as_save_IFS
2136 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2137 if test -n "$ac_ct_CC"; then
2138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2139 $as_echo "$ac_ct_CC" >&6; }
2140 else
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2142 $as_echo "no" >&6; }
2145 if test "x$ac_ct_CC" = x; then
2146 CC=""
2147 else
2148 case $cross_compiling:$ac_tool_warned in
2149 yes:)
2150 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2151 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2152 ac_tool_warned=yes ;;
2153 esac
2154 CC=$ac_ct_CC
2156 else
2157 CC="$ac_cv_prog_CC"
2160 if test -z "$CC"; then
2161 if test -n "$ac_tool_prefix"; then
2162 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2163 set dummy ${ac_tool_prefix}cc; ac_word=$2
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2165 $as_echo_n "checking for $ac_word... " >&6; }
2166 if test "${ac_cv_prog_CC+set}" = set; then :
2167 $as_echo_n "(cached) " >&6
2168 else
2169 if test -n "$CC"; then
2170 ac_cv_prog_CC="$CC" # Let the user override the test.
2171 else
2172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2173 for as_dir in $PATH
2175 IFS=$as_save_IFS
2176 test -z "$as_dir" && as_dir=.
2177 for ac_exec_ext in '' $ac_executable_extensions; do
2178 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2179 ac_cv_prog_CC="${ac_tool_prefix}cc"
2180 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2181 break 2
2183 done
2184 done
2185 IFS=$as_save_IFS
2189 CC=$ac_cv_prog_CC
2190 if test -n "$CC"; then
2191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2192 $as_echo "$CC" >&6; }
2193 else
2194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2195 $as_echo "no" >&6; }
2201 if test -z "$CC"; then
2202 # Extract the first word of "cc", so it can be a program name with args.
2203 set dummy cc; ac_word=$2
2204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2205 $as_echo_n "checking for $ac_word... " >&6; }
2206 if test "${ac_cv_prog_CC+set}" = set; then :
2207 $as_echo_n "(cached) " >&6
2208 else
2209 if test -n "$CC"; then
2210 ac_cv_prog_CC="$CC" # Let the user override the test.
2211 else
2212 ac_prog_rejected=no
2213 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2214 for as_dir in $PATH
2216 IFS=$as_save_IFS
2217 test -z "$as_dir" && as_dir=.
2218 for ac_exec_ext in '' $ac_executable_extensions; do
2219 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2220 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2221 ac_prog_rejected=yes
2222 continue
2224 ac_cv_prog_CC="cc"
2225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2226 break 2
2228 done
2229 done
2230 IFS=$as_save_IFS
2232 if test $ac_prog_rejected = yes; then
2233 # We found a bogon in the path, so make sure we never use it.
2234 set dummy $ac_cv_prog_CC
2235 shift
2236 if test $# != 0; then
2237 # We chose a different compiler from the bogus one.
2238 # However, it has the same basename, so the bogon will be chosen
2239 # first if we set CC to just the basename; use the full file name.
2240 shift
2241 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2246 CC=$ac_cv_prog_CC
2247 if test -n "$CC"; then
2248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2249 $as_echo "$CC" >&6; }
2250 else
2251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2252 $as_echo "no" >&6; }
2257 if test -z "$CC"; then
2258 if test -n "$ac_tool_prefix"; then
2259 for ac_prog in cl.exe
2261 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2262 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2264 $as_echo_n "checking for $ac_word... " >&6; }
2265 if test "${ac_cv_prog_CC+set}" = set; then :
2266 $as_echo_n "(cached) " >&6
2267 else
2268 if test -n "$CC"; then
2269 ac_cv_prog_CC="$CC" # Let the user override the test.
2270 else
2271 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2272 for as_dir in $PATH
2274 IFS=$as_save_IFS
2275 test -z "$as_dir" && as_dir=.
2276 for ac_exec_ext in '' $ac_executable_extensions; do
2277 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2278 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2279 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2280 break 2
2282 done
2283 done
2284 IFS=$as_save_IFS
2288 CC=$ac_cv_prog_CC
2289 if test -n "$CC"; then
2290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2291 $as_echo "$CC" >&6; }
2292 else
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2294 $as_echo "no" >&6; }
2298 test -n "$CC" && break
2299 done
2301 if test -z "$CC"; then
2302 ac_ct_CC=$CC
2303 for ac_prog in cl.exe
2305 # Extract the first word of "$ac_prog", so it can be a program name with args.
2306 set dummy $ac_prog; ac_word=$2
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2308 $as_echo_n "checking for $ac_word... " >&6; }
2309 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2310 $as_echo_n "(cached) " >&6
2311 else
2312 if test -n "$ac_ct_CC"; then
2313 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2314 else
2315 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2316 for as_dir in $PATH
2318 IFS=$as_save_IFS
2319 test -z "$as_dir" && as_dir=.
2320 for ac_exec_ext in '' $ac_executable_extensions; do
2321 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2322 ac_cv_prog_ac_ct_CC="$ac_prog"
2323 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2324 break 2
2326 done
2327 done
2328 IFS=$as_save_IFS
2332 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2333 if test -n "$ac_ct_CC"; then
2334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2335 $as_echo "$ac_ct_CC" >&6; }
2336 else
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2338 $as_echo "no" >&6; }
2342 test -n "$ac_ct_CC" && break
2343 done
2345 if test "x$ac_ct_CC" = x; then
2346 CC=""
2347 else
2348 case $cross_compiling:$ac_tool_warned in
2349 yes:)
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2351 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2352 ac_tool_warned=yes ;;
2353 esac
2354 CC=$ac_ct_CC
2361 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2362 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2363 as_fn_error "no acceptable C compiler found in \$PATH
2364 See \`config.log' for more details." "$LINENO" 5; }
2366 # Provide some information about the compiler.
2367 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2368 set X $ac_compile
2369 ac_compiler=$2
2370 for ac_option in --version -v -V -qversion; do
2371 { { ac_try="$ac_compiler $ac_option >&5"
2372 case "(($ac_try" in
2373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2374 *) ac_try_echo=$ac_try;;
2375 esac
2376 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2377 $as_echo "$ac_try_echo"; } >&5
2378 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2379 ac_status=$?
2380 if test -s conftest.err; then
2381 sed '10a\
2382 ... rest of stderr output deleted ...
2383 10q' conftest.err >conftest.er1
2384 cat conftest.er1 >&5
2386 rm -f conftest.er1 conftest.err
2387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2388 test $ac_status = 0; }
2389 done
2391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2392 /* end confdefs.h. */
2395 main ()
2399 return 0;
2401 _ACEOF
2402 ac_clean_files_save=$ac_clean_files
2403 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2404 # Try to create an executable without -o first, disregard a.out.
2405 # It will help us diagnose broken compilers, and finding out an intuition
2406 # of exeext.
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2408 $as_echo_n "checking whether the C compiler works... " >&6; }
2409 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2411 # The possible output files:
2412 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2414 ac_rmfiles=
2415 for ac_file in $ac_files
2417 case $ac_file in
2418 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2419 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2420 esac
2421 done
2422 rm -f $ac_rmfiles
2424 if { { ac_try="$ac_link_default"
2425 case "(($ac_try" in
2426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2427 *) ac_try_echo=$ac_try;;
2428 esac
2429 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2430 $as_echo "$ac_try_echo"; } >&5
2431 (eval "$ac_link_default") 2>&5
2432 ac_status=$?
2433 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2434 test $ac_status = 0; }; then :
2435 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2436 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2437 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2438 # so that the user can short-circuit this test for compilers unknown to
2439 # Autoconf.
2440 for ac_file in $ac_files ''
2442 test -f "$ac_file" || continue
2443 case $ac_file in
2444 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2446 [ab].out )
2447 # We found the default executable, but exeext='' is most
2448 # certainly right.
2449 break;;
2450 *.* )
2451 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2452 then :; else
2453 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2455 # We set ac_cv_exeext here because the later test for it is not
2456 # safe: cross compilers may not add the suffix if given an `-o'
2457 # argument, so we may need to know it at that point already.
2458 # Even if this section looks crufty: it has the advantage of
2459 # actually working.
2460 break;;
2462 break;;
2463 esac
2464 done
2465 test "$ac_cv_exeext" = no && ac_cv_exeext=
2467 else
2468 ac_file=''
2470 if test -z "$ac_file"; then :
2471 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2472 $as_echo "no" >&6; }
2473 $as_echo "$as_me: failed program was:" >&5
2474 sed 's/^/| /' conftest.$ac_ext >&5
2476 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2477 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2478 { as_fn_set_status 77
2479 as_fn_error "C compiler cannot create executables
2480 See \`config.log' for more details." "$LINENO" 5; }; }
2481 else
2482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2483 $as_echo "yes" >&6; }
2485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2486 $as_echo_n "checking for C compiler default output file name... " >&6; }
2487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2488 $as_echo "$ac_file" >&6; }
2489 ac_exeext=$ac_cv_exeext
2491 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2492 ac_clean_files=$ac_clean_files_save
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2494 $as_echo_n "checking for suffix of executables... " >&6; }
2495 if { { ac_try="$ac_link"
2496 case "(($ac_try" in
2497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2498 *) ac_try_echo=$ac_try;;
2499 esac
2500 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2501 $as_echo "$ac_try_echo"; } >&5
2502 (eval "$ac_link") 2>&5
2503 ac_status=$?
2504 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2505 test $ac_status = 0; }; then :
2506 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2507 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2508 # work properly (i.e., refer to `conftest.exe'), while it won't with
2509 # `rm'.
2510 for ac_file in conftest.exe conftest conftest.*; do
2511 test -f "$ac_file" || continue
2512 case $ac_file in
2513 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2514 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2515 break;;
2516 * ) break;;
2517 esac
2518 done
2519 else
2520 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2521 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2522 as_fn_error "cannot compute suffix of executables: cannot compile and link
2523 See \`config.log' for more details." "$LINENO" 5; }
2525 rm -f conftest conftest$ac_cv_exeext
2526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2527 $as_echo "$ac_cv_exeext" >&6; }
2529 rm -f conftest.$ac_ext
2530 EXEEXT=$ac_cv_exeext
2531 ac_exeext=$EXEEXT
2532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2533 /* end confdefs.h. */
2534 #include <stdio.h>
2536 main ()
2538 FILE *f = fopen ("conftest.out", "w");
2539 return ferror (f) || fclose (f) != 0;
2542 return 0;
2544 _ACEOF
2545 ac_clean_files="$ac_clean_files conftest.out"
2546 # Check that the compiler produces executables we can run. If not, either
2547 # the compiler is broken, or we cross compile.
2548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2549 $as_echo_n "checking whether we are cross compiling... " >&6; }
2550 if test "$cross_compiling" != yes; then
2551 { { ac_try="$ac_link"
2552 case "(($ac_try" in
2553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2554 *) ac_try_echo=$ac_try;;
2555 esac
2556 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2557 $as_echo "$ac_try_echo"; } >&5
2558 (eval "$ac_link") 2>&5
2559 ac_status=$?
2560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2561 test $ac_status = 0; }
2562 if { ac_try='./conftest$ac_cv_exeext'
2563 { { case "(($ac_try" in
2564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2565 *) ac_try_echo=$ac_try;;
2566 esac
2567 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2568 $as_echo "$ac_try_echo"; } >&5
2569 (eval "$ac_try") 2>&5
2570 ac_status=$?
2571 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2572 test $ac_status = 0; }; }; then
2573 cross_compiling=no
2574 else
2575 if test "$cross_compiling" = maybe; then
2576 cross_compiling=yes
2577 else
2578 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2579 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2580 as_fn_error "cannot run C compiled programs.
2581 If you meant to cross compile, use \`--host'.
2582 See \`config.log' for more details." "$LINENO" 5; }
2586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2587 $as_echo "$cross_compiling" >&6; }
2589 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2590 ac_clean_files=$ac_clean_files_save
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2592 $as_echo_n "checking for suffix of object files... " >&6; }
2593 if test "${ac_cv_objext+set}" = set; then :
2594 $as_echo_n "(cached) " >&6
2595 else
2596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2597 /* end confdefs.h. */
2600 main ()
2604 return 0;
2606 _ACEOF
2607 rm -f conftest.o conftest.obj
2608 if { { ac_try="$ac_compile"
2609 case "(($ac_try" in
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2612 esac
2613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2614 $as_echo "$ac_try_echo"; } >&5
2615 (eval "$ac_compile") 2>&5
2616 ac_status=$?
2617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618 test $ac_status = 0; }; then :
2619 for ac_file in conftest.o conftest.obj conftest.*; do
2620 test -f "$ac_file" || continue;
2621 case $ac_file in
2622 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2623 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2624 break;;
2625 esac
2626 done
2627 else
2628 $as_echo "$as_me: failed program was:" >&5
2629 sed 's/^/| /' conftest.$ac_ext >&5
2631 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2632 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2633 as_fn_error "cannot compute suffix of object files: cannot compile
2634 See \`config.log' for more details." "$LINENO" 5; }
2636 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2639 $as_echo "$ac_cv_objext" >&6; }
2640 OBJEXT=$ac_cv_objext
2641 ac_objext=$OBJEXT
2642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2643 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2644 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2645 $as_echo_n "(cached) " >&6
2646 else
2647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2648 /* end confdefs.h. */
2651 main ()
2653 #ifndef __GNUC__
2654 choke me
2655 #endif
2658 return 0;
2660 _ACEOF
2661 if ac_fn_c_try_compile "$LINENO"; then :
2662 ac_compiler_gnu=yes
2663 else
2664 ac_compiler_gnu=no
2666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2667 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2671 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2672 if test $ac_compiler_gnu = yes; then
2673 GCC=yes
2674 else
2675 GCC=
2677 ac_test_CFLAGS=${CFLAGS+set}
2678 ac_save_CFLAGS=$CFLAGS
2679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2680 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2681 if test "${ac_cv_prog_cc_g+set}" = set; then :
2682 $as_echo_n "(cached) " >&6
2683 else
2684 ac_save_c_werror_flag=$ac_c_werror_flag
2685 ac_c_werror_flag=yes
2686 ac_cv_prog_cc_g=no
2687 CFLAGS="-g"
2688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2689 /* end confdefs.h. */
2692 main ()
2696 return 0;
2698 _ACEOF
2699 if ac_fn_c_try_compile "$LINENO"; then :
2700 ac_cv_prog_cc_g=yes
2701 else
2702 CFLAGS=""
2703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2704 /* end confdefs.h. */
2707 main ()
2711 return 0;
2713 _ACEOF
2714 if ac_fn_c_try_compile "$LINENO"; then :
2716 else
2717 ac_c_werror_flag=$ac_save_c_werror_flag
2718 CFLAGS="-g"
2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2723 main ()
2727 return 0;
2729 _ACEOF
2730 if ac_fn_c_try_compile "$LINENO"; then :
2731 ac_cv_prog_cc_g=yes
2733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2738 ac_c_werror_flag=$ac_save_c_werror_flag
2740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2741 $as_echo "$ac_cv_prog_cc_g" >&6; }
2742 if test "$ac_test_CFLAGS" = set; then
2743 CFLAGS=$ac_save_CFLAGS
2744 elif test $ac_cv_prog_cc_g = yes; then
2745 if test "$GCC" = yes; then
2746 CFLAGS="-g -O2"
2747 else
2748 CFLAGS="-g"
2750 else
2751 if test "$GCC" = yes; then
2752 CFLAGS="-O2"
2753 else
2754 CFLAGS=
2757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2758 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2759 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2760 $as_echo_n "(cached) " >&6
2761 else
2762 ac_cv_prog_cc_c89=no
2763 ac_save_CC=$CC
2764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2765 /* end confdefs.h. */
2766 #include <stdarg.h>
2767 #include <stdio.h>
2768 #include <sys/types.h>
2769 #include <sys/stat.h>
2770 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2771 struct buf { int x; };
2772 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2773 static char *e (p, i)
2774 char **p;
2775 int i;
2777 return p[i];
2779 static char *f (char * (*g) (char **, int), char **p, ...)
2781 char *s;
2782 va_list v;
2783 va_start (v,p);
2784 s = g (p, va_arg (v,int));
2785 va_end (v);
2786 return s;
2789 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2790 function prototypes and stuff, but not '\xHH' hex character constants.
2791 These don't provoke an error unfortunately, instead are silently treated
2792 as 'x'. The following induces an error, until -std is added to get
2793 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2794 array size at least. It's necessary to write '\x00'==0 to get something
2795 that's true only with -std. */
2796 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2798 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2799 inside strings and character constants. */
2800 #define FOO(x) 'x'
2801 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2803 int test (int i, double x);
2804 struct s1 {int (*f) (int a);};
2805 struct s2 {int (*f) (double a);};
2806 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2807 int argc;
2808 char **argv;
2810 main ()
2812 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2814 return 0;
2816 _ACEOF
2817 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2818 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2820 CC="$ac_save_CC $ac_arg"
2821 if ac_fn_c_try_compile "$LINENO"; then :
2822 ac_cv_prog_cc_c89=$ac_arg
2824 rm -f core conftest.err conftest.$ac_objext
2825 test "x$ac_cv_prog_cc_c89" != "xno" && break
2826 done
2827 rm -f conftest.$ac_ext
2828 CC=$ac_save_CC
2831 # AC_CACHE_VAL
2832 case "x$ac_cv_prog_cc_c89" in
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2835 $as_echo "none needed" >&6; } ;;
2836 xno)
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2838 $as_echo "unsupported" >&6; } ;;
2840 CC="$CC $ac_cv_prog_cc_c89"
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2842 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2843 esac
2844 if test "x$ac_cv_prog_cc_c89" != xno; then :
2848 ac_ext=c
2849 ac_cpp='$CPP $CPPFLAGS'
2850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2855 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2856 set x ${MAKE-make}
2857 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2858 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2859 $as_echo_n "(cached) " >&6
2860 else
2861 cat >conftest.make <<\_ACEOF
2862 SHELL = /bin/sh
2863 all:
2864 @echo '@@@%%%=$(MAKE)=@@@%%%'
2865 _ACEOF
2866 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2867 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2868 *@@@%%%=?*=@@@%%%*)
2869 eval ac_cv_prog_make_${ac_make}_set=yes;;
2871 eval ac_cv_prog_make_${ac_make}_set=no;;
2872 esac
2873 rm -f conftest.make
2875 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2877 $as_echo "yes" >&6; }
2878 SET_MAKE=
2879 else
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2881 $as_echo "no" >&6; }
2882 SET_MAKE="MAKE=${MAKE-make}"
2886 # Checks for types
2888 ac_ext=c
2889 ac_cpp='$CPP $CPPFLAGS'
2890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2894 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2895 # On Suns, sometimes $CPP names a directory.
2896 if test -n "$CPP" && test -d "$CPP"; then
2897 CPP=
2899 if test -z "$CPP"; then
2900 if test "${ac_cv_prog_CPP+set}" = set; then :
2901 $as_echo_n "(cached) " >&6
2902 else
2903 # Double quotes because CPP needs to be expanded
2904 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2906 ac_preproc_ok=false
2907 for ac_c_preproc_warn_flag in '' yes
2909 # Use a header file that comes with gcc, so configuring glibc
2910 # with a fresh cross-compiler works.
2911 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2912 # <limits.h> exists even on freestanding compilers.
2913 # On the NeXT, cc -E runs the code through the compiler's parser,
2914 # not just through cpp. "Syntax error" is here to catch this case.
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2917 #ifdef __STDC__
2918 # include <limits.h>
2919 #else
2920 # include <assert.h>
2921 #endif
2922 Syntax error
2923 _ACEOF
2924 if ac_fn_c_try_cpp "$LINENO"; then :
2926 else
2927 # Broken: fails on valid input.
2928 continue
2930 rm -f conftest.err conftest.$ac_ext
2932 # OK, works on sane cases. Now check whether nonexistent headers
2933 # can be detected and how.
2934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2935 /* end confdefs.h. */
2936 #include <ac_nonexistent.h>
2937 _ACEOF
2938 if ac_fn_c_try_cpp "$LINENO"; then :
2939 # Broken: success on invalid input.
2940 continue
2941 else
2942 # Passes both tests.
2943 ac_preproc_ok=:
2944 break
2946 rm -f conftest.err conftest.$ac_ext
2948 done
2949 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2950 rm -f conftest.err conftest.$ac_ext
2951 if $ac_preproc_ok; then :
2952 break
2955 done
2956 ac_cv_prog_CPP=$CPP
2959 CPP=$ac_cv_prog_CPP
2960 else
2961 ac_cv_prog_CPP=$CPP
2963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2964 $as_echo "$CPP" >&6; }
2965 ac_preproc_ok=false
2966 for ac_c_preproc_warn_flag in '' yes
2968 # Use a header file that comes with gcc, so configuring glibc
2969 # with a fresh cross-compiler works.
2970 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2971 # <limits.h> exists even on freestanding compilers.
2972 # On the NeXT, cc -E runs the code through the compiler's parser,
2973 # not just through cpp. "Syntax error" is here to catch this case.
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2976 #ifdef __STDC__
2977 # include <limits.h>
2978 #else
2979 # include <assert.h>
2980 #endif
2981 Syntax error
2982 _ACEOF
2983 if ac_fn_c_try_cpp "$LINENO"; then :
2985 else
2986 # Broken: fails on valid input.
2987 continue
2989 rm -f conftest.err conftest.$ac_ext
2991 # OK, works on sane cases. Now check whether nonexistent headers
2992 # can be detected and how.
2993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2994 /* end confdefs.h. */
2995 #include <ac_nonexistent.h>
2996 _ACEOF
2997 if ac_fn_c_try_cpp "$LINENO"; then :
2998 # Broken: success on invalid input.
2999 continue
3000 else
3001 # Passes both tests.
3002 ac_preproc_ok=:
3003 break
3005 rm -f conftest.err conftest.$ac_ext
3007 done
3008 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3009 rm -f conftest.err conftest.$ac_ext
3010 if $ac_preproc_ok; then :
3012 else
3013 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3014 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3015 as_fn_error "C preprocessor \"$CPP\" fails sanity check
3016 See \`config.log' for more details." "$LINENO" 5; }
3019 ac_ext=c
3020 ac_cpp='$CPP $CPPFLAGS'
3021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3027 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3028 if test "${ac_cv_path_GREP+set}" = set; then :
3029 $as_echo_n "(cached) " >&6
3030 else
3031 if test -z "$GREP"; then
3032 ac_path_GREP_found=false
3033 # Loop through the user's path and test for each of PROGNAME-LIST
3034 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3035 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3037 IFS=$as_save_IFS
3038 test -z "$as_dir" && as_dir=.
3039 for ac_prog in grep ggrep; do
3040 for ac_exec_ext in '' $ac_executable_extensions; do
3041 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3042 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3043 # Check for GNU ac_path_GREP and select it if it is found.
3044 # Check for GNU $ac_path_GREP
3045 case `"$ac_path_GREP" --version 2>&1` in
3046 *GNU*)
3047 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3049 ac_count=0
3050 $as_echo_n 0123456789 >"conftest.in"
3051 while :
3053 cat "conftest.in" "conftest.in" >"conftest.tmp"
3054 mv "conftest.tmp" "conftest.in"
3055 cp "conftest.in" "conftest.nl"
3056 $as_echo 'GREP' >> "conftest.nl"
3057 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3058 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3059 as_fn_arith $ac_count + 1 && ac_count=$as_val
3060 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3061 # Best one so far, save it but keep looking for a better one
3062 ac_cv_path_GREP="$ac_path_GREP"
3063 ac_path_GREP_max=$ac_count
3065 # 10*(2^10) chars as input seems more than enough
3066 test $ac_count -gt 10 && break
3067 done
3068 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3069 esac
3071 $ac_path_GREP_found && break 3
3072 done
3073 done
3074 done
3075 IFS=$as_save_IFS
3076 if test -z "$ac_cv_path_GREP"; then
3077 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3079 else
3080 ac_cv_path_GREP=$GREP
3084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3085 $as_echo "$ac_cv_path_GREP" >&6; }
3086 GREP="$ac_cv_path_GREP"
3089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3090 $as_echo_n "checking for egrep... " >&6; }
3091 if test "${ac_cv_path_EGREP+set}" = set; then :
3092 $as_echo_n "(cached) " >&6
3093 else
3094 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3095 then ac_cv_path_EGREP="$GREP -E"
3096 else
3097 if test -z "$EGREP"; then
3098 ac_path_EGREP_found=false
3099 # Loop through the user's path and test for each of PROGNAME-LIST
3100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3101 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3103 IFS=$as_save_IFS
3104 test -z "$as_dir" && as_dir=.
3105 for ac_prog in egrep; do
3106 for ac_exec_ext in '' $ac_executable_extensions; do
3107 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3108 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3109 # Check for GNU ac_path_EGREP and select it if it is found.
3110 # Check for GNU $ac_path_EGREP
3111 case `"$ac_path_EGREP" --version 2>&1` in
3112 *GNU*)
3113 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3115 ac_count=0
3116 $as_echo_n 0123456789 >"conftest.in"
3117 while :
3119 cat "conftest.in" "conftest.in" >"conftest.tmp"
3120 mv "conftest.tmp" "conftest.in"
3121 cp "conftest.in" "conftest.nl"
3122 $as_echo 'EGREP' >> "conftest.nl"
3123 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3124 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3125 as_fn_arith $ac_count + 1 && ac_count=$as_val
3126 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3127 # Best one so far, save it but keep looking for a better one
3128 ac_cv_path_EGREP="$ac_path_EGREP"
3129 ac_path_EGREP_max=$ac_count
3131 # 10*(2^10) chars as input seems more than enough
3132 test $ac_count -gt 10 && break
3133 done
3134 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3135 esac
3137 $ac_path_EGREP_found && break 3
3138 done
3139 done
3140 done
3141 IFS=$as_save_IFS
3142 if test -z "$ac_cv_path_EGREP"; then
3143 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3145 else
3146 ac_cv_path_EGREP=$EGREP
3151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3152 $as_echo "$ac_cv_path_EGREP" >&6; }
3153 EGREP="$ac_cv_path_EGREP"
3156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3157 $as_echo_n "checking for ANSI C header files... " >&6; }
3158 if test "${ac_cv_header_stdc+set}" = set; then :
3159 $as_echo_n "(cached) " >&6
3160 else
3161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3162 /* end confdefs.h. */
3163 #include <stdlib.h>
3164 #include <stdarg.h>
3165 #include <string.h>
3166 #include <float.h>
3169 main ()
3173 return 0;
3175 _ACEOF
3176 if ac_fn_c_try_compile "$LINENO"; then :
3177 ac_cv_header_stdc=yes
3178 else
3179 ac_cv_header_stdc=no
3181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3183 if test $ac_cv_header_stdc = yes; then
3184 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3186 /* end confdefs.h. */
3187 #include <string.h>
3189 _ACEOF
3190 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3191 $EGREP "memchr" >/dev/null 2>&1; then :
3193 else
3194 ac_cv_header_stdc=no
3196 rm -f conftest*
3200 if test $ac_cv_header_stdc = yes; then
3201 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3204 #include <stdlib.h>
3206 _ACEOF
3207 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3208 $EGREP "free" >/dev/null 2>&1; then :
3210 else
3211 ac_cv_header_stdc=no
3213 rm -f conftest*
3217 if test $ac_cv_header_stdc = yes; then
3218 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3219 if test "$cross_compiling" = yes; then :
3221 else
3222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3223 /* end confdefs.h. */
3224 #include <ctype.h>
3225 #include <stdlib.h>
3226 #if ((' ' & 0x0FF) == 0x020)
3227 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3228 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3229 #else
3230 # define ISLOWER(c) \
3231 (('a' <= (c) && (c) <= 'i') \
3232 || ('j' <= (c) && (c) <= 'r') \
3233 || ('s' <= (c) && (c) <= 'z'))
3234 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3235 #endif
3237 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3239 main ()
3241 int i;
3242 for (i = 0; i < 256; i++)
3243 if (XOR (islower (i), ISLOWER (i))
3244 || toupper (i) != TOUPPER (i))
3245 return 2;
3246 return 0;
3248 _ACEOF
3249 if ac_fn_c_try_run "$LINENO"; then :
3251 else
3252 ac_cv_header_stdc=no
3254 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3255 conftest.$ac_objext conftest.beam conftest.$ac_ext
3260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3261 $as_echo "$ac_cv_header_stdc" >&6; }
3262 if test $ac_cv_header_stdc = yes; then
3264 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3268 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3269 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3270 inttypes.h stdint.h unistd.h
3271 do :
3272 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3273 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3275 eval as_val=\$$as_ac_Header
3276 if test "x$as_val" = x""yes; then :
3277 cat >>confdefs.h <<_ACEOF
3278 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3279 _ACEOF
3283 done
3286 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
3287 if test "x$ac_cv_type_long_long" = x""yes; then :
3289 cat >>confdefs.h <<_ACEOF
3290 #define HAVE_LONG_LONG 1
3291 _ACEOF
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"
3426 # Check whether --enable-ipv6 was given.
3427 if test "${enable_ipv6+set}" = set; then :
3428 enableval=$enable_ipv6;
3429 if test "x$enableval" = "xyes" ; then
3430 EXTRA_CFLAGS="$EXTRA_CFLAGS -DJIM_IPV6"
3437 jim_extensions="stdlib load package readdir glob array clock exec file posix regexp signal tclcompat aio bio eventloop syslog"
3439 # Check whether --with-jim-ext was given.
3440 if test "${with_jim_ext+set}" = set; then :
3441 withval=$with_jim_ext;
3442 if test "x$withval" != "xno" ; then
3443 if test "x$withval" != "xall" ; then
3444 jim_extensions="$withval"
3451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: enabling jim extensions: $jim_extensions" >&5
3452 $as_echo "enabling jim extensions: $jim_extensions" >&6; }
3453 JIM_EXTENSIONS=$jim_extensions
3455 for i in $jim_extensions; do
3456 EXTRA_CFLAGS="$EXTRA_CFLAGS -Djim_ext_$i"
3457 done
3459 JIM_LIBTYPE=static
3461 # Check whether --with-jim-shared was given.
3462 if test "${with_jim_shared+set}" = set; then :
3463 withval=$with_jim_shared;
3464 if test "x$withval" = "xyes" ; then
3465 JIM_LIBTYPE=shared
3471 JIM_LIBTYPE=$JIM_LIBTYPE
3474 for ac_func in ualarm sysinfo lstat fork vfork
3475 do :
3476 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3477 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3478 eval as_val=\$$as_ac_var
3479 if test "x$as_val" = x""yes; then :
3480 cat >>confdefs.h <<_ACEOF
3481 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3482 _ACEOF
3485 done
3487 for ac_func in backtrace geteuid mkstemp realpath strptime
3488 do :
3489 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3490 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3491 eval as_val=\$$as_ac_var
3492 if test "x$as_val" = x""yes; then :
3493 cat >>confdefs.h <<_ACEOF
3494 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3495 _ACEOF
3498 done
3500 for ac_func in regcomp waitpid sigaction sys_signame sys_siglist
3501 do :
3502 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3503 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3504 eval as_val=\$$as_ac_var
3505 if test "x$as_val" = x""yes; then :
3506 cat >>confdefs.h <<_ACEOF
3507 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3508 _ACEOF
3511 done
3514 EXTRA_CFLAGS=$EXTRA_CFLAGS
3516 SRCDIR=`dirname $0`
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
3520 $as_echo_n "checking for library containing dlopen... " >&6; }
3521 if test "${ac_cv_search_dlopen+set}" = set; then :
3522 $as_echo_n "(cached) " >&6
3523 else
3524 ac_func_search_save_LIBS=$LIBS
3525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3526 /* end confdefs.h. */
3528 /* Override any GCC internal prototype to avoid an error.
3529 Use char because int might match the return type of a GCC
3530 builtin and then its argument prototype would still apply. */
3531 #ifdef __cplusplus
3532 extern "C"
3533 #endif
3534 char dlopen ();
3536 main ()
3538 return dlopen ();
3540 return 0;
3542 _ACEOF
3543 for ac_lib in '' dl; do
3544 if test -z "$ac_lib"; then
3545 ac_res="none required"
3546 else
3547 ac_res=-l$ac_lib
3548 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3550 if ac_fn_c_try_link "$LINENO"; then :
3551 ac_cv_search_dlopen=$ac_res
3553 rm -f core conftest.err conftest.$ac_objext \
3554 conftest$ac_exeext
3555 if test "${ac_cv_search_dlopen+set}" = set; then :
3556 break
3558 done
3559 if test "${ac_cv_search_dlopen+set}" = set; then :
3561 else
3562 ac_cv_search_dlopen=no
3564 rm conftest.$ac_ext
3565 LIBS=$ac_func_search_save_LIBS
3567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
3568 $as_echo "$ac_cv_search_dlopen" >&6; }
3569 ac_res=$ac_cv_search_dlopen
3570 if test "$ac_res" != no; then :
3571 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3572 LIBDL=${ac_cv_search_dlopen%none required}
3575 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
3581 ac_config_files="$ac_config_files Makefile"
3583 cat >confcache <<\_ACEOF
3584 # This file is a shell script that caches the results of configure
3585 # tests run on this system so they can be shared between configure
3586 # scripts and configure runs, see configure's option --config-cache.
3587 # It is not useful on other systems. If it contains results you don't
3588 # want to keep, you may remove or edit it.
3590 # config.status only pays attention to the cache file if you give it
3591 # the --recheck option to rerun configure.
3593 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3594 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3595 # following values.
3597 _ACEOF
3599 # The following way of writing the cache mishandles newlines in values,
3600 # but we know of no workaround that is simple, portable, and efficient.
3601 # So, we kill variables containing newlines.
3602 # Ultrix sh set writes to stderr and can't be redirected directly,
3603 # and sets the high bit in the cache file unless we assign to the vars.
3605 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3606 eval ac_val=\$$ac_var
3607 case $ac_val in #(
3608 *${as_nl}*)
3609 case $ac_var in #(
3610 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3611 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3612 esac
3613 case $ac_var in #(
3614 _ | IFS | as_nl) ;; #(
3615 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3616 *) { eval $ac_var=; unset $ac_var;} ;;
3617 esac ;;
3618 esac
3619 done
3621 (set) 2>&1 |
3622 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3623 *${as_nl}ac_space=\ *)
3624 # `set' does not quote correctly, so add quotes: double-quote
3625 # substitution turns \\\\ into \\, and sed turns \\ into \.
3626 sed -n \
3627 "s/'/'\\\\''/g;
3628 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3629 ;; #(
3631 # `set' quotes correctly as required by POSIX, so do not add quotes.
3632 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3634 esac |
3635 sort
3637 sed '
3638 /^ac_cv_env_/b end
3639 t clear
3640 :clear
3641 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3642 t end
3643 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3644 :end' >>confcache
3645 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3646 if test -w "$cache_file"; then
3647 test "x$cache_file" != "x/dev/null" &&
3648 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3649 $as_echo "$as_me: updating cache $cache_file" >&6;}
3650 cat confcache >$cache_file
3651 else
3652 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3653 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3656 rm -f confcache
3658 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3659 # Let make expand exec_prefix.
3660 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3662 DEFS=-DHAVE_CONFIG_H
3664 ac_libobjs=
3665 ac_ltlibobjs=
3666 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3667 # 1. Remove the extension, and $U if already installed.
3668 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3669 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3670 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3671 # will be set to the directory where LIBOBJS objects are built.
3672 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3673 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3674 done
3675 LIBOBJS=$ac_libobjs
3677 LTLIBOBJS=$ac_ltlibobjs
3681 : ${CONFIG_STATUS=./config.status}
3682 ac_write_fail=0
3683 ac_clean_files_save=$ac_clean_files
3684 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3685 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3686 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3687 as_write_fail=0
3688 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3689 #! $SHELL
3690 # Generated by $as_me.
3691 # Run this file to recreate the current configuration.
3692 # Compiler output produced by configure, useful for debugging
3693 # configure, is in config.log if it exists.
3695 debug=false
3696 ac_cs_recheck=false
3697 ac_cs_silent=false
3699 SHELL=\${CONFIG_SHELL-$SHELL}
3700 export SHELL
3701 _ASEOF
3702 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3703 ## -------------------- ##
3704 ## M4sh Initialization. ##
3705 ## -------------------- ##
3707 # Be more Bourne compatible
3708 DUALCASE=1; export DUALCASE # for MKS sh
3709 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3710 emulate sh
3711 NULLCMD=:
3712 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3713 # is contrary to our usage. Disable this feature.
3714 alias -g '${1+"$@"}'='"$@"'
3715 setopt NO_GLOB_SUBST
3716 else
3717 case `(set -o) 2>/dev/null` in #(
3718 *posix*) :
3719 set -o posix ;; #(
3720 *) :
3722 esac
3726 as_nl='
3728 export as_nl
3729 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3730 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3731 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3732 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3733 # Prefer a ksh shell builtin over an external printf program on Solaris,
3734 # but without wasting forks for bash or zsh.
3735 if test -z "$BASH_VERSION$ZSH_VERSION" \
3736 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3737 as_echo='print -r --'
3738 as_echo_n='print -rn --'
3739 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3740 as_echo='printf %s\n'
3741 as_echo_n='printf %s'
3742 else
3743 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3744 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3745 as_echo_n='/usr/ucb/echo -n'
3746 else
3747 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3748 as_echo_n_body='eval
3749 arg=$1;
3750 case $arg in #(
3751 *"$as_nl"*)
3752 expr "X$arg" : "X\\(.*\\)$as_nl";
3753 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3754 esac;
3755 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3757 export as_echo_n_body
3758 as_echo_n='sh -c $as_echo_n_body as_echo'
3760 export as_echo_body
3761 as_echo='sh -c $as_echo_body as_echo'
3764 # The user is always right.
3765 if test "${PATH_SEPARATOR+set}" != set; then
3766 PATH_SEPARATOR=:
3767 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3768 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3769 PATH_SEPARATOR=';'
3774 # IFS
3775 # We need space, tab and new line, in precisely that order. Quoting is
3776 # there to prevent editors from complaining about space-tab.
3777 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3778 # splitting by setting IFS to empty value.)
3779 IFS=" "" $as_nl"
3781 # Find who we are. Look in the path if we contain no directory separator.
3782 case $0 in #((
3783 *[\\/]* ) as_myself=$0 ;;
3784 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3785 for as_dir in $PATH
3787 IFS=$as_save_IFS
3788 test -z "$as_dir" && as_dir=.
3789 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3790 done
3791 IFS=$as_save_IFS
3794 esac
3795 # We did not find ourselves, most probably we were run as `sh COMMAND'
3796 # in which case we are not to be found in the path.
3797 if test "x$as_myself" = x; then
3798 as_myself=$0
3800 if test ! -f "$as_myself"; then
3801 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3802 exit 1
3805 # Unset variables that we do not need and which cause bugs (e.g. in
3806 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3807 # suppresses any "Segmentation fault" message there. '((' could
3808 # trigger a bug in pdksh 5.2.14.
3809 for as_var in BASH_ENV ENV MAIL MAILPATH
3810 do eval test x\${$as_var+set} = xset \
3811 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3812 done
3813 PS1='$ '
3814 PS2='> '
3815 PS4='+ '
3817 # NLS nuisances.
3818 LC_ALL=C
3819 export LC_ALL
3820 LANGUAGE=C
3821 export LANGUAGE
3823 # CDPATH.
3824 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3827 # as_fn_error ERROR [LINENO LOG_FD]
3828 # ---------------------------------
3829 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3830 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3831 # script with status $?, using 1 if that was 0.
3832 as_fn_error ()
3834 as_status=$?; test $as_status -eq 0 && as_status=1
3835 if test "$3"; then
3836 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3837 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3839 $as_echo "$as_me: error: $1" >&2
3840 as_fn_exit $as_status
3841 } # as_fn_error
3844 # as_fn_set_status STATUS
3845 # -----------------------
3846 # Set $? to STATUS, without forking.
3847 as_fn_set_status ()
3849 return $1
3850 } # as_fn_set_status
3852 # as_fn_exit STATUS
3853 # -----------------
3854 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3855 as_fn_exit ()
3857 set +e
3858 as_fn_set_status $1
3859 exit $1
3860 } # as_fn_exit
3862 # as_fn_unset VAR
3863 # ---------------
3864 # Portably unset VAR.
3865 as_fn_unset ()
3867 { eval $1=; unset $1;}
3869 as_unset=as_fn_unset
3870 # as_fn_append VAR VALUE
3871 # ----------------------
3872 # Append the text in VALUE to the end of the definition contained in VAR. Take
3873 # advantage of any shell optimizations that allow amortized linear growth over
3874 # repeated appends, instead of the typical quadratic growth present in naive
3875 # implementations.
3876 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3877 eval 'as_fn_append ()
3879 eval $1+=\$2
3881 else
3882 as_fn_append ()
3884 eval $1=\$$1\$2
3886 fi # as_fn_append
3888 # as_fn_arith ARG...
3889 # ------------------
3890 # Perform arithmetic evaluation on the ARGs, and store the result in the
3891 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3892 # must be portable across $(()) and expr.
3893 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3894 eval 'as_fn_arith ()
3896 as_val=$(( $* ))
3898 else
3899 as_fn_arith ()
3901 as_val=`expr "$@" || test $? -eq 1`
3903 fi # as_fn_arith
3906 if expr a : '\(a\)' >/dev/null 2>&1 &&
3907 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3908 as_expr=expr
3909 else
3910 as_expr=false
3913 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3914 as_basename=basename
3915 else
3916 as_basename=false
3919 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3920 as_dirname=dirname
3921 else
3922 as_dirname=false
3925 as_me=`$as_basename -- "$0" ||
3926 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3927 X"$0" : 'X\(//\)$' \| \
3928 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3929 $as_echo X/"$0" |
3930 sed '/^.*\/\([^/][^/]*\)\/*$/{
3931 s//\1/
3934 /^X\/\(\/\/\)$/{
3935 s//\1/
3938 /^X\/\(\/\).*/{
3939 s//\1/
3942 s/.*/./; q'`
3944 # Avoid depending upon Character Ranges.
3945 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3946 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3947 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3948 as_cr_digits='0123456789'
3949 as_cr_alnum=$as_cr_Letters$as_cr_digits
3951 ECHO_C= ECHO_N= ECHO_T=
3952 case `echo -n x` in #(((((
3953 -n*)
3954 case `echo 'xy\c'` in
3955 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3956 xy) ECHO_C='\c';;
3957 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3958 ECHO_T=' ';;
3959 esac;;
3961 ECHO_N='-n';;
3962 esac
3964 rm -f conf$$ conf$$.exe conf$$.file
3965 if test -d conf$$.dir; then
3966 rm -f conf$$.dir/conf$$.file
3967 else
3968 rm -f conf$$.dir
3969 mkdir conf$$.dir 2>/dev/null
3971 if (echo >conf$$.file) 2>/dev/null; then
3972 if ln -s conf$$.file conf$$ 2>/dev/null; then
3973 as_ln_s='ln -s'
3974 # ... but there are two gotchas:
3975 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3976 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3977 # In both cases, we have to default to `cp -p'.
3978 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3979 as_ln_s='cp -p'
3980 elif ln conf$$.file conf$$ 2>/dev/null; then
3981 as_ln_s=ln
3982 else
3983 as_ln_s='cp -p'
3985 else
3986 as_ln_s='cp -p'
3988 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3989 rmdir conf$$.dir 2>/dev/null
3992 # as_fn_mkdir_p
3993 # -------------
3994 # Create "$as_dir" as a directory, including parents if necessary.
3995 as_fn_mkdir_p ()
3998 case $as_dir in #(
3999 -*) as_dir=./$as_dir;;
4000 esac
4001 test -d "$as_dir" || eval $as_mkdir_p || {
4002 as_dirs=
4003 while :; do
4004 case $as_dir in #(
4005 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4006 *) as_qdir=$as_dir;;
4007 esac
4008 as_dirs="'$as_qdir' $as_dirs"
4009 as_dir=`$as_dirname -- "$as_dir" ||
4010 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4011 X"$as_dir" : 'X\(//\)[^/]' \| \
4012 X"$as_dir" : 'X\(//\)$' \| \
4013 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4014 $as_echo X"$as_dir" |
4015 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4016 s//\1/
4019 /^X\(\/\/\)[^/].*/{
4020 s//\1/
4023 /^X\(\/\/\)$/{
4024 s//\1/
4027 /^X\(\/\).*/{
4028 s//\1/
4031 s/.*/./; q'`
4032 test -d "$as_dir" && break
4033 done
4034 test -z "$as_dirs" || eval "mkdir $as_dirs"
4035 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4038 } # as_fn_mkdir_p
4039 if mkdir -p . 2>/dev/null; then
4040 as_mkdir_p='mkdir -p "$as_dir"'
4041 else
4042 test -d ./-p && rmdir ./-p
4043 as_mkdir_p=false
4046 if test -x / >/dev/null 2>&1; then
4047 as_test_x='test -x'
4048 else
4049 if ls -dL / >/dev/null 2>&1; then
4050 as_ls_L_option=L
4051 else
4052 as_ls_L_option=
4054 as_test_x='
4055 eval sh -c '\''
4056 if test -d "$1"; then
4057 test -d "$1/.";
4058 else
4059 case $1 in #(
4060 -*)set "./$1";;
4061 esac;
4062 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4063 ???[sx]*):;;*)false;;esac;fi
4064 '\'' sh
4067 as_executable_p=$as_test_x
4069 # Sed expression to map a string onto a valid CPP name.
4070 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4072 # Sed expression to map a string onto a valid variable name.
4073 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4076 exec 6>&1
4077 ## ----------------------------------- ##
4078 ## Main body of $CONFIG_STATUS script. ##
4079 ## ----------------------------------- ##
4080 _ASEOF
4081 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4083 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4084 # Save the log message, to keep $0 and so on meaningful, and to
4085 # report actual input values of CONFIG_FILES etc. instead of their
4086 # values after options handling.
4087 ac_log="
4088 This file was extended by jim $as_me 0.63, which was
4089 generated by GNU Autoconf 2.65. Invocation command line was
4091 CONFIG_FILES = $CONFIG_FILES
4092 CONFIG_HEADERS = $CONFIG_HEADERS
4093 CONFIG_LINKS = $CONFIG_LINKS
4094 CONFIG_COMMANDS = $CONFIG_COMMANDS
4095 $ $0 $@
4097 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4100 _ACEOF
4102 case $ac_config_files in *"
4103 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4104 esac
4106 case $ac_config_headers in *"
4107 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4108 esac
4111 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4112 # Files that config.status was made for.
4113 config_files="$ac_config_files"
4114 config_headers="$ac_config_headers"
4116 _ACEOF
4118 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4119 ac_cs_usage="\
4120 \`$as_me' instantiates files and other configuration actions
4121 from templates according to the current configuration. Unless the files
4122 and actions are specified as TAGs, all are instantiated by default.
4124 Usage: $0 [OPTION]... [TAG]...
4126 -h, --help print this help, then exit
4127 -V, --version print version number and configuration settings, then exit
4128 --config print configuration, then exit
4129 -q, --quiet, --silent
4130 do not print progress messages
4131 -d, --debug don't remove temporary files
4132 --recheck update $as_me by reconfiguring in the same conditions
4133 --file=FILE[:TEMPLATE]
4134 instantiate the configuration file FILE
4135 --header=FILE[:TEMPLATE]
4136 instantiate the configuration header FILE
4138 Configuration files:
4139 $config_files
4141 Configuration headers:
4142 $config_headers
4144 Report bugs to <steveb@workware.net.au>."
4146 _ACEOF
4147 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4148 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4149 ac_cs_version="\\
4150 jim config.status 0.63
4151 configured by $0, generated by GNU Autoconf 2.65,
4152 with options \\"\$ac_cs_config\\"
4154 Copyright (C) 2009 Free Software Foundation, Inc.
4155 This config.status script is free software; the Free Software Foundation
4156 gives unlimited permission to copy, distribute and modify it."
4158 ac_pwd='$ac_pwd'
4159 srcdir='$srcdir'
4160 test -n "\$AWK" || AWK=awk
4161 _ACEOF
4163 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4164 # The default lists apply if the user does not specify any file.
4165 ac_need_defaults=:
4166 while test $# != 0
4168 case $1 in
4169 --*=*)
4170 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4171 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4172 ac_shift=:
4175 ac_option=$1
4176 ac_optarg=$2
4177 ac_shift=shift
4179 esac
4181 case $ac_option in
4182 # Handling of the options.
4183 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4184 ac_cs_recheck=: ;;
4185 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4186 $as_echo "$ac_cs_version"; exit ;;
4187 --config | --confi | --conf | --con | --co | --c )
4188 $as_echo "$ac_cs_config"; exit ;;
4189 --debug | --debu | --deb | --de | --d | -d )
4190 debug=: ;;
4191 --file | --fil | --fi | --f )
4192 $ac_shift
4193 case $ac_optarg in
4194 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4195 esac
4196 as_fn_append CONFIG_FILES " '$ac_optarg'"
4197 ac_need_defaults=false;;
4198 --header | --heade | --head | --hea )
4199 $ac_shift
4200 case $ac_optarg in
4201 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4202 esac
4203 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4204 ac_need_defaults=false;;
4205 --he | --h)
4206 # Conflict between --help and --header
4207 as_fn_error "ambiguous option: \`$1'
4208 Try \`$0 --help' for more information.";;
4209 --help | --hel | -h )
4210 $as_echo "$ac_cs_usage"; exit ;;
4211 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4212 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4213 ac_cs_silent=: ;;
4215 # This is an error.
4216 -*) as_fn_error "unrecognized option: \`$1'
4217 Try \`$0 --help' for more information." ;;
4219 *) as_fn_append ac_config_targets " $1"
4220 ac_need_defaults=false ;;
4222 esac
4223 shift
4224 done
4226 ac_configure_extra_args=
4228 if $ac_cs_silent; then
4229 exec 6>/dev/null
4230 ac_configure_extra_args="$ac_configure_extra_args --silent"
4233 _ACEOF
4234 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4235 if \$ac_cs_recheck; then
4236 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4237 shift
4238 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4239 CONFIG_SHELL='$SHELL'
4240 export CONFIG_SHELL
4241 exec "\$@"
4244 _ACEOF
4245 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4246 exec 5>>config.log
4248 echo
4249 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4250 ## Running $as_me. ##
4251 _ASBOX
4252 $as_echo "$ac_log"
4253 } >&5
4255 _ACEOF
4256 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4257 _ACEOF
4259 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4261 # Handling of arguments.
4262 for ac_config_target in $ac_config_targets
4264 case $ac_config_target in
4265 "autoconf.h") CONFIG_HEADERS="$CONFIG_HEADERS autoconf.h" ;;
4266 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4268 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4269 esac
4270 done
4273 # If the user did not use the arguments to specify the items to instantiate,
4274 # then the envvar interface is used. Set only those that are not.
4275 # We use the long form for the default assignment because of an extremely
4276 # bizarre bug on SunOS 4.1.3.
4277 if $ac_need_defaults; then
4278 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4279 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4282 # Have a temporary directory for convenience. Make it in the build tree
4283 # simply because there is no reason against having it here, and in addition,
4284 # creating and moving files from /tmp can sometimes cause problems.
4285 # Hook for its removal unless debugging.
4286 # Note that there is a small window in which the directory will not be cleaned:
4287 # after its creation but before its name has been assigned to `$tmp'.
4288 $debug ||
4290 tmp=
4291 trap 'exit_status=$?
4292 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4294 trap 'as_fn_exit 1' 1 2 13 15
4296 # Create a (secure) tmp directory for tmp files.
4299 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4300 test -n "$tmp" && test -d "$tmp"
4301 } ||
4303 tmp=./conf$$-$RANDOM
4304 (umask 077 && mkdir "$tmp")
4305 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4307 # Set up the scripts for CONFIG_FILES section.
4308 # No need to generate them if there are no CONFIG_FILES.
4309 # This happens for instance with `./config.status config.h'.
4310 if test -n "$CONFIG_FILES"; then
4313 ac_cr=`echo X | tr X '\015'`
4314 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4315 # But we know of no other shell where ac_cr would be empty at this
4316 # point, so we can use a bashism as a fallback.
4317 if test "x$ac_cr" = x; then
4318 eval ac_cr=\$\'\\r\'
4320 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4321 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4322 ac_cs_awk_cr='\r'
4323 else
4324 ac_cs_awk_cr=$ac_cr
4327 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4328 _ACEOF
4332 echo "cat >conf$$subs.awk <<_ACEOF" &&
4333 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4334 echo "_ACEOF"
4335 } >conf$$subs.sh ||
4336 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4337 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4338 ac_delim='%!_!# '
4339 for ac_last_try in false false false false false :; do
4340 . ./conf$$subs.sh ||
4341 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4343 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4344 if test $ac_delim_n = $ac_delim_num; then
4345 break
4346 elif $ac_last_try; then
4347 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4348 else
4349 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4351 done
4352 rm -f conf$$subs.sh
4354 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4355 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4356 _ACEOF
4357 sed -n '
4359 s/^/S["/; s/!.*/"]=/
4362 s/^[^!]*!//
4363 :repl
4364 t repl
4365 s/'"$ac_delim"'$//
4366 t delim
4369 s/\(.\{148\}\)..*/\1/
4370 t more1
4371 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4374 b repl
4375 :more1
4376 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4379 s/.\{148\}//
4380 t nl
4381 :delim
4383 s/\(.\{148\}\)..*/\1/
4384 t more2
4385 s/["\\]/\\&/g; s/^/"/; s/$/"/
4388 :more2
4389 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4392 s/.\{148\}//
4393 t delim
4394 ' <conf$$subs.awk | sed '
4395 /^[^""]/{
4397 s/\n//
4399 ' >>$CONFIG_STATUS || ac_write_fail=1
4400 rm -f conf$$subs.awk
4401 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4402 _ACAWK
4403 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4404 for (key in S) S_is_set[key] = 1
4405 FS = "\a"
4409 line = $ 0
4410 nfields = split(line, field, "@")
4411 substed = 0
4412 len = length(field[1])
4413 for (i = 2; i < nfields; i++) {
4414 key = field[i]
4415 keylen = length(key)
4416 if (S_is_set[key]) {
4417 value = S[key]
4418 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4419 len += length(value) + length(field[++i])
4420 substed = 1
4421 } else
4422 len += 1 + keylen
4425 print line
4428 _ACAWK
4429 _ACEOF
4430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4431 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4432 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4433 else
4435 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4436 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4437 _ACEOF
4439 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4440 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4441 # trailing colons and then remove the whole line if VPATH becomes empty
4442 # (actually we leave an empty line to preserve line numbers).
4443 if test "x$srcdir" = x.; then
4444 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4445 s/:*\$(srcdir):*/:/
4446 s/:*\${srcdir}:*/:/
4447 s/:*@srcdir@:*/:/
4448 s/^\([^=]*=[ ]*\):*/\1/
4449 s/:*$//
4450 s/^[^=]*=[ ]*$//
4454 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4455 fi # test -n "$CONFIG_FILES"
4457 # Set up the scripts for CONFIG_HEADERS section.
4458 # No need to generate them if there are no CONFIG_HEADERS.
4459 # This happens for instance with `./config.status Makefile'.
4460 if test -n "$CONFIG_HEADERS"; then
4461 cat >"$tmp/defines.awk" <<\_ACAWK ||
4462 BEGIN {
4463 _ACEOF
4465 # Transform confdefs.h into an awk script `defines.awk', embedded as
4466 # here-document in config.status, that substitutes the proper values into
4467 # config.h.in to produce config.h.
4469 # Create a delimiter string that does not exist in confdefs.h, to ease
4470 # handling of long lines.
4471 ac_delim='%!_!# '
4472 for ac_last_try in false false :; do
4473 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4474 if test -z "$ac_t"; then
4475 break
4476 elif $ac_last_try; then
4477 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
4478 else
4479 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4481 done
4483 # For the awk script, D is an array of macro values keyed by name,
4484 # likewise P contains macro parameters if any. Preserve backslash
4485 # newline sequences.
4487 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4488 sed -n '
4489 s/.\{148\}/&'"$ac_delim"'/g
4490 t rset
4491 :rset
4492 s/^[ ]*#[ ]*define[ ][ ]*/ /
4493 t def
4495 :def
4496 s/\\$//
4497 t bsnl
4498 s/["\\]/\\&/g
4499 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4500 D["\1"]=" \3"/p
4501 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4503 :bsnl
4504 s/["\\]/\\&/g
4505 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4506 D["\1"]=" \3\\\\\\n"\\/p
4507 t cont
4508 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4509 t cont
4511 :cont
4513 s/.\{148\}/&'"$ac_delim"'/g
4514 t clear
4515 :clear
4516 s/\\$//
4517 t bsnlc
4518 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4520 :bsnlc
4521 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4522 b cont
4523 ' <confdefs.h | sed '
4524 s/'"$ac_delim"'/"\\\
4525 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4527 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4528 for (key in D) D_is_set[key] = 1
4529 FS = "\a"
4531 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4532 line = \$ 0
4533 split(line, arg, " ")
4534 if (arg[1] == "#") {
4535 defundef = arg[2]
4536 mac1 = arg[3]
4537 } else {
4538 defundef = substr(arg[1], 2)
4539 mac1 = arg[2]
4541 split(mac1, mac2, "(") #)
4542 macro = mac2[1]
4543 prefix = substr(line, 1, index(line, defundef) - 1)
4544 if (D_is_set[macro]) {
4545 # Preserve the white space surrounding the "#".
4546 print prefix "define", macro P[macro] D[macro]
4547 next
4548 } else {
4549 # Replace #undef with comments. This is necessary, for example,
4550 # in the case of _POSIX_SOURCE, which is predefined and required
4551 # on some systems where configure will not decide to define it.
4552 if (defundef == "undef") {
4553 print "/*", prefix defundef, macro, "*/"
4554 next
4558 { print }
4559 _ACAWK
4560 _ACEOF
4561 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4562 as_fn_error "could not setup config headers machinery" "$LINENO" 5
4563 fi # test -n "$CONFIG_HEADERS"
4566 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4567 shift
4568 for ac_tag
4570 case $ac_tag in
4571 :[FHLC]) ac_mode=$ac_tag; continue;;
4572 esac
4573 case $ac_mode$ac_tag in
4574 :[FHL]*:*);;
4575 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4576 :[FH]-) ac_tag=-:-;;
4577 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4578 esac
4579 ac_save_IFS=$IFS
4580 IFS=:
4581 set x $ac_tag
4582 IFS=$ac_save_IFS
4583 shift
4584 ac_file=$1
4585 shift
4587 case $ac_mode in
4588 :L) ac_source=$1;;
4589 :[FH])
4590 ac_file_inputs=
4591 for ac_f
4593 case $ac_f in
4594 -) ac_f="$tmp/stdin";;
4595 *) # Look for the file first in the build tree, then in the source tree
4596 # (if the path is not absolute). The absolute path cannot be DOS-style,
4597 # because $ac_f cannot contain `:'.
4598 test -f "$ac_f" ||
4599 case $ac_f in
4600 [\\/$]*) false;;
4601 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4602 esac ||
4603 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4604 esac
4605 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4606 as_fn_append ac_file_inputs " '$ac_f'"
4607 done
4609 # Let's still pretend it is `configure' which instantiates (i.e., don't
4610 # use $as_me), people would be surprised to read:
4611 # /* config.h. Generated by config.status. */
4612 configure_input='Generated from '`
4613 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4614 `' by configure.'
4615 if test x"$ac_file" != x-; then
4616 configure_input="$ac_file. $configure_input"
4617 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4618 $as_echo "$as_me: creating $ac_file" >&6;}
4620 # Neutralize special characters interpreted by sed in replacement strings.
4621 case $configure_input in #(
4622 *\&* | *\|* | *\\* )
4623 ac_sed_conf_input=`$as_echo "$configure_input" |
4624 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4625 *) ac_sed_conf_input=$configure_input;;
4626 esac
4628 case $ac_tag in
4629 *:-:* | *:-) cat >"$tmp/stdin" \
4630 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4631 esac
4633 esac
4635 ac_dir=`$as_dirname -- "$ac_file" ||
4636 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4637 X"$ac_file" : 'X\(//\)[^/]' \| \
4638 X"$ac_file" : 'X\(//\)$' \| \
4639 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4640 $as_echo X"$ac_file" |
4641 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4642 s//\1/
4645 /^X\(\/\/\)[^/].*/{
4646 s//\1/
4649 /^X\(\/\/\)$/{
4650 s//\1/
4653 /^X\(\/\).*/{
4654 s//\1/
4657 s/.*/./; q'`
4658 as_dir="$ac_dir"; as_fn_mkdir_p
4659 ac_builddir=.
4661 case "$ac_dir" in
4662 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4664 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4665 # A ".." for each directory in $ac_dir_suffix.
4666 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4667 case $ac_top_builddir_sub in
4668 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4669 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4670 esac ;;
4671 esac
4672 ac_abs_top_builddir=$ac_pwd
4673 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4674 # for backward compatibility:
4675 ac_top_builddir=$ac_top_build_prefix
4677 case $srcdir in
4678 .) # We are building in place.
4679 ac_srcdir=.
4680 ac_top_srcdir=$ac_top_builddir_sub
4681 ac_abs_top_srcdir=$ac_pwd ;;
4682 [\\/]* | ?:[\\/]* ) # Absolute name.
4683 ac_srcdir=$srcdir$ac_dir_suffix;
4684 ac_top_srcdir=$srcdir
4685 ac_abs_top_srcdir=$srcdir ;;
4686 *) # Relative name.
4687 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4688 ac_top_srcdir=$ac_top_build_prefix$srcdir
4689 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4690 esac
4691 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4694 case $ac_mode in
4697 # CONFIG_FILE
4700 _ACEOF
4702 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4703 # If the template does not know about datarootdir, expand it.
4704 # FIXME: This hack should be removed a few years after 2.60.
4705 ac_datarootdir_hack=; ac_datarootdir_seen=
4706 ac_sed_dataroot='
4707 /datarootdir/ {
4711 /@datadir@/p
4712 /@docdir@/p
4713 /@infodir@/p
4714 /@localedir@/p
4715 /@mandir@/p'
4716 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4717 *datarootdir*) ac_datarootdir_seen=yes;;
4718 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4719 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4720 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4721 _ACEOF
4722 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4723 ac_datarootdir_hack='
4724 s&@datadir@&$datadir&g
4725 s&@docdir@&$docdir&g
4726 s&@infodir@&$infodir&g
4727 s&@localedir@&$localedir&g
4728 s&@mandir@&$mandir&g
4729 s&\\\${datarootdir}&$datarootdir&g' ;;
4730 esac
4731 _ACEOF
4733 # Neutralize VPATH when `$srcdir' = `.'.
4734 # Shell code in configure.ac might set extrasub.
4735 # FIXME: do we really want to maintain this feature?
4736 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4737 ac_sed_extra="$ac_vpsub
4738 $extrasub
4739 _ACEOF
4740 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4742 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4743 s|@configure_input@|$ac_sed_conf_input|;t t
4744 s&@top_builddir@&$ac_top_builddir_sub&;t t
4745 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4746 s&@srcdir@&$ac_srcdir&;t t
4747 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4748 s&@top_srcdir@&$ac_top_srcdir&;t t
4749 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4750 s&@builddir@&$ac_builddir&;t t
4751 s&@abs_builddir@&$ac_abs_builddir&;t t
4752 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4753 $ac_datarootdir_hack
4755 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4756 || as_fn_error "could not create $ac_file" "$LINENO" 5
4758 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4759 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4760 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4762 which seems to be undefined. Please make sure it is defined." >&5
4763 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4764 which seems to be undefined. Please make sure it is defined." >&2;}
4766 rm -f "$tmp/stdin"
4767 case $ac_file in
4768 -) cat "$tmp/out" && rm -f "$tmp/out";;
4769 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4770 esac \
4771 || as_fn_error "could not create $ac_file" "$LINENO" 5
4775 # CONFIG_HEADER
4777 if test x"$ac_file" != x-; then
4779 $as_echo "/* $configure_input */" \
4780 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
4781 } >"$tmp/config.h" \
4782 || as_fn_error "could not create $ac_file" "$LINENO" 5
4783 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
4784 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4785 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4786 else
4787 rm -f "$ac_file"
4788 mv "$tmp/config.h" "$ac_file" \
4789 || as_fn_error "could not create $ac_file" "$LINENO" 5
4791 else
4792 $as_echo "/* $configure_input */" \
4793 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
4794 || as_fn_error "could not create -" "$LINENO" 5
4799 esac
4801 done # for ac_tag
4804 as_fn_exit 0
4805 _ACEOF
4806 ac_clean_files=$ac_clean_files_save
4808 test $ac_write_fail = 0 ||
4809 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4812 # configure is writing to config.log, and then calls config.status.
4813 # config.status does its own redirection, appending to config.log.
4814 # Unfortunately, on DOS this fails, as config.log is still kept open
4815 # by configure, so config.status won't be able to write to it; its
4816 # output is simply discarded. So we exec the FD to /dev/null,
4817 # effectively closing config.log, so it can be properly (re)opened and
4818 # appended to by config.status. When coming back to configure, we
4819 # need to make the FD available again.
4820 if test "$no_create" != yes; then
4821 ac_cs_success=:
4822 ac_config_status_args=
4823 test "$silent" = yes &&
4824 ac_config_status_args="$ac_config_status_args --quiet"
4825 exec 5>/dev/null
4826 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4827 exec 5>>config.log
4828 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4829 # would make configure fail if this is the last instruction.
4830 $ac_cs_success || as_fn_exit $?
4832 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4834 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}