comparison lib/swig/swigwin-2.0.11/CCache/configure @ 1899:b3009adc0e2f

Adding swig, gitignore, hgignore
author Nomad
date Mon, 21 Oct 2013 10:42:27 +0200
parents
children
comparison
equal deleted inserted replaced
1867:eb580660bbbb 1899:b3009adc0e2f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68 for ccache-swig 0.0.
4 #
5 #
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
9 #
10 #
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
16
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
31 ;;
32 esac
33 fi
34
35
36 as_nl='
37 '
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 '
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
69 fi
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
72 fi
73
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
80 }
81 fi
82
83
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
90
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
97 do
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
103
104 ;;
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
110 fi
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
114 fi
115
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
127
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
133
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
150 ;;
151 esac
152 fi
153 "
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
159
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
166
167 else
168 exitcode=1; echo positional parameters were not saved.
169 fi
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
175 test \$(( 1 + 1 )) = 2 || exit 1"
176 if (eval "$as_required") 2>/dev/null; then :
177 as_have_required=yes
178 else
179 as_have_required=no
180 fi
181 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182
183 else
184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
185 as_found=false
186 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 do
188 IFS=$as_save_IFS
189 test -z "$as_dir" && as_dir=.
190 as_found=:
191 case $as_dir in #(
192 /*)
193 for as_base in sh bash ksh sh5; do
194 # Try only shells that exist, to save several forks.
195 as_shell=$as_dir/$as_base
196 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
197 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
198 CONFIG_SHELL=$as_shell as_have_required=yes
199 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
200 break 2
201 fi
202 fi
203 done;;
204 esac
205 as_found=false
206 done
207 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
208 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
209 CONFIG_SHELL=$SHELL as_have_required=yes
210 fi; }
211 IFS=$as_save_IFS
212
213
214 if test "x$CONFIG_SHELL" != x; then :
215 # We cannot yet assume a decent shell, so we have to provide a
216 # neutralization value for shells without unset; and this also
217 # works around shells that cannot unset nonexistent variables.
218 # Preserve -v and -x to the replacement shell.
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 case $- in # ((((
224 *v*x* | *x*v* ) as_opts=-vx ;;
225 *v* ) as_opts=-v ;;
226 *x* ) as_opts=-x ;;
227 * ) as_opts= ;;
228 esac
229 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
230 fi
231
232 if test x$as_have_required = xno; then :
233 $as_echo "$0: This script requires a shell more modern than all"
234 $as_echo "$0: the shells that I found on your system."
235 if test x${ZSH_VERSION+set} = xset ; then
236 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
237 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
238 else
239 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
240 $0: including any error possibly output before this
241 $0: message. Then install a modern shell, or manually run
242 $0: the script under such a shell if you do have one."
243 fi
244 exit 1
245 fi
246 fi
247 fi
248 SHELL=${CONFIG_SHELL-/bin/sh}
249 export SHELL
250 # Unset more variables known to interfere with behavior of common tools.
251 CLICOLOR_FORCE= GREP_OPTIONS=
252 unset CLICOLOR_FORCE GREP_OPTIONS
253
254 ## --------------------- ##
255 ## M4sh Shell Functions. ##
256 ## --------------------- ##
257 # as_fn_unset VAR
258 # ---------------
259 # Portably unset VAR.
260 as_fn_unset ()
261 {
262 { eval $1=; unset $1;}
263 }
264 as_unset=as_fn_unset
265
266 # as_fn_set_status STATUS
267 # -----------------------
268 # Set $? to STATUS, without forking.
269 as_fn_set_status ()
270 {
271 return $1
272 } # as_fn_set_status
273
274 # as_fn_exit STATUS
275 # -----------------
276 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 as_fn_exit ()
278 {
279 set +e
280 as_fn_set_status $1
281 exit $1
282 } # as_fn_exit
283
284 # as_fn_mkdir_p
285 # -------------
286 # Create "$as_dir" as a directory, including parents if necessary.
287 as_fn_mkdir_p ()
288 {
289
290 case $as_dir in #(
291 -*) as_dir=./$as_dir;;
292 esac
293 test -d "$as_dir" || eval $as_mkdir_p || {
294 as_dirs=
295 while :; do
296 case $as_dir in #(
297 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
298 *) as_qdir=$as_dir;;
299 esac
300 as_dirs="'$as_qdir' $as_dirs"
301 as_dir=`$as_dirname -- "$as_dir" ||
302 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
303 X"$as_dir" : 'X\(//\)[^/]' \| \
304 X"$as_dir" : 'X\(//\)$' \| \
305 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
306 $as_echo X"$as_dir" |
307 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
308 s//\1/
309 q
310 }
311 /^X\(\/\/\)[^/].*/{
312 s//\1/
313 q
314 }
315 /^X\(\/\/\)$/{
316 s//\1/
317 q
318 }
319 /^X\(\/\).*/{
320 s//\1/
321 q
322 }
323 s/.*/./; q'`
324 test -d "$as_dir" && break
325 done
326 test -z "$as_dirs" || eval "mkdir $as_dirs"
327 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
328
329
330 } # as_fn_mkdir_p
331 # as_fn_append VAR VALUE
332 # ----------------------
333 # Append the text in VALUE to the end of the definition contained in VAR. Take
334 # advantage of any shell optimizations that allow amortized linear growth over
335 # repeated appends, instead of the typical quadratic growth present in naive
336 # implementations.
337 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
338 eval 'as_fn_append ()
339 {
340 eval $1+=\$2
341 }'
342 else
343 as_fn_append ()
344 {
345 eval $1=\$$1\$2
346 }
347 fi # as_fn_append
348
349 # as_fn_arith ARG...
350 # ------------------
351 # Perform arithmetic evaluation on the ARGs, and store the result in the
352 # global $as_val. Take advantage of shells that can avoid forks. The arguments
353 # must be portable across $(()) and expr.
354 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
355 eval 'as_fn_arith ()
356 {
357 as_val=$(( $* ))
358 }'
359 else
360 as_fn_arith ()
361 {
362 as_val=`expr "$@" || test $? -eq 1`
363 }
364 fi # as_fn_arith
365
366
367 # as_fn_error STATUS ERROR [LINENO LOG_FD]
368 # ----------------------------------------
369 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
370 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
371 # script with STATUS, using 1 if that was 0.
372 as_fn_error ()
373 {
374 as_status=$1; test $as_status -eq 0 && as_status=1
375 if test "$4"; then
376 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
377 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378 fi
379 $as_echo "$as_me: error: $2" >&2
380 as_fn_exit $as_status
381 } # as_fn_error
382
383 if expr a : '\(a\)' >/dev/null 2>&1 &&
384 test "X`expr 00001 : '.*\(...\)'`" = X001; then
385 as_expr=expr
386 else
387 as_expr=false
388 fi
389
390 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
391 as_basename=basename
392 else
393 as_basename=false
394 fi
395
396 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
397 as_dirname=dirname
398 else
399 as_dirname=false
400 fi
401
402 as_me=`$as_basename -- "$0" ||
403 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
404 X"$0" : 'X\(//\)$' \| \
405 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
406 $as_echo X/"$0" |
407 sed '/^.*\/\([^/][^/]*\)\/*$/{
408 s//\1/
409 q
410 }
411 /^X\/\(\/\/\)$/{
412 s//\1/
413 q
414 }
415 /^X\/\(\/\).*/{
416 s//\1/
417 q
418 }
419 s/.*/./; q'`
420
421 # Avoid depending upon Character Ranges.
422 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
423 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
424 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
425 as_cr_digits='0123456789'
426 as_cr_alnum=$as_cr_Letters$as_cr_digits
427
428
429 as_lineno_1=$LINENO as_lineno_1a=$LINENO
430 as_lineno_2=$LINENO as_lineno_2a=$LINENO
431 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
432 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
433 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 sed -n '
435 p
436 /[$]LINENO/=
437 ' <$as_myself |
438 sed '
439 s/[$]LINENO.*/&-/
440 t lineno
441 b
442 :lineno
443 N
444 :loop
445 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
446 t loop
447 s/-\n.*//
448 ' >$as_me.lineno &&
449 chmod +x "$as_me.lineno" ||
450 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451
452 # Don't try to exec as it changes $[0], causing all sort of problems
453 # (the dirname of $[0] is not the place where we might find the
454 # original and so on. Autoconf is especially sensitive to this).
455 . "./$as_me.lineno"
456 # Exit status is that of the last command.
457 exit
458 }
459
460 ECHO_C= ECHO_N= ECHO_T=
461 case `echo -n x` in #(((((
462 -n*)
463 case `echo 'xy\c'` in
464 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
465 xy) ECHO_C='\c';;
466 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
467 ECHO_T=' ';;
468 esac;;
469 *)
470 ECHO_N='-n';;
471 esac
472
473 rm -f conf$$ conf$$.exe conf$$.file
474 if test -d conf$$.dir; then
475 rm -f conf$$.dir/conf$$.file
476 else
477 rm -f conf$$.dir
478 mkdir conf$$.dir 2>/dev/null
479 fi
480 if (echo >conf$$.file) 2>/dev/null; then
481 if ln -s conf$$.file conf$$ 2>/dev/null; then
482 as_ln_s='ln -s'
483 # ... but there are two gotchas:
484 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
485 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
486 # In both cases, we have to default to `cp -p'.
487 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
488 as_ln_s='cp -p'
489 elif ln conf$$.file conf$$ 2>/dev/null; then
490 as_ln_s=ln
491 else
492 as_ln_s='cp -p'
493 fi
494 else
495 as_ln_s='cp -p'
496 fi
497 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
498 rmdir conf$$.dir 2>/dev/null
499
500 if mkdir -p . 2>/dev/null; then
501 as_mkdir_p='mkdir -p "$as_dir"'
502 else
503 test -d ./-p && rmdir ./-p
504 as_mkdir_p=false
505 fi
506
507 if test -x / >/dev/null 2>&1; then
508 as_test_x='test -x'
509 else
510 if ls -dL / >/dev/null 2>&1; then
511 as_ls_L_option=L
512 else
513 as_ls_L_option=
514 fi
515 as_test_x='
516 eval sh -c '\''
517 if test -d "$1"; then
518 test -d "$1/.";
519 else
520 case $1 in #(
521 -*)set "./$1";;
522 esac;
523 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
524 ???[sx]*):;;*)false;;esac;fi
525 '\'' sh
526 '
527 fi
528 as_executable_p=$as_test_x
529
530 # Sed expression to map a string onto a valid CPP name.
531 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532
533 # Sed expression to map a string onto a valid variable name.
534 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
535
536
537 test -n "$DJDIR" || exec 7<&0 </dev/null
538 exec 6>&1
539
540 # Name of the host.
541 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
542 # so uname gets run too.
543 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
544
545 #
546 # Initializations.
547 #
548 ac_default_prefix=/usr/local
549 ac_clean_files=
550 ac_config_libobj_dir=.
551 LIBOBJS=
552 cross_compiling=no
553 subdirs=
554 MFLAGS=
555 MAKEFLAGS=
556
557 # Identity of this package.
558 PACKAGE_NAME='ccache-swig'
559 PACKAGE_TARNAME='ccache-swig'
560 PACKAGE_VERSION='0.0'
561 PACKAGE_STRING='ccache-swig 0.0'
562 PACKAGE_BUGREPORT=''
563 PACKAGE_URL=''
564
565 ac_unique_file="ccache.h"
566 # Factoring default headers for most tests.
567 ac_includes_default="\
568 #include <stdio.h>
569 #ifdef HAVE_SYS_TYPES_H
570 # include <sys/types.h>
571 #endif
572 #ifdef HAVE_SYS_STAT_H
573 # include <sys/stat.h>
574 #endif
575 #ifdef STDC_HEADERS
576 # include <stdlib.h>
577 # include <stddef.h>
578 #else
579 # ifdef HAVE_STDLIB_H
580 # include <stdlib.h>
581 # endif
582 #endif
583 #ifdef HAVE_STRING_H
584 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
585 # include <memory.h>
586 # endif
587 # include <string.h>
588 #endif
589 #ifdef HAVE_STRINGS_H
590 # include <strings.h>
591 #endif
592 #ifdef HAVE_INTTYPES_H
593 # include <inttypes.h>
594 #endif
595 #ifdef HAVE_STDINT_H
596 # include <stdint.h>
597 #endif
598 #ifdef HAVE_UNISTD_H
599 # include <unistd.h>
600 #endif"
601
602 ac_subst_vars='LTLIBOBJS
603 LIBOBJS
604 EGREP
605 GREP
606 INSTALL_DATA
607 INSTALL_SCRIPT
608 INSTALL_PROGRAM
609 CPP
610 OBJEXT
611 EXEEXT
612 ac_ct_CC
613 CPPFLAGS
614 LDFLAGS
615 CFLAGS
616 CC
617 target_alias
618 host_alias
619 build_alias
620 LIBS
621 ECHO_T
622 ECHO_N
623 ECHO_C
624 DEFS
625 mandir
626 localedir
627 libdir
628 psdir
629 pdfdir
630 dvidir
631 htmldir
632 infodir
633 docdir
634 oldincludedir
635 includedir
636 localstatedir
637 sharedstatedir
638 sysconfdir
639 datadir
640 datarootdir
641 libexecdir
642 sbindir
643 bindir
644 program_transform_name
645 prefix
646 exec_prefix
647 PACKAGE_URL
648 PACKAGE_BUGREPORT
649 PACKAGE_STRING
650 PACKAGE_VERSION
651 PACKAGE_TARNAME
652 PACKAGE_NAME
653 PATH_SEPARATOR
654 SHELL'
655 ac_subst_files=''
656 ac_user_opts='
657 enable_option_checking
658 enable_zlib
659 '
660 ac_precious_vars='build_alias
661 host_alias
662 target_alias
663 CC
664 CFLAGS
665 LDFLAGS
666 LIBS
667 CPPFLAGS
668 CPP'
669
670
671 # Initialize some variables set by options.
672 ac_init_help=
673 ac_init_version=false
674 ac_unrecognized_opts=
675 ac_unrecognized_sep=
676 # The variables have the same names as the options, with
677 # dashes changed to underlines.
678 cache_file=/dev/null
679 exec_prefix=NONE
680 no_create=
681 no_recursion=
682 prefix=NONE
683 program_prefix=NONE
684 program_suffix=NONE
685 program_transform_name=s,x,x,
686 silent=
687 site=
688 srcdir=
689 verbose=
690 x_includes=NONE
691 x_libraries=NONE
692
693 # Installation directory options.
694 # These are left unexpanded so users can "make install exec_prefix=/foo"
695 # and all the variables that are supposed to be based on exec_prefix
696 # by default will actually change.
697 # Use braces instead of parens because sh, perl, etc. also accept them.
698 # (The list follows the same order as the GNU Coding Standards.)
699 bindir='${exec_prefix}/bin'
700 sbindir='${exec_prefix}/sbin'
701 libexecdir='${exec_prefix}/libexec'
702 datarootdir='${prefix}/share'
703 datadir='${datarootdir}'
704 sysconfdir='${prefix}/etc'
705 sharedstatedir='${prefix}/com'
706 localstatedir='${prefix}/var'
707 includedir='${prefix}/include'
708 oldincludedir='/usr/include'
709 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
710 infodir='${datarootdir}/info'
711 htmldir='${docdir}'
712 dvidir='${docdir}'
713 pdfdir='${docdir}'
714 psdir='${docdir}'
715 libdir='${exec_prefix}/lib'
716 localedir='${datarootdir}/locale'
717 mandir='${datarootdir}/man'
718
719 ac_prev=
720 ac_dashdash=
721 for ac_option
722 do
723 # If the previous option needs an argument, assign it.
724 if test -n "$ac_prev"; then
725 eval $ac_prev=\$ac_option
726 ac_prev=
727 continue
728 fi
729
730 case $ac_option in
731 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
732 *=) ac_optarg= ;;
733 *) ac_optarg=yes ;;
734 esac
735
736 # Accept the important Cygnus configure options, so we can diagnose typos.
737
738 case $ac_dashdash$ac_option in
739 --)
740 ac_dashdash=yes ;;
741
742 -bindir | --bindir | --bindi | --bind | --bin | --bi)
743 ac_prev=bindir ;;
744 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
745 bindir=$ac_optarg ;;
746
747 -build | --build | --buil | --bui | --bu)
748 ac_prev=build_alias ;;
749 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
750 build_alias=$ac_optarg ;;
751
752 -cache-file | --cache-file | --cache-fil | --cache-fi \
753 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
754 ac_prev=cache_file ;;
755 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
756 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
757 cache_file=$ac_optarg ;;
758
759 --config-cache | -C)
760 cache_file=config.cache ;;
761
762 -datadir | --datadir | --datadi | --datad)
763 ac_prev=datadir ;;
764 -datadir=* | --datadir=* | --datadi=* | --datad=*)
765 datadir=$ac_optarg ;;
766
767 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
768 | --dataroo | --dataro | --datar)
769 ac_prev=datarootdir ;;
770 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
771 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
772 datarootdir=$ac_optarg ;;
773
774 -disable-* | --disable-*)
775 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
776 # Reject names that are not valid shell variable names.
777 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
778 as_fn_error $? "invalid feature name: $ac_useropt"
779 ac_useropt_orig=$ac_useropt
780 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
781 case $ac_user_opts in
782 *"
783 "enable_$ac_useropt"
784 "*) ;;
785 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
786 ac_unrecognized_sep=', ';;
787 esac
788 eval enable_$ac_useropt=no ;;
789
790 -docdir | --docdir | --docdi | --doc | --do)
791 ac_prev=docdir ;;
792 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
793 docdir=$ac_optarg ;;
794
795 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
796 ac_prev=dvidir ;;
797 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
798 dvidir=$ac_optarg ;;
799
800 -enable-* | --enable-*)
801 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
802 # Reject names that are not valid shell variable names.
803 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
804 as_fn_error $? "invalid feature name: $ac_useropt"
805 ac_useropt_orig=$ac_useropt
806 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
807 case $ac_user_opts in
808 *"
809 "enable_$ac_useropt"
810 "*) ;;
811 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
812 ac_unrecognized_sep=', ';;
813 esac
814 eval enable_$ac_useropt=\$ac_optarg ;;
815
816 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
817 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
818 | --exec | --exe | --ex)
819 ac_prev=exec_prefix ;;
820 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
821 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
822 | --exec=* | --exe=* | --ex=*)
823 exec_prefix=$ac_optarg ;;
824
825 -gas | --gas | --ga | --g)
826 # Obsolete; use --with-gas.
827 with_gas=yes ;;
828
829 -help | --help | --hel | --he | -h)
830 ac_init_help=long ;;
831 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
832 ac_init_help=recursive ;;
833 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
834 ac_init_help=short ;;
835
836 -host | --host | --hos | --ho)
837 ac_prev=host_alias ;;
838 -host=* | --host=* | --hos=* | --ho=*)
839 host_alias=$ac_optarg ;;
840
841 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
842 ac_prev=htmldir ;;
843 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
844 | --ht=*)
845 htmldir=$ac_optarg ;;
846
847 -includedir | --includedir | --includedi | --included | --include \
848 | --includ | --inclu | --incl | --inc)
849 ac_prev=includedir ;;
850 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
851 | --includ=* | --inclu=* | --incl=* | --inc=*)
852 includedir=$ac_optarg ;;
853
854 -infodir | --infodir | --infodi | --infod | --info | --inf)
855 ac_prev=infodir ;;
856 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
857 infodir=$ac_optarg ;;
858
859 -libdir | --libdir | --libdi | --libd)
860 ac_prev=libdir ;;
861 -libdir=* | --libdir=* | --libdi=* | --libd=*)
862 libdir=$ac_optarg ;;
863
864 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
865 | --libexe | --libex | --libe)
866 ac_prev=libexecdir ;;
867 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
868 | --libexe=* | --libex=* | --libe=*)
869 libexecdir=$ac_optarg ;;
870
871 -localedir | --localedir | --localedi | --localed | --locale)
872 ac_prev=localedir ;;
873 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
874 localedir=$ac_optarg ;;
875
876 -localstatedir | --localstatedir | --localstatedi | --localstated \
877 | --localstate | --localstat | --localsta | --localst | --locals)
878 ac_prev=localstatedir ;;
879 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
880 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
881 localstatedir=$ac_optarg ;;
882
883 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
884 ac_prev=mandir ;;
885 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
886 mandir=$ac_optarg ;;
887
888 -nfp | --nfp | --nf)
889 # Obsolete; use --without-fp.
890 with_fp=no ;;
891
892 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
893 | --no-cr | --no-c | -n)
894 no_create=yes ;;
895
896 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
897 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
898 no_recursion=yes ;;
899
900 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
901 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
902 | --oldin | --oldi | --old | --ol | --o)
903 ac_prev=oldincludedir ;;
904 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
905 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
906 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
907 oldincludedir=$ac_optarg ;;
908
909 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
910 ac_prev=prefix ;;
911 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
912 prefix=$ac_optarg ;;
913
914 -program-prefix | --program-prefix | --program-prefi | --program-pref \
915 | --program-pre | --program-pr | --program-p)
916 ac_prev=program_prefix ;;
917 -program-prefix=* | --program-prefix=* | --program-prefi=* \
918 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
919 program_prefix=$ac_optarg ;;
920
921 -program-suffix | --program-suffix | --program-suffi | --program-suff \
922 | --program-suf | --program-su | --program-s)
923 ac_prev=program_suffix ;;
924 -program-suffix=* | --program-suffix=* | --program-suffi=* \
925 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
926 program_suffix=$ac_optarg ;;
927
928 -program-transform-name | --program-transform-name \
929 | --program-transform-nam | --program-transform-na \
930 | --program-transform-n | --program-transform- \
931 | --program-transform | --program-transfor \
932 | --program-transfo | --program-transf \
933 | --program-trans | --program-tran \
934 | --progr-tra | --program-tr | --program-t)
935 ac_prev=program_transform_name ;;
936 -program-transform-name=* | --program-transform-name=* \
937 | --program-transform-nam=* | --program-transform-na=* \
938 | --program-transform-n=* | --program-transform-=* \
939 | --program-transform=* | --program-transfor=* \
940 | --program-transfo=* | --program-transf=* \
941 | --program-trans=* | --program-tran=* \
942 | --progr-tra=* | --program-tr=* | --program-t=*)
943 program_transform_name=$ac_optarg ;;
944
945 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
946 ac_prev=pdfdir ;;
947 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
948 pdfdir=$ac_optarg ;;
949
950 -psdir | --psdir | --psdi | --psd | --ps)
951 ac_prev=psdir ;;
952 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
953 psdir=$ac_optarg ;;
954
955 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
956 | -silent | --silent | --silen | --sile | --sil)
957 silent=yes ;;
958
959 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
960 ac_prev=sbindir ;;
961 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
962 | --sbi=* | --sb=*)
963 sbindir=$ac_optarg ;;
964
965 -sharedstatedir | --sharedstatedir | --sharedstatedi \
966 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
967 | --sharedst | --shareds | --shared | --share | --shar \
968 | --sha | --sh)
969 ac_prev=sharedstatedir ;;
970 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
971 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
972 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
973 | --sha=* | --sh=*)
974 sharedstatedir=$ac_optarg ;;
975
976 -site | --site | --sit)
977 ac_prev=site ;;
978 -site=* | --site=* | --sit=*)
979 site=$ac_optarg ;;
980
981 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
982 ac_prev=srcdir ;;
983 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
984 srcdir=$ac_optarg ;;
985
986 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
987 | --syscon | --sysco | --sysc | --sys | --sy)
988 ac_prev=sysconfdir ;;
989 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
990 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
991 sysconfdir=$ac_optarg ;;
992
993 -target | --target | --targe | --targ | --tar | --ta | --t)
994 ac_prev=target_alias ;;
995 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
996 target_alias=$ac_optarg ;;
997
998 -v | -verbose | --verbose | --verbos | --verbo | --verb)
999 verbose=yes ;;
1000
1001 -version | --version | --versio | --versi | --vers | -V)
1002 ac_init_version=: ;;
1003
1004 -with-* | --with-*)
1005 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1006 # Reject names that are not valid shell variable names.
1007 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1008 as_fn_error $? "invalid package name: $ac_useropt"
1009 ac_useropt_orig=$ac_useropt
1010 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1011 case $ac_user_opts in
1012 *"
1013 "with_$ac_useropt"
1014 "*) ;;
1015 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1016 ac_unrecognized_sep=', ';;
1017 esac
1018 eval with_$ac_useropt=\$ac_optarg ;;
1019
1020 -without-* | --without-*)
1021 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1022 # Reject names that are not valid shell variable names.
1023 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1024 as_fn_error $? "invalid package name: $ac_useropt"
1025 ac_useropt_orig=$ac_useropt
1026 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1027 case $ac_user_opts in
1028 *"
1029 "with_$ac_useropt"
1030 "*) ;;
1031 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1032 ac_unrecognized_sep=', ';;
1033 esac
1034 eval with_$ac_useropt=no ;;
1035
1036 --x)
1037 # Obsolete; use --with-x.
1038 with_x=yes ;;
1039
1040 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1041 | --x-incl | --x-inc | --x-in | --x-i)
1042 ac_prev=x_includes ;;
1043 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1044 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1045 x_includes=$ac_optarg ;;
1046
1047 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1048 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1049 ac_prev=x_libraries ;;
1050 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1051 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1052 x_libraries=$ac_optarg ;;
1053
1054 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1055 Try \`$0 --help' for more information"
1056 ;;
1057
1058 *=*)
1059 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1060 # Reject names that are not valid shell variable names.
1061 case $ac_envvar in #(
1062 '' | [0-9]* | *[!_$as_cr_alnum]* )
1063 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1064 esac
1065 eval $ac_envvar=\$ac_optarg
1066 export $ac_envvar ;;
1067
1068 *)
1069 # FIXME: should be removed in autoconf 3.0.
1070 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1071 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1072 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1073 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1074 ;;
1075
1076 esac
1077 done
1078
1079 if test -n "$ac_prev"; then
1080 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1081 as_fn_error $? "missing argument to $ac_option"
1082 fi
1083
1084 if test -n "$ac_unrecognized_opts"; then
1085 case $enable_option_checking in
1086 no) ;;
1087 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1088 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1089 esac
1090 fi
1091
1092 # Check all directory arguments for consistency.
1093 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1094 datadir sysconfdir sharedstatedir localstatedir includedir \
1095 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1096 libdir localedir mandir
1097 do
1098 eval ac_val=\$$ac_var
1099 # Remove trailing slashes.
1100 case $ac_val in
1101 */ )
1102 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1103 eval $ac_var=\$ac_val;;
1104 esac
1105 # Be sure to have absolute directory names.
1106 case $ac_val in
1107 [\\/$]* | ?:[\\/]* ) continue;;
1108 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1109 esac
1110 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1111 done
1112
1113 # There might be people who depend on the old broken behavior: `$host'
1114 # used to hold the argument of --host etc.
1115 # FIXME: To remove some day.
1116 build=$build_alias
1117 host=$host_alias
1118 target=$target_alias
1119
1120 # FIXME: To remove some day.
1121 if test "x$host_alias" != x; then
1122 if test "x$build_alias" = x; then
1123 cross_compiling=maybe
1124 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1125 If a cross compiler is detected then cross compile mode will be used" >&2
1126 elif test "x$build_alias" != "x$host_alias"; then
1127 cross_compiling=yes
1128 fi
1129 fi
1130
1131 ac_tool_prefix=
1132 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1133
1134 test "$silent" = yes && exec 6>/dev/null
1135
1136
1137 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1138 ac_ls_di=`ls -di .` &&
1139 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1140 as_fn_error $? "working directory cannot be determined"
1141 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1142 as_fn_error $? "pwd does not report name of working directory"
1143
1144
1145 # Find the source files, if location was not specified.
1146 if test -z "$srcdir"; then
1147 ac_srcdir_defaulted=yes
1148 # Try the directory containing this script, then the parent directory.
1149 ac_confdir=`$as_dirname -- "$as_myself" ||
1150 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1151 X"$as_myself" : 'X\(//\)[^/]' \| \
1152 X"$as_myself" : 'X\(//\)$' \| \
1153 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1154 $as_echo X"$as_myself" |
1155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1156 s//\1/
1157 q
1158 }
1159 /^X\(\/\/\)[^/].*/{
1160 s//\1/
1161 q
1162 }
1163 /^X\(\/\/\)$/{
1164 s//\1/
1165 q
1166 }
1167 /^X\(\/\).*/{
1168 s//\1/
1169 q
1170 }
1171 s/.*/./; q'`
1172 srcdir=$ac_confdir
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1174 srcdir=..
1175 fi
1176 else
1177 ac_srcdir_defaulted=no
1178 fi
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1180 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1181 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1182 fi
1183 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1184 ac_abs_confdir=`(
1185 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1186 pwd)`
1187 # When building in place, set srcdir=.
1188 if test "$ac_abs_confdir" = "$ac_pwd"; then
1189 srcdir=.
1190 fi
1191 # Remove unnecessary trailing slashes from srcdir.
1192 # Double slashes in file names in object file debugging info
1193 # mess up M-x gdb in Emacs.
1194 case $srcdir in
1195 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1196 esac
1197 for ac_var in $ac_precious_vars; do
1198 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_env_${ac_var}_value=\$${ac_var}
1200 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1201 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1202 done
1203
1204 #
1205 # Report the --help message.
1206 #
1207 if test "$ac_init_help" = "long"; then
1208 # Omit some internal or obsolete options to make the list less imposing.
1209 # This message is too long to be a string in the A/UX 3.1 sh.
1210 cat <<_ACEOF
1211 \`configure' configures ccache-swig 0.0 to adapt to many kinds of systems.
1212
1213 Usage: $0 [OPTION]... [VAR=VALUE]...
1214
1215 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1216 VAR=VALUE. See below for descriptions of some of the useful variables.
1217
1218 Defaults for the options are specified in brackets.
1219
1220 Configuration:
1221 -h, --help display this help and exit
1222 --help=short display options specific to this package
1223 --help=recursive display the short help of all the included packages
1224 -V, --version display version information and exit
1225 -q, --quiet, --silent do not print \`checking ...' messages
1226 --cache-file=FILE cache test results in FILE [disabled]
1227 -C, --config-cache alias for \`--cache-file=config.cache'
1228 -n, --no-create do not create output files
1229 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1230
1231 Installation directories:
1232 --prefix=PREFIX install architecture-independent files in PREFIX
1233 [$ac_default_prefix]
1234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1235 [PREFIX]
1236
1237 By default, \`make install' will install all the files in
1238 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1239 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1240 for instance \`--prefix=\$HOME'.
1241
1242 For better control, use the options below.
1243
1244 Fine tuning of the installation directories:
1245 --bindir=DIR user executables [EPREFIX/bin]
1246 --sbindir=DIR system admin executables [EPREFIX/sbin]
1247 --libexecdir=DIR program executables [EPREFIX/libexec]
1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1251 --libdir=DIR object code libraries [EPREFIX/lib]
1252 --includedir=DIR C header files [PREFIX/include]
1253 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1254 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1255 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1256 --infodir=DIR info documentation [DATAROOTDIR/info]
1257 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1258 --mandir=DIR man documentation [DATAROOTDIR/man]
1259 --docdir=DIR documentation root [DATAROOTDIR/doc/ccache-swig]
1260 --htmldir=DIR html documentation [DOCDIR]
1261 --dvidir=DIR dvi documentation [DOCDIR]
1262 --pdfdir=DIR pdf documentation [DOCDIR]
1263 --psdir=DIR ps documentation [DOCDIR]
1264 _ACEOF
1265
1266 cat <<\_ACEOF
1267
1268 Program names:
1269 --program-prefix=PREFIX prepend PREFIX to installed program names
1270 --program-suffix=SUFFIX append SUFFIX to installed program names
1271 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1272 _ACEOF
1273 fi
1274
1275 if test -n "$ac_init_help"; then
1276 case $ac_init_help in
1277 short | recursive ) echo "Configuration of ccache-swig 0.0:";;
1278 esac
1279 cat <<\_ACEOF
1280
1281 Optional Features:
1282 --disable-option-checking ignore unrecognized --enable/--with options
1283 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1284 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1285 --enable-zlib enable zlib support for ccache compression
1286
1287 Some influential environment variables:
1288 CC C compiler command
1289 CFLAGS C compiler flags
1290 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1291 nonstandard directory <lib dir>
1292 LIBS libraries to pass to the linker, e.g. -l<library>
1293 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1294 you have headers in a nonstandard directory <include dir>
1295 CPP C preprocessor
1296
1297 Use these variables to override the choices made by `configure' or to help
1298 it to find libraries and programs with nonstandard names/locations.
1299
1300 Report bugs to the package provider.
1301 _ACEOF
1302 ac_status=$?
1303 fi
1304
1305 if test "$ac_init_help" = "recursive"; then
1306 # If there are subdirs, report their specific --help.
1307 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1308 test -d "$ac_dir" ||
1309 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1310 continue
1311 ac_builddir=.
1312
1313 case "$ac_dir" in
1314 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 *)
1316 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1317 # A ".." for each directory in $ac_dir_suffix.
1318 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1319 case $ac_top_builddir_sub in
1320 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1321 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1322 esac ;;
1323 esac
1324 ac_abs_top_builddir=$ac_pwd
1325 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1326 # for backward compatibility:
1327 ac_top_builddir=$ac_top_build_prefix
1328
1329 case $srcdir in
1330 .) # We are building in place.
1331 ac_srcdir=.
1332 ac_top_srcdir=$ac_top_builddir_sub
1333 ac_abs_top_srcdir=$ac_pwd ;;
1334 [\\/]* | ?:[\\/]* ) # Absolute name.
1335 ac_srcdir=$srcdir$ac_dir_suffix;
1336 ac_top_srcdir=$srcdir
1337 ac_abs_top_srcdir=$srcdir ;;
1338 *) # Relative name.
1339 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1340 ac_top_srcdir=$ac_top_build_prefix$srcdir
1341 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1342 esac
1343 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1344
1345 cd "$ac_dir" || { ac_status=$?; continue; }
1346 # Check for guested configure.
1347 if test -f "$ac_srcdir/configure.gnu"; then
1348 echo &&
1349 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1350 elif test -f "$ac_srcdir/configure"; then
1351 echo &&
1352 $SHELL "$ac_srcdir/configure" --help=recursive
1353 else
1354 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1355 fi || ac_status=$?
1356 cd "$ac_pwd" || { ac_status=$?; break; }
1357 done
1358 fi
1359
1360 test -n "$ac_init_help" && exit $ac_status
1361 if $ac_init_version; then
1362 cat <<\_ACEOF
1363 ccache-swig configure 0.0
1364 generated by GNU Autoconf 2.68
1365
1366 Copyright (C) 2010 Free Software Foundation, Inc.
1367 This configure script is free software; the Free Software Foundation
1368 gives unlimited permission to copy, distribute and modify it.
1369 _ACEOF
1370 exit
1371 fi
1372
1373 ## ------------------------ ##
1374 ## Autoconf initialization. ##
1375 ## ------------------------ ##
1376
1377 # ac_fn_c_try_compile LINENO
1378 # --------------------------
1379 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1380 ac_fn_c_try_compile ()
1381 {
1382 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1383 rm -f conftest.$ac_objext
1384 if { { ac_try="$ac_compile"
1385 case "(($ac_try" in
1386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1387 *) ac_try_echo=$ac_try;;
1388 esac
1389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1390 $as_echo "$ac_try_echo"; } >&5
1391 (eval "$ac_compile") 2>conftest.err
1392 ac_status=$?
1393 if test -s conftest.err; then
1394 grep -v '^ *+' conftest.err >conftest.er1
1395 cat conftest.er1 >&5
1396 mv -f conftest.er1 conftest.err
1397 fi
1398 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1399 test $ac_status = 0; } && {
1400 test -z "$ac_c_werror_flag" ||
1401 test ! -s conftest.err
1402 } && test -s conftest.$ac_objext; then :
1403 ac_retval=0
1404 else
1405 $as_echo "$as_me: failed program was:" >&5
1406 sed 's/^/| /' conftest.$ac_ext >&5
1407
1408 ac_retval=1
1409 fi
1410 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1411 as_fn_set_status $ac_retval
1412
1413 } # ac_fn_c_try_compile
1414
1415 # ac_fn_c_try_cpp LINENO
1416 # ----------------------
1417 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1418 ac_fn_c_try_cpp ()
1419 {
1420 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1421 if { { ac_try="$ac_cpp conftest.$ac_ext"
1422 case "(($ac_try" in
1423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1424 *) ac_try_echo=$ac_try;;
1425 esac
1426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1427 $as_echo "$ac_try_echo"; } >&5
1428 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1429 ac_status=$?
1430 if test -s conftest.err; then
1431 grep -v '^ *+' conftest.err >conftest.er1
1432 cat conftest.er1 >&5
1433 mv -f conftest.er1 conftest.err
1434 fi
1435 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1436 test $ac_status = 0; } > conftest.i && {
1437 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1438 test ! -s conftest.err
1439 }; then :
1440 ac_retval=0
1441 else
1442 $as_echo "$as_me: failed program was:" >&5
1443 sed 's/^/| /' conftest.$ac_ext >&5
1444
1445 ac_retval=1
1446 fi
1447 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1448 as_fn_set_status $ac_retval
1449
1450 } # ac_fn_c_try_cpp
1451
1452 # ac_fn_c_try_link LINENO
1453 # -----------------------
1454 # Try to link conftest.$ac_ext, and return whether this succeeded.
1455 ac_fn_c_try_link ()
1456 {
1457 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1458 rm -f conftest.$ac_objext conftest$ac_exeext
1459 if { { ac_try="$ac_link"
1460 case "(($ac_try" in
1461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1462 *) ac_try_echo=$ac_try;;
1463 esac
1464 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1465 $as_echo "$ac_try_echo"; } >&5
1466 (eval "$ac_link") 2>conftest.err
1467 ac_status=$?
1468 if test -s conftest.err; then
1469 grep -v '^ *+' conftest.err >conftest.er1
1470 cat conftest.er1 >&5
1471 mv -f conftest.er1 conftest.err
1472 fi
1473 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1474 test $ac_status = 0; } && {
1475 test -z "$ac_c_werror_flag" ||
1476 test ! -s conftest.err
1477 } && test -s conftest$ac_exeext && {
1478 test "$cross_compiling" = yes ||
1479 $as_test_x conftest$ac_exeext
1480 }; then :
1481 ac_retval=0
1482 else
1483 $as_echo "$as_me: failed program was:" >&5
1484 sed 's/^/| /' conftest.$ac_ext >&5
1485
1486 ac_retval=1
1487 fi
1488 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1489 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1490 # interfere with the next link command; also delete a directory that is
1491 # left behind by Apple's compiler. We do this before executing the actions.
1492 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1493 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1494 as_fn_set_status $ac_retval
1495
1496 } # ac_fn_c_try_link
1497
1498 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
1499 # -------------------------------------------------------
1500 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
1501 # the include files in INCLUDES and setting the cache variable VAR
1502 # accordingly.
1503 ac_fn_c_check_header_mongrel ()
1504 {
1505 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1506 if eval \${$3+:} false; then :
1507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1508 $as_echo_n "checking for $2... " >&6; }
1509 if eval \${$3+:} false; then :
1510 $as_echo_n "(cached) " >&6
1511 fi
1512 eval ac_res=\$$3
1513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1514 $as_echo "$ac_res" >&6; }
1515 else
1516 # Is the header compilable?
1517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
1518 $as_echo_n "checking $2 usability... " >&6; }
1519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1520 /* end confdefs.h. */
1521 $4
1522 #include <$2>
1523 _ACEOF
1524 if ac_fn_c_try_compile "$LINENO"; then :
1525 ac_header_compiler=yes
1526 else
1527 ac_header_compiler=no
1528 fi
1529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
1531 $as_echo "$ac_header_compiler" >&6; }
1532
1533 # Is the header present?
1534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
1535 $as_echo_n "checking $2 presence... " >&6; }
1536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1537 /* end confdefs.h. */
1538 #include <$2>
1539 _ACEOF
1540 if ac_fn_c_try_cpp "$LINENO"; then :
1541 ac_header_preproc=yes
1542 else
1543 ac_header_preproc=no
1544 fi
1545 rm -f conftest.err conftest.i conftest.$ac_ext
1546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
1547 $as_echo "$ac_header_preproc" >&6; }
1548
1549 # So? What about this header?
1550 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
1551 yes:no: )
1552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
1553 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
1554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1555 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1556 ;;
1557 no:yes:* )
1558 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
1559 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
1560 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
1561 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
1562 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
1563 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
1565 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
1566 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
1567 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
1568 ;;
1569 esac
1570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1571 $as_echo_n "checking for $2... " >&6; }
1572 if eval \${$3+:} false; then :
1573 $as_echo_n "(cached) " >&6
1574 else
1575 eval "$3=\$ac_header_compiler"
1576 fi
1577 eval ac_res=\$$3
1578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1579 $as_echo "$ac_res" >&6; }
1580 fi
1581 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1582
1583 } # ac_fn_c_check_header_mongrel
1584
1585 # ac_fn_c_try_run LINENO
1586 # ----------------------
1587 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1588 # that executables *can* be run.
1589 ac_fn_c_try_run ()
1590 {
1591 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1592 if { { ac_try="$ac_link"
1593 case "(($ac_try" in
1594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1595 *) ac_try_echo=$ac_try;;
1596 esac
1597 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1598 $as_echo "$ac_try_echo"; } >&5
1599 (eval "$ac_link") 2>&5
1600 ac_status=$?
1601 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1602 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1603 { { case "(($ac_try" in
1604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1605 *) ac_try_echo=$ac_try;;
1606 esac
1607 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1608 $as_echo "$ac_try_echo"; } >&5
1609 (eval "$ac_try") 2>&5
1610 ac_status=$?
1611 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1612 test $ac_status = 0; }; }; then :
1613 ac_retval=0
1614 else
1615 $as_echo "$as_me: program exited with status $ac_status" >&5
1616 $as_echo "$as_me: failed program was:" >&5
1617 sed 's/^/| /' conftest.$ac_ext >&5
1618
1619 ac_retval=$ac_status
1620 fi
1621 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1622 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1623 as_fn_set_status $ac_retval
1624
1625 } # ac_fn_c_try_run
1626
1627 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1628 # -------------------------------------------------------
1629 # Tests whether HEADER exists and can be compiled using the include files in
1630 # INCLUDES, setting the cache variable VAR accordingly.
1631 ac_fn_c_check_header_compile ()
1632 {
1633 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1635 $as_echo_n "checking for $2... " >&6; }
1636 if eval \${$3+:} false; then :
1637 $as_echo_n "(cached) " >&6
1638 else
1639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1640 /* end confdefs.h. */
1641 $4
1642 #include <$2>
1643 _ACEOF
1644 if ac_fn_c_try_compile "$LINENO"; then :
1645 eval "$3=yes"
1646 else
1647 eval "$3=no"
1648 fi
1649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1650 fi
1651 eval ac_res=\$$3
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1653 $as_echo "$ac_res" >&6; }
1654 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1655
1656 } # ac_fn_c_check_header_compile
1657
1658 # ac_fn_c_check_func LINENO FUNC VAR
1659 # ----------------------------------
1660 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1661 ac_fn_c_check_func ()
1662 {
1663 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1665 $as_echo_n "checking for $2... " >&6; }
1666 if eval \${$3+:} false; then :
1667 $as_echo_n "(cached) " >&6
1668 else
1669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1670 /* end confdefs.h. */
1671 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1672 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1673 #define $2 innocuous_$2
1674
1675 /* System header to define __stub macros and hopefully few prototypes,
1676 which can conflict with char $2 (); below.
1677 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1678 <limits.h> exists even on freestanding compilers. */
1679
1680 #ifdef __STDC__
1681 # include <limits.h>
1682 #else
1683 # include <assert.h>
1684 #endif
1685
1686 #undef $2
1687
1688 /* Override any GCC internal prototype to avoid an error.
1689 Use char because int might match the return type of a GCC
1690 builtin and then its argument prototype would still apply. */
1691 #ifdef __cplusplus
1692 extern "C"
1693 #endif
1694 char $2 ();
1695 /* The GNU C library defines this for functions which it implements
1696 to always fail with ENOSYS. Some functions are actually named
1697 something starting with __ and the normal name is an alias. */
1698 #if defined __stub_$2 || defined __stub___$2
1699 choke me
1700 #endif
1701
1702 int
1703 main ()
1704 {
1705 return $2 ();
1706 ;
1707 return 0;
1708 }
1709 _ACEOF
1710 if ac_fn_c_try_link "$LINENO"; then :
1711 eval "$3=yes"
1712 else
1713 eval "$3=no"
1714 fi
1715 rm -f core conftest.err conftest.$ac_objext \
1716 conftest$ac_exeext conftest.$ac_ext
1717 fi
1718 eval ac_res=\$$3
1719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1720 $as_echo "$ac_res" >&6; }
1721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1722
1723 } # ac_fn_c_check_func
1724 cat >config.log <<_ACEOF
1725 This file contains any messages produced by compilers while
1726 running configure, to aid debugging if configure makes a mistake.
1727
1728 It was created by ccache-swig $as_me 0.0, which was
1729 generated by GNU Autoconf 2.68. Invocation command line was
1730
1731 $ $0 $@
1732
1733 _ACEOF
1734 exec 5>>config.log
1735 {
1736 cat <<_ASUNAME
1737 ## --------- ##
1738 ## Platform. ##
1739 ## --------- ##
1740
1741 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1742 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1743 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1744 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1745 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1746
1747 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1748 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1749
1750 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1751 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1752 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1753 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1754 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1755 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1756 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1757
1758 _ASUNAME
1759
1760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1761 for as_dir in $PATH
1762 do
1763 IFS=$as_save_IFS
1764 test -z "$as_dir" && as_dir=.
1765 $as_echo "PATH: $as_dir"
1766 done
1767 IFS=$as_save_IFS
1768
1769 } >&5
1770
1771 cat >&5 <<_ACEOF
1772
1773
1774 ## ----------- ##
1775 ## Core tests. ##
1776 ## ----------- ##
1777
1778 _ACEOF
1779
1780
1781 # Keep a trace of the command line.
1782 # Strip out --no-create and --no-recursion so they do not pile up.
1783 # Strip out --silent because we don't want to record it for future runs.
1784 # Also quote any args containing shell meta-characters.
1785 # Make two passes to allow for proper duplicate-argument suppression.
1786 ac_configure_args=
1787 ac_configure_args0=
1788 ac_configure_args1=
1789 ac_must_keep_next=false
1790 for ac_pass in 1 2
1791 do
1792 for ac_arg
1793 do
1794 case $ac_arg in
1795 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1796 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1797 | -silent | --silent | --silen | --sile | --sil)
1798 continue ;;
1799 *\'*)
1800 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1801 esac
1802 case $ac_pass in
1803 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1804 2)
1805 as_fn_append ac_configure_args1 " '$ac_arg'"
1806 if test $ac_must_keep_next = true; then
1807 ac_must_keep_next=false # Got value, back to normal.
1808 else
1809 case $ac_arg in
1810 *=* | --config-cache | -C | -disable-* | --disable-* \
1811 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1812 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1813 | -with-* | --with-* | -without-* | --without-* | --x)
1814 case "$ac_configure_args0 " in
1815 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1816 esac
1817 ;;
1818 -* ) ac_must_keep_next=true ;;
1819 esac
1820 fi
1821 as_fn_append ac_configure_args " '$ac_arg'"
1822 ;;
1823 esac
1824 done
1825 done
1826 { ac_configure_args0=; unset ac_configure_args0;}
1827 { ac_configure_args1=; unset ac_configure_args1;}
1828
1829 # When interrupted or exit'd, cleanup temporary files, and complete
1830 # config.log. We remove comments because anyway the quotes in there
1831 # would cause problems or look ugly.
1832 # WARNING: Use '\'' to represent an apostrophe within the trap.
1833 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1834 trap 'exit_status=$?
1835 # Save into config.log some information that might help in debugging.
1836 {
1837 echo
1838
1839 $as_echo "## ---------------- ##
1840 ## Cache variables. ##
1841 ## ---------------- ##"
1842 echo
1843 # The following way of writing the cache mishandles newlines in values,
1844 (
1845 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1846 eval ac_val=\$$ac_var
1847 case $ac_val in #(
1848 *${as_nl}*)
1849 case $ac_var in #(
1850 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1851 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1852 esac
1853 case $ac_var in #(
1854 _ | IFS | as_nl) ;; #(
1855 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1856 *) { eval $ac_var=; unset $ac_var;} ;;
1857 esac ;;
1858 esac
1859 done
1860 (set) 2>&1 |
1861 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1862 *${as_nl}ac_space=\ *)
1863 sed -n \
1864 "s/'\''/'\''\\\\'\'''\''/g;
1865 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1866 ;; #(
1867 *)
1868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1869 ;;
1870 esac |
1871 sort
1872 )
1873 echo
1874
1875 $as_echo "## ----------------- ##
1876 ## Output variables. ##
1877 ## ----------------- ##"
1878 echo
1879 for ac_var in $ac_subst_vars
1880 do
1881 eval ac_val=\$$ac_var
1882 case $ac_val in
1883 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1884 esac
1885 $as_echo "$ac_var='\''$ac_val'\''"
1886 done | sort
1887 echo
1888
1889 if test -n "$ac_subst_files"; then
1890 $as_echo "## ------------------- ##
1891 ## File substitutions. ##
1892 ## ------------------- ##"
1893 echo
1894 for ac_var in $ac_subst_files
1895 do
1896 eval ac_val=\$$ac_var
1897 case $ac_val in
1898 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1899 esac
1900 $as_echo "$ac_var='\''$ac_val'\''"
1901 done | sort
1902 echo
1903 fi
1904
1905 if test -s confdefs.h; then
1906 $as_echo "## ----------- ##
1907 ## confdefs.h. ##
1908 ## ----------- ##"
1909 echo
1910 cat confdefs.h
1911 echo
1912 fi
1913 test "$ac_signal" != 0 &&
1914 $as_echo "$as_me: caught signal $ac_signal"
1915 $as_echo "$as_me: exit $exit_status"
1916 } >&5
1917 rm -f core *.core core.conftest.* &&
1918 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1919 exit $exit_status
1920 ' 0
1921 for ac_signal in 1 2 13 15; do
1922 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1923 done
1924 ac_signal=0
1925
1926 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1927 rm -f -r conftest* confdefs.h
1928
1929 $as_echo "/* confdefs.h */" > confdefs.h
1930
1931 # Predefined preprocessor variables.
1932
1933 cat >>confdefs.h <<_ACEOF
1934 #define PACKAGE_NAME "$PACKAGE_NAME"
1935 _ACEOF
1936
1937 cat >>confdefs.h <<_ACEOF
1938 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1939 _ACEOF
1940
1941 cat >>confdefs.h <<_ACEOF
1942 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1943 _ACEOF
1944
1945 cat >>confdefs.h <<_ACEOF
1946 #define PACKAGE_STRING "$PACKAGE_STRING"
1947 _ACEOF
1948
1949 cat >>confdefs.h <<_ACEOF
1950 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1951 _ACEOF
1952
1953 cat >>confdefs.h <<_ACEOF
1954 #define PACKAGE_URL "$PACKAGE_URL"
1955 _ACEOF
1956
1957
1958 # Let the site file select an alternate cache file if it wants to.
1959 # Prefer an explicitly selected file to automatically selected ones.
1960 ac_site_file1=NONE
1961 ac_site_file2=NONE
1962 if test -n "$CONFIG_SITE"; then
1963 # We do not want a PATH search for config.site.
1964 case $CONFIG_SITE in #((
1965 -*) ac_site_file1=./$CONFIG_SITE;;
1966 */*) ac_site_file1=$CONFIG_SITE;;
1967 *) ac_site_file1=./$CONFIG_SITE;;
1968 esac
1969 elif test "x$prefix" != xNONE; then
1970 ac_site_file1=$prefix/share/config.site
1971 ac_site_file2=$prefix/etc/config.site
1972 else
1973 ac_site_file1=$ac_default_prefix/share/config.site
1974 ac_site_file2=$ac_default_prefix/etc/config.site
1975 fi
1976 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1977 do
1978 test "x$ac_site_file" = xNONE && continue
1979 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1980 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1981 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1982 sed 's/^/| /' "$ac_site_file" >&5
1983 . "$ac_site_file" \
1984 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1985 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1986 as_fn_error $? "failed to load site script $ac_site_file
1987 See \`config.log' for more details" "$LINENO" 5; }
1988 fi
1989 done
1990
1991 if test -r "$cache_file"; then
1992 # Some versions of bash will fail to source /dev/null (special files
1993 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1994 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1996 $as_echo "$as_me: loading cache $cache_file" >&6;}
1997 case $cache_file in
1998 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1999 *) . "./$cache_file";;
2000 esac
2001 fi
2002 else
2003 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2004 $as_echo "$as_me: creating cache $cache_file" >&6;}
2005 >$cache_file
2006 fi
2007
2008 # Check that the precious variables saved in the cache have kept the same
2009 # value.
2010 ac_cache_corrupted=false
2011 for ac_var in $ac_precious_vars; do
2012 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2013 eval ac_new_set=\$ac_env_${ac_var}_set
2014 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2015 eval ac_new_val=\$ac_env_${ac_var}_value
2016 case $ac_old_set,$ac_new_set in
2017 set,)
2018 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2019 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2020 ac_cache_corrupted=: ;;
2021 ,set)
2022 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2023 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2024 ac_cache_corrupted=: ;;
2025 ,);;
2026 *)
2027 if test "x$ac_old_val" != "x$ac_new_val"; then
2028 # differences in whitespace do not lead to failure.
2029 ac_old_val_w=`echo x $ac_old_val`
2030 ac_new_val_w=`echo x $ac_new_val`
2031 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2033 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2034 ac_cache_corrupted=:
2035 else
2036 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2037 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2038 eval $ac_var=\$ac_old_val
2039 fi
2040 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2041 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2043 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2044 fi;;
2045 esac
2046 # Pass precious variables to config.status.
2047 if test "$ac_new_set" = set; then
2048 case $ac_new_val in
2049 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2050 *) ac_arg=$ac_var=$ac_new_val ;;
2051 esac
2052 case " $ac_configure_args " in
2053 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2054 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2055 esac
2056 fi
2057 done
2058 if $ac_cache_corrupted; then
2059 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2061 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2062 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2063 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2064 fi
2065 ## -------------------- ##
2066 ## Main body of script. ##
2067 ## -------------------- ##
2068
2069 ac_ext=c
2070 ac_cpp='$CPP $CPPFLAGS'
2071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2074
2075 # Get version from SWIG in ccache_swig_config.h.in
2076
2077
2078
2079 { $as_echo "$as_me:${as_lineno-$LINENO}: Configuring ccache" >&5
2080 $as_echo "$as_me: Configuring ccache" >&6;}
2081
2082 ac_config_headers="$ac_config_headers config.h"
2083
2084
2085 ac_ext=c
2086 ac_cpp='$CPP $CPPFLAGS'
2087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2090 if test -n "$ac_tool_prefix"; then
2091 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2092 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2094 $as_echo_n "checking for $ac_word... " >&6; }
2095 if ${ac_cv_prog_CC+:} false; then :
2096 $as_echo_n "(cached) " >&6
2097 else
2098 if test -n "$CC"; then
2099 ac_cv_prog_CC="$CC" # Let the user override the test.
2100 else
2101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2102 for as_dir in $PATH
2103 do
2104 IFS=$as_save_IFS
2105 test -z "$as_dir" && as_dir=.
2106 for ac_exec_ext in '' $ac_executable_extensions; do
2107 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2108 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2109 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2110 break 2
2111 fi
2112 done
2113 done
2114 IFS=$as_save_IFS
2115
2116 fi
2117 fi
2118 CC=$ac_cv_prog_CC
2119 if test -n "$CC"; then
2120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2121 $as_echo "$CC" >&6; }
2122 else
2123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2124 $as_echo "no" >&6; }
2125 fi
2126
2127
2128 fi
2129 if test -z "$ac_cv_prog_CC"; then
2130 ac_ct_CC=$CC
2131 # Extract the first word of "gcc", so it can be a program name with args.
2132 set dummy gcc; ac_word=$2
2133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2134 $as_echo_n "checking for $ac_word... " >&6; }
2135 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2136 $as_echo_n "(cached) " >&6
2137 else
2138 if test -n "$ac_ct_CC"; then
2139 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2140 else
2141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2142 for as_dir in $PATH
2143 do
2144 IFS=$as_save_IFS
2145 test -z "$as_dir" && as_dir=.
2146 for ac_exec_ext in '' $ac_executable_extensions; do
2147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2148 ac_cv_prog_ac_ct_CC="gcc"
2149 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2150 break 2
2151 fi
2152 done
2153 done
2154 IFS=$as_save_IFS
2155
2156 fi
2157 fi
2158 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2159 if test -n "$ac_ct_CC"; then
2160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2161 $as_echo "$ac_ct_CC" >&6; }
2162 else
2163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2164 $as_echo "no" >&6; }
2165 fi
2166
2167 if test "x$ac_ct_CC" = x; then
2168 CC=""
2169 else
2170 case $cross_compiling:$ac_tool_warned in
2171 yes:)
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2173 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2174 ac_tool_warned=yes ;;
2175 esac
2176 CC=$ac_ct_CC
2177 fi
2178 else
2179 CC="$ac_cv_prog_CC"
2180 fi
2181
2182 if test -z "$CC"; then
2183 if test -n "$ac_tool_prefix"; then
2184 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2185 set dummy ${ac_tool_prefix}cc; ac_word=$2
2186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2187 $as_echo_n "checking for $ac_word... " >&6; }
2188 if ${ac_cv_prog_CC+:} false; then :
2189 $as_echo_n "(cached) " >&6
2190 else
2191 if test -n "$CC"; then
2192 ac_cv_prog_CC="$CC" # Let the user override the test.
2193 else
2194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2195 for as_dir in $PATH
2196 do
2197 IFS=$as_save_IFS
2198 test -z "$as_dir" && as_dir=.
2199 for ac_exec_ext in '' $ac_executable_extensions; do
2200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2201 ac_cv_prog_CC="${ac_tool_prefix}cc"
2202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 break 2
2204 fi
2205 done
2206 done
2207 IFS=$as_save_IFS
2208
2209 fi
2210 fi
2211 CC=$ac_cv_prog_CC
2212 if test -n "$CC"; then
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2214 $as_echo "$CC" >&6; }
2215 else
2216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2217 $as_echo "no" >&6; }
2218 fi
2219
2220
2221 fi
2222 fi
2223 if test -z "$CC"; then
2224 # Extract the first word of "cc", so it can be a program name with args.
2225 set dummy cc; ac_word=$2
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2227 $as_echo_n "checking for $ac_word... " >&6; }
2228 if ${ac_cv_prog_CC+:} false; then :
2229 $as_echo_n "(cached) " >&6
2230 else
2231 if test -n "$CC"; then
2232 ac_cv_prog_CC="$CC" # Let the user override the test.
2233 else
2234 ac_prog_rejected=no
2235 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2236 for as_dir in $PATH
2237 do
2238 IFS=$as_save_IFS
2239 test -z "$as_dir" && as_dir=.
2240 for ac_exec_ext in '' $ac_executable_extensions; do
2241 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2242 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2243 ac_prog_rejected=yes
2244 continue
2245 fi
2246 ac_cv_prog_CC="cc"
2247 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2248 break 2
2249 fi
2250 done
2251 done
2252 IFS=$as_save_IFS
2253
2254 if test $ac_prog_rejected = yes; then
2255 # We found a bogon in the path, so make sure we never use it.
2256 set dummy $ac_cv_prog_CC
2257 shift
2258 if test $# != 0; then
2259 # We chose a different compiler from the bogus one.
2260 # However, it has the same basename, so the bogon will be chosen
2261 # first if we set CC to just the basename; use the full file name.
2262 shift
2263 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2264 fi
2265 fi
2266 fi
2267 fi
2268 CC=$ac_cv_prog_CC
2269 if test -n "$CC"; then
2270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2271 $as_echo "$CC" >&6; }
2272 else
2273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2274 $as_echo "no" >&6; }
2275 fi
2276
2277
2278 fi
2279 if test -z "$CC"; then
2280 if test -n "$ac_tool_prefix"; then
2281 for ac_prog in cl.exe
2282 do
2283 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2284 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2286 $as_echo_n "checking for $ac_word... " >&6; }
2287 if ${ac_cv_prog_CC+:} false; then :
2288 $as_echo_n "(cached) " >&6
2289 else
2290 if test -n "$CC"; then
2291 ac_cv_prog_CC="$CC" # Let the user override the test.
2292 else
2293 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2294 for as_dir in $PATH
2295 do
2296 IFS=$as_save_IFS
2297 test -z "$as_dir" && as_dir=.
2298 for ac_exec_ext in '' $ac_executable_extensions; do
2299 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2300 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2301 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2302 break 2
2303 fi
2304 done
2305 done
2306 IFS=$as_save_IFS
2307
2308 fi
2309 fi
2310 CC=$ac_cv_prog_CC
2311 if test -n "$CC"; then
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2313 $as_echo "$CC" >&6; }
2314 else
2315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2316 $as_echo "no" >&6; }
2317 fi
2318
2319
2320 test -n "$CC" && break
2321 done
2322 fi
2323 if test -z "$CC"; then
2324 ac_ct_CC=$CC
2325 for ac_prog in cl.exe
2326 do
2327 # Extract the first word of "$ac_prog", so it can be a program name with args.
2328 set dummy $ac_prog; ac_word=$2
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2330 $as_echo_n "checking for $ac_word... " >&6; }
2331 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2332 $as_echo_n "(cached) " >&6
2333 else
2334 if test -n "$ac_ct_CC"; then
2335 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2336 else
2337 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2338 for as_dir in $PATH
2339 do
2340 IFS=$as_save_IFS
2341 test -z "$as_dir" && as_dir=.
2342 for ac_exec_ext in '' $ac_executable_extensions; do
2343 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2344 ac_cv_prog_ac_ct_CC="$ac_prog"
2345 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 break 2
2347 fi
2348 done
2349 done
2350 IFS=$as_save_IFS
2351
2352 fi
2353 fi
2354 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2355 if test -n "$ac_ct_CC"; then
2356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2357 $as_echo "$ac_ct_CC" >&6; }
2358 else
2359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2360 $as_echo "no" >&6; }
2361 fi
2362
2363
2364 test -n "$ac_ct_CC" && break
2365 done
2366
2367 if test "x$ac_ct_CC" = x; then
2368 CC=""
2369 else
2370 case $cross_compiling:$ac_tool_warned in
2371 yes:)
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2373 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2374 ac_tool_warned=yes ;;
2375 esac
2376 CC=$ac_ct_CC
2377 fi
2378 fi
2379
2380 fi
2381
2382
2383 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2385 as_fn_error $? "no acceptable C compiler found in \$PATH
2386 See \`config.log' for more details" "$LINENO" 5; }
2387
2388 # Provide some information about the compiler.
2389 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2390 set X $ac_compile
2391 ac_compiler=$2
2392 for ac_option in --version -v -V -qversion; do
2393 { { ac_try="$ac_compiler $ac_option >&5"
2394 case "(($ac_try" in
2395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2396 *) ac_try_echo=$ac_try;;
2397 esac
2398 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2399 $as_echo "$ac_try_echo"; } >&5
2400 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2401 ac_status=$?
2402 if test -s conftest.err; then
2403 sed '10a\
2404 ... rest of stderr output deleted ...
2405 10q' conftest.err >conftest.er1
2406 cat conftest.er1 >&5
2407 fi
2408 rm -f conftest.er1 conftest.err
2409 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2410 test $ac_status = 0; }
2411 done
2412
2413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2414 /* end confdefs.h. */
2415
2416 int
2417 main ()
2418 {
2419
2420 ;
2421 return 0;
2422 }
2423 _ACEOF
2424 ac_clean_files_save=$ac_clean_files
2425 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2426 # Try to create an executable without -o first, disregard a.out.
2427 # It will help us diagnose broken compilers, and finding out an intuition
2428 # of exeext.
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2430 $as_echo_n "checking whether the C compiler works... " >&6; }
2431 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2432
2433 # The possible output files:
2434 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2435
2436 ac_rmfiles=
2437 for ac_file in $ac_files
2438 do
2439 case $ac_file in
2440 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2441 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2442 esac
2443 done
2444 rm -f $ac_rmfiles
2445
2446 if { { ac_try="$ac_link_default"
2447 case "(($ac_try" in
2448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2449 *) ac_try_echo=$ac_try;;
2450 esac
2451 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2452 $as_echo "$ac_try_echo"; } >&5
2453 (eval "$ac_link_default") 2>&5
2454 ac_status=$?
2455 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2456 test $ac_status = 0; }; then :
2457 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2458 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2459 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2460 # so that the user can short-circuit this test for compilers unknown to
2461 # Autoconf.
2462 for ac_file in $ac_files ''
2463 do
2464 test -f "$ac_file" || continue
2465 case $ac_file in
2466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2467 ;;
2468 [ab].out )
2469 # We found the default executable, but exeext='' is most
2470 # certainly right.
2471 break;;
2472 *.* )
2473 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2474 then :; else
2475 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2476 fi
2477 # We set ac_cv_exeext here because the later test for it is not
2478 # safe: cross compilers may not add the suffix if given an `-o'
2479 # argument, so we may need to know it at that point already.
2480 # Even if this section looks crufty: it has the advantage of
2481 # actually working.
2482 break;;
2483 * )
2484 break;;
2485 esac
2486 done
2487 test "$ac_cv_exeext" = no && ac_cv_exeext=
2488
2489 else
2490 ac_file=''
2491 fi
2492 if test -z "$ac_file"; then :
2493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2494 $as_echo "no" >&6; }
2495 $as_echo "$as_me: failed program was:" >&5
2496 sed 's/^/| /' conftest.$ac_ext >&5
2497
2498 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2500 as_fn_error 77 "C compiler cannot create executables
2501 See \`config.log' for more details" "$LINENO" 5; }
2502 else
2503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2504 $as_echo "yes" >&6; }
2505 fi
2506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2507 $as_echo_n "checking for C compiler default output file name... " >&6; }
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2509 $as_echo "$ac_file" >&6; }
2510 ac_exeext=$ac_cv_exeext
2511
2512 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2513 ac_clean_files=$ac_clean_files_save
2514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2515 $as_echo_n "checking for suffix of executables... " >&6; }
2516 if { { ac_try="$ac_link"
2517 case "(($ac_try" in
2518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2519 *) ac_try_echo=$ac_try;;
2520 esac
2521 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2522 $as_echo "$ac_try_echo"; } >&5
2523 (eval "$ac_link") 2>&5
2524 ac_status=$?
2525 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2526 test $ac_status = 0; }; then :
2527 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2528 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2529 # work properly (i.e., refer to `conftest.exe'), while it won't with
2530 # `rm'.
2531 for ac_file in conftest.exe conftest conftest.*; do
2532 test -f "$ac_file" || continue
2533 case $ac_file in
2534 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2535 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2536 break;;
2537 * ) break;;
2538 esac
2539 done
2540 else
2541 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2542 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2543 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2544 See \`config.log' for more details" "$LINENO" 5; }
2545 fi
2546 rm -f conftest conftest$ac_cv_exeext
2547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2548 $as_echo "$ac_cv_exeext" >&6; }
2549
2550 rm -f conftest.$ac_ext
2551 EXEEXT=$ac_cv_exeext
2552 ac_exeext=$EXEEXT
2553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2554 /* end confdefs.h. */
2555 #include <stdio.h>
2556 int
2557 main ()
2558 {
2559 FILE *f = fopen ("conftest.out", "w");
2560 return ferror (f) || fclose (f) != 0;
2561
2562 ;
2563 return 0;
2564 }
2565 _ACEOF
2566 ac_clean_files="$ac_clean_files conftest.out"
2567 # Check that the compiler produces executables we can run. If not, either
2568 # the compiler is broken, or we cross compile.
2569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2570 $as_echo_n "checking whether we are cross compiling... " >&6; }
2571 if test "$cross_compiling" != yes; then
2572 { { ac_try="$ac_link"
2573 case "(($ac_try" in
2574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2575 *) ac_try_echo=$ac_try;;
2576 esac
2577 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2578 $as_echo "$ac_try_echo"; } >&5
2579 (eval "$ac_link") 2>&5
2580 ac_status=$?
2581 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2582 test $ac_status = 0; }
2583 if { ac_try='./conftest$ac_cv_exeext'
2584 { { case "(($ac_try" in
2585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2586 *) ac_try_echo=$ac_try;;
2587 esac
2588 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2589 $as_echo "$ac_try_echo"; } >&5
2590 (eval "$ac_try") 2>&5
2591 ac_status=$?
2592 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2593 test $ac_status = 0; }; }; then
2594 cross_compiling=no
2595 else
2596 if test "$cross_compiling" = maybe; then
2597 cross_compiling=yes
2598 else
2599 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2600 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2601 as_fn_error $? "cannot run C compiled programs.
2602 If you meant to cross compile, use \`--host'.
2603 See \`config.log' for more details" "$LINENO" 5; }
2604 fi
2605 fi
2606 fi
2607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2608 $as_echo "$cross_compiling" >&6; }
2609
2610 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2611 ac_clean_files=$ac_clean_files_save
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2613 $as_echo_n "checking for suffix of object files... " >&6; }
2614 if ${ac_cv_objext+:} false; then :
2615 $as_echo_n "(cached) " >&6
2616 else
2617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2618 /* end confdefs.h. */
2619
2620 int
2621 main ()
2622 {
2623
2624 ;
2625 return 0;
2626 }
2627 _ACEOF
2628 rm -f conftest.o conftest.obj
2629 if { { ac_try="$ac_compile"
2630 case "(($ac_try" in
2631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2632 *) ac_try_echo=$ac_try;;
2633 esac
2634 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2635 $as_echo "$ac_try_echo"; } >&5
2636 (eval "$ac_compile") 2>&5
2637 ac_status=$?
2638 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2639 test $ac_status = 0; }; then :
2640 for ac_file in conftest.o conftest.obj conftest.*; do
2641 test -f "$ac_file" || continue;
2642 case $ac_file in
2643 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2644 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2645 break;;
2646 esac
2647 done
2648 else
2649 $as_echo "$as_me: failed program was:" >&5
2650 sed 's/^/| /' conftest.$ac_ext >&5
2651
2652 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2653 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2654 as_fn_error $? "cannot compute suffix of object files: cannot compile
2655 See \`config.log' for more details" "$LINENO" 5; }
2656 fi
2657 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2658 fi
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2660 $as_echo "$ac_cv_objext" >&6; }
2661 OBJEXT=$ac_cv_objext
2662 ac_objext=$OBJEXT
2663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2664 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2665 if ${ac_cv_c_compiler_gnu+:} false; then :
2666 $as_echo_n "(cached) " >&6
2667 else
2668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2669 /* end confdefs.h. */
2670
2671 int
2672 main ()
2673 {
2674 #ifndef __GNUC__
2675 choke me
2676 #endif
2677
2678 ;
2679 return 0;
2680 }
2681 _ACEOF
2682 if ac_fn_c_try_compile "$LINENO"; then :
2683 ac_compiler_gnu=yes
2684 else
2685 ac_compiler_gnu=no
2686 fi
2687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2688 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2689
2690 fi
2691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2692 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2693 if test $ac_compiler_gnu = yes; then
2694 GCC=yes
2695 else
2696 GCC=
2697 fi
2698 ac_test_CFLAGS=${CFLAGS+set}
2699 ac_save_CFLAGS=$CFLAGS
2700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2701 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2702 if ${ac_cv_prog_cc_g+:} false; then :
2703 $as_echo_n "(cached) " >&6
2704 else
2705 ac_save_c_werror_flag=$ac_c_werror_flag
2706 ac_c_werror_flag=yes
2707 ac_cv_prog_cc_g=no
2708 CFLAGS="-g"
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2711
2712 int
2713 main ()
2714 {
2715
2716 ;
2717 return 0;
2718 }
2719 _ACEOF
2720 if ac_fn_c_try_compile "$LINENO"; then :
2721 ac_cv_prog_cc_g=yes
2722 else
2723 CFLAGS=""
2724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2725 /* end confdefs.h. */
2726
2727 int
2728 main ()
2729 {
2730
2731 ;
2732 return 0;
2733 }
2734 _ACEOF
2735 if ac_fn_c_try_compile "$LINENO"; then :
2736
2737 else
2738 ac_c_werror_flag=$ac_save_c_werror_flag
2739 CFLAGS="-g"
2740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2741 /* end confdefs.h. */
2742
2743 int
2744 main ()
2745 {
2746
2747 ;
2748 return 0;
2749 }
2750 _ACEOF
2751 if ac_fn_c_try_compile "$LINENO"; then :
2752 ac_cv_prog_cc_g=yes
2753 fi
2754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2755 fi
2756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2757 fi
2758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2759 ac_c_werror_flag=$ac_save_c_werror_flag
2760 fi
2761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2762 $as_echo "$ac_cv_prog_cc_g" >&6; }
2763 if test "$ac_test_CFLAGS" = set; then
2764 CFLAGS=$ac_save_CFLAGS
2765 elif test $ac_cv_prog_cc_g = yes; then
2766 if test "$GCC" = yes; then
2767 CFLAGS="-g -O2"
2768 else
2769 CFLAGS="-g"
2770 fi
2771 else
2772 if test "$GCC" = yes; then
2773 CFLAGS="-O2"
2774 else
2775 CFLAGS=
2776 fi
2777 fi
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2779 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2780 if ${ac_cv_prog_cc_c89+:} false; then :
2781 $as_echo_n "(cached) " >&6
2782 else
2783 ac_cv_prog_cc_c89=no
2784 ac_save_CC=$CC
2785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2786 /* end confdefs.h. */
2787 #include <stdarg.h>
2788 #include <stdio.h>
2789 #include <sys/types.h>
2790 #include <sys/stat.h>
2791 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2792 struct buf { int x; };
2793 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2794 static char *e (p, i)
2795 char **p;
2796 int i;
2797 {
2798 return p[i];
2799 }
2800 static char *f (char * (*g) (char **, int), char **p, ...)
2801 {
2802 char *s;
2803 va_list v;
2804 va_start (v,p);
2805 s = g (p, va_arg (v,int));
2806 va_end (v);
2807 return s;
2808 }
2809
2810 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2811 function prototypes and stuff, but not '\xHH' hex character constants.
2812 These don't provoke an error unfortunately, instead are silently treated
2813 as 'x'. The following induces an error, until -std is added to get
2814 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2815 array size at least. It's necessary to write '\x00'==0 to get something
2816 that's true only with -std. */
2817 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2818
2819 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2820 inside strings and character constants. */
2821 #define FOO(x) 'x'
2822 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2823
2824 int test (int i, double x);
2825 struct s1 {int (*f) (int a);};
2826 struct s2 {int (*f) (double a);};
2827 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2828 int argc;
2829 char **argv;
2830 int
2831 main ()
2832 {
2833 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2834 ;
2835 return 0;
2836 }
2837 _ACEOF
2838 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2839 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2840 do
2841 CC="$ac_save_CC $ac_arg"
2842 if ac_fn_c_try_compile "$LINENO"; then :
2843 ac_cv_prog_cc_c89=$ac_arg
2844 fi
2845 rm -f core conftest.err conftest.$ac_objext
2846 test "x$ac_cv_prog_cc_c89" != "xno" && break
2847 done
2848 rm -f conftest.$ac_ext
2849 CC=$ac_save_CC
2850
2851 fi
2852 # AC_CACHE_VAL
2853 case "x$ac_cv_prog_cc_c89" in
2854 x)
2855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2856 $as_echo "none needed" >&6; } ;;
2857 xno)
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2859 $as_echo "unsupported" >&6; } ;;
2860 *)
2861 CC="$CC $ac_cv_prog_cc_c89"
2862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2863 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2864 esac
2865 if test "x$ac_cv_prog_cc_c89" != xno; then :
2866
2867 fi
2868
2869 ac_ext=c
2870 ac_cpp='$CPP $CPPFLAGS'
2871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2874
2875 ac_ext=c
2876 ac_cpp='$CPP $CPPFLAGS'
2877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2881 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2882 # On Suns, sometimes $CPP names a directory.
2883 if test -n "$CPP" && test -d "$CPP"; then
2884 CPP=
2885 fi
2886 if test -z "$CPP"; then
2887 if ${ac_cv_prog_CPP+:} false; then :
2888 $as_echo_n "(cached) " >&6
2889 else
2890 # Double quotes because CPP needs to be expanded
2891 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2892 do
2893 ac_preproc_ok=false
2894 for ac_c_preproc_warn_flag in '' yes
2895 do
2896 # Use a header file that comes with gcc, so configuring glibc
2897 # with a fresh cross-compiler works.
2898 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2899 # <limits.h> exists even on freestanding compilers.
2900 # On the NeXT, cc -E runs the code through the compiler's parser,
2901 # not just through cpp. "Syntax error" is here to catch this case.
2902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2903 /* end confdefs.h. */
2904 #ifdef __STDC__
2905 # include <limits.h>
2906 #else
2907 # include <assert.h>
2908 #endif
2909 Syntax error
2910 _ACEOF
2911 if ac_fn_c_try_cpp "$LINENO"; then :
2912
2913 else
2914 # Broken: fails on valid input.
2915 continue
2916 fi
2917 rm -f conftest.err conftest.i conftest.$ac_ext
2918
2919 # OK, works on sane cases. Now check whether nonexistent headers
2920 # can be detected and how.
2921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2922 /* end confdefs.h. */
2923 #include <ac_nonexistent.h>
2924 _ACEOF
2925 if ac_fn_c_try_cpp "$LINENO"; then :
2926 # Broken: success on invalid input.
2927 continue
2928 else
2929 # Passes both tests.
2930 ac_preproc_ok=:
2931 break
2932 fi
2933 rm -f conftest.err conftest.i conftest.$ac_ext
2934
2935 done
2936 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2937 rm -f conftest.i conftest.err conftest.$ac_ext
2938 if $ac_preproc_ok; then :
2939 break
2940 fi
2941
2942 done
2943 ac_cv_prog_CPP=$CPP
2944
2945 fi
2946 CPP=$ac_cv_prog_CPP
2947 else
2948 ac_cv_prog_CPP=$CPP
2949 fi
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2951 $as_echo "$CPP" >&6; }
2952 ac_preproc_ok=false
2953 for ac_c_preproc_warn_flag in '' yes
2954 do
2955 # Use a header file that comes with gcc, so configuring glibc
2956 # with a fresh cross-compiler works.
2957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2958 # <limits.h> exists even on freestanding compilers.
2959 # On the NeXT, cc -E runs the code through the compiler's parser,
2960 # not just through cpp. "Syntax error" is here to catch this case.
2961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2962 /* end confdefs.h. */
2963 #ifdef __STDC__
2964 # include <limits.h>
2965 #else
2966 # include <assert.h>
2967 #endif
2968 Syntax error
2969 _ACEOF
2970 if ac_fn_c_try_cpp "$LINENO"; then :
2971
2972 else
2973 # Broken: fails on valid input.
2974 continue
2975 fi
2976 rm -f conftest.err conftest.i conftest.$ac_ext
2977
2978 # OK, works on sane cases. Now check whether nonexistent headers
2979 # can be detected and how.
2980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2981 /* end confdefs.h. */
2982 #include <ac_nonexistent.h>
2983 _ACEOF
2984 if ac_fn_c_try_cpp "$LINENO"; then :
2985 # Broken: success on invalid input.
2986 continue
2987 else
2988 # Passes both tests.
2989 ac_preproc_ok=:
2990 break
2991 fi
2992 rm -f conftest.err conftest.i conftest.$ac_ext
2993
2994 done
2995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2996 rm -f conftest.i conftest.err conftest.$ac_ext
2997 if $ac_preproc_ok; then :
2998
2999 else
3000 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3001 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3002 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3003 See \`config.log' for more details" "$LINENO" 5; }
3004 fi
3005
3006 ac_ext=c
3007 ac_cpp='$CPP $CPPFLAGS'
3008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3011
3012 ac_aux_dir=
3013 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3014 if test -f "$ac_dir/install-sh"; then
3015 ac_aux_dir=$ac_dir
3016 ac_install_sh="$ac_aux_dir/install-sh -c"
3017 break
3018 elif test -f "$ac_dir/install.sh"; then
3019 ac_aux_dir=$ac_dir
3020 ac_install_sh="$ac_aux_dir/install.sh -c"
3021 break
3022 elif test -f "$ac_dir/shtool"; then
3023 ac_aux_dir=$ac_dir
3024 ac_install_sh="$ac_aux_dir/shtool install -c"
3025 break
3026 fi
3027 done
3028 if test -z "$ac_aux_dir"; then
3029 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3030 fi
3031
3032 # These three variables are undocumented and unsupported,
3033 # and are intended to be withdrawn in a future Autoconf release.
3034 # They can cause serious problems if a builder's source tree is in a directory
3035 # whose full name contains unusual characters.
3036 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3037 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3038 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3039
3040
3041 # Find a good install program. We prefer a C program (faster),
3042 # so one script is as good as another. But avoid the broken or
3043 # incompatible versions:
3044 # SysV /etc/install, /usr/sbin/install
3045 # SunOS /usr/etc/install
3046 # IRIX /sbin/install
3047 # AIX /bin/install
3048 # AmigaOS /C/install, which installs bootblocks on floppy discs
3049 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3050 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3051 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3052 # OS/2's system install, which has a completely different semantic
3053 # ./install, which can be erroneously created by make from ./install.sh.
3054 # Reject install programs that cannot install multiple files.
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3056 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3057 if test -z "$INSTALL"; then
3058 if ${ac_cv_path_install+:} false; then :
3059 $as_echo_n "(cached) " >&6
3060 else
3061 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3062 for as_dir in $PATH
3063 do
3064 IFS=$as_save_IFS
3065 test -z "$as_dir" && as_dir=.
3066 # Account for people who put trailing slashes in PATH elements.
3067 case $as_dir/ in #((
3068 ./ | .// | /[cC]/* | \
3069 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3070 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3071 /usr/ucb/* ) ;;
3072 *)
3073 # OSF1 and SCO ODT 3.0 have their own names for install.
3074 # Don't use installbsd from OSF since it installs stuff as root
3075 # by default.
3076 for ac_prog in ginstall scoinst install; do
3077 for ac_exec_ext in '' $ac_executable_extensions; do
3078 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
3079 if test $ac_prog = install &&
3080 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3081 # AIX install. It has an incompatible calling convention.
3082 :
3083 elif test $ac_prog = install &&
3084 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3085 # program-specific install script used by HP pwplus--don't use.
3086 :
3087 else
3088 rm -rf conftest.one conftest.two conftest.dir
3089 echo one > conftest.one
3090 echo two > conftest.two
3091 mkdir conftest.dir
3092 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3093 test -s conftest.one && test -s conftest.two &&
3094 test -s conftest.dir/conftest.one &&
3095 test -s conftest.dir/conftest.two
3096 then
3097 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3098 break 3
3099 fi
3100 fi
3101 fi
3102 done
3103 done
3104 ;;
3105 esac
3106
3107 done
3108 IFS=$as_save_IFS
3109
3110 rm -rf conftest.one conftest.two conftest.dir
3111
3112 fi
3113 if test "${ac_cv_path_install+set}" = set; then
3114 INSTALL=$ac_cv_path_install
3115 else
3116 # As a last resort, use the slow shell script. Don't cache a
3117 # value for INSTALL within a source directory, because that will
3118 # break other packages using the cache if that directory is
3119 # removed, or if the value is a relative name.
3120 INSTALL=$ac_install_sh
3121 fi
3122 fi
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3124 $as_echo "$INSTALL" >&6; }
3125
3126 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3127 # It thinks the first close brace ends the variable substitution.
3128 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3129
3130 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3131
3132 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3133
3134 test "$program_prefix" != NONE &&
3135 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3136 # Use a double $ so make ignores it.
3137 test "$program_suffix" != NONE &&
3138 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3139 # Double any \ or $.
3140 # By default was `s,x,x', remove it if useless.
3141 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3142 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3143 # for program_transform_name
3144
3145
3146 $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
3147
3148
3149 # If GCC, turn on warnings.
3150 if test "x$GCC" = "xyes"
3151 then
3152 CFLAGS="$CFLAGS -Wall -W"
3153 else
3154 CFLAGS="$CFLAGS -O"
3155 fi
3156
3157
3158 ac_header_dirent=no
3159 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
3160 as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
3162 $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
3163 if eval \${$as_ac_Header+:} false; then :
3164 $as_echo_n "(cached) " >&6
3165 else
3166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3167 /* end confdefs.h. */
3168 #include <sys/types.h>
3169 #include <$ac_hdr>
3170
3171 int
3172 main ()
3173 {
3174 if ((DIR *) 0)
3175 return 0;
3176 ;
3177 return 0;
3178 }
3179 _ACEOF
3180 if ac_fn_c_try_compile "$LINENO"; then :
3181 eval "$as_ac_Header=yes"
3182 else
3183 eval "$as_ac_Header=no"
3184 fi
3185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3186 fi
3187 eval ac_res=\$$as_ac_Header
3188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3189 $as_echo "$ac_res" >&6; }
3190 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3191 cat >>confdefs.h <<_ACEOF
3192 #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
3193 _ACEOF
3194
3195 ac_header_dirent=$ac_hdr; break
3196 fi
3197
3198 done
3199 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
3200 if test $ac_header_dirent = dirent.h; then
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3202 $as_echo_n "checking for library containing opendir... " >&6; }
3203 if ${ac_cv_search_opendir+:} false; then :
3204 $as_echo_n "(cached) " >&6
3205 else
3206 ac_func_search_save_LIBS=$LIBS
3207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3208 /* end confdefs.h. */
3209
3210 /* Override any GCC internal prototype to avoid an error.
3211 Use char because int might match the return type of a GCC
3212 builtin and then its argument prototype would still apply. */
3213 #ifdef __cplusplus
3214 extern "C"
3215 #endif
3216 char opendir ();
3217 int
3218 main ()
3219 {
3220 return opendir ();
3221 ;
3222 return 0;
3223 }
3224 _ACEOF
3225 for ac_lib in '' dir; do
3226 if test -z "$ac_lib"; then
3227 ac_res="none required"
3228 else
3229 ac_res=-l$ac_lib
3230 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3231 fi
3232 if ac_fn_c_try_link "$LINENO"; then :
3233 ac_cv_search_opendir=$ac_res
3234 fi
3235 rm -f core conftest.err conftest.$ac_objext \
3236 conftest$ac_exeext
3237 if ${ac_cv_search_opendir+:} false; then :
3238 break
3239 fi
3240 done
3241 if ${ac_cv_search_opendir+:} false; then :
3242
3243 else
3244 ac_cv_search_opendir=no
3245 fi
3246 rm conftest.$ac_ext
3247 LIBS=$ac_func_search_save_LIBS
3248 fi
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3250 $as_echo "$ac_cv_search_opendir" >&6; }
3251 ac_res=$ac_cv_search_opendir
3252 if test "$ac_res" != no; then :
3253 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3254
3255 fi
3256
3257 else
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
3259 $as_echo_n "checking for library containing opendir... " >&6; }
3260 if ${ac_cv_search_opendir+:} false; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 ac_func_search_save_LIBS=$LIBS
3264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3265 /* end confdefs.h. */
3266
3267 /* Override any GCC internal prototype to avoid an error.
3268 Use char because int might match the return type of a GCC
3269 builtin and then its argument prototype would still apply. */
3270 #ifdef __cplusplus
3271 extern "C"
3272 #endif
3273 char opendir ();
3274 int
3275 main ()
3276 {
3277 return opendir ();
3278 ;
3279 return 0;
3280 }
3281 _ACEOF
3282 for ac_lib in '' x; do
3283 if test -z "$ac_lib"; then
3284 ac_res="none required"
3285 else
3286 ac_res=-l$ac_lib
3287 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3288 fi
3289 if ac_fn_c_try_link "$LINENO"; then :
3290 ac_cv_search_opendir=$ac_res
3291 fi
3292 rm -f core conftest.err conftest.$ac_objext \
3293 conftest$ac_exeext
3294 if ${ac_cv_search_opendir+:} false; then :
3295 break
3296 fi
3297 done
3298 if ${ac_cv_search_opendir+:} false; then :
3299
3300 else
3301 ac_cv_search_opendir=no
3302 fi
3303 rm conftest.$ac_ext
3304 LIBS=$ac_func_search_save_LIBS
3305 fi
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
3307 $as_echo "$ac_cv_search_opendir" >&6; }
3308 ac_res=$ac_cv_search_opendir
3309 if test "$ac_res" != no; then :
3310 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3311
3312 fi
3313
3314 fi
3315
3316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether time.h and sys/time.h may both be included" >&5
3317 $as_echo_n "checking whether time.h and sys/time.h may both be included... " >&6; }
3318 if ${ac_cv_header_time+:} false; then :
3319 $as_echo_n "(cached) " >&6
3320 else
3321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3322 /* end confdefs.h. */
3323 #include <sys/types.h>
3324 #include <sys/time.h>
3325 #include <time.h>
3326
3327 int
3328 main ()
3329 {
3330 if ((struct tm *) 0)
3331 return 0;
3332 ;
3333 return 0;
3334 }
3335 _ACEOF
3336 if ac_fn_c_try_compile "$LINENO"; then :
3337 ac_cv_header_time=yes
3338 else
3339 ac_cv_header_time=no
3340 fi
3341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3342 fi
3343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_time" >&5
3344 $as_echo "$ac_cv_header_time" >&6; }
3345 if test $ac_cv_header_time = yes; then
3346
3347 $as_echo "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
3348
3349 fi
3350
3351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sys/wait.h that is POSIX.1 compatible" >&5
3352 $as_echo_n "checking for sys/wait.h that is POSIX.1 compatible... " >&6; }
3353 if ${ac_cv_header_sys_wait_h+:} false; then :
3354 $as_echo_n "(cached) " >&6
3355 else
3356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3357 /* end confdefs.h. */
3358 #include <sys/types.h>
3359 #include <sys/wait.h>
3360 #ifndef WEXITSTATUS
3361 # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
3362 #endif
3363 #ifndef WIFEXITED
3364 # define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
3365 #endif
3366
3367 int
3368 main ()
3369 {
3370 int s;
3371 wait (&s);
3372 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
3373 ;
3374 return 0;
3375 }
3376 _ACEOF
3377 if ac_fn_c_try_compile "$LINENO"; then :
3378 ac_cv_header_sys_wait_h=yes
3379 else
3380 ac_cv_header_sys_wait_h=no
3381 fi
3382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 fi
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_wait_h" >&5
3385 $as_echo "$ac_cv_header_sys_wait_h" >&6; }
3386 if test $ac_cv_header_sys_wait_h = yes; then
3387
3388 $as_echo "#define HAVE_SYS_WAIT_H 1" >>confdefs.h
3389
3390 fi
3391
3392
3393
3394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3395 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3396 if ${ac_cv_path_GREP+:} false; then :
3397 $as_echo_n "(cached) " >&6
3398 else
3399 if test -z "$GREP"; then
3400 ac_path_GREP_found=false
3401 # Loop through the user's path and test for each of PROGNAME-LIST
3402 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3403 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3404 do
3405 IFS=$as_save_IFS
3406 test -z "$as_dir" && as_dir=.
3407 for ac_prog in grep ggrep; do
3408 for ac_exec_ext in '' $ac_executable_extensions; do
3409 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3410 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
3411 # Check for GNU ac_path_GREP and select it if it is found.
3412 # Check for GNU $ac_path_GREP
3413 case `"$ac_path_GREP" --version 2>&1` in
3414 *GNU*)
3415 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3416 *)
3417 ac_count=0
3418 $as_echo_n 0123456789 >"conftest.in"
3419 while :
3420 do
3421 cat "conftest.in" "conftest.in" >"conftest.tmp"
3422 mv "conftest.tmp" "conftest.in"
3423 cp "conftest.in" "conftest.nl"
3424 $as_echo 'GREP' >> "conftest.nl"
3425 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3426 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3427 as_fn_arith $ac_count + 1 && ac_count=$as_val
3428 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3429 # Best one so far, save it but keep looking for a better one
3430 ac_cv_path_GREP="$ac_path_GREP"
3431 ac_path_GREP_max=$ac_count
3432 fi
3433 # 10*(2^10) chars as input seems more than enough
3434 test $ac_count -gt 10 && break
3435 done
3436 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3437 esac
3438
3439 $ac_path_GREP_found && break 3
3440 done
3441 done
3442 done
3443 IFS=$as_save_IFS
3444 if test -z "$ac_cv_path_GREP"; then
3445 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3446 fi
3447 else
3448 ac_cv_path_GREP=$GREP
3449 fi
3450
3451 fi
3452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3453 $as_echo "$ac_cv_path_GREP" >&6; }
3454 GREP="$ac_cv_path_GREP"
3455
3456
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3458 $as_echo_n "checking for egrep... " >&6; }
3459 if ${ac_cv_path_EGREP+:} false; then :
3460 $as_echo_n "(cached) " >&6
3461 else
3462 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3463 then ac_cv_path_EGREP="$GREP -E"
3464 else
3465 if test -z "$EGREP"; then
3466 ac_path_EGREP_found=false
3467 # Loop through the user's path and test for each of PROGNAME-LIST
3468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3469 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3470 do
3471 IFS=$as_save_IFS
3472 test -z "$as_dir" && as_dir=.
3473 for ac_prog in egrep; do
3474 for ac_exec_ext in '' $ac_executable_extensions; do
3475 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3476 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
3477 # Check for GNU ac_path_EGREP and select it if it is found.
3478 # Check for GNU $ac_path_EGREP
3479 case `"$ac_path_EGREP" --version 2>&1` in
3480 *GNU*)
3481 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3482 *)
3483 ac_count=0
3484 $as_echo_n 0123456789 >"conftest.in"
3485 while :
3486 do
3487 cat "conftest.in" "conftest.in" >"conftest.tmp"
3488 mv "conftest.tmp" "conftest.in"
3489 cp "conftest.in" "conftest.nl"
3490 $as_echo 'EGREP' >> "conftest.nl"
3491 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3492 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3493 as_fn_arith $ac_count + 1 && ac_count=$as_val
3494 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3495 # Best one so far, save it but keep looking for a better one
3496 ac_cv_path_EGREP="$ac_path_EGREP"
3497 ac_path_EGREP_max=$ac_count
3498 fi
3499 # 10*(2^10) chars as input seems more than enough
3500 test $ac_count -gt 10 && break
3501 done
3502 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3503 esac
3504
3505 $ac_path_EGREP_found && break 3
3506 done
3507 done
3508 done
3509 IFS=$as_save_IFS
3510 if test -z "$ac_cv_path_EGREP"; then
3511 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3512 fi
3513 else
3514 ac_cv_path_EGREP=$EGREP
3515 fi
3516
3517 fi
3518 fi
3519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3520 $as_echo "$ac_cv_path_EGREP" >&6; }
3521 EGREP="$ac_cv_path_EGREP"
3522
3523
3524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
3525 $as_echo_n "checking for ANSI C header files... " >&6; }
3526 if ${ac_cv_header_stdc+:} false; then :
3527 $as_echo_n "(cached) " >&6
3528 else
3529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3530 /* end confdefs.h. */
3531 #include <stdlib.h>
3532 #include <stdarg.h>
3533 #include <string.h>
3534 #include <float.h>
3535
3536 int
3537 main ()
3538 {
3539
3540 ;
3541 return 0;
3542 }
3543 _ACEOF
3544 if ac_fn_c_try_compile "$LINENO"; then :
3545 ac_cv_header_stdc=yes
3546 else
3547 ac_cv_header_stdc=no
3548 fi
3549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3550
3551 if test $ac_cv_header_stdc = yes; then
3552 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
3553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3554 /* end confdefs.h. */
3555 #include <string.h>
3556
3557 _ACEOF
3558 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3559 $EGREP "memchr" >/dev/null 2>&1; then :
3560
3561 else
3562 ac_cv_header_stdc=no
3563 fi
3564 rm -f conftest*
3565
3566 fi
3567
3568 if test $ac_cv_header_stdc = yes; then
3569 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
3570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3571 /* end confdefs.h. */
3572 #include <stdlib.h>
3573
3574 _ACEOF
3575 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3576 $EGREP "free" >/dev/null 2>&1; then :
3577
3578 else
3579 ac_cv_header_stdc=no
3580 fi
3581 rm -f conftest*
3582
3583 fi
3584
3585 if test $ac_cv_header_stdc = yes; then
3586 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
3587 if test "$cross_compiling" = yes; then :
3588 :
3589 else
3590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3591 /* end confdefs.h. */
3592 #include <ctype.h>
3593 #include <stdlib.h>
3594 #if ((' ' & 0x0FF) == 0x020)
3595 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
3596 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
3597 #else
3598 # define ISLOWER(c) \
3599 (('a' <= (c) && (c) <= 'i') \
3600 || ('j' <= (c) && (c) <= 'r') \
3601 || ('s' <= (c) && (c) <= 'z'))
3602 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
3603 #endif
3604
3605 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
3606 int
3607 main ()
3608 {
3609 int i;
3610 for (i = 0; i < 256; i++)
3611 if (XOR (islower (i), ISLOWER (i))
3612 || toupper (i) != TOUPPER (i))
3613 return 2;
3614 return 0;
3615 }
3616 _ACEOF
3617 if ac_fn_c_try_run "$LINENO"; then :
3618
3619 else
3620 ac_cv_header_stdc=no
3621 fi
3622 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3623 conftest.$ac_objext conftest.beam conftest.$ac_ext
3624 fi
3625
3626 fi
3627 fi
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
3629 $as_echo "$ac_cv_header_stdc" >&6; }
3630 if test $ac_cv_header_stdc = yes; then
3631
3632 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
3633
3634 fi
3635
3636 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
3637 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
3638 inttypes.h stdint.h unistd.h
3639 do :
3640 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3641 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
3642 "
3643 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3644 cat >>confdefs.h <<_ACEOF
3645 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3646 _ACEOF
3647
3648 fi
3649
3650 done
3651
3652
3653 for ac_header in ctype.h strings.h stdlib.h string.h pwd.h sys/time.h
3654 do :
3655 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
3656 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
3657 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
3658 cat >>confdefs.h <<_ACEOF
3659 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
3660 _ACEOF
3661
3662 fi
3663
3664 done
3665
3666
3667 for ac_func in realpath snprintf vsnprintf vasprintf asprintf mkstemp
3668 do :
3669 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3670 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3671 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3672 cat >>confdefs.h <<_ACEOF
3673 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3674 _ACEOF
3675
3676 fi
3677 done
3678
3679 for ac_func in gethostname getpwuid
3680 do :
3681 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3682 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3683 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3684 cat >>confdefs.h <<_ACEOF
3685 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3686 _ACEOF
3687
3688 fi
3689 done
3690
3691 for ac_func in utimes
3692 do :
3693 ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes"
3694 if test "x$ac_cv_func_utimes" = xyes; then :
3695 cat >>confdefs.h <<_ACEOF
3696 #define HAVE_UTIMES 1
3697 _ACEOF
3698
3699 fi
3700 done
3701
3702
3703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compar_fn_t in stdlib.h" >&5
3704 $as_echo_n "checking for compar_fn_t in stdlib.h... " >&6; }
3705 if ${ccache_cv_COMPAR_FN_T+:} false; then :
3706 $as_echo_n "(cached) " >&6
3707 else
3708
3709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3710 /* end confdefs.h. */
3711 #include <stdlib.h>
3712 int
3713 main ()
3714 {
3715
3716 void test_fn(void) { qsort(NULL, 0, 0, (__compar_fn_t)NULL); }
3717
3718 ;
3719 return 0;
3720 }
3721 _ACEOF
3722 if ac_fn_c_try_compile "$LINENO"; then :
3723 ccache_cv_COMPAR_FN_T=yes
3724 else
3725 ccache_cv_COMPAR_FN_T=no
3726 fi
3727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3728 fi
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ccache_cv_COMPAR_FN_T" >&5
3730 $as_echo "$ccache_cv_COMPAR_FN_T" >&6; }
3731 if test x"$ccache_cv_COMPAR_FN_T" = x"yes"; then
3732
3733 $as_echo "#define HAVE_COMPAR_FN_T 1" >>confdefs.h
3734
3735 fi
3736
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C99 vsnprintf" >&5
3738 $as_echo_n "checking for C99 vsnprintf... " >&6; }
3739 if ${ccache_cv_HAVE_C99_VSNPRINTF+:} false; then :
3740 $as_echo_n "(cached) " >&6
3741 else
3742
3743 if test "$cross_compiling" = yes; then :
3744 ccache_cv_HAVE_C99_VSNPRINTF=cross
3745 else
3746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3747 /* end confdefs.h. */
3748
3749 #include <sys/types.h>
3750 #include <stdarg.h>
3751 void foo(const char *format, ...) {
3752 va_list ap;
3753 int len;
3754 char buf[5];
3755
3756 va_start(ap, format);
3757 len = vsnprintf(0, 0, format, ap);
3758 va_end(ap);
3759 if (len != 5) exit(1);
3760
3761 if (snprintf(buf, 3, "hello") != 5 || strcmp(buf, "he") != 0) exit(1);
3762
3763 exit(0);
3764 }
3765 main() { foo("hello"); }
3766
3767 _ACEOF
3768 if ac_fn_c_try_run "$LINENO"; then :
3769 ccache_cv_HAVE_C99_VSNPRINTF=yes
3770 else
3771 ccache_cv_HAVE_C99_VSNPRINTF=no
3772 fi
3773 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3774 conftest.$ac_objext conftest.beam conftest.$ac_ext
3775 fi
3776
3777 fi
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ccache_cv_HAVE_C99_VSNPRINTF" >&5
3779 $as_echo "$ccache_cv_HAVE_C99_VSNPRINTF" >&6; }
3780 if test x"$ccache_cv_HAVE_C99_VSNPRINTF" = x"yes"; then
3781
3782 $as_echo "#define HAVE_C99_VSNPRINTF 1" >>confdefs.h
3783
3784 fi
3785
3786 # Check whether --enable-zlib was given.
3787 if test "${enable_zlib+set}" = set; then :
3788 enableval=$enable_zlib;
3789 else
3790 enable_zlib=yes
3791 fi
3792
3793
3794 if test x"$enable_zlib" = x"yes"; then
3795 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
3796 if test "x$ac_cv_header_zlib_h" = xyes; then :
3797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gzdopen in -lz" >&5
3798 $as_echo_n "checking for gzdopen in -lz... " >&6; }
3799 if ${ac_cv_lib_z_gzdopen+:} false; then :
3800 $as_echo_n "(cached) " >&6
3801 else
3802 ac_check_lib_save_LIBS=$LIBS
3803 LIBS="-lz $LIBS"
3804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3805 /* end confdefs.h. */
3806
3807 /* Override any GCC internal prototype to avoid an error.
3808 Use char because int might match the return type of a GCC
3809 builtin and then its argument prototype would still apply. */
3810 #ifdef __cplusplus
3811 extern "C"
3812 #endif
3813 char gzdopen ();
3814 int
3815 main ()
3816 {
3817 return gzdopen ();
3818 ;
3819 return 0;
3820 }
3821 _ACEOF
3822 if ac_fn_c_try_link "$LINENO"; then :
3823 ac_cv_lib_z_gzdopen=yes
3824 else
3825 ac_cv_lib_z_gzdopen=no
3826 fi
3827 rm -f core conftest.err conftest.$ac_objext \
3828 conftest$ac_exeext conftest.$ac_ext
3829 LIBS=$ac_check_lib_save_LIBS
3830 fi
3831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_gzdopen" >&5
3832 $as_echo "$ac_cv_lib_z_gzdopen" >&6; }
3833 if test "x$ac_cv_lib_z_gzdopen" = xyes; then :
3834 LIBS="-lz $LIBS"
3835
3836 $as_echo "#define ENABLE_ZLIB 1" >>confdefs.h
3837
3838 fi
3839
3840 fi
3841
3842
3843 fi
3844
3845 ac_config_files="$ac_config_files Makefile"
3846
3847 cat >confcache <<\_ACEOF
3848 # This file is a shell script that caches the results of configure
3849 # tests run on this system so they can be shared between configure
3850 # scripts and configure runs, see configure's option --config-cache.
3851 # It is not useful on other systems. If it contains results you don't
3852 # want to keep, you may remove or edit it.
3853 #
3854 # config.status only pays attention to the cache file if you give it
3855 # the --recheck option to rerun configure.
3856 #
3857 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3858 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3859 # following values.
3860
3861 _ACEOF
3862
3863 # The following way of writing the cache mishandles newlines in values,
3864 # but we know of no workaround that is simple, portable, and efficient.
3865 # So, we kill variables containing newlines.
3866 # Ultrix sh set writes to stderr and can't be redirected directly,
3867 # and sets the high bit in the cache file unless we assign to the vars.
3868 (
3869 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3870 eval ac_val=\$$ac_var
3871 case $ac_val in #(
3872 *${as_nl}*)
3873 case $ac_var in #(
3874 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3875 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3876 esac
3877 case $ac_var in #(
3878 _ | IFS | as_nl) ;; #(
3879 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3880 *) { eval $ac_var=; unset $ac_var;} ;;
3881 esac ;;
3882 esac
3883 done
3884
3885 (set) 2>&1 |
3886 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3887 *${as_nl}ac_space=\ *)
3888 # `set' does not quote correctly, so add quotes: double-quote
3889 # substitution turns \\\\ into \\, and sed turns \\ into \.
3890 sed -n \
3891 "s/'/'\\\\''/g;
3892 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3893 ;; #(
3894 *)
3895 # `set' quotes correctly as required by POSIX, so do not add quotes.
3896 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3897 ;;
3898 esac |
3899 sort
3900 ) |
3901 sed '
3902 /^ac_cv_env_/b end
3903 t clear
3904 :clear
3905 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3906 t end
3907 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3908 :end' >>confcache
3909 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3910 if test -w "$cache_file"; then
3911 if test "x$cache_file" != "x/dev/null"; then
3912 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3913 $as_echo "$as_me: updating cache $cache_file" >&6;}
3914 if test ! -f "$cache_file" || test -h "$cache_file"; then
3915 cat confcache >"$cache_file"
3916 else
3917 case $cache_file in #(
3918 */* | ?:*)
3919 mv -f confcache "$cache_file"$$ &&
3920 mv -f "$cache_file"$$ "$cache_file" ;; #(
3921 *)
3922 mv -f confcache "$cache_file" ;;
3923 esac
3924 fi
3925 fi
3926 else
3927 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3928 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3929 fi
3930 fi
3931 rm -f confcache
3932
3933 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3934 # Let make expand exec_prefix.
3935 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3936
3937 DEFS=-DHAVE_CONFIG_H
3938
3939 ac_libobjs=
3940 ac_ltlibobjs=
3941 U=
3942 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3943 # 1. Remove the extension, and $U if already installed.
3944 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3945 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3946 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3947 # will be set to the directory where LIBOBJS objects are built.
3948 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3949 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3950 done
3951 LIBOBJS=$ac_libobjs
3952
3953 LTLIBOBJS=$ac_ltlibobjs
3954
3955
3956
3957 : "${CONFIG_STATUS=./config.status}"
3958 ac_write_fail=0
3959 ac_clean_files_save=$ac_clean_files
3960 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3961 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3962 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3963 as_write_fail=0
3964 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3965 #! $SHELL
3966 # Generated by $as_me.
3967 # Run this file to recreate the current configuration.
3968 # Compiler output produced by configure, useful for debugging
3969 # configure, is in config.log if it exists.
3970
3971 debug=false
3972 ac_cs_recheck=false
3973 ac_cs_silent=false
3974
3975 SHELL=\${CONFIG_SHELL-$SHELL}
3976 export SHELL
3977 _ASEOF
3978 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3979 ## -------------------- ##
3980 ## M4sh Initialization. ##
3981 ## -------------------- ##
3982
3983 # Be more Bourne compatible
3984 DUALCASE=1; export DUALCASE # for MKS sh
3985 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3986 emulate sh
3987 NULLCMD=:
3988 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3989 # is contrary to our usage. Disable this feature.
3990 alias -g '${1+"$@"}'='"$@"'
3991 setopt NO_GLOB_SUBST
3992 else
3993 case `(set -o) 2>/dev/null` in #(
3994 *posix*) :
3995 set -o posix ;; #(
3996 *) :
3997 ;;
3998 esac
3999 fi
4000
4001
4002 as_nl='
4003 '
4004 export as_nl
4005 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4006 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4007 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4008 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4009 # Prefer a ksh shell builtin over an external printf program on Solaris,
4010 # but without wasting forks for bash or zsh.
4011 if test -z "$BASH_VERSION$ZSH_VERSION" \
4012 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4013 as_echo='print -r --'
4014 as_echo_n='print -rn --'
4015 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4016 as_echo='printf %s\n'
4017 as_echo_n='printf %s'
4018 else
4019 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4020 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4021 as_echo_n='/usr/ucb/echo -n'
4022 else
4023 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4024 as_echo_n_body='eval
4025 arg=$1;
4026 case $arg in #(
4027 *"$as_nl"*)
4028 expr "X$arg" : "X\\(.*\\)$as_nl";
4029 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4030 esac;
4031 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4032 '
4033 export as_echo_n_body
4034 as_echo_n='sh -c $as_echo_n_body as_echo'
4035 fi
4036 export as_echo_body
4037 as_echo='sh -c $as_echo_body as_echo'
4038 fi
4039
4040 # The user is always right.
4041 if test "${PATH_SEPARATOR+set}" != set; then
4042 PATH_SEPARATOR=:
4043 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4044 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4045 PATH_SEPARATOR=';'
4046 }
4047 fi
4048
4049
4050 # IFS
4051 # We need space, tab and new line, in precisely that order. Quoting is
4052 # there to prevent editors from complaining about space-tab.
4053 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4054 # splitting by setting IFS to empty value.)
4055 IFS=" "" $as_nl"
4056
4057 # Find who we are. Look in the path if we contain no directory separator.
4058 as_myself=
4059 case $0 in #((
4060 *[\\/]* ) as_myself=$0 ;;
4061 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4062 for as_dir in $PATH
4063 do
4064 IFS=$as_save_IFS
4065 test -z "$as_dir" && as_dir=.
4066 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4067 done
4068 IFS=$as_save_IFS
4069
4070 ;;
4071 esac
4072 # We did not find ourselves, most probably we were run as `sh COMMAND'
4073 # in which case we are not to be found in the path.
4074 if test "x$as_myself" = x; then
4075 as_myself=$0
4076 fi
4077 if test ! -f "$as_myself"; then
4078 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4079 exit 1
4080 fi
4081
4082 # Unset variables that we do not need and which cause bugs (e.g. in
4083 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4084 # suppresses any "Segmentation fault" message there. '((' could
4085 # trigger a bug in pdksh 5.2.14.
4086 for as_var in BASH_ENV ENV MAIL MAILPATH
4087 do eval test x\${$as_var+set} = xset \
4088 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4089 done
4090 PS1='$ '
4091 PS2='> '
4092 PS4='+ '
4093
4094 # NLS nuisances.
4095 LC_ALL=C
4096 export LC_ALL
4097 LANGUAGE=C
4098 export LANGUAGE
4099
4100 # CDPATH.
4101 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4102
4103
4104 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4105 # ----------------------------------------
4106 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4107 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4108 # script with STATUS, using 1 if that was 0.
4109 as_fn_error ()
4110 {
4111 as_status=$1; test $as_status -eq 0 && as_status=1
4112 if test "$4"; then
4113 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4114 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4115 fi
4116 $as_echo "$as_me: error: $2" >&2
4117 as_fn_exit $as_status
4118 } # as_fn_error
4119
4120
4121 # as_fn_set_status STATUS
4122 # -----------------------
4123 # Set $? to STATUS, without forking.
4124 as_fn_set_status ()
4125 {
4126 return $1
4127 } # as_fn_set_status
4128
4129 # as_fn_exit STATUS
4130 # -----------------
4131 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4132 as_fn_exit ()
4133 {
4134 set +e
4135 as_fn_set_status $1
4136 exit $1
4137 } # as_fn_exit
4138
4139 # as_fn_unset VAR
4140 # ---------------
4141 # Portably unset VAR.
4142 as_fn_unset ()
4143 {
4144 { eval $1=; unset $1;}
4145 }
4146 as_unset=as_fn_unset
4147 # as_fn_append VAR VALUE
4148 # ----------------------
4149 # Append the text in VALUE to the end of the definition contained in VAR. Take
4150 # advantage of any shell optimizations that allow amortized linear growth over
4151 # repeated appends, instead of the typical quadratic growth present in naive
4152 # implementations.
4153 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4154 eval 'as_fn_append ()
4155 {
4156 eval $1+=\$2
4157 }'
4158 else
4159 as_fn_append ()
4160 {
4161 eval $1=\$$1\$2
4162 }
4163 fi # as_fn_append
4164
4165 # as_fn_arith ARG...
4166 # ------------------
4167 # Perform arithmetic evaluation on the ARGs, and store the result in the
4168 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4169 # must be portable across $(()) and expr.
4170 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4171 eval 'as_fn_arith ()
4172 {
4173 as_val=$(( $* ))
4174 }'
4175 else
4176 as_fn_arith ()
4177 {
4178 as_val=`expr "$@" || test $? -eq 1`
4179 }
4180 fi # as_fn_arith
4181
4182
4183 if expr a : '\(a\)' >/dev/null 2>&1 &&
4184 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4185 as_expr=expr
4186 else
4187 as_expr=false
4188 fi
4189
4190 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4191 as_basename=basename
4192 else
4193 as_basename=false
4194 fi
4195
4196 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4197 as_dirname=dirname
4198 else
4199 as_dirname=false
4200 fi
4201
4202 as_me=`$as_basename -- "$0" ||
4203 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4204 X"$0" : 'X\(//\)$' \| \
4205 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4206 $as_echo X/"$0" |
4207 sed '/^.*\/\([^/][^/]*\)\/*$/{
4208 s//\1/
4209 q
4210 }
4211 /^X\/\(\/\/\)$/{
4212 s//\1/
4213 q
4214 }
4215 /^X\/\(\/\).*/{
4216 s//\1/
4217 q
4218 }
4219 s/.*/./; q'`
4220
4221 # Avoid depending upon Character Ranges.
4222 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4223 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4224 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4225 as_cr_digits='0123456789'
4226 as_cr_alnum=$as_cr_Letters$as_cr_digits
4227
4228 ECHO_C= ECHO_N= ECHO_T=
4229 case `echo -n x` in #(((((
4230 -n*)
4231 case `echo 'xy\c'` in
4232 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4233 xy) ECHO_C='\c';;
4234 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4235 ECHO_T=' ';;
4236 esac;;
4237 *)
4238 ECHO_N='-n';;
4239 esac
4240
4241 rm -f conf$$ conf$$.exe conf$$.file
4242 if test -d conf$$.dir; then
4243 rm -f conf$$.dir/conf$$.file
4244 else
4245 rm -f conf$$.dir
4246 mkdir conf$$.dir 2>/dev/null
4247 fi
4248 if (echo >conf$$.file) 2>/dev/null; then
4249 if ln -s conf$$.file conf$$ 2>/dev/null; then
4250 as_ln_s='ln -s'
4251 # ... but there are two gotchas:
4252 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4253 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4254 # In both cases, we have to default to `cp -p'.
4255 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4256 as_ln_s='cp -p'
4257 elif ln conf$$.file conf$$ 2>/dev/null; then
4258 as_ln_s=ln
4259 else
4260 as_ln_s='cp -p'
4261 fi
4262 else
4263 as_ln_s='cp -p'
4264 fi
4265 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4266 rmdir conf$$.dir 2>/dev/null
4267
4268
4269 # as_fn_mkdir_p
4270 # -------------
4271 # Create "$as_dir" as a directory, including parents if necessary.
4272 as_fn_mkdir_p ()
4273 {
4274
4275 case $as_dir in #(
4276 -*) as_dir=./$as_dir;;
4277 esac
4278 test -d "$as_dir" || eval $as_mkdir_p || {
4279 as_dirs=
4280 while :; do
4281 case $as_dir in #(
4282 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4283 *) as_qdir=$as_dir;;
4284 esac
4285 as_dirs="'$as_qdir' $as_dirs"
4286 as_dir=`$as_dirname -- "$as_dir" ||
4287 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4288 X"$as_dir" : 'X\(//\)[^/]' \| \
4289 X"$as_dir" : 'X\(//\)$' \| \
4290 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4291 $as_echo X"$as_dir" |
4292 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4293 s//\1/
4294 q
4295 }
4296 /^X\(\/\/\)[^/].*/{
4297 s//\1/
4298 q
4299 }
4300 /^X\(\/\/\)$/{
4301 s//\1/
4302 q
4303 }
4304 /^X\(\/\).*/{
4305 s//\1/
4306 q
4307 }
4308 s/.*/./; q'`
4309 test -d "$as_dir" && break
4310 done
4311 test -z "$as_dirs" || eval "mkdir $as_dirs"
4312 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4313
4314
4315 } # as_fn_mkdir_p
4316 if mkdir -p . 2>/dev/null; then
4317 as_mkdir_p='mkdir -p "$as_dir"'
4318 else
4319 test -d ./-p && rmdir ./-p
4320 as_mkdir_p=false
4321 fi
4322
4323 if test -x / >/dev/null 2>&1; then
4324 as_test_x='test -x'
4325 else
4326 if ls -dL / >/dev/null 2>&1; then
4327 as_ls_L_option=L
4328 else
4329 as_ls_L_option=
4330 fi
4331 as_test_x='
4332 eval sh -c '\''
4333 if test -d "$1"; then
4334 test -d "$1/.";
4335 else
4336 case $1 in #(
4337 -*)set "./$1";;
4338 esac;
4339 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4340 ???[sx]*):;;*)false;;esac;fi
4341 '\'' sh
4342 '
4343 fi
4344 as_executable_p=$as_test_x
4345
4346 # Sed expression to map a string onto a valid CPP name.
4347 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4348
4349 # Sed expression to map a string onto a valid variable name.
4350 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4351
4352
4353 exec 6>&1
4354 ## ----------------------------------- ##
4355 ## Main body of $CONFIG_STATUS script. ##
4356 ## ----------------------------------- ##
4357 _ASEOF
4358 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4359
4360 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4361 # Save the log message, to keep $0 and so on meaningful, and to
4362 # report actual input values of CONFIG_FILES etc. instead of their
4363 # values after options handling.
4364 ac_log="
4365 This file was extended by ccache-swig $as_me 0.0, which was
4366 generated by GNU Autoconf 2.68. Invocation command line was
4367
4368 CONFIG_FILES = $CONFIG_FILES
4369 CONFIG_HEADERS = $CONFIG_HEADERS
4370 CONFIG_LINKS = $CONFIG_LINKS
4371 CONFIG_COMMANDS = $CONFIG_COMMANDS
4372 $ $0 $@
4373
4374 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4375 "
4376
4377 _ACEOF
4378
4379 case $ac_config_files in *"
4380 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4381 esac
4382
4383 case $ac_config_headers in *"
4384 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4385 esac
4386
4387
4388 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4389 # Files that config.status was made for.
4390 config_files="$ac_config_files"
4391 config_headers="$ac_config_headers"
4392
4393 _ACEOF
4394
4395 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4396 ac_cs_usage="\
4397 \`$as_me' instantiates files and other configuration actions
4398 from templates according to the current configuration. Unless the files
4399 and actions are specified as TAGs, all are instantiated by default.
4400
4401 Usage: $0 [OPTION]... [TAG]...
4402
4403 -h, --help print this help, then exit
4404 -V, --version print version number and configuration settings, then exit
4405 --config print configuration, then exit
4406 -q, --quiet, --silent
4407 do not print progress messages
4408 -d, --debug don't remove temporary files
4409 --recheck update $as_me by reconfiguring in the same conditions
4410 --file=FILE[:TEMPLATE]
4411 instantiate the configuration file FILE
4412 --header=FILE[:TEMPLATE]
4413 instantiate the configuration header FILE
4414
4415 Configuration files:
4416 $config_files
4417
4418 Configuration headers:
4419 $config_headers
4420
4421 Report bugs to the package provider."
4422
4423 _ACEOF
4424 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4425 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4426 ac_cs_version="\\
4427 ccache-swig config.status 0.0
4428 configured by $0, generated by GNU Autoconf 2.68,
4429 with options \\"\$ac_cs_config\\"
4430
4431 Copyright (C) 2010 Free Software Foundation, Inc.
4432 This config.status script is free software; the Free Software Foundation
4433 gives unlimited permission to copy, distribute and modify it."
4434
4435 ac_pwd='$ac_pwd'
4436 srcdir='$srcdir'
4437 INSTALL='$INSTALL'
4438 test -n "\$AWK" || AWK=awk
4439 _ACEOF
4440
4441 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4442 # The default lists apply if the user does not specify any file.
4443 ac_need_defaults=:
4444 while test $# != 0
4445 do
4446 case $1 in
4447 --*=?*)
4448 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4449 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4450 ac_shift=:
4451 ;;
4452 --*=)
4453 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4454 ac_optarg=
4455 ac_shift=:
4456 ;;
4457 *)
4458 ac_option=$1
4459 ac_optarg=$2
4460 ac_shift=shift
4461 ;;
4462 esac
4463
4464 case $ac_option in
4465 # Handling of the options.
4466 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4467 ac_cs_recheck=: ;;
4468 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4469 $as_echo "$ac_cs_version"; exit ;;
4470 --config | --confi | --conf | --con | --co | --c )
4471 $as_echo "$ac_cs_config"; exit ;;
4472 --debug | --debu | --deb | --de | --d | -d )
4473 debug=: ;;
4474 --file | --fil | --fi | --f )
4475 $ac_shift
4476 case $ac_optarg in
4477 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4478 '') as_fn_error $? "missing file argument" ;;
4479 esac
4480 as_fn_append CONFIG_FILES " '$ac_optarg'"
4481 ac_need_defaults=false;;
4482 --header | --heade | --head | --hea )
4483 $ac_shift
4484 case $ac_optarg in
4485 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4486 esac
4487 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4488 ac_need_defaults=false;;
4489 --he | --h)
4490 # Conflict between --help and --header
4491 as_fn_error $? "ambiguous option: \`$1'
4492 Try \`$0 --help' for more information.";;
4493 --help | --hel | -h )
4494 $as_echo "$ac_cs_usage"; exit ;;
4495 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4496 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4497 ac_cs_silent=: ;;
4498
4499 # This is an error.
4500 -*) as_fn_error $? "unrecognized option: \`$1'
4501 Try \`$0 --help' for more information." ;;
4502
4503 *) as_fn_append ac_config_targets " $1"
4504 ac_need_defaults=false ;;
4505
4506 esac
4507 shift
4508 done
4509
4510 ac_configure_extra_args=
4511
4512 if $ac_cs_silent; then
4513 exec 6>/dev/null
4514 ac_configure_extra_args="$ac_configure_extra_args --silent"
4515 fi
4516
4517 _ACEOF
4518 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4519 if \$ac_cs_recheck; then
4520 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4521 shift
4522 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4523 CONFIG_SHELL='$SHELL'
4524 export CONFIG_SHELL
4525 exec "\$@"
4526 fi
4527
4528 _ACEOF
4529 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4530 exec 5>>config.log
4531 {
4532 echo
4533 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4534 ## Running $as_me. ##
4535 _ASBOX
4536 $as_echo "$ac_log"
4537 } >&5
4538
4539 _ACEOF
4540 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4541 _ACEOF
4542
4543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4544
4545 # Handling of arguments.
4546 for ac_config_target in $ac_config_targets
4547 do
4548 case $ac_config_target in
4549 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4550 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4551
4552 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4553 esac
4554 done
4555
4556
4557 # If the user did not use the arguments to specify the items to instantiate,
4558 # then the envvar interface is used. Set only those that are not.
4559 # We use the long form for the default assignment because of an extremely
4560 # bizarre bug on SunOS 4.1.3.
4561 if $ac_need_defaults; then
4562 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4563 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4564 fi
4565
4566 # Have a temporary directory for convenience. Make it in the build tree
4567 # simply because there is no reason against having it here, and in addition,
4568 # creating and moving files from /tmp can sometimes cause problems.
4569 # Hook for its removal unless debugging.
4570 # Note that there is a small window in which the directory will not be cleaned:
4571 # after its creation but before its name has been assigned to `$tmp'.
4572 $debug ||
4573 {
4574 tmp= ac_tmp=
4575 trap 'exit_status=$?
4576 : "${ac_tmp:=$tmp}"
4577 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4578 ' 0
4579 trap 'as_fn_exit 1' 1 2 13 15
4580 }
4581 # Create a (secure) tmp directory for tmp files.
4582
4583 {
4584 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4585 test -d "$tmp"
4586 } ||
4587 {
4588 tmp=./conf$$-$RANDOM
4589 (umask 077 && mkdir "$tmp")
4590 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4591 ac_tmp=$tmp
4592
4593 # Set up the scripts for CONFIG_FILES section.
4594 # No need to generate them if there are no CONFIG_FILES.
4595 # This happens for instance with `./config.status config.h'.
4596 if test -n "$CONFIG_FILES"; then
4597
4598
4599 ac_cr=`echo X | tr X '\015'`
4600 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4601 # But we know of no other shell where ac_cr would be empty at this
4602 # point, so we can use a bashism as a fallback.
4603 if test "x$ac_cr" = x; then
4604 eval ac_cr=\$\'\\r\'
4605 fi
4606 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4607 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4608 ac_cs_awk_cr='\\r'
4609 else
4610 ac_cs_awk_cr=$ac_cr
4611 fi
4612
4613 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4614 _ACEOF
4615
4616
4617 {
4618 echo "cat >conf$$subs.awk <<_ACEOF" &&
4619 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4620 echo "_ACEOF"
4621 } >conf$$subs.sh ||
4622 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4623 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4624 ac_delim='%!_!# '
4625 for ac_last_try in false false false false false :; do
4626 . ./conf$$subs.sh ||
4627 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4628
4629 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4630 if test $ac_delim_n = $ac_delim_num; then
4631 break
4632 elif $ac_last_try; then
4633 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4634 else
4635 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4636 fi
4637 done
4638 rm -f conf$$subs.sh
4639
4640 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4641 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4642 _ACEOF
4643 sed -n '
4644 h
4645 s/^/S["/; s/!.*/"]=/
4646 p
4647 g
4648 s/^[^!]*!//
4649 :repl
4650 t repl
4651 s/'"$ac_delim"'$//
4652 t delim
4653 :nl
4654 h
4655 s/\(.\{148\}\)..*/\1/
4656 t more1
4657 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4658 p
4659 n
4660 b repl
4661 :more1
4662 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4663 p
4664 g
4665 s/.\{148\}//
4666 t nl
4667 :delim
4668 h
4669 s/\(.\{148\}\)..*/\1/
4670 t more2
4671 s/["\\]/\\&/g; s/^/"/; s/$/"/
4672 p
4673 b
4674 :more2
4675 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4676 p
4677 g
4678 s/.\{148\}//
4679 t delim
4680 ' <conf$$subs.awk | sed '
4681 /^[^""]/{
4682 N
4683 s/\n//
4684 }
4685 ' >>$CONFIG_STATUS || ac_write_fail=1
4686 rm -f conf$$subs.awk
4687 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4688 _ACAWK
4689 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4690 for (key in S) S_is_set[key] = 1
4691 FS = ""
4692
4693 }
4694 {
4695 line = $ 0
4696 nfields = split(line, field, "@")
4697 substed = 0
4698 len = length(field[1])
4699 for (i = 2; i < nfields; i++) {
4700 key = field[i]
4701 keylen = length(key)
4702 if (S_is_set[key]) {
4703 value = S[key]
4704 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4705 len += length(value) + length(field[++i])
4706 substed = 1
4707 } else
4708 len += 1 + keylen
4709 }
4710
4711 print line
4712 }
4713
4714 _ACAWK
4715 _ACEOF
4716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4717 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4718 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4719 else
4720 cat
4721 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4722 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4723 _ACEOF
4724
4725 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4726 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4727 # trailing colons and then remove the whole line if VPATH becomes empty
4728 # (actually we leave an empty line to preserve line numbers).
4729 if test "x$srcdir" = x.; then
4730 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4731 h
4732 s///
4733 s/^/:/
4734 s/[ ]*$/:/
4735 s/:\$(srcdir):/:/g
4736 s/:\${srcdir}:/:/g
4737 s/:@srcdir@:/:/g
4738 s/^:*//
4739 s/:*$//
4740 x
4741 s/\(=[ ]*\).*/\1/
4742 G
4743 s/\n//
4744 s/^[^=]*=[ ]*$//
4745 }'
4746 fi
4747
4748 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4749 fi # test -n "$CONFIG_FILES"
4750
4751 # Set up the scripts for CONFIG_HEADERS section.
4752 # No need to generate them if there are no CONFIG_HEADERS.
4753 # This happens for instance with `./config.status Makefile'.
4754 if test -n "$CONFIG_HEADERS"; then
4755 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4756 BEGIN {
4757 _ACEOF
4758
4759 # Transform confdefs.h into an awk script `defines.awk', embedded as
4760 # here-document in config.status, that substitutes the proper values into
4761 # config.h.in to produce config.h.
4762
4763 # Create a delimiter string that does not exist in confdefs.h, to ease
4764 # handling of long lines.
4765 ac_delim='%!_!# '
4766 for ac_last_try in false false :; do
4767 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4768 if test -z "$ac_tt"; then
4769 break
4770 elif $ac_last_try; then
4771 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4772 else
4773 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4774 fi
4775 done
4776
4777 # For the awk script, D is an array of macro values keyed by name,
4778 # likewise P contains macro parameters if any. Preserve backslash
4779 # newline sequences.
4780
4781 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4782 sed -n '
4783 s/.\{148\}/&'"$ac_delim"'/g
4784 t rset
4785 :rset
4786 s/^[ ]*#[ ]*define[ ][ ]*/ /
4787 t def
4788 d
4789 :def
4790 s/\\$//
4791 t bsnl
4792 s/["\\]/\\&/g
4793 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4794 D["\1"]=" \3"/p
4795 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4796 d
4797 :bsnl
4798 s/["\\]/\\&/g
4799 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4800 D["\1"]=" \3\\\\\\n"\\/p
4801 t cont
4802 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4803 t cont
4804 d
4805 :cont
4806 n
4807 s/.\{148\}/&'"$ac_delim"'/g
4808 t clear
4809 :clear
4810 s/\\$//
4811 t bsnlc
4812 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4813 d
4814 :bsnlc
4815 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4816 b cont
4817 ' <confdefs.h | sed '
4818 s/'"$ac_delim"'/"\\\
4819 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4820
4821 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4822 for (key in D) D_is_set[key] = 1
4823 FS = ""
4824 }
4825 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4826 line = \$ 0
4827 split(line, arg, " ")
4828 if (arg[1] == "#") {
4829 defundef = arg[2]
4830 mac1 = arg[3]
4831 } else {
4832 defundef = substr(arg[1], 2)
4833 mac1 = arg[2]
4834 }
4835 split(mac1, mac2, "(") #)
4836 macro = mac2[1]
4837 prefix = substr(line, 1, index(line, defundef) - 1)
4838 if (D_is_set[macro]) {
4839 # Preserve the white space surrounding the "#".
4840 print prefix "define", macro P[macro] D[macro]
4841 next
4842 } else {
4843 # Replace #undef with comments. This is necessary, for example,
4844 # in the case of _POSIX_SOURCE, which is predefined and required
4845 # on some systems where configure will not decide to define it.
4846 if (defundef == "undef") {
4847 print "/*", prefix defundef, macro, "*/"
4848 next
4849 }
4850 }
4851 }
4852 { print }
4853 _ACAWK
4854 _ACEOF
4855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4856 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4857 fi # test -n "$CONFIG_HEADERS"
4858
4859
4860 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4861 shift
4862 for ac_tag
4863 do
4864 case $ac_tag in
4865 :[FHLC]) ac_mode=$ac_tag; continue;;
4866 esac
4867 case $ac_mode$ac_tag in
4868 :[FHL]*:*);;
4869 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4870 :[FH]-) ac_tag=-:-;;
4871 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4872 esac
4873 ac_save_IFS=$IFS
4874 IFS=:
4875 set x $ac_tag
4876 IFS=$ac_save_IFS
4877 shift
4878 ac_file=$1
4879 shift
4880
4881 case $ac_mode in
4882 :L) ac_source=$1;;
4883 :[FH])
4884 ac_file_inputs=
4885 for ac_f
4886 do
4887 case $ac_f in
4888 -) ac_f="$ac_tmp/stdin";;
4889 *) # Look for the file first in the build tree, then in the source tree
4890 # (if the path is not absolute). The absolute path cannot be DOS-style,
4891 # because $ac_f cannot contain `:'.
4892 test -f "$ac_f" ||
4893 case $ac_f in
4894 [\\/$]*) false;;
4895 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4896 esac ||
4897 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4898 esac
4899 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4900 as_fn_append ac_file_inputs " '$ac_f'"
4901 done
4902
4903 # Let's still pretend it is `configure' which instantiates (i.e., don't
4904 # use $as_me), people would be surprised to read:
4905 # /* config.h. Generated by config.status. */
4906 configure_input='Generated from '`
4907 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4908 `' by configure.'
4909 if test x"$ac_file" != x-; then
4910 configure_input="$ac_file. $configure_input"
4911 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4912 $as_echo "$as_me: creating $ac_file" >&6;}
4913 fi
4914 # Neutralize special characters interpreted by sed in replacement strings.
4915 case $configure_input in #(
4916 *\&* | *\|* | *\\* )
4917 ac_sed_conf_input=`$as_echo "$configure_input" |
4918 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4919 *) ac_sed_conf_input=$configure_input;;
4920 esac
4921
4922 case $ac_tag in
4923 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4924 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4925 esac
4926 ;;
4927 esac
4928
4929 ac_dir=`$as_dirname -- "$ac_file" ||
4930 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4931 X"$ac_file" : 'X\(//\)[^/]' \| \
4932 X"$ac_file" : 'X\(//\)$' \| \
4933 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4934 $as_echo X"$ac_file" |
4935 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4936 s//\1/
4937 q
4938 }
4939 /^X\(\/\/\)[^/].*/{
4940 s//\1/
4941 q
4942 }
4943 /^X\(\/\/\)$/{
4944 s//\1/
4945 q
4946 }
4947 /^X\(\/\).*/{
4948 s//\1/
4949 q
4950 }
4951 s/.*/./; q'`
4952 as_dir="$ac_dir"; as_fn_mkdir_p
4953 ac_builddir=.
4954
4955 case "$ac_dir" in
4956 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4957 *)
4958 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4959 # A ".." for each directory in $ac_dir_suffix.
4960 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4961 case $ac_top_builddir_sub in
4962 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4963 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4964 esac ;;
4965 esac
4966 ac_abs_top_builddir=$ac_pwd
4967 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4968 # for backward compatibility:
4969 ac_top_builddir=$ac_top_build_prefix
4970
4971 case $srcdir in
4972 .) # We are building in place.
4973 ac_srcdir=.
4974 ac_top_srcdir=$ac_top_builddir_sub
4975 ac_abs_top_srcdir=$ac_pwd ;;
4976 [\\/]* | ?:[\\/]* ) # Absolute name.
4977 ac_srcdir=$srcdir$ac_dir_suffix;
4978 ac_top_srcdir=$srcdir
4979 ac_abs_top_srcdir=$srcdir ;;
4980 *) # Relative name.
4981 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4982 ac_top_srcdir=$ac_top_build_prefix$srcdir
4983 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4984 esac
4985 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4986
4987
4988 case $ac_mode in
4989 :F)
4990 #
4991 # CONFIG_FILE
4992 #
4993
4994 case $INSTALL in
4995 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4996 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4997 esac
4998 _ACEOF
4999
5000 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5001 # If the template does not know about datarootdir, expand it.
5002 # FIXME: This hack should be removed a few years after 2.60.
5003 ac_datarootdir_hack=; ac_datarootdir_seen=
5004 ac_sed_dataroot='
5005 /datarootdir/ {
5006 p
5007 q
5008 }
5009 /@datadir@/p
5010 /@docdir@/p
5011 /@infodir@/p
5012 /@localedir@/p
5013 /@mandir@/p'
5014 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5015 *datarootdir*) ac_datarootdir_seen=yes;;
5016 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5018 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5019 _ACEOF
5020 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5021 ac_datarootdir_hack='
5022 s&@datadir@&$datadir&g
5023 s&@docdir@&$docdir&g
5024 s&@infodir@&$infodir&g
5025 s&@localedir@&$localedir&g
5026 s&@mandir@&$mandir&g
5027 s&\\\${datarootdir}&$datarootdir&g' ;;
5028 esac
5029 _ACEOF
5030
5031 # Neutralize VPATH when `$srcdir' = `.'.
5032 # Shell code in configure.ac might set extrasub.
5033 # FIXME: do we really want to maintain this feature?
5034 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5035 ac_sed_extra="$ac_vpsub
5036 $extrasub
5037 _ACEOF
5038 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5039 :t
5040 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5041 s|@configure_input@|$ac_sed_conf_input|;t t
5042 s&@top_builddir@&$ac_top_builddir_sub&;t t
5043 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5044 s&@srcdir@&$ac_srcdir&;t t
5045 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5046 s&@top_srcdir@&$ac_top_srcdir&;t t
5047 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5048 s&@builddir@&$ac_builddir&;t t
5049 s&@abs_builddir@&$ac_abs_builddir&;t t
5050 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5051 s&@INSTALL@&$ac_INSTALL&;t t
5052 $ac_datarootdir_hack
5053 "
5054 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5055 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5056
5057 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5058 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5059 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5060 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5061 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5062 which seems to be undefined. Please make sure it is defined" >&5
5063 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5064 which seems to be undefined. Please make sure it is defined" >&2;}
5065
5066 rm -f "$ac_tmp/stdin"
5067 case $ac_file in
5068 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5069 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5070 esac \
5071 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5072 ;;
5073 :H)
5074 #
5075 # CONFIG_HEADER
5076 #
5077 if test x"$ac_file" != x-; then
5078 {
5079 $as_echo "/* $configure_input */" \
5080 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5081 } >"$ac_tmp/config.h" \
5082 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5083 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5084 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5085 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5086 else
5087 rm -f "$ac_file"
5088 mv "$ac_tmp/config.h" "$ac_file" \
5089 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5090 fi
5091 else
5092 $as_echo "/* $configure_input */" \
5093 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5094 || as_fn_error $? "could not create -" "$LINENO" 5
5095 fi
5096 ;;
5097
5098
5099 esac
5100
5101 done # for ac_tag
5102
5103
5104 as_fn_exit 0
5105 _ACEOF
5106 ac_clean_files=$ac_clean_files_save
5107
5108 test $ac_write_fail = 0 ||
5109 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5110
5111
5112 # configure is writing to config.log, and then calls config.status.
5113 # config.status does its own redirection, appending to config.log.
5114 # Unfortunately, on DOS this fails, as config.log is still kept open
5115 # by configure, so config.status won't be able to write to it; its
5116 # output is simply discarded. So we exec the FD to /dev/null,
5117 # effectively closing config.log, so it can be properly (re)opened and
5118 # appended to by config.status. When coming back to configure, we
5119 # need to make the FD available again.
5120 if test "$no_create" != yes; then
5121 ac_cs_success=:
5122 ac_config_status_args=
5123 test "$silent" = yes &&
5124 ac_config_status_args="$ac_config_status_args --quiet"
5125 exec 5>/dev/null
5126 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5127 exec 5>>config.log
5128 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5129 # would make configure fail if this is the last instruction.
5130 $ac_cs_success || as_fn_exit 1
5131 fi
5132 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5134 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5135 fi
5136