ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/Convert-UUlib/uulib/configure
(Generate patch)

Comparing Convert-UUlib/uulib/configure (file contents):
Revision 1.4.2.5 by root, Sun Apr 18 19:55:46 2004 UTC vs.
Revision 1.15 by root, Sat Sep 24 06:32:50 2022 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines