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

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

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines