Debian Codegraph @

bin/configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7 # Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 as_nop=:
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else $as_nop
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
46 '
47 export as_nl
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
74
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
91 do
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed `exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
144 emulate sh
145 NULLCMD=:
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 setopt NO_GLOB_SUBST
150 else \$as_nop
151 case \`(set -o) 2>/dev/null\` in #(
152 *posix*) :
153 set -o posix ;; #(
154 *) :
155 ;;
156 esac
157 fi
158 "
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
164
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else \$as_nop
174 exitcode=1; echo positional parameters were not saved.
175 fi
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
179 test -x / || exit 1"
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
184 test \$(( 1 + 1 )) = 2 || exit 1"
185 if (eval "$as_required") 2>/dev/null
186 then :
187 as_have_required=yes
188 else $as_nop
189 as_have_required=no
190 fi
191 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
192 then :
193
194 else $as_nop
195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
196 as_found=false
197 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
198 do
199 IFS=$as_save_IFS
200 case $as_dir in #(((
201 '') as_dir=./ ;;
202 */) ;;
203 *) as_dir=$as_dir/ ;;
204 esac
205 as_found=:
206 case $as_dir in #(
207 /*)
208 for as_base in sh bash ksh sh5; do
209 # Try only shells that exist, to save several forks.
210 as_shell=$as_dir$as_base
211 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
212 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
213 then :
214 CONFIG_SHELL=$as_shell as_have_required=yes
215 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
216 then :
217 break 2
218 fi
219 fi
220 done;;
221 esac
222 as_found=false
223 done
224 IFS=$as_save_IFS
225 if $as_found
226 then :
227
228 else $as_nop
229 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
230 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
231 then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
233 fi
234 fi
235
236
237 if test "x$CONFIG_SHELL" != x
238 then :
239 export CONFIG_SHELL
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
244 BASH_ENV=/dev/null
245 ENV=/dev/null
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 case $- in # ((((
248 *v*x* | *x*v* ) as_opts=-vx ;;
249 *v* ) as_opts=-v ;;
250 *x* ) as_opts=-x ;;
251 * ) as_opts= ;;
252 esac
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
257 exit 255
258 fi
259
260 if test x$as_have_required = xno
261 then :
262 printf "%s\n" "$0: This script requires a shell more modern than all"
263 printf "%s\n" "$0: the shells that I found on your system."
264 if test ${ZSH_VERSION+y} ; then
265 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
266 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
267 else
268 printf "%s\n" "$0: Please tell [email protected] about your system,
269 $0: including any error possibly output before this
270 $0: message. Then install a modern shell, or manually run
271 $0: the script under such a shell if you do have one."
272 fi
273 exit 1
274 fi
275 fi
276 fi
277 SHELL=${CONFIG_SHELL-/bin/sh}
278 export SHELL
279 # Unset more variables known to interfere with behavior of common tools.
280 CLICOLOR_FORCE= GREP_OPTIONS=
281 unset CLICOLOR_FORCE GREP_OPTIONS
282
283 ## --------------------- ##
284 ## M4sh Shell Functions. ##
285 ## --------------------- ##
286 # as_fn_unset VAR
287 # ---------------
288 # Portably unset VAR.
289 as_fn_unset ()
290 {
291 { eval $1=; unset $1;}
292 }
293 as_unset=as_fn_unset
294
295
296 # as_fn_set_status STATUS
297 # -----------------------
298 # Set $? to STATUS, without forking.
299 as_fn_set_status ()
300 {
301 return $1
302 } # as_fn_set_status
303
304 # as_fn_exit STATUS
305 # -----------------
306 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
307 as_fn_exit ()
308 {
309 set +e
310 as_fn_set_status $1
311 exit $1
312 } # as_fn_exit
313 # as_fn_nop
314 # ---------
315 # Do nothing but, unlike ":", preserve the value of $?.
316 as_fn_nop ()
317 {
318 return $?
319 }
320 as_nop=as_fn_nop
321
322 # as_fn_mkdir_p
323 # -------------
324 # Create "$as_dir" as a directory, including parents if necessary.
325 as_fn_mkdir_p ()
326 {
327
328 case $as_dir in #(
329 -*) as_dir=./$as_dir;;
330 esac
331 test -d "$as_dir" || eval $as_mkdir_p || {
332 as_dirs=
333 while :; do
334 case $as_dir in #(
335 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
336 *) as_qdir=$as_dir;;
337 esac
338 as_dirs="'$as_qdir' $as_dirs"
339 as_dir=`$as_dirname -- "$as_dir" ||
340 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
341 X"$as_dir" : 'X\(//\)[^/]' \| \
342 X"$as_dir" : 'X\(//\)$' \| \
343 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
344 printf "%s\n" X"$as_dir" |
345 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
346 s//\1/
347 q
348 }
349 /^X\(\/\/\)[^/].*/{
350 s//\1/
351 q
352 }
353 /^X\(\/\/\)$/{
354 s//\1/
355 q
356 }
357 /^X\(\/\).*/{
358 s//\1/
359 q
360 }
361 s/.*/./; q'`
362 test -d "$as_dir" && break
363 done
364 test -z "$as_dirs" || eval "mkdir $as_dirs"
365 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
366
367
368 } # as_fn_mkdir_p
369
370 # as_fn_executable_p FILE
371 # -----------------------
372 # Test if FILE is an executable regular file.
373 as_fn_executable_p ()
374 {
375 test -f "$1" && test -x "$1"
376 } # as_fn_executable_p
377 # as_fn_append VAR VALUE
378 # ----------------------
379 # Append the text in VALUE to the end of the definition contained in VAR. Take
380 # advantage of any shell optimizations that allow amortized linear growth over
381 # repeated appends, instead of the typical quadratic growth present in naive
382 # implementations.
383 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
384 then :
385 eval 'as_fn_append ()
386 {
387 eval $1+=\$2
388 }'
389 else $as_nop
390 as_fn_append ()
391 {
392 eval $1=\$$1\$2
393 }
394 fi # as_fn_append
395
396 # as_fn_arith ARG...
397 # ------------------
398 # Perform arithmetic evaluation on the ARGs, and store the result in the
399 # global $as_val. Take advantage of shells that can avoid forks. The arguments
400 # must be portable across $(()) and expr.
401 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
402 then :
403 eval 'as_fn_arith ()
404 {
405 as_val=$(( $* ))
406 }'
407 else $as_nop
408 as_fn_arith ()
409 {
410 as_val=`expr "$@" || test $? -eq 1`
411 }
412 fi # as_fn_arith
413
414 # as_fn_nop
415 # ---------
416 # Do nothing but, unlike ":", preserve the value of $?.
417 as_fn_nop ()
418 {
419 return $?
420 }
421 as_nop=as_fn_nop
422 # as_fn_nop
423 # ---------
424 # Do nothing but, unlike ":", preserve the value of $?.
425 as_fn_nop ()
426 {
427 return $?
428 }
429 as_nop=as_fn_nop
430
431 # as_fn_error STATUS ERROR [LINENO LOG_FD]
432 # ----------------------------------------
433 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
434 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
435 # script with STATUS, using 1 if that was 0.
436 as_fn_error ()
437 {
438 as_status=$1; test $as_status -eq 0 && as_status=1
439 if test "$4"; then
440 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
441 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
442 fi
443 printf "%s\n" "$as_me: error: $2" >&2
444 as_fn_exit $as_status
445 } # as_fn_error
446
447 if expr a : '\(a\)' >/dev/null 2>&1 &&
448 test "X`expr 00001 : '.*\(...\)'`" = X001; then
449 as_expr=expr
450 else
451 as_expr=false
452 fi
453
454 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
455 as_basename=basename
456 else
457 as_basename=false
458 fi
459
460 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
461 as_dirname=dirname
462 else
463 as_dirname=false
464 fi
465
466 as_me=`$as_basename -- "$0" ||
467 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
468 X"$0" : 'X\(//\)$' \| \
469 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
470 printf "%s\n" X/"$0" |
471 sed '/^.*\/\([^/][^/]*\)\/*$/{
472 s//\1/
473 q
474 }
475 /^X\/\(\/\/\)$/{
476 s//\1/
477 q
478 }
479 /^X\/\(\/\).*/{
480 s//\1/
481 q
482 }
483 s/.*/./; q'`
484
485 # Avoid depending upon Character Ranges.
486 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
487 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
488 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
489 as_cr_digits='0123456789'
490 as_cr_alnum=$as_cr_Letters$as_cr_digits
491
492
493 as_lineno_1=$LINENO as_lineno_1a=$LINENO
494 as_lineno_2=$LINENO as_lineno_2a=$LINENO
495 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
496 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
497 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
498 sed -n '
499 p
500 /[$]LINENO/=
501 ' <$as_myself |
502 sed '
503 s/[$]LINENO.*/&-/
504 t lineno
505 b
506 :lineno
507 N
508 :loop
509 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
510 t loop
511 s/-\n.*//
512 ' >$as_me.lineno &&
513 chmod +x "$as_me.lineno" ||
514 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
515
516 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
517 # already done that, so ensure we don't try to do so again and fall
518 # in an infinite loop. This has already happened in practice.
519 _as_can_reexec=no; export _as_can_reexec
520 # Don't try to exec as it changes $[0], causing all sort of problems
521 # (the dirname of $[0] is not the place where we might find the
522 # original and so on. Autoconf is especially sensitive to this).
523 . "./$as_me.lineno"
524 # Exit status is that of the last command.
525 exit
526 }
527
528
529 # Determine whether it's possible to make 'echo' print without a newline.
530 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
531 # for compatibility with existing Makefiles.
532 ECHO_C= ECHO_N= ECHO_T=
533 case `echo -n x` in #(((((
534 -n*)
535 case `echo 'xy\c'` in
536 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
537 xy) ECHO_C='\c';;
538 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
539 ECHO_T=' ';;
540 esac;;
541 *)
542 ECHO_N='-n';;
543 esac
544
545 # For backward compatibility with old third-party macros, we provide
546 # the shell variables $as_echo and $as_echo_n. New code should use
547 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
548 as_echo='printf %s\n'
549 as_echo_n='printf %s'
550
551
552 rm -f conf$$ conf$$.exe conf$$.file
553 if test -d conf$$.dir; then
554 rm -f conf$$.dir/conf$$.file
555 else
556 rm -f conf$$.dir
557 mkdir conf$$.dir 2>/dev/null
558 fi
559 if (echo >conf$$.file) 2>/dev/null; then
560 if ln -s conf$$.file conf$$ 2>/dev/null; then
561 as_ln_s='ln -s'
562 # ... but there are two gotchas:
563 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
564 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
565 # In both cases, we have to default to `cp -pR'.
566 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
567 as_ln_s='cp -pR'
568 elif ln conf$$.file conf$$ 2>/dev/null; then
569 as_ln_s=ln
570 else
571 as_ln_s='cp -pR'
572 fi
573 else
574 as_ln_s='cp -pR'
575 fi
576 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
577 rmdir conf$$.dir 2>/dev/null
578
579 if mkdir -p . 2>/dev/null; then
580 as_mkdir_p='mkdir -p "$as_dir"'
581 else
582 test -d ./-p && rmdir ./-p
583 as_mkdir_p=false
584 fi
585
586 as_test_x='test -x'
587 as_executable_p=as_fn_executable_p
588
589 # Sed expression to map a string onto a valid CPP name.
590 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
591
592 # Sed expression to map a string onto a valid variable name.
593 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
594
595
596 test -n "$DJDIR" || exec 7<&0 </dev/null
597 exec 6>&1
598
599 # Name of the host.
600 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
601 # so uname gets run too.
602 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
603
604 #
605 # Initializations.
606 #
607 ac_default_prefix=/usr/local
608 ac_clean_files=
609 ac_config_libobj_dir=.
610 LIBOBJS=
611 cross_compiling=no
612 subdirs=
613 MFLAGS=
614 MAKEFLAGS=
615
616 # Identity of this package.
617 PACKAGE_NAME=''
618 PACKAGE_TARNAME=''
619 PACKAGE_VERSION=''
620 PACKAGE_STRING=''
621 PACKAGE_BUGREPORT=''
622 PACKAGE_URL=''
623
624 ac_unique_file="mewl.c"
625 # Factoring default headers for most tests.
626 ac_includes_default="\
627 #include <stddef.h>
628 #ifdef HAVE_STDIO_H
629 # include <stdio.h>
630 #endif
631 #ifdef HAVE_STDLIB_H
632 # include <stdlib.h>
633 #endif
634 #ifdef HAVE_STRING_H
635 # include <string.h>
636 #endif
637 #ifdef HAVE_INTTYPES_H
638 # include <inttypes.h>
639 #endif
640 #ifdef HAVE_STDINT_H
641 # include <stdint.h>
642 #endif
643 #ifdef HAVE_STRINGS_H
644 # include <strings.h>
645 #endif
646 #ifdef HAVE_SYS_TYPES_H
647 # include <sys/types.h>
648 #endif
649 #ifdef HAVE_SYS_STAT_H
650 # include <sys/stat.h>
651 #endif
652 #ifdef HAVE_UNISTD_H
653 # include <unistd.h>
654 #endif"
655
656 ac_header_c_list=
657 ac_subst_vars='LTLIBOBJS
658 LIBOBJS
659 EGREP
660 GREP
661 CPP
662 INSTALL_DATA
663 INSTALL_SCRIPT
664 INSTALL_PROGRAM
665 OBJEXT
666 EXEEXT
667 ac_ct_CC
668 CPPFLAGS
669 LDFLAGS
670 CFLAGS
671 CC
672 target_alias
673 host_alias
674 build_alias
675 LIBS
676 ECHO_T
677 ECHO_N
678 ECHO_C
679 DEFS
680 mandir
681 localedir
682 libdir
683 psdir
684 pdfdir
685 dvidir
686 htmldir
687 infodir
688 docdir
689 oldincludedir
690 includedir
691 runstatedir
692 localstatedir
693 sharedstatedir
694 sysconfdir
695 datadir
696 datarootdir
697 libexecdir
698 sbindir
699 bindir
700 program_transform_name
701 prefix
702 exec_prefix
703 PACKAGE_URL
704 PACKAGE_BUGREPORT
705 PACKAGE_STRING
706 PACKAGE_VERSION
707 PACKAGE_TARNAME
708 PACKAGE_NAME
709 PATH_SEPARATOR
710 SHELL'
711 ac_subst_files=''
712 ac_user_opts='
713 enable_option_checking
714 '
715 ac_precious_vars='build_alias
716 host_alias
717 target_alias
718 CC
719 CFLAGS
720 LDFLAGS
721 LIBS
722 CPPFLAGS
723 CPP'
724
725
726 # Initialize some variables set by options.
727 ac_init_help=
728 ac_init_version=false
729 ac_unrecognized_opts=
730 ac_unrecognized_sep=
731 # The variables have the same names as the options, with
732 # dashes changed to underlines.
733 cache_file=/dev/null
734 exec_prefix=NONE
735 no_create=
736 no_recursion=
737 prefix=NONE
738 program_prefix=NONE
739 program_suffix=NONE
740 program_transform_name=s,x,x,
741 silent=
742 site=
743 srcdir=
744 verbose=
745 x_includes=NONE
746 x_libraries=NONE
747
748 # Installation directory options.
749 # These are left unexpanded so users can "make install exec_prefix=/foo"
750 # and all the variables that are supposed to be based on exec_prefix
751 # by default will actually change.
752 # Use braces instead of parens because sh, perl, etc. also accept them.
753 # (The list follows the same order as the GNU Coding Standards.)
754 bindir='${exec_prefix}/bin'
755 sbindir='${exec_prefix}/sbin'
756 libexecdir='${exec_prefix}/libexec'
757 datarootdir='${prefix}/share'
758 datadir='${datarootdir}'
759 sysconfdir='${prefix}/etc'
760 sharedstatedir='${prefix}/com'
761 localstatedir='${prefix}/var'
762 runstatedir='${localstatedir}/run'
763 includedir='${prefix}/include'
764 oldincludedir='/usr/include'
765 docdir='${datarootdir}/doc/${PACKAGE}'
766 infodir='${datarootdir}/info'
767 htmldir='${docdir}'
768 dvidir='${docdir}'
769 pdfdir='${docdir}'
770 psdir='${docdir}'
771 libdir='${exec_prefix}/lib'
772 localedir='${datarootdir}/locale'
773 mandir='${datarootdir}/man'
774
775 ac_prev=
776 ac_dashdash=
777 for ac_option
778 do
779 # If the previous option needs an argument, assign it.
780 if test -n "$ac_prev"; then
781 eval $ac_prev=\$ac_option
782 ac_prev=
783 continue
784 fi
785
786 case $ac_option in
787 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
788 *=) ac_optarg= ;;
789 *) ac_optarg=yes ;;
790 esac
791
792 case $ac_dashdash$ac_option in
793 --)
794 ac_dashdash=yes ;;
795
796 -bindir | --bindir | --bindi | --bind | --bin | --bi)
797 ac_prev=bindir ;;
798 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
799 bindir=$ac_optarg ;;
800
801 -build | --build | --buil | --bui | --bu)
802 ac_prev=build_alias ;;
803 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
804 build_alias=$ac_optarg ;;
805
806 -cache-file | --cache-file | --cache-fil | --cache-fi \
807 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
808 ac_prev=cache_file ;;
809 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
810 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
811 cache_file=$ac_optarg ;;
812
813 --config-cache | -C)
814 cache_file=config.cache ;;
815
816 -datadir | --datadir | --datadi | --datad)
817 ac_prev=datadir ;;
818 -datadir=* | --datadir=* | --datadi=* | --datad=*)
819 datadir=$ac_optarg ;;
820
821 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
822 | --dataroo | --dataro | --datar)
823 ac_prev=datarootdir ;;
824 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
825 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
826 datarootdir=$ac_optarg ;;
827
828 -disable-* | --disable-*)
829 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
830 # Reject names that are not valid shell variable names.
831 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
832 as_fn_error $? "invalid feature name: \`$ac_useropt'"
833 ac_useropt_orig=$ac_useropt
834 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
835 case $ac_user_opts in
836 *"
837 "enable_$ac_useropt"
838 "*) ;;
839 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
840 ac_unrecognized_sep=', ';;
841 esac
842 eval enable_$ac_useropt=no ;;
843
844 -docdir | --docdir | --docdi | --doc | --do)
845 ac_prev=docdir ;;
846 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
847 docdir=$ac_optarg ;;
848
849 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
850 ac_prev=dvidir ;;
851 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
852 dvidir=$ac_optarg ;;
853
854 -enable-* | --enable-*)
855 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
856 # Reject names that are not valid shell variable names.
857 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
858 as_fn_error $? "invalid feature name: \`$ac_useropt'"
859 ac_useropt_orig=$ac_useropt
860 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
861 case $ac_user_opts in
862 *"
863 "enable_$ac_useropt"
864 "*) ;;
865 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
866 ac_unrecognized_sep=', ';;
867 esac
868 eval enable_$ac_useropt=\$ac_optarg ;;
869
870 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
871 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
872 | --exec | --exe | --ex)
873 ac_prev=exec_prefix ;;
874 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
875 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
876 | --exec=* | --exe=* | --ex=*)
877 exec_prefix=$ac_optarg ;;
878
879 -gas | --gas | --ga | --g)
880 # Obsolete; use --with-gas.
881 with_gas=yes ;;
882
883 -help | --help | --hel | --he | -h)
884 ac_init_help=long ;;
885 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
886 ac_init_help=recursive ;;
887 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
888 ac_init_help=short ;;
889
890 -host | --host | --hos | --ho)
891 ac_prev=host_alias ;;
892 -host=* | --host=* | --hos=* | --ho=*)
893 host_alias=$ac_optarg ;;
894
895 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
896 ac_prev=htmldir ;;
897 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
898 | --ht=*)
899 htmldir=$ac_optarg ;;
900
901 -includedir | --includedir | --includedi | --included | --include \
902 | --includ | --inclu | --incl | --inc)
903 ac_prev=includedir ;;
904 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
905 | --includ=* | --inclu=* | --incl=* | --inc=*)
906 includedir=$ac_optarg ;;
907
908 -infodir | --infodir | --infodi | --infod | --info | --inf)
909 ac_prev=infodir ;;
910 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
911 infodir=$ac_optarg ;;
912
913 -libdir | --libdir | --libdi | --libd)
914 ac_prev=libdir ;;
915 -libdir=* | --libdir=* | --libdi=* | --libd=*)
916 libdir=$ac_optarg ;;
917
918 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
919 | --libexe | --libex | --libe)
920 ac_prev=libexecdir ;;
921 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
922 | --libexe=* | --libex=* | --libe=*)
923 libexecdir=$ac_optarg ;;
924
925 -localedir | --localedir | --localedi | --localed | --locale)
926 ac_prev=localedir ;;
927 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
928 localedir=$ac_optarg ;;
929
930 -localstatedir | --localstatedir | --localstatedi | --localstated \
931 | --localstate | --localstat | --localsta | --localst | --locals)
932 ac_prev=localstatedir ;;
933 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
934 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
935 localstatedir=$ac_optarg ;;
936
937 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
938 ac_prev=mandir ;;
939 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
940 mandir=$ac_optarg ;;
941
942 -nfp | --nfp | --nf)
943 # Obsolete; use --without-fp.
944 with_fp=no ;;
945
946 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
947 | --no-cr | --no-c | -n)
948 no_create=yes ;;
949
950 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
951 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
952 no_recursion=yes ;;
953
954 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
955 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
956 | --oldin | --oldi | --old | --ol | --o)
957 ac_prev=oldincludedir ;;
958 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
959 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
960 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
961 oldincludedir=$ac_optarg ;;
962
963 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
964 ac_prev=prefix ;;
965 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
966 prefix=$ac_optarg ;;
967
968 -program-prefix | --program-prefix | --program-prefi | --program-pref \
969 | --program-pre | --program-pr | --program-p)
970 ac_prev=program_prefix ;;
971 -program-prefix=* | --program-prefix=* | --program-prefi=* \
972 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
973 program_prefix=$ac_optarg ;;
974
975 -program-suffix | --program-suffix | --program-suffi | --program-suff \
976 | --program-suf | --program-su | --program-s)
977 ac_prev=program_suffix ;;
978 -program-suffix=* | --program-suffix=* | --program-suffi=* \
979 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
980 program_suffix=$ac_optarg ;;
981
982 -program-transform-name | --program-transform-name \
983 | --program-transform-nam | --program-transform-na \
984 | --program-transform-n | --program-transform- \
985 | --program-transform | --program-transfor \
986 | --program-transfo | --program-transf \
987 | --program-trans | --program-tran \
988 | --progr-tra | --program-tr | --program-t)
989 ac_prev=program_transform_name ;;
990 -program-transform-name=* | --program-transform-name=* \
991 | --program-transform-nam=* | --program-transform-na=* \
992 | --program-transform-n=* | --program-transform-=* \
993 | --program-transform=* | --program-transfor=* \
994 | --program-transfo=* | --program-transf=* \
995 | --program-trans=* | --program-tran=* \
996 | --progr-tra=* | --program-tr=* | --program-t=*)
997 program_transform_name=$ac_optarg ;;
998
999 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1000 ac_prev=pdfdir ;;
1001 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1002 pdfdir=$ac_optarg ;;
1003
1004 -psdir | --psdir | --psdi | --psd | --ps)
1005 ac_prev=psdir ;;
1006 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1007 psdir=$ac_optarg ;;
1008
1009 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1010 | -silent | --silent | --silen | --sile | --sil)
1011 silent=yes ;;
1012
1013 -runstatedir | --runstatedir | --runstatedi | --runstated \
1014 | --runstate | --runstat | --runsta | --runst | --runs \
1015 | --run | --ru | --r)
1016 ac_prev=runstatedir ;;
1017 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1018 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1019 | --run=* | --ru=* | --r=*)
1020 runstatedir=$ac_optarg ;;
1021
1022 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1023 ac_prev=sbindir ;;
1024 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1025 | --sbi=* | --sb=*)
1026 sbindir=$ac_optarg ;;
1027
1028 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1029 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1030 | --sharedst | --shareds | --shared | --share | --shar \
1031 | --sha | --sh)
1032 ac_prev=sharedstatedir ;;
1033 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1034 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1035 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1036 | --sha=* | --sh=*)
1037 sharedstatedir=$ac_optarg ;;
1038
1039 -site | --site | --sit)
1040 ac_prev=site ;;
1041 -site=* | --site=* | --sit=*)
1042 site=$ac_optarg ;;
1043
1044 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1045 ac_prev=srcdir ;;
1046 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1047 srcdir=$ac_optarg ;;
1048
1049 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1050 | --syscon | --sysco | --sysc | --sys | --sy)
1051 ac_prev=sysconfdir ;;
1052 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1053 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1054 sysconfdir=$ac_optarg ;;
1055
1056 -target | --target | --targe | --targ | --tar | --ta | --t)
1057 ac_prev=target_alias ;;
1058 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1059 target_alias=$ac_optarg ;;
1060
1061 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1062 verbose=yes ;;
1063
1064 -version | --version | --versio | --versi | --vers | -V)
1065 ac_init_version=: ;;
1066
1067 -with-* | --with-*)
1068 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1069 # Reject names that are not valid shell variable names.
1070 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1071 as_fn_error $? "invalid package name: \`$ac_useropt'"
1072 ac_useropt_orig=$ac_useropt
1073 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1074 case $ac_user_opts in
1075 *"
1076 "with_$ac_useropt"
1077 "*) ;;
1078 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1079 ac_unrecognized_sep=', ';;
1080 esac
1081 eval with_$ac_useropt=\$ac_optarg ;;
1082
1083 -without-* | --without-*)
1084 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1085 # Reject names that are not valid shell variable names.
1086 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1087 as_fn_error $? "invalid package name: \`$ac_useropt'"
1088 ac_useropt_orig=$ac_useropt
1089 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1090 case $ac_user_opts in
1091 *"
1092 "with_$ac_useropt"
1093 "*) ;;
1094 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1095 ac_unrecognized_sep=', ';;
1096 esac
1097 eval with_$ac_useropt=no ;;
1098
1099 --x)
1100 # Obsolete; use --with-x.
1101 with_x=yes ;;
1102
1103 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1104 | --x-incl | --x-inc | --x-in | --x-i)
1105 ac_prev=x_includes ;;
1106 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1107 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1108 x_includes=$ac_optarg ;;
1109
1110 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1111 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1112 ac_prev=x_libraries ;;
1113 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1114 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1115 x_libraries=$ac_optarg ;;
1116
1117 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1118 Try \`$0 --help' for more information"
1119 ;;
1120
1121 *=*)
1122 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1123 # Reject names that are not valid shell variable names.
1124 case $ac_envvar in #(
1125 '' | [0-9]* | *[!_$as_cr_alnum]* )
1126 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1127 esac
1128 eval $ac_envvar=\$ac_optarg
1129 export $ac_envvar ;;
1130
1131 *)
1132 # FIXME: should be removed in autoconf 3.0.
1133 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1134 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1135 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1136 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1137 ;;
1138
1139 esac
1140 done
1141
1142 if test -n "$ac_prev"; then
1143 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1144 as_fn_error $? "missing argument to $ac_option"
1145 fi
1146
1147 if test -n "$ac_unrecognized_opts"; then
1148 case $enable_option_checking in
1149 no) ;;
1150 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1151 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1152 esac
1153 fi
1154
1155 # Check all directory arguments for consistency.
1156 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1157 datadir sysconfdir sharedstatedir localstatedir includedir \
1158 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1159 libdir localedir mandir runstatedir
1160 do
1161 eval ac_val=\$$ac_var
1162 # Remove trailing slashes.
1163 case $ac_val in
1164 */ )
1165 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1166 eval $ac_var=\$ac_val;;
1167 esac
1168 # Be sure to have absolute directory names.
1169 case $ac_val in
1170 [\\/$]* | ?:[\\/]* ) continue;;
1171 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1172 esac
1173 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1174 done
1175
1176 # There might be people who depend on the old broken behavior: `$host'
1177 # used to hold the argument of --host etc.
1178 # FIXME: To remove some day.
1179 build=$build_alias
1180 host=$host_alias
1181 target=$target_alias
1182
1183 # FIXME: To remove some day.
1184 if test "x$host_alias" != x; then
1185 if test "x$build_alias" = x; then
1186 cross_compiling=maybe
1187 elif test "x$build_alias" != "x$host_alias"; then
1188 cross_compiling=yes
1189 fi
1190 fi
1191
1192 ac_tool_prefix=
1193 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1194
1195 test "$silent" = yes && exec 6>/dev/null
1196
1197
1198 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1199 ac_ls_di=`ls -di .` &&
1200 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1201 as_fn_error $? "working directory cannot be determined"
1202 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1203 as_fn_error $? "pwd does not report name of working directory"
1204
1205
1206 # Find the source files, if location was not specified.
1207 if test -z "$srcdir"; then
1208 ac_srcdir_defaulted=yes
1209 # Try the directory containing this script, then the parent directory.
1210 ac_confdir=`$as_dirname -- "$as_myself" ||
1211 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1212 X"$as_myself" : 'X\(//\)[^/]' \| \
1213 X"$as_myself" : 'X\(//\)$' \| \
1214 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1215 printf "%s\n" X"$as_myself" |
1216 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1217 s//\1/
1218 q
1219 }
1220 /^X\(\/\/\)[^/].*/{
1221 s//\1/
1222 q
1223 }
1224 /^X\(\/\/\)$/{
1225 s//\1/
1226 q
1227 }
1228 /^X\(\/\).*/{
1229 s//\1/
1230 q
1231 }
1232 s/.*/./; q'`
1233 srcdir=$ac_confdir
1234 if test ! -r "$srcdir/$ac_unique_file"; then
1235 srcdir=..
1236 fi
1237 else
1238 ac_srcdir_defaulted=no
1239 fi
1240 if test ! -r "$srcdir/$ac_unique_file"; then
1241 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1242 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1243 fi
1244 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1245 ac_abs_confdir=`(
1246 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1247 pwd)`
1248 # When building in place, set srcdir=.
1249 if test "$ac_abs_confdir" = "$ac_pwd"; then
1250 srcdir=.
1251 fi
1252 # Remove unnecessary trailing slashes from srcdir.
1253 # Double slashes in file names in object file debugging info
1254 # mess up M-x gdb in Emacs.
1255 case $srcdir in
1256 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1257 esac
1258 for ac_var in $ac_precious_vars; do
1259 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1260 eval ac_env_${ac_var}_value=\$${ac_var}
1261 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1262 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1263 done
1264
1265 #
1266 # Report the --help message.
1267 #
1268 if test "$ac_init_help" = "long"; then
1269 # Omit some internal or obsolete options to make the list less imposing.
1270 # This message is too long to be a string in the A/UX 3.1 sh.
1271 cat <<_ACEOF
1272 \`configure' configures this package to adapt to many kinds of systems.
1273
1274 Usage: $0 [OPTION]... [VAR=VALUE]...
1275
1276 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1277 VAR=VALUE. See below for descriptions of some of the useful variables.
1278
1279 Defaults for the options are specified in brackets.
1280
1281 Configuration:
1282 -h, --help display this help and exit
1283 --help=short display options specific to this package
1284 --help=recursive display the short help of all the included packages
1285 -V, --version display version information and exit
1286 -q, --quiet, --silent do not print \`checking ...' messages
1287 --cache-file=FILE cache test results in FILE [disabled]
1288 -C, --config-cache alias for \`--cache-file=config.cache'
1289 -n, --no-create do not create output files
1290 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1291
1292 Installation directories:
1293 --prefix=PREFIX install architecture-independent files in PREFIX
1294 [$ac_default_prefix]
1295 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1296 [PREFIX]
1297
1298 By default, \`make install' will install all the files in
1299 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1300 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1301 for instance \`--prefix=\$HOME'.
1302
1303 For better control, use the options below.
1304
1305 Fine tuning of the installation directories:
1306 --bindir=DIR user executables [EPREFIX/bin]
1307 --sbindir=DIR system admin executables [EPREFIX/sbin]
1308 --libexecdir=DIR program executables [EPREFIX/libexec]
1309 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1310 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1311 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1312 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1313 --libdir=DIR object code libraries [EPREFIX/lib]
1314 --includedir=DIR C header files [PREFIX/include]
1315 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1316 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1317 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1318 --infodir=DIR info documentation [DATAROOTDIR/info]
1319 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1320 --mandir=DIR man documentation [DATAROOTDIR/man]
1321 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1322 --htmldir=DIR html documentation [DOCDIR]
1323 --dvidir=DIR dvi documentation [DOCDIR]
1324 --pdfdir=DIR pdf documentation [DOCDIR]
1325 --psdir=DIR ps documentation [DOCDIR]
1326 _ACEOF
1327
1328 cat <<\_ACEOF
1329 _ACEOF
1330 fi
1331
1332 if test -n "$ac_init_help"; then
1333
1334 cat <<\_ACEOF
1335
1336 Some influential environment variables:
1337 CC C compiler command
1338 CFLAGS C compiler flags
1339 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1340 nonstandard directory <lib dir>
1341 LIBS libraries to pass to the linker, e.g. -l<library>
1342 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1343 you have headers in a nonstandard directory <include dir>
1344 CPP C preprocessor
1345
1346 Use these variables to override the choices made by `configure' or to help
1347 it to find libraries and programs with nonstandard names/locations.
1348
1349 Report bugs to the package provider.
1350 _ACEOF
1351 ac_status=$?
1352 fi
1353
1354 if test "$ac_init_help" = "recursive"; then
1355 # If there are subdirs, report their specific --help.
1356 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1357 test -d "$ac_dir" ||
1358 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1359 continue
1360 ac_builddir=.
1361
1362 case "$ac_dir" in
1363 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1364 *)
1365 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1366 # A ".." for each directory in $ac_dir_suffix.
1367 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1368 case $ac_top_builddir_sub in
1369 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1370 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1371 esac ;;
1372 esac
1373 ac_abs_top_builddir=$ac_pwd
1374 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1375 # for backward compatibility:
1376 ac_top_builddir=$ac_top_build_prefix
1377
1378 case $srcdir in
1379 .) # We are building in place.
1380 ac_srcdir=.
1381 ac_top_srcdir=$ac_top_builddir_sub
1382 ac_abs_top_srcdir=$ac_pwd ;;
1383 [\\/]* | ?:[\\/]* ) # Absolute name.
1384 ac_srcdir=$srcdir$ac_dir_suffix;
1385 ac_top_srcdir=$srcdir
1386 ac_abs_top_srcdir=$srcdir ;;
1387 *) # Relative name.
1388 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1389 ac_top_srcdir=$ac_top_build_prefix$srcdir
1390 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1391 esac
1392 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1393
1394 cd "$ac_dir" || { ac_status=$?; continue; }
1395 # Check for configure.gnu first; this name is used for a wrapper for
1396 # Metaconfig's "Configure" on case-insensitive file systems.
1397 if test -f "$ac_srcdir/configure.gnu"; then
1398 echo &&
1399 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1400 elif test -f "$ac_srcdir/configure"; then
1401 echo &&
1402 $SHELL "$ac_srcdir/configure" --help=recursive
1403 else
1404 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1405 fi || ac_status=$?
1406 cd "$ac_pwd" || { ac_status=$?; break; }
1407 done
1408 fi
1409
1410 test -n "$ac_init_help" && exit $ac_status
1411 if $ac_init_version; then
1412 cat <<\_ACEOF
1413 configure
1414 generated by GNU Autoconf 2.71
1415
1416 Copyright (C) 2021 Free Software Foundation, Inc.
1417 This configure script is free software; the Free Software Foundation
1418 gives unlimited permission to copy, distribute and modify it.
1419 _ACEOF
1420 exit
1421 fi
1422
1423 ## ------------------------ ##
1424 ## Autoconf initialization. ##
1425 ## ------------------------ ##
1426
1427 # ac_fn_c_try_compile LINENO
1428 # --------------------------
1429 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1430 ac_fn_c_try_compile ()
1431 {
1432 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1433 rm -f conftest.$ac_objext conftest.beam
1434 if { { ac_try="$ac_compile"
1435 case "(($ac_try" in
1436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1437 *) ac_try_echo=$ac_try;;
1438 esac
1439 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1440 printf "%s\n" "$ac_try_echo"; } >&5
1441 (eval "$ac_compile") 2>conftest.err
1442 ac_status=$?
1443 if test -s conftest.err; then
1444 grep -v '^ *+' conftest.err >conftest.er1
1445 cat conftest.er1 >&5
1446 mv -f conftest.er1 conftest.err
1447 fi
1448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1449 test $ac_status = 0; } && {
1450 test -z "$ac_c_werror_flag" ||
1451 test ! -s conftest.err
1452 } && test -s conftest.$ac_objext
1453 then :
1454 ac_retval=0
1455 else $as_nop
1456 printf "%s\n" "$as_me: failed program was:" >&5
1457 sed 's/^/| /' conftest.$ac_ext >&5
1458
1459 ac_retval=1
1460 fi
1461 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1462 as_fn_set_status $ac_retval
1463
1464 } # ac_fn_c_try_compile
1465
1466 # ac_fn_c_try_cpp LINENO
1467 # ----------------------
1468 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1469 ac_fn_c_try_cpp ()
1470 {
1471 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1472 if { { ac_try="$ac_cpp conftest.$ac_ext"
1473 case "(($ac_try" in
1474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1475 *) ac_try_echo=$ac_try;;
1476 esac
1477 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1478 printf "%s\n" "$ac_try_echo"; } >&5
1479 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1480 ac_status=$?
1481 if test -s conftest.err; then
1482 grep -v '^ *+' conftest.err >conftest.er1
1483 cat conftest.er1 >&5
1484 mv -f conftest.er1 conftest.err
1485 fi
1486 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1487 test $ac_status = 0; } > conftest.i && {
1488 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1489 test ! -s conftest.err
1490 }
1491 then :
1492 ac_retval=0
1493 else $as_nop
1494 printf "%s\n" "$as_me: failed program was:" >&5
1495 sed 's/^/| /' conftest.$ac_ext >&5
1496
1497 ac_retval=1
1498 fi
1499 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1500 as_fn_set_status $ac_retval
1501
1502 } # ac_fn_c_try_cpp
1503
1504 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
1505 # -------------------------------------------
1506 # Tests whether TYPE exists after having included INCLUDES, setting cache
1507 # variable VAR accordingly.
1508 ac_fn_c_check_type ()
1509 {
1510 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1512 printf %s "checking for $2... " >&6; }
1513 if eval test \${$3+y}
1514 then :
1515 printf %s "(cached) " >&6
1516 else $as_nop
1517 eval "$3=no"
1518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1519 /* end confdefs.h. */
1520 $4
1521 int
1522 main (void)
1523 {
1524 if (sizeof ($2))
1525 return 0;
1526 ;
1527 return 0;
1528 }
1529 _ACEOF
1530 if ac_fn_c_try_compile "$LINENO"
1531 then :
1532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1533 /* end confdefs.h. */
1534 $4
1535 int
1536 main (void)
1537 {
1538 if (sizeof (($2)))
1539 return 0;
1540 ;
1541 return 0;
1542 }
1543 _ACEOF
1544 if ac_fn_c_try_compile "$LINENO"
1545 then :
1546
1547 else $as_nop
1548 eval "$3=yes"
1549 fi
1550 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1551 fi
1552 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1553 fi
1554 eval ac_res=\$$3
1555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1556 printf "%s\n" "$ac_res" >&6; }
1557 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1558
1559 } # ac_fn_c_check_type
1560
1561 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1562 # -------------------------------------------------------
1563 # Tests whether HEADER exists and can be compiled using the include files in
1564 # INCLUDES, setting the cache variable VAR accordingly.
1565 ac_fn_c_check_header_compile ()
1566 {
1567 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1569 printf %s "checking for $2... " >&6; }
1570 if eval test \${$3+y}
1571 then :
1572 printf %s "(cached) " >&6
1573 else $as_nop
1574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1575 /* end confdefs.h. */
1576 $4
1577 #include <$2>
1578 _ACEOF
1579 if ac_fn_c_try_compile "$LINENO"
1580 then :
1581 eval "$3=yes"
1582 else $as_nop
1583 eval "$3=no"
1584 fi
1585 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1586 fi
1587 eval ac_res=\$$3
1588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1589 printf "%s\n" "$ac_res" >&6; }
1590 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1591
1592 } # ac_fn_c_check_header_compile
1593
1594 # ac_fn_c_try_link LINENO
1595 # -----------------------
1596 # Try to link conftest.$ac_ext, and return whether this succeeded.
1597 ac_fn_c_try_link ()
1598 {
1599 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1600 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1601 if { { ac_try="$ac_link"
1602 case "(($ac_try" in
1603 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1604 *) ac_try_echo=$ac_try;;
1605 esac
1606 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1607 printf "%s\n" "$ac_try_echo"; } >&5
1608 (eval "$ac_link") 2>conftest.err
1609 ac_status=$?
1610 if test -s conftest.err; then
1611 grep -v '^ *+' conftest.err >conftest.er1
1612 cat conftest.er1 >&5
1613 mv -f conftest.er1 conftest.err
1614 fi
1615 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1616 test $ac_status = 0; } && {
1617 test -z "$ac_c_werror_flag" ||
1618 test ! -s conftest.err
1619 } && test -s conftest$ac_exeext && {
1620 test "$cross_compiling" = yes ||
1621 test -x conftest$ac_exeext
1622 }
1623 then :
1624 ac_retval=0
1625 else $as_nop
1626 printf "%s\n" "$as_me: failed program was:" >&5
1627 sed 's/^/| /' conftest.$ac_ext >&5
1628
1629 ac_retval=1
1630 fi
1631 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1632 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1633 # interfere with the next link command; also delete a directory that is
1634 # left behind by Apple's compiler. We do this before executing the actions.
1635 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1636 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1637 as_fn_set_status $ac_retval
1638
1639 } # ac_fn_c_try_link
1640
1641 # ac_fn_c_check_func LINENO FUNC VAR
1642 # ----------------------------------
1643 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1644 ac_fn_c_check_func ()
1645 {
1646 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1648 printf %s "checking for $2... " >&6; }
1649 if eval test \${$3+y}
1650 then :
1651 printf %s "(cached) " >&6
1652 else $as_nop
1653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1654 /* end confdefs.h. */
1655 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1656 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1657 #define $2 innocuous_$2
1658
1659 /* System header to define __stub macros and hopefully few prototypes,
1660 which can conflict with char $2 (); below. */
1661
1662 #include <limits.h>
1663 #undef $2
1664
1665 /* Override any GCC internal prototype to avoid an error.
1666 Use char because int might match the return type of a GCC
1667 builtin and then its argument prototype would still apply. */
1668 #ifdef __cplusplus
1669 extern "C"
1670 #endif
1671 char $2 ();
1672 /* The GNU C library defines this for functions which it implements
1673 to always fail with ENOSYS. Some functions are actually named
1674 something starting with __ and the normal name is an alias. */
1675 #if defined __stub_$2 || defined __stub___$2
1676 choke me
1677 #endif
1678
1679 int
1680 main (void)
1681 {
1682 return $2 ();
1683 ;
1684 return 0;
1685 }
1686 _ACEOF
1687 if ac_fn_c_try_link "$LINENO"
1688 then :
1689 eval "$3=yes"
1690 else $as_nop
1691 eval "$3=no"
1692 fi
1693 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1694 conftest$ac_exeext conftest.$ac_ext
1695 fi
1696 eval ac_res=\$$3
1697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1698 printf "%s\n" "$ac_res" >&6; }
1699 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1700
1701 } # ac_fn_c_check_func
1702 ac_configure_args_raw=
1703 for ac_arg
1704 do
1705 case $ac_arg in
1706 *\'*)
1707 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1708 esac
1709 as_fn_append ac_configure_args_raw " '$ac_arg'"
1710 done
1711
1712 case $ac_configure_args_raw in
1713 *$as_nl*)
1714 ac_safe_unquote= ;;
1715 *)
1716 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1717 ac_unsafe_a="$ac_unsafe_z#~"
1718 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1719 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1720 esac
1721
1722 cat >config.log <<_ACEOF
1723 This file contains any messages produced by compilers while
1724 running configure, to aid debugging if configure makes a mistake.
1725
1726 It was created by $as_me, which was
1727 generated by GNU Autoconf 2.71. Invocation command line was
1728
1729 $ $0$ac_configure_args_raw
1730
1731 _ACEOF
1732 exec 5>>config.log
1733 {
1734 cat <<_ASUNAME
1735 ## --------- ##
1736 ## Platform. ##
1737 ## --------- ##
1738
1739 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1740 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1741 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1742 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1743 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1744
1745 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1746 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1747
1748 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1749 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1750 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1751 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1752 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1753 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1754 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1755
1756 _ASUNAME
1757
1758 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1759 for as_dir in $PATH
1760 do
1761 IFS=$as_save_IFS
1762 case $as_dir in #(((
1763 '') as_dir=./ ;;
1764 */) ;;
1765 *) as_dir=$as_dir/ ;;
1766 esac
1767 printf "%s\n" "PATH: $as_dir"
1768 done
1769 IFS=$as_save_IFS
1770
1771 } >&5
1772
1773 cat >&5 <<_ACEOF
1774
1775
1776 ## ----------- ##
1777 ## Core tests. ##
1778 ## ----------- ##
1779
1780 _ACEOF
1781
1782
1783 # Keep a trace of the command line.
1784 # Strip out --no-create and --no-recursion so they do not pile up.
1785 # Strip out --silent because we don't want to record it for future runs.
1786 # Also quote any args containing shell meta-characters.
1787 # Make two passes to allow for proper duplicate-argument suppression.
1788 ac_configure_args=
1789 ac_configure_args0=
1790 ac_configure_args1=
1791 ac_must_keep_next=false
1792 for ac_pass in 1 2
1793 do
1794 for ac_arg
1795 do
1796 case $ac_arg in
1797 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1798 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1799 | -silent | --silent | --silen | --sile | --sil)
1800 continue ;;
1801 *\'*)
1802 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1803 esac
1804 case $ac_pass in
1805 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1806 2)
1807 as_fn_append ac_configure_args1 " '$ac_arg'"
1808 if test $ac_must_keep_next = true; then
1809 ac_must_keep_next=false # Got value, back to normal.
1810 else
1811 case $ac_arg in
1812 *=* | --config-cache | -C | -disable-* | --disable-* \
1813 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1814 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1815 | -with-* | --with-* | -without-* | --without-* | --x)
1816 case "$ac_configure_args0 " in
1817 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1818 esac
1819 ;;
1820 -* ) ac_must_keep_next=true ;;
1821 esac
1822 fi
1823 as_fn_append ac_configure_args " '$ac_arg'"
1824 ;;
1825 esac
1826 done
1827 done
1828 { ac_configure_args0=; unset ac_configure_args0;}
1829 { ac_configure_args1=; unset ac_configure_args1;}
1830
1831 # When interrupted or exit'd, cleanup temporary files, and complete
1832 # config.log. We remove comments because anyway the quotes in there
1833 # would cause problems or look ugly.
1834 # WARNING: Use '\'' to represent an apostrophe within the trap.
1835 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1836 trap 'exit_status=$?
1837 # Sanitize IFS.
1838 IFS=" "" $as_nl"
1839 # Save into config.log some information that might help in debugging.
1840 {
1841 echo
1842
1843 printf "%s\n" "## ---------------- ##
1844 ## Cache variables. ##
1845 ## ---------------- ##"
1846 echo
1847 # The following way of writing the cache mishandles newlines in values,
1848 (
1849 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1850 eval ac_val=\$$ac_var
1851 case $ac_val in #(
1852 *${as_nl}*)
1853 case $ac_var in #(
1854 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1855 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1856 esac
1857 case $ac_var in #(
1858 _ | IFS | as_nl) ;; #(
1859 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1860 *) { eval $ac_var=; unset $ac_var;} ;;
1861 esac ;;
1862 esac
1863 done
1864 (set) 2>&1 |
1865 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1866 *${as_nl}ac_space=\ *)
1867 sed -n \
1868 "s/'\''/'\''\\\\'\'''\''/g;
1869 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1870 ;; #(
1871 *)
1872 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1873 ;;
1874 esac |
1875 sort
1876 )
1877 echo
1878
1879 printf "%s\n" "## ----------------- ##
1880 ## Output variables. ##
1881 ## ----------------- ##"
1882 echo
1883 for ac_var in $ac_subst_vars
1884 do
1885 eval ac_val=\$$ac_var
1886 case $ac_val in
1887 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1888 esac
1889 printf "%s\n" "$ac_var='\''$ac_val'\''"
1890 done | sort
1891 echo
1892
1893 if test -n "$ac_subst_files"; then
1894 printf "%s\n" "## ------------------- ##
1895 ## File substitutions. ##
1896 ## ------------------- ##"
1897 echo
1898 for ac_var in $ac_subst_files
1899 do
1900 eval ac_val=\$$ac_var
1901 case $ac_val in
1902 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1903 esac
1904 printf "%s\n" "$ac_var='\''$ac_val'\''"
1905 done | sort
1906 echo
1907 fi
1908
1909 if test -s confdefs.h; then
1910 printf "%s\n" "## ----------- ##
1911 ## confdefs.h. ##
1912 ## ----------- ##"
1913 echo
1914 cat confdefs.h
1915 echo
1916 fi
1917 test "$ac_signal" != 0 &&
1918 printf "%s\n" "$as_me: caught signal $ac_signal"
1919 printf "%s\n" "$as_me: exit $exit_status"
1920 } >&5
1921 rm -f core *.core core.conftest.* &&
1922 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1923 exit $exit_status
1924 ' 0
1925 for ac_signal in 1 2 13 15; do
1926 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1927 done
1928 ac_signal=0
1929
1930 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1931 rm -f -r conftest* confdefs.h
1932
1933 printf "%s\n" "/* confdefs.h */" > confdefs.h
1934
1935 # Predefined preprocessor variables.
1936
1937 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1938
1939 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1940
1941 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1942
1943 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1944
1945 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1946
1947 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1948
1949
1950 # Let the site file select an alternate cache file if it wants to.
1951 # Prefer an explicitly selected file to automatically selected ones.
1952 if test -n "$CONFIG_SITE"; then
1953 ac_site_files="$CONFIG_SITE"
1954 elif test "x$prefix" != xNONE; then
1955 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1956 else
1957 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1958 fi
1959
1960 for ac_site_file in $ac_site_files
1961 do
1962 case $ac_site_file in #(
1963 */*) :
1964 ;; #(
1965 *) :
1966 ac_site_file=./$ac_site_file ;;
1967 esac
1968 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1970 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1971 sed 's/^/| /' "$ac_site_file" >&5
1972 . "$ac_site_file" \
1973 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1974 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1975 as_fn_error $? "failed to load site script $ac_site_file
1976 See \`config.log' for more details" "$LINENO" 5; }
1977 fi
1978 done
1979
1980 if test -r "$cache_file"; then
1981 # Some versions of bash will fail to source /dev/null (special files
1982 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1983 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1984 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1985 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1986 case $cache_file in
1987 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1988 *) . "./$cache_file";;
1989 esac
1990 fi
1991 else
1992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1993 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1994 >$cache_file
1995 fi
1996
1997 # Test code for whether the C compiler supports C89 (global declarations)
1998 ac_c_conftest_c89_globals='
1999 /* Does the compiler advertise C89 conformance?
2000 Do not test the value of __STDC__, because some compilers set it to 0
2001 while being otherwise adequately conformant. */
2002 #if !defined __STDC__
2003 # error "Compiler does not advertise C89 conformance"
2004 #endif
2005
2006 #include <stddef.h>
2007 #include <stdarg.h>
2008 struct stat;
2009 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
2010 struct buf { int x; };
2011 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
2012 static char *e (p, i)
2013 char **p;
2014 int i;
2015 {
2016 return p[i];
2017 }
2018 static char *f (char * (*g) (char **, int), char **p, ...)
2019 {
2020 char *s;
2021 va_list v;
2022 va_start (v,p);
2023 s = g (p, va_arg (v,int));
2024 va_end (v);
2025 return s;
2026 }
2027
2028 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2029 function prototypes and stuff, but not \xHH hex character constants.
2030 These do not provoke an error unfortunately, instead are silently treated
2031 as an "x". The following induces an error, until -std is added to get
2032 proper ANSI mode. Curiously \x00 != x always comes out true, for an
2033 array size at least. It is necessary to write \x00 == 0 to get something
2034 that is true only with -std. */
2035 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
2036
2037 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2038 inside strings and character constants. */
2039 #define FOO(x) '\''x'\''
2040 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
2041
2042 int test (int i, double x);
2043 struct s1 {int (*f) (int a);};
2044 struct s2 {int (*f) (double a);};
2045 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
2046 int, int);'
2047
2048 # Test code for whether the C compiler supports C89 (body of main).
2049 ac_c_conftest_c89_main='
2050 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
2051 '
2052
2053 # Test code for whether the C compiler supports C99 (global declarations)
2054 ac_c_conftest_c99_globals='
2055 // Does the compiler advertise C99 conformance?
2056 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
2057 # error "Compiler does not advertise C99 conformance"
2058 #endif
2059
2060 #include <stdbool.h>
2061 extern int puts (const char *);
2062 extern int printf (const char *, ...);
2063 extern int dprintf (int, const char *, ...);
2064 extern void *malloc (size_t);
2065
2066 // Check varargs macros. These examples are taken from C99 6.10.3.5.
2067 // dprintf is used instead of fprintf to avoid needing to declare
2068 // FILE and stderr.
2069 #define debug(...) dprintf (2, __VA_ARGS__)
2070 #define showlist(...) puts (#__VA_ARGS__)
2071 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
2072 static void
2073 test_varargs_macros (void)
2074 {
2075 int x = 1234;
2076 int y = 5678;
2077 debug ("Flag");
2078 debug ("X = %d\n", x);
2079 showlist (The first, second, and third items.);
2080 report (x>y, "x is %d but y is %d", x, y);
2081 }
2082
2083 // Check long long types.
2084 #define BIG64 18446744073709551615ull
2085 #define BIG32 4294967295ul
2086 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2087 #if !BIG_OK
2088 #error "your preprocessor is broken"
2089 #endif
2090 #if BIG_OK
2091 #else
2092 #error "your preprocessor is broken"
2093 #endif
2094 static long long int bignum = -9223372036854775807LL;
2095 static unsigned long long int ubignum = BIG64;
2096
2097 struct incomplete_array
2098 {
2099 int datasize;
2100 double data[];
2101 };
2102
2103 struct named_init {
2104 int number;
2105 const wchar_t *name;
2106 double average;
2107 };
2108
2109 typedef const char *ccp;
2110
2111 static inline int
2112 test_restrict (ccp restrict text)
2113 {
2114 // See if C++-style comments work.
2115 // Iterate through items via the restricted pointer.
2116 // Also check for declarations in for loops.
2117 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2118 continue;
2119 return 0;
2120 }
2121
2122 // Check varargs and va_copy.
2123 static bool
2124 test_varargs (const char *format, ...)
2125 {
2126 va_list args;
2127 va_start (args, format);
2128 va_list args_copy;
2129 va_copy (args_copy, args);
2130
2131 const char *str = "";
2132 int number = 0;
2133 float fnumber = 0;
2134
2135 while (*format)
2136 {
2137 switch (*format++)
2138 {
2139 case '\''s'\'': // string
2140 str = va_arg (args_copy, const char *);
2141 break;
2142 case '\''d'\'': // int
2143 number = va_arg (args_copy, int);
2144 break;
2145 case '\''f'\'': // float
2146 fnumber = va_arg (args_copy, double);
2147 break;
2148 default:
2149 break;
2150 }
2151 }
2152 va_end (args_copy);
2153 va_end (args);
2154
2155 return *str && number && fnumber;
2156 }
2157 '
2158
2159 # Test code for whether the C compiler supports C99 (body of main).
2160 ac_c_conftest_c99_main='
2161 // Check bool.
2162 _Bool success = false;
2163 success |= (argc != 0);
2164
2165 // Check restrict.
2166 if (test_restrict ("String literal") == 0)
2167 success = true;
2168 char *restrict newvar = "Another string";
2169
2170 // Check varargs.
2171 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2172 test_varargs_macros ();
2173
2174 // Check flexible array members.
2175 struct incomplete_array *ia =
2176 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2177 ia->datasize = 10;
2178 for (int i = 0; i < ia->datasize; ++i)
2179 ia->data[i] = i * 1.234;
2180
2181 // Check named initializers.
2182 struct named_init ni = {
2183 .number = 34,
2184 .name = L"Test wide string",
2185 .average = 543.34343,
2186 };
2187
2188 ni.number = 58;
2189
2190 int dynamic_array[ni.number];
2191 dynamic_array[0] = argv[0][0];
2192 dynamic_array[ni.number - 1] = 543;
2193
2194 // work around unused variable warnings
2195 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2196 || dynamic_array[ni.number - 1] != 543);
2197 '
2198
2199 # Test code for whether the C compiler supports C11 (global declarations)
2200 ac_c_conftest_c11_globals='
2201 // Does the compiler advertise C11 conformance?
2202 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2203 # error "Compiler does not advertise C11 conformance"
2204 #endif
2205
2206 // Check _Alignas.
2207 char _Alignas (double) aligned_as_double;
2208 char _Alignas (0) no_special_alignment;
2209 extern char aligned_as_int;
2210 char _Alignas (0) _Alignas (int) aligned_as_int;
2211
2212 // Check _Alignof.
2213 enum
2214 {
2215 int_alignment = _Alignof (int),
2216 int_array_alignment = _Alignof (int[100]),
2217 char_alignment = _Alignof (char)
2218 };
2219 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2220
2221 // Check _Noreturn.
2222 int _Noreturn does_not_return (void) { for (;;) continue; }
2223
2224 // Check _Static_assert.
2225 struct test_static_assert
2226 {
2227 int x;
2228 _Static_assert (sizeof (int) <= sizeof (long int),
2229 "_Static_assert does not work in struct");
2230 long int y;
2231 };
2232
2233 // Check UTF-8 literals.
2234 #define u8 syntax error!
2235 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2236
2237 // Check duplicate typedefs.
2238 typedef long *long_ptr;
2239 typedef long int *long_ptr;
2240 typedef long_ptr long_ptr;
2241
2242 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2243 struct anonymous
2244 {
2245 union {
2246 struct { int i; int j; };
2247 struct { int k; long int l; } w;
2248 };
2249 int m;
2250 } v1;
2251 '
2252
2253 # Test code for whether the C compiler supports C11 (body of main).
2254 ac_c_conftest_c11_main='
2255 _Static_assert ((offsetof (struct anonymous, i)
2256 == offsetof (struct anonymous, w.k)),
2257 "Anonymous union alignment botch");
2258 v1.i = 2;
2259 v1.w.k = 5;
2260 ok |= v1.i != 5;
2261 '
2262
2263 # Test code for whether the C compiler supports C11 (complete).
2264 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2265 ${ac_c_conftest_c99_globals}
2266 ${ac_c_conftest_c11_globals}
2267
2268 int
2269 main (int argc, char **argv)
2270 {
2271 int ok = 0;
2272 ${ac_c_conftest_c89_main}
2273 ${ac_c_conftest_c99_main}
2274 ${ac_c_conftest_c11_main}
2275 return ok;
2276 }
2277 "
2278
2279 # Test code for whether the C compiler supports C99 (complete).
2280 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2281 ${ac_c_conftest_c99_globals}
2282
2283 int
2284 main (int argc, char **argv)
2285 {
2286 int ok = 0;
2287 ${ac_c_conftest_c89_main}
2288 ${ac_c_conftest_c99_main}
2289 return ok;
2290 }
2291 "
2292
2293 # Test code for whether the C compiler supports C89 (complete).
2294 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2295
2296 int
2297 main (int argc, char **argv)
2298 {
2299 int ok = 0;
2300 ${ac_c_conftest_c89_main}
2301 return ok;
2302 }
2303 "
2304
2305 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2306 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2307 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2308 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2309 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2310 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2311 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2312 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2313 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2314 as_fn_append ac_header_c_list " sys/time.h sys_time_h HAVE_SYS_TIME_H"
2315
2316 # Auxiliary files required by this configure script.
2317 ac_aux_files="install-sh"
2318
2319 # Locations in which to look for auxiliary files.
2320 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2321
2322 # Search for a directory containing all of the required auxiliary files,
2323 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2324 # If we don't find one directory that contains all the files we need,
2325 # we report the set of missing files from the *first* directory in
2326 # $ac_aux_dir_candidates and give up.
2327 ac_missing_aux_files=""
2328 ac_first_candidate=:
2329 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 as_found=false
2332 for as_dir in $ac_aux_dir_candidates
2333 do
2334 IFS=$as_save_IFS
2335 case $as_dir in #(((
2336 '') as_dir=./ ;;
2337 */) ;;
2338 *) as_dir=$as_dir/ ;;
2339 esac
2340 as_found=:
2341
2342 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2343 ac_aux_dir_found=yes
2344 ac_install_sh=
2345 for ac_aux in $ac_aux_files
2346 do
2347 # As a special case, if "install-sh" is required, that requirement
2348 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2349 # and $ac_install_sh is set appropriately for whichever one is found.
2350 if test x"$ac_aux" = x"install-sh"
2351 then
2352 if test -f "${as_dir}install-sh"; then
2353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2354 ac_install_sh="${as_dir}install-sh -c"
2355 elif test -f "${as_dir}install.sh"; then
2356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2357 ac_install_sh="${as_dir}install.sh -c"
2358 elif test -f "${as_dir}shtool"; then
2359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2360 ac_install_sh="${as_dir}shtool install -c"
2361 else
2362 ac_aux_dir_found=no
2363 if $ac_first_candidate; then
2364 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2365 else
2366 break
2367 fi
2368 fi
2369 else
2370 if test -f "${as_dir}${ac_aux}"; then
2371 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2372 else
2373 ac_aux_dir_found=no
2374 if $ac_first_candidate; then
2375 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2376 else
2377 break
2378 fi
2379 fi
2380 fi
2381 done
2382 if test "$ac_aux_dir_found" = yes; then
2383 ac_aux_dir="$as_dir"
2384 break
2385 fi
2386 ac_first_candidate=false
2387
2388 as_found=false
2389 done
2390 IFS=$as_save_IFS
2391 if $as_found
2392 then :
2393
2394 else $as_nop
2395 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2396 fi
2397
2398
2399 # These three variables are undocumented and unsupported,
2400 # and are intended to be withdrawn in a future Autoconf release.
2401 # They can cause serious problems if a builder's source tree is in a directory
2402 # whose full name contains unusual characters.
2403 if test -f "${ac_aux_dir}config.guess"; then
2404 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2405 fi
2406 if test -f "${ac_aux_dir}config.sub"; then
2407 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2408 fi
2409 if test -f "$ac_aux_dir/configure"; then
2410 ac_configure="$SHELL ${ac_aux_dir}configure"
2411 fi
2412
2413 # Check that the precious variables saved in the cache have kept the same
2414 # value.
2415 ac_cache_corrupted=false
2416 for ac_var in $ac_precious_vars; do
2417 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2418 eval ac_new_set=\$ac_env_${ac_var}_set
2419 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2420 eval ac_new_val=\$ac_env_${ac_var}_value
2421 case $ac_old_set,$ac_new_set in
2422 set,)
2423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2424 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2425 ac_cache_corrupted=: ;;
2426 ,set)
2427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2428 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2429 ac_cache_corrupted=: ;;
2430 ,);;
2431 *)
2432 if test "x$ac_old_val" != "x$ac_new_val"; then
2433 # differences in whitespace do not lead to failure.
2434 ac_old_val_w=`echo x $ac_old_val`
2435 ac_new_val_w=`echo x $ac_new_val`
2436 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2438 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2439 ac_cache_corrupted=:
2440 else
2441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2442 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2443 eval $ac_var=\$ac_old_val
2444 fi
2445 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2446 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2448 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2449 fi;;
2450 esac
2451 # Pass precious variables to config.status.
2452 if test "$ac_new_set" = set; then
2453 case $ac_new_val in
2454 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2455 *) ac_arg=$ac_var=$ac_new_val ;;
2456 esac
2457 case " $ac_configure_args " in
2458 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2459 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2460 esac
2461 fi
2462 done
2463 if $ac_cache_corrupted; then
2464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2465 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2467 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2468 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2469 and start over" "$LINENO" 5
2470 fi
2471 ## -------------------- ##
2472 ## Main body of script. ##
2473 ## -------------------- ##
2474
2475 ac_ext=c
2476 ac_cpp='$CPP $CPPFLAGS'
2477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492 ac_ext=c
2493 ac_cpp='$CPP $CPPFLAGS'
2494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2497 if test -n "$ac_tool_prefix"; then
2498 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2499 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2501 printf %s "checking for $ac_word... " >&6; }
2502 if test ${ac_cv_prog_CC+y}
2503 then :
2504 printf %s "(cached) " >&6
2505 else $as_nop
2506 if test -n "$CC"; then
2507 ac_cv_prog_CC="$CC" # Let the user override the test.
2508 else
2509 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2510 for as_dir in $PATH
2511 do
2512 IFS=$as_save_IFS
2513 case $as_dir in #(((
2514 '') as_dir=./ ;;
2515 */) ;;
2516 *) as_dir=$as_dir/ ;;
2517 esac
2518 for ac_exec_ext in '' $ac_executable_extensions; do
2519 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2520 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2521 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2522 break 2
2523 fi
2524 done
2525 done
2526 IFS=$as_save_IFS
2527
2528 fi
2529 fi
2530 CC=$ac_cv_prog_CC
2531 if test -n "$CC"; then
2532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2533 printf "%s\n" "$CC" >&6; }
2534 else
2535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2536 printf "%s\n" "no" >&6; }
2537 fi
2538
2539
2540 fi
2541 if test -z "$ac_cv_prog_CC"; then
2542 ac_ct_CC=$CC
2543 # Extract the first word of "gcc", so it can be a program name with args.
2544 set dummy gcc; ac_word=$2
2545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2546 printf %s "checking for $ac_word... " >&6; }
2547 if test ${ac_cv_prog_ac_ct_CC+y}
2548 then :
2549 printf %s "(cached) " >&6
2550 else $as_nop
2551 if test -n "$ac_ct_CC"; then
2552 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2553 else
2554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2555 for as_dir in $PATH
2556 do
2557 IFS=$as_save_IFS
2558 case $as_dir in #(((
2559 '') as_dir=./ ;;
2560 */) ;;
2561 *) as_dir=$as_dir/ ;;
2562 esac
2563 for ac_exec_ext in '' $ac_executable_extensions; do
2564 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2565 ac_cv_prog_ac_ct_CC="gcc"
2566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2567 break 2
2568 fi
2569 done
2570 done
2571 IFS=$as_save_IFS
2572
2573 fi
2574 fi
2575 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2576 if test -n "$ac_ct_CC"; then
2577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2578 printf "%s\n" "$ac_ct_CC" >&6; }
2579 else
2580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2581 printf "%s\n" "no" >&6; }
2582 fi
2583
2584 if test "x$ac_ct_CC" = x; then
2585 CC=""
2586 else
2587 case $cross_compiling:$ac_tool_warned in
2588 yes:)
2589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2590 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2591 ac_tool_warned=yes ;;
2592 esac
2593 CC=$ac_ct_CC
2594 fi
2595 else
2596 CC="$ac_cv_prog_CC"
2597 fi
2598
2599 if test -z "$CC"; then
2600 if test -n "$ac_tool_prefix"; then
2601 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2602 set dummy ${ac_tool_prefix}cc; ac_word=$2
2603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2604 printf %s "checking for $ac_word... " >&6; }
2605 if test ${ac_cv_prog_CC+y}
2606 then :
2607 printf %s "(cached) " >&6
2608 else $as_nop
2609 if test -n "$CC"; then
2610 ac_cv_prog_CC="$CC" # Let the user override the test.
2611 else
2612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2613 for as_dir in $PATH
2614 do
2615 IFS=$as_save_IFS
2616 case $as_dir in #(((
2617 '') as_dir=./ ;;
2618 */) ;;
2619 *) as_dir=$as_dir/ ;;
2620 esac
2621 for ac_exec_ext in '' $ac_executable_extensions; do
2622 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2623 ac_cv_prog_CC="${ac_tool_prefix}cc"
2624 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2625 break 2
2626 fi
2627 done
2628 done
2629 IFS=$as_save_IFS
2630
2631 fi
2632 fi
2633 CC=$ac_cv_prog_CC
2634 if test -n "$CC"; then
2635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2636 printf "%s\n" "$CC" >&6; }
2637 else
2638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2639 printf "%s\n" "no" >&6; }
2640 fi
2641
2642
2643 fi
2644 fi
2645 if test -z "$CC"; then
2646 # Extract the first word of "cc", so it can be a program name with args.
2647 set dummy cc; ac_word=$2
2648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2649 printf %s "checking for $ac_word... " >&6; }
2650 if test ${ac_cv_prog_CC+y}
2651 then :
2652 printf %s "(cached) " >&6
2653 else $as_nop
2654 if test -n "$CC"; then
2655 ac_cv_prog_CC="$CC" # Let the user override the test.
2656 else
2657 ac_prog_rejected=no
2658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2659 for as_dir in $PATH
2660 do
2661 IFS=$as_save_IFS
2662 case $as_dir in #(((
2663 '') as_dir=./ ;;
2664 */) ;;
2665 *) as_dir=$as_dir/ ;;
2666 esac
2667 for ac_exec_ext in '' $ac_executable_extensions; do
2668 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2669 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2670 ac_prog_rejected=yes
2671 continue
2672 fi
2673 ac_cv_prog_CC="cc"
2674 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2675 break 2
2676 fi
2677 done
2678 done
2679 IFS=$as_save_IFS
2680
2681 if test $ac_prog_rejected = yes; then
2682 # We found a bogon in the path, so make sure we never use it.
2683 set dummy $ac_cv_prog_CC
2684 shift
2685 if test $# != 0; then
2686 # We chose a different compiler from the bogus one.
2687 # However, it has the same basename, so the bogon will be chosen
2688 # first if we set CC to just the basename; use the full file name.
2689 shift
2690 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2691 fi
2692 fi
2693 fi
2694 fi
2695 CC=$ac_cv_prog_CC
2696 if test -n "$CC"; then
2697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2698 printf "%s\n" "$CC" >&6; }
2699 else
2700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2701 printf "%s\n" "no" >&6; }
2702 fi
2703
2704
2705 fi
2706 if test -z "$CC"; then
2707 if test -n "$ac_tool_prefix"; then
2708 for ac_prog in cl.exe
2709 do
2710 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2711 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2713 printf %s "checking for $ac_word... " >&6; }
2714 if test ${ac_cv_prog_CC+y}
2715 then :
2716 printf %s "(cached) " >&6
2717 else $as_nop
2718 if test -n "$CC"; then
2719 ac_cv_prog_CC="$CC" # Let the user override the test.
2720 else
2721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2722 for as_dir in $PATH
2723 do
2724 IFS=$as_save_IFS
2725 case $as_dir in #(((
2726 '') as_dir=./ ;;
2727 */) ;;
2728 *) as_dir=$as_dir/ ;;
2729 esac
2730 for ac_exec_ext in '' $ac_executable_extensions; do
2731 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2732 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2734 break 2
2735 fi
2736 done
2737 done
2738 IFS=$as_save_IFS
2739
2740 fi
2741 fi
2742 CC=$ac_cv_prog_CC
2743 if test -n "$CC"; then
2744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2745 printf "%s\n" "$CC" >&6; }
2746 else
2747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2748 printf "%s\n" "no" >&6; }
2749 fi
2750
2751
2752 test -n "$CC" && break
2753 done
2754 fi
2755 if test -z "$CC"; then
2756 ac_ct_CC=$CC
2757 for ac_prog in cl.exe
2758 do
2759 # Extract the first word of "$ac_prog", so it can be a program name with args.
2760 set dummy $ac_prog; ac_word=$2
2761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2762 printf %s "checking for $ac_word... " >&6; }
2763 if test ${ac_cv_prog_ac_ct_CC+y}
2764 then :
2765 printf %s "(cached) " >&6
2766 else $as_nop
2767 if test -n "$ac_ct_CC"; then
2768 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2769 else
2770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2771 for as_dir in $PATH
2772 do
2773 IFS=$as_save_IFS
2774 case $as_dir in #(((
2775 '') as_dir=./ ;;
2776 */) ;;
2777 *) as_dir=$as_dir/ ;;
2778 esac
2779 for ac_exec_ext in '' $ac_executable_extensions; do
2780 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2781 ac_cv_prog_ac_ct_CC="$ac_prog"
2782 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2783 break 2
2784 fi
2785 done
2786 done
2787 IFS=$as_save_IFS
2788
2789 fi
2790 fi
2791 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2792 if test -n "$ac_ct_CC"; then
2793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2794 printf "%s\n" "$ac_ct_CC" >&6; }
2795 else
2796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2797 printf "%s\n" "no" >&6; }
2798 fi
2799
2800
2801 test -n "$ac_ct_CC" && break
2802 done
2803
2804 if test "x$ac_ct_CC" = x; then
2805 CC=""
2806 else
2807 case $cross_compiling:$ac_tool_warned in
2808 yes:)
2809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2810 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2811 ac_tool_warned=yes ;;
2812 esac
2813 CC=$ac_ct_CC
2814 fi
2815 fi
2816
2817 fi
2818 if test -z "$CC"; then
2819 if test -n "$ac_tool_prefix"; then
2820 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2821 set dummy ${ac_tool_prefix}clang; ac_word=$2
2822 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2823 printf %s "checking for $ac_word... " >&6; }
2824 if test ${ac_cv_prog_CC+y}
2825 then :
2826 printf %s "(cached) " >&6
2827 else $as_nop
2828 if test -n "$CC"; then
2829 ac_cv_prog_CC="$CC" # Let the user override the test.
2830 else
2831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2832 for as_dir in $PATH
2833 do
2834 IFS=$as_save_IFS
2835 case $as_dir in #(((
2836 '') as_dir=./ ;;
2837 */) ;;
2838 *) as_dir=$as_dir/ ;;
2839 esac
2840 for ac_exec_ext in '' $ac_executable_extensions; do
2841 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2842 ac_cv_prog_CC="${ac_tool_prefix}clang"
2843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2844 break 2
2845 fi
2846 done
2847 done
2848 IFS=$as_save_IFS
2849
2850 fi
2851 fi
2852 CC=$ac_cv_prog_CC
2853 if test -n "$CC"; then
2854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2855 printf "%s\n" "$CC" >&6; }
2856 else
2857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2858 printf "%s\n" "no" >&6; }
2859 fi
2860
2861
2862 fi
2863 if test -z "$ac_cv_prog_CC"; then
2864 ac_ct_CC=$CC
2865 # Extract the first word of "clang", so it can be a program name with args.
2866 set dummy clang; ac_word=$2
2867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2868 printf %s "checking for $ac_word... " >&6; }
2869 if test ${ac_cv_prog_ac_ct_CC+y}
2870 then :
2871 printf %s "(cached) " >&6
2872 else $as_nop
2873 if test -n "$ac_ct_CC"; then
2874 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2875 else
2876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2877 for as_dir in $PATH
2878 do
2879 IFS=$as_save_IFS
2880 case $as_dir in #(((
2881 '') as_dir=./ ;;
2882 */) ;;
2883 *) as_dir=$as_dir/ ;;
2884 esac
2885 for ac_exec_ext in '' $ac_executable_extensions; do
2886 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2887 ac_cv_prog_ac_ct_CC="clang"
2888 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2889 break 2
2890 fi
2891 done
2892 done
2893 IFS=$as_save_IFS
2894
2895 fi
2896 fi
2897 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2898 if test -n "$ac_ct_CC"; then
2899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2900 printf "%s\n" "$ac_ct_CC" >&6; }
2901 else
2902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2903 printf "%s\n" "no" >&6; }
2904 fi
2905
2906 if test "x$ac_ct_CC" = x; then
2907 CC=""
2908 else
2909 case $cross_compiling:$ac_tool_warned in
2910 yes:)
2911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2912 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2913 ac_tool_warned=yes ;;
2914 esac
2915 CC=$ac_ct_CC
2916 fi
2917 else
2918 CC="$ac_cv_prog_CC"
2919 fi
2920
2921 fi
2922
2923
2924 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2925 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2926 as_fn_error $? "no acceptable C compiler found in \$PATH
2927 See \`config.log' for more details" "$LINENO" 5; }
2928
2929 # Provide some information about the compiler.
2930 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2931 set X $ac_compile
2932 ac_compiler=$2
2933 for ac_option in --version -v -V -qversion -version; do
2934 { { ac_try="$ac_compiler $ac_option >&5"
2935 case "(($ac_try" in
2936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2937 *) ac_try_echo=$ac_try;;
2938 esac
2939 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2940 printf "%s\n" "$ac_try_echo"; } >&5
2941 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2942 ac_status=$?
2943 if test -s conftest.err; then
2944 sed '10a\
2945 ... rest of stderr output deleted ...
2946 10q' conftest.err >conftest.er1
2947 cat conftest.er1 >&5
2948 fi
2949 rm -f conftest.er1 conftest.err
2950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2951 test $ac_status = 0; }
2952 done
2953
2954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2955 /* end confdefs.h. */
2956
2957 int
2958 main (void)
2959 {
2960
2961 ;
2962 return 0;
2963 }
2964 _ACEOF
2965 ac_clean_files_save=$ac_clean_files
2966 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2967 # Try to create an executable without -o first, disregard a.out.
2968 # It will help us diagnose broken compilers, and finding out an intuition
2969 # of exeext.
2970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2971 printf %s "checking whether the C compiler works... " >&6; }
2972 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2973
2974 # The possible output files:
2975 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2976
2977 ac_rmfiles=
2978 for ac_file in $ac_files
2979 do
2980 case $ac_file in
2981 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2982 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2983 esac
2984 done
2985 rm -f $ac_rmfiles
2986
2987 if { { ac_try="$ac_link_default"
2988 case "(($ac_try" in
2989 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2990 *) ac_try_echo=$ac_try;;
2991 esac
2992 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2993 printf "%s\n" "$ac_try_echo"; } >&5
2994 (eval "$ac_link_default") 2>&5
2995 ac_status=$?
2996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2997 test $ac_status = 0; }
2998 then :
2999 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3000 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3001 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3002 # so that the user can short-circuit this test for compilers unknown to
3003 # Autoconf.
3004 for ac_file in $ac_files ''
3005 do
3006 test -f "$ac_file" || continue
3007 case $ac_file in
3008 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3009 ;;
3010 [ab].out )
3011 # We found the default executable, but exeext='' is most
3012 # certainly right.
3013 break;;
3014 *.* )
3015 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3016 then :; else
3017 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3018 fi
3019 # We set ac_cv_exeext here because the later test for it is not
3020 # safe: cross compilers may not add the suffix if given an `-o'
3021 # argument, so we may need to know it at that point already.
3022 # Even if this section looks crufty: it has the advantage of
3023 # actually working.
3024 break;;
3025 * )
3026 break;;
3027 esac
3028 done
3029 test "$ac_cv_exeext" = no && ac_cv_exeext=
3030
3031 else $as_nop
3032 ac_file=''
3033 fi
3034 if test -z "$ac_file"
3035 then :
3036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3037 printf "%s\n" "no" >&6; }
3038 printf "%s\n" "$as_me: failed program was:" >&5
3039 sed 's/^/| /' conftest.$ac_ext >&5
3040
3041 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3042 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3043 as_fn_error 77 "C compiler cannot create executables
3044 See \`config.log' for more details" "$LINENO" 5; }
3045 else $as_nop
3046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3047 printf "%s\n" "yes" >&6; }
3048 fi
3049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3050 printf %s "checking for C compiler default output file name... " >&6; }
3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3052 printf "%s\n" "$ac_file" >&6; }
3053 ac_exeext=$ac_cv_exeext
3054
3055 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3056 ac_clean_files=$ac_clean_files_save
3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3058 printf %s "checking for suffix of executables... " >&6; }
3059 if { { ac_try="$ac_link"
3060 case "(($ac_try" in
3061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3062 *) ac_try_echo=$ac_try;;
3063 esac
3064 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3065 printf "%s\n" "$ac_try_echo"; } >&5
3066 (eval "$ac_link") 2>&5
3067 ac_status=$?
3068 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3069 test $ac_status = 0; }
3070 then :
3071 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3072 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3073 # work properly (i.e., refer to `conftest.exe'), while it won't with
3074 # `rm'.
3075 for ac_file in conftest.exe conftest conftest.*; do
3076 test -f "$ac_file" || continue
3077 case $ac_file in
3078 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3079 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3080 break;;
3081 * ) break;;
3082 esac
3083 done
3084 else $as_nop
3085 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3086 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3087 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3088 See \`config.log' for more details" "$LINENO" 5; }
3089 fi
3090 rm -f conftest conftest$ac_cv_exeext
3091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3092 printf "%s\n" "$ac_cv_exeext" >&6; }
3093
3094 rm -f conftest.$ac_ext
3095 EXEEXT=$ac_cv_exeext
3096 ac_exeext=$EXEEXT
3097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3098 /* end confdefs.h. */
3099 #include <stdio.h>
3100 int
3101 main (void)
3102 {
3103 FILE *f = fopen ("conftest.out", "w");
3104 return ferror (f) || fclose (f) != 0;
3105
3106 ;
3107 return 0;
3108 }
3109 _ACEOF
3110 ac_clean_files="$ac_clean_files conftest.out"
3111 # Check that the compiler produces executables we can run. If not, either
3112 # the compiler is broken, or we cross compile.
3113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3114 printf %s "checking whether we are cross compiling... " >&6; }
3115 if test "$cross_compiling" != yes; then
3116 { { ac_try="$ac_link"
3117 case "(($ac_try" in
3118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3119 *) ac_try_echo=$ac_try;;
3120 esac
3121 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3122 printf "%s\n" "$ac_try_echo"; } >&5
3123 (eval "$ac_link") 2>&5
3124 ac_status=$?
3125 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3126 test $ac_status = 0; }
3127 if { ac_try='./conftest$ac_cv_exeext'
3128 { { case "(($ac_try" in
3129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3130 *) ac_try_echo=$ac_try;;
3131 esac
3132 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3133 printf "%s\n" "$ac_try_echo"; } >&5
3134 (eval "$ac_try") 2>&5
3135 ac_status=$?
3136 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3137 test $ac_status = 0; }; }; then
3138 cross_compiling=no
3139 else
3140 if test "$cross_compiling" = maybe; then
3141 cross_compiling=yes
3142 else
3143 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3144 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3145 as_fn_error 77 "cannot run C compiled programs.
3146 If you meant to cross compile, use \`--host'.
3147 See \`config.log' for more details" "$LINENO" 5; }
3148 fi
3149 fi
3150 fi
3151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3152 printf "%s\n" "$cross_compiling" >&6; }
3153
3154 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3155 ac_clean_files=$ac_clean_files_save
3156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3157 printf %s "checking for suffix of object files... " >&6; }
3158 if test ${ac_cv_objext+y}
3159 then :
3160 printf %s "(cached) " >&6
3161 else $as_nop
3162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3163 /* end confdefs.h. */
3164
3165 int
3166 main (void)
3167 {
3168
3169 ;
3170 return 0;
3171 }
3172 _ACEOF
3173 rm -f conftest.o conftest.obj
3174 if { { ac_try="$ac_compile"
3175 case "(($ac_try" in
3176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3177 *) ac_try_echo=$ac_try;;
3178 esac
3179 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3180 printf "%s\n" "$ac_try_echo"; } >&5
3181 (eval "$ac_compile") 2>&5
3182 ac_status=$?
3183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3184 test $ac_status = 0; }
3185 then :
3186 for ac_file in conftest.o conftest.obj conftest.*; do
3187 test -f "$ac_file" || continue;
3188 case $ac_file in
3189 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3190 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3191 break;;
3192 esac
3193 done
3194 else $as_nop
3195 printf "%s\n" "$as_me: failed program was:" >&5
3196 sed 's/^/| /' conftest.$ac_ext >&5
3197
3198 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3199 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3200 as_fn_error $? "cannot compute suffix of object files: cannot compile
3201 See \`config.log' for more details" "$LINENO" 5; }
3202 fi
3203 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3204 fi
3205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3206 printf "%s\n" "$ac_cv_objext" >&6; }
3207 OBJEXT=$ac_cv_objext
3208 ac_objext=$OBJEXT
3209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3210 printf %s "checking whether the compiler supports GNU C... " >&6; }
3211 if test ${ac_cv_c_compiler_gnu+y}
3212 then :
3213 printf %s "(cached) " >&6
3214 else $as_nop
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3217
3218 int
3219 main (void)
3220 {
3221 #ifndef __GNUC__
3222 choke me
3223 #endif
3224
3225 ;
3226 return 0;
3227 }
3228 _ACEOF
3229 if ac_fn_c_try_compile "$LINENO"
3230 then :
3231 ac_compiler_gnu=yes
3232 else $as_nop
3233 ac_compiler_gnu=no
3234 fi
3235 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3236 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3237
3238 fi
3239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3240 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3242
3243 if test $ac_compiler_gnu = yes; then
3244 GCC=yes
3245 else
3246 GCC=
3247 fi
3248 ac_test_CFLAGS=${CFLAGS+y}
3249 ac_save_CFLAGS=$CFLAGS
3250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3251 printf %s "checking whether $CC accepts -g... " >&6; }
3252 if test ${ac_cv_prog_cc_g+y}
3253 then :
3254 printf %s "(cached) " >&6
3255 else $as_nop
3256 ac_save_c_werror_flag=$ac_c_werror_flag
3257 ac_c_werror_flag=yes
3258 ac_cv_prog_cc_g=no
3259 CFLAGS="-g"
3260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3261 /* end confdefs.h. */
3262
3263 int
3264 main (void)
3265 {
3266
3267 ;
3268 return 0;
3269 }
3270 _ACEOF
3271 if ac_fn_c_try_compile "$LINENO"
3272 then :
3273 ac_cv_prog_cc_g=yes
3274 else $as_nop
3275 CFLAGS=""
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3278
3279 int
3280 main (void)
3281 {
3282
3283 ;
3284 return 0;
3285 }
3286 _ACEOF
3287 if ac_fn_c_try_compile "$LINENO"
3288 then :
3289
3290 else $as_nop
3291 ac_c_werror_flag=$ac_save_c_werror_flag
3292 CFLAGS="-g"
3293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3294 /* end confdefs.h. */
3295
3296 int
3297 main (void)
3298 {
3299
3300 ;
3301 return 0;
3302 }
3303 _ACEOF
3304 if ac_fn_c_try_compile "$LINENO"
3305 then :
3306 ac_cv_prog_cc_g=yes
3307 fi
3308 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3309 fi
3310 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3311 fi
3312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3313 ac_c_werror_flag=$ac_save_c_werror_flag
3314 fi
3315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3316 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3317 if test $ac_test_CFLAGS; then
3318 CFLAGS=$ac_save_CFLAGS
3319 elif test $ac_cv_prog_cc_g = yes; then
3320 if test "$GCC" = yes; then
3321 CFLAGS="-g -O2"
3322 else
3323 CFLAGS="-g"
3324 fi
3325 else
3326 if test "$GCC" = yes; then
3327 CFLAGS="-O2"
3328 else
3329 CFLAGS=
3330 fi
3331 fi
3332 ac_prog_cc_stdc=no
3333 if test x$ac_prog_cc_stdc = xno
3334 then :
3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3336 printf %s "checking for $CC option to enable C11 features... " >&6; }
3337 if test ${ac_cv_prog_cc_c11+y}
3338 then :
3339 printf %s "(cached) " >&6
3340 else $as_nop
3341 ac_cv_prog_cc_c11=no
3342 ac_save_CC=$CC
3343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3344 /* end confdefs.h. */
3345 $ac_c_conftest_c11_program
3346 _ACEOF
3347 for ac_arg in '' -std=gnu11
3348 do
3349 CC="$ac_save_CC $ac_arg"
3350 if ac_fn_c_try_compile "$LINENO"
3351 then :
3352 ac_cv_prog_cc_c11=$ac_arg
3353 fi
3354 rm -f core conftest.err conftest.$ac_objext conftest.beam
3355 test "x$ac_cv_prog_cc_c11" != "xno" && break
3356 done
3357 rm -f conftest.$ac_ext
3358 CC=$ac_save_CC
3359 fi
3360
3361 if test "x$ac_cv_prog_cc_c11" = xno
3362 then :
3363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3364 printf "%s\n" "unsupported" >&6; }
3365 else $as_nop
3366 if test "x$ac_cv_prog_cc_c11" = x
3367 then :
3368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3369 printf "%s\n" "none needed" >&6; }
3370 else $as_nop
3371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3372 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3373 CC="$CC $ac_cv_prog_cc_c11"
3374 fi
3375 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3376 ac_prog_cc_stdc=c11
3377 fi
3378 fi
3379 if test x$ac_prog_cc_stdc = xno
3380 then :
3381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3382 printf %s "checking for $CC option to enable C99 features... " >&6; }
3383 if test ${ac_cv_prog_cc_c99+y}
3384 then :
3385 printf %s "(cached) " >&6
3386 else $as_nop
3387 ac_cv_prog_cc_c99=no
3388 ac_save_CC=$CC
3389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3390 /* end confdefs.h. */
3391 $ac_c_conftest_c99_program
3392 _ACEOF
3393 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3394 do
3395 CC="$ac_save_CC $ac_arg"
3396 if ac_fn_c_try_compile "$LINENO"
3397 then :
3398 ac_cv_prog_cc_c99=$ac_arg
3399 fi
3400 rm -f core conftest.err conftest.$ac_objext conftest.beam
3401 test "x$ac_cv_prog_cc_c99" != "xno" && break
3402 done
3403 rm -f conftest.$ac_ext
3404 CC=$ac_save_CC
3405 fi
3406
3407 if test "x$ac_cv_prog_cc_c99" = xno
3408 then :
3409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3410 printf "%s\n" "unsupported" >&6; }
3411 else $as_nop
3412 if test "x$ac_cv_prog_cc_c99" = x
3413 then :
3414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3415 printf "%s\n" "none needed" >&6; }
3416 else $as_nop
3417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3418 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3419 CC="$CC $ac_cv_prog_cc_c99"
3420 fi
3421 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3422 ac_prog_cc_stdc=c99
3423 fi
3424 fi
3425 if test x$ac_prog_cc_stdc = xno
3426 then :
3427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3428 printf %s "checking for $CC option to enable C89 features... " >&6; }
3429 if test ${ac_cv_prog_cc_c89+y}
3430 then :
3431 printf %s "(cached) " >&6
3432 else $as_nop
3433 ac_cv_prog_cc_c89=no
3434 ac_save_CC=$CC
3435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3436 /* end confdefs.h. */
3437 $ac_c_conftest_c89_program
3438 _ACEOF
3439 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3440 do
3441 CC="$ac_save_CC $ac_arg"
3442 if ac_fn_c_try_compile "$LINENO"
3443 then :
3444 ac_cv_prog_cc_c89=$ac_arg
3445 fi
3446 rm -f core conftest.err conftest.$ac_objext conftest.beam
3447 test "x$ac_cv_prog_cc_c89" != "xno" && break
3448 done
3449 rm -f conftest.$ac_ext
3450 CC=$ac_save_CC
3451 fi
3452
3453 if test "x$ac_cv_prog_cc_c89" = xno
3454 then :
3455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3456 printf "%s\n" "unsupported" >&6; }
3457 else $as_nop
3458 if test "x$ac_cv_prog_cc_c89" = x
3459 then :
3460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3461 printf "%s\n" "none needed" >&6; }
3462 else $as_nop
3463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3464 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3465 CC="$CC $ac_cv_prog_cc_c89"
3466 fi
3467 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3468 ac_prog_cc_stdc=c89
3469 fi
3470 fi
3471
3472 ac_ext=c
3473 ac_cpp='$CPP $CPPFLAGS'
3474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3477
3478
3479
3480 # Find a good install program. We prefer a C program (faster),
3481 # so one script is as good as another. But avoid the broken or
3482 # incompatible versions:
3483 # SysV /etc/install, /usr/sbin/install
3484 # SunOS /usr/etc/install
3485 # IRIX /sbin/install
3486 # AIX /bin/install
3487 # AmigaOS /C/install, which installs bootblocks on floppy discs
3488 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3489 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3490 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3491 # OS/2's system install, which has a completely different semantic
3492 # ./install, which can be erroneously created by make from ./install.sh.
3493 # Reject install programs that cannot install multiple files.
3494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3495 printf %s "checking for a BSD-compatible install... " >&6; }
3496 if test -z "$INSTALL"; then
3497 if test ${ac_cv_path_install+y}
3498 then :
3499 printf %s "(cached) " >&6
3500 else $as_nop
3501 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3502 for as_dir in $PATH
3503 do
3504 IFS=$as_save_IFS
3505 case $as_dir in #(((
3506 '') as_dir=./ ;;
3507 */) ;;
3508 *) as_dir=$as_dir/ ;;
3509 esac
3510 # Account for fact that we put trailing slashes in our PATH walk.
3511 case $as_dir in #((
3512 ./ | /[cC]/* | \
3513 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3514 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3515 /usr/ucb/* ) ;;
3516 *)
3517 # OSF1 and SCO ODT 3.0 have their own names for install.
3518 # Don't use installbsd from OSF since it installs stuff as root
3519 # by default.
3520 for ac_prog in ginstall scoinst install; do
3521 for ac_exec_ext in '' $ac_executable_extensions; do
3522 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
3523 if test $ac_prog = install &&
3524 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3525 # AIX install. It has an incompatible calling convention.
3526 :
3527 elif test $ac_prog = install &&
3528 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3529 # program-specific install script used by HP pwplus--don't use.
3530 :
3531 else
3532 rm -rf conftest.one conftest.two conftest.dir
3533 echo one > conftest.one
3534 echo two > conftest.two
3535 mkdir conftest.dir
3536 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
3537 test -s conftest.one && test -s conftest.two &&
3538 test -s conftest.dir/conftest.one &&
3539 test -s conftest.dir/conftest.two
3540 then
3541 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
3542 break 3
3543 fi
3544 fi
3545 fi
3546 done
3547 done
3548 ;;
3549 esac
3550
3551 done
3552 IFS=$as_save_IFS
3553
3554 rm -rf conftest.one conftest.two conftest.dir
3555
3556 fi
3557 if test ${ac_cv_path_install+y}; then
3558 INSTALL=$ac_cv_path_install
3559 else
3560 # As a last resort, use the slow shell script. Don't cache a
3561 # value for INSTALL within a source directory, because that will
3562 # break other packages using the cache if that directory is
3563 # removed, or if the value is a relative name.
3564 INSTALL=$ac_install_sh
3565 fi
3566 fi
3567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3568 printf "%s\n" "$INSTALL" >&6; }
3569
3570 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3571 # It thinks the first close brace ends the variable substitution.
3572 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3573
3574 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3575
3576 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3577
3578
3579
3580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
3581 printf %s "checking for an ANSI C-conforming const... " >&6; }
3582 if test ${ac_cv_c_const+y}
3583 then :
3584 printf %s "(cached) " >&6
3585 else $as_nop
3586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3587 /* end confdefs.h. */
3588
3589 int
3590 main (void)
3591 {
3592
3593 #ifndef __cplusplus
3594 /* Ultrix mips cc rejects this sort of thing. */
3595 typedef int charset[2];
3596 const charset cs = { 0, 0 };
3597 /* SunOS 4.1.1 cc rejects this. */
3598 char const *const *pcpcc;
3599 char **ppc;
3600 /* NEC SVR4.0.2 mips cc rejects this. */
3601 struct point {int x, y;};
3602 static struct point const zero = {0,0};
3603 /* IBM XL C 1.02.0.0 rejects this.
3604 It does not let you subtract one const X* pointer from another in
3605 an arm of an if-expression whose if-part is not a constant
3606 expression */
3607 const char *g = "string";
3608 pcpcc = &g + (g ? g-g : 0);
3609 /* HPUX 7.0 cc rejects these. */
3610 ++pcpcc;
3611 ppc = (char**) pcpcc;
3612 pcpcc = (char const *const *) ppc;
3613 { /* SCO 3.2v4 cc rejects this sort of thing. */
3614 char tx;
3615 char *t = &tx;
3616 char const *s = 0 ? (char *) 0 : (char const *) 0;
3617
3618 *t++ = 0;
3619 if (s) return 0;
3620 }
3621 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
3622 int x[] = {25, 17};
3623 const int *foo = &x[0];
3624 ++foo;
3625 }
3626 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
3627 typedef const int *iptr;
3628 iptr p = 0;
3629 ++p;
3630 }
3631 { /* IBM XL C 1.02.0.0 rejects this sort of thing, saying
3632 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
3633 struct s { int j; const int *ap[3]; } bx;
3634 struct s *b = &bx; b->j = 5;
3635 }
3636 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
3637 const int foo = 10;
3638 if (!foo) return 0;
3639 }
3640 return !cs[0] && !zero.x;
3641 #endif
3642
3643 ;
3644 return 0;
3645 }
3646 _ACEOF
3647 if ac_fn_c_try_compile "$LINENO"
3648 then :
3649 ac_cv_c_const=yes
3650 else $as_nop
3651 ac_cv_c_const=no
3652 fi
3653 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3654 fi
3655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
3656 printf "%s\n" "$ac_cv_c_const" >&6; }
3657 if test $ac_cv_c_const = no; then
3658
3659 printf "%s\n" "#define const /**/" >>confdefs.h
3660
3661 fi
3662
3663 ac_ext=c
3664 ac_cpp='$CPP $CPPFLAGS'
3665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
3669 printf %s "checking how to run the C preprocessor... " >&6; }
3670 # On Suns, sometimes $CPP names a directory.
3671 if test -n "$CPP" && test -d "$CPP"; then
3672 CPP=
3673 fi
3674 if test -z "$CPP"; then
3675 if test ${ac_cv_prog_CPP+y}
3676 then :
3677 printf %s "(cached) " >&6
3678 else $as_nop
3679 # Double quotes because $CC needs to be expanded
3680 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
3681 do
3682 ac_preproc_ok=false
3683 for ac_c_preproc_warn_flag in '' yes
3684 do
3685 # Use a header file that comes with gcc, so configuring glibc
3686 # with a fresh cross-compiler works.
3687 # On the NeXT, cc -E runs the code through the compiler's parser,
3688 # not just through cpp. "Syntax error" is here to catch this case.
3689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3690 /* end confdefs.h. */
3691 #include <limits.h>
3692 Syntax error
3693 _ACEOF
3694 if ac_fn_c_try_cpp "$LINENO"
3695 then :
3696
3697 else $as_nop
3698 # Broken: fails on valid input.
3699 continue
3700 fi
3701 rm -f conftest.err conftest.i conftest.$ac_ext
3702
3703 # OK, works on sane cases. Now check whether nonexistent headers
3704 # can be detected and how.
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3707 #include <ac_nonexistent.h>
3708 _ACEOF
3709 if ac_fn_c_try_cpp "$LINENO"
3710 then :
3711 # Broken: success on invalid input.
3712 continue
3713 else $as_nop
3714 # Passes both tests.
3715 ac_preproc_ok=:
3716 break
3717 fi
3718 rm -f conftest.err conftest.i conftest.$ac_ext
3719
3720 done
3721 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3722 rm -f conftest.i conftest.err conftest.$ac_ext
3723 if $ac_preproc_ok
3724 then :
3725 break
3726 fi
3727
3728 done
3729 ac_cv_prog_CPP=$CPP
3730
3731 fi
3732 CPP=$ac_cv_prog_CPP
3733 else
3734 ac_cv_prog_CPP=$CPP
3735 fi
3736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
3737 printf "%s\n" "$CPP" >&6; }
3738 ac_preproc_ok=false
3739 for ac_c_preproc_warn_flag in '' yes
3740 do
3741 # Use a header file that comes with gcc, so configuring glibc
3742 # with a fresh cross-compiler works.
3743 # On the NeXT, cc -E runs the code through the compiler's parser,
3744 # not just through cpp. "Syntax error" is here to catch this case.
3745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3746 /* end confdefs.h. */
3747 #include <limits.h>
3748 Syntax error
3749 _ACEOF
3750 if ac_fn_c_try_cpp "$LINENO"
3751 then :
3752
3753 else $as_nop
3754 # Broken: fails on valid input.
3755 continue
3756 fi
3757 rm -f conftest.err conftest.i conftest.$ac_ext
3758
3759 # OK, works on sane cases. Now check whether nonexistent headers
3760 # can be detected and how.
3761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3762 /* end confdefs.h. */
3763 #include <ac_nonexistent.h>
3764 _ACEOF
3765 if ac_fn_c_try_cpp "$LINENO"
3766 then :
3767 # Broken: success on invalid input.
3768 continue
3769 else $as_nop
3770 # Passes both tests.
3771 ac_preproc_ok=:
3772 break
3773 fi
3774 rm -f conftest.err conftest.i conftest.$ac_ext
3775
3776 done
3777 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
3778 rm -f conftest.i conftest.err conftest.$ac_ext
3779 if $ac_preproc_ok
3780 then :
3781
3782 else $as_nop
3783 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3784 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3785 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
3786 See \`config.log' for more details" "$LINENO" 5; }
3787 fi
3788
3789 ac_ext=c
3790 ac_cpp='$CPP $CPPFLAGS'
3791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3794
3795
3796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3797 printf %s "checking for grep that handles long lines and -e... " >&6; }
3798 if test ${ac_cv_path_GREP+y}
3799 then :
3800 printf %s "(cached) " >&6
3801 else $as_nop
3802 if test -z "$GREP"; then
3803 ac_path_GREP_found=false
3804 # Loop through the user's path and test for each of PROGNAME-LIST
3805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3806 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3807 do
3808 IFS=$as_save_IFS
3809 case $as_dir in #(((
3810 '') as_dir=./ ;;
3811 */) ;;
3812 *) as_dir=$as_dir/ ;;
3813 esac
3814 for ac_prog in grep ggrep
3815 do
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
3818 as_fn_executable_p "$ac_path_GREP" || continue
3819 # Check for GNU ac_path_GREP and select it if it is found.
3820 # Check for GNU $ac_path_GREP
3821 case `"$ac_path_GREP" --version 2>&1` in
3822 *GNU*)
3823 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3824 *)
3825 ac_count=0
3826 printf %s 0123456789 >"conftest.in"
3827 while :
3828 do
3829 cat "conftest.in" "conftest.in" >"conftest.tmp"
3830 mv "conftest.tmp" "conftest.in"
3831 cp "conftest.in" "conftest.nl"
3832 printf "%s\n" 'GREP' >> "conftest.nl"
3833 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3834 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3835 as_fn_arith $ac_count + 1 && ac_count=$as_val
3836 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3837 # Best one so far, save it but keep looking for a better one
3838 ac_cv_path_GREP="$ac_path_GREP"
3839 ac_path_GREP_max=$ac_count
3840 fi
3841 # 10*(2^10) chars as input seems more than enough
3842 test $ac_count -gt 10 && break
3843 done
3844 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3845 esac
3846
3847 $ac_path_GREP_found && break 3
3848 done
3849 done
3850 done
3851 IFS=$as_save_IFS
3852 if test -z "$ac_cv_path_GREP"; then
3853 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3854 fi
3855 else
3856 ac_cv_path_GREP=$GREP
3857 fi
3858
3859 fi
3860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3861 printf "%s\n" "$ac_cv_path_GREP" >&6; }
3862 GREP="$ac_cv_path_GREP"
3863
3864
3865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3866 printf %s "checking for egrep... " >&6; }
3867 if test ${ac_cv_path_EGREP+y}
3868 then :
3869 printf %s "(cached) " >&6
3870 else $as_nop
3871 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3872 then ac_cv_path_EGREP="$GREP -E"
3873 else
3874 if test -z "$EGREP"; then
3875 ac_path_EGREP_found=false
3876 # Loop through the user's path and test for each of PROGNAME-LIST
3877 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3878 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3879 do
3880 IFS=$as_save_IFS
3881 case $as_dir in #(((
3882 '') as_dir=./ ;;
3883 */) ;;
3884 *) as_dir=$as_dir/ ;;
3885 esac
3886 for ac_prog in egrep
3887 do
3888 for ac_exec_ext in '' $ac_executable_extensions; do
3889 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
3890 as_fn_executable_p "$ac_path_EGREP" || continue
3891 # Check for GNU ac_path_EGREP and select it if it is found.
3892 # Check for GNU $ac_path_EGREP
3893 case `"$ac_path_EGREP" --version 2>&1` in
3894 *GNU*)
3895 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3896 *)
3897 ac_count=0
3898 printf %s 0123456789 >"conftest.in"
3899 while :
3900 do
3901 cat "conftest.in" "conftest.in" >"conftest.tmp"
3902 mv "conftest.tmp" "conftest.in"
3903 cp "conftest.in" "conftest.nl"
3904 printf "%s\n" 'EGREP' >> "conftest.nl"
3905 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3906 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3907 as_fn_arith $ac_count + 1 && ac_count=$as_val
3908 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3909 # Best one so far, save it but keep looking for a better one
3910 ac_cv_path_EGREP="$ac_path_EGREP"
3911 ac_path_EGREP_max=$ac_count
3912 fi
3913 # 10*(2^10) chars as input seems more than enough
3914 test $ac_count -gt 10 && break
3915 done
3916 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3917 esac
3918
3919 $ac_path_EGREP_found && break 3
3920 done
3921 done
3922 done
3923 IFS=$as_save_IFS
3924 if test -z "$ac_cv_path_EGREP"; then
3925 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3926 fi
3927 else
3928 ac_cv_path_EGREP=$EGREP
3929 fi
3930
3931 fi
3932 fi
3933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3934 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
3935 EGREP="$ac_cv_path_EGREP"
3936
3937
3938 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for uid_t in sys/types.h" >&5
3939 printf %s "checking for uid_t in sys/types.h... " >&6; }
3940 if test ${ac_cv_type_uid_t+y}
3941 then :
3942 printf %s "(cached) " >&6
3943 else $as_nop
3944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3945 /* end confdefs.h. */
3946 #include <sys/types.h>
3947
3948 _ACEOF
3949 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3950 $EGREP "uid_t" >/dev/null 2>&1
3951 then :
3952 ac_cv_type_uid_t=yes
3953 else $as_nop
3954 ac_cv_type_uid_t=no
3955 fi
3956 rm -rf conftest*
3957
3958 fi
3959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_uid_t" >&5
3960 printf "%s\n" "$ac_cv_type_uid_t" >&6; }
3961 if test $ac_cv_type_uid_t = no; then
3962
3963 printf "%s\n" "#define uid_t int" >>confdefs.h
3964
3965
3966 printf "%s\n" "#define gid_t int" >>confdefs.h
3967
3968 fi
3969
3970 ac_header= ac_cache=
3971 for ac_item in $ac_header_c_list
3972 do
3973 if test $ac_cache; then
3974 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3975 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3976 printf "%s\n" "#define $ac_item 1" >> confdefs.h
3977 fi
3978 ac_header= ac_cache=
3979 elif test $ac_header; then
3980 ac_cache=$ac_item
3981 else
3982 ac_header=$ac_item
3983 fi
3984 done
3985
3986
3987
3988
3989
3990
3991
3992
3993 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3994 then :
3995
3996 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3997
3998 fi
3999
4000 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default
4001 "
4002 if test "x$ac_cv_type_pid_t" = xyes
4003 then :
4004
4005 else $as_nop
4006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4007 /* end confdefs.h. */
4008
4009 #if defined _WIN64 && !defined __CYGWIN__
4010 LLP64
4011 #endif
4012
4013 int
4014 main (void)
4015 {
4016
4017 ;
4018 return 0;
4019 }
4020
4021 _ACEOF
4022 if ac_fn_c_try_compile "$LINENO"
4023 then :
4024 ac_pid_type='int'
4025 else $as_nop
4026 ac_pid_type='__int64'
4027 fi
4028 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4029
4030 printf "%s\n" "#define pid_t $ac_pid_type" >>confdefs.h
4031
4032
4033 fi
4034
4035
4036 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
4037 if test "x$ac_cv_type_size_t" = xyes
4038 then :
4039
4040 else $as_nop
4041
4042 printf "%s\n" "#define size_t unsigned int" >>confdefs.h
4043
4044 fi
4045
4046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers" >&5
4047 printf %s "checking return type of signal handlers... " >&6; }
4048 if test ${ac_cv_type_signal+y}
4049 then :
4050 printf %s "(cached) " >&6
4051 else $as_nop
4052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4053 /* end confdefs.h. */
4054 #include <sys/types.h>
4055 #include <signal.h>
4056
4057 int
4058 main (void)
4059 {
4060 return *(signal (0, 0)) (0) == 1;
4061 ;
4062 return 0;
4063 }
4064 _ACEOF
4065 if ac_fn_c_try_compile "$LINENO"
4066 then :
4067 ac_cv_type_signal=int
4068 else $as_nop
4069 ac_cv_type_signal=void
4070 fi
4071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4072 fi
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_signal" >&5
4074 printf "%s\n" "$ac_cv_type_signal" >&6; }
4075
4076 printf "%s\n" "#define RETSIGTYPE $ac_cv_type_signal" >>confdefs.h
4077
4078
4079 ac_fn_c_check_type "$LINENO" "useconds_t" "ac_cv_type_useconds_t" "$ac_includes_default"
4080 if test "x$ac_cv_type_useconds_t" = xyes
4081 then :
4082
4083 else $as_nop
4084
4085 printf "%s\n" "#define useconds_t int" >>confdefs.h
4086
4087 fi
4088
4089 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
4090 if test "x$ac_cv_type_ssize_t" = xyes
4091 then :
4092
4093 else $as_nop
4094
4095 printf "%s\n" "#define ssize_t int" >>confdefs.h
4096
4097 fi
4098
4099
4100
4101
4102
4103 ac_config_headers="$ac_config_headers config.h"
4104
4105 ac_header_dirent=no
4106 for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
4107 as_ac_Header=`printf "%s\n" "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
4108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_hdr that defines DIR" >&5
4109 printf %s "checking for $ac_hdr that defines DIR... " >&6; }
4110 if eval test \${$as_ac_Header+y}
4111 then :
4112 printf %s "(cached) " >&6
4113 else $as_nop
4114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4115 /* end confdefs.h. */
4116 #include <sys/types.h>
4117 #include <$ac_hdr>
4118
4119 int
4120 main (void)
4121 {
4122 if ((DIR *) 0)
4123 return 0;
4124 ;
4125 return 0;
4126 }
4127 _ACEOF
4128 if ac_fn_c_try_compile "$LINENO"
4129 then :
4130 eval "$as_ac_Header=yes"
4131 else $as_nop
4132 eval "$as_ac_Header=no"
4133 fi
4134 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4135 fi
4136 eval ac_res=\$$as_ac_Header
4137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
4138 printf "%s\n" "$ac_res" >&6; }
4139 if eval test \"x\$"$as_ac_Header"\" = x"yes"
4140 then :
4141 cat >>confdefs.h <<_ACEOF
4142 #define `printf "%s\n" "HAVE_$ac_hdr" | $as_tr_cpp` 1
4143 _ACEOF
4144
4145 ac_header_dirent=$ac_hdr; break
4146 fi
4147
4148 done
4149 # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
4150 if test $ac_header_dirent = dirent.h; then
4151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4152 printf %s "checking for library containing opendir... " >&6; }
4153 if test ${ac_cv_search_opendir+y}
4154 then :
4155 printf %s "(cached) " >&6
4156 else $as_nop
4157 ac_func_search_save_LIBS=$LIBS
4158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4159 /* end confdefs.h. */
4160
4161 /* Override any GCC internal prototype to avoid an error.
4162 Use char because int might match the return type of a GCC
4163 builtin and then its argument prototype would still apply. */
4164 char opendir ();
4165 int
4166 main (void)
4167 {
4168 return opendir ();
4169 ;
4170 return 0;
4171 }
4172 _ACEOF
4173 for ac_lib in '' dir
4174 do
4175 if test -z "$ac_lib"; then
4176 ac_res="none required"
4177 else
4178 ac_res=-l$ac_lib
4179 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4180 fi
4181 if ac_fn_c_try_link "$LINENO"
4182 then :
4183 ac_cv_search_opendir=$ac_res
4184 fi
4185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4186 conftest$ac_exeext
4187 if test ${ac_cv_search_opendir+y}
4188 then :
4189 break
4190 fi
4191 done
4192 if test ${ac_cv_search_opendir+y}
4193 then :
4194
4195 else $as_nop
4196 ac_cv_search_opendir=no
4197 fi
4198 rm conftest.$ac_ext
4199 LIBS=$ac_func_search_save_LIBS
4200 fi
4201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4202 printf "%s\n" "$ac_cv_search_opendir" >&6; }
4203 ac_res=$ac_cv_search_opendir
4204 if test "$ac_res" != no
4205 then :
4206 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4207
4208 fi
4209
4210 else
4211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing opendir" >&5
4212 printf %s "checking for library containing opendir... " >&6; }
4213 if test ${ac_cv_search_opendir+y}
4214 then :
4215 printf %s "(cached) " >&6
4216 else $as_nop
4217 ac_func_search_save_LIBS=$LIBS
4218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4219 /* end confdefs.h. */
4220
4221 /* Override any GCC internal prototype to avoid an error.
4222 Use char because int might match the return type of a GCC
4223 builtin and then its argument prototype would still apply. */
4224 char opendir ();
4225 int
4226 main (void)
4227 {
4228 return opendir ();
4229 ;
4230 return 0;
4231 }
4232 _ACEOF
4233 for ac_lib in '' x
4234 do
4235 if test -z "$ac_lib"; then
4236 ac_res="none required"
4237 else
4238 ac_res=-l$ac_lib
4239 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
4240 fi
4241 if ac_fn_c_try_link "$LINENO"
4242 then :
4243 ac_cv_search_opendir=$ac_res
4244 fi
4245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4246 conftest$ac_exeext
4247 if test ${ac_cv_search_opendir+y}
4248 then :
4249 break
4250 fi
4251 done
4252 if test ${ac_cv_search_opendir+y}
4253 then :
4254
4255 else $as_nop
4256 ac_cv_search_opendir=no
4257 fi
4258 rm conftest.$ac_ext
4259 LIBS=$ac_func_search_save_LIBS
4260 fi
4261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_opendir" >&5
4262 printf "%s\n" "$ac_cv_search_opendir" >&6; }
4263 ac_res=$ac_cv_search_opendir
4264 if test "$ac_res" != no
4265 then :
4266 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
4267
4268 fi
4269
4270 fi
4271
4272 # Autoupdate added the next two lines to ensure that your configure
4273 # script's behavior did not change. They are probably safe to remove.
4274
4275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
4276 printf %s "checking for egrep... " >&6; }
4277 if test ${ac_cv_path_EGREP+y}
4278 then :
4279 printf %s "(cached) " >&6
4280 else $as_nop
4281 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
4282 then ac_cv_path_EGREP="$GREP -E"
4283 else
4284 if test -z "$EGREP"; then
4285 ac_path_EGREP_found=false
4286 # Loop through the user's path and test for each of PROGNAME-LIST
4287 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4288 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
4289 do
4290 IFS=$as_save_IFS
4291 case $as_dir in #(((
4292 '') as_dir=./ ;;
4293 */) ;;
4294 *) as_dir=$as_dir/ ;;
4295 esac
4296 for ac_prog in egrep
4297 do
4298 for ac_exec_ext in '' $ac_executable_extensions; do
4299 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
4300 as_fn_executable_p "$ac_path_EGREP" || continue
4301 # Check for GNU ac_path_EGREP and select it if it is found.
4302 # Check for GNU $ac_path_EGREP
4303 case `"$ac_path_EGREP" --version 2>&1` in
4304 *GNU*)
4305 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
4306 *)
4307 ac_count=0
4308 printf %s 0123456789 >"conftest.in"
4309 while :
4310 do
4311 cat "conftest.in" "conftest.in" >"conftest.tmp"
4312 mv "conftest.tmp" "conftest.in"
4313 cp "conftest.in" "conftest.nl"
4314 printf "%s\n" 'EGREP' >> "conftest.nl"
4315 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
4316 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
4317 as_fn_arith $ac_count + 1 && ac_count=$as_val
4318 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
4319 # Best one so far, save it but keep looking for a better one
4320 ac_cv_path_EGREP="$ac_path_EGREP"
4321 ac_path_EGREP_max=$ac_count
4322 fi
4323 # 10*(2^10) chars as input seems more than enough
4324 test $ac_count -gt 10 && break
4325 done
4326 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
4327 esac
4328
4329 $ac_path_EGREP_found && break 3
4330 done
4331 done
4332 done
4333 IFS=$as_save_IFS
4334 if test -z "$ac_cv_path_EGREP"; then
4335 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
4336 fi
4337 else
4338 ac_cv_path_EGREP=$EGREP
4339 fi
4340
4341 fi
4342 fi
4343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
4344 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
4345 EGREP="$ac_cv_path_EGREP"
4346
4347
4348
4349
4350
4351 # Obsolete code to be removed.
4352 if test $ac_cv_header_sys_time_h = yes; then
4353
4354 printf "%s\n" "#define TIME_WITH_SYS_TIME 1" >>confdefs.h
4355
4356 fi
4357 # End of obsolete code.
4358
4359 ac_fn_c_check_header_compile "$LINENO" "dir.h" "ac_cv_header_dir_h" "$ac_includes_default"
4360 if test "x$ac_cv_header_dir_h" = xyes
4361 then :
4362 printf "%s\n" "#define HAVE_DIR_H 1" >>confdefs.h
4363
4364 fi
4365 ac_fn_c_check_header_compile "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
4366 if test "x$ac_cv_header_unistd_h" = xyes
4367 then :
4368 printf "%s\n" "#define HAVE_UNISTD_H 1" >>confdefs.h
4369
4370 fi
4371 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
4372 if test "x$ac_cv_header_pwd_h" = xyes
4373 then :
4374 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
4375
4376 fi
4377 ac_fn_c_check_header_compile "$LINENO" "fcntl.h" "ac_cv_header_fcntl_h" "$ac_includes_default"
4378 if test "x$ac_cv_header_fcntl_h" = xyes
4379 then :
4380 printf "%s\n" "#define HAVE_FCNTL_H 1" >>confdefs.h
4381
4382 fi
4383 ac_fn_c_check_header_compile "$LINENO" "io.h" "ac_cv_header_io_h" "$ac_includes_default"
4384 if test "x$ac_cv_header_io_h" = xyes
4385 then :
4386 printf "%s\n" "#define HAVE_IO_H 1" >>confdefs.h
4387
4388 fi
4389 ac_fn_c_check_header_compile "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
4390 if test "x$ac_cv_header_sys_time_h" = xyes
4391 then :
4392 printf "%s\n" "#define HAVE_SYS_TIME_H 1" >>confdefs.h
4393
4394 fi
4395 ac_fn_c_check_header_compile "$LINENO" "sys/file.h" "ac_cv_header_sys_file_h" "$ac_includes_default"
4396 if test "x$ac_cv_header_sys_file_h" = xyes
4397 then :
4398 printf "%s\n" "#define HAVE_SYS_FILE_H 1" >>confdefs.h
4399
4400 fi
4401
4402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for main in -lz" >&5
4403 printf %s "checking for main in -lz... " >&6; }
4404 if test ${ac_cv_lib_z_main+y}
4405 then :
4406 printf %s "(cached) " >&6
4407 else $as_nop
4408 ac_check_lib_save_LIBS=$LIBS
4409 LIBS="-lz $LIBS"
4410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4411 /* end confdefs.h. */
4412
4413
4414 int
4415 main (void)
4416 {
4417 return main ();
4418 ;
4419 return 0;
4420 }
4421 _ACEOF
4422 if ac_fn_c_try_link "$LINENO"
4423 then :
4424 ac_cv_lib_z_main=yes
4425 else $as_nop
4426 ac_cv_lib_z_main=no
4427 fi
4428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
4429 conftest$ac_exeext conftest.$ac_ext
4430 LIBS=$ac_check_lib_save_LIBS
4431 fi
4432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_main" >&5
4433 printf "%s\n" "$ac_cv_lib_z_main" >&6; }
4434 if test "x$ac_cv_lib_z_main" = xyes
4435 then :
4436 printf "%s\n" "#define HAVE_LIBZ 1" >>confdefs.h
4437
4438 LIBS="-lz $LIBS"
4439
4440 fi
4441
4442 ac_fn_c_check_func "$LINENO" "strncasecmp" "ac_cv_func_strncasecmp"
4443 if test "x$ac_cv_func_strncasecmp" = xyes
4444 then :
4445 printf "%s\n" "#define HAVE_STRNCASECMP 1" >>confdefs.h
4446
4447 fi
4448 ac_fn_c_check_func "$LINENO" "strnicmp" "ac_cv_func_strnicmp"
4449 if test "x$ac_cv_func_strnicmp" = xyes
4450 then :
4451 printf "%s\n" "#define HAVE_STRNICMP 1" >>confdefs.h
4452
4453 fi
4454 ac_fn_c_check_func "$LINENO" "memmove" "ac_cv_func_memmove"
4455 if test "x$ac_cv_func_memmove" = xyes
4456 then :
4457 printf "%s\n" "#define HAVE_MEMMOVE 1" >>confdefs.h
4458
4459 fi
4460 ac_fn_c_check_func "$LINENO" "fgetln" "ac_cv_func_fgetln"
4461 if test "x$ac_cv_func_fgetln" = xyes
4462 then :
4463 printf "%s\n" "#define HAVE_FGETLN 1" >>confdefs.h
4464
4465 fi
4466 ac_fn_c_check_func "$LINENO" "fork" "ac_cv_func_fork"
4467 if test "x$ac_cv_func_fork" = xyes
4468 then :
4469 printf "%s\n" "#define HAVE_FORK 1" >>confdefs.h
4470
4471 fi
4472 ac_fn_c_check_func "$LINENO" "getpwuid" "ac_cv_func_getpwuid"
4473 if test "x$ac_cv_func_getpwuid" = xyes
4474 then :
4475 printf "%s\n" "#define HAVE_GETPWUID 1" >>confdefs.h
4476
4477 fi
4478 ac_fn_c_check_func "$LINENO" "getlogin" "ac_cv_func_getlogin"
4479 if test "x$ac_cv_func_getlogin" = xyes
4480 then :
4481 printf "%s\n" "#define HAVE_GETLOGIN 1" >>confdefs.h
4482
4483 fi
4484 ac_fn_c_check_func "$LINENO" "usleep" "ac_cv_func_usleep"
4485 if test "x$ac_cv_func_usleep" = xyes
4486 then :
4487 printf "%s\n" "#define HAVE_USLEEP 1" >>confdefs.h
4488
4489 fi
4490 ac_fn_c_check_func "$LINENO" "Sleep" "ac_cv_func_Sleep"
4491 if test "x$ac_cv_func_Sleep" = xyes
4492 then :
4493 printf "%s\n" "#define HAVE_SLEEP 1" >>confdefs.h
4494
4495 fi
4496 ac_fn_c_check_func "$LINENO" "setmode" "ac_cv_func_setmode"
4497 if test "x$ac_cv_func_setmode" = xyes
4498 then :
4499 printf "%s\n" "#define HAVE_SETMODE 1" >>confdefs.h
4500
4501 fi
4502 ac_fn_c_check_func "$LINENO" "_setmode" "ac_cv_func__setmode"
4503 if test "x$ac_cv_func__setmode" = xyes
4504 then :
4505 printf "%s\n" "#define HAVE__SETMODE 1" >>confdefs.h
4506
4507 fi
4508 ac_fn_c_check_func "$LINENO" "chdir" "ac_cv_func_chdir"
4509 if test "x$ac_cv_func_chdir" = xyes
4510 then :
4511 printf "%s\n" "#define HAVE_CHDIR 1" >>confdefs.h
4512
4513 fi
4514 ac_fn_c_check_func "$LINENO" "_chdir2" "ac_cv_func__chdir2"
4515 if test "x$ac_cv_func__chdir2" = xyes
4516 then :
4517 printf "%s\n" "#define HAVE__CHDIR2 1" >>confdefs.h
4518
4519 fi
4520 ac_fn_c_check_func "$LINENO" "chmod" "ac_cv_func_chmod"
4521 if test "x$ac_cv_func_chmod" = xyes
4522 then :
4523 printf "%s\n" "#define HAVE_CHMOD 1" >>confdefs.h
4524
4525 fi
4526 ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
4527 if test "x$ac_cv_func_poll" = xyes
4528 then :
4529 printf "%s\n" "#define HAVE_POLL 1" >>confdefs.h
4530
4531 fi
4532 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
4533 if test "x$ac_cv_func_futimes" = xyes
4534 then :
4535 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
4536
4537 fi
4538 ac_fn_c_check_func "$LINENO" "fchmod" "ac_cv_func_fchmod"
4539 if test "x$ac_cv_func_fchmod" = xyes
4540 then :
4541 printf "%s\n" "#define HAVE_FCHMOD 1" >>confdefs.h
4542
4543 fi
4544 ac_fn_c_check_func "$LINENO" "flock" "ac_cv_func_flock"
4545 if test "x$ac_cv_func_flock" = xyes
4546 then :
4547 printf "%s\n" "#define HAVE_FLOCK 1" >>confdefs.h
4548
4549 fi
4550 ac_fn_c_check_func "$LINENO" "lockf" "ac_cv_func_lockf"
4551 if test "x$ac_cv_func_lockf" = xyes
4552 then :
4553 printf "%s\n" "#define HAVE_LOCKF 1" >>confdefs.h
4554
4555 fi
4556 ac_fn_c_check_func "$LINENO" "snprintf" "ac_cv_func_snprintf"
4557 if test "x$ac_cv_func_snprintf" = xyes
4558 then :
4559 printf "%s\n" "#define HAVE_SNPRINTF 1" >>confdefs.h
4560
4561 fi
4562 ac_fn_c_check_func "$LINENO" "utimes" "ac_cv_func_utimes"
4563 if test "x$ac_cv_func_utimes" = xyes
4564 then :
4565 printf "%s\n" "#define HAVE_UTIMES 1" >>confdefs.h
4566
4567 fi
4568
4569
4570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if SIGALRM is defined" >&5
4571 printf %s "checking if SIGALRM is defined... " >&6; }
4572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4573 /* end confdefs.h. */
4574 #include <signal.h>
4575 int
4576 main (void)
4577 {
4578 int i = SIGALRM;
4579 ;
4580 return 0;
4581 }
4582 _ACEOF
4583 if ac_fn_c_try_compile "$LINENO"
4584 then :
4585 mew_cv_sigalrm=yes
4586 else $as_nop
4587 mew_cv_sigalrm=no
4588 fi
4589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $mew_cv_sigalrm" >&5
4591 printf "%s\n" "$mew_cv_sigalrm" >&6; }
4592 if test x$mew_cv_sigalrm = xyes; then
4593 printf "%s\n" "#define HAVE_SIGALRM 1" >>confdefs.h
4594
4595 fi
4596
4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking if SIGHUP is defined" >&5
4598 printf %s "checking if SIGHUP is defined... " >&6; }
4599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4600 /* end confdefs.h. */
4601 #include <signal.h>
4602 int
4603 main (void)
4604 {
4605 int i = SIGHUP;
4606 ;
4607 return 0;
4608 }
4609 _ACEOF
4610 if ac_fn_c_try_compile "$LINENO"
4611 then :
4612 mew_cv_sighup=yes
4613 else $as_nop
4614 mew_cv_sighup=no
4615 fi
4616 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
4617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $mew_cv_sighup" >&5
4618 printf "%s\n" "$mew_cv_sighup" >&6; }
4619 if test x$mew_cv_sighup = xyes; then
4620 printf "%s\n" "#define HAVE_SIGHUP 1" >>confdefs.h
4621
4622 fi
4623
4624 if test "$GCC" = "yes"; then
4625 CFLAGS="$CFLAGS -Wall"
4626 fi
4627
4628 ac_config_files="$ac_config_files Makefile"
4629
4630 cat >confcache <<\_ACEOF
4631 # This file is a shell script that caches the results of configure
4632 # tests run on this system so they can be shared between configure
4633 # scripts and configure runs, see configure's option --config-cache.
4634 # It is not useful on other systems. If it contains results you don't
4635 # want to keep, you may remove or edit it.
4636 #
4637 # config.status only pays attention to the cache file if you give it
4638 # the --recheck option to rerun configure.
4639 #
4640 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4641 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4642 # following values.
4643
4644 _ACEOF
4645
4646 # The following way of writing the cache mishandles newlines in values,
4647 # but we know of no workaround that is simple, portable, and efficient.
4648 # So, we kill variables containing newlines.
4649 # Ultrix sh set writes to stderr and can't be redirected directly,
4650 # and sets the high bit in the cache file unless we assign to the vars.
4651 (
4652 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4653 eval ac_val=\$$ac_var
4654 case $ac_val in #(
4655 *${as_nl}*)
4656 case $ac_var in #(
4657 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4658 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4659 esac
4660 case $ac_var in #(
4661 _ | IFS | as_nl) ;; #(
4662 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4663 *) { eval $ac_var=; unset $ac_var;} ;;
4664 esac ;;
4665 esac
4666 done
4667
4668 (set) 2>&1 |
4669 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4670 *${as_nl}ac_space=\ *)
4671 # `set' does not quote correctly, so add quotes: double-quote
4672 # substitution turns \\\\ into \\, and sed turns \\ into \.
4673 sed -n \
4674 "s/'/'\\\\''/g;
4675 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4676 ;; #(
4677 *)
4678 # `set' quotes correctly as required by POSIX, so do not add quotes.
4679 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4680 ;;
4681 esac |
4682 sort
4683 ) |
4684 sed '
4685 /^ac_cv_env_/b end
4686 t clear
4687 :clear
4688 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4689 t end
4690 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4691 :end' >>confcache
4692 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4693 if test -w "$cache_file"; then
4694 if test "x$cache_file" != "x/dev/null"; then
4695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4696 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4697 if test ! -f "$cache_file" || test -h "$cache_file"; then
4698 cat confcache >"$cache_file"
4699 else
4700 case $cache_file in #(
4701 */* | ?:*)
4702 mv -f confcache "$cache_file"$$ &&
4703 mv -f "$cache_file"$$ "$cache_file" ;; #(
4704 *)
4705 mv -f confcache "$cache_file" ;;
4706 esac
4707 fi
4708 fi
4709 else
4710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4711 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4712 fi
4713 fi
4714 rm -f confcache
4715
4716 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4717 # Let make expand exec_prefix.
4718 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4719
4720 DEFS=-DHAVE_CONFIG_H
4721
4722 ac_libobjs=
4723 ac_ltlibobjs=
4724 U=
4725 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4726 # 1. Remove the extension, and $U if already installed.
4727 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4728 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
4729 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4730 # will be set to the directory where LIBOBJS objects are built.
4731 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4732 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4733 done
4734 LIBOBJS=$ac_libobjs
4735
4736 LTLIBOBJS=$ac_ltlibobjs
4737
4738
4739
4740 : "${CONFIG_STATUS=./config.status}"
4741 ac_write_fail=0
4742 ac_clean_files_save=$ac_clean_files
4743 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4745 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4746 as_write_fail=0
4747 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4748 #! $SHELL
4749 # Generated by $as_me.
4750 # Run this file to recreate the current configuration.
4751 # Compiler output produced by configure, useful for debugging
4752 # configure, is in config.log if it exists.
4753
4754 debug=false
4755 ac_cs_recheck=false
4756 ac_cs_silent=false
4757
4758 SHELL=\${CONFIG_SHELL-$SHELL}
4759 export SHELL
4760 _ASEOF
4761 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4762 ## -------------------- ##
4763 ## M4sh Initialization. ##
4764 ## -------------------- ##
4765
4766 # Be more Bourne compatible
4767 DUALCASE=1; export DUALCASE # for MKS sh
4768 as_nop=:
4769 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4770 then :
4771 emulate sh
4772 NULLCMD=:
4773 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4774 # is contrary to our usage. Disable this feature.
4775 alias -g '${1+"$@"}'='"$@"'
4776 setopt NO_GLOB_SUBST
4777 else $as_nop
4778 case `(set -o) 2>/dev/null` in #(
4779 *posix*) :
4780 set -o posix ;; #(
4781 *) :
4782 ;;
4783 esac
4784 fi
4785
4786
4787
4788 # Reset variables that may have inherited troublesome values from
4789 # the environment.
4790
4791 # IFS needs to be set, to space, tab, and newline, in precisely that order.
4792 # (If _AS_PATH_WALK were called with IFS unset, it would have the
4793 # side effect of setting IFS to empty, thus disabling word splitting.)
4794 # Quoting is to prevent editors from complaining about space-tab.
4795 as_nl='
4796 '
4797 export as_nl
4798 IFS=" "" $as_nl"
4799
4800 PS1='$ '
4801 PS2='> '
4802 PS4='+ '
4803
4804 # Ensure predictable behavior from utilities with locale-dependent output.
4805 LC_ALL=C
4806 export LC_ALL
4807 LANGUAGE=C
4808 export LANGUAGE
4809
4810 # We cannot yet rely on "unset" to work, but we need these variables
4811 # to be unset--not just set to an empty or harmless value--now, to
4812 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
4813 # also avoids known problems related to "unset" and subshell syntax
4814 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4815 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4816 do eval test \${$as_var+y} \
4817 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4818 done
4819
4820 # Ensure that fds 0, 1, and 2 are open.
4821 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4822 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4823 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
4824
4825 # The user is always right.
4826 if ${PATH_SEPARATOR+false} :; then
4827 PATH_SEPARATOR=:
4828 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4829 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4830 PATH_SEPARATOR=';'
4831 }
4832 fi
4833
4834
4835 # Find who we are. Look in the path if we contain no directory separator.
4836 as_myself=
4837 case $0 in #((
4838 *[\\/]* ) as_myself=$0 ;;
4839 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4840 for as_dir in $PATH
4841 do
4842 IFS=$as_save_IFS
4843 case $as_dir in #(((
4844 '') as_dir=./ ;;
4845 */) ;;
4846 *) as_dir=$as_dir/ ;;
4847 esac
4848 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
4849 done
4850 IFS=$as_save_IFS
4851
4852 ;;
4853 esac
4854 # We did not find ourselves, most probably we were run as `sh COMMAND'
4855 # in which case we are not to be found in the path.
4856 if test "x$as_myself" = x; then
4857 as_myself=$0
4858 fi
4859 if test ! -f "$as_myself"; then
4860 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4861 exit 1
4862 fi
4863
4864
4865
4866 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4867 # ----------------------------------------
4868 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4869 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4870 # script with STATUS, using 1 if that was 0.
4871 as_fn_error ()
4872 {
4873 as_status=$1; test $as_status -eq 0 && as_status=1
4874 if test "$4"; then
4875 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4876 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4877 fi
4878 printf "%s\n" "$as_me: error: $2" >&2
4879 as_fn_exit $as_status
4880 } # as_fn_error
4881
4882
4883
4884 # as_fn_set_status STATUS
4885 # -----------------------
4886 # Set $? to STATUS, without forking.
4887 as_fn_set_status ()
4888 {
4889 return $1
4890 } # as_fn_set_status
4891
4892 # as_fn_exit STATUS
4893 # -----------------
4894 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4895 as_fn_exit ()
4896 {
4897 set +e
4898 as_fn_set_status $1
4899 exit $1
4900 } # as_fn_exit
4901
4902 # as_fn_unset VAR
4903 # ---------------
4904 # Portably unset VAR.
4905 as_fn_unset ()
4906 {
4907 { eval $1=; unset $1;}
4908 }
4909 as_unset=as_fn_unset
4910
4911 # as_fn_append VAR VALUE
4912 # ----------------------
4913 # Append the text in VALUE to the end of the definition contained in VAR. Take
4914 # advantage of any shell optimizations that allow amortized linear growth over
4915 # repeated appends, instead of the typical quadratic growth present in naive
4916 # implementations.
4917 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
4918 then :
4919 eval 'as_fn_append ()
4920 {
4921 eval $1+=\$2
4922 }'
4923 else $as_nop
4924 as_fn_append ()
4925 {
4926 eval $1=\$$1\$2
4927 }
4928 fi # as_fn_append
4929
4930 # as_fn_arith ARG...
4931 # ------------------
4932 # Perform arithmetic evaluation on the ARGs, and store the result in the
4933 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4934 # must be portable across $(()) and expr.
4935 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4936 then :
4937 eval 'as_fn_arith ()
4938 {
4939 as_val=$(( $* ))
4940 }'
4941 else $as_nop
4942 as_fn_arith ()
4943 {
4944 as_val=`expr "$@" || test $? -eq 1`
4945 }
4946 fi # as_fn_arith
4947
4948
4949 if expr a : '\(a\)' >/dev/null 2>&1 &&
4950 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4951 as_expr=expr
4952 else
4953 as_expr=false
4954 fi
4955
4956 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4957 as_basename=basename
4958 else
4959 as_basename=false
4960 fi
4961
4962 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4963 as_dirname=dirname
4964 else
4965 as_dirname=false
4966 fi
4967
4968 as_me=`$as_basename -- "$0" ||
4969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4970 X"$0" : 'X\(//\)$' \| \
4971 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4972 printf "%s\n" X/"$0" |
4973 sed '/^.*\/\([^/][^/]*\)\/*$/{
4974 s//\1/
4975 q
4976 }
4977 /^X\/\(\/\/\)$/{
4978 s//\1/
4979 q
4980 }
4981 /^X\/\(\/\).*/{
4982 s//\1/
4983 q
4984 }
4985 s/.*/./; q'`
4986
4987 # Avoid depending upon Character Ranges.
4988 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4989 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4990 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4991 as_cr_digits='0123456789'
4992 as_cr_alnum=$as_cr_Letters$as_cr_digits
4993
4994
4995 # Determine whether it's possible to make 'echo' print without a newline.
4996 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
4997 # for compatibility with existing Makefiles.
4998 ECHO_C= ECHO_N= ECHO_T=
4999 case `echo -n x` in #(((((
5000 -n*)
5001 case `echo 'xy\c'` in
5002 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
5003 xy) ECHO_C='\c';;
5004 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
5005 ECHO_T=' ';;
5006 esac;;
5007 *)
5008 ECHO_N='-n';;
5009 esac
5010
5011 # For backward compatibility with old third-party macros, we provide
5012 # the shell variables $as_echo and $as_echo_n. New code should use
5013 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
5014 as_echo='printf %s\n'
5015 as_echo_n='printf %s'
5016
5017 rm -f conf$$ conf$$.exe conf$$.file
5018 if test -d conf$$.dir; then
5019 rm -f conf$$.dir/conf$$.file
5020 else
5021 rm -f conf$$.dir
5022 mkdir conf$$.dir 2>/dev/null
5023 fi
5024 if (echo >conf$$.file) 2>/dev/null; then
5025 if ln -s conf$$.file conf$$ 2>/dev/null; then
5026 as_ln_s='ln -s'
5027 # ... but there are two gotchas:
5028 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
5029 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
5030 # In both cases, we have to default to `cp -pR'.
5031 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
5032 as_ln_s='cp -pR'
5033 elif ln conf$$.file conf$$ 2>/dev/null; then
5034 as_ln_s=ln
5035 else
5036 as_ln_s='cp -pR'
5037 fi
5038 else
5039 as_ln_s='cp -pR'
5040 fi
5041 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
5042 rmdir conf$$.dir 2>/dev/null
5043
5044
5045 # as_fn_mkdir_p
5046 # -------------
5047 # Create "$as_dir" as a directory, including parents if necessary.
5048 as_fn_mkdir_p ()
5049 {
5050
5051 case $as_dir in #(
5052 -*) as_dir=./$as_dir;;
5053 esac
5054 test -d "$as_dir" || eval $as_mkdir_p || {
5055 as_dirs=
5056 while :; do
5057 case $as_dir in #(
5058 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
5059 *) as_qdir=$as_dir;;
5060 esac
5061 as_dirs="'$as_qdir' $as_dirs"
5062 as_dir=`$as_dirname -- "$as_dir" ||
5063 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5064 X"$as_dir" : 'X\(//\)[^/]' \| \
5065 X"$as_dir" : 'X\(//\)$' \| \
5066 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
5067 printf "%s\n" X"$as_dir" |
5068 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5069 s//\1/
5070 q
5071 }
5072 /^X\(\/\/\)[^/].*/{
5073 s//\1/
5074 q
5075 }
5076 /^X\(\/\/\)$/{
5077 s//\1/
5078 q
5079 }
5080 /^X\(\/\).*/{
5081 s//\1/
5082 q
5083 }
5084 s/.*/./; q'`
5085 test -d "$as_dir" && break
5086 done
5087 test -z "$as_dirs" || eval "mkdir $as_dirs"
5088 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
5089
5090
5091 } # as_fn_mkdir_p
5092 if mkdir -p . 2>/dev/null; then
5093 as_mkdir_p='mkdir -p "$as_dir"'
5094 else
5095 test -d ./-p && rmdir ./-p
5096 as_mkdir_p=false
5097 fi
5098
5099
5100 # as_fn_executable_p FILE
5101 # -----------------------
5102 # Test if FILE is an executable regular file.
5103 as_fn_executable_p ()
5104 {
5105 test -f "$1" && test -x "$1"
5106 } # as_fn_executable_p
5107 as_test_x='test -x'
5108 as_executable_p=as_fn_executable_p
5109
5110 # Sed expression to map a string onto a valid CPP name.
5111 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
5112
5113 # Sed expression to map a string onto a valid variable name.
5114 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
5115
5116
5117 exec 6>&1
5118 ## ----------------------------------- ##
5119 ## Main body of $CONFIG_STATUS script. ##
5120 ## ----------------------------------- ##
5121 _ASEOF
5122 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
5123
5124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5125 # Save the log message, to keep $0 and so on meaningful, and to
5126 # report actual input values of CONFIG_FILES etc. instead of their
5127 # values after options handling.
5128 ac_log="
5129 This file was extended by $as_me, which was
5130 generated by GNU Autoconf 2.71. Invocation command line was
5131
5132 CONFIG_FILES = $CONFIG_FILES
5133 CONFIG_HEADERS = $CONFIG_HEADERS
5134 CONFIG_LINKS = $CONFIG_LINKS
5135 CONFIG_COMMANDS = $CONFIG_COMMANDS
5136 $ $0 $@
5137
5138 on `(hostname || uname -n) 2>/dev/null | sed 1q`
5139 "
5140
5141 _ACEOF
5142
5143 case $ac_config_files in *"
5144 "*) set x $ac_config_files; shift; ac_config_files=$*;;
5145 esac
5146
5147 case $ac_config_headers in *"
5148 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
5149 esac
5150
5151
5152 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5153 # Files that config.status was made for.
5154 config_files="$ac_config_files"
5155 config_headers="$ac_config_headers"
5156
5157 _ACEOF
5158
5159 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5160 ac_cs_usage="\
5161 \`$as_me' instantiates files and other configuration actions
5162 from templates according to the current configuration. Unless the files
5163 and actions are specified as TAGs, all are instantiated by default.
5164
5165 Usage: $0 [OPTION]... [TAG]...
5166
5167 -h, --help print this help, then exit
5168 -V, --version print version number and configuration settings, then exit
5169 --config print configuration, then exit
5170 -q, --quiet, --silent
5171 do not print progress messages
5172 -d, --debug don't remove temporary files
5173 --recheck update $as_me by reconfiguring in the same conditions
5174 --file=FILE[:TEMPLATE]
5175 instantiate the configuration file FILE
5176 --header=FILE[:TEMPLATE]
5177 instantiate the configuration header FILE
5178
5179 Configuration files:
5180 $config_files
5181
5182 Configuration headers:
5183 $config_headers
5184
5185 Report bugs to the package provider."
5186
5187 _ACEOF
5188 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
5189 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
5190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5191 ac_cs_config='$ac_cs_config_escaped'
5192 ac_cs_version="\\
5193 config.status
5194 configured by $0, generated by GNU Autoconf 2.71,
5195 with options \\"\$ac_cs_config\\"
5196
5197 Copyright (C) 2021 Free Software Foundation, Inc.
5198 This config.status script is free software; the Free Software Foundation
5199 gives unlimited permission to copy, distribute and modify it."
5200
5201 ac_pwd='$ac_pwd'
5202 srcdir='$srcdir'
5203 INSTALL='$INSTALL'
5204 test -n "\$AWK" || AWK=awk
5205 _ACEOF
5206
5207 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5208 # The default lists apply if the user does not specify any file.
5209 ac_need_defaults=:
5210 while test $# != 0
5211 do
5212 case $1 in
5213 --*=?*)
5214 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5215 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
5216 ac_shift=:
5217 ;;
5218 --*=)
5219 ac_option=`expr "X$1" : 'X\([^=]*\)='`
5220 ac_optarg=
5221 ac_shift=:
5222 ;;
5223 *)
5224 ac_option=$1
5225 ac_optarg=$2
5226 ac_shift=shift
5227 ;;
5228 esac
5229
5230 case $ac_option in
5231 # Handling of the options.
5232 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
5233 ac_cs_recheck=: ;;
5234 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
5235 printf "%s\n" "$ac_cs_version"; exit ;;
5236 --config | --confi | --conf | --con | --co | --c )
5237 printf "%s\n" "$ac_cs_config"; exit ;;
5238 --debug | --debu | --deb | --de | --d | -d )
5239 debug=: ;;
5240 --file | --fil | --fi | --f )
5241 $ac_shift
5242 case $ac_optarg in
5243 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5244 '') as_fn_error $? "missing file argument" ;;
5245 esac
5246 as_fn_append CONFIG_FILES " '$ac_optarg'"
5247 ac_need_defaults=false;;
5248 --header | --heade | --head | --hea )
5249 $ac_shift
5250 case $ac_optarg in
5251 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
5252 esac
5253 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
5254 ac_need_defaults=false;;
5255 --he | --h)
5256 # Conflict between --help and --header
5257 as_fn_error $? "ambiguous option: \`$1'
5258 Try \`$0 --help' for more information.";;
5259 --help | --hel | -h )
5260 printf "%s\n" "$ac_cs_usage"; exit ;;
5261 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
5262 | -silent | --silent | --silen | --sile | --sil | --si | --s)
5263 ac_cs_silent=: ;;
5264
5265 # This is an error.
5266 -*) as_fn_error $? "unrecognized option: \`$1'
5267 Try \`$0 --help' for more information." ;;
5268
5269 *) as_fn_append ac_config_targets " $1"
5270 ac_need_defaults=false ;;
5271
5272 esac
5273 shift
5274 done
5275
5276 ac_configure_extra_args=
5277
5278 if $ac_cs_silent; then
5279 exec 6>/dev/null
5280 ac_configure_extra_args="$ac_configure_extra_args --silent"
5281 fi
5282
5283 _ACEOF
5284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5285 if \$ac_cs_recheck; then
5286 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
5287 shift
5288 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
5289 CONFIG_SHELL='$SHELL'
5290 export CONFIG_SHELL
5291 exec "\$@"
5292 fi
5293
5294 _ACEOF
5295 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5296 exec 5>>config.log
5297 {
5298 echo
5299 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
5300 ## Running $as_me. ##
5301 _ASBOX
5302 printf "%s\n" "$ac_log"
5303 } >&5
5304
5305 _ACEOF
5306 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5307 _ACEOF
5308
5309 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5310
5311 # Handling of arguments.
5312 for ac_config_target in $ac_config_targets
5313 do
5314 case $ac_config_target in
5315 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
5316 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
5317
5318 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
5319 esac
5320 done
5321
5322
5323 # If the user did not use the arguments to specify the items to instantiate,
5324 # then the envvar interface is used. Set only those that are not.
5325 # We use the long form for the default assignment because of an extremely
5326 # bizarre bug on SunOS 4.1.3.
5327 if $ac_need_defaults; then
5328 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
5329 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
5330 fi
5331
5332 # Have a temporary directory for convenience. Make it in the build tree
5333 # simply because there is no reason against having it here, and in addition,
5334 # creating and moving files from /tmp can sometimes cause problems.
5335 # Hook for its removal unless debugging.
5336 # Note that there is a small window in which the directory will not be cleaned:
5337 # after its creation but before its name has been assigned to `$tmp'.
5338 $debug ||
5339 {
5340 tmp= ac_tmp=
5341 trap 'exit_status=$?
5342 : "${ac_tmp:=$tmp}"
5343 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
5344 ' 0
5345 trap 'as_fn_exit 1' 1 2 13 15
5346 }
5347 # Create a (secure) tmp directory for tmp files.
5348
5349 {
5350 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
5351 test -d "$tmp"
5352 } ||
5353 {
5354 tmp=./conf$$-$RANDOM
5355 (umask 077 && mkdir "$tmp")
5356 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
5357 ac_tmp=$tmp
5358
5359 # Set up the scripts for CONFIG_FILES section.
5360 # No need to generate them if there are no CONFIG_FILES.
5361 # This happens for instance with `./config.status config.h'.
5362 if test -n "$CONFIG_FILES"; then
5363
5364
5365 ac_cr=`echo X | tr X '\015'`
5366 # On cygwin, bash can eat \r inside `` if the user requested igncr.
5367 # But we know of no other shell where ac_cr would be empty at this
5368 # point, so we can use a bashism as a fallback.
5369 if test "x$ac_cr" = x; then
5370 eval ac_cr=\$\'\\r\'
5371 fi
5372 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
5373 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
5374 ac_cs_awk_cr='\\r'
5375 else
5376 ac_cs_awk_cr=$ac_cr
5377 fi
5378
5379 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
5380 _ACEOF
5381
5382
5383 {
5384 echo "cat >conf$$subs.awk <<_ACEOF" &&
5385 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
5386 echo "_ACEOF"
5387 } >conf$$subs.sh ||
5388 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5389 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
5390 ac_delim='%!_!# '
5391 for ac_last_try in false false false false false :; do
5392 . ./conf$$subs.sh ||
5393 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5394
5395 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
5396 if test $ac_delim_n = $ac_delim_num; then
5397 break
5398 elif $ac_last_try; then
5399 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
5400 else
5401 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5402 fi
5403 done
5404 rm -f conf$$subs.sh
5405
5406 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5407 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
5408 _ACEOF
5409 sed -n '
5410 h
5411 s/^/S["/; s/!.*/"]=/
5412 p
5413 g
5414 s/^[^!]*!//
5415 :repl
5416 t repl
5417 s/'"$ac_delim"'$//
5418 t delim
5419 :nl
5420 h
5421 s/\(.\{148\}\)..*/\1/
5422 t more1
5423 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
5424 p
5425 n
5426 b repl
5427 :more1
5428 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5429 p
5430 g
5431 s/.\{148\}//
5432 t nl
5433 :delim
5434 h
5435 s/\(.\{148\}\)..*/\1/
5436 t more2
5437 s/["\\]/\\&/g; s/^/"/; s/$/"/
5438 p
5439 b
5440 :more2
5441 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
5442 p
5443 g
5444 s/.\{148\}//
5445 t delim
5446 ' <conf$$subs.awk | sed '
5447 /^[^""]/{
5448 N
5449 s/\n//
5450 }
5451 ' >>$CONFIG_STATUS || ac_write_fail=1
5452 rm -f conf$$subs.awk
5453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5454 _ACAWK
5455 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
5456 for (key in S) S_is_set[key] = 1
5457 FS = ""
5458
5459 }
5460 {
5461 line = $ 0
5462 nfields = split(line, field, "@")
5463 substed = 0
5464 len = length(field[1])
5465 for (i = 2; i < nfields; i++) {
5466 key = field[i]
5467 keylen = length(key)
5468 if (S_is_set[key]) {
5469 value = S[key]
5470 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
5471 len += length(value) + length(field[++i])
5472 substed = 1
5473 } else
5474 len += 1 + keylen
5475 }
5476
5477 print line
5478 }
5479
5480 _ACAWK
5481 _ACEOF
5482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5483 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
5484 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
5485 else
5486 cat
5487 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
5488 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
5489 _ACEOF
5490
5491 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
5492 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
5493 # trailing colons and then remove the whole line if VPATH becomes empty
5494 # (actually we leave an empty line to preserve line numbers).
5495 if test "x$srcdir" = x.; then
5496 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
5497 h
5498 s///
5499 s/^/:/
5500 s/[ ]*$/:/
5501 s/:\$(srcdir):/:/g
5502 s/:\${srcdir}:/:/g
5503 s/:@srcdir@:/:/g
5504 s/^:*//
5505 s/:*$//
5506 x
5507 s/\(=[ ]*\).*/\1/
5508 G
5509 s/\n//
5510 s/^[^=]*=[ ]*$//
5511 }'
5512 fi
5513
5514 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5515 fi # test -n "$CONFIG_FILES"
5516
5517 # Set up the scripts for CONFIG_HEADERS section.
5518 # No need to generate them if there are no CONFIG_HEADERS.
5519 # This happens for instance with `./config.status Makefile'.
5520 if test -n "$CONFIG_HEADERS"; then
5521 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
5522 BEGIN {
5523 _ACEOF
5524
5525 # Transform confdefs.h into an awk script `defines.awk', embedded as
5526 # here-document in config.status, that substitutes the proper values into
5527 # config.h.in to produce config.h.
5528
5529 # Create a delimiter string that does not exist in confdefs.h, to ease
5530 # handling of long lines.
5531 ac_delim='%!_!# '
5532 for ac_last_try in false false :; do
5533 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
5534 if test -z "$ac_tt"; then
5535 break
5536 elif $ac_last_try; then
5537 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
5538 else
5539 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
5540 fi
5541 done
5542
5543 # For the awk script, D is an array of macro values keyed by name,
5544 # likewise P contains macro parameters if any. Preserve backslash
5545 # newline sequences.
5546
5547 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
5548 sed -n '
5549 s/.\{148\}/&'"$ac_delim"'/g
5550 t rset
5551 :rset
5552 s/^[ ]*#[ ]*define[ ][ ]*/ /
5553 t def
5554 d
5555 :def
5556 s/\\$//
5557 t bsnl
5558 s/["\\]/\\&/g
5559 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5560 D["\1"]=" \3"/p
5561 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
5562 d
5563 :bsnl
5564 s/["\\]/\\&/g
5565 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
5566 D["\1"]=" \3\\\\\\n"\\/p
5567 t cont
5568 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
5569 t cont
5570 d
5571 :cont
5572 n
5573 s/.\{148\}/&'"$ac_delim"'/g
5574 t clear
5575 :clear
5576 s/\\$//
5577 t bsnlc
5578 s/["\\]/\\&/g; s/^/"/; s/$/"/p
5579 d
5580 :bsnlc
5581 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
5582 b cont
5583 ' <confdefs.h | sed '
5584 s/'"$ac_delim"'/"\\\
5585 "/g' >>$CONFIG_STATUS || ac_write_fail=1
5586
5587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5588 for (key in D) D_is_set[key] = 1
5589 FS = ""
5590 }
5591 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
5592 line = \$ 0
5593 split(line, arg, " ")
5594 if (arg[1] == "#") {
5595 defundef = arg[2]
5596 mac1 = arg[3]
5597 } else {
5598 defundef = substr(arg[1], 2)
5599 mac1 = arg[2]
5600 }
5601 split(mac1, mac2, "(") #)
5602 macro = mac2[1]
5603 prefix = substr(line, 1, index(line, defundef) - 1)
5604 if (D_is_set[macro]) {
5605 # Preserve the white space surrounding the "#".
5606 print prefix "define", macro P[macro] D[macro]
5607 next
5608 } else {
5609 # Replace #undef with comments. This is necessary, for example,
5610 # in the case of _POSIX_SOURCE, which is predefined and required
5611 # on some systems where configure will not decide to define it.
5612 if (defundef == "undef") {
5613 print "/*", prefix defundef, macro, "*/"
5614 next
5615 }
5616 }
5617 }
5618 { print }
5619 _ACAWK
5620 _ACEOF
5621 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5622 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5623 fi # test -n "$CONFIG_HEADERS"
5624
5625
5626 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5627 shift
5628 for ac_tag
5629 do
5630 case $ac_tag in
5631 :[FHLC]) ac_mode=$ac_tag; continue;;
5632 esac
5633 case $ac_mode$ac_tag in
5634 :[FHL]*:*);;
5635 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5636 :[FH]-) ac_tag=-:-;;
5637 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5638 esac
5639 ac_save_IFS=$IFS
5640 IFS=:
5641 set x $ac_tag
5642 IFS=$ac_save_IFS
5643 shift
5644 ac_file=$1
5645 shift
5646
5647 case $ac_mode in
5648 :L) ac_source=$1;;
5649 :[FH])
5650 ac_file_inputs=
5651 for ac_f
5652 do
5653 case $ac_f in
5654 -) ac_f="$ac_tmp/stdin";;
5655 *) # Look for the file first in the build tree, then in the source tree
5656 # (if the path is not absolute). The absolute path cannot be DOS-style,
5657 # because $ac_f cannot contain `:'.
5658 test -f "$ac_f" ||
5659 case $ac_f in
5660 [\\/$]*) false;;
5661 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5662 esac ||
5663 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5664 esac
5665 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5666 as_fn_append ac_file_inputs " '$ac_f'"
5667 done
5668
5669 # Let's still pretend it is `configure' which instantiates (i.e., don't
5670 # use $as_me), people would be surprised to read:
5671 # /* config.h. Generated by config.status. */
5672 configure_input='Generated from '`
5673 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5674 `' by configure.'
5675 if test x"$ac_file" != x-; then
5676 configure_input="$ac_file. $configure_input"
5677 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5678 printf "%s\n" "$as_me: creating $ac_file" >&6;}
5679 fi
5680 # Neutralize special characters interpreted by sed in replacement strings.
5681 case $configure_input in #(
5682 *\&* | *\|* | *\\* )
5683 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5684 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5685 *) ac_sed_conf_input=$configure_input;;
5686 esac
5687
5688 case $ac_tag in
5689 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5690 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5691 esac
5692 ;;
5693 esac
5694
5695 ac_dir=`$as_dirname -- "$ac_file" ||
5696 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5697 X"$ac_file" : 'X\(//\)[^/]' \| \
5698 X"$ac_file" : 'X\(//\)$' \| \
5699 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5700 printf "%s\n" X"$ac_file" |
5701 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5702 s//\1/
5703 q
5704 }
5705 /^X\(\/\/\)[^/].*/{
5706 s//\1/
5707 q
5708 }
5709 /^X\(\/\/\)$/{
5710 s//\1/
5711 q
5712 }
5713 /^X\(\/\).*/{
5714 s//\1/
5715 q
5716 }
5717 s/.*/./; q'`
5718 as_dir="$ac_dir"; as_fn_mkdir_p
5719 ac_builddir=.
5720
5721 case "$ac_dir" in
5722 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5723 *)
5724 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5725 # A ".." for each directory in $ac_dir_suffix.
5726 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5727 case $ac_top_builddir_sub in
5728 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5729 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5730 esac ;;
5731 esac
5732 ac_abs_top_builddir=$ac_pwd
5733 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5734 # for backward compatibility:
5735 ac_top_builddir=$ac_top_build_prefix
5736
5737 case $srcdir in
5738 .) # We are building in place.
5739 ac_srcdir=.
5740 ac_top_srcdir=$ac_top_builddir_sub
5741 ac_abs_top_srcdir=$ac_pwd ;;
5742 [\\/]* | ?:[\\/]* ) # Absolute name.
5743 ac_srcdir=$srcdir$ac_dir_suffix;
5744 ac_top_srcdir=$srcdir
5745 ac_abs_top_srcdir=$srcdir ;;
5746 *) # Relative name.
5747 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5748 ac_top_srcdir=$ac_top_build_prefix$srcdir
5749 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5750 esac
5751 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5752
5753
5754 case $ac_mode in
5755 :F)
5756 #
5757 # CONFIG_FILE
5758 #
5759
5760 case $INSTALL in
5761 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5762 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5763 esac
5764 _ACEOF
5765
5766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5767 # If the template does not know about datarootdir, expand it.
5768 # FIXME: This hack should be removed a few years after 2.60.
5769 ac_datarootdir_hack=; ac_datarootdir_seen=
5770 ac_sed_dataroot='
5771 /datarootdir/ {
5772 p
5773 q
5774 }
5775 /@datadir@/p
5776 /@docdir@/p
5777 /@infodir@/p
5778 /@localedir@/p
5779 /@mandir@/p'
5780 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5781 *datarootdir*) ac_datarootdir_seen=yes;;
5782 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5784 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5785 _ACEOF
5786 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5787 ac_datarootdir_hack='
5788 s&@datadir@&$datadir&g
5789 s&@docdir@&$docdir&g
5790 s&@infodir@&$infodir&g
5791 s&@localedir@&$localedir&g
5792 s&@mandir@&$mandir&g
5793 s&\\\${datarootdir}&$datarootdir&g' ;;
5794 esac
5795 _ACEOF
5796
5797 # Neutralize VPATH when `$srcdir' = `.'.
5798 # Shell code in configure.ac might set extrasub.
5799 # FIXME: do we really want to maintain this feature?
5800 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5801 ac_sed_extra="$ac_vpsub
5802 $extrasub
5803 _ACEOF
5804 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5805 :t
5806 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5807 s|@configure_input@|$ac_sed_conf_input|;t t
5808 s&@top_builddir@&$ac_top_builddir_sub&;t t
5809 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5810 s&@srcdir@&$ac_srcdir&;t t
5811 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5812 s&@top_srcdir@&$ac_top_srcdir&;t t
5813 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5814 s&@builddir@&$ac_builddir&;t t
5815 s&@abs_builddir@&$ac_abs_builddir&;t t
5816 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5817 s&@INSTALL@&$ac_INSTALL&;t t
5818 $ac_datarootdir_hack
5819 "
5820 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5821 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5822
5823 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5824 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5825 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5826 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5828 which seems to be undefined. Please make sure it is defined" >&5
5829 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5830 which seems to be undefined. Please make sure it is defined" >&2;}
5831
5832 rm -f "$ac_tmp/stdin"
5833 case $ac_file in
5834 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5835 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5836 esac \
5837 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5838 ;;
5839 :H)
5840 #
5841 # CONFIG_HEADER
5842 #
5843 if test x"$ac_file" != x-; then
5844 {
5845 printf "%s\n" "/* $configure_input */" >&1 \
5846 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5847 } >"$ac_tmp/config.h" \
5848 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5849 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5851 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
5852 else
5853 rm -f "$ac_file"
5854 mv "$ac_tmp/config.h" "$ac_file" \
5855 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5856 fi
5857 else
5858 printf "%s\n" "/* $configure_input */" >&1 \
5859 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5860 || as_fn_error $? "could not create -" "$LINENO" 5
5861 fi
5862 ;;
5863
5864
5865 esac
5866
5867 done # for ac_tag
5868
5869
5870 as_fn_exit 0
5871 _ACEOF
5872 ac_clean_files=$ac_clean_files_save
5873
5874 test $ac_write_fail = 0 ||
5875 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5876
5877
5878 # configure is writing to config.log, and then calls config.status.
5879 # config.status does its own redirection, appending to config.log.
5880 # Unfortunately, on DOS this fails, as config.log is still kept open
5881 # by configure, so config.status won't be able to write to it; its
5882 # output is simply discarded. So we exec the FD to /dev/null,
5883 # effectively closing config.log, so it can be properly (re)opened and
5884 # appended to by config.status. When coming back to configure, we
5885 # need to make the FD available again.
5886 if test "$no_create" != yes; then
5887 ac_cs_success=:
5888 ac_config_status_args=
5889 test "$silent" = yes &&
5890 ac_config_status_args="$ac_config_status_args --quiet"
5891 exec 5>/dev/null
5892 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5893 exec 5>>config.log
5894 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5895 # would make configure fail if this is the last instruction.
5896 $ac_cs_success || as_fn_exit 1
5897 fi
5898 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5900 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5901 fi
5902
5903 ac_config_files="$ac_config_files mew-pinentry"
5904
5905 cat >confcache <<\_ACEOF
5906 # This file is a shell script that caches the results of configure
5907 # tests run on this system so they can be shared between configure
5908 # scripts and configure runs, see configure's option --config-cache.
5909 # It is not useful on other systems. If it contains results you don't
5910 # want to keep, you may remove or edit it.
5911 #
5912 # config.status only pays attention to the cache file if you give it
5913 # the --recheck option to rerun configure.
5914 #
5915 # `ac_cv_env_foo' variables (set or unset) will be overridden when
5916 # loading this file, other *unset* `ac_cv_foo' will be assigned the
5917 # following values.
5918
5919 _ACEOF
5920
5921 # The following way of writing the cache mishandles newlines in values,
5922 # but we know of no workaround that is simple, portable, and efficient.
5923 # So, we kill variables containing newlines.
5924 # Ultrix sh set writes to stderr and can't be redirected directly,
5925 # and sets the high bit in the cache file unless we assign to the vars.
5926 (
5927 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
5928 eval ac_val=\$$ac_var
5929 case $ac_val in #(
5930 *${as_nl}*)
5931 case $ac_var in #(
5932 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
5933 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
5934 esac
5935 case $ac_var in #(
5936 _ | IFS | as_nl) ;; #(
5937 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
5938 *) { eval $ac_var=; unset $ac_var;} ;;
5939 esac ;;
5940 esac
5941 done
5942
5943 (set) 2>&1 |
5944 case $as_nl`(ac_space=' '; set) 2>&1` in #(
5945 *${as_nl}ac_space=\ *)
5946 # `set' does not quote correctly, so add quotes: double-quote
5947 # substitution turns \\\\ into \\, and sed turns \\ into \.
5948 sed -n \
5949 "s/'/'\\\\''/g;
5950 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
5951 ;; #(
5952 *)
5953 # `set' quotes correctly as required by POSIX, so do not add quotes.
5954 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
5955 ;;
5956 esac |
5957 sort
5958 ) |
5959 sed '
5960 /^ac_cv_env_/b end
5961 t clear
5962 :clear
5963 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
5964 t end
5965 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
5966 :end' >>confcache
5967 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
5968 if test -w "$cache_file"; then
5969 if test "x$cache_file" != "x/dev/null"; then
5970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
5971 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
5972 if test ! -f "$cache_file" || test -h "$cache_file"; then
5973 cat confcache >"$cache_file"
5974 else
5975 case $cache_file in #(
5976 */* | ?:*)
5977 mv -f confcache "$cache_file"$$ &&
5978 mv -f "$cache_file"$$ "$cache_file" ;; #(
5979 *)
5980 mv -f confcache "$cache_file" ;;
5981 esac
5982 fi
5983 fi
5984 else
5985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
5986 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
5987 fi
5988 fi
5989 rm -f confcache
5990
5991 test "x$prefix" = xNONE && prefix=$ac_default_prefix
5992 # Let make expand exec_prefix.
5993 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
5994
5995 DEFS=-DHAVE_CONFIG_H
5996
5997 ac_libobjs=
5998 ac_ltlibobjs=
5999 U=
6000 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
6001 # 1. Remove the extension, and $U if already installed.
6002 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
6003 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
6004 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
6005 # will be set to the directory where LIBOBJS objects are built.
6006 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
6007 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
6008 done
6009 LIBOBJS=$ac_libobjs
6010
6011 LTLIBOBJS=$ac_ltlibobjs
6012
6013
6014
6015 : "${CONFIG_STATUS=./config.status}"
6016 ac_write_fail=0
6017 ac_clean_files_save=$ac_clean_files
6018 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
6020 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
6021 as_write_fail=0
6022 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
6023 #! $SHELL
6024 # Generated by $as_me.
6025 # Run this file to recreate the current configuration.
6026 # Compiler output produced by configure, useful for debugging
6027 # configure, is in config.log if it exists.
6028
6029 debug=false
6030 ac_cs_recheck=false
6031 ac_cs_silent=false
6032
6033 SHELL=\${CONFIG_SHELL-$SHELL}
6034 export SHELL
6035 _ASEOF
6036 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
6037 ## -------------------- ##
6038 ## M4sh Initialization. ##
6039 ## -------------------- ##
6040
6041 # Be more Bourne compatible
6042 DUALCASE=1; export DUALCASE # for MKS sh
6043 as_nop=:
6044 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
6045 then :
6046 emulate sh
6047 NULLCMD=:
6048 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
6049 # is contrary to our usage. Disable this feature.
6050 alias -g '${1+"$@"}'='"$@"'
6051 setopt NO_GLOB_SUBST
6052 else $as_nop
6053 case `(set -o) 2>/dev/null` in #(
6054 *posix*) :
6055 set -o posix ;; #(
6056 *) :
6057 ;;
6058 esac
6059 fi
6060
6061
6062
6063 # Reset variables that may have inherited troublesome values from
6064 # the environment.
6065
6066 # IFS needs to be set, to space, tab, and newline, in precisely that order.
6067 # (If _AS_PATH_WALK were called with IFS unset, it would have the
6068 # side effect of setting IFS to empty, thus disabling word splitting.)
6069 # Quoting is to prevent editors from complaining about space-tab.
6070 as_nl='
6071 '
6072 export as_nl
6073 IFS=" "" $as_nl"
6074
6075 PS1='$ '
6076 PS2='> '
6077 PS4='+ '
6078
6079 # Ensure predictable behavior from utilities with locale-dependent output.
6080 LC_ALL=C
6081 export LC_ALL
6082 LANGUAGE=C
6083 export LANGUAGE
6084
6085 # We cannot yet rely on "unset" to work, but we need these variables
6086 # to be unset--not just set to an empty or harmless value--now, to
6087 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
6088 # also avoids known problems related to "unset" and subshell syntax
6089 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
6090 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
6091 do eval test \${$as_var+y} \
6092 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
6093 done
6094
6095 # Ensure that fds 0, 1, and 2 are open.
6096 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
6097 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
6098 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
6099
6100 # The user is always right.
6101 if ${PATH_SEPARATOR+false} :; then
6102 PATH_SEPARATOR=:
6103 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
6104 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
6105 PATH_SEPARATOR=';'
6106 }
6107 fi
6108
6109
6110 # Find who we are. Look in the path if we contain no directory separator.
6111 as_myself=
6112 case $0 in #((
6113 *[\\/]* ) as_myself=$0 ;;
6114 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6115 for as_dir in $PATH
6116 do
6117 IFS=$as_save_IFS
6118 case $as_dir in #(((
6119 '') as_dir=./ ;;
6120 */) ;;
6121 *) as_dir=$as_dir/ ;;
6122 esac
6123 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
6124 done
6125 IFS=$as_save_IFS
6126
6127 ;;
6128 esac
6129 # We did not find ourselves, most probably we were run as `sh COMMAND'
6130 # in which case we are not to be found in the path.
6131 if test "x$as_myself" = x; then
6132 as_myself=$0
6133 fi
6134 if test ! -f "$as_myself"; then
6135 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
6136 exit 1
6137 fi
6138
6139
6140
6141 # as_fn_error STATUS ERROR [LINENO LOG_FD]
6142 # ----------------------------------------
6143 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
6144 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
6145 # script with STATUS, using 1 if that was 0.
6146 as_fn_error ()
6147 {
6148 as_status=$1; test $as_status -eq 0 && as_status=1
6149 if test "$4"; then
6150 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
6151 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
6152 fi
6153 printf "%s\n" "$as_me: error: $2" >&2
6154 as_fn_exit $as_status
6155 } # as_fn_error
6156
6157
6158
6159 # as_fn_set_status STATUS
6160 # -----------------------
6161 # Set $? to STATUS, without forking.
6162 as_fn_set_status ()
6163 {
6164 return $1
6165 } # as_fn_set_status
6166
6167 # as_fn_exit STATUS
6168 # -----------------
6169 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
6170 as_fn_exit ()
6171 {
6172 set +e
6173 as_fn_set_status $1
6174 exit $1
6175 } # as_fn_exit
6176
6177 # as_fn_unset VAR
6178 # ---------------
6179 # Portably unset VAR.
6180 as_fn_unset ()
6181 {
6182 { eval $1=; unset $1;}
6183 }
6184 as_unset=as_fn_unset
6185
6186 # as_fn_append VAR VALUE
6187 # ----------------------
6188 # Append the text in VALUE to the end of the definition contained in VAR. Take
6189 # advantage of any shell optimizations that allow amortized linear growth over
6190 # repeated appends, instead of the typical quadratic growth present in naive
6191 # implementations.
6192 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
6193 then :
6194 eval 'as_fn_append ()
6195 {
6196 eval $1+=\$2
6197 }'
6198 else $as_nop
6199 as_fn_append ()
6200 {
6201 eval $1=\$$1\$2
6202 }
6203 fi # as_fn_append
6204
6205 # as_fn_arith ARG...
6206 # ------------------
6207 # Perform arithmetic evaluation on the ARGs, and store the result in the
6208 # global $as_val. Take advantage of shells that can avoid forks. The arguments
6209 # must be portable across $(()) and expr.
6210 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
6211 then :
6212 eval 'as_fn_arith ()
6213 {
6214 as_val=$(( $* ))
6215 }'
6216 else $as_nop
6217 as_fn_arith ()
6218 {
6219 as_val=`expr "$@" || test $? -eq 1`
6220 }
6221 fi # as_fn_arith
6222
6223
6224 if expr a : '\(a\)' >/dev/null 2>&1 &&
6225 test "X`expr 00001 : '.*\(...\)'`" = X001; then
6226 as_expr=expr
6227 else
6228 as_expr=false
6229 fi
6230
6231 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
6232 as_basename=basename
6233 else
6234 as_basename=false
6235 fi
6236
6237 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
6238 as_dirname=dirname
6239 else
6240 as_dirname=false
6241 fi
6242
6243 as_me=`$as_basename -- "$0" ||
6244 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
6245 X"$0" : 'X\(//\)$' \| \
6246 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
6247 printf "%s\n" X/"$0" |
6248 sed '/^.*\/\([^/][^/]*\)\/*$/{
6249 s//\1/
6250 q
6251 }
6252 /^X\/\(\/\/\)$/{
6253 s//\1/
6254 q
6255 }
6256 /^X\/\(\/\).*/{
6257 s//\1/
6258 q
6259 }
6260 s/.*/./; q'`
6261
6262 # Avoid depending upon Character Ranges.
6263 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
6264 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
6265 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
6266 as_cr_digits='0123456789'
6267 as_cr_alnum=$as_cr_Letters$as_cr_digits
6268
6269
6270 # Determine whether it's possible to make 'echo' print without a newline.
6271 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
6272 # for compatibility with existing Makefiles.
6273 ECHO_C= ECHO_N= ECHO_T=
6274 case `echo -n x` in #(((((
6275 -n*)
6276 case `echo 'xy\c'` in
6277 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
6278 xy) ECHO_C='\c';;
6279 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
6280 ECHO_T=' ';;
6281 esac;;
6282 *)
6283 ECHO_N='-n';;
6284 esac
6285
6286 # For backward compatibility with old third-party macros, we provide
6287 # the shell variables $as_echo and $as_echo_n. New code should use
6288 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
6289 as_echo='printf %s\n'
6290 as_echo_n='printf %s'
6291
6292 rm -f conf$$ conf$$.exe conf$$.file
6293 if test -d conf$$.dir; then
6294 rm -f conf$$.dir/conf$$.file
6295 else
6296 rm -f conf$$.dir
6297 mkdir conf$$.dir 2>/dev/null
6298 fi
6299 if (echo >conf$$.file) 2>/dev/null; then
6300 if ln -s conf$$.file conf$$ 2>/dev/null; then
6301 as_ln_s='ln -s'
6302 # ... but there are two gotchas:
6303 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
6304 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
6305 # In both cases, we have to default to `cp -pR'.
6306 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
6307 as_ln_s='cp -pR'
6308 elif ln conf$$.file conf$$ 2>/dev/null; then
6309 as_ln_s=ln
6310 else
6311 as_ln_s='cp -pR'
6312 fi
6313 else
6314 as_ln_s='cp -pR'
6315 fi
6316 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
6317 rmdir conf$$.dir 2>/dev/null
6318
6319
6320 # as_fn_mkdir_p
6321 # -------------
6322 # Create "$as_dir" as a directory, including parents if necessary.
6323 as_fn_mkdir_p ()
6324 {
6325
6326 case $as_dir in #(
6327 -*) as_dir=./$as_dir;;
6328 esac
6329 test -d "$as_dir" || eval $as_mkdir_p || {
6330 as_dirs=
6331 while :; do
6332 case $as_dir in #(
6333 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
6334 *) as_qdir=$as_dir;;
6335 esac
6336 as_dirs="'$as_qdir' $as_dirs"
6337 as_dir=`$as_dirname -- "$as_dir" ||
6338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6339 X"$as_dir" : 'X\(//\)[^/]' \| \
6340 X"$as_dir" : 'X\(//\)$' \| \
6341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
6342 printf "%s\n" X"$as_dir" |
6343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6344 s//\1/
6345 q
6346 }
6347 /^X\(\/\/\)[^/].*/{
6348 s//\1/
6349 q
6350 }
6351 /^X\(\/\/\)$/{
6352 s//\1/
6353 q
6354 }
6355 /^X\(\/\).*/{
6356 s//\1/
6357 q
6358 }
6359 s/.*/./; q'`
6360 test -d "$as_dir" && break
6361 done
6362 test -z "$as_dirs" || eval "mkdir $as_dirs"
6363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
6364
6365
6366 } # as_fn_mkdir_p
6367 if mkdir -p . 2>/dev/null; then
6368 as_mkdir_p='mkdir -p "$as_dir"'
6369 else
6370 test -d ./-p && rmdir ./-p
6371 as_mkdir_p=false
6372 fi
6373
6374
6375 # as_fn_executable_p FILE
6376 # -----------------------
6377 # Test if FILE is an executable regular file.
6378 as_fn_executable_p ()
6379 {
6380 test -f "$1" && test -x "$1"
6381 } # as_fn_executable_p
6382 as_test_x='test -x'
6383 as_executable_p=as_fn_executable_p
6384
6385 # Sed expression to map a string onto a valid CPP name.
6386 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
6387
6388 # Sed expression to map a string onto a valid variable name.
6389 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
6390
6391
6392 exec 6>&1
6393 ## ----------------------------------- ##
6394 ## Main body of $CONFIG_STATUS script. ##
6395 ## ----------------------------------- ##
6396 _ASEOF
6397 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
6398
6399 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6400 # Save the log message, to keep $0 and so on meaningful, and to
6401 # report actual input values of CONFIG_FILES etc. instead of their
6402 # values after options handling.
6403 ac_log="
6404 This file was extended by $as_me, which was
6405 generated by GNU Autoconf 2.71. Invocation command line was
6406
6407 CONFIG_FILES = $CONFIG_FILES
6408 CONFIG_HEADERS = $CONFIG_HEADERS
6409 CONFIG_LINKS = $CONFIG_LINKS
6410 CONFIG_COMMANDS = $CONFIG_COMMANDS
6411 $ $0 $@
6412
6413 on `(hostname || uname -n) 2>/dev/null | sed 1q`
6414 "
6415
6416 _ACEOF
6417
6418 case $ac_config_files in *"
6419 "*) set x $ac_config_files; shift; ac_config_files=$*;;
6420 esac
6421
6422 case $ac_config_headers in *"
6423 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
6424 esac
6425
6426
6427 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6428 # Files that config.status was made for.
6429 config_files="$ac_config_files"
6430 config_headers="$ac_config_headers"
6431
6432 _ACEOF
6433
6434 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6435 ac_cs_usage="\
6436 \`$as_me' instantiates files and other configuration actions
6437 from templates according to the current configuration. Unless the files
6438 and actions are specified as TAGs, all are instantiated by default.
6439
6440 Usage: $0 [OPTION]... [TAG]...
6441
6442 -h, --help print this help, then exit
6443 -V, --version print version number and configuration settings, then exit
6444 --config print configuration, then exit
6445 -q, --quiet, --silent
6446 do not print progress messages
6447 -d, --debug don't remove temporary files
6448 --recheck update $as_me by reconfiguring in the same conditions
6449 --file=FILE[:TEMPLATE]
6450 instantiate the configuration file FILE
6451 --header=FILE[:TEMPLATE]
6452 instantiate the configuration header FILE
6453
6454 Configuration files:
6455 $config_files
6456
6457 Configuration headers:
6458 $config_headers
6459
6460 Report bugs to the package provider."
6461
6462 _ACEOF
6463 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
6464 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
6465 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6466 ac_cs_config='$ac_cs_config_escaped'
6467 ac_cs_version="\\
6468 config.status
6469 configured by $0, generated by GNU Autoconf 2.71,
6470 with options \\"\$ac_cs_config\\"
6471
6472 Copyright (C) 2021 Free Software Foundation, Inc.
6473 This config.status script is free software; the Free Software Foundation
6474 gives unlimited permission to copy, distribute and modify it."
6475
6476 ac_pwd='$ac_pwd'
6477 srcdir='$srcdir'
6478 INSTALL='$INSTALL'
6479 test -n "\$AWK" || AWK=awk
6480 _ACEOF
6481
6482 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6483 # The default lists apply if the user does not specify any file.
6484 ac_need_defaults=:
6485 while test $# != 0
6486 do
6487 case $1 in
6488 --*=?*)
6489 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6490 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
6491 ac_shift=:
6492 ;;
6493 --*=)
6494 ac_option=`expr "X$1" : 'X\([^=]*\)='`
6495 ac_optarg=
6496 ac_shift=:
6497 ;;
6498 *)
6499 ac_option=$1
6500 ac_optarg=$2
6501 ac_shift=shift
6502 ;;
6503 esac
6504
6505 case $ac_option in
6506 # Handling of the options.
6507 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
6508 ac_cs_recheck=: ;;
6509 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
6510 printf "%s\n" "$ac_cs_version"; exit ;;
6511 --config | --confi | --conf | --con | --co | --c )
6512 printf "%s\n" "$ac_cs_config"; exit ;;
6513 --debug | --debu | --deb | --de | --d | -d )
6514 debug=: ;;
6515 --file | --fil | --fi | --f )
6516 $ac_shift
6517 case $ac_optarg in
6518 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6519 '') as_fn_error $? "missing file argument" ;;
6520 esac
6521 as_fn_append CONFIG_FILES " '$ac_optarg'"
6522 ac_need_defaults=false;;
6523 --header | --heade | --head | --hea )
6524 $ac_shift
6525 case $ac_optarg in
6526 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
6527 esac
6528 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
6529 ac_need_defaults=false;;
6530 --he | --h)
6531 # Conflict between --help and --header
6532 as_fn_error $? "ambiguous option: \`$1'
6533 Try \`$0 --help' for more information.";;
6534 --help | --hel | -h )
6535 printf "%s\n" "$ac_cs_usage"; exit ;;
6536 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
6537 | -silent | --silent | --silen | --sile | --sil | --si | --s)
6538 ac_cs_silent=: ;;
6539
6540 # This is an error.
6541 -*) as_fn_error $? "unrecognized option: \`$1'
6542 Try \`$0 --help' for more information." ;;
6543
6544 *) as_fn_append ac_config_targets " $1"
6545 ac_need_defaults=false ;;
6546
6547 esac
6548 shift
6549 done
6550
6551 ac_configure_extra_args=
6552
6553 if $ac_cs_silent; then
6554 exec 6>/dev/null
6555 ac_configure_extra_args="$ac_configure_extra_args --silent"
6556 fi
6557
6558 _ACEOF
6559 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6560 if \$ac_cs_recheck; then
6561 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
6562 shift
6563 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
6564 CONFIG_SHELL='$SHELL'
6565 export CONFIG_SHELL
6566 exec "\$@"
6567 fi
6568
6569 _ACEOF
6570 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6571 exec 5>>config.log
6572 {
6573 echo
6574 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
6575 ## Running $as_me. ##
6576 _ASBOX
6577 printf "%s\n" "$ac_log"
6578 } >&5
6579
6580 _ACEOF
6581 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6582 _ACEOF
6583
6584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6585
6586 # Handling of arguments.
6587 for ac_config_target in $ac_config_targets
6588 do
6589 case $ac_config_target in
6590 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
6591 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
6592 "mew-pinentry") CONFIG_FILES="$CONFIG_FILES mew-pinentry" ;;
6593
6594 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
6595 esac
6596 done
6597
6598
6599 # If the user did not use the arguments to specify the items to instantiate,
6600 # then the envvar interface is used. Set only those that are not.
6601 # We use the long form for the default assignment because of an extremely
6602 # bizarre bug on SunOS 4.1.3.
6603 if $ac_need_defaults; then
6604 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
6605 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
6606 fi
6607
6608 # Have a temporary directory for convenience. Make it in the build tree
6609 # simply because there is no reason against having it here, and in addition,
6610 # creating and moving files from /tmp can sometimes cause problems.
6611 # Hook for its removal unless debugging.
6612 # Note that there is a small window in which the directory will not be cleaned:
6613 # after its creation but before its name has been assigned to `$tmp'.
6614 $debug ||
6615 {
6616 tmp= ac_tmp=
6617 trap 'exit_status=$?
6618 : "${ac_tmp:=$tmp}"
6619 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
6620 ' 0
6621 trap 'as_fn_exit 1' 1 2 13 15
6622 }
6623 # Create a (secure) tmp directory for tmp files.
6624
6625 {
6626 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
6627 test -d "$tmp"
6628 } ||
6629 {
6630 tmp=./conf$$-$RANDOM
6631 (umask 077 && mkdir "$tmp")
6632 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
6633 ac_tmp=$tmp
6634
6635 # Set up the scripts for CONFIG_FILES section.
6636 # No need to generate them if there are no CONFIG_FILES.
6637 # This happens for instance with `./config.status config.h'.
6638 if test -n "$CONFIG_FILES"; then
6639
6640
6641 ac_cr=`echo X | tr X '\015'`
6642 # On cygwin, bash can eat \r inside `` if the user requested igncr.
6643 # But we know of no other shell where ac_cr would be empty at this
6644 # point, so we can use a bashism as a fallback.
6645 if test "x$ac_cr" = x; then
6646 eval ac_cr=\$\'\\r\'
6647 fi
6648 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
6649 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
6650 ac_cs_awk_cr='\\r'
6651 else
6652 ac_cs_awk_cr=$ac_cr
6653 fi
6654
6655 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
6656 _ACEOF
6657
6658
6659 {
6660 echo "cat >conf$$subs.awk <<_ACEOF" &&
6661 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
6662 echo "_ACEOF"
6663 } >conf$$subs.sh ||
6664 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6665 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
6666 ac_delim='%!_!# '
6667 for ac_last_try in false false false false false :; do
6668 . ./conf$$subs.sh ||
6669 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6670
6671 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
6672 if test $ac_delim_n = $ac_delim_num; then
6673 break
6674 elif $ac_last_try; then
6675 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
6676 else
6677 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6678 fi
6679 done
6680 rm -f conf$$subs.sh
6681
6682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6683 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
6684 _ACEOF
6685 sed -n '
6686 h
6687 s/^/S["/; s/!.*/"]=/
6688 p
6689 g
6690 s/^[^!]*!//
6691 :repl
6692 t repl
6693 s/'"$ac_delim"'$//
6694 t delim
6695 :nl
6696 h
6697 s/\(.\{148\}\)..*/\1/
6698 t more1
6699 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
6700 p
6701 n
6702 b repl
6703 :more1
6704 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6705 p
6706 g
6707 s/.\{148\}//
6708 t nl
6709 :delim
6710 h
6711 s/\(.\{148\}\)..*/\1/
6712 t more2
6713 s/["\\]/\\&/g; s/^/"/; s/$/"/
6714 p
6715 b
6716 :more2
6717 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
6718 p
6719 g
6720 s/.\{148\}//
6721 t delim
6722 ' <conf$$subs.awk | sed '
6723 /^[^""]/{
6724 N
6725 s/\n//
6726 }
6727 ' >>$CONFIG_STATUS || ac_write_fail=1
6728 rm -f conf$$subs.awk
6729 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6730 _ACAWK
6731 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
6732 for (key in S) S_is_set[key] = 1
6733 FS = ""
6734
6735 }
6736 {
6737 line = $ 0
6738 nfields = split(line, field, "@")
6739 substed = 0
6740 len = length(field[1])
6741 for (i = 2; i < nfields; i++) {
6742 key = field[i]
6743 keylen = length(key)
6744 if (S_is_set[key]) {
6745 value = S[key]
6746 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
6747 len += length(value) + length(field[++i])
6748 substed = 1
6749 } else
6750 len += 1 + keylen
6751 }
6752
6753 print line
6754 }
6755
6756 _ACAWK
6757 _ACEOF
6758 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6759 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
6760 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
6761 else
6762 cat
6763 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
6764 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
6765 _ACEOF
6766
6767 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
6768 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
6769 # trailing colons and then remove the whole line if VPATH becomes empty
6770 # (actually we leave an empty line to preserve line numbers).
6771 if test "x$srcdir" = x.; then
6772 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
6773 h
6774 s///
6775 s/^/:/
6776 s/[ ]*$/:/
6777 s/:\$(srcdir):/:/g
6778 s/:\${srcdir}:/:/g
6779 s/:@srcdir@:/:/g
6780 s/^:*//
6781 s/:*$//
6782 x
6783 s/\(=[ ]*\).*/\1/
6784 G
6785 s/\n//
6786 s/^[^=]*=[ ]*$//
6787 }'
6788 fi
6789
6790 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6791 fi # test -n "$CONFIG_FILES"
6792
6793 # Set up the scripts for CONFIG_HEADERS section.
6794 # No need to generate them if there are no CONFIG_HEADERS.
6795 # This happens for instance with `./config.status Makefile'.
6796 if test -n "$CONFIG_HEADERS"; then
6797 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
6798 BEGIN {
6799 _ACEOF
6800
6801 # Transform confdefs.h into an awk script `defines.awk', embedded as
6802 # here-document in config.status, that substitutes the proper values into
6803 # config.h.in to produce config.h.
6804
6805 # Create a delimiter string that does not exist in confdefs.h, to ease
6806 # handling of long lines.
6807 ac_delim='%!_!# '
6808 for ac_last_try in false false :; do
6809 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
6810 if test -z "$ac_tt"; then
6811 break
6812 elif $ac_last_try; then
6813 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
6814 else
6815 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
6816 fi
6817 done
6818
6819 # For the awk script, D is an array of macro values keyed by name,
6820 # likewise P contains macro parameters if any. Preserve backslash
6821 # newline sequences.
6822
6823 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
6824 sed -n '
6825 s/.\{148\}/&'"$ac_delim"'/g
6826 t rset
6827 :rset
6828 s/^[ ]*#[ ]*define[ ][ ]*/ /
6829 t def
6830 d
6831 :def
6832 s/\\$//
6833 t bsnl
6834 s/["\\]/\\&/g
6835 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6836 D["\1"]=" \3"/p
6837 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
6838 d
6839 :bsnl
6840 s/["\\]/\\&/g
6841 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
6842 D["\1"]=" \3\\\\\\n"\\/p
6843 t cont
6844 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
6845 t cont
6846 d
6847 :cont
6848 n
6849 s/.\{148\}/&'"$ac_delim"'/g
6850 t clear
6851 :clear
6852 s/\\$//
6853 t bsnlc
6854 s/["\\]/\\&/g; s/^/"/; s/$/"/p
6855 d
6856 :bsnlc
6857 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
6858 b cont
6859 ' <confdefs.h | sed '
6860 s/'"$ac_delim"'/"\\\
6861 "/g' >>$CONFIG_STATUS || ac_write_fail=1
6862
6863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
6864 for (key in D) D_is_set[key] = 1
6865 FS = ""
6866 }
6867 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
6868 line = \$ 0
6869 split(line, arg, " ")
6870 if (arg[1] == "#") {
6871 defundef = arg[2]
6872 mac1 = arg[3]
6873 } else {
6874 defundef = substr(arg[1], 2)
6875 mac1 = arg[2]
6876 }
6877 split(mac1, mac2, "(") #)
6878 macro = mac2[1]
6879 prefix = substr(line, 1, index(line, defundef) - 1)
6880 if (D_is_set[macro]) {
6881 # Preserve the white space surrounding the "#".
6882 print prefix "define", macro P[macro] D[macro]
6883 next
6884 } else {
6885 # Replace #undef with comments. This is necessary, for example,
6886 # in the case of _POSIX_SOURCE, which is predefined and required
6887 # on some systems where configure will not decide to define it.
6888 if (defundef == "undef") {
6889 print "/*", prefix defundef, macro, "*/"
6890 next
6891 }
6892 }
6893 }
6894 { print }
6895 _ACAWK
6896 _ACEOF
6897 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
6898 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
6899 fi # test -n "$CONFIG_HEADERS"
6900
6901
6902 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
6903 shift
6904 for ac_tag
6905 do
6906 case $ac_tag in
6907 :[FHLC]) ac_mode=$ac_tag; continue;;
6908 esac
6909 case $ac_mode$ac_tag in
6910 :[FHL]*:*);;
6911 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
6912 :[FH]-) ac_tag=-:-;;
6913 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
6914 esac
6915 ac_save_IFS=$IFS
6916 IFS=:
6917 set x $ac_tag
6918 IFS=$ac_save_IFS
6919 shift
6920 ac_file=$1
6921 shift
6922
6923 case $ac_mode in
6924 :L) ac_source=$1;;
6925 :[FH])
6926 ac_file_inputs=
6927 for ac_f
6928 do
6929 case $ac_f in
6930 -) ac_f="$ac_tmp/stdin";;
6931 *) # Look for the file first in the build tree, then in the source tree
6932 # (if the path is not absolute). The absolute path cannot be DOS-style,
6933 # because $ac_f cannot contain `:'.
6934 test -f "$ac_f" ||
6935 case $ac_f in
6936 [\\/$]*) false;;
6937 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
6938 esac ||
6939 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
6940 esac
6941 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
6942 as_fn_append ac_file_inputs " '$ac_f'"
6943 done
6944
6945 # Let's still pretend it is `configure' which instantiates (i.e., don't
6946 # use $as_me), people would be surprised to read:
6947 # /* config.h. Generated by config.status. */
6948 configure_input='Generated from '`
6949 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
6950 `' by configure.'
6951 if test x"$ac_file" != x-; then
6952 configure_input="$ac_file. $configure_input"
6953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
6954 printf "%s\n" "$as_me: creating $ac_file" >&6;}
6955 fi
6956 # Neutralize special characters interpreted by sed in replacement strings.
6957 case $configure_input in #(
6958 *\&* | *\|* | *\\* )
6959 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
6960 sed 's/[\\\\&|]/\\\\&/g'`;; #(
6961 *) ac_sed_conf_input=$configure_input;;
6962 esac
6963
6964 case $ac_tag in
6965 *:-:* | *:-) cat >"$ac_tmp/stdin" \
6966 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
6967 esac
6968 ;;
6969 esac
6970
6971 ac_dir=`$as_dirname -- "$ac_file" ||
6972 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
6973 X"$ac_file" : 'X\(//\)[^/]' \| \
6974 X"$ac_file" : 'X\(//\)$' \| \
6975 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
6976 printf "%s\n" X"$ac_file" |
6977 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
6978 s//\1/
6979 q
6980 }
6981 /^X\(\/\/\)[^/].*/{
6982 s//\1/
6983 q
6984 }
6985 /^X\(\/\/\)$/{
6986 s//\1/
6987 q
6988 }
6989 /^X\(\/\).*/{
6990 s//\1/
6991 q
6992 }
6993 s/.*/./; q'`
6994 as_dir="$ac_dir"; as_fn_mkdir_p
6995 ac_builddir=.
6996
6997 case "$ac_dir" in
6998 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
6999 *)
7000 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
7001 # A ".." for each directory in $ac_dir_suffix.
7002 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
7003 case $ac_top_builddir_sub in
7004 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
7005 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
7006 esac ;;
7007 esac
7008 ac_abs_top_builddir=$ac_pwd
7009 ac_abs_builddir=$ac_pwd$ac_dir_suffix
7010 # for backward compatibility:
7011 ac_top_builddir=$ac_top_build_prefix
7012
7013 case $srcdir in
7014 .) # We are building in place.
7015 ac_srcdir=.
7016 ac_top_srcdir=$ac_top_builddir_sub
7017 ac_abs_top_srcdir=$ac_pwd ;;
7018 [\\/]* | ?:[\\/]* ) # Absolute name.
7019 ac_srcdir=$srcdir$ac_dir_suffix;
7020 ac_top_srcdir=$srcdir
7021 ac_abs_top_srcdir=$srcdir ;;
7022 *) # Relative name.
7023 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
7024 ac_top_srcdir=$ac_top_build_prefix$srcdir
7025 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
7026 esac
7027 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
7028
7029
7030 case $ac_mode in
7031 :F)
7032 #
7033 # CONFIG_FILE
7034 #
7035
7036 case $INSTALL in
7037 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
7038 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
7039 esac
7040 _ACEOF
7041
7042 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7043 # If the template does not know about datarootdir, expand it.
7044 # FIXME: This hack should be removed a few years after 2.60.
7045 ac_datarootdir_hack=; ac_datarootdir_seen=
7046 ac_sed_dataroot='
7047 /datarootdir/ {
7048 p
7049 q
7050 }
7051 /@datadir@/p
7052 /@docdir@/p
7053 /@infodir@/p
7054 /@localedir@/p
7055 /@mandir@/p'
7056 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
7057 *datarootdir*) ac_datarootdir_seen=yes;;
7058 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
7059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
7060 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
7061 _ACEOF
7062 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7063 ac_datarootdir_hack='
7064 s&@datadir@&$datadir&g
7065 s&@docdir@&$docdir&g
7066 s&@infodir@&$infodir&g
7067 s&@localedir@&$localedir&g
7068 s&@mandir@&$mandir&g
7069 s&\\\${datarootdir}&$datarootdir&g' ;;
7070 esac
7071 _ACEOF
7072
7073 # Neutralize VPATH when `$srcdir' = `.'.
7074 # Shell code in configure.ac might set extrasub.
7075 # FIXME: do we really want to maintain this feature?
7076 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
7077 ac_sed_extra="$ac_vpsub
7078 $extrasub
7079 _ACEOF
7080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
7081 :t
7082 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
7083 s|@configure_input@|$ac_sed_conf_input|;t t
7084 s&@top_builddir@&$ac_top_builddir_sub&;t t
7085 s&@top_build_prefix@&$ac_top_build_prefix&;t t
7086 s&@srcdir@&$ac_srcdir&;t t
7087 s&@abs_srcdir@&$ac_abs_srcdir&;t t
7088 s&@top_srcdir@&$ac_top_srcdir&;t t
7089 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
7090 s&@builddir@&$ac_builddir&;t t
7091 s&@abs_builddir@&$ac_abs_builddir&;t t
7092 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
7093 s&@INSTALL@&$ac_INSTALL&;t t
7094 $ac_datarootdir_hack
7095 "
7096 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
7097 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7098
7099 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
7100 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
7101 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
7102 "$ac_tmp/out"`; test -z "$ac_out"; } &&
7103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7104 which seems to be undefined. Please make sure it is defined" >&5
7105 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
7106 which seems to be undefined. Please make sure it is defined" >&2;}
7107
7108 rm -f "$ac_tmp/stdin"
7109 case $ac_file in
7110 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
7111 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
7112 esac \
7113 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7114 ;;
7115 :H)
7116 #
7117 # CONFIG_HEADER
7118 #
7119 if test x"$ac_file" != x-; then
7120 {
7121 printf "%s\n" "/* $configure_input */" >&1 \
7122 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
7123 } >"$ac_tmp/config.h" \
7124 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7125 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
7126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
7127 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
7128 else
7129 rm -f "$ac_file"
7130 mv "$ac_tmp/config.h" "$ac_file" \
7131 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
7132 fi
7133 else
7134 printf "%s\n" "/* $configure_input */" >&1 \
7135 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
7136 || as_fn_error $? "could not create -" "$LINENO" 5
7137 fi
7138 ;;
7139
7140
7141 esac
7142
7143 done # for ac_tag
7144
7145
7146 as_fn_exit 0
7147 _ACEOF
7148 ac_clean_files=$ac_clean_files_save
7149
7150 test $ac_write_fail = 0 ||
7151 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
7152
7153
7154 # configure is writing to config.log, and then calls config.status.
7155 # config.status does its own redirection, appending to config.log.
7156 # Unfortunately, on DOS this fails, as config.log is still kept open
7157 # by configure, so config.status won't be able to write to it; its
7158 # output is simply discarded. So we exec the FD to /dev/null,
7159 # effectively closing config.log, so it can be properly (re)opened and
7160 # appended to by config.status. When coming back to configure, we
7161 # need to make the FD available again.
7162 if test "$no_create" != yes; then
7163 ac_cs_success=:
7164 ac_config_status_args=
7165 test "$silent" = yes &&
7166 ac_config_status_args="$ac_config_status_args --quiet"
7167 exec 5>/dev/null
7168 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
7169 exec 5>>config.log
7170 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
7171 # would make configure fail if this is the last instruction.
7172 $ac_cs_success || as_fn_exit 1
7173 fi
7174 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
7175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
7176 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
7177 fi
7178
7179