Debian Codegraph @

ogonkify/configure

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