Debian Codegraph @

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