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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines