Debian Codegraph @

configure

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