Debian Codegraph @

b3270/configure

raw symbols SCIP
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for b3270 4.3.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
7 # Inc.
8 #
9 #
10 # This configure script is free software; the Free Software Foundation
11 # gives unlimited permission to copy, distribute and modify it.
12 ## -------------------- ##
13 ## M4sh Initialization. ##
14 ## -------------------- ##
15
16 # Be more Bourne compatible
17 DUALCASE=1; export DUALCASE # for MKS sh
18 as_nop=:
19 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
20 then :
21 emulate sh
22 NULLCMD=:
23 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
24 # is contrary to our usage. Disable this feature.
25 alias -g '${1+"$@"}'='"$@"'
26 setopt NO_GLOB_SUBST
27 else $as_nop
28 case `(set -o) 2>/dev/null` in #(
29 *posix*) :
30 set -o posix ;; #(
31 *) :
32 ;;
33 esac
34 fi
35
36
37
38 # Reset variables that may have inherited troublesome values from
39 # the environment.
40
41 # IFS needs to be set, to space, tab, and newline, in precisely that order.
42 # (If _AS_PATH_WALK were called with IFS unset, it would have the
43 # side effect of setting IFS to empty, thus disabling word splitting.)
44 # Quoting is to prevent editors from complaining about space-tab.
45 as_nl='
46 '
47 export as_nl
48 IFS=" "" $as_nl"
49
50 PS1='$ '
51 PS2='> '
52 PS4='+ '
53
54 # Ensure predictable behavior from utilities with locale-dependent output.
55 LC_ALL=C
56 export LC_ALL
57 LANGUAGE=C
58 export LANGUAGE
59
60 # We cannot yet rely on "unset" to work, but we need these variables
61 # to be unset--not just set to an empty or harmless value--now, to
62 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
63 # also avoids known problems related to "unset" and subshell syntax
64 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
65 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
66 do eval test \${$as_var+y} \
67 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
68 done
69
70 # Ensure that fds 0, 1, and 2 are open.
71 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
72 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
73 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
74
75 # The user is always right.
76 if ${PATH_SEPARATOR+false} :; then
77 PATH_SEPARATOR=:
78 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
79 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
80 PATH_SEPARATOR=';'
81 }
82 fi
83
84
85 # Find who we are. Look in the path if we contain no directory separator.
86 as_myself=
87 case $0 in #((
88 *[\\/]* ) as_myself=$0 ;;
89 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
90 for as_dir in $PATH
91 do
92 IFS=$as_save_IFS
93 case $as_dir in #(((
94 '') as_dir=./ ;;
95 */) ;;
96 *) as_dir=$as_dir/ ;;
97 esac
98 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114
115 # Use a proper internal environment variable to ensure we don't fall
116 # into an infinite loop, continuously re-executing ourselves.
117 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
118 _as_can_reexec=no; export _as_can_reexec;
119 # We cannot yet assume a decent shell, so we have to provide a
120 # neutralization value for shells without unset; and this also
121 # works around shells that cannot unset nonexistent variables.
122 # Preserve -v and -x to the replacement shell.
123 BASH_ENV=/dev/null
124 ENV=/dev/null
125 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
126 case $- in # ((((
127 *v*x* | *x*v* ) as_opts=-vx ;;
128 *v* ) as_opts=-v ;;
129 *x* ) as_opts=-x ;;
130 * ) as_opts= ;;
131 esac
132 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
133 # Admittedly, this is quite paranoid, since all the known shells bail
134 # out after a failed `exec'.
135 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
136 exit 255
137 fi
138 # We don't want this to propagate to other subprocesses.
139 { _as_can_reexec=; unset _as_can_reexec;}
140 if test "x$CONFIG_SHELL" = x; then
141 as_bourne_compatible="as_nop=:
142 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
143 then :
144 emulate sh
145 NULLCMD=:
146 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
147 # is contrary to our usage. Disable this feature.
148 alias -g '\${1+\"\$@\"}'='\"\$@\"'
149 setopt NO_GLOB_SUBST
150 else \$as_nop
151 case \`(set -o) 2>/dev/null\` in #(
152 *posix*) :
153 set -o posix ;; #(
154 *) :
155 ;;
156 esac
157 fi
158 "
159 as_required="as_fn_return () { (exit \$1); }
160 as_fn_success () { as_fn_return 0; }
161 as_fn_failure () { as_fn_return 1; }
162 as_fn_ret_success () { return 0; }
163 as_fn_ret_failure () { return 1; }
164
165 exitcode=0
166 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
167 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
168 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
169 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
170 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
171 then :
172
173 else \$as_nop
174 exitcode=1; echo positional parameters were not saved.
175 fi
176 test x\$exitcode = x0 || exit 1
177 blah=\$(echo \$(echo blah))
178 test x\"\$blah\" = xblah || exit 1
179 test -x / || exit 1"
180 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
181 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
182 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
183 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
184 if (eval "$as_required") 2>/dev/null
185 then :
186 as_have_required=yes
187 else $as_nop
188 as_have_required=no
189 fi
190 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
191 then :
192
193 else $as_nop
194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
195 as_found=false
196 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
197 do
198 IFS=$as_save_IFS
199 case $as_dir in #(((
200 '') as_dir=./ ;;
201 */) ;;
202 *) as_dir=$as_dir/ ;;
203 esac
204 as_found=:
205 case $as_dir in #(
206 /*)
207 for as_base in sh bash ksh sh5; do
208 # Try only shells that exist, to save several forks.
209 as_shell=$as_dir$as_base
210 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
211 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
212 then :
213 CONFIG_SHELL=$as_shell as_have_required=yes
214 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
215 then :
216 break 2
217 fi
218 fi
219 done;;
220 esac
221 as_found=false
222 done
223 IFS=$as_save_IFS
224 if $as_found
225 then :
226
227 else $as_nop
228 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
229 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
230 then :
231 CONFIG_SHELL=$SHELL as_have_required=yes
232 fi
233 fi
234
235
236 if test "x$CONFIG_SHELL" != x
237 then :
238 export CONFIG_SHELL
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
243 BASH_ENV=/dev/null
244 ENV=/dev/null
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
246 case $- in # ((((
247 *v*x* | *x*v* ) as_opts=-vx ;;
248 *v* ) as_opts=-v ;;
249 *x* ) as_opts=-x ;;
250 * ) as_opts= ;;
251 esac
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
256 exit 255
257 fi
258
259 if test x$as_have_required = xno
260 then :
261 printf "%s\n" "$0: This script requires a shell more modern than all"
262 printf "%s\n" "$0: the shells that I found on your system."
263 if test ${ZSH_VERSION+y} ; then
264 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
266 else
267 printf "%s\n" "$0: Please tell [email protected] about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
271 fi
272 exit 1
273 fi
274 fi
275 fi
276 SHELL=${CONFIG_SHELL-/bin/sh}
277 export SHELL
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
281
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
285 # as_fn_unset VAR
286 # ---------------
287 # Portably unset VAR.
288 as_fn_unset ()
289 {
290 { eval $1=; unset $1;}
291 }
292 as_unset=as_fn_unset
293
294
295 # as_fn_set_status STATUS
296 # -----------------------
297 # Set $? to STATUS, without forking.
298 as_fn_set_status ()
299 {
300 return $1
301 } # as_fn_set_status
302
303 # as_fn_exit STATUS
304 # -----------------
305 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
306 as_fn_exit ()
307 {
308 set +e
309 as_fn_set_status $1
310 exit $1
311 } # as_fn_exit
312 # as_fn_nop
313 # ---------
314 # Do nothing but, unlike ":", preserve the value of $?.
315 as_fn_nop ()
316 {
317 return $?
318 }
319 as_nop=as_fn_nop
320
321 # as_fn_mkdir_p
322 # -------------
323 # Create "$as_dir" as a directory, including parents if necessary.
324 as_fn_mkdir_p ()
325 {
326
327 case $as_dir in #(
328 -*) as_dir=./$as_dir;;
329 esac
330 test -d "$as_dir" || eval $as_mkdir_p || {
331 as_dirs=
332 while :; do
333 case $as_dir in #(
334 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
335 *) as_qdir=$as_dir;;
336 esac
337 as_dirs="'$as_qdir' $as_dirs"
338 as_dir=`$as_dirname -- "$as_dir" ||
339 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
340 X"$as_dir" : 'X\(//\)[^/]' \| \
341 X"$as_dir" : 'X\(//\)$' \| \
342 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
343 printf "%s\n" X"$as_dir" |
344 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
345 s//\1/
346 q
347 }
348 /^X\(\/\/\)[^/].*/{
349 s//\1/
350 q
351 }
352 /^X\(\/\/\)$/{
353 s//\1/
354 q
355 }
356 /^X\(\/\).*/{
357 s//\1/
358 q
359 }
360 s/.*/./; q'`
361 test -d "$as_dir" && break
362 done
363 test -z "$as_dirs" || eval "mkdir $as_dirs"
364 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
365
366
367 } # as_fn_mkdir_p
368
369 # as_fn_executable_p FILE
370 # -----------------------
371 # Test if FILE is an executable regular file.
372 as_fn_executable_p ()
373 {
374 test -f "$1" && test -x "$1"
375 } # as_fn_executable_p
376 # as_fn_append VAR VALUE
377 # ----------------------
378 # Append the text in VALUE to the end of the definition contained in VAR. Take
379 # advantage of any shell optimizations that allow amortized linear growth over
380 # repeated appends, instead of the typical quadratic growth present in naive
381 # implementations.
382 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
383 then :
384 eval 'as_fn_append ()
385 {
386 eval $1+=\$2
387 }'
388 else $as_nop
389 as_fn_append ()
390 {
391 eval $1=\$$1\$2
392 }
393 fi # as_fn_append
394
395 # as_fn_arith ARG...
396 # ------------------
397 # Perform arithmetic evaluation on the ARGs, and store the result in the
398 # global $as_val. Take advantage of shells that can avoid forks. The arguments
399 # must be portable across $(()) and expr.
400 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
401 then :
402 eval 'as_fn_arith ()
403 {
404 as_val=$(( $* ))
405 }'
406 else $as_nop
407 as_fn_arith ()
408 {
409 as_val=`expr "$@" || test $? -eq 1`
410 }
411 fi # as_fn_arith
412
413 # as_fn_nop
414 # ---------
415 # Do nothing but, unlike ":", preserve the value of $?.
416 as_fn_nop ()
417 {
418 return $?
419 }
420 as_nop=as_fn_nop
421
422 # as_fn_error STATUS ERROR [LINENO LOG_FD]
423 # ----------------------------------------
424 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
425 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
426 # script with STATUS, using 1 if that was 0.
427 as_fn_error ()
428 {
429 as_status=$1; test $as_status -eq 0 && as_status=1
430 if test "$4"; then
431 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
433 fi
434 printf "%s\n" "$as_me: error: $2" >&2
435 as_fn_exit $as_status
436 } # as_fn_error
437
438 if expr a : '\(a\)' >/dev/null 2>&1 &&
439 test "X`expr 00001 : '.*\(...\)'`" = X001; then
440 as_expr=expr
441 else
442 as_expr=false
443 fi
444
445 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
446 as_basename=basename
447 else
448 as_basename=false
449 fi
450
451 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
452 as_dirname=dirname
453 else
454 as_dirname=false
455 fi
456
457 as_me=`$as_basename -- "$0" ||
458 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
459 X"$0" : 'X\(//\)$' \| \
460 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
461 printf "%s\n" X/"$0" |
462 sed '/^.*\/\([^/][^/]*\)\/*$/{
463 s//\1/
464 q
465 }
466 /^X\/\(\/\/\)$/{
467 s//\1/
468 q
469 }
470 /^X\/\(\/\).*/{
471 s//\1/
472 q
473 }
474 s/.*/./; q'`
475
476 # Avoid depending upon Character Ranges.
477 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
478 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
479 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
480 as_cr_digits='0123456789'
481 as_cr_alnum=$as_cr_Letters$as_cr_digits
482
483
484 as_lineno_1=$LINENO as_lineno_1a=$LINENO
485 as_lineno_2=$LINENO as_lineno_2a=$LINENO
486 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
487 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
488 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
489 sed -n '
490 p
491 /[$]LINENO/=
492 ' <$as_myself |
493 sed '
494 s/[$]LINENO.*/&-/
495 t lineno
496 b
497 :lineno
498 N
499 :loop
500 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
501 t loop
502 s/-\n.*//
503 ' >$as_me.lineno &&
504 chmod +x "$as_me.lineno" ||
505 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
506
507 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
508 # already done that, so ensure we don't try to do so again and fall
509 # in an infinite loop. This has already happened in practice.
510 _as_can_reexec=no; export _as_can_reexec
511 # Don't try to exec as it changes $[0], causing all sort of problems
512 # (the dirname of $[0] is not the place where we might find the
513 # original and so on. Autoconf is especially sensitive to this).
514 . "./$as_me.lineno"
515 # Exit status is that of the last command.
516 exit
517 }
518
519
520 # Determine whether it's possible to make 'echo' print without a newline.
521 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
522 # for compatibility with existing Makefiles.
523 ECHO_C= ECHO_N= ECHO_T=
524 case `echo -n x` in #(((((
525 -n*)
526 case `echo 'xy\c'` in
527 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
528 xy) ECHO_C='\c';;
529 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
530 ECHO_T=' ';;
531 esac;;
532 *)
533 ECHO_N='-n';;
534 esac
535
536 # For backward compatibility with old third-party macros, we provide
537 # the shell variables $as_echo and $as_echo_n. New code should use
538 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
539 as_echo='printf %s\n'
540 as_echo_n='printf %s'
541
542
543 rm -f conf$$ conf$$.exe conf$$.file
544 if test -d conf$$.dir; then
545 rm -f conf$$.dir/conf$$.file
546 else
547 rm -f conf$$.dir
548 mkdir conf$$.dir 2>/dev/null
549 fi
550 if (echo >conf$$.file) 2>/dev/null; then
551 if ln -s conf$$.file conf$$ 2>/dev/null; then
552 as_ln_s='ln -s'
553 # ... but there are two gotchas:
554 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
555 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
556 # In both cases, we have to default to `cp -pR'.
557 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
558 as_ln_s='cp -pR'
559 elif ln conf$$.file conf$$ 2>/dev/null; then
560 as_ln_s=ln
561 else
562 as_ln_s='cp -pR'
563 fi
564 else
565 as_ln_s='cp -pR'
566 fi
567 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
568 rmdir conf$$.dir 2>/dev/null
569
570 if mkdir -p . 2>/dev/null; then
571 as_mkdir_p='mkdir -p "$as_dir"'
572 else
573 test -d ./-p && rmdir ./-p
574 as_mkdir_p=false
575 fi
576
577 as_test_x='test -x'
578 as_executable_p=as_fn_executable_p
579
580 # Sed expression to map a string onto a valid CPP name.
581 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
582
583 # Sed expression to map a string onto a valid variable name.
584 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
585
586
587 test -n "$DJDIR" || exec 7<&0 </dev/null
588 exec 6>&1
589
590 # Name of the host.
591 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
592 # so uname gets run too.
593 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
594
595 #
596 # Initializations.
597 #
598 ac_default_prefix=/usr/local
599 ac_clean_files=
600 ac_config_libobj_dir=.
601 LIBOBJS=
602 cross_compiling=no
603 subdirs=
604 MFLAGS=
605 MAKEFLAGS=
606
607 # Identity of this package.
608 PACKAGE_NAME='b3270'
609 PACKAGE_TARNAME='b3270'
610 PACKAGE_VERSION='4.3'
611 PACKAGE_STRING='b3270 4.3'
612 PACKAGE_BUGREPORT=''
613 PACKAGE_URL=''
614
615 # Factoring default headers for most tests.
616 ac_includes_default="\
617 #include <stddef.h>
618 #ifdef HAVE_STDIO_H
619 # include <stdio.h>
620 #endif
621 #ifdef HAVE_STDLIB_H
622 # include <stdlib.h>
623 #endif
624 #ifdef HAVE_STRING_H
625 # include <string.h>
626 #endif
627 #ifdef HAVE_INTTYPES_H
628 # include <inttypes.h>
629 #endif
630 #ifdef HAVE_STDINT_H
631 # include <stdint.h>
632 #endif
633 #ifdef HAVE_STRINGS_H
634 # include <strings.h>
635 #endif
636 #ifdef HAVE_SYS_TYPES_H
637 # include <sys/types.h>
638 #endif
639 #ifdef HAVE_SYS_STAT_H
640 # include <sys/stat.h>
641 #endif
642 #ifdef HAVE_UNISTD_H
643 # include <unistd.h>
644 #endif"
645
646 ac_header_c_list=
647 ac_subst_vars='LTLIBOBJS
648 LIBOBJS
649 LIBX3270DIR
650 BUILD_CFLAGS
651 BUILD_LIBS
652 BUILD_LDFLAGS
653 BUILD_CC
654 CCOPTIONS
655 HSOPTS
656 host_os
657 host_vendor
658 host_cpu
659 host
660 build_os
661 build_vendor
662 build_cpu
663 build
664 OBJEXT
665 EXEEXT
666 ac_ct_CC
667 CPPFLAGS
668 LDFLAGS
669 CFLAGS
670 CC
671 INSTALL_DATA
672 INSTALL_SCRIPT
673 INSTALL_PROGRAM
674 target_alias
675 host_alias
676 build_alias
677 LIBS
678 ECHO_T
679 ECHO_N
680 ECHO_C
681 DEFS
682 mandir
683 localedir
684 libdir
685 psdir
686 pdfdir
687 dvidir
688 htmldir
689 infodir
690 docdir
691 oldincludedir
692 includedir
693 runstatedir
694 localstatedir
695 sharedstatedir
696 sysconfdir
697 datadir
698 datarootdir
699 libexecdir
700 sbindir
701 bindir
702 program_transform_name
703 prefix
704 exec_prefix
705 PACKAGE_URL
706 PACKAGE_BUGREPORT
707 PACKAGE_STRING
708 PACKAGE_VERSION
709 PACKAGE_TARNAME
710 PACKAGE_NAME
711 PATH_SEPARATOR
712 SHELL'
713 ac_subst_files=''
714 ac_user_opts='
715 enable_option_checking
716 enable_dbcs
717 enable_local_process
718 '
719 ac_precious_vars='build_alias
720 host_alias
721 target_alias
722 CC
723 CFLAGS
724 LDFLAGS
725 LIBS
726 CPPFLAGS'
727
728
729 # Initialize some variables set by options.
730 ac_init_help=
731 ac_init_version=false
732 ac_unrecognized_opts=
733 ac_unrecognized_sep=
734 # The variables have the same names as the options, with
735 # dashes changed to underlines.
736 cache_file=/dev/null
737 exec_prefix=NONE
738 no_create=
739 no_recursion=
740 prefix=NONE
741 program_prefix=NONE
742 program_suffix=NONE
743 program_transform_name=s,x,x,
744 silent=
745 site=
746 srcdir=
747 verbose=
748 x_includes=NONE
749 x_libraries=NONE
750
751 # Installation directory options.
752 # These are left unexpanded so users can "make install exec_prefix=/foo"
753 # and all the variables that are supposed to be based on exec_prefix
754 # by default will actually change.
755 # Use braces instead of parens because sh, perl, etc. also accept them.
756 # (The list follows the same order as the GNU Coding Standards.)
757 bindir='${exec_prefix}/bin'
758 sbindir='${exec_prefix}/sbin'
759 libexecdir='${exec_prefix}/libexec'
760 datarootdir='${prefix}/share'
761 datadir='${datarootdir}'
762 sysconfdir='${prefix}/etc'
763 sharedstatedir='${prefix}/com'
764 localstatedir='${prefix}/var'
765 runstatedir='${localstatedir}/run'
766 includedir='${prefix}/include'
767 oldincludedir='/usr/include'
768 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
769 infodir='${datarootdir}/info'
770 htmldir='${docdir}'
771 dvidir='${docdir}'
772 pdfdir='${docdir}'
773 psdir='${docdir}'
774 libdir='${exec_prefix}/lib'
775 localedir='${datarootdir}/locale'
776 mandir='${datarootdir}/man'
777
778 ac_prev=
779 ac_dashdash=
780 for ac_option
781 do
782 # If the previous option needs an argument, assign it.
783 if test -n "$ac_prev"; then
784 eval $ac_prev=\$ac_option
785 ac_prev=
786 continue
787 fi
788
789 case $ac_option in
790 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
791 *=) ac_optarg= ;;
792 *) ac_optarg=yes ;;
793 esac
794
795 case $ac_dashdash$ac_option in
796 --)
797 ac_dashdash=yes ;;
798
799 -bindir | --bindir | --bindi | --bind | --bin | --bi)
800 ac_prev=bindir ;;
801 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
802 bindir=$ac_optarg ;;
803
804 -build | --build | --buil | --bui | --bu)
805 ac_prev=build_alias ;;
806 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
807 build_alias=$ac_optarg ;;
808
809 -cache-file | --cache-file | --cache-fil | --cache-fi \
810 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
811 ac_prev=cache_file ;;
812 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
813 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
814 cache_file=$ac_optarg ;;
815
816 --config-cache | -C)
817 cache_file=config.cache ;;
818
819 -datadir | --datadir | --datadi | --datad)
820 ac_prev=datadir ;;
821 -datadir=* | --datadir=* | --datadi=* | --datad=*)
822 datadir=$ac_optarg ;;
823
824 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
825 | --dataroo | --dataro | --datar)
826 ac_prev=datarootdir ;;
827 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
828 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
829 datarootdir=$ac_optarg ;;
830
831 -disable-* | --disable-*)
832 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
833 # Reject names that are not valid shell variable names.
834 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
835 as_fn_error $? "invalid feature name: \`$ac_useropt'"
836 ac_useropt_orig=$ac_useropt
837 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
838 case $ac_user_opts in
839 *"
840 "enable_$ac_useropt"
841 "*) ;;
842 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
843 ac_unrecognized_sep=', ';;
844 esac
845 eval enable_$ac_useropt=no ;;
846
847 -docdir | --docdir | --docdi | --doc | --do)
848 ac_prev=docdir ;;
849 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
850 docdir=$ac_optarg ;;
851
852 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
853 ac_prev=dvidir ;;
854 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
855 dvidir=$ac_optarg ;;
856
857 -enable-* | --enable-*)
858 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
859 # Reject names that are not valid shell variable names.
860 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
861 as_fn_error $? "invalid feature name: \`$ac_useropt'"
862 ac_useropt_orig=$ac_useropt
863 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
864 case $ac_user_opts in
865 *"
866 "enable_$ac_useropt"
867 "*) ;;
868 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
869 ac_unrecognized_sep=', ';;
870 esac
871 eval enable_$ac_useropt=\$ac_optarg ;;
872
873 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
874 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
875 | --exec | --exe | --ex)
876 ac_prev=exec_prefix ;;
877 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
878 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
879 | --exec=* | --exe=* | --ex=*)
880 exec_prefix=$ac_optarg ;;
881
882 -gas | --gas | --ga | --g)
883 # Obsolete; use --with-gas.
884 with_gas=yes ;;
885
886 -help | --help | --hel | --he | -h)
887 ac_init_help=long ;;
888 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
889 ac_init_help=recursive ;;
890 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
891 ac_init_help=short ;;
892
893 -host | --host | --hos | --ho)
894 ac_prev=host_alias ;;
895 -host=* | --host=* | --hos=* | --ho=*)
896 host_alias=$ac_optarg ;;
897
898 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
899 ac_prev=htmldir ;;
900 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
901 | --ht=*)
902 htmldir=$ac_optarg ;;
903
904 -includedir | --includedir | --includedi | --included | --include \
905 | --includ | --inclu | --incl | --inc)
906 ac_prev=includedir ;;
907 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
908 | --includ=* | --inclu=* | --incl=* | --inc=*)
909 includedir=$ac_optarg ;;
910
911 -infodir | --infodir | --infodi | --infod | --info | --inf)
912 ac_prev=infodir ;;
913 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
914 infodir=$ac_optarg ;;
915
916 -libdir | --libdir | --libdi | --libd)
917 ac_prev=libdir ;;
918 -libdir=* | --libdir=* | --libdi=* | --libd=*)
919 libdir=$ac_optarg ;;
920
921 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
922 | --libexe | --libex | --libe)
923 ac_prev=libexecdir ;;
924 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
925 | --libexe=* | --libex=* | --libe=*)
926 libexecdir=$ac_optarg ;;
927
928 -localedir | --localedir | --localedi | --localed | --locale)
929 ac_prev=localedir ;;
930 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
931 localedir=$ac_optarg ;;
932
933 -localstatedir | --localstatedir | --localstatedi | --localstated \
934 | --localstate | --localstat | --localsta | --localst | --locals)
935 ac_prev=localstatedir ;;
936 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
937 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
938 localstatedir=$ac_optarg ;;
939
940 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
941 ac_prev=mandir ;;
942 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
943 mandir=$ac_optarg ;;
944
945 -nfp | --nfp | --nf)
946 # Obsolete; use --without-fp.
947 with_fp=no ;;
948
949 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
950 | --no-cr | --no-c | -n)
951 no_create=yes ;;
952
953 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
954 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
955 no_recursion=yes ;;
956
957 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
958 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
959 | --oldin | --oldi | --old | --ol | --o)
960 ac_prev=oldincludedir ;;
961 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
962 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
963 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
964 oldincludedir=$ac_optarg ;;
965
966 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
967 ac_prev=prefix ;;
968 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
969 prefix=$ac_optarg ;;
970
971 -program-prefix | --program-prefix | --program-prefi | --program-pref \
972 | --program-pre | --program-pr | --program-p)
973 ac_prev=program_prefix ;;
974 -program-prefix=* | --program-prefix=* | --program-prefi=* \
975 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
976 program_prefix=$ac_optarg ;;
977
978 -program-suffix | --program-suffix | --program-suffi | --program-suff \
979 | --program-suf | --program-su | --program-s)
980 ac_prev=program_suffix ;;
981 -program-suffix=* | --program-suffix=* | --program-suffi=* \
982 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
983 program_suffix=$ac_optarg ;;
984
985 -program-transform-name | --program-transform-name \
986 | --program-transform-nam | --program-transform-na \
987 | --program-transform-n | --program-transform- \
988 | --program-transform | --program-transfor \
989 | --program-transfo | --program-transf \
990 | --program-trans | --program-tran \
991 | --progr-tra | --program-tr | --program-t)
992 ac_prev=program_transform_name ;;
993 -program-transform-name=* | --program-transform-name=* \
994 | --program-transform-nam=* | --program-transform-na=* \
995 | --program-transform-n=* | --program-transform-=* \
996 | --program-transform=* | --program-transfor=* \
997 | --program-transfo=* | --program-transf=* \
998 | --program-trans=* | --program-tran=* \
999 | --progr-tra=* | --program-tr=* | --program-t=*)
1000 program_transform_name=$ac_optarg ;;
1001
1002 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1003 ac_prev=pdfdir ;;
1004 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1005 pdfdir=$ac_optarg ;;
1006
1007 -psdir | --psdir | --psdi | --psd | --ps)
1008 ac_prev=psdir ;;
1009 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1010 psdir=$ac_optarg ;;
1011
1012 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1013 | -silent | --silent | --silen | --sile | --sil)
1014 silent=yes ;;
1015
1016 -runstatedir | --runstatedir | --runstatedi | --runstated \
1017 | --runstate | --runstat | --runsta | --runst | --runs \
1018 | --run | --ru | --r)
1019 ac_prev=runstatedir ;;
1020 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
1021 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
1022 | --run=* | --ru=* | --r=*)
1023 runstatedir=$ac_optarg ;;
1024
1025 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1026 ac_prev=sbindir ;;
1027 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1028 | --sbi=* | --sb=*)
1029 sbindir=$ac_optarg ;;
1030
1031 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1032 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1033 | --sharedst | --shareds | --shared | --share | --shar \
1034 | --sha | --sh)
1035 ac_prev=sharedstatedir ;;
1036 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1037 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1038 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1039 | --sha=* | --sh=*)
1040 sharedstatedir=$ac_optarg ;;
1041
1042 -site | --site | --sit)
1043 ac_prev=site ;;
1044 -site=* | --site=* | --sit=*)
1045 site=$ac_optarg ;;
1046
1047 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1048 ac_prev=srcdir ;;
1049 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1050 srcdir=$ac_optarg ;;
1051
1052 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1053 | --syscon | --sysco | --sysc | --sys | --sy)
1054 ac_prev=sysconfdir ;;
1055 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1056 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1057 sysconfdir=$ac_optarg ;;
1058
1059 -target | --target | --targe | --targ | --tar | --ta | --t)
1060 ac_prev=target_alias ;;
1061 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1062 target_alias=$ac_optarg ;;
1063
1064 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1065 verbose=yes ;;
1066
1067 -version | --version | --versio | --versi | --vers | -V)
1068 ac_init_version=: ;;
1069
1070 -with-* | --with-*)
1071 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1072 # Reject names that are not valid shell variable names.
1073 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1074 as_fn_error $? "invalid package name: \`$ac_useropt'"
1075 ac_useropt_orig=$ac_useropt
1076 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1077 case $ac_user_opts in
1078 *"
1079 "with_$ac_useropt"
1080 "*) ;;
1081 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1082 ac_unrecognized_sep=', ';;
1083 esac
1084 eval with_$ac_useropt=\$ac_optarg ;;
1085
1086 -without-* | --without-*)
1087 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1088 # Reject names that are not valid shell variable names.
1089 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1090 as_fn_error $? "invalid package name: \`$ac_useropt'"
1091 ac_useropt_orig=$ac_useropt
1092 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1093 case $ac_user_opts in
1094 *"
1095 "with_$ac_useropt"
1096 "*) ;;
1097 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1098 ac_unrecognized_sep=', ';;
1099 esac
1100 eval with_$ac_useropt=no ;;
1101
1102 --x)
1103 # Obsolete; use --with-x.
1104 with_x=yes ;;
1105
1106 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1107 | --x-incl | --x-inc | --x-in | --x-i)
1108 ac_prev=x_includes ;;
1109 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1110 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1111 x_includes=$ac_optarg ;;
1112
1113 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1114 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1115 ac_prev=x_libraries ;;
1116 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1117 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1118 x_libraries=$ac_optarg ;;
1119
1120 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1121 Try \`$0 --help' for more information"
1122 ;;
1123
1124 *=*)
1125 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1126 # Reject names that are not valid shell variable names.
1127 case $ac_envvar in #(
1128 '' | [0-9]* | *[!_$as_cr_alnum]* )
1129 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1130 esac
1131 eval $ac_envvar=\$ac_optarg
1132 export $ac_envvar ;;
1133
1134 *)
1135 # FIXME: should be removed in autoconf 3.0.
1136 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
1137 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1138 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
1139 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1140 ;;
1141
1142 esac
1143 done
1144
1145 if test -n "$ac_prev"; then
1146 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1147 as_fn_error $? "missing argument to $ac_option"
1148 fi
1149
1150 if test -n "$ac_unrecognized_opts"; then
1151 case $enable_option_checking in
1152 no) ;;
1153 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1154 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1155 esac
1156 fi
1157
1158 # Check all directory arguments for consistency.
1159 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1160 datadir sysconfdir sharedstatedir localstatedir includedir \
1161 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1162 libdir localedir mandir runstatedir
1163 do
1164 eval ac_val=\$$ac_var
1165 # Remove trailing slashes.
1166 case $ac_val in
1167 */ )
1168 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1169 eval $ac_var=\$ac_val;;
1170 esac
1171 # Be sure to have absolute directory names.
1172 case $ac_val in
1173 [\\/$]* | ?:[\\/]* ) continue;;
1174 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1175 esac
1176 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1177 done
1178
1179 # There might be people who depend on the old broken behavior: `$host'
1180 # used to hold the argument of --host etc.
1181 # FIXME: To remove some day.
1182 build=$build_alias
1183 host=$host_alias
1184 target=$target_alias
1185
1186 # FIXME: To remove some day.
1187 if test "x$host_alias" != x; then
1188 if test "x$build_alias" = x; then
1189 cross_compiling=maybe
1190 elif test "x$build_alias" != "x$host_alias"; then
1191 cross_compiling=yes
1192 fi
1193 fi
1194
1195 ac_tool_prefix=
1196 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1197
1198 test "$silent" = yes && exec 6>/dev/null
1199
1200
1201 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1202 ac_ls_di=`ls -di .` &&
1203 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1204 as_fn_error $? "working directory cannot be determined"
1205 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1206 as_fn_error $? "pwd does not report name of working directory"
1207
1208
1209 # Find the source files, if location was not specified.
1210 if test -z "$srcdir"; then
1211 ac_srcdir_defaulted=yes
1212 # Try the directory containing this script, then the parent directory.
1213 ac_confdir=`$as_dirname -- "$as_myself" ||
1214 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1215 X"$as_myself" : 'X\(//\)[^/]' \| \
1216 X"$as_myself" : 'X\(//\)$' \| \
1217 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1218 printf "%s\n" X"$as_myself" |
1219 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1220 s//\1/
1221 q
1222 }
1223 /^X\(\/\/\)[^/].*/{
1224 s//\1/
1225 q
1226 }
1227 /^X\(\/\/\)$/{
1228 s//\1/
1229 q
1230 }
1231 /^X\(\/\).*/{
1232 s//\1/
1233 q
1234 }
1235 s/.*/./; q'`
1236 srcdir=$ac_confdir
1237 if test ! -r "$srcdir/$ac_unique_file"; then
1238 srcdir=..
1239 fi
1240 else
1241 ac_srcdir_defaulted=no
1242 fi
1243 if test ! -r "$srcdir/$ac_unique_file"; then
1244 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1245 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1246 fi
1247 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1248 ac_abs_confdir=`(
1249 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1250 pwd)`
1251 # When building in place, set srcdir=.
1252 if test "$ac_abs_confdir" = "$ac_pwd"; then
1253 srcdir=.
1254 fi
1255 # Remove unnecessary trailing slashes from srcdir.
1256 # Double slashes in file names in object file debugging info
1257 # mess up M-x gdb in Emacs.
1258 case $srcdir in
1259 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1260 esac
1261 for ac_var in $ac_precious_vars; do
1262 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1263 eval ac_env_${ac_var}_value=\$${ac_var}
1264 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1265 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1266 done
1267
1268 #
1269 # Report the --help message.
1270 #
1271 if test "$ac_init_help" = "long"; then
1272 # Omit some internal or obsolete options to make the list less imposing.
1273 # This message is too long to be a string in the A/UX 3.1 sh.
1274 cat <<_ACEOF
1275 \`configure' configures b3270 4.3 to adapt to many kinds of systems.
1276
1277 Usage: $0 [OPTION]... [VAR=VALUE]...
1278
1279 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1280 VAR=VALUE. See below for descriptions of some of the useful variables.
1281
1282 Defaults for the options are specified in brackets.
1283
1284 Configuration:
1285 -h, --help display this help and exit
1286 --help=short display options specific to this package
1287 --help=recursive display the short help of all the included packages
1288 -V, --version display version information and exit
1289 -q, --quiet, --silent do not print \`checking ...' messages
1290 --cache-file=FILE cache test results in FILE [disabled]
1291 -C, --config-cache alias for \`--cache-file=config.cache'
1292 -n, --no-create do not create output files
1293 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1294
1295 Installation directories:
1296 --prefix=PREFIX install architecture-independent files in PREFIX
1297 [$ac_default_prefix]
1298 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1299 [PREFIX]
1300
1301 By default, \`make install' will install all the files in
1302 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1303 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1304 for instance \`--prefix=\$HOME'.
1305
1306 For better control, use the options below.
1307
1308 Fine tuning of the installation directories:
1309 --bindir=DIR user executables [EPREFIX/bin]
1310 --sbindir=DIR system admin executables [EPREFIX/sbin]
1311 --libexecdir=DIR program executables [EPREFIX/libexec]
1312 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1313 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1314 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1315 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1316 --libdir=DIR object code libraries [EPREFIX/lib]
1317 --includedir=DIR C header files [PREFIX/include]
1318 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1319 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1320 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1321 --infodir=DIR info documentation [DATAROOTDIR/info]
1322 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1323 --mandir=DIR man documentation [DATAROOTDIR/man]
1324 --docdir=DIR documentation root [DATAROOTDIR/doc/b3270]
1325 --htmldir=DIR html documentation [DOCDIR]
1326 --dvidir=DIR dvi documentation [DOCDIR]
1327 --pdfdir=DIR pdf documentation [DOCDIR]
1328 --psdir=DIR ps documentation [DOCDIR]
1329 _ACEOF
1330
1331 cat <<\_ACEOF
1332
1333 System types:
1334 --build=BUILD configure for building on BUILD [guessed]
1335 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1336 _ACEOF
1337 fi
1338
1339 if test -n "$ac_init_help"; then
1340 case $ac_init_help in
1341 short | recursive ) echo "Configuration of b3270 4.3:";;
1342 esac
1343 cat <<\_ACEOF
1344
1345 Optional Features:
1346 --disable-option-checking ignore unrecognized --enable/--with options
1347 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1348 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1349 --disable-dbcs leave out DBCS support
1350 --disable-local-process leave out local process support
1351
1352 Some influential environment variables:
1353 CC C compiler command
1354 CFLAGS C compiler flags
1355 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1356 nonstandard directory <lib dir>
1357 LIBS libraries to pass to the linker, e.g. -l<library>
1358 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1359 you have headers in a nonstandard directory <include dir>
1360
1361 Use these variables to override the choices made by `configure' or to help
1362 it to find libraries and programs with nonstandard names/locations.
1363
1364 Report bugs to the package provider.
1365 _ACEOF
1366 ac_status=$?
1367 fi
1368
1369 if test "$ac_init_help" = "recursive"; then
1370 # If there are subdirs, report their specific --help.
1371 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1372 test -d "$ac_dir" ||
1373 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1374 continue
1375 ac_builddir=.
1376
1377 case "$ac_dir" in
1378 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1379 *)
1380 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
1381 # A ".." for each directory in $ac_dir_suffix.
1382 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1383 case $ac_top_builddir_sub in
1384 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1385 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1386 esac ;;
1387 esac
1388 ac_abs_top_builddir=$ac_pwd
1389 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1390 # for backward compatibility:
1391 ac_top_builddir=$ac_top_build_prefix
1392
1393 case $srcdir in
1394 .) # We are building in place.
1395 ac_srcdir=.
1396 ac_top_srcdir=$ac_top_builddir_sub
1397 ac_abs_top_srcdir=$ac_pwd ;;
1398 [\\/]* | ?:[\\/]* ) # Absolute name.
1399 ac_srcdir=$srcdir$ac_dir_suffix;
1400 ac_top_srcdir=$srcdir
1401 ac_abs_top_srcdir=$srcdir ;;
1402 *) # Relative name.
1403 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1404 ac_top_srcdir=$ac_top_build_prefix$srcdir
1405 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1406 esac
1407 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1408
1409 cd "$ac_dir" || { ac_status=$?; continue; }
1410 # Check for configure.gnu first; this name is used for a wrapper for
1411 # Metaconfig's "Configure" on case-insensitive file systems.
1412 if test -f "$ac_srcdir/configure.gnu"; then
1413 echo &&
1414 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1415 elif test -f "$ac_srcdir/configure"; then
1416 echo &&
1417 $SHELL "$ac_srcdir/configure" --help=recursive
1418 else
1419 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1420 fi || ac_status=$?
1421 cd "$ac_pwd" || { ac_status=$?; break; }
1422 done
1423 fi
1424
1425 test -n "$ac_init_help" && exit $ac_status
1426 if $ac_init_version; then
1427 cat <<\_ACEOF
1428 b3270 configure 4.3
1429 generated by GNU Autoconf 2.71
1430
1431 Copyright (C) 2021 Free Software Foundation, Inc.
1432 This configure script is free software; the Free Software Foundation
1433 gives unlimited permission to copy, distribute and modify it.
1434 _ACEOF
1435 exit
1436 fi
1437
1438 ## ------------------------ ##
1439 ## Autoconf initialization. ##
1440 ## ------------------------ ##
1441
1442 # ac_fn_c_try_compile LINENO
1443 # --------------------------
1444 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1445 ac_fn_c_try_compile ()
1446 {
1447 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1448 rm -f conftest.$ac_objext conftest.beam
1449 if { { ac_try="$ac_compile"
1450 case "(($ac_try" in
1451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1452 *) ac_try_echo=$ac_try;;
1453 esac
1454 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1455 printf "%s\n" "$ac_try_echo"; } >&5
1456 (eval "$ac_compile") 2>conftest.err
1457 ac_status=$?
1458 if test -s conftest.err; then
1459 grep -v '^ *+' conftest.err >conftest.er1
1460 cat conftest.er1 >&5
1461 mv -f conftest.er1 conftest.err
1462 fi
1463 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1464 test $ac_status = 0; } && {
1465 test -z "$ac_c_werror_flag" ||
1466 test ! -s conftest.err
1467 } && test -s conftest.$ac_objext
1468 then :
1469 ac_retval=0
1470 else $as_nop
1471 printf "%s\n" "$as_me: failed program was:" >&5
1472 sed 's/^/| /' conftest.$ac_ext >&5
1473
1474 ac_retval=1
1475 fi
1476 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1477 as_fn_set_status $ac_retval
1478
1479 } # ac_fn_c_try_compile
1480
1481 # ac_fn_c_try_link LINENO
1482 # -----------------------
1483 # Try to link conftest.$ac_ext, and return whether this succeeded.
1484 ac_fn_c_try_link ()
1485 {
1486 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1487 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
1488 if { { ac_try="$ac_link"
1489 case "(($ac_try" in
1490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1491 *) ac_try_echo=$ac_try;;
1492 esac
1493 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1494 printf "%s\n" "$ac_try_echo"; } >&5
1495 (eval "$ac_link") 2>conftest.err
1496 ac_status=$?
1497 if test -s conftest.err; then
1498 grep -v '^ *+' conftest.err >conftest.er1
1499 cat conftest.er1 >&5
1500 mv -f conftest.er1 conftest.err
1501 fi
1502 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1503 test $ac_status = 0; } && {
1504 test -z "$ac_c_werror_flag" ||
1505 test ! -s conftest.err
1506 } && test -s conftest$ac_exeext && {
1507 test "$cross_compiling" = yes ||
1508 test -x conftest$ac_exeext
1509 }
1510 then :
1511 ac_retval=0
1512 else $as_nop
1513 printf "%s\n" "$as_me: failed program was:" >&5
1514 sed 's/^/| /' conftest.$ac_ext >&5
1515
1516 ac_retval=1
1517 fi
1518 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1519 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1520 # interfere with the next link command; also delete a directory that is
1521 # left behind by Apple's compiler. We do this before executing the actions.
1522 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1523 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1524 as_fn_set_status $ac_retval
1525
1526 } # ac_fn_c_try_link
1527
1528 # ac_fn_c_check_func LINENO FUNC VAR
1529 # ----------------------------------
1530 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1531 ac_fn_c_check_func ()
1532 {
1533 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1535 printf %s "checking for $2... " >&6; }
1536 if eval test \${$3+y}
1537 then :
1538 printf %s "(cached) " >&6
1539 else $as_nop
1540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1541 /* end confdefs.h. */
1542 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1543 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1544 #define $2 innocuous_$2
1545
1546 /* System header to define __stub macros and hopefully few prototypes,
1547 which can conflict with char $2 (); below. */
1548
1549 #include <limits.h>
1550 #undef $2
1551
1552 /* Override any GCC internal prototype to avoid an error.
1553 Use char because int might match the return type of a GCC
1554 builtin and then its argument prototype would still apply. */
1555 #ifdef __cplusplus
1556 extern "C"
1557 #endif
1558 char $2 ();
1559 /* The GNU C library defines this for functions which it implements
1560 to always fail with ENOSYS. Some functions are actually named
1561 something starting with __ and the normal name is an alias. */
1562 #if defined __stub_$2 || defined __stub___$2
1563 choke me
1564 #endif
1565
1566 int
1567 main (void)
1568 {
1569 return $2 ();
1570 ;
1571 return 0;
1572 }
1573 _ACEOF
1574 if ac_fn_c_try_link "$LINENO"
1575 then :
1576 eval "$3=yes"
1577 else $as_nop
1578 eval "$3=no"
1579 fi
1580 rm -f core conftest.err conftest.$ac_objext conftest.beam \
1581 conftest$ac_exeext conftest.$ac_ext
1582 fi
1583 eval ac_res=\$$3
1584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1585 printf "%s\n" "$ac_res" >&6; }
1586 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1587
1588 } # ac_fn_c_check_func
1589
1590 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1591 # -------------------------------------------------------
1592 # Tests whether HEADER exists and can be compiled using the include files in
1593 # INCLUDES, setting the cache variable VAR accordingly.
1594 ac_fn_c_check_header_compile ()
1595 {
1596 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1598 printf %s "checking for $2... " >&6; }
1599 if eval test \${$3+y}
1600 then :
1601 printf %s "(cached) " >&6
1602 else $as_nop
1603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1604 /* end confdefs.h. */
1605 $4
1606 #include <$2>
1607 _ACEOF
1608 if ac_fn_c_try_compile "$LINENO"
1609 then :
1610 eval "$3=yes"
1611 else $as_nop
1612 eval "$3=no"
1613 fi
1614 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
1615 fi
1616 eval ac_res=\$$3
1617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1618 printf "%s\n" "$ac_res" >&6; }
1619 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1620
1621 } # ac_fn_c_check_header_compile
1622 ac_configure_args_raw=
1623 for ac_arg
1624 do
1625 case $ac_arg in
1626 *\'*)
1627 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1628 esac
1629 as_fn_append ac_configure_args_raw " '$ac_arg'"
1630 done
1631
1632 case $ac_configure_args_raw in
1633 *$as_nl*)
1634 ac_safe_unquote= ;;
1635 *)
1636 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
1637 ac_unsafe_a="$ac_unsafe_z#~"
1638 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
1639 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
1640 esac
1641
1642 cat >config.log <<_ACEOF
1643 This file contains any messages produced by compilers while
1644 running configure, to aid debugging if configure makes a mistake.
1645
1646 It was created by b3270 $as_me 4.3, which was
1647 generated by GNU Autoconf 2.71. Invocation command line was
1648
1649 $ $0$ac_configure_args_raw
1650
1651 _ACEOF
1652 exec 5>>config.log
1653 {
1654 cat <<_ASUNAME
1655 ## --------- ##
1656 ## Platform. ##
1657 ## --------- ##
1658
1659 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1660 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1661 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1662 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1663 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1664
1665 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1666 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1667
1668 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1669 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1670 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1671 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1672 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1673 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1674 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1675
1676 _ASUNAME
1677
1678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1679 for as_dir in $PATH
1680 do
1681 IFS=$as_save_IFS
1682 case $as_dir in #(((
1683 '') as_dir=./ ;;
1684 */) ;;
1685 *) as_dir=$as_dir/ ;;
1686 esac
1687 printf "%s\n" "PATH: $as_dir"
1688 done
1689 IFS=$as_save_IFS
1690
1691 } >&5
1692
1693 cat >&5 <<_ACEOF
1694
1695
1696 ## ----------- ##
1697 ## Core tests. ##
1698 ## ----------- ##
1699
1700 _ACEOF
1701
1702
1703 # Keep a trace of the command line.
1704 # Strip out --no-create and --no-recursion so they do not pile up.
1705 # Strip out --silent because we don't want to record it for future runs.
1706 # Also quote any args containing shell meta-characters.
1707 # Make two passes to allow for proper duplicate-argument suppression.
1708 ac_configure_args=
1709 ac_configure_args0=
1710 ac_configure_args1=
1711 ac_must_keep_next=false
1712 for ac_pass in 1 2
1713 do
1714 for ac_arg
1715 do
1716 case $ac_arg in
1717 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1718 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1719 | -silent | --silent | --silen | --sile | --sil)
1720 continue ;;
1721 *\'*)
1722 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1723 esac
1724 case $ac_pass in
1725 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1726 2)
1727 as_fn_append ac_configure_args1 " '$ac_arg'"
1728 if test $ac_must_keep_next = true; then
1729 ac_must_keep_next=false # Got value, back to normal.
1730 else
1731 case $ac_arg in
1732 *=* | --config-cache | -C | -disable-* | --disable-* \
1733 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1734 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1735 | -with-* | --with-* | -without-* | --without-* | --x)
1736 case "$ac_configure_args0 " in
1737 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1738 esac
1739 ;;
1740 -* ) ac_must_keep_next=true ;;
1741 esac
1742 fi
1743 as_fn_append ac_configure_args " '$ac_arg'"
1744 ;;
1745 esac
1746 done
1747 done
1748 { ac_configure_args0=; unset ac_configure_args0;}
1749 { ac_configure_args1=; unset ac_configure_args1;}
1750
1751 # When interrupted or exit'd, cleanup temporary files, and complete
1752 # config.log. We remove comments because anyway the quotes in there
1753 # would cause problems or look ugly.
1754 # WARNING: Use '\'' to represent an apostrophe within the trap.
1755 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1756 trap 'exit_status=$?
1757 # Sanitize IFS.
1758 IFS=" "" $as_nl"
1759 # Save into config.log some information that might help in debugging.
1760 {
1761 echo
1762
1763 printf "%s\n" "## ---------------- ##
1764 ## Cache variables. ##
1765 ## ---------------- ##"
1766 echo
1767 # The following way of writing the cache mishandles newlines in values,
1768 (
1769 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1770 eval ac_val=\$$ac_var
1771 case $ac_val in #(
1772 *${as_nl}*)
1773 case $ac_var in #(
1774 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1775 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1776 esac
1777 case $ac_var in #(
1778 _ | IFS | as_nl) ;; #(
1779 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1780 *) { eval $ac_var=; unset $ac_var;} ;;
1781 esac ;;
1782 esac
1783 done
1784 (set) 2>&1 |
1785 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1786 *${as_nl}ac_space=\ *)
1787 sed -n \
1788 "s/'\''/'\''\\\\'\'''\''/g;
1789 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1790 ;; #(
1791 *)
1792 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1793 ;;
1794 esac |
1795 sort
1796 )
1797 echo
1798
1799 printf "%s\n" "## ----------------- ##
1800 ## Output variables. ##
1801 ## ----------------- ##"
1802 echo
1803 for ac_var in $ac_subst_vars
1804 do
1805 eval ac_val=\$$ac_var
1806 case $ac_val in
1807 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1808 esac
1809 printf "%s\n" "$ac_var='\''$ac_val'\''"
1810 done | sort
1811 echo
1812
1813 if test -n "$ac_subst_files"; then
1814 printf "%s\n" "## ------------------- ##
1815 ## File substitutions. ##
1816 ## ------------------- ##"
1817 echo
1818 for ac_var in $ac_subst_files
1819 do
1820 eval ac_val=\$$ac_var
1821 case $ac_val in
1822 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1823 esac
1824 printf "%s\n" "$ac_var='\''$ac_val'\''"
1825 done | sort
1826 echo
1827 fi
1828
1829 if test -s confdefs.h; then
1830 printf "%s\n" "## ----------- ##
1831 ## confdefs.h. ##
1832 ## ----------- ##"
1833 echo
1834 cat confdefs.h
1835 echo
1836 fi
1837 test "$ac_signal" != 0 &&
1838 printf "%s\n" "$as_me: caught signal $ac_signal"
1839 printf "%s\n" "$as_me: exit $exit_status"
1840 } >&5
1841 rm -f core *.core core.conftest.* &&
1842 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1843 exit $exit_status
1844 ' 0
1845 for ac_signal in 1 2 13 15; do
1846 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1847 done
1848 ac_signal=0
1849
1850 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1851 rm -f -r conftest* confdefs.h
1852
1853 printf "%s\n" "/* confdefs.h */" > confdefs.h
1854
1855 # Predefined preprocessor variables.
1856
1857 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
1858
1859 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
1860
1861 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
1862
1863 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
1864
1865 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
1866
1867 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
1868
1869
1870 # Let the site file select an alternate cache file if it wants to.
1871 # Prefer an explicitly selected file to automatically selected ones.
1872 if test -n "$CONFIG_SITE"; then
1873 ac_site_files="$CONFIG_SITE"
1874 elif test "x$prefix" != xNONE; then
1875 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
1876 else
1877 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
1878 fi
1879
1880 for ac_site_file in $ac_site_files
1881 do
1882 case $ac_site_file in #(
1883 */*) :
1884 ;; #(
1885 *) :
1886 ac_site_file=./$ac_site_file ;;
1887 esac
1888 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
1889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1890 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
1891 sed 's/^/| /' "$ac_site_file" >&5
1892 . "$ac_site_file" \
1893 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1894 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
1895 as_fn_error $? "failed to load site script $ac_site_file
1896 See \`config.log' for more details" "$LINENO" 5; }
1897 fi
1898 done
1899
1900 if test -r "$cache_file"; then
1901 # Some versions of bash will fail to source /dev/null (special files
1902 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1903 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1905 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
1906 case $cache_file in
1907 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1908 *) . "./$cache_file";;
1909 esac
1910 fi
1911 else
1912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1913 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
1914 >$cache_file
1915 fi
1916
1917 # Test code for whether the C compiler supports C89 (global declarations)
1918 ac_c_conftest_c89_globals='
1919 /* Does the compiler advertise C89 conformance?
1920 Do not test the value of __STDC__, because some compilers set it to 0
1921 while being otherwise adequately conformant. */
1922 #if !defined __STDC__
1923 # error "Compiler does not advertise C89 conformance"
1924 #endif
1925
1926 #include <stddef.h>
1927 #include <stdarg.h>
1928 struct stat;
1929 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
1930 struct buf { int x; };
1931 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
1932 static char *e (p, i)
1933 char **p;
1934 int i;
1935 {
1936 return p[i];
1937 }
1938 static char *f (char * (*g) (char **, int), char **p, ...)
1939 {
1940 char *s;
1941 va_list v;
1942 va_start (v,p);
1943 s = g (p, va_arg (v,int));
1944 va_end (v);
1945 return s;
1946 }
1947
1948 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
1949 function prototypes and stuff, but not \xHH hex character constants.
1950 These do not provoke an error unfortunately, instead are silently treated
1951 as an "x". The following induces an error, until -std is added to get
1952 proper ANSI mode. Curiously \x00 != x always comes out true, for an
1953 array size at least. It is necessary to write \x00 == 0 to get something
1954 that is true only with -std. */
1955 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
1956
1957 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
1958 inside strings and character constants. */
1959 #define FOO(x) '\''x'\''
1960 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
1961
1962 int test (int i, double x);
1963 struct s1 {int (*f) (int a);};
1964 struct s2 {int (*f) (double a);};
1965 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
1966 int, int);'
1967
1968 # Test code for whether the C compiler supports C89 (body of main).
1969 ac_c_conftest_c89_main='
1970 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
1971 '
1972
1973 # Test code for whether the C compiler supports C99 (global declarations)
1974 ac_c_conftest_c99_globals='
1975 // Does the compiler advertise C99 conformance?
1976 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
1977 # error "Compiler does not advertise C99 conformance"
1978 #endif
1979
1980 #include <stdbool.h>
1981 extern int puts (const char *);
1982 extern int printf (const char *, ...);
1983 extern int dprintf (int, const char *, ...);
1984 extern void *malloc (size_t);
1985
1986 // Check varargs macros. These examples are taken from C99 6.10.3.5.
1987 // dprintf is used instead of fprintf to avoid needing to declare
1988 // FILE and stderr.
1989 #define debug(...) dprintf (2, __VA_ARGS__)
1990 #define showlist(...) puts (#__VA_ARGS__)
1991 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
1992 static void
1993 test_varargs_macros (void)
1994 {
1995 int x = 1234;
1996 int y = 5678;
1997 debug ("Flag");
1998 debug ("X = %d\n", x);
1999 showlist (The first, second, and third items.);
2000 report (x>y, "x is %d but y is %d", x, y);
2001 }
2002
2003 // Check long long types.
2004 #define BIG64 18446744073709551615ull
2005 #define BIG32 4294967295ul
2006 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
2007 #if !BIG_OK
2008 #error "your preprocessor is broken"
2009 #endif
2010 #if BIG_OK
2011 #else
2012 #error "your preprocessor is broken"
2013 #endif
2014 static long long int bignum = -9223372036854775807LL;
2015 static unsigned long long int ubignum = BIG64;
2016
2017 struct incomplete_array
2018 {
2019 int datasize;
2020 double data[];
2021 };
2022
2023 struct named_init {
2024 int number;
2025 const wchar_t *name;
2026 double average;
2027 };
2028
2029 typedef const char *ccp;
2030
2031 static inline int
2032 test_restrict (ccp restrict text)
2033 {
2034 // See if C++-style comments work.
2035 // Iterate through items via the restricted pointer.
2036 // Also check for declarations in for loops.
2037 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
2038 continue;
2039 return 0;
2040 }
2041
2042 // Check varargs and va_copy.
2043 static bool
2044 test_varargs (const char *format, ...)
2045 {
2046 va_list args;
2047 va_start (args, format);
2048 va_list args_copy;
2049 va_copy (args_copy, args);
2050
2051 const char *str = "";
2052 int number = 0;
2053 float fnumber = 0;
2054
2055 while (*format)
2056 {
2057 switch (*format++)
2058 {
2059 case '\''s'\'': // string
2060 str = va_arg (args_copy, const char *);
2061 break;
2062 case '\''d'\'': // int
2063 number = va_arg (args_copy, int);
2064 break;
2065 case '\''f'\'': // float
2066 fnumber = va_arg (args_copy, double);
2067 break;
2068 default:
2069 break;
2070 }
2071 }
2072 va_end (args_copy);
2073 va_end (args);
2074
2075 return *str && number && fnumber;
2076 }
2077 '
2078
2079 # Test code for whether the C compiler supports C99 (body of main).
2080 ac_c_conftest_c99_main='
2081 // Check bool.
2082 _Bool success = false;
2083 success |= (argc != 0);
2084
2085 // Check restrict.
2086 if (test_restrict ("String literal") == 0)
2087 success = true;
2088 char *restrict newvar = "Another string";
2089
2090 // Check varargs.
2091 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
2092 test_varargs_macros ();
2093
2094 // Check flexible array members.
2095 struct incomplete_array *ia =
2096 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
2097 ia->datasize = 10;
2098 for (int i = 0; i < ia->datasize; ++i)
2099 ia->data[i] = i * 1.234;
2100
2101 // Check named initializers.
2102 struct named_init ni = {
2103 .number = 34,
2104 .name = L"Test wide string",
2105 .average = 543.34343,
2106 };
2107
2108 ni.number = 58;
2109
2110 int dynamic_array[ni.number];
2111 dynamic_array[0] = argv[0][0];
2112 dynamic_array[ni.number - 1] = 543;
2113
2114 // work around unused variable warnings
2115 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
2116 || dynamic_array[ni.number - 1] != 543);
2117 '
2118
2119 # Test code for whether the C compiler supports C11 (global declarations)
2120 ac_c_conftest_c11_globals='
2121 // Does the compiler advertise C11 conformance?
2122 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
2123 # error "Compiler does not advertise C11 conformance"
2124 #endif
2125
2126 // Check _Alignas.
2127 char _Alignas (double) aligned_as_double;
2128 char _Alignas (0) no_special_alignment;
2129 extern char aligned_as_int;
2130 char _Alignas (0) _Alignas (int) aligned_as_int;
2131
2132 // Check _Alignof.
2133 enum
2134 {
2135 int_alignment = _Alignof (int),
2136 int_array_alignment = _Alignof (int[100]),
2137 char_alignment = _Alignof (char)
2138 };
2139 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
2140
2141 // Check _Noreturn.
2142 int _Noreturn does_not_return (void) { for (;;) continue; }
2143
2144 // Check _Static_assert.
2145 struct test_static_assert
2146 {
2147 int x;
2148 _Static_assert (sizeof (int) <= sizeof (long int),
2149 "_Static_assert does not work in struct");
2150 long int y;
2151 };
2152
2153 // Check UTF-8 literals.
2154 #define u8 syntax error!
2155 char const utf8_literal[] = u8"happens to be ASCII" "another string";
2156
2157 // Check duplicate typedefs.
2158 typedef long *long_ptr;
2159 typedef long int *long_ptr;
2160 typedef long_ptr long_ptr;
2161
2162 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
2163 struct anonymous
2164 {
2165 union {
2166 struct { int i; int j; };
2167 struct { int k; long int l; } w;
2168 };
2169 int m;
2170 } v1;
2171 '
2172
2173 # Test code for whether the C compiler supports C11 (body of main).
2174 ac_c_conftest_c11_main='
2175 _Static_assert ((offsetof (struct anonymous, i)
2176 == offsetof (struct anonymous, w.k)),
2177 "Anonymous union alignment botch");
2178 v1.i = 2;
2179 v1.w.k = 5;
2180 ok |= v1.i != 5;
2181 '
2182
2183 # Test code for whether the C compiler supports C11 (complete).
2184 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
2185 ${ac_c_conftest_c99_globals}
2186 ${ac_c_conftest_c11_globals}
2187
2188 int
2189 main (int argc, char **argv)
2190 {
2191 int ok = 0;
2192 ${ac_c_conftest_c89_main}
2193 ${ac_c_conftest_c99_main}
2194 ${ac_c_conftest_c11_main}
2195 return ok;
2196 }
2197 "
2198
2199 # Test code for whether the C compiler supports C99 (complete).
2200 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
2201 ${ac_c_conftest_c99_globals}
2202
2203 int
2204 main (int argc, char **argv)
2205 {
2206 int ok = 0;
2207 ${ac_c_conftest_c89_main}
2208 ${ac_c_conftest_c99_main}
2209 return ok;
2210 }
2211 "
2212
2213 # Test code for whether the C compiler supports C89 (complete).
2214 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
2215
2216 int
2217 main (int argc, char **argv)
2218 {
2219 int ok = 0;
2220 ${ac_c_conftest_c89_main}
2221 return ok;
2222 }
2223 "
2224
2225 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
2226 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
2227 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
2228 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
2229 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
2230 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
2231 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
2232 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
2233 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
2234
2235 # Auxiliary files required by this configure script.
2236 ac_aux_files="config.guess config.sub install-sh"
2237
2238 # Locations in which to look for auxiliary files.
2239 ac_aux_dir_candidates="${srcdir}${PATH_SEPARATOR}${srcdir}/..${PATH_SEPARATOR}${srcdir}/../.."
2240
2241 # Search for a directory containing all of the required auxiliary files,
2242 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
2243 # If we don't find one directory that contains all the files we need,
2244 # we report the set of missing files from the *first* directory in
2245 # $ac_aux_dir_candidates and give up.
2246 ac_missing_aux_files=""
2247 ac_first_candidate=:
2248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
2249 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2250 as_found=false
2251 for as_dir in $ac_aux_dir_candidates
2252 do
2253 IFS=$as_save_IFS
2254 case $as_dir in #(((
2255 '') as_dir=./ ;;
2256 */) ;;
2257 *) as_dir=$as_dir/ ;;
2258 esac
2259 as_found=:
2260
2261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
2262 ac_aux_dir_found=yes
2263 ac_install_sh=
2264 for ac_aux in $ac_aux_files
2265 do
2266 # As a special case, if "install-sh" is required, that requirement
2267 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
2268 # and $ac_install_sh is set appropriately for whichever one is found.
2269 if test x"$ac_aux" = x"install-sh"
2270 then
2271 if test -f "${as_dir}install-sh"; then
2272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
2273 ac_install_sh="${as_dir}install-sh -c"
2274 elif test -f "${as_dir}install.sh"; then
2275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
2276 ac_install_sh="${as_dir}install.sh -c"
2277 elif test -f "${as_dir}shtool"; then
2278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
2279 ac_install_sh="${as_dir}shtool install -c"
2280 else
2281 ac_aux_dir_found=no
2282 if $ac_first_candidate; then
2283 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
2284 else
2285 break
2286 fi
2287 fi
2288 else
2289 if test -f "${as_dir}${ac_aux}"; then
2290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
2291 else
2292 ac_aux_dir_found=no
2293 if $ac_first_candidate; then
2294 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
2295 else
2296 break
2297 fi
2298 fi
2299 fi
2300 done
2301 if test "$ac_aux_dir_found" = yes; then
2302 ac_aux_dir="$as_dir"
2303 break
2304 fi
2305 ac_first_candidate=false
2306
2307 as_found=false
2308 done
2309 IFS=$as_save_IFS
2310 if $as_found
2311 then :
2312
2313 else $as_nop
2314 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
2315 fi
2316
2317
2318 # These three variables are undocumented and unsupported,
2319 # and are intended to be withdrawn in a future Autoconf release.
2320 # They can cause serious problems if a builder's source tree is in a directory
2321 # whose full name contains unusual characters.
2322 if test -f "${ac_aux_dir}config.guess"; then
2323 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
2324 fi
2325 if test -f "${ac_aux_dir}config.sub"; then
2326 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
2327 fi
2328 if test -f "$ac_aux_dir/configure"; then
2329 ac_configure="$SHELL ${ac_aux_dir}configure"
2330 fi
2331
2332 # Check that the precious variables saved in the cache have kept the same
2333 # value.
2334 ac_cache_corrupted=false
2335 for ac_var in $ac_precious_vars; do
2336 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2337 eval ac_new_set=\$ac_env_${ac_var}_set
2338 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2339 eval ac_new_val=\$ac_env_${ac_var}_value
2340 case $ac_old_set,$ac_new_set in
2341 set,)
2342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2343 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2344 ac_cache_corrupted=: ;;
2345 ,set)
2346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2347 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2348 ac_cache_corrupted=: ;;
2349 ,);;
2350 *)
2351 if test "x$ac_old_val" != "x$ac_new_val"; then
2352 # differences in whitespace do not lead to failure.
2353 ac_old_val_w=`echo x $ac_old_val`
2354 ac_new_val_w=`echo x $ac_new_val`
2355 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2357 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2358 ac_cache_corrupted=:
2359 else
2360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2361 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2362 eval $ac_var=\$ac_old_val
2363 fi
2364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2365 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
2366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2367 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
2368 fi;;
2369 esac
2370 # Pass precious variables to config.status.
2371 if test "$ac_new_set" = set; then
2372 case $ac_new_val in
2373 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2374 *) ac_arg=$ac_var=$ac_new_val ;;
2375 esac
2376 case " $ac_configure_args " in
2377 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2378 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2379 esac
2380 fi
2381 done
2382 if $ac_cache_corrupted; then
2383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2384 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2386 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
2387 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
2388 and start over" "$LINENO" 5
2389 fi
2390 ## -------------------- ##
2391 ## Main body of script. ##
2392 ## -------------------- ##
2393
2394 ac_ext=c
2395 ac_cpp='$CPP $CPPFLAGS'
2396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2399
2400
2401
2402
2403
2404
2405 # Find a good install program. We prefer a C program (faster),
2406 # so one script is as good as another. But avoid the broken or
2407 # incompatible versions:
2408 # SysV /etc/install, /usr/sbin/install
2409 # SunOS /usr/etc/install
2410 # IRIX /sbin/install
2411 # AIX /bin/install
2412 # AmigaOS /C/install, which installs bootblocks on floppy discs
2413 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2414 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2415 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2416 # OS/2's system install, which has a completely different semantic
2417 # ./install, which can be erroneously created by make from ./install.sh.
2418 # Reject install programs that cannot install multiple files.
2419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2420 printf %s "checking for a BSD-compatible install... " >&6; }
2421 if test -z "$INSTALL"; then
2422 if test ${ac_cv_path_install+y}
2423 then :
2424 printf %s "(cached) " >&6
2425 else $as_nop
2426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2427 for as_dir in $PATH
2428 do
2429 IFS=$as_save_IFS
2430 case $as_dir in #(((
2431 '') as_dir=./ ;;
2432 */) ;;
2433 *) as_dir=$as_dir/ ;;
2434 esac
2435 # Account for fact that we put trailing slashes in our PATH walk.
2436 case $as_dir in #((
2437 ./ | /[cC]/* | \
2438 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2439 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2440 /usr/ucb/* ) ;;
2441 *)
2442 # OSF1 and SCO ODT 3.0 have their own names for install.
2443 # Don't use installbsd from OSF since it installs stuff as root
2444 # by default.
2445 for ac_prog in ginstall scoinst install; do
2446 for ac_exec_ext in '' $ac_executable_extensions; do
2447 if as_fn_executable_p "$as_dir$ac_prog$ac_exec_ext"; then
2448 if test $ac_prog = install &&
2449 grep dspmsg "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2450 # AIX install. It has an incompatible calling convention.
2451 :
2452 elif test $ac_prog = install &&
2453 grep pwplus "$as_dir$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2454 # program-specific install script used by HP pwplus--don't use.
2455 :
2456 else
2457 rm -rf conftest.one conftest.two conftest.dir
2458 echo one > conftest.one
2459 echo two > conftest.two
2460 mkdir conftest.dir
2461 if "$as_dir$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir/" &&
2462 test -s conftest.one && test -s conftest.two &&
2463 test -s conftest.dir/conftest.one &&
2464 test -s conftest.dir/conftest.two
2465 then
2466 ac_cv_path_install="$as_dir$ac_prog$ac_exec_ext -c"
2467 break 3
2468 fi
2469 fi
2470 fi
2471 done
2472 done
2473 ;;
2474 esac
2475
2476 done
2477 IFS=$as_save_IFS
2478
2479 rm -rf conftest.one conftest.two conftest.dir
2480
2481 fi
2482 if test ${ac_cv_path_install+y}; then
2483 INSTALL=$ac_cv_path_install
2484 else
2485 # As a last resort, use the slow shell script. Don't cache a
2486 # value for INSTALL within a source directory, because that will
2487 # break other packages using the cache if that directory is
2488 # removed, or if the value is a relative name.
2489 INSTALL=$ac_install_sh
2490 fi
2491 fi
2492 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2493 printf "%s\n" "$INSTALL" >&6; }
2494
2495 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2496 # It thinks the first close brace ends the variable substitution.
2497 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2498
2499 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2500
2501 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512 ac_ext=c
2513 ac_cpp='$CPP $CPPFLAGS'
2514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2517 if test -n "$ac_tool_prefix"; then
2518 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2519 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2521 printf %s "checking for $ac_word... " >&6; }
2522 if test ${ac_cv_prog_CC+y}
2523 then :
2524 printf %s "(cached) " >&6
2525 else $as_nop
2526 if test -n "$CC"; then
2527 ac_cv_prog_CC="$CC" # Let the user override the test.
2528 else
2529 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2530 for as_dir in $PATH
2531 do
2532 IFS=$as_save_IFS
2533 case $as_dir in #(((
2534 '') as_dir=./ ;;
2535 */) ;;
2536 *) as_dir=$as_dir/ ;;
2537 esac
2538 for ac_exec_ext in '' $ac_executable_extensions; do
2539 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2540 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2541 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2542 break 2
2543 fi
2544 done
2545 done
2546 IFS=$as_save_IFS
2547
2548 fi
2549 fi
2550 CC=$ac_cv_prog_CC
2551 if test -n "$CC"; then
2552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2553 printf "%s\n" "$CC" >&6; }
2554 else
2555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2556 printf "%s\n" "no" >&6; }
2557 fi
2558
2559
2560 fi
2561 if test -z "$ac_cv_prog_CC"; then
2562 ac_ct_CC=$CC
2563 # Extract the first word of "gcc", so it can be a program name with args.
2564 set dummy gcc; ac_word=$2
2565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2566 printf %s "checking for $ac_word... " >&6; }
2567 if test ${ac_cv_prog_ac_ct_CC+y}
2568 then :
2569 printf %s "(cached) " >&6
2570 else $as_nop
2571 if test -n "$ac_ct_CC"; then
2572 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2573 else
2574 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2575 for as_dir in $PATH
2576 do
2577 IFS=$as_save_IFS
2578 case $as_dir in #(((
2579 '') as_dir=./ ;;
2580 */) ;;
2581 *) as_dir=$as_dir/ ;;
2582 esac
2583 for ac_exec_ext in '' $ac_executable_extensions; do
2584 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2585 ac_cv_prog_ac_ct_CC="gcc"
2586 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2587 break 2
2588 fi
2589 done
2590 done
2591 IFS=$as_save_IFS
2592
2593 fi
2594 fi
2595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2596 if test -n "$ac_ct_CC"; then
2597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2598 printf "%s\n" "$ac_ct_CC" >&6; }
2599 else
2600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2601 printf "%s\n" "no" >&6; }
2602 fi
2603
2604 if test "x$ac_ct_CC" = x; then
2605 CC=""
2606 else
2607 case $cross_compiling:$ac_tool_warned in
2608 yes:)
2609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2610 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2611 ac_tool_warned=yes ;;
2612 esac
2613 CC=$ac_ct_CC
2614 fi
2615 else
2616 CC="$ac_cv_prog_CC"
2617 fi
2618
2619 if test -z "$CC"; then
2620 if test -n "$ac_tool_prefix"; then
2621 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2622 set dummy ${ac_tool_prefix}cc; ac_word=$2
2623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2624 printf %s "checking for $ac_word... " >&6; }
2625 if test ${ac_cv_prog_CC+y}
2626 then :
2627 printf %s "(cached) " >&6
2628 else $as_nop
2629 if test -n "$CC"; then
2630 ac_cv_prog_CC="$CC" # Let the user override the test.
2631 else
2632 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2633 for as_dir in $PATH
2634 do
2635 IFS=$as_save_IFS
2636 case $as_dir in #(((
2637 '') as_dir=./ ;;
2638 */) ;;
2639 *) as_dir=$as_dir/ ;;
2640 esac
2641 for ac_exec_ext in '' $ac_executable_extensions; do
2642 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2643 ac_cv_prog_CC="${ac_tool_prefix}cc"
2644 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2645 break 2
2646 fi
2647 done
2648 done
2649 IFS=$as_save_IFS
2650
2651 fi
2652 fi
2653 CC=$ac_cv_prog_CC
2654 if test -n "$CC"; then
2655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2656 printf "%s\n" "$CC" >&6; }
2657 else
2658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 printf "%s\n" "no" >&6; }
2660 fi
2661
2662
2663 fi
2664 fi
2665 if test -z "$CC"; then
2666 # Extract the first word of "cc", so it can be a program name with args.
2667 set dummy cc; ac_word=$2
2668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2669 printf %s "checking for $ac_word... " >&6; }
2670 if test ${ac_cv_prog_CC+y}
2671 then :
2672 printf %s "(cached) " >&6
2673 else $as_nop
2674 if test -n "$CC"; then
2675 ac_cv_prog_CC="$CC" # Let the user override the test.
2676 else
2677 ac_prog_rejected=no
2678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2679 for as_dir in $PATH
2680 do
2681 IFS=$as_save_IFS
2682 case $as_dir in #(((
2683 '') as_dir=./ ;;
2684 */) ;;
2685 *) as_dir=$as_dir/ ;;
2686 esac
2687 for ac_exec_ext in '' $ac_executable_extensions; do
2688 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2689 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2690 ac_prog_rejected=yes
2691 continue
2692 fi
2693 ac_cv_prog_CC="cc"
2694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2695 break 2
2696 fi
2697 done
2698 done
2699 IFS=$as_save_IFS
2700
2701 if test $ac_prog_rejected = yes; then
2702 # We found a bogon in the path, so make sure we never use it.
2703 set dummy $ac_cv_prog_CC
2704 shift
2705 if test $# != 0; then
2706 # We chose a different compiler from the bogus one.
2707 # However, it has the same basename, so the bogon will be chosen
2708 # first if we set CC to just the basename; use the full file name.
2709 shift
2710 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
2711 fi
2712 fi
2713 fi
2714 fi
2715 CC=$ac_cv_prog_CC
2716 if test -n "$CC"; then
2717 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2718 printf "%s\n" "$CC" >&6; }
2719 else
2720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2721 printf "%s\n" "no" >&6; }
2722 fi
2723
2724
2725 fi
2726 if test -z "$CC"; then
2727 if test -n "$ac_tool_prefix"; then
2728 for ac_prog in cl.exe
2729 do
2730 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2731 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2733 printf %s "checking for $ac_word... " >&6; }
2734 if test ${ac_cv_prog_CC+y}
2735 then :
2736 printf %s "(cached) " >&6
2737 else $as_nop
2738 if test -n "$CC"; then
2739 ac_cv_prog_CC="$CC" # Let the user override the test.
2740 else
2741 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2742 for as_dir in $PATH
2743 do
2744 IFS=$as_save_IFS
2745 case $as_dir in #(((
2746 '') as_dir=./ ;;
2747 */) ;;
2748 *) as_dir=$as_dir/ ;;
2749 esac
2750 for ac_exec_ext in '' $ac_executable_extensions; do
2751 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2752 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2754 break 2
2755 fi
2756 done
2757 done
2758 IFS=$as_save_IFS
2759
2760 fi
2761 fi
2762 CC=$ac_cv_prog_CC
2763 if test -n "$CC"; then
2764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2765 printf "%s\n" "$CC" >&6; }
2766 else
2767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2768 printf "%s\n" "no" >&6; }
2769 fi
2770
2771
2772 test -n "$CC" && break
2773 done
2774 fi
2775 if test -z "$CC"; then
2776 ac_ct_CC=$CC
2777 for ac_prog in cl.exe
2778 do
2779 # Extract the first word of "$ac_prog", so it can be a program name with args.
2780 set dummy $ac_prog; ac_word=$2
2781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2782 printf %s "checking for $ac_word... " >&6; }
2783 if test ${ac_cv_prog_ac_ct_CC+y}
2784 then :
2785 printf %s "(cached) " >&6
2786 else $as_nop
2787 if test -n "$ac_ct_CC"; then
2788 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2789 else
2790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2791 for as_dir in $PATH
2792 do
2793 IFS=$as_save_IFS
2794 case $as_dir in #(((
2795 '') as_dir=./ ;;
2796 */) ;;
2797 *) as_dir=$as_dir/ ;;
2798 esac
2799 for ac_exec_ext in '' $ac_executable_extensions; do
2800 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2801 ac_cv_prog_ac_ct_CC="$ac_prog"
2802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2803 break 2
2804 fi
2805 done
2806 done
2807 IFS=$as_save_IFS
2808
2809 fi
2810 fi
2811 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2812 if test -n "$ac_ct_CC"; then
2813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2814 printf "%s\n" "$ac_ct_CC" >&6; }
2815 else
2816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2817 printf "%s\n" "no" >&6; }
2818 fi
2819
2820
2821 test -n "$ac_ct_CC" && break
2822 done
2823
2824 if test "x$ac_ct_CC" = x; then
2825 CC=""
2826 else
2827 case $cross_compiling:$ac_tool_warned in
2828 yes:)
2829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2830 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2831 ac_tool_warned=yes ;;
2832 esac
2833 CC=$ac_ct_CC
2834 fi
2835 fi
2836
2837 fi
2838 if test -z "$CC"; then
2839 if test -n "$ac_tool_prefix"; then
2840 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
2841 set dummy ${ac_tool_prefix}clang; ac_word=$2
2842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2843 printf %s "checking for $ac_word... " >&6; }
2844 if test ${ac_cv_prog_CC+y}
2845 then :
2846 printf %s "(cached) " >&6
2847 else $as_nop
2848 if test -n "$CC"; then
2849 ac_cv_prog_CC="$CC" # Let the user override the test.
2850 else
2851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2852 for as_dir in $PATH
2853 do
2854 IFS=$as_save_IFS
2855 case $as_dir in #(((
2856 '') as_dir=./ ;;
2857 */) ;;
2858 *) as_dir=$as_dir/ ;;
2859 esac
2860 for ac_exec_ext in '' $ac_executable_extensions; do
2861 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2862 ac_cv_prog_CC="${ac_tool_prefix}clang"
2863 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2864 break 2
2865 fi
2866 done
2867 done
2868 IFS=$as_save_IFS
2869
2870 fi
2871 fi
2872 CC=$ac_cv_prog_CC
2873 if test -n "$CC"; then
2874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2875 printf "%s\n" "$CC" >&6; }
2876 else
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2878 printf "%s\n" "no" >&6; }
2879 fi
2880
2881
2882 fi
2883 if test -z "$ac_cv_prog_CC"; then
2884 ac_ct_CC=$CC
2885 # Extract the first word of "clang", so it can be a program name with args.
2886 set dummy clang; ac_word=$2
2887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2888 printf %s "checking for $ac_word... " >&6; }
2889 if test ${ac_cv_prog_ac_ct_CC+y}
2890 then :
2891 printf %s "(cached) " >&6
2892 else $as_nop
2893 if test -n "$ac_ct_CC"; then
2894 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2895 else
2896 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2897 for as_dir in $PATH
2898 do
2899 IFS=$as_save_IFS
2900 case $as_dir in #(((
2901 '') as_dir=./ ;;
2902 */) ;;
2903 *) as_dir=$as_dir/ ;;
2904 esac
2905 for ac_exec_ext in '' $ac_executable_extensions; do
2906 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
2907 ac_cv_prog_ac_ct_CC="clang"
2908 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
2909 break 2
2910 fi
2911 done
2912 done
2913 IFS=$as_save_IFS
2914
2915 fi
2916 fi
2917 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2918 if test -n "$ac_ct_CC"; then
2919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2920 printf "%s\n" "$ac_ct_CC" >&6; }
2921 else
2922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
2923 printf "%s\n" "no" >&6; }
2924 fi
2925
2926 if test "x$ac_ct_CC" = x; then
2927 CC=""
2928 else
2929 case $cross_compiling:$ac_tool_warned in
2930 yes:)
2931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2932 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2933 ac_tool_warned=yes ;;
2934 esac
2935 CC=$ac_ct_CC
2936 fi
2937 else
2938 CC="$ac_cv_prog_CC"
2939 fi
2940
2941 fi
2942
2943
2944 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2945 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
2946 as_fn_error $? "no acceptable C compiler found in \$PATH
2947 See \`config.log' for more details" "$LINENO" 5; }
2948
2949 # Provide some information about the compiler.
2950 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2951 set X $ac_compile
2952 ac_compiler=$2
2953 for ac_option in --version -v -V -qversion -version; do
2954 { { ac_try="$ac_compiler $ac_option >&5"
2955 case "(($ac_try" in
2956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2957 *) ac_try_echo=$ac_try;;
2958 esac
2959 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2960 printf "%s\n" "$ac_try_echo"; } >&5
2961 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2962 ac_status=$?
2963 if test -s conftest.err; then
2964 sed '10a\
2965 ... rest of stderr output deleted ...
2966 10q' conftest.err >conftest.er1
2967 cat conftest.er1 >&5
2968 fi
2969 rm -f conftest.er1 conftest.err
2970 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2971 test $ac_status = 0; }
2972 done
2973
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2976
2977 int
2978 main (void)
2979 {
2980
2981 ;
2982 return 0;
2983 }
2984 _ACEOF
2985 ac_clean_files_save=$ac_clean_files
2986 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2987 # Try to create an executable without -o first, disregard a.out.
2988 # It will help us diagnose broken compilers, and finding out an intuition
2989 # of exeext.
2990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2991 printf %s "checking whether the C compiler works... " >&6; }
2992 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2993
2994 # The possible output files:
2995 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2996
2997 ac_rmfiles=
2998 for ac_file in $ac_files
2999 do
3000 case $ac_file in
3001 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3002 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
3003 esac
3004 done
3005 rm -f $ac_rmfiles
3006
3007 if { { ac_try="$ac_link_default"
3008 case "(($ac_try" in
3009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3010 *) ac_try_echo=$ac_try;;
3011 esac
3012 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3013 printf "%s\n" "$ac_try_echo"; } >&5
3014 (eval "$ac_link_default") 2>&5
3015 ac_status=$?
3016 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3017 test $ac_status = 0; }
3018 then :
3019 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
3020 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
3021 # in a Makefile. We should not override ac_cv_exeext if it was cached,
3022 # so that the user can short-circuit this test for compilers unknown to
3023 # Autoconf.
3024 for ac_file in $ac_files ''
3025 do
3026 test -f "$ac_file" || continue
3027 case $ac_file in
3028 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
3029 ;;
3030 [ab].out )
3031 # We found the default executable, but exeext='' is most
3032 # certainly right.
3033 break;;
3034 *.* )
3035 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
3036 then :; else
3037 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3038 fi
3039 # We set ac_cv_exeext here because the later test for it is not
3040 # safe: cross compilers may not add the suffix if given an `-o'
3041 # argument, so we may need to know it at that point already.
3042 # Even if this section looks crufty: it has the advantage of
3043 # actually working.
3044 break;;
3045 * )
3046 break;;
3047 esac
3048 done
3049 test "$ac_cv_exeext" = no && ac_cv_exeext=
3050
3051 else $as_nop
3052 ac_file=''
3053 fi
3054 if test -z "$ac_file"
3055 then :
3056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
3057 printf "%s\n" "no" >&6; }
3058 printf "%s\n" "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3060
3061 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3062 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3063 as_fn_error 77 "C compiler cannot create executables
3064 See \`config.log' for more details" "$LINENO" 5; }
3065 else $as_nop
3066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3067 printf "%s\n" "yes" >&6; }
3068 fi
3069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
3070 printf %s "checking for C compiler default output file name... " >&6; }
3071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
3072 printf "%s\n" "$ac_file" >&6; }
3073 ac_exeext=$ac_cv_exeext
3074
3075 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
3076 ac_clean_files=$ac_clean_files_save
3077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
3078 printf %s "checking for suffix of executables... " >&6; }
3079 if { { ac_try="$ac_link"
3080 case "(($ac_try" in
3081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3082 *) ac_try_echo=$ac_try;;
3083 esac
3084 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3085 printf "%s\n" "$ac_try_echo"; } >&5
3086 (eval "$ac_link") 2>&5
3087 ac_status=$?
3088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3089 test $ac_status = 0; }
3090 then :
3091 # If both `conftest.exe' and `conftest' are `present' (well, observable)
3092 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
3093 # work properly (i.e., refer to `conftest.exe'), while it won't with
3094 # `rm'.
3095 for ac_file in conftest.exe conftest conftest.*; do
3096 test -f "$ac_file" || continue
3097 case $ac_file in
3098 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
3099 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
3100 break;;
3101 * ) break;;
3102 esac
3103 done
3104 else $as_nop
3105 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3106 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3107 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
3108 See \`config.log' for more details" "$LINENO" 5; }
3109 fi
3110 rm -f conftest conftest$ac_cv_exeext
3111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
3112 printf "%s\n" "$ac_cv_exeext" >&6; }
3113
3114 rm -f conftest.$ac_ext
3115 EXEEXT=$ac_cv_exeext
3116 ac_exeext=$EXEEXT
3117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3118 /* end confdefs.h. */
3119 #include <stdio.h>
3120 int
3121 main (void)
3122 {
3123 FILE *f = fopen ("conftest.out", "w");
3124 return ferror (f) || fclose (f) != 0;
3125
3126 ;
3127 return 0;
3128 }
3129 _ACEOF
3130 ac_clean_files="$ac_clean_files conftest.out"
3131 # Check that the compiler produces executables we can run. If not, either
3132 # the compiler is broken, or we cross compile.
3133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
3134 printf %s "checking whether we are cross compiling... " >&6; }
3135 if test "$cross_compiling" != yes; then
3136 { { ac_try="$ac_link"
3137 case "(($ac_try" in
3138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3139 *) ac_try_echo=$ac_try;;
3140 esac
3141 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3142 printf "%s\n" "$ac_try_echo"; } >&5
3143 (eval "$ac_link") 2>&5
3144 ac_status=$?
3145 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3146 test $ac_status = 0; }
3147 if { ac_try='./conftest$ac_cv_exeext'
3148 { { case "(($ac_try" in
3149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3150 *) ac_try_echo=$ac_try;;
3151 esac
3152 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3153 printf "%s\n" "$ac_try_echo"; } >&5
3154 (eval "$ac_try") 2>&5
3155 ac_status=$?
3156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3157 test $ac_status = 0; }; }; then
3158 cross_compiling=no
3159 else
3160 if test "$cross_compiling" = maybe; then
3161 cross_compiling=yes
3162 else
3163 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3164 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3165 as_fn_error 77 "cannot run C compiled programs.
3166 If you meant to cross compile, use \`--host'.
3167 See \`config.log' for more details" "$LINENO" 5; }
3168 fi
3169 fi
3170 fi
3171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
3172 printf "%s\n" "$cross_compiling" >&6; }
3173
3174 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
3175 ac_clean_files=$ac_clean_files_save
3176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
3177 printf %s "checking for suffix of object files... " >&6; }
3178 if test ${ac_cv_objext+y}
3179 then :
3180 printf %s "(cached) " >&6
3181 else $as_nop
3182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3183 /* end confdefs.h. */
3184
3185 int
3186 main (void)
3187 {
3188
3189 ;
3190 return 0;
3191 }
3192 _ACEOF
3193 rm -f conftest.o conftest.obj
3194 if { { ac_try="$ac_compile"
3195 case "(($ac_try" in
3196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3197 *) ac_try_echo=$ac_try;;
3198 esac
3199 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3200 printf "%s\n" "$ac_try_echo"; } >&5
3201 (eval "$ac_compile") 2>&5
3202 ac_status=$?
3203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3204 test $ac_status = 0; }
3205 then :
3206 for ac_file in conftest.o conftest.obj conftest.*; do
3207 test -f "$ac_file" || continue;
3208 case $ac_file in
3209 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
3210 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
3211 break;;
3212 esac
3213 done
3214 else $as_nop
3215 printf "%s\n" "$as_me: failed program was:" >&5
3216 sed 's/^/| /' conftest.$ac_ext >&5
3217
3218 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3219 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3220 as_fn_error $? "cannot compute suffix of object files: cannot compile
3221 See \`config.log' for more details" "$LINENO" 5; }
3222 fi
3223 rm -f conftest.$ac_cv_objext conftest.$ac_ext
3224 fi
3225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
3226 printf "%s\n" "$ac_cv_objext" >&6; }
3227 OBJEXT=$ac_cv_objext
3228 ac_objext=$OBJEXT
3229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
3230 printf %s "checking whether the compiler supports GNU C... " >&6; }
3231 if test ${ac_cv_c_compiler_gnu+y}
3232 then :
3233 printf %s "(cached) " >&6
3234 else $as_nop
3235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3236 /* end confdefs.h. */
3237
3238 int
3239 main (void)
3240 {
3241 #ifndef __GNUC__
3242 choke me
3243 #endif
3244
3245 ;
3246 return 0;
3247 }
3248 _ACEOF
3249 if ac_fn_c_try_compile "$LINENO"
3250 then :
3251 ac_compiler_gnu=yes
3252 else $as_nop
3253 ac_compiler_gnu=no
3254 fi
3255 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3256 ac_cv_c_compiler_gnu=$ac_compiler_gnu
3257
3258 fi
3259 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
3260 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
3261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3262
3263 if test $ac_compiler_gnu = yes; then
3264 GCC=yes
3265 else
3266 GCC=
3267 fi
3268 ac_test_CFLAGS=${CFLAGS+y}
3269 ac_save_CFLAGS=$CFLAGS
3270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
3271 printf %s "checking whether $CC accepts -g... " >&6; }
3272 if test ${ac_cv_prog_cc_g+y}
3273 then :
3274 printf %s "(cached) " >&6
3275 else $as_nop
3276 ac_save_c_werror_flag=$ac_c_werror_flag
3277 ac_c_werror_flag=yes
3278 ac_cv_prog_cc_g=no
3279 CFLAGS="-g"
3280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3281 /* end confdefs.h. */
3282
3283 int
3284 main (void)
3285 {
3286
3287 ;
3288 return 0;
3289 }
3290 _ACEOF
3291 if ac_fn_c_try_compile "$LINENO"
3292 then :
3293 ac_cv_prog_cc_g=yes
3294 else $as_nop
3295 CFLAGS=""
3296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3297 /* end confdefs.h. */
3298
3299 int
3300 main (void)
3301 {
3302
3303 ;
3304 return 0;
3305 }
3306 _ACEOF
3307 if ac_fn_c_try_compile "$LINENO"
3308 then :
3309
3310 else $as_nop
3311 ac_c_werror_flag=$ac_save_c_werror_flag
3312 CFLAGS="-g"
3313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3314 /* end confdefs.h. */
3315
3316 int
3317 main (void)
3318 {
3319
3320 ;
3321 return 0;
3322 }
3323 _ACEOF
3324 if ac_fn_c_try_compile "$LINENO"
3325 then :
3326 ac_cv_prog_cc_g=yes
3327 fi
3328 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3329 fi
3330 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3331 fi
3332 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3333 ac_c_werror_flag=$ac_save_c_werror_flag
3334 fi
3335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
3336 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
3337 if test $ac_test_CFLAGS; then
3338 CFLAGS=$ac_save_CFLAGS
3339 elif test $ac_cv_prog_cc_g = yes; then
3340 if test "$GCC" = yes; then
3341 CFLAGS="-g -O2"
3342 else
3343 CFLAGS="-g"
3344 fi
3345 else
3346 if test "$GCC" = yes; then
3347 CFLAGS="-O2"
3348 else
3349 CFLAGS=
3350 fi
3351 fi
3352 ac_prog_cc_stdc=no
3353 if test x$ac_prog_cc_stdc = xno
3354 then :
3355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
3356 printf %s "checking for $CC option to enable C11 features... " >&6; }
3357 if test ${ac_cv_prog_cc_c11+y}
3358 then :
3359 printf %s "(cached) " >&6
3360 else $as_nop
3361 ac_cv_prog_cc_c11=no
3362 ac_save_CC=$CC
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3365 $ac_c_conftest_c11_program
3366 _ACEOF
3367 for ac_arg in '' -std=gnu11
3368 do
3369 CC="$ac_save_CC $ac_arg"
3370 if ac_fn_c_try_compile "$LINENO"
3371 then :
3372 ac_cv_prog_cc_c11=$ac_arg
3373 fi
3374 rm -f core conftest.err conftest.$ac_objext conftest.beam
3375 test "x$ac_cv_prog_cc_c11" != "xno" && break
3376 done
3377 rm -f conftest.$ac_ext
3378 CC=$ac_save_CC
3379 fi
3380
3381 if test "x$ac_cv_prog_cc_c11" = xno
3382 then :
3383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3384 printf "%s\n" "unsupported" >&6; }
3385 else $as_nop
3386 if test "x$ac_cv_prog_cc_c11" = x
3387 then :
3388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3389 printf "%s\n" "none needed" >&6; }
3390 else $as_nop
3391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
3392 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
3393 CC="$CC $ac_cv_prog_cc_c11"
3394 fi
3395 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
3396 ac_prog_cc_stdc=c11
3397 fi
3398 fi
3399 if test x$ac_prog_cc_stdc = xno
3400 then :
3401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
3402 printf %s "checking for $CC option to enable C99 features... " >&6; }
3403 if test ${ac_cv_prog_cc_c99+y}
3404 then :
3405 printf %s "(cached) " >&6
3406 else $as_nop
3407 ac_cv_prog_cc_c99=no
3408 ac_save_CC=$CC
3409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3410 /* end confdefs.h. */
3411 $ac_c_conftest_c99_program
3412 _ACEOF
3413 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
3414 do
3415 CC="$ac_save_CC $ac_arg"
3416 if ac_fn_c_try_compile "$LINENO"
3417 then :
3418 ac_cv_prog_cc_c99=$ac_arg
3419 fi
3420 rm -f core conftest.err conftest.$ac_objext conftest.beam
3421 test "x$ac_cv_prog_cc_c99" != "xno" && break
3422 done
3423 rm -f conftest.$ac_ext
3424 CC=$ac_save_CC
3425 fi
3426
3427 if test "x$ac_cv_prog_cc_c99" = xno
3428 then :
3429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3430 printf "%s\n" "unsupported" >&6; }
3431 else $as_nop
3432 if test "x$ac_cv_prog_cc_c99" = x
3433 then :
3434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3435 printf "%s\n" "none needed" >&6; }
3436 else $as_nop
3437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
3438 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
3439 CC="$CC $ac_cv_prog_cc_c99"
3440 fi
3441 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
3442 ac_prog_cc_stdc=c99
3443 fi
3444 fi
3445 if test x$ac_prog_cc_stdc = xno
3446 then :
3447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
3448 printf %s "checking for $CC option to enable C89 features... " >&6; }
3449 if test ${ac_cv_prog_cc_c89+y}
3450 then :
3451 printf %s "(cached) " >&6
3452 else $as_nop
3453 ac_cv_prog_cc_c89=no
3454 ac_save_CC=$CC
3455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3456 /* end confdefs.h. */
3457 $ac_c_conftest_c89_program
3458 _ACEOF
3459 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3460 do
3461 CC="$ac_save_CC $ac_arg"
3462 if ac_fn_c_try_compile "$LINENO"
3463 then :
3464 ac_cv_prog_cc_c89=$ac_arg
3465 fi
3466 rm -f core conftest.err conftest.$ac_objext conftest.beam
3467 test "x$ac_cv_prog_cc_c89" != "xno" && break
3468 done
3469 rm -f conftest.$ac_ext
3470 CC=$ac_save_CC
3471 fi
3472
3473 if test "x$ac_cv_prog_cc_c89" = xno
3474 then :
3475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3476 printf "%s\n" "unsupported" >&6; }
3477 else $as_nop
3478 if test "x$ac_cv_prog_cc_c89" = x
3479 then :
3480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3481 printf "%s\n" "none needed" >&6; }
3482 else $as_nop
3483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3484 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
3485 CC="$CC $ac_cv_prog_cc_c89"
3486 fi
3487 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
3488 ac_prog_cc_stdc=c89
3489 fi
3490 fi
3491
3492 ac_ext=c
3493 ac_cpp='$CPP $CPPFLAGS'
3494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3497
3498
3499 ansi="-std=c99 -pedantic"
3500
3501
3502 # Make sure we can run config.sub.
3503 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
3504 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
3505
3506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3507 printf %s "checking build system type... " >&6; }
3508 if test ${ac_cv_build+y}
3509 then :
3510 printf %s "(cached) " >&6
3511 else $as_nop
3512 ac_build_alias=$build_alias
3513 test "x$ac_build_alias" = x &&
3514 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
3515 test "x$ac_build_alias" = x &&
3516 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3517 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
3518 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
3519
3520 fi
3521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3522 printf "%s\n" "$ac_cv_build" >&6; }
3523 case $ac_cv_build in
3524 *-*-*) ;;
3525 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3526 esac
3527 build=$ac_cv_build
3528 ac_save_IFS=$IFS; IFS='-'
3529 set x $ac_cv_build
3530 shift
3531 build_cpu=$1
3532 build_vendor=$2
3533 shift; shift
3534 # Remember, the first character of IFS is used to create $*,
3535 # except with old shells:
3536 build_os=$*
3537 IFS=$ac_save_IFS
3538 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3539
3540
3541 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3542 printf %s "checking host system type... " >&6; }
3543 if test ${ac_cv_host+y}
3544 then :
3545 printf %s "(cached) " >&6
3546 else $as_nop
3547 if test "x$host_alias" = x; then
3548 ac_cv_host=$ac_cv_build
3549 else
3550 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
3551 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
3552 fi
3553
3554 fi
3555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3556 printf "%s\n" "$ac_cv_host" >&6; }
3557 case $ac_cv_host in
3558 *-*-*) ;;
3559 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3560 esac
3561 host=$ac_cv_host
3562 ac_save_IFS=$IFS; IFS='-'
3563 set x $ac_cv_host
3564 shift
3565 host_cpu=$1
3566 host_vendor=$2
3567 shift; shift
3568 # Remember, the first character of IFS is used to create $*,
3569 # except with old shells:
3570 host_os=$*
3571 IFS=$ac_save_IFS
3572 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3573
3574
3575 case "$host_os" in
3576 *cygwin*) ansi=""
3577 ;;
3578 solaris2*) CPPFLAGS="$CPPFLAGS -D__EXTENSIONS__"
3579 ;;
3580 darwin*) CCOPTIONS="$CCOPTIONS -no-cpp-precomp -Wno-deprecated-declarations"
3581 ;;
3582 linux*) CPPFLAGS="$CPPFLAGS -D_POSIX_SOURCE"
3583 ;;
3584 esac
3585 if test "$GCC" = yes
3586 then # Add common gcc options, plus flags for dependency generation.
3587 CCOPTIONS="$CCOPTIONS -Wall -Wsign-compare $ansi -Wno-variadic-macros -MMD -MP"
3588 fi
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing forkpty" >&5
3599 printf %s "checking for library containing forkpty... " >&6; }
3600 if test ${ac_cv_search_forkpty+y}
3601 then :
3602 printf %s "(cached) " >&6
3603 else $as_nop
3604 ac_func_search_save_LIBS=$LIBS
3605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3606 /* end confdefs.h. */
3607
3608 /* Override any GCC internal prototype to avoid an error.
3609 Use char because int might match the return type of a GCC
3610 builtin and then its argument prototype would still apply. */
3611 char forkpty ();
3612 int
3613 main (void)
3614 {
3615 return forkpty ();
3616 ;
3617 return 0;
3618 }
3619 _ACEOF
3620 for ac_lib in '' util
3621 do
3622 if test -z "$ac_lib"; then
3623 ac_res="none required"
3624 else
3625 ac_res=-l$ac_lib
3626 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3627 fi
3628 if ac_fn_c_try_link "$LINENO"
3629 then :
3630 ac_cv_search_forkpty=$ac_res
3631 fi
3632 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3633 conftest$ac_exeext
3634 if test ${ac_cv_search_forkpty+y}
3635 then :
3636 break
3637 fi
3638 done
3639 if test ${ac_cv_search_forkpty+y}
3640 then :
3641
3642 else $as_nop
3643 ac_cv_search_forkpty=no
3644 fi
3645 rm conftest.$ac_ext
3646 LIBS=$ac_func_search_save_LIBS
3647 fi
3648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_forkpty" >&5
3649 printf "%s\n" "$ac_cv_search_forkpty" >&6; }
3650 ac_res=$ac_cv_search_forkpty
3651 if test "$ac_res" != no
3652 then :
3653 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3654
3655 fi
3656
3657 ac_fn_c_check_func "$LINENO" "forkpty" "ac_cv_func_forkpty"
3658 if test "x$ac_cv_func_forkpty" = xyes
3659 then :
3660 printf "%s\n" "#define HAVE_FORKPTY 1" >>confdefs.h
3661
3662 fi
3663
3664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
3665 printf %s "checking for library containing gethostbyname... " >&6; }
3666 if test ${ac_cv_search_gethostbyname+y}
3667 then :
3668 printf %s "(cached) " >&6
3669 else $as_nop
3670 ac_func_search_save_LIBS=$LIBS
3671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3672 /* end confdefs.h. */
3673
3674 /* Override any GCC internal prototype to avoid an error.
3675 Use char because int might match the return type of a GCC
3676 builtin and then its argument prototype would still apply. */
3677 char gethostbyname ();
3678 int
3679 main (void)
3680 {
3681 return gethostbyname ();
3682 ;
3683 return 0;
3684 }
3685 _ACEOF
3686 for ac_lib in '' nsl
3687 do
3688 if test -z "$ac_lib"; then
3689 ac_res="none required"
3690 else
3691 ac_res=-l$ac_lib
3692 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3693 fi
3694 if ac_fn_c_try_link "$LINENO"
3695 then :
3696 ac_cv_search_gethostbyname=$ac_res
3697 fi
3698 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3699 conftest$ac_exeext
3700 if test ${ac_cv_search_gethostbyname+y}
3701 then :
3702 break
3703 fi
3704 done
3705 if test ${ac_cv_search_gethostbyname+y}
3706 then :
3707
3708 else $as_nop
3709 ac_cv_search_gethostbyname=no
3710 fi
3711 rm conftest.$ac_ext
3712 LIBS=$ac_func_search_save_LIBS
3713 fi
3714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
3715 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
3716 ac_res=$ac_cv_search_gethostbyname
3717 if test "$ac_res" != no
3718 then :
3719 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3720
3721 fi
3722
3723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing socket" >&5
3724 printf %s "checking for library containing socket... " >&6; }
3725 if test ${ac_cv_search_socket+y}
3726 then :
3727 printf %s "(cached) " >&6
3728 else $as_nop
3729 ac_func_search_save_LIBS=$LIBS
3730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3731 /* end confdefs.h. */
3732
3733 /* Override any GCC internal prototype to avoid an error.
3734 Use char because int might match the return type of a GCC
3735 builtin and then its argument prototype would still apply. */
3736 char socket ();
3737 int
3738 main (void)
3739 {
3740 return socket ();
3741 ;
3742 return 0;
3743 }
3744 _ACEOF
3745 for ac_lib in '' socket
3746 do
3747 if test -z "$ac_lib"; then
3748 ac_res="none required"
3749 else
3750 ac_res=-l$ac_lib
3751 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3752 fi
3753 if ac_fn_c_try_link "$LINENO"
3754 then :
3755 ac_cv_search_socket=$ac_res
3756 fi
3757 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3758 conftest$ac_exeext
3759 if test ${ac_cv_search_socket+y}
3760 then :
3761 break
3762 fi
3763 done
3764 if test ${ac_cv_search_socket+y}
3765 then :
3766
3767 else $as_nop
3768 ac_cv_search_socket=no
3769 fi
3770 rm conftest.$ac_ext
3771 LIBS=$ac_func_search_save_LIBS
3772 fi
3773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_socket" >&5
3774 printf "%s\n" "$ac_cv_search_socket" >&6; }
3775 ac_res=$ac_cv_search_socket
3776 if test "$ac_res" != no
3777 then :
3778 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3779
3780 fi
3781
3782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing XML_ParserCreate" >&5
3783 printf %s "checking for library containing XML_ParserCreate... " >&6; }
3784 if test ${ac_cv_search_XML_ParserCreate+y}
3785 then :
3786 printf %s "(cached) " >&6
3787 else $as_nop
3788 ac_func_search_save_LIBS=$LIBS
3789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3790 /* end confdefs.h. */
3791
3792 /* Override any GCC internal prototype to avoid an error.
3793 Use char because int might match the return type of a GCC
3794 builtin and then its argument prototype would still apply. */
3795 char XML_ParserCreate ();
3796 int
3797 main (void)
3798 {
3799 return XML_ParserCreate ();
3800 ;
3801 return 0;
3802 }
3803 _ACEOF
3804 for ac_lib in '' expat
3805 do
3806 if test -z "$ac_lib"; then
3807 ac_res="none required"
3808 else
3809 ac_res=-l$ac_lib
3810 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3811 fi
3812 if ac_fn_c_try_link "$LINENO"
3813 then :
3814 ac_cv_search_XML_ParserCreate=$ac_res
3815 fi
3816 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3817 conftest$ac_exeext
3818 if test ${ac_cv_search_XML_ParserCreate+y}
3819 then :
3820 break
3821 fi
3822 done
3823 if test ${ac_cv_search_XML_ParserCreate+y}
3824 then :
3825
3826 else $as_nop
3827 ac_cv_search_XML_ParserCreate=no
3828 fi
3829 rm conftest.$ac_ext
3830 LIBS=$ac_func_search_save_LIBS
3831 fi
3832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_XML_ParserCreate" >&5
3833 printf "%s\n" "$ac_cv_search_XML_ParserCreate" >&6; }
3834 ac_res=$ac_cv_search_XML_ParserCreate
3835 if test "$ac_res" != no
3836 then :
3837 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3838
3839 fi
3840
3841
3842 ac_config_headers="$ac_config_headers conf.h"
3843
3844 ac_header= ac_cache=
3845 for ac_item in $ac_header_c_list
3846 do
3847 if test $ac_cache; then
3848 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
3849 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
3850 printf "%s\n" "#define $ac_item 1" >> confdefs.h
3851 fi
3852 ac_header= ac_cache=
3853 elif test $ac_header; then
3854 ac_cache=$ac_item
3855 else
3856 ac_header=$ac_item
3857 fi
3858 done
3859
3860
3861
3862
3863
3864
3865
3866
3867 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
3868 then :
3869
3870 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
3871
3872 fi
3873 ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default"
3874 if test "x$ac_cv_header_sys_select_h" = xyes
3875 then :
3876 printf "%s\n" "#define HAVE_SYS_SELECT_H 1" >>confdefs.h
3877
3878 fi
3879
3880 ac_fn_c_check_header_compile "$LINENO" "pty.h" "ac_cv_header_pty_h" "$ac_includes_default"
3881 if test "x$ac_cv_header_pty_h" = xyes
3882 then :
3883 printf "%s\n" "#define HAVE_PTY_H 1" >>confdefs.h
3884
3885 fi
3886
3887 ac_fn_c_check_header_compile "$LINENO" "libutil.h" "ac_cv_header_libutil_h" "$ac_includes_default"
3888 if test "x$ac_cv_header_libutil_h" = xyes
3889 then :
3890 printf "%s\n" "#define HAVE_LIBUTIL_H 1" >>confdefs.h
3891
3892 fi
3893
3894 ac_fn_c_check_header_compile "$LINENO" "util.h" "ac_cv_header_util_h" "$ac_includes_default"
3895 if test "x$ac_cv_header_util_h" = xyes
3896 then :
3897 printf "%s\n" "#define HAVE_UTIL_H 1" >>confdefs.h
3898
3899 fi
3900
3901 ac_fn_c_check_header_compile "$LINENO" "getopt.h" "ac_cv_header_getopt_h" "$ac_includes_default"
3902 if test "x$ac_cv_header_getopt_h" = xyes
3903 then :
3904 printf "%s\n" "#define HAVE_GETOPT_H 1" >>confdefs.h
3905
3906 fi
3907
3908 for ac_header in expat.h
3909 do :
3910 ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "$ac_includes_default"
3911 if test "x$ac_cv_header_expat_h" = xyes
3912 then :
3913 printf "%s\n" "#define HAVE_EXPAT_H 1" >>confdefs.h
3914
3915 else $as_nop
3916 as_fn_error $? "Cannot find libexpat header file" "$LINENO" 5
3917 fi
3918
3919 done
3920
3921 ac_fn_c_check_func "$LINENO" "vasprintf" "ac_cv_func_vasprintf"
3922 if test "x$ac_cv_func_vasprintf" = xyes
3923 then :
3924 printf "%s\n" "#define HAVE_VASPRINTF 1" >>confdefs.h
3925
3926 fi
3927
3928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
3929 printf %s "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
3930 if test ${ac_cv_sys_largefile_source+y}
3931 then :
3932 printf %s "(cached) " >&6
3933 else $as_nop
3934 while :; do
3935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3936 /* end confdefs.h. */
3937 #include <sys/types.h> /* for off_t */
3938 #include <stdio.h>
3939 int
3940 main (void)
3941 {
3942 int (*fp) (FILE *, off_t, int) = fseeko;
3943 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
3944 ;
3945 return 0;
3946 }
3947 _ACEOF
3948 if ac_fn_c_try_link "$LINENO"
3949 then :
3950 ac_cv_sys_largefile_source=no; break
3951 fi
3952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3953 conftest$ac_exeext conftest.$ac_ext
3954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3955 /* end confdefs.h. */
3956 #define _LARGEFILE_SOURCE 1
3957 #include <sys/types.h> /* for off_t */
3958 #include <stdio.h>
3959 int
3960 main (void)
3961 {
3962 int (*fp) (FILE *, off_t, int) = fseeko;
3963 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
3964 ;
3965 return 0;
3966 }
3967 _ACEOF
3968 if ac_fn_c_try_link "$LINENO"
3969 then :
3970 ac_cv_sys_largefile_source=1; break
3971 fi
3972 rm -f core conftest.err conftest.$ac_objext conftest.beam \
3973 conftest$ac_exeext conftest.$ac_ext
3974 ac_cv_sys_largefile_source=unknown
3975 break
3976 done
3977 fi
3978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
3979 printf "%s\n" "$ac_cv_sys_largefile_source" >&6; }
3980 case $ac_cv_sys_largefile_source in #(
3981 no | unknown) ;;
3982 *)
3983 printf "%s\n" "#define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source" >>confdefs.h
3984 ;;
3985 esac
3986 rm -rf conftest*
3987
3988 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
3989 # in glibc 2.1.3, but that breaks too many other things.
3990 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
3991 if test $ac_cv_sys_largefile_source != unknown; then
3992
3993 printf "%s\n" "#define HAVE_FSEEKO 1" >>confdefs.h
3994
3995 fi
3996
3997
3998 LIBX3270DIR='${sysconfdir}/x3270'
3999
4000
4001 # Check whether --enable-dbcs was given.
4002 if test ${enable_dbcs+y}
4003 then :
4004 enableval=$enable_dbcs;
4005 fi
4006
4007 case "$enable_dbcs" in
4008 no) ;;
4009 *) printf "%s\n" "#define X3270_DBCS 1" >>confdefs.h
4010
4011 ;;
4012 esac
4013 # Check whether --enable-local_process was given.
4014 if test ${enable_local_process+y}
4015 then :
4016 enableval=$enable_local_process;
4017 fi
4018
4019 case "$enable_local_process" in
4020 ""|yes) printf "%s\n" "#define X3270_LOCAL_PROCESS 1" >>confdefs.h
4021
4022 ;;
4023 esac
4024
4025 ac_config_files="$ac_config_files Makefile Makefile.obj"
4026
4027 cat >confcache <<\_ACEOF
4028 # This file is a shell script that caches the results of configure
4029 # tests run on this system so they can be shared between configure
4030 # scripts and configure runs, see configure's option --config-cache.
4031 # It is not useful on other systems. If it contains results you don't
4032 # want to keep, you may remove or edit it.
4033 #
4034 # config.status only pays attention to the cache file if you give it
4035 # the --recheck option to rerun configure.
4036 #
4037 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4038 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4039 # following values.
4040
4041 _ACEOF
4042
4043 # The following way of writing the cache mishandles newlines in values,
4044 # but we know of no workaround that is simple, portable, and efficient.
4045 # So, we kill variables containing newlines.
4046 # Ultrix sh set writes to stderr and can't be redirected directly,
4047 # and sets the high bit in the cache file unless we assign to the vars.
4048 (
4049 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4050 eval ac_val=\$$ac_var
4051 case $ac_val in #(
4052 *${as_nl}*)
4053 case $ac_var in #(
4054 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4055 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4056 esac
4057 case $ac_var in #(
4058 _ | IFS | as_nl) ;; #(
4059 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4060 *) { eval $ac_var=; unset $ac_var;} ;;
4061 esac ;;
4062 esac
4063 done
4064
4065 (set) 2>&1 |
4066 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4067 *${as_nl}ac_space=\ *)
4068 # `set' does not quote correctly, so add quotes: double-quote
4069 # substitution turns \\\\ into \\, and sed turns \\ into \.
4070 sed -n \
4071 "s/'/'\\\\''/g;
4072 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4073 ;; #(
4074 *)
4075 # `set' quotes correctly as required by POSIX, so do not add quotes.
4076 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4077 ;;
4078 esac |
4079 sort
4080 ) |
4081 sed '
4082 /^ac_cv_env_/b end
4083 t clear
4084 :clear
4085 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
4086 t end
4087 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4088 :end' >>confcache
4089 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4090 if test -w "$cache_file"; then
4091 if test "x$cache_file" != "x/dev/null"; then
4092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4093 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
4094 if test ! -f "$cache_file" || test -h "$cache_file"; then
4095 cat confcache >"$cache_file"
4096 else
4097 case $cache_file in #(
4098 */* | ?:*)
4099 mv -f confcache "$cache_file"$$ &&
4100 mv -f "$cache_file"$$ "$cache_file" ;; #(
4101 *)
4102 mv -f confcache "$cache_file" ;;
4103 esac
4104 fi
4105 fi
4106 else
4107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4108 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
4109 fi
4110 fi
4111 rm -f confcache
4112
4113 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4114 # Let make expand exec_prefix.
4115 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4116
4117 DEFS=-DHAVE_CONFIG_H
4118
4119 ac_libobjs=
4120 ac_ltlibobjs=
4121 U=
4122 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4123 # 1. Remove the extension, and $U if already installed.
4124 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4125 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
4126 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4127 # will be set to the directory where LIBOBJS objects are built.
4128 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4129 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4130 done
4131 LIBOBJS=$ac_libobjs
4132
4133 LTLIBOBJS=$ac_ltlibobjs
4134
4135
4136
4137 : "${CONFIG_STATUS=./config.status}"
4138 ac_write_fail=0
4139 ac_clean_files_save=$ac_clean_files
4140 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4141 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4142 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
4143 as_write_fail=0
4144 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4145 #! $SHELL
4146 # Generated by $as_me.
4147 # Run this file to recreate the current configuration.
4148 # Compiler output produced by configure, useful for debugging
4149 # configure, is in config.log if it exists.
4150
4151 debug=false
4152 ac_cs_recheck=false
4153 ac_cs_silent=false
4154
4155 SHELL=\${CONFIG_SHELL-$SHELL}
4156 export SHELL
4157 _ASEOF
4158 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4159 ## -------------------- ##
4160 ## M4sh Initialization. ##
4161 ## -------------------- ##
4162
4163 # Be more Bourne compatible
4164 DUALCASE=1; export DUALCASE # for MKS sh
4165 as_nop=:
4166 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
4167 then :
4168 emulate sh
4169 NULLCMD=:
4170 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4171 # is contrary to our usage. Disable this feature.
4172 alias -g '${1+"$@"}'='"$@"'
4173 setopt NO_GLOB_SUBST
4174 else $as_nop
4175 case `(set -o) 2>/dev/null` in #(
4176 *posix*) :
4177 set -o posix ;; #(
4178 *) :
4179 ;;
4180 esac
4181 fi
4182
4183
4184
4185 # Reset variables that may have inherited troublesome values from
4186 # the environment.
4187
4188 # IFS needs to be set, to space, tab, and newline, in precisely that order.
4189 # (If _AS_PATH_WALK were called with IFS unset, it would have the
4190 # side effect of setting IFS to empty, thus disabling word splitting.)
4191 # Quoting is to prevent editors from complaining about space-tab.
4192 as_nl='
4193 '
4194 export as_nl
4195 IFS=" "" $as_nl"
4196
4197 PS1='$ '
4198 PS2='> '
4199 PS4='+ '
4200
4201 # Ensure predictable behavior from utilities with locale-dependent output.
4202 LC_ALL=C
4203 export LC_ALL
4204 LANGUAGE=C
4205 export LANGUAGE
4206
4207 # We cannot yet rely on "unset" to work, but we need these variables
4208 # to be unset--not just set to an empty or harmless value--now, to
4209 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
4210 # also avoids known problems related to "unset" and subshell syntax
4211 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
4212 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
4213 do eval test \${$as_var+y} \
4214 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4215 done
4216
4217 # Ensure that fds 0, 1, and 2 are open.
4218 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
4219 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
4220 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
4221
4222 # The user is always right.
4223 if ${PATH_SEPARATOR+false} :; then
4224 PATH_SEPARATOR=:
4225 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4226 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4227 PATH_SEPARATOR=';'
4228 }
4229 fi
4230
4231
4232 # Find who we are. Look in the path if we contain no directory separator.
4233 as_myself=
4234 case $0 in #((
4235 *[\\/]* ) as_myself=$0 ;;
4236 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4237 for as_dir in $PATH
4238 do
4239 IFS=$as_save_IFS
4240 case $as_dir in #(((
4241 '') as_dir=./ ;;
4242 */) ;;
4243 *) as_dir=$as_dir/ ;;
4244 esac
4245 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
4246 done
4247 IFS=$as_save_IFS
4248
4249 ;;
4250 esac
4251 # We did not find ourselves, most probably we were run as `sh COMMAND'
4252 # in which case we are not to be found in the path.
4253 if test "x$as_myself" = x; then
4254 as_myself=$0
4255 fi
4256 if test ! -f "$as_myself"; then
4257 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4258 exit 1
4259 fi
4260
4261
4262
4263 # as_fn_error STATUS ERROR [LINENO LOG_FD]
4264 # ----------------------------------------
4265 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4266 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4267 # script with STATUS, using 1 if that was 0.
4268 as_fn_error ()
4269 {
4270 as_status=$1; test $as_status -eq 0 && as_status=1
4271 if test "$4"; then
4272 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4274 fi
4275 printf "%s\n" "$as_me: error: $2" >&2
4276 as_fn_exit $as_status
4277 } # as_fn_error
4278
4279
4280
4281 # as_fn_set_status STATUS
4282 # -----------------------
4283 # Set $? to STATUS, without forking.
4284 as_fn_set_status ()
4285 {
4286 return $1
4287 } # as_fn_set_status
4288
4289 # as_fn_exit STATUS
4290 # -----------------
4291 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4292 as_fn_exit ()
4293 {
4294 set +e
4295 as_fn_set_status $1
4296 exit $1
4297 } # as_fn_exit
4298
4299 # as_fn_unset VAR
4300 # ---------------
4301 # Portably unset VAR.
4302 as_fn_unset ()
4303 {
4304 { eval $1=; unset $1;}
4305 }
4306 as_unset=as_fn_unset
4307
4308 # as_fn_append VAR VALUE
4309 # ----------------------
4310 # Append the text in VALUE to the end of the definition contained in VAR. Take
4311 # advantage of any shell optimizations that allow amortized linear growth over
4312 # repeated appends, instead of the typical quadratic growth present in naive
4313 # implementations.
4314 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
4315 then :
4316 eval 'as_fn_append ()
4317 {
4318 eval $1+=\$2
4319 }'
4320 else $as_nop
4321 as_fn_append ()
4322 {
4323 eval $1=\$$1\$2
4324 }
4325 fi # as_fn_append
4326
4327 # as_fn_arith ARG...
4328 # ------------------
4329 # Perform arithmetic evaluation on the ARGs, and store the result in the
4330 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4331 # must be portable across $(()) and expr.
4332 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
4333 then :
4334 eval 'as_fn_arith ()
4335 {
4336 as_val=$(( $* ))
4337 }'
4338 else $as_nop
4339 as_fn_arith ()
4340 {
4341 as_val=`expr "$@" || test $? -eq 1`
4342 }
4343 fi # as_fn_arith
4344
4345
4346 if expr a : '\(a\)' >/dev/null 2>&1 &&
4347 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4348 as_expr=expr
4349 else
4350 as_expr=false
4351 fi
4352
4353 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4354 as_basename=basename
4355 else
4356 as_basename=false
4357 fi
4358
4359 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4360 as_dirname=dirname
4361 else
4362 as_dirname=false
4363 fi
4364
4365 as_me=`$as_basename -- "$0" ||
4366 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4367 X"$0" : 'X\(//\)$' \| \
4368 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4369 printf "%s\n" X/"$0" |
4370 sed '/^.*\/\([^/][^/]*\)\/*$/{
4371 s//\1/
4372 q
4373 }
4374 /^X\/\(\/\/\)$/{
4375 s//\1/
4376 q
4377 }
4378 /^X\/\(\/\).*/{
4379 s//\1/
4380 q
4381 }
4382 s/.*/./; q'`
4383
4384 # Avoid depending upon Character Ranges.
4385 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4386 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4387 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4388 as_cr_digits='0123456789'
4389 as_cr_alnum=$as_cr_Letters$as_cr_digits
4390
4391
4392 # Determine whether it's possible to make 'echo' print without a newline.
4393 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
4394 # for compatibility with existing Makefiles.
4395 ECHO_C= ECHO_N= ECHO_T=
4396 case `echo -n x` in #(((((
4397 -n*)
4398 case `echo 'xy\c'` in
4399 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4400 xy) ECHO_C='\c';;
4401 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4402 ECHO_T=' ';;
4403 esac;;
4404 *)
4405 ECHO_N='-n';;
4406 esac
4407
4408 # For backward compatibility with old third-party macros, we provide
4409 # the shell variables $as_echo and $as_echo_n. New code should use
4410 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
4411 as_echo='printf %s\n'
4412 as_echo_n='printf %s'
4413
4414 rm -f conf$$ conf$$.exe conf$$.file
4415 if test -d conf$$.dir; then
4416 rm -f conf$$.dir/conf$$.file
4417 else
4418 rm -f conf$$.dir
4419 mkdir conf$$.dir 2>/dev/null
4420 fi
4421 if (echo >conf$$.file) 2>/dev/null; then
4422 if ln -s conf$$.file conf$$ 2>/dev/null; then
4423 as_ln_s='ln -s'
4424 # ... but there are two gotchas:
4425 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4426 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4427 # In both cases, we have to default to `cp -pR'.
4428 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4429 as_ln_s='cp -pR'
4430 elif ln conf$$.file conf$$ 2>/dev/null; then
4431 as_ln_s=ln
4432 else
4433 as_ln_s='cp -pR'
4434 fi
4435 else
4436 as_ln_s='cp -pR'
4437 fi
4438 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4439 rmdir conf$$.dir 2>/dev/null
4440
4441
4442 # as_fn_mkdir_p
4443 # -------------
4444 # Create "$as_dir" as a directory, including parents if necessary.
4445 as_fn_mkdir_p ()
4446 {
4447
4448 case $as_dir in #(
4449 -*) as_dir=./$as_dir;;
4450 esac
4451 test -d "$as_dir" || eval $as_mkdir_p || {
4452 as_dirs=
4453 while :; do
4454 case $as_dir in #(
4455 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4456 *) as_qdir=$as_dir;;
4457 esac
4458 as_dirs="'$as_qdir' $as_dirs"
4459 as_dir=`$as_dirname -- "$as_dir" ||
4460 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4461 X"$as_dir" : 'X\(//\)[^/]' \| \
4462 X"$as_dir" : 'X\(//\)$' \| \
4463 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4464 printf "%s\n" X"$as_dir" |
4465 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4466 s//\1/
4467 q
4468 }
4469 /^X\(\/\/\)[^/].*/{
4470 s//\1/
4471 q
4472 }
4473 /^X\(\/\/\)$/{
4474 s//\1/
4475 q
4476 }
4477 /^X\(\/\).*/{
4478 s//\1/
4479 q
4480 }
4481 s/.*/./; q'`
4482 test -d "$as_dir" && break
4483 done
4484 test -z "$as_dirs" || eval "mkdir $as_dirs"
4485 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4486
4487
4488 } # as_fn_mkdir_p
4489 if mkdir -p . 2>/dev/null; then
4490 as_mkdir_p='mkdir -p "$as_dir"'
4491 else
4492 test -d ./-p && rmdir ./-p
4493 as_mkdir_p=false
4494 fi
4495
4496
4497 # as_fn_executable_p FILE
4498 # -----------------------
4499 # Test if FILE is an executable regular file.
4500 as_fn_executable_p ()
4501 {
4502 test -f "$1" && test -x "$1"
4503 } # as_fn_executable_p
4504 as_test_x='test -x'
4505 as_executable_p=as_fn_executable_p
4506
4507 # Sed expression to map a string onto a valid CPP name.
4508 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4509
4510 # Sed expression to map a string onto a valid variable name.
4511 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4512
4513
4514 exec 6>&1
4515 ## ----------------------------------- ##
4516 ## Main body of $CONFIG_STATUS script. ##
4517 ## ----------------------------------- ##
4518 _ASEOF
4519 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4520
4521 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4522 # Save the log message, to keep $0 and so on meaningful, and to
4523 # report actual input values of CONFIG_FILES etc. instead of their
4524 # values after options handling.
4525 ac_log="
4526 This file was extended by b3270 $as_me 4.3, which was
4527 generated by GNU Autoconf 2.71. Invocation command line was
4528
4529 CONFIG_FILES = $CONFIG_FILES
4530 CONFIG_HEADERS = $CONFIG_HEADERS
4531 CONFIG_LINKS = $CONFIG_LINKS
4532 CONFIG_COMMANDS = $CONFIG_COMMANDS
4533 $ $0 $@
4534
4535 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4536 "
4537
4538 _ACEOF
4539
4540 case $ac_config_files in *"
4541 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4542 esac
4543
4544 case $ac_config_headers in *"
4545 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4546 esac
4547
4548
4549 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4550 # Files that config.status was made for.
4551 config_files="$ac_config_files"
4552 config_headers="$ac_config_headers"
4553
4554 _ACEOF
4555
4556 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4557 ac_cs_usage="\
4558 \`$as_me' instantiates files and other configuration actions
4559 from templates according to the current configuration. Unless the files
4560 and actions are specified as TAGs, all are instantiated by default.
4561
4562 Usage: $0 [OPTION]... [TAG]...
4563
4564 -h, --help print this help, then exit
4565 -V, --version print version number and configuration settings, then exit
4566 --config print configuration, then exit
4567 -q, --quiet, --silent
4568 do not print progress messages
4569 -d, --debug don't remove temporary files
4570 --recheck update $as_me by reconfiguring in the same conditions
4571 --file=FILE[:TEMPLATE]
4572 instantiate the configuration file FILE
4573 --header=FILE[:TEMPLATE]
4574 instantiate the configuration header FILE
4575
4576 Configuration files:
4577 $config_files
4578
4579 Configuration headers:
4580 $config_headers
4581
4582 Report bugs to the package provider."
4583
4584 _ACEOF
4585 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
4586 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
4587 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4588 ac_cs_config='$ac_cs_config_escaped'
4589 ac_cs_version="\\
4590 b3270 config.status 4.3
4591 configured by $0, generated by GNU Autoconf 2.71,
4592 with options \\"\$ac_cs_config\\"
4593
4594 Copyright (C) 2021 Free Software Foundation, Inc.
4595 This config.status script is free software; the Free Software Foundation
4596 gives unlimited permission to copy, distribute and modify it."
4597
4598 ac_pwd='$ac_pwd'
4599 srcdir='$srcdir'
4600 INSTALL='$INSTALL'
4601 test -n "\$AWK" || AWK=awk
4602 _ACEOF
4603
4604 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4605 # The default lists apply if the user does not specify any file.
4606 ac_need_defaults=:
4607 while test $# != 0
4608 do
4609 case $1 in
4610 --*=?*)
4611 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4612 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4613 ac_shift=:
4614 ;;
4615 --*=)
4616 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4617 ac_optarg=
4618 ac_shift=:
4619 ;;
4620 *)
4621 ac_option=$1
4622 ac_optarg=$2
4623 ac_shift=shift
4624 ;;
4625 esac
4626
4627 case $ac_option in
4628 # Handling of the options.
4629 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4630 ac_cs_recheck=: ;;
4631 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4632 printf "%s\n" "$ac_cs_version"; exit ;;
4633 --config | --confi | --conf | --con | --co | --c )
4634 printf "%s\n" "$ac_cs_config"; exit ;;
4635 --debug | --debu | --deb | --de | --d | -d )
4636 debug=: ;;
4637 --file | --fil | --fi | --f )
4638 $ac_shift
4639 case $ac_optarg in
4640 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4641 '') as_fn_error $? "missing file argument" ;;
4642 esac
4643 as_fn_append CONFIG_FILES " '$ac_optarg'"
4644 ac_need_defaults=false;;
4645 --header | --heade | --head | --hea )
4646 $ac_shift
4647 case $ac_optarg in
4648 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4649 esac
4650 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4651 ac_need_defaults=false;;
4652 --he | --h)
4653 # Conflict between --help and --header
4654 as_fn_error $? "ambiguous option: \`$1'
4655 Try \`$0 --help' for more information.";;
4656 --help | --hel | -h )
4657 printf "%s\n" "$ac_cs_usage"; exit ;;
4658 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4659 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4660 ac_cs_silent=: ;;
4661
4662 # This is an error.
4663 -*) as_fn_error $? "unrecognized option: \`$1'
4664 Try \`$0 --help' for more information." ;;
4665
4666 *) as_fn_append ac_config_targets " $1"
4667 ac_need_defaults=false ;;
4668
4669 esac
4670 shift
4671 done
4672
4673 ac_configure_extra_args=
4674
4675 if $ac_cs_silent; then
4676 exec 6>/dev/null
4677 ac_configure_extra_args="$ac_configure_extra_args --silent"
4678 fi
4679
4680 _ACEOF
4681 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4682 if \$ac_cs_recheck; then
4683 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4684 shift
4685 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
4686 CONFIG_SHELL='$SHELL'
4687 export CONFIG_SHELL
4688 exec "\$@"
4689 fi
4690
4691 _ACEOF
4692 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4693 exec 5>>config.log
4694 {
4695 echo
4696 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4697 ## Running $as_me. ##
4698 _ASBOX
4699 printf "%s\n" "$ac_log"
4700 } >&5
4701
4702 _ACEOF
4703 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4704 _ACEOF
4705
4706 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4707
4708 # Handling of arguments.
4709 for ac_config_target in $ac_config_targets
4710 do
4711 case $ac_config_target in
4712 "conf.h") CONFIG_HEADERS="$CONFIG_HEADERS conf.h" ;;
4713 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4714 "Makefile.obj") CONFIG_FILES="$CONFIG_FILES Makefile.obj" ;;
4715
4716 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4717 esac
4718 done
4719
4720
4721 # If the user did not use the arguments to specify the items to instantiate,
4722 # then the envvar interface is used. Set only those that are not.
4723 # We use the long form for the default assignment because of an extremely
4724 # bizarre bug on SunOS 4.1.3.
4725 if $ac_need_defaults; then
4726 test ${CONFIG_FILES+y} || CONFIG_FILES=$config_files
4727 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
4728 fi
4729
4730 # Have a temporary directory for convenience. Make it in the build tree
4731 # simply because there is no reason against having it here, and in addition,
4732 # creating and moving files from /tmp can sometimes cause problems.
4733 # Hook for its removal unless debugging.
4734 # Note that there is a small window in which the directory will not be cleaned:
4735 # after its creation but before its name has been assigned to `$tmp'.
4736 $debug ||
4737 {
4738 tmp= ac_tmp=
4739 trap 'exit_status=$?
4740 : "${ac_tmp:=$tmp}"
4741 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4742 ' 0
4743 trap 'as_fn_exit 1' 1 2 13 15
4744 }
4745 # Create a (secure) tmp directory for tmp files.
4746
4747 {
4748 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4749 test -d "$tmp"
4750 } ||
4751 {
4752 tmp=./conf$$-$RANDOM
4753 (umask 077 && mkdir "$tmp")
4754 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4755 ac_tmp=$tmp
4756
4757 # Set up the scripts for CONFIG_FILES section.
4758 # No need to generate them if there are no CONFIG_FILES.
4759 # This happens for instance with `./config.status config.h'.
4760 if test -n "$CONFIG_FILES"; then
4761
4762
4763 ac_cr=`echo X | tr X '\015'`
4764 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4765 # But we know of no other shell where ac_cr would be empty at this
4766 # point, so we can use a bashism as a fallback.
4767 if test "x$ac_cr" = x; then
4768 eval ac_cr=\$\'\\r\'
4769 fi
4770 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4771 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4772 ac_cs_awk_cr='\\r'
4773 else
4774 ac_cs_awk_cr=$ac_cr
4775 fi
4776
4777 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4778 _ACEOF
4779
4780
4781 {
4782 echo "cat >conf$$subs.awk <<_ACEOF" &&
4783 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4784 echo "_ACEOF"
4785 } >conf$$subs.sh ||
4786 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4787 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4788 ac_delim='%!_!# '
4789 for ac_last_try in false false false false false :; do
4790 . ./conf$$subs.sh ||
4791 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4792
4793 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4794 if test $ac_delim_n = $ac_delim_num; then
4795 break
4796 elif $ac_last_try; then
4797 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4798 else
4799 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4800 fi
4801 done
4802 rm -f conf$$subs.sh
4803
4804 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4805 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4806 _ACEOF
4807 sed -n '
4808 h
4809 s/^/S["/; s/!.*/"]=/
4810 p
4811 g
4812 s/^[^!]*!//
4813 :repl
4814 t repl
4815 s/'"$ac_delim"'$//
4816 t delim
4817 :nl
4818 h
4819 s/\(.\{148\}\)..*/\1/
4820 t more1
4821 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4822 p
4823 n
4824 b repl
4825 :more1
4826 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4827 p
4828 g
4829 s/.\{148\}//
4830 t nl
4831 :delim
4832 h
4833 s/\(.\{148\}\)..*/\1/
4834 t more2
4835 s/["\\]/\\&/g; s/^/"/; s/$/"/
4836 p
4837 b
4838 :more2
4839 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4840 p
4841 g
4842 s/.\{148\}//
4843 t delim
4844 ' <conf$$subs.awk | sed '
4845 /^[^""]/{
4846 N
4847 s/\n//
4848 }
4849 ' >>$CONFIG_STATUS || ac_write_fail=1
4850 rm -f conf$$subs.awk
4851 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4852 _ACAWK
4853 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4854 for (key in S) S_is_set[key] = 1
4855 FS = ""
4856
4857 }
4858 {
4859 line = $ 0
4860 nfields = split(line, field, "@")
4861 substed = 0
4862 len = length(field[1])
4863 for (i = 2; i < nfields; i++) {
4864 key = field[i]
4865 keylen = length(key)
4866 if (S_is_set[key]) {
4867 value = S[key]
4868 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4869 len += length(value) + length(field[++i])
4870 substed = 1
4871 } else
4872 len += 1 + keylen
4873 }
4874
4875 print line
4876 }
4877
4878 _ACAWK
4879 _ACEOF
4880 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4881 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4882 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4883 else
4884 cat
4885 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4886 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4887 _ACEOF
4888
4889 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4890 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4891 # trailing colons and then remove the whole line if VPATH becomes empty
4892 # (actually we leave an empty line to preserve line numbers).
4893 if test "x$srcdir" = x.; then
4894 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4895 h
4896 s///
4897 s/^/:/
4898 s/[ ]*$/:/
4899 s/:\$(srcdir):/:/g
4900 s/:\${srcdir}:/:/g
4901 s/:@srcdir@:/:/g
4902 s/^:*//
4903 s/:*$//
4904 x
4905 s/\(=[ ]*\).*/\1/
4906 G
4907 s/\n//
4908 s/^[^=]*=[ ]*$//
4909 }'
4910 fi
4911
4912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4913 fi # test -n "$CONFIG_FILES"
4914
4915 # Set up the scripts for CONFIG_HEADERS section.
4916 # No need to generate them if there are no CONFIG_HEADERS.
4917 # This happens for instance with `./config.status Makefile'.
4918 if test -n "$CONFIG_HEADERS"; then
4919 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4920 BEGIN {
4921 _ACEOF
4922
4923 # Transform confdefs.h into an awk script `defines.awk', embedded as
4924 # here-document in config.status, that substitutes the proper values into
4925 # config.h.in to produce config.h.
4926
4927 # Create a delimiter string that does not exist in confdefs.h, to ease
4928 # handling of long lines.
4929 ac_delim='%!_!# '
4930 for ac_last_try in false false :; do
4931 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4932 if test -z "$ac_tt"; then
4933 break
4934 elif $ac_last_try; then
4935 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4936 else
4937 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4938 fi
4939 done
4940
4941 # For the awk script, D is an array of macro values keyed by name,
4942 # likewise P contains macro parameters if any. Preserve backslash
4943 # newline sequences.
4944
4945 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4946 sed -n '
4947 s/.\{148\}/&'"$ac_delim"'/g
4948 t rset
4949 :rset
4950 s/^[ ]*#[ ]*define[ ][ ]*/ /
4951 t def
4952 d
4953 :def
4954 s/\\$//
4955 t bsnl
4956 s/["\\]/\\&/g
4957 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4958 D["\1"]=" \3"/p
4959 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4960 d
4961 :bsnl
4962 s/["\\]/\\&/g
4963 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4964 D["\1"]=" \3\\\\\\n"\\/p
4965 t cont
4966 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4967 t cont
4968 d
4969 :cont
4970 n
4971 s/.\{148\}/&'"$ac_delim"'/g
4972 t clear
4973 :clear
4974 s/\\$//
4975 t bsnlc
4976 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4977 d
4978 :bsnlc
4979 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4980 b cont
4981 ' <confdefs.h | sed '
4982 s/'"$ac_delim"'/"\\\
4983 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4984
4985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4986 for (key in D) D_is_set[key] = 1
4987 FS = ""
4988 }
4989 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4990 line = \$ 0
4991 split(line, arg, " ")
4992 if (arg[1] == "#") {
4993 defundef = arg[2]
4994 mac1 = arg[3]
4995 } else {
4996 defundef = substr(arg[1], 2)
4997 mac1 = arg[2]
4998 }
4999 split(mac1, mac2, "(") #)
5000 macro = mac2[1]
5001 prefix = substr(line, 1, index(line, defundef) - 1)
5002 if (D_is_set[macro]) {
5003 # Preserve the white space surrounding the "#".
5004 print prefix "define", macro P[macro] D[macro]
5005 next
5006 } else {
5007 # Replace #undef with comments. This is necessary, for example,
5008 # in the case of _POSIX_SOURCE, which is predefined and required
5009 # on some systems where configure will not decide to define it.
5010 if (defundef == "undef") {
5011 print "/*", prefix defundef, macro, "*/"
5012 next
5013 }
5014 }
5015 }
5016 { print }
5017 _ACAWK
5018 _ACEOF
5019 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5020 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
5021 fi # test -n "$CONFIG_HEADERS"
5022
5023
5024 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
5025 shift
5026 for ac_tag
5027 do
5028 case $ac_tag in
5029 :[FHLC]) ac_mode=$ac_tag; continue;;
5030 esac
5031 case $ac_mode$ac_tag in
5032 :[FHL]*:*);;
5033 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
5034 :[FH]-) ac_tag=-:-;;
5035 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5036 esac
5037 ac_save_IFS=$IFS
5038 IFS=:
5039 set x $ac_tag
5040 IFS=$ac_save_IFS
5041 shift
5042 ac_file=$1
5043 shift
5044
5045 case $ac_mode in
5046 :L) ac_source=$1;;
5047 :[FH])
5048 ac_file_inputs=
5049 for ac_f
5050 do
5051 case $ac_f in
5052 -) ac_f="$ac_tmp/stdin";;
5053 *) # Look for the file first in the build tree, then in the source tree
5054 # (if the path is not absolute). The absolute path cannot be DOS-style,
5055 # because $ac_f cannot contain `:'.
5056 test -f "$ac_f" ||
5057 case $ac_f in
5058 [\\/$]*) false;;
5059 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5060 esac ||
5061 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5062 esac
5063 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5064 as_fn_append ac_file_inputs " '$ac_f'"
5065 done
5066
5067 # Let's still pretend it is `configure' which instantiates (i.e., don't
5068 # use $as_me), people would be surprised to read:
5069 # /* config.h. Generated by config.status. */
5070 configure_input='Generated from '`
5071 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5072 `' by configure.'
5073 if test x"$ac_file" != x-; then
5074 configure_input="$ac_file. $configure_input"
5075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5076 printf "%s\n" "$as_me: creating $ac_file" >&6;}
5077 fi
5078 # Neutralize special characters interpreted by sed in replacement strings.
5079 case $configure_input in #(
5080 *\&* | *\|* | *\\* )
5081 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
5082 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5083 *) ac_sed_conf_input=$configure_input;;
5084 esac
5085
5086 case $ac_tag in
5087 *:-:* | *:-) cat >"$ac_tmp/stdin" \
5088 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
5089 esac
5090 ;;
5091 esac
5092
5093 ac_dir=`$as_dirname -- "$ac_file" ||
5094 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5095 X"$ac_file" : 'X\(//\)[^/]' \| \
5096 X"$ac_file" : 'X\(//\)$' \| \
5097 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5098 printf "%s\n" X"$ac_file" |
5099 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5100 s//\1/
5101 q
5102 }
5103 /^X\(\/\/\)[^/].*/{
5104 s//\1/
5105 q
5106 }
5107 /^X\(\/\/\)$/{
5108 s//\1/
5109 q
5110 }
5111 /^X\(\/\).*/{
5112 s//\1/
5113 q
5114 }
5115 s/.*/./; q'`
5116 as_dir="$ac_dir"; as_fn_mkdir_p
5117 ac_builddir=.
5118
5119 case "$ac_dir" in
5120 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5121 *)
5122 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
5123 # A ".." for each directory in $ac_dir_suffix.
5124 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5125 case $ac_top_builddir_sub in
5126 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5127 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5128 esac ;;
5129 esac
5130 ac_abs_top_builddir=$ac_pwd
5131 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5132 # for backward compatibility:
5133 ac_top_builddir=$ac_top_build_prefix
5134
5135 case $srcdir in
5136 .) # We are building in place.
5137 ac_srcdir=.
5138 ac_top_srcdir=$ac_top_builddir_sub
5139 ac_abs_top_srcdir=$ac_pwd ;;
5140 [\\/]* | ?:[\\/]* ) # Absolute name.
5141 ac_srcdir=$srcdir$ac_dir_suffix;
5142 ac_top_srcdir=$srcdir
5143 ac_abs_top_srcdir=$srcdir ;;
5144 *) # Relative name.
5145 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5146 ac_top_srcdir=$ac_top_build_prefix$srcdir
5147 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5148 esac
5149 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5150
5151
5152 case $ac_mode in
5153 :F)
5154 #
5155 # CONFIG_FILE
5156 #
5157
5158 case $INSTALL in
5159 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
5160 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
5161 esac
5162 _ACEOF
5163
5164 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5165 # If the template does not know about datarootdir, expand it.
5166 # FIXME: This hack should be removed a few years after 2.60.
5167 ac_datarootdir_hack=; ac_datarootdir_seen=
5168 ac_sed_dataroot='
5169 /datarootdir/ {
5170 p
5171 q
5172 }
5173 /@datadir@/p
5174 /@docdir@/p
5175 /@infodir@/p
5176 /@localedir@/p
5177 /@mandir@/p'
5178 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5179 *datarootdir*) ac_datarootdir_seen=yes;;
5180 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5182 printf "%s\n" "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5183 _ACEOF
5184 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5185 ac_datarootdir_hack='
5186 s&@datadir@&$datadir&g
5187 s&@docdir@&$docdir&g
5188 s&@infodir@&$infodir&g
5189 s&@localedir@&$localedir&g
5190 s&@mandir@&$mandir&g
5191 s&\\\${datarootdir}&$datarootdir&g' ;;
5192 esac
5193 _ACEOF
5194
5195 # Neutralize VPATH when `$srcdir' = `.'.
5196 # Shell code in configure.ac might set extrasub.
5197 # FIXME: do we really want to maintain this feature?
5198 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5199 ac_sed_extra="$ac_vpsub
5200 $extrasub
5201 _ACEOF
5202 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5203 :t
5204 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5205 s|@configure_input@|$ac_sed_conf_input|;t t
5206 s&@top_builddir@&$ac_top_builddir_sub&;t t
5207 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5208 s&@srcdir@&$ac_srcdir&;t t
5209 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5210 s&@top_srcdir@&$ac_top_srcdir&;t t
5211 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5212 s&@builddir@&$ac_builddir&;t t
5213 s&@abs_builddir@&$ac_abs_builddir&;t t
5214 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5215 s&@INSTALL@&$ac_INSTALL&;t t
5216 $ac_datarootdir_hack
5217 "
5218 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
5219 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5220
5221 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5222 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
5223 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
5224 "$ac_tmp/out"`; test -z "$ac_out"; } &&
5225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5226 which seems to be undefined. Please make sure it is defined" >&5
5227 printf "%s\n" "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5228 which seems to be undefined. Please make sure it is defined" >&2;}
5229
5230 rm -f "$ac_tmp/stdin"
5231 case $ac_file in
5232 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
5233 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
5234 esac \
5235 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5236 ;;
5237 :H)
5238 #
5239 # CONFIG_HEADER
5240 #
5241 if test x"$ac_file" != x-; then
5242 {
5243 printf "%s\n" "/* $configure_input */" >&1 \
5244 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
5245 } >"$ac_tmp/config.h" \
5246 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5247 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
5248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5249 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
5250 else
5251 rm -f "$ac_file"
5252 mv "$ac_tmp/config.h" "$ac_file" \
5253 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
5254 fi
5255 else
5256 printf "%s\n" "/* $configure_input */" >&1 \
5257 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
5258 || as_fn_error $? "could not create -" "$LINENO" 5
5259 fi
5260 ;;
5261
5262
5263 esac
5264
5265 done # for ac_tag
5266
5267
5268 as_fn_exit 0
5269 _ACEOF
5270 ac_clean_files=$ac_clean_files_save
5271
5272 test $ac_write_fail = 0 ||
5273 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
5274
5275
5276 # configure is writing to config.log, and then calls config.status.
5277 # config.status does its own redirection, appending to config.log.
5278 # Unfortunately, on DOS this fails, as config.log is still kept open
5279 # by configure, so config.status won't be able to write to it; its
5280 # output is simply discarded. So we exec the FD to /dev/null,
5281 # effectively closing config.log, so it can be properly (re)opened and
5282 # appended to by config.status. When coming back to configure, we
5283 # need to make the FD available again.
5284 if test "$no_create" != yes; then
5285 ac_cs_success=:
5286 ac_config_status_args=
5287 test "$silent" = yes &&
5288 ac_config_status_args="$ac_config_status_args --quiet"
5289 exec 5>/dev/null
5290 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5291 exec 5>>config.log
5292 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5293 # would make configure fail if this is the last instruction.
5294 $ac_cs_success || as_fn_exit 1
5295 fi
5296 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5298 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
5299 fi
5300
5301