ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/configure
(Generate patch)

Comparing IO-AIO/configure (file contents):
Revision 1.1 by root, Sun May 11 00:01:03 2008 UTC vs.
Revision 1.20 by root, Fri Sep 22 05:20:39 2017 UTC

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines