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

Comparing IO-AIO/configure (file contents):
Revision 1.6 by root, Wed Oct 22 18:15:36 2008 UTC vs.
Revision 1.7 by root, Sat Jan 2 12:58:37 2010 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.64.
4# 4#
5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 5# Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6# 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc. 6# 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
7# Foundation, Inc.
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.
71case $0 in 90case $0 in #((
72 *[\\/]* ) as_myself=$0 ;; 91 *[\\/]* ) as_myself=$0 ;;
73 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74for as_dir in $PATH 93for as_dir in $PATH
75do 94do
76 IFS=$as_save_IFS 95 IFS=$as_save_IFS
77 test -z "$as_dir" && as_dir=. 96 test -z "$as_dir" && as_dir=.
78 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
79done 98 done
80IFS=$as_save_IFS 99IFS=$as_save_IFS
81 100
82 ;; 101 ;;
83esac 102esac
84# We did not find ourselves, most probably we were run as `sh COMMAND' 103# 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. 104# in which case we are not to be found in the path.
86if test "x$as_myself" = x; then 105if test "x$as_myself" = x; then
87 as_myself=$0 106 as_myself=$0
88fi 107fi
89if test ! -f "$as_myself"; then 108if test ! -f "$as_myself"; then
90 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
91 { (exit 1); exit 1; } 110 exit 1
92fi 111fi
93 112
94# Work around bugs in pre-3.0 UWIN ksh. 113# Unset variables that we do not need and which cause bugs (e.g. in
114# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115# suppresses any "Segmentation fault" message there. '((' could
116# trigger a bug in pdksh 5.2.14.
95for as_var in ENV MAIL MAILPATH 117for as_var in BASH_ENV ENV MAIL MAILPATH
118do eval test x\${$as_var+set} = xset \
96do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
97done 120done
98PS1='$ ' 121PS1='$ '
99PS2='> ' 122PS2='> '
100PS4='+ ' 123PS4='+ '
101 124
102# NLS nuisances. 125# NLS nuisances.
103for as_var in \ 126LC_ALL=C
104 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 127export LC_ALL
105 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 128LANGUAGE=C
106 LC_TELEPHONE LC_TIME 129export LANGUAGE
130
131# CDPATH.
132(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
133
134if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
136 emulate sh
137 NULLCMD=:
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
141 setopt NO_GLOB_SUBST
142else
143 case \`(set -o) 2>/dev/null\` in #(
144 *posix*) :
145 set -o posix ;; #(
146 *) :
147 ;;
148esac
149fi
150"
151 as_required="as_fn_return () { (exit \$1); }
152as_fn_success () { as_fn_return 0; }
153as_fn_failure () { as_fn_return 1; }
154as_fn_ret_success () { return 0; }
155as_fn_ret_failure () { return 1; }
156
157exitcode=0
158as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
163
164else
165 exitcode=1; echo positional parameters were not saved.
166fi
167test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
173 as_have_required=yes
174else
175 as_have_required=no
176fi
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
178
179else
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
181as_found=false
182for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
107do 183do
108 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 184 IFS=$as_save_IFS
109 eval $as_var=C; export $as_var 185 test -z "$as_dir" && as_dir=.
186 as_found=:
187 case $as_dir in #(
188 /*)
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 break 2
197fi
198fi
199 done;;
200 esac
201 as_found=false
202done
203$as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
206fi; }
207IFS=$as_save_IFS
208
209
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
214 BASH_ENV=/dev/null
215 ENV=/dev/null
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
217 export CONFIG_SHELL
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
219fi
220
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
110 else 227 else
111 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229$0: including any error possibly output before this
230$0: message. Then install a modern shell, or manually run
231$0: the script under such a shell if you do have one."
112 fi 232 fi
113done 233 exit 1
234fi
235fi
236fi
237SHELL=${CONFIG_SHELL-/bin/sh}
238export SHELL
239# Unset more variables known to interfere with behavior of common tools.
240CLICOLOR_FORCE= GREP_OPTIONS=
241unset CLICOLOR_FORCE GREP_OPTIONS
114 242
115# Required to use basename. 243## --------------------- ##
244## M4sh Shell Functions. ##
245## --------------------- ##
246# as_fn_unset VAR
247# ---------------
248# Portably unset VAR.
249as_fn_unset ()
250{
251 { eval $1=; unset $1;}
252}
253as_unset=as_fn_unset
254
255# as_fn_set_status STATUS
256# -----------------------
257# Set $? to STATUS, without forking.
258as_fn_set_status ()
259{
260 return $1
261} # as_fn_set_status
262
263# as_fn_exit STATUS
264# -----------------
265# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
266as_fn_exit ()
267{
268 set +e
269 as_fn_set_status $1
270 exit $1
271} # as_fn_exit
272
273# as_fn_mkdir_p
274# -------------
275# Create "$as_dir" as a directory, including parents if necessary.
276as_fn_mkdir_p ()
277{
278
279 case $as_dir in #(
280 -*) as_dir=./$as_dir;;
281 esac
282 test -d "$as_dir" || eval $as_mkdir_p || {
283 as_dirs=
284 while :; do
285 case $as_dir in #(
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
287 *) as_qdir=$as_dir;;
288 esac
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295$as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
297 s//\1/
298 q
299 }
300 /^X\(\/\/\)[^/].*/{
301 s//\1/
302 q
303 }
304 /^X\(\/\/\)$/{
305 s//\1/
306 q
307 }
308 /^X\(\/\).*/{
309 s//\1/
310 q
311 }
312 s/.*/./; q'`
313 test -d "$as_dir" && break
314 done
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
317
318
319} # as_fn_mkdir_p
320# as_fn_append VAR VALUE
321# ----------------------
322# Append the text in VALUE to the end of the definition contained in VAR. Take
323# advantage of any shell optimizations that allow amortized linear growth over
324# repeated appends, instead of the typical quadratic growth present in naive
325# implementations.
326if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
328 {
329 eval $1+=\$2
330 }'
331else
332 as_fn_append ()
333 {
334 eval $1=\$$1\$2
335 }
336fi # as_fn_append
337
338# as_fn_arith ARG...
339# ------------------
340# Perform arithmetic evaluation on the ARGs, and store the result in the
341# global $as_val. Take advantage of shells that can avoid forks. The arguments
342# must be portable across $(()) and expr.
343if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
344 eval 'as_fn_arith ()
345 {
346 as_val=$(( $* ))
347 }'
348else
349 as_fn_arith ()
350 {
351 as_val=`expr "$@" || test $? -eq 1`
352 }
353fi # as_fn_arith
354
355
356# as_fn_error ERROR [LINENO LOG_FD]
357# ---------------------------------
358# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360# script with status $?, using 1 if that was 0.
361as_fn_error ()
362{
363 as_status=$?; test $as_status -eq 0 && as_status=1
364 if test "$3"; then
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
367 fi
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
370} # as_fn_error
371
116if expr a : '\(a\)' >/dev/null 2>&1 && 372if expr a : '\(a\)' >/dev/null 2>&1 &&
117 test "X`expr 00001 : '.*\(...\)'`" = X001; then 373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
118 as_expr=expr 374 as_expr=expr
119else 375else
120 as_expr=false 376 as_expr=false
124 as_basename=basename 380 as_basename=basename
125else 381else
126 as_basename=false 382 as_basename=false
127fi 383fi
128 384
385if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
386 as_dirname=dirname
387else
388 as_dirname=false
389fi
129 390
130# Name of the executable.
131as_me=`$as_basename -- "$0" || 391as_me=`$as_basename -- "$0" ||
132$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 392$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
133 X"$0" : 'X\(//\)$' \| \ 393 X"$0" : 'X\(//\)$' \| \
134 X"$0" : 'X\(/\)' \| . 2>/dev/null || 394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
135echo X/"$0" | 395$as_echo X/"$0" |
136 sed '/^.*\/\([^/][^/]*\)\/*$/{ 396 sed '/^.*\/\([^/][^/]*\)\/*$/{
137 s//\1/ 397 s//\1/
138 q 398 q
139 } 399 }
140 /^X\/\(\/\/\)$/{ 400 /^X\/\(\/\/\)$/{
145 s//\1/ 405 s//\1/
146 q 406 q
147 } 407 }
148 s/.*/./; q'` 408 s/.*/./; q'`
149 409
150# CDPATH. 410# Avoid depending upon Character Ranges.
151$as_unset CDPATH 411as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414as_cr_digits='0123456789'
415as_cr_alnum=$as_cr_Letters$as_cr_digits
152 416
153 417
154if test "x$CONFIG_SHELL" = x; then 418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
155 if (eval ":") 2>/dev/null; then 419 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" && 420 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" || { 421 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. :-) 422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
438 sed -n ' 423 sed -n '
439 p 424 p
440 /[$]LINENO/= 425 /[$]LINENO/=
441 ' <$as_myself | 426 ' <$as_myself |
442 sed ' 427 sed '
449 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/ 434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
450 t loop 435 t loop
451 s/-\n.*// 436 s/-\n.*//
452 ' >$as_me.lineno && 437 ' >$as_me.lineno &&
453 chmod +x "$as_me.lineno" || 438 chmod +x "$as_me.lineno" ||
454 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2 439 { $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 440
457 # Don't try to exec as it changes $[0], causing all sort of problems 441 # 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 442 # (the dirname of $[0] is not the place where we might find the
459 # original and so on. Autoconf is especially sensitive to this). 443 # original and so on. Autoconf is especially sensitive to this).
460 . "./$as_me.lineno" 444 . "./$as_me.lineno"
461 # Exit status is that of the last command. 445 # Exit status is that of the last command.
462 exit 446 exit
463} 447}
464 448
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= 449ECHO_C= ECHO_N= ECHO_T=
473case `echo -n x` in 450case `echo -n x` in #(((((
474-n*) 451-n*)
475 case `echo 'x\c'` in 452 case `echo 'xy\c'` in
476 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
477 *) ECHO_C='\c';; 454 xy) ECHO_C='\c';;
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
456 ECHO_T=' ';;
478 esac;; 457 esac;;
479*) 458*)
480 ECHO_N='-n';; 459 ECHO_N='-n';;
481esac 460esac
482 461
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 462rm -f conf$$ conf$$.exe conf$$.file
491if test -d conf$$.dir; then 463if test -d conf$$.dir; then
492 rm -f conf$$.dir/conf$$.file 464 rm -f conf$$.dir/conf$$.file
493else 465else
494 rm -f conf$$.dir 466 rm -f conf$$.dir
495 mkdir conf$$.dir 467 mkdir conf$$.dir 2>/dev/null
496fi 468fi
497echo >conf$$.file 469if (echo >conf$$.file) 2>/dev/null; then
498if ln -s conf$$.file conf$$ 2>/dev/null; then 470 if ln -s conf$$.file conf$$ 2>/dev/null; then
499 as_ln_s='ln -s' 471 as_ln_s='ln -s'
500 # ... but there are two gotchas: 472 # ... but there are two gotchas:
501 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 473 # 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. 474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
503 # In both cases, we have to default to `cp -p'. 475 # In both cases, we have to default to `cp -p'.
504 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
477 as_ln_s='cp -p'
478 elif ln conf$$.file conf$$ 2>/dev/null; then
479 as_ln_s=ln
480 else
505 as_ln_s='cp -p' 481 as_ln_s='cp -p'
506elif ln conf$$.file conf$$ 2>/dev/null; then 482 fi
507 as_ln_s=ln
508else 483else
509 as_ln_s='cp -p' 484 as_ln_s='cp -p'
510fi 485fi
511rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 486rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
512rmdir conf$$.dir 2>/dev/null 487rmdir conf$$.dir 2>/dev/null
513 488
514if mkdir -p . 2>/dev/null; then 489if mkdir -p . 2>/dev/null; then
515 as_mkdir_p=: 490 as_mkdir_p='mkdir -p "$as_dir"'
516else 491else
517 test -d ./-p && rmdir ./-p 492 test -d ./-p && rmdir ./-p
518 as_mkdir_p=false 493 as_mkdir_p=false
519fi 494fi
520 495
527 as_ls_L_option= 502 as_ls_L_option=
528 fi 503 fi
529 as_test_x=' 504 as_test_x='
530 eval sh -c '\'' 505 eval sh -c '\''
531 if test -d "$1"; then 506 if test -d "$1"; then
532 test -d "$1/."; 507 test -d "$1/.";
533 else 508 else
534 case $1 in 509 case $1 in #(
535 -*)set "./$1";; 510 -*)set "./$1";;
536 esac; 511 esac;
537 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in 512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
538 ???[sx]*):;;*)false;;esac;fi 513 ???[sx]*):;;*)false;;esac;fi
539 '\'' sh 514 '\'' sh
540 ' 515 '
541fi 516fi
542as_executable_p=$as_test_x 517as_executable_p=$as_test_x
544# Sed expression to map a string onto a valid CPP name. 519# 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'" 520as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
546 521
547# Sed expression to map a string onto a valid variable name. 522# Sed expression to map a string onto a valid variable name.
548as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'" 523as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
549
550 524
551 525
552exec 7<&0 </dev/null 6>&1 526exec 7<&0 </dev/null 6>&1
553 527
554# Name of the host. 528# Name of the host.
565LIBOBJS= 539LIBOBJS=
566cross_compiling=no 540cross_compiling=no
567subdirs= 541subdirs=
568MFLAGS= 542MFLAGS=
569MAKEFLAGS= 543MAKEFLAGS=
570SHELL=${CONFIG_SHELL-/bin/sh}
571 544
572# Identity of this package. 545# Identity of this package.
573PACKAGE_NAME= 546PACKAGE_NAME=
574PACKAGE_TARNAME= 547PACKAGE_TARNAME=
575PACKAGE_VERSION= 548PACKAGE_VERSION=
576PACKAGE_STRING= 549PACKAGE_STRING=
577PACKAGE_BUGREPORT= 550PACKAGE_BUGREPORT=
551PACKAGE_URL=
578 552
579ac_unique_file="libeio/eio.h" 553ac_unique_file="libeio/eio.h"
580ac_subst_vars='SHELL 554ac_subst_vars='LTLIBOBJS
555LIBOBJS
556OBJEXT
557EXEEXT
558ac_ct_CC
559CPPFLAGS
560LDFLAGS
561CFLAGS
562CC
563target_alias
564host_alias
565build_alias
566LIBS
567ECHO_T
568ECHO_N
569ECHO_C
570DEFS
571mandir
572localedir
573libdir
574psdir
575pdfdir
576dvidir
577htmldir
578infodir
579docdir
580oldincludedir
581includedir
582localstatedir
583sharedstatedir
584sysconfdir
585datadir
586datarootdir
587libexecdir
588sbindir
589bindir
590program_transform_name
591prefix
592exec_prefix
593PACKAGE_URL
594PACKAGE_BUGREPORT
595PACKAGE_STRING
596PACKAGE_VERSION
597PACKAGE_TARNAME
598PACKAGE_NAME
581PATH_SEPARATOR 599PATH_SEPARATOR
582PACKAGE_NAME 600SHELL'
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='' 601ac_subst_files=''
602ac_user_opts='
603enable_option_checking
604'
627 ac_precious_vars='build_alias 605 ac_precious_vars='build_alias
628host_alias 606host_alias
629target_alias 607target_alias
630CC 608CC
631CFLAGS 609CFLAGS
635 613
636 614
637# Initialize some variables set by options. 615# Initialize some variables set by options.
638ac_init_help= 616ac_init_help=
639ac_init_version=false 617ac_init_version=false
618ac_unrecognized_opts=
619ac_unrecognized_sep=
640# The variables have the same names as the options, with 620# The variables have the same names as the options, with
641# dashes changed to underlines. 621# dashes changed to underlines.
642cache_file=/dev/null 622cache_file=/dev/null
643exec_prefix=NONE 623exec_prefix=NONE
644no_create= 624no_create=
733 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \ 713 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
734 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*) 714 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
735 datarootdir=$ac_optarg ;; 715 datarootdir=$ac_optarg ;;
736 716
737 -disable-* | --disable-*) 717 -disable-* | --disable-*)
738 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'` 718 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
739 # Reject names that are not valid shell variable names. 719 # Reject names that are not valid shell variable names.
740 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 720 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
741 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 721 as_fn_error "invalid feature name: $ac_useropt"
742 { (exit 1); exit 1; }; } 722 ac_useropt_orig=$ac_useropt
743 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 723 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
724 case $ac_user_opts in
725 *"
726"enable_$ac_useropt"
727"*) ;;
728 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
729 ac_unrecognized_sep=', ';;
730 esac
744 eval enable_$ac_feature=no ;; 731 eval enable_$ac_useropt=no ;;
745 732
746 -docdir | --docdir | --docdi | --doc | --do) 733 -docdir | --docdir | --docdi | --doc | --do)
747 ac_prev=docdir ;; 734 ac_prev=docdir ;;
748 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*) 735 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
749 docdir=$ac_optarg ;; 736 docdir=$ac_optarg ;;
752 ac_prev=dvidir ;; 739 ac_prev=dvidir ;;
753 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*) 740 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
754 dvidir=$ac_optarg ;; 741 dvidir=$ac_optarg ;;
755 742
756 -enable-* | --enable-*) 743 -enable-* | --enable-*)
757 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'` 744 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
758 # Reject names that are not valid shell variable names. 745 # Reject names that are not valid shell variable names.
759 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null && 746 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
760 { echo "$as_me: error: invalid feature name: $ac_feature" >&2 747 as_fn_error "invalid feature name: $ac_useropt"
761 { (exit 1); exit 1; }; } 748 ac_useropt_orig=$ac_useropt
762 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'` 749 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
750 case $ac_user_opts in
751 *"
752"enable_$ac_useropt"
753"*) ;;
754 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
755 ac_unrecognized_sep=', ';;
756 esac
763 eval enable_$ac_feature=\$ac_optarg ;; 757 eval enable_$ac_useropt=\$ac_optarg ;;
764 758
765 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \ 759 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
766 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \ 760 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
767 | --exec | --exe | --ex) 761 | --exec | --exe | --ex)
768 ac_prev=exec_prefix ;; 762 ac_prev=exec_prefix ;;
949 943
950 -version | --version | --versio | --versi | --vers | -V) 944 -version | --version | --versio | --versi | --vers | -V)
951 ac_init_version=: ;; 945 ac_init_version=: ;;
952 946
953 -with-* | --with-*) 947 -with-* | --with-*)
954 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'` 948 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
955 # Reject names that are not valid shell variable names. 949 # Reject names that are not valid shell variable names.
956 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 950 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
957 { echo "$as_me: error: invalid package name: $ac_package" >&2 951 as_fn_error "invalid package name: $ac_useropt"
958 { (exit 1); exit 1; }; } 952 ac_useropt_orig=$ac_useropt
959 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 953 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
954 case $ac_user_opts in
955 *"
956"with_$ac_useropt"
957"*) ;;
958 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
959 ac_unrecognized_sep=', ';;
960 esac
960 eval with_$ac_package=\$ac_optarg ;; 961 eval with_$ac_useropt=\$ac_optarg ;;
961 962
962 -without-* | --without-*) 963 -without-* | --without-*)
963 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'` 964 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
964 # Reject names that are not valid shell variable names. 965 # Reject names that are not valid shell variable names.
965 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null && 966 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
966 { echo "$as_me: error: invalid package name: $ac_package" >&2 967 as_fn_error "invalid package name: $ac_useropt"
967 { (exit 1); exit 1; }; } 968 ac_useropt_orig=$ac_useropt
968 ac_package=`echo $ac_package | sed 's/[-.]/_/g'` 969 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
970 case $ac_user_opts in
971 *"
972"with_$ac_useropt"
973"*) ;;
974 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
975 ac_unrecognized_sep=', ';;
976 esac
969 eval with_$ac_package=no ;; 977 eval with_$ac_useropt=no ;;
970 978
971 --x) 979 --x)
972 # Obsolete; use --with-x. 980 # Obsolete; use --with-x.
973 with_x=yes ;; 981 with_x=yes ;;
974 982
984 ac_prev=x_libraries ;; 992 ac_prev=x_libraries ;;
985 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \ 993 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
986 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*) 994 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
987 x_libraries=$ac_optarg ;; 995 x_libraries=$ac_optarg ;;
988 996
989 -*) { echo "$as_me: error: unrecognized option: $ac_option 997 -*) as_fn_error "unrecognized option: \`$ac_option'
990Try \`$0 --help' for more information." >&2 998Try \`$0 --help' for more information."
991 { (exit 1); exit 1; }; }
992 ;; 999 ;;
993 1000
994 *=*) 1001 *=*)
995 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` 1002 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
996 # Reject names that are not valid shell variable names. 1003 # Reject names that are not valid shell variable names.
997 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && 1004 case $ac_envvar in #(
1005 '' | [0-9]* | *[!_$as_cr_alnum]* )
998 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 1006 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
999 { (exit 1); exit 1; }; } 1007 esac
1000 eval $ac_envvar=\$ac_optarg 1008 eval $ac_envvar=\$ac_optarg
1001 export $ac_envvar ;; 1009 export $ac_envvar ;;
1002 1010
1003 *) 1011 *)
1004 # FIXME: should be removed in autoconf 3.0. 1012 # FIXME: should be removed in autoconf 3.0.
1005 echo "$as_me: WARNING: you should use --build, --host, --target" >&2 1013 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1006 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null && 1014 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1007 echo "$as_me: WARNING: invalid host type: $ac_option" >&2 1015 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1008 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option} 1016 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1009 ;; 1017 ;;
1010 1018
1011 esac 1019 esac
1012done 1020done
1013 1021
1014if test -n "$ac_prev"; then 1022if test -n "$ac_prev"; then
1015 ac_option=--`echo $ac_prev | sed 's/_/-/g'` 1023 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1016 { echo "$as_me: error: missing argument to $ac_option" >&2 1024 as_fn_error "missing argument to $ac_option"
1017 { (exit 1); exit 1; }; }
1018fi 1025fi
1019 1026
1020# Be sure to have absolute directory names. 1027if test -n "$ac_unrecognized_opts"; then
1028 case $enable_option_checking in
1029 no) ;;
1030 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1031 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1032 esac
1033fi
1034
1035# Check all directory arguments for consistency.
1021for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \ 1036for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1022 datadir sysconfdir sharedstatedir localstatedir includedir \ 1037 datadir sysconfdir sharedstatedir localstatedir includedir \
1023 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \ 1038 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1024 libdir localedir mandir 1039 libdir localedir mandir
1025do 1040do
1026 eval ac_val=\$$ac_var 1041 eval ac_val=\$$ac_var
1042 # Remove trailing slashes.
1043 case $ac_val in
1044 */ )
1045 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1046 eval $ac_var=\$ac_val;;
1047 esac
1048 # Be sure to have absolute directory names.
1027 case $ac_val in 1049 case $ac_val in
1028 [\\/$]* | ?:[\\/]* ) continue;; 1050 [\\/$]* | ?:[\\/]* ) continue;;
1029 NONE | '' ) case $ac_var in *prefix ) continue;; esac;; 1051 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1030 esac 1052 esac
1031 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 1053 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1032 { (exit 1); exit 1; }; }
1033done 1054done
1034 1055
1035# There might be people who depend on the old broken behavior: `$host' 1056# There might be people who depend on the old broken behavior: `$host'
1036# used to hold the argument of --host etc. 1057# used to hold the argument of --host etc.
1037# FIXME: To remove some day. 1058# FIXME: To remove some day.
1041 1062
1042# FIXME: To remove some day. 1063# FIXME: To remove some day.
1043if test "x$host_alias" != x; then 1064if test "x$host_alias" != x; then
1044 if test "x$build_alias" = x; then 1065 if test "x$build_alias" = x; then
1045 cross_compiling=maybe 1066 cross_compiling=maybe
1046 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host. 1067 $as_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 1068 If a cross compiler is detected then cross compile mode will be used." >&2
1048 elif test "x$build_alias" != "x$host_alias"; then 1069 elif test "x$build_alias" != "x$host_alias"; then
1049 cross_compiling=yes 1070 cross_compiling=yes
1050 fi 1071 fi
1051fi 1072fi
1057 1078
1058 1079
1059ac_pwd=`pwd` && test -n "$ac_pwd" && 1080ac_pwd=`pwd` && test -n "$ac_pwd" &&
1060ac_ls_di=`ls -di .` && 1081ac_ls_di=`ls -di .` &&
1061ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` || 1082ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1062 { echo "$as_me: error: Working directory cannot be determined" >&2 1083 as_fn_error "working directory cannot be determined"
1063 { (exit 1); exit 1; }; }
1064test "X$ac_ls_di" = "X$ac_pwd_ls_di" || 1084test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1065 { echo "$as_me: error: pwd does not report name of working directory" >&2 1085 as_fn_error "pwd does not report name of working directory"
1066 { (exit 1); exit 1; }; }
1067 1086
1068 1087
1069# Find the source files, if location was not specified. 1088# Find the source files, if location was not specified.
1070if test -z "$srcdir"; then 1089if test -z "$srcdir"; then
1071 ac_srcdir_defaulted=yes 1090 ac_srcdir_defaulted=yes
1072 # Try the directory containing this script, then the parent directory. 1091 # Try the directory containing this script, then the parent directory.
1073 ac_confdir=`$as_dirname -- "$0" || 1092 ac_confdir=`$as_dirname -- "$as_myself" ||
1074$as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 1093$as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1075 X"$0" : 'X\(//\)[^/]' \| \ 1094 X"$as_myself" : 'X\(//\)[^/]' \| \
1076 X"$0" : 'X\(//\)$' \| \ 1095 X"$as_myself" : 'X\(//\)$' \| \
1077 X"$0" : 'X\(/\)' \| . 2>/dev/null || 1096 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1078echo X"$0" | 1097$as_echo X"$as_myself" |
1079 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 1098 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1080 s//\1/ 1099 s//\1/
1081 q 1100 q
1082 } 1101 }
1083 /^X\(\/\/\)[^/].*/{ 1102 /^X\(\/\/\)[^/].*/{
1100else 1119else
1101 ac_srcdir_defaulted=no 1120 ac_srcdir_defaulted=no
1102fi 1121fi
1103if test ! -r "$srcdir/$ac_unique_file"; then 1122if test ! -r "$srcdir/$ac_unique_file"; then
1104 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .." 1123 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1105 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2 1124 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1106 { (exit 1); exit 1; }; }
1107fi 1125fi
1108ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work" 1126ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1109ac_abs_confdir=`( 1127ac_abs_confdir=`(
1110 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2 1128 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1111 { (exit 1); exit 1; }; }
1112 pwd)` 1129 pwd)`
1113# When building in place, set srcdir=. 1130# When building in place, set srcdir=.
1114if test "$ac_abs_confdir" = "$ac_pwd"; then 1131if test "$ac_abs_confdir" = "$ac_pwd"; then
1115 srcdir=. 1132 srcdir=.
1116fi 1133fi
1154 -n, --no-create do not create output files 1171 -n, --no-create do not create output files
1155 --srcdir=DIR find the sources in DIR [configure dir or \`..'] 1172 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1156 1173
1157Installation directories: 1174Installation directories:
1158 --prefix=PREFIX install architecture-independent files in PREFIX 1175 --prefix=PREFIX install architecture-independent files in PREFIX
1159 [$ac_default_prefix] 1176 [$ac_default_prefix]
1160 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX 1177 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1161 [PREFIX] 1178 [PREFIX]
1162 1179
1163By default, \`make install' will install all the files in 1180By default, \`make install' will install all the files in
1164\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify 1181\`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1165an installation prefix other than \`$ac_default_prefix' using \`--prefix', 1182an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1166for instance \`--prefix=\$HOME'. 1183for instance \`--prefix=\$HOME'.
1167 1184
1168For better control, use the options below. 1185For better control, use the options below.
1169 1186
1170Fine tuning of the installation directories: 1187Fine tuning of the installation directories:
1171 --bindir=DIR user executables [EPREFIX/bin] 1188 --bindir=DIR user executables [EPREFIX/bin]
1172 --sbindir=DIR system admin executables [EPREFIX/sbin] 1189 --sbindir=DIR system admin executables [EPREFIX/sbin]
1173 --libexecdir=DIR program executables [EPREFIX/libexec] 1190 --libexecdir=DIR program executables [EPREFIX/libexec]
1174 --sysconfdir=DIR read-only single-machine data [PREFIX/etc] 1191 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1175 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com] 1192 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1176 --localstatedir=DIR modifiable single-machine data [PREFIX/var] 1193 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1177 --libdir=DIR object code libraries [EPREFIX/lib] 1194 --libdir=DIR object code libraries [EPREFIX/lib]
1178 --includedir=DIR C header files [PREFIX/include] 1195 --includedir=DIR C header files [PREFIX/include]
1179 --oldincludedir=DIR C header files for non-gcc [/usr/include] 1196 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1180 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share] 1197 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1181 --datadir=DIR read-only architecture-independent data [DATAROOTDIR] 1198 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1182 --infodir=DIR info documentation [DATAROOTDIR/info] 1199 --infodir=DIR info documentation [DATAROOTDIR/info]
1183 --localedir=DIR locale-dependent data [DATAROOTDIR/locale] 1200 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1184 --mandir=DIR man documentation [DATAROOTDIR/man] 1201 --mandir=DIR man documentation [DATAROOTDIR/man]
1185 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE] 1202 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1186 --htmldir=DIR html documentation [DOCDIR] 1203 --htmldir=DIR html documentation [DOCDIR]
1187 --dvidir=DIR dvi documentation [DOCDIR] 1204 --dvidir=DIR dvi documentation [DOCDIR]
1188 --pdfdir=DIR pdf documentation [DOCDIR] 1205 --pdfdir=DIR pdf documentation [DOCDIR]
1189 --psdir=DIR ps documentation [DOCDIR] 1206 --psdir=DIR ps documentation [DOCDIR]
1190_ACEOF 1207_ACEOF
1191 1208
1192 cat <<\_ACEOF 1209 cat <<\_ACEOF
1193_ACEOF 1210_ACEOF
1194fi 1211fi
1207 you have headers in a nonstandard directory <include dir> 1224 you have headers in a nonstandard directory <include dir>
1208 1225
1209Use these variables to override the choices made by `configure' or to help 1226Use these variables to override the choices made by `configure' or to help
1210it to find libraries and programs with nonstandard names/locations. 1227it to find libraries and programs with nonstandard names/locations.
1211 1228
1229Report bugs to the package provider.
1212_ACEOF 1230_ACEOF
1213ac_status=$? 1231ac_status=$?
1214fi 1232fi
1215 1233
1216if test "$ac_init_help" = "recursive"; then 1234if test "$ac_init_help" = "recursive"; then
1217 # If there are subdirs, report their specific --help. 1235 # If there are subdirs, report their specific --help.
1218 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue 1236 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1219 test -d "$ac_dir" || continue 1237 test -d "$ac_dir" ||
1238 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1239 continue
1220 ac_builddir=. 1240 ac_builddir=.
1221 1241
1222case "$ac_dir" in 1242case "$ac_dir" in
1223.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 1243.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1224*) 1244*)
1225 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 1245 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1226 # A ".." for each directory in $ac_dir_suffix. 1246 # A ".." for each directory in $ac_dir_suffix.
1227 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 1247 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1228 case $ac_top_builddir_sub in 1248 case $ac_top_builddir_sub in
1229 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 1249 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1230 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 1250 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1231 esac ;; 1251 esac ;;
1232esac 1252esac
1258 $SHELL "$ac_srcdir/configure.gnu" --help=recursive 1278 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1259 elif test -f "$ac_srcdir/configure"; then 1279 elif test -f "$ac_srcdir/configure"; then
1260 echo && 1280 echo &&
1261 $SHELL "$ac_srcdir/configure" --help=recursive 1281 $SHELL "$ac_srcdir/configure" --help=recursive
1262 else 1282 else
1263 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 1283 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1264 fi || ac_status=$? 1284 fi || ac_status=$?
1265 cd "$ac_pwd" || { ac_status=$?; break; } 1285 cd "$ac_pwd" || { ac_status=$?; break; }
1266 done 1286 done
1267fi 1287fi
1268 1288
1269test -n "$ac_init_help" && exit $ac_status 1289test -n "$ac_init_help" && exit $ac_status
1270if $ac_init_version; then 1290if $ac_init_version; then
1271 cat <<\_ACEOF 1291 cat <<\_ACEOF
1272configure 1292configure
1273generated by GNU Autoconf 2.61 1293generated by GNU Autoconf 2.64
1274 1294
1275Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001, 1295Copyright (C) 2009 Free Software Foundation, Inc.
12762002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1277This configure script is free software; the Free Software Foundation 1296This configure script is free software; the Free Software Foundation
1278gives unlimited permission to copy, distribute and modify it. 1297gives unlimited permission to copy, distribute and modify it.
1279_ACEOF 1298_ACEOF
1280 exit 1299 exit
1281fi 1300fi
1301
1302## ------------------------ ##
1303## Autoconf initialization. ##
1304## ------------------------ ##
1305
1306# ac_fn_c_try_compile LINENO
1307# --------------------------
1308# Try to compile conftest.$ac_ext, and return whether this succeeded.
1309ac_fn_c_try_compile ()
1310{
1311 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1312 rm -f conftest.$ac_objext
1313 if { { ac_try="$ac_compile"
1314case "(($ac_try" in
1315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1316 *) ac_try_echo=$ac_try;;
1317esac
1318eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1319$as_echo "$ac_try_echo"; } >&5
1320 (eval "$ac_compile") 2>conftest.err
1321 ac_status=$?
1322 if test -s conftest.err; then
1323 grep -v '^ *+' conftest.err >conftest.er1
1324 cat conftest.er1 >&5
1325 mv -f conftest.er1 conftest.err
1326 fi
1327 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1328 test $ac_status = 0; } && {
1329 test -z "$ac_c_werror_flag" ||
1330 test ! -s conftest.err
1331 } && test -s conftest.$ac_objext; then :
1332 ac_retval=0
1333else
1334 $as_echo "$as_me: failed program was:" >&5
1335sed 's/^/| /' conftest.$ac_ext >&5
1336
1337 ac_retval=1
1338fi
1339 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1340 return $ac_retval
1341
1342} # ac_fn_c_try_compile
1343
1344# ac_fn_c_try_link LINENO
1345# -----------------------
1346# Try to link conftest.$ac_ext, and return whether this succeeded.
1347ac_fn_c_try_link ()
1348{
1349 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1350 rm -f conftest.$ac_objext conftest$ac_exeext
1351 if { { ac_try="$ac_link"
1352case "(($ac_try" in
1353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1354 *) ac_try_echo=$ac_try;;
1355esac
1356eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1357$as_echo "$ac_try_echo"; } >&5
1358 (eval "$ac_link") 2>conftest.err
1359 ac_status=$?
1360 if test -s conftest.err; then
1361 grep -v '^ *+' conftest.err >conftest.er1
1362 cat conftest.er1 >&5
1363 mv -f conftest.er1 conftest.err
1364 fi
1365 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1366 test $ac_status = 0; } && {
1367 test -z "$ac_c_werror_flag" ||
1368 test ! -s conftest.err
1369 } && test -s conftest$ac_exeext && {
1370 test "$cross_compiling" = yes ||
1371 $as_test_x conftest$ac_exeext
1372 }; then :
1373 ac_retval=0
1374else
1375 $as_echo "$as_me: failed program was:" >&5
1376sed 's/^/| /' conftest.$ac_ext >&5
1377
1378 ac_retval=1
1379fi
1380 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1381 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1382 # interfere with the next link command; also delete a directory that is
1383 # left behind by Apple's compiler. We do this before executing the actions.
1384 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1385 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1386 return $ac_retval
1387
1388} # ac_fn_c_try_link
1282cat >config.log <<_ACEOF 1389cat >config.log <<_ACEOF
1283This file contains any messages produced by compilers while 1390This file contains any messages produced by compilers while
1284running configure, to aid debugging if configure makes a mistake. 1391running configure, to aid debugging if configure makes a mistake.
1285 1392
1286It was created by $as_me, which was 1393It was created by $as_me, which was
1287generated by GNU Autoconf 2.61. Invocation command line was 1394generated by GNU Autoconf 2.64. Invocation command line was
1288 1395
1289 $ $0 $@ 1396 $ $0 $@
1290 1397
1291_ACEOF 1398_ACEOF
1292exec 5>>config.log 1399exec 5>>config.log
1318as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1425as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1319for as_dir in $PATH 1426for as_dir in $PATH
1320do 1427do
1321 IFS=$as_save_IFS 1428 IFS=$as_save_IFS
1322 test -z "$as_dir" && as_dir=. 1429 test -z "$as_dir" && as_dir=.
1323 echo "PATH: $as_dir" 1430 $as_echo "PATH: $as_dir"
1324done 1431 done
1325IFS=$as_save_IFS 1432IFS=$as_save_IFS
1326 1433
1327} >&5 1434} >&5
1328 1435
1329cat >&5 <<_ACEOF 1436cat >&5 <<_ACEOF
1353 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;; 1460 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1354 -q | -quiet | --quiet | --quie | --qui | --qu | --q \ 1461 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1355 | -silent | --silent | --silen | --sile | --sil) 1462 | -silent | --silent | --silen | --sile | --sil)
1356 continue ;; 1463 continue ;;
1357 *\'*) 1464 *\'*)
1358 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;; 1465 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1359 esac 1466 esac
1360 case $ac_pass in 1467 case $ac_pass in
1361 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;; 1468 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1362 2) 1469 2)
1363 ac_configure_args1="$ac_configure_args1 '$ac_arg'" 1470 as_fn_append ac_configure_args1 " '$ac_arg'"
1364 if test $ac_must_keep_next = true; then 1471 if test $ac_must_keep_next = true; then
1365 ac_must_keep_next=false # Got value, back to normal. 1472 ac_must_keep_next=false # Got value, back to normal.
1366 else 1473 else
1367 case $ac_arg in 1474 case $ac_arg in
1368 *=* | --config-cache | -C | -disable-* | --disable-* \ 1475 *=* | --config-cache | -C | -disable-* | --disable-* \
1374 esac 1481 esac
1375 ;; 1482 ;;
1376 -* ) ac_must_keep_next=true ;; 1483 -* ) ac_must_keep_next=true ;;
1377 esac 1484 esac
1378 fi 1485 fi
1379 ac_configure_args="$ac_configure_args '$ac_arg'" 1486 as_fn_append ac_configure_args " '$ac_arg'"
1380 ;; 1487 ;;
1381 esac 1488 esac
1382 done 1489 done
1383done 1490done
1384$as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; } 1491{ 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; } 1492{ ac_configure_args1=; unset ac_configure_args1;}
1386 1493
1387# When interrupted or exit'd, cleanup temporary files, and complete 1494# When interrupted or exit'd, cleanup temporary files, and complete
1388# config.log. We remove comments because anyway the quotes in there 1495# config.log. We remove comments because anyway the quotes in there
1389# would cause problems or look ugly. 1496# would cause problems or look ugly.
1390# WARNING: Use '\'' to represent an apostrophe within the trap. 1497# WARNING: Use '\'' to represent an apostrophe within the trap.
1405 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do 1512 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 1513 eval ac_val=\$$ac_var
1407 case $ac_val in #( 1514 case $ac_val in #(
1408 *${as_nl}*) 1515 *${as_nl}*)
1409 case $ac_var in #( 1516 case $ac_var in #(
1410 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 1517 *_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;} ;; 1518$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1412 esac 1519 esac
1413 case $ac_var in #( 1520 case $ac_var in #(
1414 _ | IFS | as_nl) ;; #( 1521 _ | IFS | as_nl) ;; #(
1415 *) $as_unset $ac_var ;; 1522 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1523 *) { eval $ac_var=; unset $ac_var;} ;;
1416 esac ;; 1524 esac ;;
1417 esac 1525 esac
1418 done 1526 done
1419 (set) 2>&1 | 1527 (set) 2>&1 |
1420 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #( 1528 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1439 echo 1547 echo
1440 for ac_var in $ac_subst_vars 1548 for ac_var in $ac_subst_vars
1441 do 1549 do
1442 eval ac_val=\$$ac_var 1550 eval ac_val=\$$ac_var
1443 case $ac_val in 1551 case $ac_val in
1444 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1552 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1445 esac 1553 esac
1446 echo "$ac_var='\''$ac_val'\''" 1554 $as_echo "$ac_var='\''$ac_val'\''"
1447 done | sort 1555 done | sort
1448 echo 1556 echo
1449 1557
1450 if test -n "$ac_subst_files"; then 1558 if test -n "$ac_subst_files"; then
1451 cat <<\_ASBOX 1559 cat <<\_ASBOX
1456 echo 1564 echo
1457 for ac_var in $ac_subst_files 1565 for ac_var in $ac_subst_files
1458 do 1566 do
1459 eval ac_val=\$$ac_var 1567 eval ac_val=\$$ac_var
1460 case $ac_val in 1568 case $ac_val in
1461 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;; 1569 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1462 esac 1570 esac
1463 echo "$ac_var='\''$ac_val'\''" 1571 $as_echo "$ac_var='\''$ac_val'\''"
1464 done | sort 1572 done | sort
1465 echo 1573 echo
1466 fi 1574 fi
1467 1575
1468 if test -s confdefs.h; then 1576 if test -s confdefs.h; then
1474 echo 1582 echo
1475 cat confdefs.h 1583 cat confdefs.h
1476 echo 1584 echo
1477 fi 1585 fi
1478 test "$ac_signal" != 0 && 1586 test "$ac_signal" != 0 &&
1479 echo "$as_me: caught signal $ac_signal" 1587 $as_echo "$as_me: caught signal $ac_signal"
1480 echo "$as_me: exit $exit_status" 1588 $as_echo "$as_me: exit $exit_status"
1481 } >&5 1589 } >&5
1482 rm -f core *.core core.conftest.* && 1590 rm -f core *.core core.conftest.* &&
1483 rm -f -r conftest* confdefs* conf$$* $ac_clean_files && 1591 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1484 exit $exit_status 1592 exit $exit_status
1485' 0 1593' 0
1486for ac_signal in 1 2 13 15; do 1594for ac_signal in 1 2 13 15; do
1487 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal 1595 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1488done 1596done
1489ac_signal=0 1597ac_signal=0
1490 1598
1491# confdefs.h avoids OS command line length limits that DEFS can exceed. 1599# confdefs.h avoids OS command line length limits that DEFS can exceed.
1492rm -f -r conftest* confdefs.h 1600rm -f -r conftest* confdefs.h
1601
1602$as_echo "/* confdefs.h */" > confdefs.h
1493 1603
1494# Predefined preprocessor variables. 1604# Predefined preprocessor variables.
1495 1605
1496cat >>confdefs.h <<_ACEOF 1606cat >>confdefs.h <<_ACEOF
1497#define PACKAGE_NAME "$PACKAGE_NAME" 1607#define PACKAGE_NAME "$PACKAGE_NAME"
1498_ACEOF 1608_ACEOF
1499 1609
1500
1501cat >>confdefs.h <<_ACEOF 1610cat >>confdefs.h <<_ACEOF
1502#define PACKAGE_TARNAME "$PACKAGE_TARNAME" 1611#define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1503_ACEOF 1612_ACEOF
1504 1613
1505
1506cat >>confdefs.h <<_ACEOF 1614cat >>confdefs.h <<_ACEOF
1507#define PACKAGE_VERSION "$PACKAGE_VERSION" 1615#define PACKAGE_VERSION "$PACKAGE_VERSION"
1508_ACEOF 1616_ACEOF
1509 1617
1510
1511cat >>confdefs.h <<_ACEOF 1618cat >>confdefs.h <<_ACEOF
1512#define PACKAGE_STRING "$PACKAGE_STRING" 1619#define PACKAGE_STRING "$PACKAGE_STRING"
1513_ACEOF 1620_ACEOF
1514 1621
1515
1516cat >>confdefs.h <<_ACEOF 1622cat >>confdefs.h <<_ACEOF
1517#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT" 1623#define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1518_ACEOF 1624_ACEOF
1519 1625
1626cat >>confdefs.h <<_ACEOF
1627#define PACKAGE_URL "$PACKAGE_URL"
1628_ACEOF
1629
1520 1630
1521# Let the site file select an alternate cache file if it wants to. 1631# Let the site file select an alternate cache file if it wants to.
1522# Prefer explicitly selected file to automatically selected ones. 1632# Prefer an explicitly selected file to automatically selected ones.
1633ac_site_file1=NONE
1634ac_site_file2=NONE
1523if test -n "$CONFIG_SITE"; then 1635if test -n "$CONFIG_SITE"; then
1524 set x "$CONFIG_SITE" 1636 ac_site_file1=$CONFIG_SITE
1525elif test "x$prefix" != xNONE; then 1637elif test "x$prefix" != xNONE; then
1526 set x "$prefix/share/config.site" "$prefix/etc/config.site" 1638 ac_site_file1=$prefix/share/config.site
1639 ac_site_file2=$prefix/etc/config.site
1527else 1640else
1528 set x "$ac_default_prefix/share/config.site" \ 1641 ac_site_file1=$ac_default_prefix/share/config.site
1529 "$ac_default_prefix/etc/config.site" 1642 ac_site_file2=$ac_default_prefix/etc/config.site
1530fi 1643fi
1531shift 1644for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1532for ac_site_file
1533do 1645do
1646 test "x$ac_site_file" = xNONE && continue
1534 if test -r "$ac_site_file"; then 1647 if test -r "$ac_site_file"; then
1535 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5 1648 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1536echo "$as_me: loading site script $ac_site_file" >&6;} 1649$as_echo "$as_me: loading site script $ac_site_file" >&6;}
1537 sed 's/^/| /' "$ac_site_file" >&5 1650 sed 's/^/| /' "$ac_site_file" >&5
1538 . "$ac_site_file" 1651 . "$ac_site_file"
1539 fi 1652 fi
1540done 1653done
1541 1654
1542if test -r "$cache_file"; then 1655if test -r "$cache_file"; then
1543 # Some versions of bash will fail to source /dev/null (special 1656 # Some versions of bash will fail to source /dev/null (special
1544 # files actually), so we avoid doing that. 1657 # files actually), so we avoid doing that.
1545 if test -f "$cache_file"; then 1658 if test -f "$cache_file"; then
1546 { echo "$as_me:$LINENO: loading cache $cache_file" >&5 1659 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1547echo "$as_me: loading cache $cache_file" >&6;} 1660$as_echo "$as_me: loading cache $cache_file" >&6;}
1548 case $cache_file in 1661 case $cache_file in
1549 [\\/]* | ?:[\\/]* ) . "$cache_file";; 1662 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1550 *) . "./$cache_file";; 1663 *) . "./$cache_file";;
1551 esac 1664 esac
1552 fi 1665 fi
1553else 1666else
1554 { echo "$as_me:$LINENO: creating cache $cache_file" >&5 1667 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1555echo "$as_me: creating cache $cache_file" >&6;} 1668$as_echo "$as_me: creating cache $cache_file" >&6;}
1556 >$cache_file 1669 >$cache_file
1557fi 1670fi
1558 1671
1559# Check that the precious variables saved in the cache have kept the same 1672# Check that the precious variables saved in the cache have kept the same
1560# value. 1673# value.
1564 eval ac_new_set=\$ac_env_${ac_var}_set 1677 eval ac_new_set=\$ac_env_${ac_var}_set
1565 eval ac_old_val=\$ac_cv_env_${ac_var}_value 1678 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1566 eval ac_new_val=\$ac_env_${ac_var}_value 1679 eval ac_new_val=\$ac_env_${ac_var}_value
1567 case $ac_old_set,$ac_new_set in 1680 case $ac_old_set,$ac_new_set in
1568 set,) 1681 set,)
1569 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5 1682 { $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;} 1683$as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1571 ac_cache_corrupted=: ;; 1684 ac_cache_corrupted=: ;;
1572 ,set) 1685 ,set)
1573 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5 1686 { $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;} 1687$as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1575 ac_cache_corrupted=: ;; 1688 ac_cache_corrupted=: ;;
1576 ,);; 1689 ,);;
1577 *) 1690 *)
1578 if test "x$ac_old_val" != "x$ac_new_val"; then 1691 if test "x$ac_old_val" != "x$ac_new_val"; then
1692 # differences in whitespace do not lead to failure.
1693 ac_old_val_w=`echo x $ac_old_val`
1694 ac_new_val_w=`echo x $ac_new_val`
1695 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 1696 { $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;} 1697$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=: 1698 ac_cache_corrupted=:
1699 else
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1701$as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1702 eval $ac_var=\$ac_old_val
1703 fi
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1705$as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1706 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1707$as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1586 fi;; 1708 fi;;
1587 esac 1709 esac
1588 # Pass precious variables to config.status. 1710 # Pass precious variables to config.status.
1589 if test "$ac_new_set" = set; then 1711 if test "$ac_new_set" = set; then
1590 case $ac_new_val in 1712 case $ac_new_val in
1591 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;; 1713 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1592 *) ac_arg=$ac_var=$ac_new_val ;; 1714 *) ac_arg=$ac_var=$ac_new_val ;;
1593 esac 1715 esac
1594 case " $ac_configure_args " in 1716 case " $ac_configure_args " in
1595 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy. 1717 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1596 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;; 1718 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1597 esac 1719 esac
1598 fi 1720 fi
1599done 1721done
1600if $ac_cache_corrupted; then 1722if $ac_cache_corrupted; then
1723 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1724$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1601 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5 1725 { $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;} 1726$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;} 1727 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1605 { (exit 1); exit 1; }; }
1606fi 1728fi
1607 1729## -------------------- ##
1608 1730## Main body of script. ##
1609 1731## -------------------- ##
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623 1732
1624ac_ext=c 1733ac_ext=c
1625ac_cpp='$CPP $CPPFLAGS' 1734ac_cpp='$CPP $CPPFLAGS'
1626ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1735ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1627ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1736ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1638ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1747ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1639ac_compiler_gnu=$ac_cv_c_compiler_gnu 1748ac_compiler_gnu=$ac_cv_c_compiler_gnu
1640if test -n "$ac_tool_prefix"; then 1749if 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. 1750 # 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 1751set dummy ${ac_tool_prefix}gcc; ac_word=$2
1643{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1752{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1644echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1753$as_echo_n "checking for $ac_word... " >&6; }
1645if test "${ac_cv_prog_CC+set}" = set; then 1754if test "${ac_cv_prog_CC+set}" = set; then :
1646 echo $ECHO_N "(cached) $ECHO_C" >&6 1755 $as_echo_n "(cached) " >&6
1647else 1756else
1648 if test -n "$CC"; then 1757 if test -n "$CC"; then
1649 ac_cv_prog_CC="$CC" # Let the user override the test. 1758 ac_cv_prog_CC="$CC" # Let the user override the test.
1650else 1759else
1651as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1760as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1652for as_dir in $PATH 1761for as_dir in $PATH
1653do 1762do
1654 IFS=$as_save_IFS 1763 IFS=$as_save_IFS
1655 test -z "$as_dir" && as_dir=. 1764 test -z "$as_dir" && as_dir=.
1656 for ac_exec_ext in '' $ac_executable_extensions; do 1765 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 1766 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1658 ac_cv_prog_CC="${ac_tool_prefix}gcc" 1767 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1768 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1660 break 2 1769 break 2
1661 fi 1770 fi
1662done 1771done
1663done 1772 done
1664IFS=$as_save_IFS 1773IFS=$as_save_IFS
1665 1774
1666fi 1775fi
1667fi 1776fi
1668CC=$ac_cv_prog_CC 1777CC=$ac_cv_prog_CC
1669if test -n "$CC"; then 1778if test -n "$CC"; then
1670 { echo "$as_me:$LINENO: result: $CC" >&5 1779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1671echo "${ECHO_T}$CC" >&6; } 1780$as_echo "$CC" >&6; }
1672else 1781else
1673 { echo "$as_me:$LINENO: result: no" >&5 1782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1674echo "${ECHO_T}no" >&6; } 1783$as_echo "no" >&6; }
1675fi 1784fi
1676 1785
1677 1786
1678fi 1787fi
1679if test -z "$ac_cv_prog_CC"; then 1788if test -z "$ac_cv_prog_CC"; then
1680 ac_ct_CC=$CC 1789 ac_ct_CC=$CC
1681 # Extract the first word of "gcc", so it can be a program name with args. 1790 # Extract the first word of "gcc", so it can be a program name with args.
1682set dummy gcc; ac_word=$2 1791set dummy gcc; ac_word=$2
1683{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1792{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1684echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1793$as_echo_n "checking for $ac_word... " >&6; }
1685if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1794if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1686 echo $ECHO_N "(cached) $ECHO_C" >&6 1795 $as_echo_n "(cached) " >&6
1687else 1796else
1688 if test -n "$ac_ct_CC"; then 1797 if test -n "$ac_ct_CC"; then
1689 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1798 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1690else 1799else
1691as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1800as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1692for as_dir in $PATH 1801for as_dir in $PATH
1693do 1802do
1694 IFS=$as_save_IFS 1803 IFS=$as_save_IFS
1695 test -z "$as_dir" && as_dir=. 1804 test -z "$as_dir" && as_dir=.
1696 for ac_exec_ext in '' $ac_executable_extensions; do 1805 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 1806 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1698 ac_cv_prog_ac_ct_CC="gcc" 1807 ac_cv_prog_ac_ct_CC="gcc"
1699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1808 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1700 break 2 1809 break 2
1701 fi 1810 fi
1702done 1811done
1703done 1812 done
1704IFS=$as_save_IFS 1813IFS=$as_save_IFS
1705 1814
1706fi 1815fi
1707fi 1816fi
1708ac_ct_CC=$ac_cv_prog_ac_ct_CC 1817ac_ct_CC=$ac_cv_prog_ac_ct_CC
1709if test -n "$ac_ct_CC"; then 1818if test -n "$ac_ct_CC"; then
1710 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 1819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1711echo "${ECHO_T}$ac_ct_CC" >&6; } 1820$as_echo "$ac_ct_CC" >&6; }
1712else 1821else
1713 { echo "$as_me:$LINENO: result: no" >&5 1822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1714echo "${ECHO_T}no" >&6; } 1823$as_echo "no" >&6; }
1715fi 1824fi
1716 1825
1717 if test "x$ac_ct_CC" = x; then 1826 if test "x$ac_ct_CC" = x; then
1718 CC="" 1827 CC=""
1719 else 1828 else
1720 case $cross_compiling:$ac_tool_warned in 1829 case $cross_compiling:$ac_tool_warned in
1721yes:) 1830yes:)
1722{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 1831{ $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 1832$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 ;; 1833ac_tool_warned=yes ;;
1729esac 1834esac
1730 CC=$ac_ct_CC 1835 CC=$ac_ct_CC
1731 fi 1836 fi
1732else 1837else
1735 1840
1736if test -z "$CC"; then 1841if test -z "$CC"; then
1737 if test -n "$ac_tool_prefix"; then 1842 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. 1843 # 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 1844set dummy ${ac_tool_prefix}cc; ac_word=$2
1740{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1845{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1741echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1846$as_echo_n "checking for $ac_word... " >&6; }
1742if test "${ac_cv_prog_CC+set}" = set; then 1847if test "${ac_cv_prog_CC+set}" = set; then :
1743 echo $ECHO_N "(cached) $ECHO_C" >&6 1848 $as_echo_n "(cached) " >&6
1744else 1849else
1745 if test -n "$CC"; then 1850 if test -n "$CC"; then
1746 ac_cv_prog_CC="$CC" # Let the user override the test. 1851 ac_cv_prog_CC="$CC" # Let the user override the test.
1747else 1852else
1748as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1853as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1749for as_dir in $PATH 1854for as_dir in $PATH
1750do 1855do
1751 IFS=$as_save_IFS 1856 IFS=$as_save_IFS
1752 test -z "$as_dir" && as_dir=. 1857 test -z "$as_dir" && as_dir=.
1753 for ac_exec_ext in '' $ac_executable_extensions; do 1858 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 1859 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1755 ac_cv_prog_CC="${ac_tool_prefix}cc" 1860 ac_cv_prog_CC="${ac_tool_prefix}cc"
1756 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1861 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1757 break 2 1862 break 2
1758 fi 1863 fi
1759done 1864done
1760done 1865 done
1761IFS=$as_save_IFS 1866IFS=$as_save_IFS
1762 1867
1763fi 1868fi
1764fi 1869fi
1765CC=$ac_cv_prog_CC 1870CC=$ac_cv_prog_CC
1766if test -n "$CC"; then 1871if test -n "$CC"; then
1767 { echo "$as_me:$LINENO: result: $CC" >&5 1872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1768echo "${ECHO_T}$CC" >&6; } 1873$as_echo "$CC" >&6; }
1769else 1874else
1770 { echo "$as_me:$LINENO: result: no" >&5 1875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1771echo "${ECHO_T}no" >&6; } 1876$as_echo "no" >&6; }
1772fi 1877fi
1773 1878
1774 1879
1775 fi 1880 fi
1776fi 1881fi
1777if test -z "$CC"; then 1882if test -z "$CC"; then
1778 # Extract the first word of "cc", so it can be a program name with args. 1883 # Extract the first word of "cc", so it can be a program name with args.
1779set dummy cc; ac_word=$2 1884set dummy cc; ac_word=$2
1780{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1885{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1781echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1886$as_echo_n "checking for $ac_word... " >&6; }
1782if test "${ac_cv_prog_CC+set}" = set; then 1887if test "${ac_cv_prog_CC+set}" = set; then :
1783 echo $ECHO_N "(cached) $ECHO_C" >&6 1888 $as_echo_n "(cached) " >&6
1784else 1889else
1785 if test -n "$CC"; then 1890 if test -n "$CC"; then
1786 ac_cv_prog_CC="$CC" # Let the user override the test. 1891 ac_cv_prog_CC="$CC" # Let the user override the test.
1787else 1892else
1788 ac_prog_rejected=no 1893 ac_prog_rejected=no
1789as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1894as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1790for as_dir in $PATH 1895for as_dir in $PATH
1791do 1896do
1792 IFS=$as_save_IFS 1897 IFS=$as_save_IFS
1793 test -z "$as_dir" && as_dir=. 1898 test -z "$as_dir" && as_dir=.
1794 for ac_exec_ext in '' $ac_executable_extensions; do 1899 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 1900 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1796 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then 1901 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1797 ac_prog_rejected=yes 1902 ac_prog_rejected=yes
1798 continue 1903 continue
1799 fi 1904 fi
1800 ac_cv_prog_CC="cc" 1905 ac_cv_prog_CC="cc"
1801 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1802 break 2 1907 break 2
1803 fi 1908 fi
1804done 1909done
1805done 1910 done
1806IFS=$as_save_IFS 1911IFS=$as_save_IFS
1807 1912
1808if test $ac_prog_rejected = yes; then 1913if test $ac_prog_rejected = yes; then
1809 # We found a bogon in the path, so make sure we never use it. 1914 # We found a bogon in the path, so make sure we never use it.
1810 set dummy $ac_cv_prog_CC 1915 set dummy $ac_cv_prog_CC
1819fi 1924fi
1820fi 1925fi
1821fi 1926fi
1822CC=$ac_cv_prog_CC 1927CC=$ac_cv_prog_CC
1823if test -n "$CC"; then 1928if test -n "$CC"; then
1824 { echo "$as_me:$LINENO: result: $CC" >&5 1929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1825echo "${ECHO_T}$CC" >&6; } 1930$as_echo "$CC" >&6; }
1826else 1931else
1827 { echo "$as_me:$LINENO: result: no" >&5 1932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1828echo "${ECHO_T}no" >&6; } 1933$as_echo "no" >&6; }
1829fi 1934fi
1830 1935
1831 1936
1832fi 1937fi
1833if test -z "$CC"; then 1938if test -z "$CC"; then
1834 if test -n "$ac_tool_prefix"; then 1939 if test -n "$ac_tool_prefix"; then
1835 for ac_prog in cl.exe 1940 for ac_prog in cl.exe
1836 do 1941 do
1837 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args. 1942 # 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 1943set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1839{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1944{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1840echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1945$as_echo_n "checking for $ac_word... " >&6; }
1841if test "${ac_cv_prog_CC+set}" = set; then 1946if test "${ac_cv_prog_CC+set}" = set; then :
1842 echo $ECHO_N "(cached) $ECHO_C" >&6 1947 $as_echo_n "(cached) " >&6
1843else 1948else
1844 if test -n "$CC"; then 1949 if test -n "$CC"; then
1845 ac_cv_prog_CC="$CC" # Let the user override the test. 1950 ac_cv_prog_CC="$CC" # Let the user override the test.
1846else 1951else
1847as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1952as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1848for as_dir in $PATH 1953for as_dir in $PATH
1849do 1954do
1850 IFS=$as_save_IFS 1955 IFS=$as_save_IFS
1851 test -z "$as_dir" && as_dir=. 1956 test -z "$as_dir" && as_dir=.
1852 for ac_exec_ext in '' $ac_executable_extensions; do 1957 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 1958 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1854 ac_cv_prog_CC="$ac_tool_prefix$ac_prog" 1959 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1855 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 1960 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1856 break 2 1961 break 2
1857 fi 1962 fi
1858done 1963done
1859done 1964 done
1860IFS=$as_save_IFS 1965IFS=$as_save_IFS
1861 1966
1862fi 1967fi
1863fi 1968fi
1864CC=$ac_cv_prog_CC 1969CC=$ac_cv_prog_CC
1865if test -n "$CC"; then 1970if test -n "$CC"; then
1866 { echo "$as_me:$LINENO: result: $CC" >&5 1971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1867echo "${ECHO_T}$CC" >&6; } 1972$as_echo "$CC" >&6; }
1868else 1973else
1869 { echo "$as_me:$LINENO: result: no" >&5 1974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1870echo "${ECHO_T}no" >&6; } 1975$as_echo "no" >&6; }
1871fi 1976fi
1872 1977
1873 1978
1874 test -n "$CC" && break 1979 test -n "$CC" && break
1875 done 1980 done
1878 ac_ct_CC=$CC 1983 ac_ct_CC=$CC
1879 for ac_prog in cl.exe 1984 for ac_prog in cl.exe
1880do 1985do
1881 # Extract the first word of "$ac_prog", so it can be a program name with args. 1986 # Extract the first word of "$ac_prog", so it can be a program name with args.
1882set dummy $ac_prog; ac_word=$2 1987set dummy $ac_prog; ac_word=$2
1883{ echo "$as_me:$LINENO: checking for $ac_word" >&5 1988{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1884echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; } 1989$as_echo_n "checking for $ac_word... " >&6; }
1885if test "${ac_cv_prog_ac_ct_CC+set}" = set; then 1990if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1886 echo $ECHO_N "(cached) $ECHO_C" >&6 1991 $as_echo_n "(cached) " >&6
1887else 1992else
1888 if test -n "$ac_ct_CC"; then 1993 if test -n "$ac_ct_CC"; then
1889 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test. 1994 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1890else 1995else
1891as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 1996as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1892for as_dir in $PATH 1997for as_dir in $PATH
1893do 1998do
1894 IFS=$as_save_IFS 1999 IFS=$as_save_IFS
1895 test -z "$as_dir" && as_dir=. 2000 test -z "$as_dir" && as_dir=.
1896 for ac_exec_ext in '' $ac_executable_extensions; do 2001 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 2002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1898 ac_cv_prog_ac_ct_CC="$ac_prog" 2003 ac_cv_prog_ac_ct_CC="$ac_prog"
1899 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5 2004 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1900 break 2 2005 break 2
1901 fi 2006 fi
1902done 2007done
1903done 2008 done
1904IFS=$as_save_IFS 2009IFS=$as_save_IFS
1905 2010
1906fi 2011fi
1907fi 2012fi
1908ac_ct_CC=$ac_cv_prog_ac_ct_CC 2013ac_ct_CC=$ac_cv_prog_ac_ct_CC
1909if test -n "$ac_ct_CC"; then 2014if test -n "$ac_ct_CC"; then
1910 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5 2015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1911echo "${ECHO_T}$ac_ct_CC" >&6; } 2016$as_echo "$ac_ct_CC" >&6; }
1912else 2017else
1913 { echo "$as_me:$LINENO: result: no" >&5 2018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1914echo "${ECHO_T}no" >&6; } 2019$as_echo "no" >&6; }
1915fi 2020fi
1916 2021
1917 2022
1918 test -n "$ac_ct_CC" && break 2023 test -n "$ac_ct_CC" && break
1919done 2024done
1921 if test "x$ac_ct_CC" = x; then 2026 if test "x$ac_ct_CC" = x; then
1922 CC="" 2027 CC=""
1923 else 2028 else
1924 case $cross_compiling:$ac_tool_warned in 2029 case $cross_compiling:$ac_tool_warned in
1925yes:) 2030yes:)
1926{ echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools 2031{ $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 2032$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 ;; 2033ac_tool_warned=yes ;;
1933esac 2034esac
1934 CC=$ac_ct_CC 2035 CC=$ac_ct_CC
1935 fi 2036 fi
1936fi 2037fi
1937 2038
1938fi 2039fi
1939 2040
1940 2041
1941test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH 2042test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1942See \`config.log' for more details." >&5 2043$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1943echo "$as_me: error: no acceptable C compiler found in \$PATH 2044as_fn_error "no acceptable C compiler found in \$PATH
1944See \`config.log' for more details." >&2;} 2045See \`config.log' for more details." "$LINENO" 5; }
1945 { (exit 1); exit 1; }; }
1946 2046
1947# Provide some information about the compiler. 2047# Provide some information about the compiler.
1948echo "$as_me:$LINENO: checking for C compiler version" >&5 2048$as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
1949ac_compiler=`set X $ac_compile; echo $2` 2049set X $ac_compile
2050ac_compiler=$2
2051for ac_option in --version -v -V -qversion; do
1950{ (ac_try="$ac_compiler --version >&5" 2052 { { ac_try="$ac_compiler $ac_option >&5"
1951case "(($ac_try" in 2053case "(($ac_try" in
1952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1953 *) ac_try_echo=$ac_try;; 2055 *) ac_try_echo=$ac_try;;
1954esac 2056esac
1955eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2057eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1956 (eval "$ac_compiler --version >&5") 2>&5 2058$as_echo "$ac_try_echo"; } >&5
2059 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
1957 ac_status=$? 2060 ac_status=$?
2061 if test -s conftest.err; then
2062 sed '10a\
2063... rest of stderr output deleted ...
2064 10q' conftest.err >conftest.er1
2065 cat conftest.er1 >&5
2066 rm -f conftest.er1 conftest.err
2067 fi
1958 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2068 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1959 (exit $ac_status); } 2069 test $ac_status = 0; }
1960{ (ac_try="$ac_compiler -v >&5" 2070done
1961case "(($ac_try" in
1962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1963 *) ac_try_echo=$ac_try;;
1964esac
1965eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
1966 (eval "$ac_compiler -v >&5") 2>&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 2071
1981cat >conftest.$ac_ext <<_ACEOF
1982/* confdefs.h. */
1983_ACEOF
1984cat confdefs.h >>conftest.$ac_ext 2072cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1985cat >>conftest.$ac_ext <<_ACEOF
1986/* end confdefs.h. */ 2073/* end confdefs.h. */
1987 2074#include <stdio.h>
1988int 2075int
1989main () 2076main ()
1990{ 2077{
2078FILE *f = fopen ("conftest.out", "w");
2079 return ferror (f) || fclose (f) != 0;
1991 2080
1992 ; 2081 ;
1993 return 0; 2082 return 0;
1994} 2083}
1995_ACEOF 2084_ACEOF
1996ac_clean_files_save=$ac_clean_files 2085ac_clean_files_save=$ac_clean_files
1997ac_clean_files="$ac_clean_files a.out a.exe b.out" 2086ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
1998# Try to create an executable without -o first, disregard a.out. 2087# Try to create an executable without -o first, disregard a.out.
1999# It will help us diagnose broken compilers, and finding out an intuition 2088# It will help us diagnose broken compilers, and finding out an intuition
2000# of exeext. 2089# of exeext.
2001{ echo "$as_me:$LINENO: checking for C compiler default output file name" >&5 2090{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2002echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; } 2091$as_echo_n "checking for C compiler default output file name... " >&6; }
2003ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'` 2092ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2004# 2093
2005# List of possible output files, starting from the most likely. 2094# The possible output files:
2006# The algorithm is not robust to junk in `.', hence go to wildcards (a.*) 2095ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2007# only as a last resort. b.out is created by i960 compilers. 2096
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= 2097ac_rmfiles=
2014for ac_file in $ac_files 2098for ac_file in $ac_files
2015do 2099do
2016 case $ac_file in 2100 case $ac_file in
2017 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2101 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2018 * ) ac_rmfiles="$ac_rmfiles $ac_file";; 2102 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2019 esac 2103 esac
2020done 2104done
2021rm -f $ac_rmfiles 2105rm -f $ac_rmfiles
2022 2106
2023if { (ac_try="$ac_link_default" 2107if { { ac_try="$ac_link_default"
2024case "(($ac_try" in 2108case "(($ac_try" in
2025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2026 *) ac_try_echo=$ac_try;; 2110 *) ac_try_echo=$ac_try;;
2027esac 2111esac
2028eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2112eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2113$as_echo "$ac_try_echo"; } >&5
2029 (eval "$ac_link_default") 2>&5 2114 (eval "$ac_link_default") 2>&5
2030 ac_status=$? 2115 ac_status=$?
2031 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2116 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2032 (exit $ac_status); }; then 2117 test $ac_status = 0; }; then :
2033 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'. 2118 # 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' 2119# 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, 2120# 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 2121# so that the user can short-circuit this test for compilers unknown to
2037# Autoconf. 2122# Autoconf.
2038for ac_file in $ac_files '' 2123for ac_file in $ac_files ''
2039do 2124do
2040 test -f "$ac_file" || continue 2125 test -f "$ac_file" || continue
2041 case $ac_file in 2126 case $ac_file in
2042 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) 2127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2043 ;; 2128 ;;
2044 [ab].out ) 2129 [ab].out )
2045 # We found the default executable, but exeext='' is most 2130 # We found the default executable, but exeext='' is most
2046 # certainly right. 2131 # certainly right.
2047 break;; 2132 break;;
2048 *.* ) 2133 *.* )
2049 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no; 2134 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2050 then :; else 2135 then :; else
2051 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2136 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2052 fi 2137 fi
2053 # We set ac_cv_exeext here because the later test for it is not 2138 # 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' 2139 # safe: cross compilers may not add the suffix if given an `-o'
2063test "$ac_cv_exeext" = no && ac_cv_exeext= 2148test "$ac_cv_exeext" = no && ac_cv_exeext=
2064 2149
2065else 2150else
2066 ac_file='' 2151 ac_file=''
2067fi 2152fi
2068
2069{ echo "$as_me:$LINENO: result: $ac_file" >&5 2153{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2070echo "${ECHO_T}$ac_file" >&6; } 2154$as_echo "$ac_file" >&6; }
2071if test -z "$ac_file"; then 2155if test -z "$ac_file"; then :
2072 echo "$as_me: failed program was:" >&5 2156 $as_echo "$as_me: failed program was:" >&5
2073sed 's/^/| /' conftest.$ac_ext >&5 2157sed 's/^/| /' conftest.$ac_ext >&5
2074 2158
2075{ { echo "$as_me:$LINENO: error: C compiler cannot create executables 2159{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2076See \`config.log' for more details." >&5 2160$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2161{ as_fn_set_status 77
2077echo "$as_me: error: C compiler cannot create executables 2162as_fn_error "C compiler cannot create executables
2078See \`config.log' for more details." >&2;} 2163See \`config.log' for more details." "$LINENO" 5; }; }
2079 { (exit 77); exit 77; }; }
2080fi 2164fi
2081
2082ac_exeext=$ac_cv_exeext 2165ac_exeext=$ac_cv_exeext
2083 2166
2084# Check that the compiler produces executables we can run. If not, either 2167# Check that the compiler produces executables we can run. If not, either
2085# the compiler is broken, or we cross compile. 2168# the compiler is broken, or we cross compile.
2086{ echo "$as_me:$LINENO: checking whether the C compiler works" >&5 2169{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2087echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; } 2170$as_echo_n "checking whether the C compiler works... " >&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. 2171# If not cross compiling, check that we can run a simple program.
2090if test "$cross_compiling" != yes; then 2172if test "$cross_compiling" != yes; then
2091 if { ac_try='./$ac_file' 2173 if { ac_try='./$ac_file'
2092 { (case "(($ac_try" in 2174 { { case "(($ac_try" in
2093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2094 *) ac_try_echo=$ac_try;; 2176 *) ac_try_echo=$ac_try;;
2095esac 2177esac
2096eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2178eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2179$as_echo "$ac_try_echo"; } >&5
2097 (eval "$ac_try") 2>&5 2180 (eval "$ac_try") 2>&5
2098 ac_status=$? 2181 ac_status=$?
2099 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2182 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2100 (exit $ac_status); }; }; then 2183 test $ac_status = 0; }; }; then
2101 cross_compiling=no 2184 cross_compiling=no
2102 else 2185 else
2103 if test "$cross_compiling" = maybe; then 2186 if test "$cross_compiling" = maybe; then
2104 cross_compiling=yes 2187 cross_compiling=yes
2105 else 2188 else
2106 { { echo "$as_me:$LINENO: error: cannot run C compiled programs. 2189 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2190$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2191as_fn_error "cannot run C compiled programs.
2107If you meant to cross compile, use \`--host'. 2192If 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;} 2193See \`config.log' for more details." "$LINENO" 5; }
2112 { (exit 1); exit 1; }; }
2113 fi 2194 fi
2114 fi 2195 fi
2115fi 2196fi
2116{ echo "$as_me:$LINENO: result: yes" >&5 2197{ $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2117echo "${ECHO_T}yes" >&6; } 2198$as_echo "yes" >&6; }
2118 2199
2119rm -f a.out a.exe conftest$ac_cv_exeext b.out 2200rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2120ac_clean_files=$ac_clean_files_save 2201ac_clean_files=$ac_clean_files_save
2121# Check that the compiler produces executables we can run. If not, either 2202# Check that the compiler produces executables we can run. If not, either
2122# the compiler is broken, or we cross compile. 2203# the compiler is broken, or we cross compile.
2123{ echo "$as_me:$LINENO: checking whether we are cross compiling" >&5 2204{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2124echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; } 2205$as_echo_n "checking whether we are cross compiling... " >&6; }
2125{ echo "$as_me:$LINENO: result: $cross_compiling" >&5 2206{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2126echo "${ECHO_T}$cross_compiling" >&6; } 2207$as_echo "$cross_compiling" >&6; }
2127 2208
2128{ echo "$as_me:$LINENO: checking for suffix of executables" >&5 2209{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2129echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; } 2210$as_echo_n "checking for suffix of executables... " >&6; }
2130if { (ac_try="$ac_link" 2211if { { ac_try="$ac_link"
2131case "(($ac_try" in 2212case "(($ac_try" in
2132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2133 *) ac_try_echo=$ac_try;; 2214 *) ac_try_echo=$ac_try;;
2134esac 2215esac
2135eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2216eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2217$as_echo "$ac_try_echo"; } >&5
2136 (eval "$ac_link") 2>&5 2218 (eval "$ac_link") 2>&5
2137 ac_status=$? 2219 ac_status=$?
2138 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2220 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2139 (exit $ac_status); }; then 2221 test $ac_status = 0; }; then :
2140 # If both `conftest.exe' and `conftest' are `present' (well, observable) 2222 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2141# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will 2223# catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2142# work properly (i.e., refer to `conftest.exe'), while it won't with 2224# work properly (i.e., refer to `conftest.exe'), while it won't with
2143# `rm'. 2225# `rm'.
2144for ac_file in conftest.exe conftest conftest.*; do 2226for ac_file in conftest.exe conftest conftest.*; do
2145 test -f "$ac_file" || continue 2227 test -f "$ac_file" || continue
2146 case $ac_file in 2228 case $ac_file in
2147 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;; 2229 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2148 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'` 2230 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2149 break;; 2231 break;;
2150 * ) break;; 2232 * ) break;;
2151 esac 2233 esac
2152done 2234done
2153else 2235else
2154 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link 2236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2155See \`config.log' for more details." >&5 2237$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2156echo "$as_me: error: cannot compute suffix of executables: cannot compile and link 2238as_fn_error "cannot compute suffix of executables: cannot compile and link
2157See \`config.log' for more details." >&2;} 2239See \`config.log' for more details." "$LINENO" 5; }
2158 { (exit 1); exit 1; }; }
2159fi 2240fi
2160
2161rm -f conftest$ac_cv_exeext 2241rm -f conftest$ac_cv_exeext
2162{ echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5 2242{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2163echo "${ECHO_T}$ac_cv_exeext" >&6; } 2243$as_echo "$ac_cv_exeext" >&6; }
2164 2244
2165rm -f conftest.$ac_ext 2245rm -f conftest.$ac_ext
2166EXEEXT=$ac_cv_exeext 2246EXEEXT=$ac_cv_exeext
2167ac_exeext=$EXEEXT 2247ac_exeext=$EXEEXT
2168{ echo "$as_me:$LINENO: checking for suffix of object files" >&5 2248{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2169echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; } 2249$as_echo_n "checking for suffix of object files... " >&6; }
2170if test "${ac_cv_objext+set}" = set; then 2250if test "${ac_cv_objext+set}" = set; then :
2171 echo $ECHO_N "(cached) $ECHO_C" >&6 2251 $as_echo_n "(cached) " >&6
2172else 2252else
2173 cat >conftest.$ac_ext <<_ACEOF
2174/* confdefs.h. */
2175_ACEOF
2176cat confdefs.h >>conftest.$ac_ext 2253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2177cat >>conftest.$ac_ext <<_ACEOF
2178/* end confdefs.h. */ 2254/* end confdefs.h. */
2179 2255
2180int 2256int
2181main () 2257main ()
2182{ 2258{
2184 ; 2260 ;
2185 return 0; 2261 return 0;
2186} 2262}
2187_ACEOF 2263_ACEOF
2188rm -f conftest.o conftest.obj 2264rm -f conftest.o conftest.obj
2189if { (ac_try="$ac_compile" 2265if { { ac_try="$ac_compile"
2190case "(($ac_try" in 2266case "(($ac_try" in
2191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 2267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2192 *) ac_try_echo=$ac_try;; 2268 *) ac_try_echo=$ac_try;;
2193esac 2269esac
2194eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 2270eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2271$as_echo "$ac_try_echo"; } >&5
2195 (eval "$ac_compile") 2>&5 2272 (eval "$ac_compile") 2>&5
2196 ac_status=$? 2273 ac_status=$?
2197 echo "$as_me:$LINENO: \$? = $ac_status" >&5 2274 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2198 (exit $ac_status); }; then 2275 test $ac_status = 0; }; then :
2199 for ac_file in conftest.o conftest.obj conftest.*; do 2276 for ac_file in conftest.o conftest.obj conftest.*; do
2200 test -f "$ac_file" || continue; 2277 test -f "$ac_file" || continue;
2201 case $ac_file in 2278 case $ac_file in
2202 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;; 2279 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2203 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'` 2280 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2204 break;; 2281 break;;
2205 esac 2282 esac
2206done 2283done
2207else 2284else
2208 echo "$as_me: failed program was:" >&5 2285 $as_echo "$as_me: failed program was:" >&5
2209sed 's/^/| /' conftest.$ac_ext >&5 2286sed 's/^/| /' conftest.$ac_ext >&5
2210 2287
2211{ { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile 2288{ { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2212See \`config.log' for more details." >&5 2289$as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2213echo "$as_me: error: cannot compute suffix of object files: cannot compile 2290as_fn_error "cannot compute suffix of object files: cannot compile
2214See \`config.log' for more details." >&2;} 2291See \`config.log' for more details." "$LINENO" 5; }
2215 { (exit 1); exit 1; }; }
2216fi 2292fi
2217
2218rm -f conftest.$ac_cv_objext conftest.$ac_ext 2293rm -f conftest.$ac_cv_objext conftest.$ac_ext
2219fi 2294fi
2220{ echo "$as_me:$LINENO: result: $ac_cv_objext" >&5 2295{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2221echo "${ECHO_T}$ac_cv_objext" >&6; } 2296$as_echo "$ac_cv_objext" >&6; }
2222OBJEXT=$ac_cv_objext 2297OBJEXT=$ac_cv_objext
2223ac_objext=$OBJEXT 2298ac_objext=$OBJEXT
2224{ echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5 2299{ $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; } 2300$as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2226if test "${ac_cv_c_compiler_gnu+set}" = set; then 2301if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2227 echo $ECHO_N "(cached) $ECHO_C" >&6 2302 $as_echo_n "(cached) " >&6
2228else 2303else
2229 cat >conftest.$ac_ext <<_ACEOF
2230/* confdefs.h. */
2231_ACEOF
2232cat confdefs.h >>conftest.$ac_ext 2304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2233cat >>conftest.$ac_ext <<_ACEOF
2234/* end confdefs.h. */ 2305/* end confdefs.h. */
2235 2306
2236int 2307int
2237main () 2308main ()
2238{ 2309{
2242 2313
2243 ; 2314 ;
2244 return 0; 2315 return 0;
2245} 2316}
2246_ACEOF 2317_ACEOF
2247rm -f conftest.$ac_objext 2318if 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 2319 ac_compiler_gnu=yes
2265else 2320else
2266 echo "$as_me: failed program was:" >&5
2267sed 's/^/| /' conftest.$ac_ext >&5
2268
2269 ac_compiler_gnu=no 2321 ac_compiler_gnu=no
2270fi 2322fi
2271
2272rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2323rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2273ac_cv_c_compiler_gnu=$ac_compiler_gnu 2324ac_cv_c_compiler_gnu=$ac_compiler_gnu
2274 2325
2275fi 2326fi
2276{ echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5 2327{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2277echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; } 2328$as_echo "$ac_cv_c_compiler_gnu" >&6; }
2278GCC=`test $ac_compiler_gnu = yes && echo yes` 2329if test $ac_compiler_gnu = yes; then
2330 GCC=yes
2331else
2332 GCC=
2333fi
2279ac_test_CFLAGS=${CFLAGS+set} 2334ac_test_CFLAGS=${CFLAGS+set}
2280ac_save_CFLAGS=$CFLAGS 2335ac_save_CFLAGS=$CFLAGS
2281{ echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5 2336{ $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2282echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; } 2337$as_echo_n "checking whether $CC accepts -g... " >&6; }
2283if test "${ac_cv_prog_cc_g+set}" = set; then 2338if test "${ac_cv_prog_cc_g+set}" = set; then :
2284 echo $ECHO_N "(cached) $ECHO_C" >&6 2339 $as_echo_n "(cached) " >&6
2285else 2340else
2286 ac_save_c_werror_flag=$ac_c_werror_flag 2341 ac_save_c_werror_flag=$ac_c_werror_flag
2287 ac_c_werror_flag=yes 2342 ac_c_werror_flag=yes
2288 ac_cv_prog_cc_g=no 2343 ac_cv_prog_cc_g=no
2289 CFLAGS="-g" 2344 CFLAGS="-g"
2290 cat >conftest.$ac_ext <<_ACEOF
2291/* confdefs.h. */
2292_ACEOF
2293cat confdefs.h >>conftest.$ac_ext 2345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2294cat >>conftest.$ac_ext <<_ACEOF
2295/* end confdefs.h. */ 2346/* end confdefs.h. */
2296 2347
2297int 2348int
2298main () 2349main ()
2299{ 2350{
2300 2351
2301 ; 2352 ;
2302 return 0; 2353 return 0;
2303} 2354}
2304_ACEOF 2355_ACEOF
2305rm -f conftest.$ac_objext 2356if 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 2357 ac_cv_prog_cc_g=yes
2323else 2358else
2324 echo "$as_me: failed program was:" >&5
2325sed 's/^/| /' conftest.$ac_ext >&5
2326
2327 CFLAGS="" 2359 CFLAGS=""
2328 cat >conftest.$ac_ext <<_ACEOF
2329/* confdefs.h. */
2330_ACEOF
2331cat confdefs.h >>conftest.$ac_ext 2360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2332cat >>conftest.$ac_ext <<_ACEOF
2333/* end confdefs.h. */ 2361/* end confdefs.h. */
2334 2362
2335int 2363int
2336main () 2364main ()
2337{ 2365{
2338 2366
2339 ; 2367 ;
2340 return 0; 2368 return 0;
2341} 2369}
2342_ACEOF 2370_ACEOF
2343rm -f conftest.$ac_objext 2371if 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 2372
2373else
2365 ac_c_werror_flag=$ac_save_c_werror_flag 2374 ac_c_werror_flag=$ac_save_c_werror_flag
2366 CFLAGS="-g" 2375 CFLAGS="-g"
2367 cat >conftest.$ac_ext <<_ACEOF
2368/* confdefs.h. */
2369_ACEOF
2370cat confdefs.h >>conftest.$ac_ext 2376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2371cat >>conftest.$ac_ext <<_ACEOF
2372/* end confdefs.h. */ 2377/* end confdefs.h. */
2373 2378
2374int 2379int
2375main () 2380main ()
2376{ 2381{
2377 2382
2378 ; 2383 ;
2379 return 0; 2384 return 0;
2380} 2385}
2381_ACEOF 2386_ACEOF
2382rm -f conftest.$ac_objext 2387if 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 2388 ac_cv_prog_cc_g=yes
2400else
2401 echo "$as_me: failed program was:" >&5
2402sed 's/^/| /' conftest.$ac_ext >&5
2403
2404
2405fi 2389fi
2406
2407rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2390rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2408fi 2391fi
2409
2410rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2392rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2411fi 2393fi
2412
2413rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 2394rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2414 ac_c_werror_flag=$ac_save_c_werror_flag 2395 ac_c_werror_flag=$ac_save_c_werror_flag
2415fi 2396fi
2416{ echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5 2397{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2417echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; } 2398$as_echo "$ac_cv_prog_cc_g" >&6; }
2418if test "$ac_test_CFLAGS" = set; then 2399if test "$ac_test_CFLAGS" = set; then
2419 CFLAGS=$ac_save_CFLAGS 2400 CFLAGS=$ac_save_CFLAGS
2420elif test $ac_cv_prog_cc_g = yes; then 2401elif test $ac_cv_prog_cc_g = yes; then
2421 if test "$GCC" = yes; then 2402 if test "$GCC" = yes; then
2422 CFLAGS="-g -O2" 2403 CFLAGS="-g -O2"
2428 CFLAGS="-O2" 2409 CFLAGS="-O2"
2429 else 2410 else
2430 CFLAGS= 2411 CFLAGS=
2431 fi 2412 fi
2432fi 2413fi
2433{ echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5 2414{ $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; } 2415$as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2435if test "${ac_cv_prog_cc_c89+set}" = set; then 2416if test "${ac_cv_prog_cc_c89+set}" = set; then :
2436 echo $ECHO_N "(cached) $ECHO_C" >&6 2417 $as_echo_n "(cached) " >&6
2437else 2418else
2438 ac_cv_prog_cc_c89=no 2419 ac_cv_prog_cc_c89=no
2439ac_save_CC=$CC 2420ac_save_CC=$CC
2440cat >conftest.$ac_ext <<_ACEOF
2441/* confdefs.h. */
2442_ACEOF
2443cat confdefs.h >>conftest.$ac_ext 2421cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2444cat >>conftest.$ac_ext <<_ACEOF
2445/* end confdefs.h. */ 2422/* end confdefs.h. */
2446#include <stdarg.h> 2423#include <stdarg.h>
2447#include <stdio.h> 2424#include <stdio.h>
2448#include <sys/types.h> 2425#include <sys/types.h>
2449#include <sys/stat.h> 2426#include <sys/stat.h>
2496_ACEOF 2473_ACEOF
2497for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \ 2474for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2498 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__" 2475 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2499do 2476do
2500 CC="$ac_save_CC $ac_arg" 2477 CC="$ac_save_CC $ac_arg"
2501 rm -f conftest.$ac_objext 2478 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 2479 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 2480fi
2525
2526rm -f core conftest.err conftest.$ac_objext 2481rm -f core conftest.err conftest.$ac_objext
2527 test "x$ac_cv_prog_cc_c89" != "xno" && break 2482 test "x$ac_cv_prog_cc_c89" != "xno" && break
2528done 2483done
2529rm -f conftest.$ac_ext 2484rm -f conftest.$ac_ext
2530CC=$ac_save_CC 2485CC=$ac_save_CC
2531 2486
2532fi 2487fi
2533# AC_CACHE_VAL 2488# AC_CACHE_VAL
2534case "x$ac_cv_prog_cc_c89" in 2489case "x$ac_cv_prog_cc_c89" in
2535 x) 2490 x)
2536 { echo "$as_me:$LINENO: result: none needed" >&5 2491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2537echo "${ECHO_T}none needed" >&6; } ;; 2492$as_echo "none needed" >&6; } ;;
2538 xno) 2493 xno)
2539 { echo "$as_me:$LINENO: result: unsupported" >&5 2494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2540echo "${ECHO_T}unsupported" >&6; } ;; 2495$as_echo "unsupported" >&6; } ;;
2541 *) 2496 *)
2542 CC="$CC $ac_cv_prog_cc_c89" 2497 CC="$CC $ac_cv_prog_cc_c89"
2543 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5 2498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2544echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;; 2499$as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2545esac 2500esac
2501if test "x$ac_cv_prog_cc_c89" != xno; then :
2546 2502
2503fi
2547 2504
2548ac_ext=c 2505ac_ext=c
2549ac_cpp='$CPP $CPPFLAGS' 2506ac_cpp='$CPP $CPPFLAGS'
2550ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 2507ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2551ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 2508ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2552ac_compiler_gnu=$ac_cv_c_compiler_gnu 2509ac_compiler_gnu=$ac_cv_c_compiler_gnu
2553 2510
2554 2511
2555 2512
2556{ echo "$as_me:$LINENO: checking for library containing pthread_create" >&5 2513{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing pthread_create" >&5
2557echo $ECHO_N "checking for library containing pthread_create... $ECHO_C" >&6; } 2514$as_echo_n "checking for library containing pthread_create... " >&6; }
2558if test "${ac_cv_search_pthread_create+set}" = set; then 2515if test "${ac_cv_search_pthread_create+set}" = set; then :
2559 echo $ECHO_N "(cached) $ECHO_C" >&6 2516 $as_echo_n "(cached) " >&6
2560else 2517else
2561 ac_func_search_save_LIBS=$LIBS 2518 ac_func_search_save_LIBS=$LIBS
2562cat >conftest.$ac_ext <<_ACEOF
2563/* confdefs.h. */
2564_ACEOF
2565cat confdefs.h >>conftest.$ac_ext 2519cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2566cat >>conftest.$ac_ext <<_ACEOF
2567/* end confdefs.h. */ 2520/* end confdefs.h. */
2568 2521
2569/* Override any GCC internal prototype to avoid an error. 2522/* Override any GCC internal prototype to avoid an error.
2570 Use char because int might match the return type of a GCC 2523 Use char because int might match the return type of a GCC
2571 builtin and then its argument prototype would still apply. */ 2524 builtin and then its argument prototype would still apply. */
2586 ac_res="none required" 2539 ac_res="none required"
2587 else 2540 else
2588 ac_res=-l$ac_lib 2541 ac_res=-l$ac_lib
2589 LIBS="-l$ac_lib $ac_func_search_save_LIBS" 2542 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2590 fi 2543 fi
2591 rm -f conftest.$ac_objext conftest$ac_exeext 2544 if ac_fn_c_try_link "$LINENO"; then :
2592if { (ac_try="$ac_link"
2593case "(($ac_try" in
2594 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2595 *) ac_try_echo=$ac_try;;
2596esac
2597eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2598 (eval "$ac_link") 2>conftest.er1
2599 ac_status=$?
2600 grep -v '^ *+' conftest.er1 >conftest.err
2601 rm -f conftest.er1
2602 cat conftest.err >&5
2603 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2604 (exit $ac_status); } && {
2605 test -z "$ac_c_werror_flag" ||
2606 test ! -s conftest.err
2607 } && test -s conftest$ac_exeext &&
2608 $as_test_x conftest$ac_exeext; then
2609 ac_cv_search_pthread_create=$ac_res 2545 ac_cv_search_pthread_create=$ac_res
2610else
2611 echo "$as_me: failed program was:" >&5
2612sed 's/^/| /' conftest.$ac_ext >&5
2613
2614
2615fi 2546fi
2616
2617rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2547rm -f core conftest.err conftest.$ac_objext \
2618 conftest$ac_exeext 2548 conftest$ac_exeext
2619 if test "${ac_cv_search_pthread_create+set}" = set; then 2549 if test "${ac_cv_search_pthread_create+set}" = set; then :
2620 break 2550 break
2621fi 2551fi
2622done 2552done
2623if test "${ac_cv_search_pthread_create+set}" = set; then 2553if test "${ac_cv_search_pthread_create+set}" = set; then :
2624 : 2554
2625else 2555else
2626 ac_cv_search_pthread_create=no 2556 ac_cv_search_pthread_create=no
2627fi 2557fi
2628rm conftest.$ac_ext 2558rm conftest.$ac_ext
2629LIBS=$ac_func_search_save_LIBS 2559LIBS=$ac_func_search_save_LIBS
2630fi 2560fi
2631{ echo "$as_me:$LINENO: result: $ac_cv_search_pthread_create" >&5 2561{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
2632echo "${ECHO_T}$ac_cv_search_pthread_create" >&6; } 2562$as_echo "$ac_cv_search_pthread_create" >&6; }
2633ac_res=$ac_cv_search_pthread_create 2563ac_res=$ac_cv_search_pthread_create
2634if test "$ac_res" != no; then 2564if test "$ac_res" != no; then :
2635 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS" 2565 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2636 2566
2637else 2567else
2638 { { echo "$as_me:$LINENO: error: pthread functions not found" >&5 2568 as_fn_error "pthread functions not found" "$LINENO" 5
2639echo "$as_me: error: pthread functions not found" >&2;}
2640 { (exit 1); exit 1; }; }
2641 2569
2642fi 2570fi
2643 2571
2644 2572
2645{ echo "$as_me:$LINENO: checking for futimes" >&5 2573{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5
2646echo $ECHO_N "checking for futimes... $ECHO_C" >&6; } 2574$as_echo_n "checking for futimes... " >&6; }
2647if test "${ac_cv_futimes+set}" = set; then 2575if test "${ac_cv_futimes+set}" = set; then :
2648 echo $ECHO_N "(cached) $ECHO_C" >&6 2576 $as_echo_n "(cached) " >&6
2649else 2577else
2650 cat >conftest.$ac_ext <<_ACEOF 2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579/* end confdefs.h. */
2651 2580
2652#include <sys/types.h> 2581#include <sys/types.h>
2653#include <sys/time.h> 2582#include <sys/time.h>
2654#include <utime.h> 2583#include <utime.h>
2655struct timeval tv[2]; 2584struct timeval tv[2];
2660 res = futimes (fd, tv); 2589 res = futimes (fd, tv);
2661 return 0; 2590 return 0;
2662} 2591}
2663 2592
2664_ACEOF 2593_ACEOF
2665rm -f conftest.$ac_objext conftest$ac_exeext 2594if ac_fn_c_try_link "$LINENO"; then :
2666if { (ac_try="$ac_link"
2667case "(($ac_try" in
2668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2669 *) ac_try_echo=$ac_try;;
2670esac
2671eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2672 (eval "$ac_link") 2>conftest.er1
2673 ac_status=$?
2674 grep -v '^ *+' conftest.er1 >conftest.err
2675 rm -f conftest.er1
2676 cat conftest.err >&5
2677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2678 (exit $ac_status); } && {
2679 test -z "$ac_c_werror_flag" ||
2680 test ! -s conftest.err
2681 } && test -s conftest$ac_exeext &&
2682 $as_test_x conftest$ac_exeext; then
2683 ac_cv_futimes=yes 2595 ac_cv_futimes=yes
2684else 2596else
2685 echo "$as_me: failed program was:" >&5
2686sed 's/^/| /' conftest.$ac_ext >&5
2687
2688 ac_cv_futimes=no 2597 ac_cv_futimes=no
2689fi 2598fi
2690
2691rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2599rm -f core conftest.err conftest.$ac_objext \
2692 conftest$ac_exeext conftest.$ac_ext 2600 conftest$ac_exeext conftest.$ac_ext
2693fi 2601fi
2694{ echo "$as_me:$LINENO: result: $ac_cv_futimes" >&5 2602{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_futimes" >&5
2695echo "${ECHO_T}$ac_cv_futimes" >&6; } 2603$as_echo "$ac_cv_futimes" >&6; }
2696test $ac_cv_futimes = yes && 2604test $ac_cv_futimes = yes &&
2697cat >>confdefs.h <<\_ACEOF 2605$as_echo "#define HAVE_FUTIMES 1" >>confdefs.h
2698#define HAVE_FUTIMES 1
2699_ACEOF
2700 2606
2701 2607
2702{ echo "$as_me:$LINENO: checking for readahead" >&5 2608{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5
2703echo $ECHO_N "checking for readahead... $ECHO_C" >&6; } 2609$as_echo_n "checking for readahead... " >&6; }
2704if test "${ac_cv_readahead+set}" = set; then 2610if test "${ac_cv_readahead+set}" = set; then :
2705 echo $ECHO_N "(cached) $ECHO_C" >&6 2611 $as_echo_n "(cached) " >&6
2706else 2612else
2707 cat >conftest.$ac_ext <<_ACEOF 2613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2614/* end confdefs.h. */
2708 2615
2709#include <fcntl.h> 2616#include <fcntl.h>
2710int main(void) 2617int main(void)
2711{ 2618{
2712 int fd = 0; 2619 int fd = 0;
2715 res = readahead (fd, 0, count); 2622 res = readahead (fd, 0, count);
2716 return 0; 2623 return 0;
2717} 2624}
2718 2625
2719_ACEOF 2626_ACEOF
2720rm -f conftest.$ac_objext conftest$ac_exeext 2627if ac_fn_c_try_link "$LINENO"; then :
2721if { (ac_try="$ac_link"
2722case "(($ac_try" in
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2725esac
2726eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2727 (eval "$ac_link") 2>conftest.er1
2728 ac_status=$?
2729 grep -v '^ *+' conftest.er1 >conftest.err
2730 rm -f conftest.er1
2731 cat conftest.err >&5
2732 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2733 (exit $ac_status); } && {
2734 test -z "$ac_c_werror_flag" ||
2735 test ! -s conftest.err
2736 } && test -s conftest$ac_exeext &&
2737 $as_test_x conftest$ac_exeext; then
2738 ac_cv_readahead=yes 2628 ac_cv_readahead=yes
2739else 2629else
2740 echo "$as_me: failed program was:" >&5
2741sed 's/^/| /' conftest.$ac_ext >&5
2742
2743 ac_cv_readahead=no 2630 ac_cv_readahead=no
2744fi 2631fi
2745
2746rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2632rm -f core conftest.err conftest.$ac_objext \
2747 conftest$ac_exeext conftest.$ac_ext 2633 conftest$ac_exeext conftest.$ac_ext
2748fi 2634fi
2749{ echo "$as_me:$LINENO: result: $ac_cv_readahead" >&5 2635{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readahead" >&5
2750echo "${ECHO_T}$ac_cv_readahead" >&6; } 2636$as_echo "$ac_cv_readahead" >&6; }
2751test $ac_cv_readahead = yes && 2637test $ac_cv_readahead = yes &&
2752cat >>confdefs.h <<\_ACEOF 2638$as_echo "#define HAVE_READAHEAD 1" >>confdefs.h
2753#define HAVE_READAHEAD 1
2754_ACEOF
2755 2639
2756 2640
2757{ echo "$as_me:$LINENO: checking for fdatasync" >&5 2641{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
2758echo $ECHO_N "checking for fdatasync... $ECHO_C" >&6; } 2642$as_echo_n "checking for fdatasync... " >&6; }
2759if test "${ac_cv_fdatasync+set}" = set; then 2643if test "${ac_cv_fdatasync+set}" = set; then :
2760 echo $ECHO_N "(cached) $ECHO_C" >&6 2644 $as_echo_n "(cached) " >&6
2761else 2645else
2762 cat >conftest.$ac_ext <<_ACEOF 2646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2647/* end confdefs.h. */
2763 2648
2764#include <unistd.h> 2649#include <unistd.h>
2765int main(void) 2650int main(void)
2766{ 2651{
2767 int fd = 0; 2652 int fd = 0;
2768 fdatasync (fd); 2653 fdatasync (fd);
2769 return 0; 2654 return 0;
2770} 2655}
2771 2656
2772_ACEOF 2657_ACEOF
2773rm -f conftest.$ac_objext conftest$ac_exeext 2658if ac_fn_c_try_link "$LINENO"; then :
2774if { (ac_try="$ac_link"
2775case "(($ac_try" in
2776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2777 *) ac_try_echo=$ac_try;;
2778esac
2779eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2780 (eval "$ac_link") 2>conftest.er1
2781 ac_status=$?
2782 grep -v '^ *+' conftest.er1 >conftest.err
2783 rm -f conftest.er1
2784 cat conftest.err >&5
2785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2786 (exit $ac_status); } && {
2787 test -z "$ac_c_werror_flag" ||
2788 test ! -s conftest.err
2789 } && test -s conftest$ac_exeext &&
2790 $as_test_x conftest$ac_exeext; then
2791 ac_cv_fdatasync=yes 2659 ac_cv_fdatasync=yes
2792else 2660else
2793 echo "$as_me: failed program was:" >&5
2794sed 's/^/| /' conftest.$ac_ext >&5
2795
2796 ac_cv_fdatasync=no 2661 ac_cv_fdatasync=no
2797fi 2662fi
2798
2799rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2663rm -f core conftest.err conftest.$ac_objext \
2800 conftest$ac_exeext conftest.$ac_ext 2664 conftest$ac_exeext conftest.$ac_ext
2801fi 2665fi
2802{ echo "$as_me:$LINENO: result: $ac_cv_fdatasync" >&5 2666{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fdatasync" >&5
2803echo "${ECHO_T}$ac_cv_fdatasync" >&6; } 2667$as_echo "$ac_cv_fdatasync" >&6; }
2804test $ac_cv_fdatasync = yes && 2668test $ac_cv_fdatasync = yes &&
2805cat >>confdefs.h <<\_ACEOF 2669$as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h
2806#define HAVE_FDATASYNC 1
2807_ACEOF
2808 2670
2809 2671
2810{ echo "$as_me:$LINENO: checking for pread and pwrite" >&5 2672{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5
2811echo $ECHO_N "checking for pread and pwrite... $ECHO_C" >&6; } 2673$as_echo_n "checking for pread and pwrite... " >&6; }
2812if test "${ac_cv_preadwrite+set}" = set; then 2674if test "${ac_cv_preadwrite+set}" = set; then :
2813 echo $ECHO_N "(cached) $ECHO_C" >&6 2675 $as_echo_n "(cached) " >&6
2814else 2676else
2815 cat >conftest.$ac_ext <<_ACEOF 2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678/* end confdefs.h. */
2816 2679
2817#include <unistd.h> 2680#include <unistd.h>
2818int main(void) 2681int main(void)
2819{ 2682{
2820 int fd = 0; 2683 int fd = 0;
2826 res = pwrite (fd, &buf, count, offset); 2689 res = pwrite (fd, &buf, count, offset);
2827 return 0; 2690 return 0;
2828} 2691}
2829 2692
2830_ACEOF 2693_ACEOF
2831rm -f conftest.$ac_objext conftest$ac_exeext 2694if ac_fn_c_try_link "$LINENO"; then :
2832if { (ac_try="$ac_link"
2833case "(($ac_try" in
2834 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2835 *) ac_try_echo=$ac_try;;
2836esac
2837eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2838 (eval "$ac_link") 2>conftest.er1
2839 ac_status=$?
2840 grep -v '^ *+' conftest.er1 >conftest.err
2841 rm -f conftest.er1
2842 cat conftest.err >&5
2843 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2844 (exit $ac_status); } && {
2845 test -z "$ac_c_werror_flag" ||
2846 test ! -s conftest.err
2847 } && test -s conftest$ac_exeext &&
2848 $as_test_x conftest$ac_exeext; then
2849 ac_cv_preadwrite=yes 2695 ac_cv_preadwrite=yes
2850else 2696else
2851 echo "$as_me: failed program was:" >&5
2852sed 's/^/| /' conftest.$ac_ext >&5
2853
2854 ac_cv_preadwrite=no 2697 ac_cv_preadwrite=no
2855fi 2698fi
2856
2857rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2699rm -f core conftest.err conftest.$ac_objext \
2858 conftest$ac_exeext conftest.$ac_ext 2700 conftest$ac_exeext conftest.$ac_ext
2859fi 2701fi
2860{ echo "$as_me:$LINENO: result: $ac_cv_preadwrite" >&5 2702{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5
2861echo "${ECHO_T}$ac_cv_preadwrite" >&6; } 2703$as_echo "$ac_cv_preadwrite" >&6; }
2862test $ac_cv_preadwrite = yes && 2704test $ac_cv_preadwrite = yes &&
2863cat >>confdefs.h <<\_ACEOF 2705$as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h
2864#define HAVE_PREADWRITE 1
2865_ACEOF
2866 2706
2867 2707
2868{ echo "$as_me:$LINENO: checking for sendfile" >&5 2708{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5
2869echo $ECHO_N "checking for sendfile... $ECHO_C" >&6; } 2709$as_echo_n "checking for sendfile... " >&6; }
2870if test "${ac_cv_sendfile+set}" = set; then 2710if test "${ac_cv_sendfile+set}" = set; then :
2871 echo $ECHO_N "(cached) $ECHO_C" >&6 2711 $as_echo_n "(cached) " >&6
2872else 2712else
2873 cat >conftest.$ac_ext <<_ACEOF 2713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2714/* end confdefs.h. */
2874 2715
2875# include <sys/types.h> 2716# include <sys/types.h>
2876#if __linux 2717#if __linux
2877# include <sys/sendfile.h> 2718# include <sys/sendfile.h>
2878#elif __freebsd 2719#elif __freebsd || defined (__APPLE__)
2879# include <sys/socket.h> 2720# include <sys/socket.h>
2880# include <sys/uio.h> 2721# include <sys/uio.h>
2881#elif __hpux 2722#elif __hpux
2882# include <sys/socket.h> 2723# include <sys/socket.h>
2883#else 2724#else
2898#endif 2739#endif
2899 return 0; 2740 return 0;
2900} 2741}
2901 2742
2902_ACEOF 2743_ACEOF
2903rm -f conftest.$ac_objext conftest$ac_exeext 2744if ac_fn_c_try_link "$LINENO"; then :
2904if { (ac_try="$ac_link"
2905case "(($ac_try" in
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2908esac
2909eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2910 (eval "$ac_link") 2>conftest.er1
2911 ac_status=$?
2912 grep -v '^ *+' conftest.er1 >conftest.err
2913 rm -f conftest.er1
2914 cat conftest.err >&5
2915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2916 (exit $ac_status); } && {
2917 test -z "$ac_c_werror_flag" ||
2918 test ! -s conftest.err
2919 } && test -s conftest$ac_exeext &&
2920 $as_test_x conftest$ac_exeext; then
2921 ac_cv_sendfile=yes 2745 ac_cv_sendfile=yes
2922else 2746else
2923 echo "$as_me: failed program was:" >&5
2924sed 's/^/| /' conftest.$ac_ext >&5
2925
2926 ac_cv_sendfile=no 2747 ac_cv_sendfile=no
2927fi 2748fi
2928
2929rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2749rm -f core conftest.err conftest.$ac_objext \
2930 conftest$ac_exeext conftest.$ac_ext 2750 conftest$ac_exeext conftest.$ac_ext
2931fi 2751fi
2932{ echo "$as_me:$LINENO: result: $ac_cv_sendfile" >&5 2752{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sendfile" >&5
2933echo "${ECHO_T}$ac_cv_sendfile" >&6; } 2753$as_echo "$ac_cv_sendfile" >&6; }
2934test $ac_cv_sendfile = yes && 2754test $ac_cv_sendfile = yes &&
2935cat >>confdefs.h <<\_ACEOF 2755$as_echo "#define HAVE_SENDFILE 1" >>confdefs.h
2936#define HAVE_SENDFILE 1
2937_ACEOF
2938 2756
2939 2757
2940{ echo "$as_me:$LINENO: checking for sync_file_range" >&5 2758{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5
2941echo $ECHO_N "checking for sync_file_range... $ECHO_C" >&6; } 2759$as_echo_n "checking for sync_file_range... " >&6; }
2942if test "${ac_cv_sync_file_range+set}" = set; then 2760if test "${ac_cv_sync_file_range+set}" = set; then :
2943 echo $ECHO_N "(cached) $ECHO_C" >&6 2761 $as_echo_n "(cached) " >&6
2944else 2762else
2945 cat >conftest.$ac_ext <<_ACEOF 2763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2764/* end confdefs.h. */
2946 2765
2947#include <fcntl.h> 2766#include <fcntl.h>
2948int main(void) 2767int main(void)
2949{ 2768{
2950 int fd = 0; 2769 int fd = 0;
2955 res = sync_file_range (fd, offset, nbytes, flags); 2774 res = sync_file_range (fd, offset, nbytes, flags);
2956 return 0; 2775 return 0;
2957} 2776}
2958 2777
2959_ACEOF 2778_ACEOF
2960rm -f conftest.$ac_objext conftest$ac_exeext 2779if ac_fn_c_try_link "$LINENO"; then :
2961if { (ac_try="$ac_link"
2962case "(($ac_try" in
2963 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2964 *) ac_try_echo=$ac_try;;
2965esac
2966eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
2967 (eval "$ac_link") 2>conftest.er1
2968 ac_status=$?
2969 grep -v '^ *+' conftest.er1 >conftest.err
2970 rm -f conftest.er1
2971 cat conftest.err >&5
2972 echo "$as_me:$LINENO: \$? = $ac_status" >&5
2973 (exit $ac_status); } && {
2974 test -z "$ac_c_werror_flag" ||
2975 test ! -s conftest.err
2976 } && test -s conftest$ac_exeext &&
2977 $as_test_x conftest$ac_exeext; then
2978 ac_cv_sync_file_range=yes 2780 ac_cv_sync_file_range=yes
2979else 2781else
2980 echo "$as_me: failed program was:" >&5
2981sed 's/^/| /' conftest.$ac_ext >&5
2982
2983 ac_cv_sync_file_range=no 2782 ac_cv_sync_file_range=no
2984fi 2783fi
2985
2986rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ 2784rm -f core conftest.err conftest.$ac_objext \
2987 conftest$ac_exeext conftest.$ac_ext 2785 conftest$ac_exeext conftest.$ac_ext
2988fi 2786fi
2989{ echo "$as_me:$LINENO: result: $ac_cv_sync_file_range" >&5 2787{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sync_file_range" >&5
2990echo "${ECHO_T}$ac_cv_sync_file_range" >&6; } 2788$as_echo "$ac_cv_sync_file_range" >&6; }
2991test $ac_cv_sync_file_range = yes && 2789test $ac_cv_sync_file_range = yes &&
2992cat >>confdefs.h <<\_ACEOF 2790$as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h
2993#define HAVE_SYNC_FILE_RANGE 1
2994_ACEOF
2995 2791
2996 2792
2997 2793
2998 2794
2999cat >confcache <<\_ACEOF 2795cat >confcache <<\_ACEOF
3021 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do 2817 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3022 eval ac_val=\$$ac_var 2818 eval ac_val=\$$ac_var
3023 case $ac_val in #( 2819 case $ac_val in #(
3024 *${as_nl}*) 2820 *${as_nl}*)
3025 case $ac_var in #( 2821 case $ac_var in #(
3026 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5 2822 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3027echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;; 2823$as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3028 esac 2824 esac
3029 case $ac_var in #( 2825 case $ac_var in #(
3030 _ | IFS | as_nl) ;; #( 2826 _ | IFS | as_nl) ;; #(
3031 *) $as_unset $ac_var ;; 2827 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2828 *) { eval $ac_var=; unset $ac_var;} ;;
3032 esac ;; 2829 esac ;;
3033 esac 2830 esac
3034 done 2831 done
3035 2832
3036 (set) 2>&1 | 2833 (set) 2>&1 |
3037 case $as_nl`(ac_space=' '; set) 2>&1` in #( 2834 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3038 *${as_nl}ac_space=\ *) 2835 *${as_nl}ac_space=\ *)
3039 # `set' does not quote correctly, so add quotes (double-quote 2836 # `set' does not quote correctly, so add quotes: double-quote
3040 # substitution turns \\\\ into \\, and sed turns \\ into \). 2837 # substitution turns \\\\ into \\, and sed turns \\ into \.
3041 sed -n \ 2838 sed -n \
3042 "s/'/'\\\\''/g; 2839 "s/'/'\\\\''/g;
3043 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p" 2840 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3044 ;; #( 2841 ;; #(
3045 *) 2842 *)
3058 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/ 2855 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3059 :end' >>confcache 2856 :end' >>confcache
3060if diff "$cache_file" confcache >/dev/null 2>&1; then :; else 2857if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3061 if test -w "$cache_file"; then 2858 if test -w "$cache_file"; then
3062 test "x$cache_file" != "x/dev/null" && 2859 test "x$cache_file" != "x/dev/null" &&
3063 { echo "$as_me:$LINENO: updating cache $cache_file" >&5 2860 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3064echo "$as_me: updating cache $cache_file" >&6;} 2861$as_echo "$as_me: updating cache $cache_file" >&6;}
3065 cat confcache >$cache_file 2862 cat confcache >$cache_file
3066 else 2863 else
3067 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5 2864 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3068echo "$as_me: not updating unwritable cache $cache_file" >&6;} 2865$as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3069 fi 2866 fi
3070fi 2867fi
3071rm -f confcache 2868rm -f confcache
3072 2869
3073test "x$prefix" = xNONE && prefix=$ac_default_prefix 2870test "x$prefix" = xNONE && prefix=$ac_default_prefix
3079ac_libobjs= 2876ac_libobjs=
3080ac_ltlibobjs= 2877ac_ltlibobjs=
3081for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue 2878for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3082 # 1. Remove the extension, and $U if already installed. 2879 # 1. Remove the extension, and $U if already installed.
3083 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//' 2880 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3084 ac_i=`echo "$ac_i" | sed "$ac_script"` 2881 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3085 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR 2882 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3086 # will be set to the directory where LIBOBJS objects are built. 2883 # will be set to the directory where LIBOBJS objects are built.
3087 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext" 2884 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3088 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo' 2885 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3089done 2886done
3090LIBOBJS=$ac_libobjs 2887LIBOBJS=$ac_libobjs
3091 2888
3092LTLIBOBJS=$ac_ltlibobjs 2889LTLIBOBJS=$ac_ltlibobjs
3093 2890
3094 2891
3095 2892
3096: ${CONFIG_STATUS=./config.status} 2893: ${CONFIG_STATUS=./config.status}
2894ac_write_fail=0
3097ac_clean_files_save=$ac_clean_files 2895ac_clean_files_save=$ac_clean_files
3098ac_clean_files="$ac_clean_files $CONFIG_STATUS" 2896ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3099{ echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5 2897{ $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3100echo "$as_me: creating $CONFIG_STATUS" >&6;} 2898$as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3101cat >$CONFIG_STATUS <<_ACEOF 2899as_write_fail=0
2900cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3102#! $SHELL 2901#! $SHELL
3103# Generated by $as_me. 2902# Generated by $as_me.
3104# Run this file to recreate the current configuration. 2903# Run this file to recreate the current configuration.
3105# Compiler output produced by configure, useful for debugging 2904# Compiler output produced by configure, useful for debugging
3106# configure, is in config.log if it exists. 2905# configure, is in config.log if it exists.
3107 2906
3108debug=false 2907debug=false
3109ac_cs_recheck=false 2908ac_cs_recheck=false
3110ac_cs_silent=false 2909ac_cs_silent=false
2910
3111SHELL=\${CONFIG_SHELL-$SHELL} 2911SHELL=\${CONFIG_SHELL-$SHELL}
2912export SHELL
3112_ACEOF 2913_ASEOF
3113 2914cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3114cat >>$CONFIG_STATUS <<\_ACEOF
3115## --------------------- ## 2915## -------------------- ##
3116## M4sh Initialization. ## 2916## M4sh Initialization. ##
3117## --------------------- ## 2917## -------------------- ##
3118 2918
3119# Be more Bourne compatible 2919# Be more Bourne compatible
3120DUALCASE=1; export DUALCASE # for MKS sh 2920DUALCASE=1; export DUALCASE # for MKS sh
3121if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then 2921if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3122 emulate sh 2922 emulate sh
3123 NULLCMD=: 2923 NULLCMD=:
3124 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which 2924 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3125 # is contrary to our usage. Disable this feature. 2925 # is contrary to our usage. Disable this feature.
3126 alias -g '${1+"$@"}'='"$@"' 2926 alias -g '${1+"$@"}'='"$@"'
3127 setopt NO_GLOB_SUBST 2927 setopt NO_GLOB_SUBST
3128else 2928else
3129 case `(set -o) 2>/dev/null` in 2929 case `(set -o) 2>/dev/null` in #(
3130 *posix*) set -o posix ;; 2930 *posix*) :
2931 set -o posix ;; #(
2932 *) :
2933 ;;
3131esac 2934esac
3132
3133fi 2935fi
3134 2936
3135 2937
3136 2938as_nl='
3137 2939'
3138# PATH needs CR 2940export as_nl
3139# Avoid depending upon Character Ranges. 2941# Printing a long string crashes Solaris 7 /usr/bin/printf.
3140as_cr_letters='abcdefghijklmnopqrstuvwxyz' 2942as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3141as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ' 2943as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3142as_cr_Letters=$as_cr_letters$as_cr_LETTERS 2944as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3143as_cr_digits='0123456789' 2945# Prefer a ksh shell builtin over an external printf program on Solaris,
3144as_cr_alnum=$as_cr_Letters$as_cr_digits 2946# but without wasting forks for bash or zsh.
2947if test -z "$BASH_VERSION$ZSH_VERSION" \
2948 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
2949 as_echo='print -r --'
2950 as_echo_n='print -rn --'
2951elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
2952 as_echo='printf %s\n'
2953 as_echo_n='printf %s'
2954else
2955 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
2956 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
2957 as_echo_n='/usr/ucb/echo -n'
2958 else
2959 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
2960 as_echo_n_body='eval
2961 arg=$1;
2962 case $arg in #(
2963 *"$as_nl"*)
2964 expr "X$arg" : "X\\(.*\\)$as_nl";
2965 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
2966 esac;
2967 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
2968 '
2969 export as_echo_n_body
2970 as_echo_n='sh -c $as_echo_n_body as_echo'
2971 fi
2972 export as_echo_body
2973 as_echo='sh -c $as_echo_body as_echo'
2974fi
3145 2975
3146# The user is always right. 2976# The user is always right.
3147if test "${PATH_SEPARATOR+set}" != set; then 2977if test "${PATH_SEPARATOR+set}" != set; then
3148 echo "#! /bin/sh" >conf$$.sh 2978 PATH_SEPARATOR=:
3149 echo "exit 0" >>conf$$.sh 2979 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3150 chmod +x conf$$.sh 2980 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3151 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
3152 PATH_SEPARATOR=';' 2981 PATH_SEPARATOR=';'
3153 else 2982 }
3154 PATH_SEPARATOR=:
3155 fi
3156 rm -f conf$$.sh
3157fi
3158
3159# Support unset when possible.
3160if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
3161 as_unset=unset
3162else
3163 as_unset=false
3164fi 2983fi
3165 2984
3166 2985
3167# IFS 2986# IFS
3168# We need space, tab and new line, in precisely that order. Quoting is 2987# We need space, tab and new line, in precisely that order. Quoting is
3169# there to prevent editors from complaining about space-tab. 2988# there to prevent editors from complaining about space-tab.
3170# (If _AS_PATH_WALK were called with IFS unset, it would disable word 2989# (If _AS_PATH_WALK were called with IFS unset, it would disable word
3171# splitting by setting IFS to empty value.) 2990# splitting by setting IFS to empty value.)
3172as_nl='
3173'
3174IFS=" "" $as_nl" 2991IFS=" "" $as_nl"
3175 2992
3176# Find who we are. Look in the path if we contain no directory separator. 2993# Find who we are. Look in the path if we contain no directory separator.
3177case $0 in 2994case $0 in #((
3178 *[\\/]* ) as_myself=$0 ;; 2995 *[\\/]* ) as_myself=$0 ;;
3179 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR 2996 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3180for as_dir in $PATH 2997for as_dir in $PATH
3181do 2998do
3182 IFS=$as_save_IFS 2999 IFS=$as_save_IFS
3183 test -z "$as_dir" && as_dir=. 3000 test -z "$as_dir" && as_dir=.
3184 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break 3001 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3185done 3002 done
3186IFS=$as_save_IFS 3003IFS=$as_save_IFS
3187 3004
3188 ;; 3005 ;;
3189esac 3006esac
3190# We did not find ourselves, most probably we were run as `sh COMMAND' 3007# We did not find ourselves, most probably we were run as `sh COMMAND'
3191# in which case we are not to be found in the path. 3008# in which case we are not to be found in the path.
3192if test "x$as_myself" = x; then 3009if test "x$as_myself" = x; then
3193 as_myself=$0 3010 as_myself=$0
3194fi 3011fi
3195if test ! -f "$as_myself"; then 3012if test ! -f "$as_myself"; then
3196 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2 3013 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3197 { (exit 1); exit 1; } 3014 exit 1
3198fi 3015fi
3199 3016
3200# Work around bugs in pre-3.0 UWIN ksh. 3017# Unset variables that we do not need and which cause bugs (e.g. in
3018# pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3019# suppresses any "Segmentation fault" message there. '((' could
3020# trigger a bug in pdksh 5.2.14.
3201for as_var in ENV MAIL MAILPATH 3021for as_var in BASH_ENV ENV MAIL MAILPATH
3022do eval test x\${$as_var+set} = xset \
3202do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3023 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3203done 3024done
3204PS1='$ ' 3025PS1='$ '
3205PS2='> ' 3026PS2='> '
3206PS4='+ ' 3027PS4='+ '
3207 3028
3208# NLS nuisances. 3029# NLS nuisances.
3209for as_var in \ 3030LC_ALL=C
3210 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \ 3031export LC_ALL
3211 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \ 3032LANGUAGE=C
3212 LC_TELEPHONE LC_TIME 3033export LANGUAGE
3213do 3034
3214 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then 3035# CDPATH.
3215 eval $as_var=C; export $as_var 3036(unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3216 else 3037
3217 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var 3038
3039# as_fn_error ERROR [LINENO LOG_FD]
3040# ---------------------------------
3041# Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3042# provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3043# script with status $?, using 1 if that was 0.
3044as_fn_error ()
3045{
3046 as_status=$?; test $as_status -eq 0 && as_status=1
3047 if test "$3"; then
3048 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3049 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3218 fi 3050 fi
3219done 3051 $as_echo "$as_me: error: $1" >&2
3052 as_fn_exit $as_status
3053} # as_fn_error
3220 3054
3221# Required to use basename. 3055
3056# as_fn_set_status STATUS
3057# -----------------------
3058# Set $? to STATUS, without forking.
3059as_fn_set_status ()
3060{
3061 return $1
3062} # as_fn_set_status
3063
3064# as_fn_exit STATUS
3065# -----------------
3066# Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3067as_fn_exit ()
3068{
3069 set +e
3070 as_fn_set_status $1
3071 exit $1
3072} # as_fn_exit
3073
3074# as_fn_unset VAR
3075# ---------------
3076# Portably unset VAR.
3077as_fn_unset ()
3078{
3079 { eval $1=; unset $1;}
3080}
3081as_unset=as_fn_unset
3082# as_fn_append VAR VALUE
3083# ----------------------
3084# Append the text in VALUE to the end of the definition contained in VAR. Take
3085# advantage of any shell optimizations that allow amortized linear growth over
3086# repeated appends, instead of the typical quadratic growth present in naive
3087# implementations.
3088if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3089 eval 'as_fn_append ()
3090 {
3091 eval $1+=\$2
3092 }'
3093else
3094 as_fn_append ()
3095 {
3096 eval $1=\$$1\$2
3097 }
3098fi # as_fn_append
3099
3100# as_fn_arith ARG...
3101# ------------------
3102# Perform arithmetic evaluation on the ARGs, and store the result in the
3103# global $as_val. Take advantage of shells that can avoid forks. The arguments
3104# must be portable across $(()) and expr.
3105if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3106 eval 'as_fn_arith ()
3107 {
3108 as_val=$(( $* ))
3109 }'
3110else
3111 as_fn_arith ()
3112 {
3113 as_val=`expr "$@" || test $? -eq 1`
3114 }
3115fi # as_fn_arith
3116
3117
3222if expr a : '\(a\)' >/dev/null 2>&1 && 3118if expr a : '\(a\)' >/dev/null 2>&1 &&
3223 test "X`expr 00001 : '.*\(...\)'`" = X001; then 3119 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3224 as_expr=expr 3120 as_expr=expr
3225else 3121else
3226 as_expr=false 3122 as_expr=false
3230 as_basename=basename 3126 as_basename=basename
3231else 3127else
3232 as_basename=false 3128 as_basename=false
3233fi 3129fi
3234 3130
3131if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3132 as_dirname=dirname
3133else
3134 as_dirname=false
3135fi
3235 3136
3236# Name of the executable.
3237as_me=`$as_basename -- "$0" || 3137as_me=`$as_basename -- "$0" ||
3238$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \ 3138$as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3239 X"$0" : 'X\(//\)$' \| \ 3139 X"$0" : 'X\(//\)$' \| \
3240 X"$0" : 'X\(/\)' \| . 2>/dev/null || 3140 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3241echo X/"$0" | 3141$as_echo X/"$0" |
3242 sed '/^.*\/\([^/][^/]*\)\/*$/{ 3142 sed '/^.*\/\([^/][^/]*\)\/*$/{
3243 s//\1/ 3143 s//\1/
3244 q 3144 q
3245 } 3145 }
3246 /^X\/\(\/\/\)$/{ 3146 /^X\/\(\/\/\)$/{
3251 s//\1/ 3151 s//\1/
3252 q 3152 q
3253 } 3153 }
3254 s/.*/./; q'` 3154 s/.*/./; q'`
3255 3155
3256# CDPATH. 3156# Avoid depending upon Character Ranges.
3257$as_unset CDPATH 3157as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3258 3158as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3259 3159as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3260 3160as_cr_digits='0123456789'
3261 as_lineno_1=$LINENO 3161as_cr_alnum=$as_cr_Letters$as_cr_digits
3262 as_lineno_2=$LINENO
3263 test "x$as_lineno_1" != "x$as_lineno_2" &&
3264 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
3265
3266 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
3267 # uniformly replaced by the line number. The first 'sed' inserts a
3268 # line-number line after each line using $LINENO; the second 'sed'
3269 # does the real work. The second script uses 'N' to pair each
3270 # line-number line with the line containing $LINENO, and appends
3271 # trailing '-' during substitution so that $LINENO is not a special
3272 # case at line end.
3273 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
3274 # scripts with optimization help from Paolo Bonzini. Blame Lee
3275 # E. McMahon (1931-1989) for sed's syntax. :-)
3276 sed -n '
3277 p
3278 /[$]LINENO/=
3279 ' <$as_myself |
3280 sed '
3281 s/[$]LINENO.*/&-/
3282 t lineno
3283 b
3284 :lineno
3285 N
3286 :loop
3287 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
3288 t loop
3289 s/-\n.*//
3290 ' >$as_me.lineno &&
3291 chmod +x "$as_me.lineno" ||
3292 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
3293 { (exit 1); exit 1; }; }
3294
3295 # Don't try to exec as it changes $[0], causing all sort of problems
3296 # (the dirname of $[0] is not the place where we might find the
3297 # original and so on. Autoconf is especially sensitive to this).
3298 . "./$as_me.lineno"
3299 # Exit status is that of the last command.
3300 exit
3301}
3302
3303
3304if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3305 as_dirname=dirname
3306else
3307 as_dirname=false
3308fi
3309 3162
3310ECHO_C= ECHO_N= ECHO_T= 3163ECHO_C= ECHO_N= ECHO_T=
3311case `echo -n x` in 3164case `echo -n x` in #(((((
3312-n*) 3165-n*)
3313 case `echo 'x\c'` in 3166 case `echo 'xy\c'` in
3314 *c*) ECHO_T=' ';; # ECHO_T is single tab character. 3167 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3315 *) ECHO_C='\c';; 3168 xy) ECHO_C='\c';;
3169 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3170 ECHO_T=' ';;
3316 esac;; 3171 esac;;
3317*) 3172*)
3318 ECHO_N='-n';; 3173 ECHO_N='-n';;
3319esac 3174esac
3320 3175
3321if expr a : '\(a\)' >/dev/null 2>&1 &&
3322 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3323 as_expr=expr
3324else
3325 as_expr=false
3326fi
3327
3328rm -f conf$$ conf$$.exe conf$$.file 3176rm -f conf$$ conf$$.exe conf$$.file
3329if test -d conf$$.dir; then 3177if test -d conf$$.dir; then
3330 rm -f conf$$.dir/conf$$.file 3178 rm -f conf$$.dir/conf$$.file
3331else 3179else
3332 rm -f conf$$.dir 3180 rm -f conf$$.dir
3333 mkdir conf$$.dir 3181 mkdir conf$$.dir 2>/dev/null
3334fi 3182fi
3335echo >conf$$.file 3183if (echo >conf$$.file) 2>/dev/null; then
3336if ln -s conf$$.file conf$$ 2>/dev/null; then 3184 if ln -s conf$$.file conf$$ 2>/dev/null; then
3337 as_ln_s='ln -s' 3185 as_ln_s='ln -s'
3338 # ... but there are two gotchas: 3186 # ... but there are two gotchas:
3339 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail. 3187 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3340 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable. 3188 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3341 # In both cases, we have to default to `cp -p'. 3189 # In both cases, we have to default to `cp -p'.
3342 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe || 3190 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3191 as_ln_s='cp -p'
3192 elif ln conf$$.file conf$$ 2>/dev/null; then
3193 as_ln_s=ln
3194 else
3343 as_ln_s='cp -p' 3195 as_ln_s='cp -p'
3344elif ln conf$$.file conf$$ 2>/dev/null; then 3196 fi
3345 as_ln_s=ln
3346else 3197else
3347 as_ln_s='cp -p' 3198 as_ln_s='cp -p'
3348fi 3199fi
3349rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file 3200rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3350rmdir conf$$.dir 2>/dev/null 3201rmdir conf$$.dir 2>/dev/null
3351 3202
3352if mkdir -p . 2>/dev/null; then 3203
3353 as_mkdir_p=: 3204# as_fn_mkdir_p
3354else 3205# -------------
3355 test -d ./-p && rmdir ./-p 3206# Create "$as_dir" as a directory, including parents if necessary.
3356 as_mkdir_p=false 3207as_fn_mkdir_p ()
3357fi
3358
3359if test -x / >/dev/null 2>&1; then
3360 as_test_x='test -x'
3361else
3362 if ls -dL / >/dev/null 2>&1; then
3363 as_ls_L_option=L
3364 else
3365 as_ls_L_option=
3366 fi
3367 as_test_x='
3368 eval sh -c '\''
3369 if test -d "$1"; then
3370 test -d "$1/.";
3371 else
3372 case $1 in
3373 -*)set "./$1";;
3374 esac;
3375 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
3376 ???[sx]*):;;*)false;;esac;fi
3377 '\'' sh
3378 '
3379fi
3380as_executable_p=$as_test_x
3381
3382# Sed expression to map a string onto a valid CPP name.
3383as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3384
3385# Sed expression to map a string onto a valid variable name.
3386as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3387
3388
3389exec 6>&1
3390
3391# Save the log message, to keep $[0] and so on meaningful, and to
3392# report actual input values of CONFIG_FILES etc. instead of their
3393# values after options handling.
3394ac_log="
3395This file was extended by $as_me, which was
3396generated by GNU Autoconf 2.61. Invocation command line was
3397
3398 CONFIG_FILES = $CONFIG_FILES
3399 CONFIG_HEADERS = $CONFIG_HEADERS
3400 CONFIG_LINKS = $CONFIG_LINKS
3401 CONFIG_COMMANDS = $CONFIG_COMMANDS
3402 $ $0 $@
3403
3404on `(hostname || uname -n) 2>/dev/null | sed 1q`
3405"
3406
3407_ACEOF
3408
3409cat >>$CONFIG_STATUS <<_ACEOF
3410# Files that config.status was made for.
3411config_headers="$ac_config_headers"
3412
3413_ACEOF
3414
3415cat >>$CONFIG_STATUS <<\_ACEOF
3416ac_cs_usage="\
3417\`$as_me' instantiates files from templates according to the
3418current configuration.
3419
3420Usage: $0 [OPTIONS] [FILE]...
3421
3422 -h, --help print this help, then exit
3423 -V, --version print version number and configuration settings, then exit
3424 -q, --quiet do not print progress messages
3425 -d, --debug don't remove temporary files
3426 --recheck update $as_me by reconfiguring in the same conditions
3427 --header=FILE[:TEMPLATE]
3428 instantiate the configuration header FILE
3429
3430Configuration headers:
3431$config_headers
3432
3433Report bugs to <bug-autoconf@gnu.org>."
3434
3435_ACEOF
3436cat >>$CONFIG_STATUS <<_ACEOF
3437ac_cs_version="\\
3438config.status
3439configured by $0, generated by GNU Autoconf 2.61,
3440 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3441
3442Copyright (C) 2006 Free Software Foundation, Inc.
3443This config.status script is free software; the Free Software Foundation
3444gives unlimited permission to copy, distribute and modify it."
3445
3446ac_pwd='$ac_pwd'
3447srcdir='$srcdir'
3448_ACEOF
3449
3450cat >>$CONFIG_STATUS <<\_ACEOF
3451# If no file are specified by the user, then we need to provide default
3452# value. By we need to know if files were specified by the user.
3453ac_need_defaults=:
3454while test $# != 0
3455do
3456 case $1 in
3457 --*=*)
3458 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3459 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3460 ac_shift=:
3461 ;;
3462 *)
3463 ac_option=$1
3464 ac_optarg=$2
3465 ac_shift=shift
3466 ;;
3467 esac
3468
3469 case $ac_option in
3470 # Handling of the options.
3471 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3472 ac_cs_recheck=: ;;
3473 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3474 echo "$ac_cs_version"; exit ;;
3475 --debug | --debu | --deb | --de | --d | -d )
3476 debug=: ;;
3477 --header | --heade | --head | --hea )
3478 $ac_shift
3479 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
3480 ac_need_defaults=false;;
3481 --he | --h)
3482 # Conflict between --help and --header
3483 { echo "$as_me: error: ambiguous option: $1
3484Try \`$0 --help' for more information." >&2
3485 { (exit 1); exit 1; }; };;
3486 --help | --hel | -h )
3487 echo "$ac_cs_usage"; exit ;;
3488 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3489 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3490 ac_cs_silent=: ;;
3491
3492 # This is an error.
3493 -*) { echo "$as_me: error: unrecognized option: $1
3494Try \`$0 --help' for more information." >&2
3495 { (exit 1); exit 1; }; } ;;
3496
3497 *) ac_config_targets="$ac_config_targets $1"
3498 ac_need_defaults=false ;;
3499
3500 esac
3501 shift
3502done
3503
3504ac_configure_extra_args=
3505
3506if $ac_cs_silent; then
3507 exec 6>/dev/null
3508 ac_configure_extra_args="$ac_configure_extra_args --silent"
3509fi
3510
3511_ACEOF
3512cat >>$CONFIG_STATUS <<_ACEOF
3513if \$ac_cs_recheck; then
3514 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
3515 CONFIG_SHELL=$SHELL
3516 export CONFIG_SHELL
3517 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3518fi
3519
3520_ACEOF
3521cat >>$CONFIG_STATUS <<\_ACEOF
3522exec 5>>config.log
3523{ 3208{
3524 echo
3525 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3526## Running $as_me. ##
3527_ASBOX
3528 echo "$ac_log"
3529} >&5
3530 3209
3531_ACEOF
3532cat >>$CONFIG_STATUS <<_ACEOF
3533_ACEOF
3534
3535cat >>$CONFIG_STATUS <<\_ACEOF
3536
3537# Handling of arguments.
3538for ac_config_target in $ac_config_targets
3539do
3540 case $ac_config_target in
3541 "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;;
3542
3543 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
3544echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
3545 { (exit 1); exit 1; }; };;
3546 esac
3547done
3548
3549
3550# If the user did not use the arguments to specify the items to instantiate,
3551# then the envvar interface is used. Set only those that are not.
3552# We use the long form for the default assignment because of an extremely
3553# bizarre bug on SunOS 4.1.3.
3554if $ac_need_defaults; then
3555 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3556fi
3557
3558# Have a temporary directory for convenience. Make it in the build tree
3559# simply because there is no reason against having it here, and in addition,
3560# creating and moving files from /tmp can sometimes cause problems.
3561# Hook for its removal unless debugging.
3562# Note that there is a small window in which the directory will not be cleaned:
3563# after its creation but before its name has been assigned to `$tmp'.
3564$debug ||
3565{
3566 tmp=
3567 trap 'exit_status=$?
3568 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3569' 0
3570 trap '{ (exit 1); exit 1; }' 1 2 13 15
3571}
3572# Create a (secure) tmp directory for tmp files.
3573
3574{
3575 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3576 test -n "$tmp" && test -d "$tmp"
3577} ||
3578{
3579 tmp=./conf$$-$RANDOM
3580 (umask 077 && mkdir "$tmp")
3581} ||
3582{
3583 echo "$me: cannot create a temporary directory in ." >&2
3584 { (exit 1); exit 1; }
3585}
3586
3587
3588for ac_tag in :H $CONFIG_HEADERS
3589do
3590 case $ac_tag in
3591 :[FHLC]) ac_mode=$ac_tag; continue;;
3592 esac
3593 case $ac_mode$ac_tag in
3594 :[FHL]*:*);;
3595 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
3596echo "$as_me: error: Invalid tag $ac_tag." >&2;}
3597 { (exit 1); exit 1; }; };;
3598 :[FH]-) ac_tag=-:-;;
3599 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3600 esac
3601 ac_save_IFS=$IFS
3602 IFS=:
3603 set x $ac_tag
3604 IFS=$ac_save_IFS
3605 shift
3606 ac_file=$1
3607 shift
3608
3609 case $ac_mode in
3610 :L) ac_source=$1;;
3611 :[FH])
3612 ac_file_inputs=
3613 for ac_f
3614 do
3615 case $ac_f in
3616 -) ac_f="$tmp/stdin";;
3617 *) # Look for the file first in the build tree, then in the source tree
3618 # (if the path is not absolute). The absolute path cannot be DOS-style,
3619 # because $ac_f cannot contain `:'.
3620 test -f "$ac_f" ||
3621 case $ac_f in
3622 [\\/$]*) false;;
3623 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3624 esac ||
3625 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
3626echo "$as_me: error: cannot find input file: $ac_f" >&2;}
3627 { (exit 1); exit 1; }; };;
3628 esac
3629 ac_file_inputs="$ac_file_inputs $ac_f"
3630 done
3631
3632 # Let's still pretend it is `configure' which instantiates (i.e., don't
3633 # use $as_me), people would be surprised to read:
3634 # /* config.h. Generated by config.status. */
3635 configure_input="Generated from "`IFS=:
3636 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
3637 if test x"$ac_file" != x-; then
3638 configure_input="$ac_file. $configure_input"
3639 { echo "$as_me:$LINENO: creating $ac_file" >&5
3640echo "$as_me: creating $ac_file" >&6;}
3641 fi
3642
3643 case $ac_tag in
3644 *:-:* | *:-) cat >"$tmp/stdin";;
3645 esac
3646 ;;
3647 esac
3648
3649 ac_dir=`$as_dirname -- "$ac_file" ||
3650$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3651 X"$ac_file" : 'X\(//\)[^/]' \| \
3652 X"$ac_file" : 'X\(//\)$' \| \
3653 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3654echo X"$ac_file" |
3655 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3656 s//\1/
3657 q
3658 }
3659 /^X\(\/\/\)[^/].*/{
3660 s//\1/
3661 q
3662 }
3663 /^X\(\/\/\)$/{
3664 s//\1/
3665 q
3666 }
3667 /^X\(\/\).*/{
3668 s//\1/
3669 q
3670 }
3671 s/.*/./; q'`
3672 { as_dir="$ac_dir"
3673 case $as_dir in #( 3210 case $as_dir in #(
3674 -*) as_dir=./$as_dir;; 3211 -*) as_dir=./$as_dir;;
3675 esac 3212 esac
3676 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || { 3213 test -d "$as_dir" || eval $as_mkdir_p || {
3677 as_dirs= 3214 as_dirs=
3678 while :; do 3215 while :; do
3679 case $as_dir in #( 3216 case $as_dir in #(
3680 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #( 3217 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3681 *) as_qdir=$as_dir;; 3218 *) as_qdir=$as_dir;;
3682 esac 3219 esac
3683 as_dirs="'$as_qdir' $as_dirs" 3220 as_dirs="'$as_qdir' $as_dirs"
3684 as_dir=`$as_dirname -- "$as_dir" || 3221 as_dir=`$as_dirname -- "$as_dir" ||
3685$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \ 3222$as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3686 X"$as_dir" : 'X\(//\)[^/]' \| \ 3223 X"$as_dir" : 'X\(//\)[^/]' \| \
3687 X"$as_dir" : 'X\(//\)$' \| \ 3224 X"$as_dir" : 'X\(//\)$' \| \
3688 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null || 3225 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3689echo X"$as_dir" | 3226$as_echo X"$as_dir" |
3690 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{ 3227 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3691 s//\1/ 3228 s//\1/
3692 q 3229 q
3693 } 3230 }
3694 /^X\(\/\/\)[^/].*/{ 3231 /^X\(\/\/\)[^/].*/{
3705 } 3242 }
3706 s/.*/./; q'` 3243 s/.*/./; q'`
3707 test -d "$as_dir" && break 3244 test -d "$as_dir" && break
3708 done 3245 done
3709 test -z "$as_dirs" || eval "mkdir $as_dirs" 3246 test -z "$as_dirs" || eval "mkdir $as_dirs"
3710 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5 3247 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3711echo "$as_me: error: cannot create directory $as_dir" >&2;} 3248
3712 { (exit 1); exit 1; }; }; } 3249
3250} # as_fn_mkdir_p
3251if mkdir -p . 2>/dev/null; then
3252 as_mkdir_p='mkdir -p "$as_dir"'
3253else
3254 test -d ./-p && rmdir ./-p
3255 as_mkdir_p=false
3256fi
3257
3258if test -x / >/dev/null 2>&1; then
3259 as_test_x='test -x'
3260else
3261 if ls -dL / >/dev/null 2>&1; then
3262 as_ls_L_option=L
3263 else
3264 as_ls_L_option=
3265 fi
3266 as_test_x='
3267 eval sh -c '\''
3268 if test -d "$1"; then
3269 test -d "$1/.";
3270 else
3271 case $1 in #(
3272 -*)set "./$1";;
3273 esac;
3274 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3275 ???[sx]*):;;*)false;;esac;fi
3276 '\'' sh
3277 '
3278fi
3279as_executable_p=$as_test_x
3280
3281# Sed expression to map a string onto a valid CPP name.
3282as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3283
3284# Sed expression to map a string onto a valid variable name.
3285as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3286
3287
3288exec 6>&1
3289## ----------------------------------- ##
3290## Main body of $CONFIG_STATUS script. ##
3291## ----------------------------------- ##
3292_ASEOF
3293test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3294
3295cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3296# Save the log message, to keep $0 and so on meaningful, and to
3297# report actual input values of CONFIG_FILES etc. instead of their
3298# values after options handling.
3299ac_log="
3300This file was extended by $as_me, which was
3301generated by GNU Autoconf 2.64. Invocation command line was
3302
3303 CONFIG_FILES = $CONFIG_FILES
3304 CONFIG_HEADERS = $CONFIG_HEADERS
3305 CONFIG_LINKS = $CONFIG_LINKS
3306 CONFIG_COMMANDS = $CONFIG_COMMANDS
3307 $ $0 $@
3308
3309on `(hostname || uname -n) 2>/dev/null | sed 1q`
3310"
3311
3312_ACEOF
3313
3314
3315case $ac_config_headers in *"
3316"*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3317esac
3318
3319
3320cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3321# Files that config.status was made for.
3322config_headers="$ac_config_headers"
3323
3324_ACEOF
3325
3326cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3327ac_cs_usage="\
3328\`$as_me' instantiates files and other configuration actions
3329from templates according to the current configuration. Unless the files
3330and actions are specified as TAGs, all are instantiated by default.
3331
3332Usage: $0 [OPTION]... [TAG]...
3333
3334 -h, --help print this help, then exit
3335 -V, --version print version number and configuration settings, then exit
3336 -q, --quiet, --silent
3337 do not print progress messages
3338 -d, --debug don't remove temporary files
3339 --recheck update $as_me by reconfiguring in the same conditions
3340 --header=FILE[:TEMPLATE]
3341 instantiate the configuration header FILE
3342
3343Configuration headers:
3344$config_headers
3345
3346Report bugs to the package provider."
3347
3348_ACEOF
3349cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3350ac_cs_version="\\
3351config.status
3352configured by $0, generated by GNU Autoconf 2.64,
3353 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
3354
3355Copyright (C) 2009 Free Software Foundation, Inc.
3356This config.status script is free software; the Free Software Foundation
3357gives unlimited permission to copy, distribute and modify it."
3358
3359ac_pwd='$ac_pwd'
3360srcdir='$srcdir'
3361test -n "\$AWK" || AWK=awk
3362_ACEOF
3363
3364cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3365# The default lists apply if the user does not specify any file.
3366ac_need_defaults=:
3367while test $# != 0
3368do
3369 case $1 in
3370 --*=*)
3371 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3372 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3373 ac_shift=:
3374 ;;
3375 *)
3376 ac_option=$1
3377 ac_optarg=$2
3378 ac_shift=shift
3379 ;;
3380 esac
3381
3382 case $ac_option in
3383 # Handling of the options.
3384 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3385 ac_cs_recheck=: ;;
3386 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3387 $as_echo "$ac_cs_version"; exit ;;
3388 --debug | --debu | --deb | --de | --d | -d )
3389 debug=: ;;
3390 --header | --heade | --head | --hea )
3391 $ac_shift
3392 case $ac_optarg in
3393 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3394 esac
3395 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3396 ac_need_defaults=false;;
3397 --he | --h)
3398 # Conflict between --help and --header
3399 as_fn_error "ambiguous option: \`$1'
3400Try \`$0 --help' for more information.";;
3401 --help | --hel | -h )
3402 $as_echo "$ac_cs_usage"; exit ;;
3403 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3404 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3405 ac_cs_silent=: ;;
3406
3407 # This is an error.
3408 -*) as_fn_error "unrecognized option: \`$1'
3409Try \`$0 --help' for more information." ;;
3410
3411 *) as_fn_append ac_config_targets " $1"
3412 ac_need_defaults=false ;;
3413
3414 esac
3415 shift
3416done
3417
3418ac_configure_extra_args=
3419
3420if $ac_cs_silent; then
3421 exec 6>/dev/null
3422 ac_configure_extra_args="$ac_configure_extra_args --silent"
3423fi
3424
3425_ACEOF
3426cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3427if \$ac_cs_recheck; then
3428 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3429 shift
3430 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3431 CONFIG_SHELL='$SHELL'
3432 export CONFIG_SHELL
3433 exec "\$@"
3434fi
3435
3436_ACEOF
3437cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3438exec 5>>config.log
3439{
3440 echo
3441 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3442## Running $as_me. ##
3443_ASBOX
3444 $as_echo "$ac_log"
3445} >&5
3446
3447_ACEOF
3448cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3449_ACEOF
3450
3451cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3452
3453# Handling of arguments.
3454for ac_config_target in $ac_config_targets
3455do
3456 case $ac_config_target in
3457 "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;;
3458
3459 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3460 esac
3461done
3462
3463
3464# If the user did not use the arguments to specify the items to instantiate,
3465# then the envvar interface is used. Set only those that are not.
3466# We use the long form for the default assignment because of an extremely
3467# bizarre bug on SunOS 4.1.3.
3468if $ac_need_defaults; then
3469 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3470fi
3471
3472# Have a temporary directory for convenience. Make it in the build tree
3473# simply because there is no reason against having it here, and in addition,
3474# creating and moving files from /tmp can sometimes cause problems.
3475# Hook for its removal unless debugging.
3476# Note that there is a small window in which the directory will not be cleaned:
3477# after its creation but before its name has been assigned to `$tmp'.
3478$debug ||
3479{
3480 tmp=
3481 trap 'exit_status=$?
3482 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3483' 0
3484 trap 'as_fn_exit 1' 1 2 13 15
3485}
3486# Create a (secure) tmp directory for tmp files.
3487
3488{
3489 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3490 test -n "$tmp" && test -d "$tmp"
3491} ||
3492{
3493 tmp=./conf$$-$RANDOM
3494 (umask 077 && mkdir "$tmp")
3495} || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
3496
3497# Set up the scripts for CONFIG_HEADERS section.
3498# No need to generate them if there are no CONFIG_HEADERS.
3499# This happens for instance with `./config.status Makefile'.
3500if test -n "$CONFIG_HEADERS"; then
3501cat >"$tmp/defines.awk" <<\_ACAWK ||
3502BEGIN {
3503_ACEOF
3504
3505# Transform confdefs.h into an awk script `defines.awk', embedded as
3506# here-document in config.status, that substitutes the proper values into
3507# config.h.in to produce config.h.
3508
3509# Create a delimiter string that does not exist in confdefs.h, to ease
3510# handling of long lines.
3511ac_delim='%!_!# '
3512for ac_last_try in false false :; do
3513 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
3514 if test -z "$ac_t"; then
3515 break
3516 elif $ac_last_try; then
3517 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
3518 else
3519 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3520 fi
3521done
3522
3523# For the awk script, D is an array of macro values keyed by name,
3524# likewise P contains macro parameters if any. Preserve backslash
3525# newline sequences.
3526
3527ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3528sed -n '
3529s/.\{148\}/&'"$ac_delim"'/g
3530t rset
3531:rset
3532s/^[ ]*#[ ]*define[ ][ ]*/ /
3533t def
3534d
3535:def
3536s/\\$//
3537t bsnl
3538s/["\\]/\\&/g
3539s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3540D["\1"]=" \3"/p
3541s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3542d
3543:bsnl
3544s/["\\]/\\&/g
3545s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3546D["\1"]=" \3\\\\\\n"\\/p
3547t cont
3548s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3549t cont
3550d
3551:cont
3552n
3553s/.\{148\}/&'"$ac_delim"'/g
3554t clear
3555:clear
3556s/\\$//
3557t bsnlc
3558s/["\\]/\\&/g; s/^/"/; s/$/"/p
3559d
3560:bsnlc
3561s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3562b cont
3563' <confdefs.h | sed '
3564s/'"$ac_delim"'/"\\\
3565"/g' >>$CONFIG_STATUS || ac_write_fail=1
3566
3567cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3568 for (key in D) D_is_set[key] = 1
3569 FS = ""
3570}
3571/^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3572 line = \$ 0
3573 split(line, arg, " ")
3574 if (arg[1] == "#") {
3575 defundef = arg[2]
3576 mac1 = arg[3]
3577 } else {
3578 defundef = substr(arg[1], 2)
3579 mac1 = arg[2]
3580 }
3581 split(mac1, mac2, "(") #)
3582 macro = mac2[1]
3583 prefix = substr(line, 1, index(line, defundef) - 1)
3584 if (D_is_set[macro]) {
3585 # Preserve the white space surrounding the "#".
3586 print prefix "define", macro P[macro] D[macro]
3587 next
3588 } else {
3589 # Replace #undef with comments. This is necessary, for example,
3590 # in the case of _POSIX_SOURCE, which is predefined and required
3591 # on some systems where configure will not decide to define it.
3592 if (defundef == "undef") {
3593 print "/*", prefix defundef, macro, "*/"
3594 next
3595 }
3596 }
3597}
3598{ print }
3599_ACAWK
3600_ACEOF
3601cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3602 as_fn_error "could not setup config headers machinery" "$LINENO" 5
3603fi # test -n "$CONFIG_HEADERS"
3604
3605
3606eval set X " :H $CONFIG_HEADERS "
3607shift
3608for ac_tag
3609do
3610 case $ac_tag in
3611 :[FHLC]) ac_mode=$ac_tag; continue;;
3612 esac
3613 case $ac_mode$ac_tag in
3614 :[FHL]*:*);;
3615 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
3616 :[FH]-) ac_tag=-:-;;
3617 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3618 esac
3619 ac_save_IFS=$IFS
3620 IFS=:
3621 set x $ac_tag
3622 IFS=$ac_save_IFS
3623 shift
3624 ac_file=$1
3625 shift
3626
3627 case $ac_mode in
3628 :L) ac_source=$1;;
3629 :[FH])
3630 ac_file_inputs=
3631 for ac_f
3632 do
3633 case $ac_f in
3634 -) ac_f="$tmp/stdin";;
3635 *) # Look for the file first in the build tree, then in the source tree
3636 # (if the path is not absolute). The absolute path cannot be DOS-style,
3637 # because $ac_f cannot contain `:'.
3638 test -f "$ac_f" ||
3639 case $ac_f in
3640 [\\/$]*) false;;
3641 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3642 esac ||
3643 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
3644 esac
3645 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3646 as_fn_append ac_file_inputs " '$ac_f'"
3647 done
3648
3649 # Let's still pretend it is `configure' which instantiates (i.e., don't
3650 # use $as_me), people would be surprised to read:
3651 # /* config.h. Generated by config.status. */
3652 configure_input='Generated from '`
3653 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3654 `' by configure.'
3655 if test x"$ac_file" != x-; then
3656 configure_input="$ac_file. $configure_input"
3657 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3658$as_echo "$as_me: creating $ac_file" >&6;}
3659 fi
3660 # Neutralize special characters interpreted by sed in replacement strings.
3661 case $configure_input in #(
3662 *\&* | *\|* | *\\* )
3663 ac_sed_conf_input=`$as_echo "$configure_input" |
3664 sed 's/[\\\\&|]/\\\\&/g'`;; #(
3665 *) ac_sed_conf_input=$configure_input;;
3666 esac
3667
3668 case $ac_tag in
3669 *:-:* | *:-) cat >"$tmp/stdin" \
3670 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
3671 esac
3672 ;;
3673 esac
3674
3675 ac_dir=`$as_dirname -- "$ac_file" ||
3676$as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3677 X"$ac_file" : 'X\(//\)[^/]' \| \
3678 X"$ac_file" : 'X\(//\)$' \| \
3679 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3680$as_echo X"$ac_file" |
3681 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3682 s//\1/
3683 q
3684 }
3685 /^X\(\/\/\)[^/].*/{
3686 s//\1/
3687 q
3688 }
3689 /^X\(\/\/\)$/{
3690 s//\1/
3691 q
3692 }
3693 /^X\(\/\).*/{
3694 s//\1/
3695 q
3696 }
3697 s/.*/./; q'`
3698 as_dir="$ac_dir"; as_fn_mkdir_p
3713 ac_builddir=. 3699 ac_builddir=.
3714 3700
3715case "$ac_dir" in 3701case "$ac_dir" in
3716.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;; 3702.) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3717*) 3703*)
3718 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'` 3704 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3719 # A ".." for each directory in $ac_dir_suffix. 3705 # A ".." for each directory in $ac_dir_suffix.
3720 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'` 3706 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3721 case $ac_top_builddir_sub in 3707 case $ac_top_builddir_sub in
3722 "") ac_top_builddir_sub=. ac_top_build_prefix= ;; 3708 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3723 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;; 3709 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3724 esac ;; 3710 esac ;;
3725esac 3711esac
3749 3735
3750 :H) 3736 :H)
3751 # 3737 #
3752 # CONFIG_HEADER 3738 # CONFIG_HEADER
3753 # 3739 #
3754_ACEOF
3755
3756# Transform confdefs.h into a sed script `conftest.defines', that
3757# substitutes the proper values into config.h.in to produce config.h.
3758rm -f conftest.defines conftest.tail
3759# First, append a space to every undef/define line, to ease matching.
3760echo 's/$/ /' >conftest.defines
3761# Then, protect against being on the right side of a sed subst, or in
3762# an unquoted here document, in config.status. If some macros were
3763# called several times there might be several #defines for the same
3764# symbol, which is useless. But do not sort them, since the last
3765# AC_DEFINE must be honored.
3766ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3767# These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
3768# NAME is the cpp macro being defined, VALUE is the value it is being given.
3769# PARAMS is the parameter list in the macro definition--in most cases, it's
3770# just an empty string.
3771ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
3772ac_dB='\\)[ (].*,\\1define\\2'
3773ac_dC=' '
3774ac_dD=' ,'
3775
3776uniq confdefs.h |
3777 sed -n '
3778 t rset
3779 :rset
3780 s/^[ ]*#[ ]*define[ ][ ]*//
3781 t ok
3782 d
3783 :ok
3784 s/[\\&,]/\\&/g
3785 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
3786 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
3787 ' >>conftest.defines
3788
3789# Remove the space that was appended to ease matching.
3790# Then replace #undef with comments. This is necessary, for
3791# example, in the case of _POSIX_SOURCE, which is predefined and required
3792# on some systems where configure will not decide to define it.
3793# (The regexp can be short, since the line contains either #define or #undef.)
3794echo 's/ $//
3795s,^[ #]*u.*,/* & */,' >>conftest.defines
3796
3797# Break up conftest.defines:
3798ac_max_sed_lines=50
3799
3800# First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
3801# Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
3802# Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
3803# et cetera.
3804ac_in='$ac_file_inputs'
3805ac_out='"$tmp/out1"'
3806ac_nxt='"$tmp/out2"'
3807
3808while :
3809do
3810 # Write a here document:
3811 cat >>$CONFIG_STATUS <<_ACEOF
3812 # First, check the format of the line:
3813 cat >"\$tmp/defines.sed" <<\\CEOF
3814/^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
3815/^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
3816b
3817:def
3818_ACEOF
3819 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
3820 echo 'CEOF
3821 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
3822 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
3823 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
3824 grep . conftest.tail >/dev/null || break
3825 rm -f conftest.defines
3826 mv conftest.tail conftest.defines
3827done
3828rm -f conftest.defines conftest.tail
3829
3830echo "ac_result=$ac_in" >>$CONFIG_STATUS
3831cat >>$CONFIG_STATUS <<\_ACEOF
3832 if test x"$ac_file" != x-; then 3740 if test x"$ac_file" != x-; then
3741 {
3833 echo "/* $configure_input */" >"$tmp/config.h" 3742 $as_echo "/* $configure_input */" \
3834 cat "$ac_result" >>"$tmp/config.h" 3743 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
3744 } >"$tmp/config.h" \
3745 || as_fn_error "could not create $ac_file" "$LINENO" 5
3835 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then 3746 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
3836 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5 3747 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3837echo "$as_me: $ac_file is unchanged" >&6;} 3748$as_echo "$as_me: $ac_file is unchanged" >&6;}
3838 else 3749 else
3839 rm -f $ac_file 3750 rm -f "$ac_file"
3840 mv "$tmp/config.h" $ac_file 3751 mv "$tmp/config.h" "$ac_file" \
3752 || as_fn_error "could not create $ac_file" "$LINENO" 5
3841 fi 3753 fi
3842 else 3754 else
3843 echo "/* $configure_input */" 3755 $as_echo "/* $configure_input */" \
3844 cat "$ac_result" 3756 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
3757 || as_fn_error "could not create -" "$LINENO" 5
3845 fi 3758 fi
3846 rm -f "$tmp/out12"
3847 ;; 3759 ;;
3848 3760
3849 3761
3850 esac 3762 esac
3851 3763
3852done # for ac_tag 3764done # for ac_tag
3853 3765
3854 3766
3855{ (exit 0); exit 0; } 3767as_fn_exit 0
3856_ACEOF 3768_ACEOF
3857chmod +x $CONFIG_STATUS
3858ac_clean_files=$ac_clean_files_save 3769ac_clean_files=$ac_clean_files_save
3770
3771test $ac_write_fail = 0 ||
3772 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
3859 3773
3860 3774
3861# configure is writing to config.log, and then calls config.status. 3775# configure is writing to config.log, and then calls config.status.
3862# config.status does its own redirection, appending to config.log. 3776# config.status does its own redirection, appending to config.log.
3863# Unfortunately, on DOS this fails, as config.log is still kept open 3777# Unfortunately, on DOS this fails, as config.log is still kept open
3874 exec 5>/dev/null 3788 exec 5>/dev/null
3875 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false 3789 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3876 exec 5>>config.log 3790 exec 5>>config.log
3877 # Use ||, not &&, to avoid exiting from the if with $? = 1, which 3791 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3878 # would make configure fail if this is the last instruction. 3792 # would make configure fail if this is the last instruction.
3879 $ac_cs_success || { (exit 1); exit 1; } 3793 $ac_cs_success || as_fn_exit $?
3880fi 3794fi
3795if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3796 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3797$as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3798fi
3881 3799

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines