Debian Codegraph @

texk/xdvik/squeeze/configure

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