ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/configure
Revision: 1.8
Committed: Wed Dec 1 04:43:12 2010 UTC (13 years, 5 months ago) by root
Branch: MAIN
Changes since 1.7: +267 -159 lines
Log Message:
*** empty log message ***

File Contents

# User Rev Content
1 root 1.1 #! /bin/sh
2     # Guess values for system-dependent variables and create Makefiles.
3 root 1.8 # Generated by GNU Autoconf 2.67.
4     #
5 root 1.1 #
6     # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 root 1.8 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 root 1.7 # Foundation, Inc.
9     #
10 root 1.8 #
11 root 1.1 # This configure script is free software; the Free Software Foundation
12     # gives unlimited permission to copy, distribute and modify it.
13 root 1.7 ## -------------------- ##
14     ## M4sh Initialization. ##
15     ## -------------------- ##
16 root 1.1
17     # Be more Bourne compatible
18     DUALCASE=1; export DUALCASE # for MKS sh
19 root 1.7 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 root 1.1 emulate sh
21     NULLCMD=:
22 root 1.7 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 root 1.1 # is contrary to our usage. Disable this feature.
24     alias -g '${1+"$@"}'='"$@"'
25     setopt NO_GLOB_SUBST
26     else
27 root 1.7 case `(set -o) 2>/dev/null` in #(
28     *posix*) :
29     set -o posix ;; #(
30     *) :
31     ;;
32 root 1.1 esac
33     fi
34    
35    
36 root 1.7 as_nl='
37     '
38     export as_nl
39     # Printing a long string crashes Solaris 7 /usr/bin/printf.
40     as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41     as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42     as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43     # Prefer a ksh shell builtin over an external printf program on Solaris,
44     # but without wasting forks for bash or zsh.
45     if 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 --'
49     elif (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'
52     else
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 root 1.1 else
57 root 1.7 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 root 1.1 fi
70 root 1.7 export as_echo_body
71     as_echo='sh -c $as_echo_body as_echo'
72 root 1.1 fi
73    
74 root 1.7 # The user is always right.
75     if test "${PATH_SEPARATOR+set}" != set; then
76     PATH_SEPARATOR=:
77     (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79     PATH_SEPARATOR=';'
80     }
81 root 1.1 fi
82    
83    
84     # IFS
85     # We need space, tab and new line, in precisely that order. Quoting is
86     # there to prevent editors from complaining about space-tab.
87     # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88     # splitting by setting IFS to empty value.)
89     IFS=" "" $as_nl"
90    
91     # Find who we are. Look in the path if we contain no directory separator.
92 root 1.7 case $0 in #((
93 root 1.1 *[\\/]* ) as_myself=$0 ;;
94     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
95     for as_dir in $PATH
96     do
97     IFS=$as_save_IFS
98     test -z "$as_dir" && as_dir=.
99 root 1.7 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
100     done
101 root 1.1 IFS=$as_save_IFS
102    
103     ;;
104     esac
105     # We did not find ourselves, most probably we were run as `sh COMMAND'
106     # in which case we are not to be found in the path.
107     if test "x$as_myself" = x; then
108     as_myself=$0
109     fi
110     if test ! -f "$as_myself"; then
111 root 1.7 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
112     exit 1
113 root 1.1 fi
114    
115 root 1.7 # 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.
119     for as_var in BASH_ENV ENV MAIL MAILPATH
120     do eval test x\${$as_var+set} = xset \
121     && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
122 root 1.1 done
123     PS1='$ '
124     PS2='> '
125     PS4='+ '
126    
127     # NLS nuisances.
128 root 1.7 LC_ALL=C
129     export LC_ALL
130     LANGUAGE=C
131     export LANGUAGE
132 root 1.1
133     # CDPATH.
134 root 1.7 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 root 1.1
136     if test "x$CONFIG_SHELL" = x; then
137 root 1.7 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
144 root 1.1 else
145 root 1.7 case \`(set -o) 2>/dev/null\` in #(
146     *posix*) :
147     set -o posix ;; #(
148     *) :
149     ;;
150     esac
151 root 1.1 fi
152 root 1.7 "
153     as_required="as_fn_return () { (exit \$1); }
154     as_fn_success () { as_fn_return 0; }
155     as_fn_failure () { as_fn_return 1; }
156     as_fn_ret_success () { return 0; }
157     as_fn_ret_failure () { return 1; }
158 root 1.1
159     exitcode=0
160 root 1.7 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161     as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162     as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163     as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164     if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 root 1.1
166     else
167 root 1.7 exitcode=1; echo positional parameters were not saved.
168     fi
169     test 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
176 root 1.1 else
177 root 1.7 as_have_required=no
178 root 1.1 fi
179 root 1.7 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 root 1.1
181     else
182 root 1.7 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183     as_found=false
184 root 1.1 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185     do
186     IFS=$as_save_IFS
187     test -z "$as_dir" && as_dir=.
188 root 1.7 as_found=:
189     case $as_dir in #(
190 root 1.1 /*)
191     for as_base in sh bash ksh sh5; do
192 root 1.7 # 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
199     fi
200     fi
201 root 1.1 done;;
202     esac
203 root 1.7 as_found=false
204 root 1.1 done
205 root 1.7 $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
208     fi; }
209 root 1.1 IFS=$as_save_IFS
210    
211    
212 root 1.7 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+"$@"}
221     fi
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."
229     else
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."
234     fi
235     exit 1
236     fi
237 root 1.1 fi
238     fi
239 root 1.7 SHELL=${CONFIG_SHELL-/bin/sh}
240     export SHELL
241     # Unset more variables known to interfere with behavior of common tools.
242     CLICOLOR_FORCE= GREP_OPTIONS=
243     unset CLICOLOR_FORCE GREP_OPTIONS
244 root 1.1
245 root 1.7 ## --------------------- ##
246     ## M4sh Shell Functions. ##
247     ## --------------------- ##
248     # as_fn_unset VAR
249     # ---------------
250     # Portably unset VAR.
251     as_fn_unset ()
252     {
253     { eval $1=; unset $1;}
254     }
255     as_unset=as_fn_unset
256    
257     # as_fn_set_status STATUS
258     # -----------------------
259     # Set $? to STATUS, without forking.
260     as_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.
268     as_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.
278     as_fn_mkdir_p ()
279     {
280 root 1.1
281 root 1.7 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 root 1.8 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
319 root 1.1
320    
321 root 1.7 } # 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.
328     if (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     }'
333 root 1.1 else
334 root 1.7 as_fn_append ()
335     {
336     eval $1=\$$1\$2
337     }
338     fi # 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.
345     if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
346     eval 'as_fn_arith ()
347     {
348     as_val=$(( $* ))
349     }'
350 root 1.1 else
351 root 1.7 as_fn_arith ()
352     {
353     as_val=`expr "$@" || test $? -eq 1`
354     }
355     fi # as_fn_arith
356    
357    
358 root 1.8 # as_fn_error STATUS ERROR [LINENO LOG_FD]
359     # ----------------------------------------
360 root 1.7 # 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 root 1.8 # script with STATUS, using 1 if that was 0.
363 root 1.7 as_fn_error ()
364     {
365 root 1.8 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 root 1.7 fi
370 root 1.8 $as_echo "$as_me: error: $2" >&2
371 root 1.7 as_fn_exit $as_status
372     } # as_fn_error
373 root 1.1
374 root 1.7 if expr a : '\(a\)' >/dev/null 2>&1 &&
375     test "X`expr 00001 : '.*\(...\)'`" = X001; then
376     as_expr=expr
377 root 1.1 else
378 root 1.7 as_expr=false
379 root 1.1 fi
380    
381 root 1.7 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
382     as_basename=basename
383 root 1.1 else
384 root 1.7 as_basename=false
385 root 1.1 fi
386    
387 root 1.7 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
388     as_dirname=dirname
389 root 1.1 else
390 root 1.7 as_dirname=false
391 root 1.1 fi
392    
393 root 1.7 as_me=`$as_basename -- "$0" ||
394     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395     X"$0" : 'X\(//\)$' \| \
396     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397     $as_echo X/"$0" |
398     sed '/^.*\/\([^/][^/]*\)\/*$/{
399     s//\1/
400     q
401     }
402     /^X\/\(\/\/\)$/{
403     s//\1/
404     q
405     }
406     /^X\/\(\/\).*/{
407     s//\1/
408     q
409     }
410     s/.*/./; q'`
411 root 1.1
412 root 1.7 # Avoid depending upon Character Ranges.
413     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416     as_cr_digits='0123456789'
417     as_cr_alnum=$as_cr_Letters$as_cr_digits
418 root 1.1
419    
420 root 1.7 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421     as_lineno_2=$LINENO as_lineno_2a=$LINENO
422     eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423     test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424     # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
425 root 1.1 sed -n '
426     p
427     /[$]LINENO/=
428     ' <$as_myself |
429     sed '
430     s/[$]LINENO.*/&-/
431     t lineno
432     b
433     :lineno
434     N
435     :loop
436     s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
437     t loop
438     s/-\n.*//
439     ' >$as_me.lineno &&
440     chmod +x "$as_me.lineno" ||
441 root 1.7 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 root 1.1
443     # Don't try to exec as it changes $[0], causing all sort of problems
444     # (the dirname of $[0] is not the place where we might find the
445     # original and so on. Autoconf is especially sensitive to this).
446     . "./$as_me.lineno"
447     # Exit status is that of the last command.
448     exit
449     }
450    
451     ECHO_C= ECHO_N= ECHO_T=
452 root 1.7 case `echo -n x` in #(((((
453 root 1.1 -n*)
454 root 1.7 case `echo 'xy\c'` in
455 root 1.1 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 root 1.7 xy) ECHO_C='\c';;
457     *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
458     ECHO_T=' ';;
459 root 1.1 esac;;
460     *)
461     ECHO_N='-n';;
462     esac
463    
464     rm -f conf$$ conf$$.exe conf$$.file
465     if test -d conf$$.dir; then
466     rm -f conf$$.dir/conf$$.file
467     else
468     rm -f conf$$.dir
469 root 1.7 mkdir conf$$.dir 2>/dev/null
470 root 1.1 fi
471 root 1.7 if (echo >conf$$.file) 2>/dev/null; then
472     if ln -s conf$$.file conf$$ 2>/dev/null; then
473     as_ln_s='ln -s'
474     # ... but there are two gotchas:
475     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477     # In both cases, we have to default to `cp -p'.
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
483 root 1.1 as_ln_s='cp -p'
484 root 1.7 fi
485 root 1.1 else
486     as_ln_s='cp -p'
487     fi
488     rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489     rmdir conf$$.dir 2>/dev/null
490    
491     if mkdir -p . 2>/dev/null; then
492 root 1.7 as_mkdir_p='mkdir -p "$as_dir"'
493 root 1.1 else
494     test -d ./-p && rmdir ./-p
495     as_mkdir_p=false
496     fi
497    
498     if test -x / >/dev/null 2>&1; then
499     as_test_x='test -x'
500     else
501     if ls -dL / >/dev/null 2>&1; then
502     as_ls_L_option=L
503     else
504     as_ls_L_option=
505     fi
506     as_test_x='
507     eval sh -c '\''
508     if test -d "$1"; then
509 root 1.7 test -d "$1/.";
510 root 1.1 else
511 root 1.7 case $1 in #(
512     -*)set "./$1";;
513 root 1.1 esac;
514 root 1.7 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
515 root 1.1 ???[sx]*):;;*)false;;esac;fi
516     '\'' sh
517     '
518     fi
519     as_executable_p=$as_test_x
520    
521     # Sed expression to map a string onto a valid CPP name.
522     as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523    
524     # Sed expression to map a string onto a valid variable name.
525     as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526    
527    
528 root 1.8 test -n "$DJDIR" || exec 7<&0 </dev/null
529     exec 6>&1
530 root 1.1
531     # Name of the host.
532 root 1.8 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
533 root 1.1 # so uname gets run too.
534     ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
535    
536     #
537     # Initializations.
538     #
539     ac_default_prefix=/usr/local
540     ac_clean_files=
541     ac_config_libobj_dir=.
542     LIBOBJS=
543     cross_compiling=no
544     subdirs=
545     MFLAGS=
546     MAKEFLAGS=
547    
548     # Identity of this package.
549     PACKAGE_NAME=
550     PACKAGE_TARNAME=
551 root 1.7 PACKAGE_VERSION=
552     PACKAGE_STRING=
553     PACKAGE_BUGREPORT=
554     PACKAGE_URL=
555    
556     ac_unique_file="libeio/eio.h"
557     ac_subst_vars='LTLIBOBJS
558     LIBOBJS
559     OBJEXT
560     EXEEXT
561     ac_ct_CC
562     CPPFLAGS
563     LDFLAGS
564     CFLAGS
565     CC
566     target_alias
567     host_alias
568     build_alias
569     LIBS
570     ECHO_T
571     ECHO_N
572     ECHO_C
573     DEFS
574     mandir
575     localedir
576     libdir
577     psdir
578     pdfdir
579     dvidir
580     htmldir
581     infodir
582     docdir
583     oldincludedir
584     includedir
585     localstatedir
586     sharedstatedir
587     sysconfdir
588     datadir
589     datarootdir
590     libexecdir
591     sbindir
592     bindir
593     program_transform_name
594     prefix
595     exec_prefix
596     PACKAGE_URL
597     PACKAGE_BUGREPORT
598     PACKAGE_STRING
599     PACKAGE_VERSION
600     PACKAGE_TARNAME
601     PACKAGE_NAME
602 root 1.1 PATH_SEPARATOR
603 root 1.7 SHELL'
604 root 1.1 ac_subst_files=''
605 root 1.7 ac_user_opts='
606     enable_option_checking
607     '
608 root 1.1 ac_precious_vars='build_alias
609     host_alias
610     target_alias
611     CC
612     CFLAGS
613     LDFLAGS
614     LIBS
615     CPPFLAGS'
616    
617    
618     # Initialize some variables set by options.
619     ac_init_help=
620     ac_init_version=false
621 root 1.7 ac_unrecognized_opts=
622     ac_unrecognized_sep=
623 root 1.1 # The variables have the same names as the options, with
624     # dashes changed to underlines.
625     cache_file=/dev/null
626     exec_prefix=NONE
627     no_create=
628     no_recursion=
629     prefix=NONE
630     program_prefix=NONE
631     program_suffix=NONE
632     program_transform_name=s,x,x,
633     silent=
634     site=
635     srcdir=
636     verbose=
637     x_includes=NONE
638     x_libraries=NONE
639    
640     # Installation directory options.
641     # These are left unexpanded so users can "make install exec_prefix=/foo"
642     # and all the variables that are supposed to be based on exec_prefix
643     # by default will actually change.
644     # Use braces instead of parens because sh, perl, etc. also accept them.
645     # (The list follows the same order as the GNU Coding Standards.)
646     bindir='${exec_prefix}/bin'
647     sbindir='${exec_prefix}/sbin'
648     libexecdir='${exec_prefix}/libexec'
649     datarootdir='${prefix}/share'
650     datadir='${datarootdir}'
651     sysconfdir='${prefix}/etc'
652     sharedstatedir='${prefix}/com'
653     localstatedir='${prefix}/var'
654     includedir='${prefix}/include'
655     oldincludedir='/usr/include'
656     docdir='${datarootdir}/doc/${PACKAGE}'
657     infodir='${datarootdir}/info'
658     htmldir='${docdir}'
659     dvidir='${docdir}'
660     pdfdir='${docdir}'
661     psdir='${docdir}'
662     libdir='${exec_prefix}/lib'
663     localedir='${datarootdir}/locale'
664     mandir='${datarootdir}/man'
665    
666     ac_prev=
667     ac_dashdash=
668     for ac_option
669     do
670     # If the previous option needs an argument, assign it.
671     if test -n "$ac_prev"; then
672     eval $ac_prev=\$ac_option
673     ac_prev=
674     continue
675     fi
676    
677     case $ac_option in
678 root 1.8 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
679     *=) ac_optarg= ;;
680     *) ac_optarg=yes ;;
681 root 1.1 esac
682    
683     # Accept the important Cygnus configure options, so we can diagnose typos.
684    
685     case $ac_dashdash$ac_option in
686     --)
687     ac_dashdash=yes ;;
688    
689     -bindir | --bindir | --bindi | --bind | --bin | --bi)
690     ac_prev=bindir ;;
691     -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
692     bindir=$ac_optarg ;;
693    
694     -build | --build | --buil | --bui | --bu)
695     ac_prev=build_alias ;;
696     -build=* | --build=* | --buil=* | --bui=* | --bu=*)
697     build_alias=$ac_optarg ;;
698    
699     -cache-file | --cache-file | --cache-fil | --cache-fi \
700     | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
701     ac_prev=cache_file ;;
702     -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
703     | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
704     cache_file=$ac_optarg ;;
705    
706     --config-cache | -C)
707     cache_file=config.cache ;;
708    
709     -datadir | --datadir | --datadi | --datad)
710     ac_prev=datadir ;;
711     -datadir=* | --datadir=* | --datadi=* | --datad=*)
712     datadir=$ac_optarg ;;
713    
714     -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
715     | --dataroo | --dataro | --datar)
716     ac_prev=datarootdir ;;
717     -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
718     | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
719     datarootdir=$ac_optarg ;;
720    
721     -disable-* | --disable-*)
722 root 1.7 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
723 root 1.1 # Reject names that are not valid shell variable names.
724 root 1.7 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
725 root 1.8 as_fn_error $? "invalid feature name: $ac_useropt"
726 root 1.7 ac_useropt_orig=$ac_useropt
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
735     eval enable_$ac_useropt=no ;;
736 root 1.1
737     -docdir | --docdir | --docdi | --doc | --do)
738     ac_prev=docdir ;;
739     -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
740     docdir=$ac_optarg ;;
741    
742     -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
743     ac_prev=dvidir ;;
744     -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
745     dvidir=$ac_optarg ;;
746    
747     -enable-* | --enable-*)
748 root 1.7 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
749 root 1.1 # Reject names that are not valid shell variable names.
750 root 1.7 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
751 root 1.8 as_fn_error $? "invalid feature name: $ac_useropt"
752 root 1.7 ac_useropt_orig=$ac_useropt
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
761     eval enable_$ac_useropt=\$ac_optarg ;;
762 root 1.1
763     -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
764     | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
765     | --exec | --exe | --ex)
766     ac_prev=exec_prefix ;;
767     -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
768     | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
769     | --exec=* | --exe=* | --ex=*)
770     exec_prefix=$ac_optarg ;;
771    
772     -gas | --gas | --ga | --g)
773     # Obsolete; use --with-gas.
774     with_gas=yes ;;
775    
776     -help | --help | --hel | --he | -h)
777     ac_init_help=long ;;
778     -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
779     ac_init_help=recursive ;;
780     -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
781     ac_init_help=short ;;
782    
783     -host | --host | --hos | --ho)
784     ac_prev=host_alias ;;
785     -host=* | --host=* | --hos=* | --ho=*)
786     host_alias=$ac_optarg ;;
787    
788     -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
789     ac_prev=htmldir ;;
790     -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
791     | --ht=*)
792     htmldir=$ac_optarg ;;
793    
794     -includedir | --includedir | --includedi | --included | --include \
795     | --includ | --inclu | --incl | --inc)
796     ac_prev=includedir ;;
797     -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
798     | --includ=* | --inclu=* | --incl=* | --inc=*)
799     includedir=$ac_optarg ;;
800    
801     -infodir | --infodir | --infodi | --infod | --info | --inf)
802     ac_prev=infodir ;;
803     -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
804     infodir=$ac_optarg ;;
805    
806     -libdir | --libdir | --libdi | --libd)
807     ac_prev=libdir ;;
808     -libdir=* | --libdir=* | --libdi=* | --libd=*)
809     libdir=$ac_optarg ;;
810    
811     -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
812     | --libexe | --libex | --libe)
813     ac_prev=libexecdir ;;
814     -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
815     | --libexe=* | --libex=* | --libe=*)
816     libexecdir=$ac_optarg ;;
817    
818     -localedir | --localedir | --localedi | --localed | --locale)
819     ac_prev=localedir ;;
820     -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
821     localedir=$ac_optarg ;;
822    
823     -localstatedir | --localstatedir | --localstatedi | --localstated \
824     | --localstate | --localstat | --localsta | --localst | --locals)
825     ac_prev=localstatedir ;;
826     -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
827     | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
828     localstatedir=$ac_optarg ;;
829    
830     -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
831     ac_prev=mandir ;;
832     -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
833     mandir=$ac_optarg ;;
834    
835     -nfp | --nfp | --nf)
836     # Obsolete; use --without-fp.
837     with_fp=no ;;
838    
839     -no-create | --no-create | --no-creat | --no-crea | --no-cre \
840     | --no-cr | --no-c | -n)
841     no_create=yes ;;
842    
843     -no-recursion | --no-recursion | --no-recursio | --no-recursi \
844     | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
845     no_recursion=yes ;;
846    
847     -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
848     | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
849     | --oldin | --oldi | --old | --ol | --o)
850     ac_prev=oldincludedir ;;
851     -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
852     | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
853     | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
854     oldincludedir=$ac_optarg ;;
855    
856     -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
857     ac_prev=prefix ;;
858     -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
859     prefix=$ac_optarg ;;
860    
861     -program-prefix | --program-prefix | --program-prefi | --program-pref \
862     | --program-pre | --program-pr | --program-p)
863     ac_prev=program_prefix ;;
864     -program-prefix=* | --program-prefix=* | --program-prefi=* \
865     | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
866     program_prefix=$ac_optarg ;;
867    
868     -program-suffix | --program-suffix | --program-suffi | --program-suff \
869     | --program-suf | --program-su | --program-s)
870     ac_prev=program_suffix ;;
871     -program-suffix=* | --program-suffix=* | --program-suffi=* \
872     | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
873     program_suffix=$ac_optarg ;;
874    
875     -program-transform-name | --program-transform-name \
876     | --program-transform-nam | --program-transform-na \
877     | --program-transform-n | --program-transform- \
878     | --program-transform | --program-transfor \
879     | --program-transfo | --program-transf \
880     | --program-trans | --program-tran \
881     | --progr-tra | --program-tr | --program-t)
882     ac_prev=program_transform_name ;;
883     -program-transform-name=* | --program-transform-name=* \
884     | --program-transform-nam=* | --program-transform-na=* \
885     | --program-transform-n=* | --program-transform-=* \
886     | --program-transform=* | --program-transfor=* \
887     | --program-transfo=* | --program-transf=* \
888     | --program-trans=* | --program-tran=* \
889     | --progr-tra=* | --program-tr=* | --program-t=*)
890     program_transform_name=$ac_optarg ;;
891    
892     -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
893     ac_prev=pdfdir ;;
894     -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
895     pdfdir=$ac_optarg ;;
896    
897     -psdir | --psdir | --psdi | --psd | --ps)
898     ac_prev=psdir ;;
899     -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
900     psdir=$ac_optarg ;;
901    
902     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
903     | -silent | --silent | --silen | --sile | --sil)
904     silent=yes ;;
905    
906     -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
907     ac_prev=sbindir ;;
908     -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
909     | --sbi=* | --sb=*)
910     sbindir=$ac_optarg ;;
911    
912     -sharedstatedir | --sharedstatedir | --sharedstatedi \
913     | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
914     | --sharedst | --shareds | --shared | --share | --shar \
915     | --sha | --sh)
916     ac_prev=sharedstatedir ;;
917     -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
918     | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
919     | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
920     | --sha=* | --sh=*)
921     sharedstatedir=$ac_optarg ;;
922    
923     -site | --site | --sit)
924     ac_prev=site ;;
925     -site=* | --site=* | --sit=*)
926     site=$ac_optarg ;;
927    
928     -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
929     ac_prev=srcdir ;;
930     -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
931     srcdir=$ac_optarg ;;
932    
933     -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
934     | --syscon | --sysco | --sysc | --sys | --sy)
935     ac_prev=sysconfdir ;;
936     -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
937     | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
938     sysconfdir=$ac_optarg ;;
939    
940     -target | --target | --targe | --targ | --tar | --ta | --t)
941     ac_prev=target_alias ;;
942     -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
943     target_alias=$ac_optarg ;;
944    
945     -v | -verbose | --verbose | --verbos | --verbo | --verb)
946     verbose=yes ;;
947    
948     -version | --version | --versio | --versi | --vers | -V)
949     ac_init_version=: ;;
950    
951     -with-* | --with-*)
952 root 1.7 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
953 root 1.1 # Reject names that are not valid shell variable names.
954 root 1.7 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
955 root 1.8 as_fn_error $? "invalid package name: $ac_useropt"
956 root 1.7 ac_useropt_orig=$ac_useropt
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
965     eval with_$ac_useropt=\$ac_optarg ;;
966 root 1.1
967     -without-* | --without-*)
968 root 1.7 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
969 root 1.1 # Reject names that are not valid shell variable names.
970 root 1.7 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
971 root 1.8 as_fn_error $? "invalid package name: $ac_useropt"
972 root 1.7 ac_useropt_orig=$ac_useropt
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
981     eval with_$ac_useropt=no ;;
982 root 1.1
983     --x)
984     # Obsolete; use --with-x.
985     with_x=yes ;;
986    
987     -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
988     | --x-incl | --x-inc | --x-in | --x-i)
989     ac_prev=x_includes ;;
990     -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
991     | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
992     x_includes=$ac_optarg ;;
993    
994     -x-libraries | --x-libraries | --x-librarie | --x-librari \
995     | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
996     ac_prev=x_libraries ;;
997     -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
998     | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
999     x_libraries=$ac_optarg ;;
1000    
1001 root 1.8 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1002     Try \`$0 --help' for more information"
1003 root 1.1 ;;
1004    
1005     *=*)
1006     ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1007     # Reject names that are not valid shell variable names.
1008 root 1.7 case $ac_envvar in #(
1009     '' | [0-9]* | *[!_$as_cr_alnum]* )
1010 root 1.8 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1011 root 1.7 esac
1012 root 1.1 eval $ac_envvar=\$ac_optarg
1013     export $ac_envvar ;;
1014    
1015     *)
1016     # FIXME: should be removed in autoconf 3.0.
1017 root 1.7 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1018 root 1.1 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1019 root 1.7 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1020 root 1.1 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1021     ;;
1022    
1023     esac
1024     done
1025    
1026     if test -n "$ac_prev"; then
1027     ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1028 root 1.8 as_fn_error $? "missing argument to $ac_option"
1029 root 1.7 fi
1030    
1031     if test -n "$ac_unrecognized_opts"; then
1032     case $enable_option_checking in
1033     no) ;;
1034 root 1.8 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1035 root 1.7 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1036     esac
1037 root 1.1 fi
1038    
1039 root 1.7 # Check all directory arguments for consistency.
1040 root 1.1 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1041     datadir sysconfdir sharedstatedir localstatedir includedir \
1042     oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1043     libdir localedir mandir
1044     do
1045     eval ac_val=\$$ac_var
1046 root 1.7 # 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.
1053 root 1.1 case $ac_val in
1054     [\\/$]* | ?:[\\/]* ) continue;;
1055     NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1056     esac
1057 root 1.8 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1058 root 1.1 done
1059    
1060     # There might be people who depend on the old broken behavior: `$host'
1061     # used to hold the argument of --host etc.
1062     # FIXME: To remove some day.
1063     build=$build_alias
1064     host=$host_alias
1065     target=$target_alias
1066    
1067     # FIXME: To remove some day.
1068     if test "x$host_alias" != x; then
1069     if test "x$build_alias" = x; then
1070     cross_compiling=maybe
1071 root 1.8 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1072     If a cross compiler is detected then cross compile mode will be used" >&2
1073 root 1.1 elif test "x$build_alias" != "x$host_alias"; then
1074     cross_compiling=yes
1075     fi
1076     fi
1077    
1078     ac_tool_prefix=
1079     test -n "$host_alias" && ac_tool_prefix=$host_alias-
1080    
1081     test "$silent" = yes && exec 6>/dev/null
1082    
1083    
1084     ac_pwd=`pwd` && test -n "$ac_pwd" &&
1085     ac_ls_di=`ls -di .` &&
1086     ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1087 root 1.8 as_fn_error $? "working directory cannot be determined"
1088 root 1.1 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1089 root 1.8 as_fn_error $? "pwd does not report name of working directory"
1090 root 1.1
1091    
1092     # Find the source files, if location was not specified.
1093     if test -z "$srcdir"; then
1094     ac_srcdir_defaulted=yes
1095     # Try the directory containing this script, then the parent directory.
1096 root 1.7 ac_confdir=`$as_dirname -- "$as_myself" ||
1097     $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1098     X"$as_myself" : 'X\(//\)[^/]' \| \
1099     X"$as_myself" : 'X\(//\)$' \| \
1100     X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1101     $as_echo X"$as_myself" |
1102 root 1.1 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1103     s//\1/
1104     q
1105     }
1106     /^X\(\/\/\)[^/].*/{
1107     s//\1/
1108     q
1109     }
1110     /^X\(\/\/\)$/{
1111     s//\1/
1112     q
1113     }
1114     /^X\(\/\).*/{
1115     s//\1/
1116     q
1117     }
1118     s/.*/./; q'`
1119     srcdir=$ac_confdir
1120     if test ! -r "$srcdir/$ac_unique_file"; then
1121     srcdir=..
1122     fi
1123     else
1124     ac_srcdir_defaulted=no
1125     fi
1126     if test ! -r "$srcdir/$ac_unique_file"; then
1127     test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1128 root 1.8 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1129 root 1.1 fi
1130     ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1131     ac_abs_confdir=`(
1132 root 1.8 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1133 root 1.1 pwd)`
1134     # When building in place, set srcdir=.
1135     if test "$ac_abs_confdir" = "$ac_pwd"; then
1136     srcdir=.
1137     fi
1138     # Remove unnecessary trailing slashes from srcdir.
1139     # Double slashes in file names in object file debugging info
1140     # mess up M-x gdb in Emacs.
1141     case $srcdir in
1142     */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1143     esac
1144     for ac_var in $ac_precious_vars; do
1145     eval ac_env_${ac_var}_set=\${${ac_var}+set}
1146     eval ac_env_${ac_var}_value=\$${ac_var}
1147     eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1148     eval ac_cv_env_${ac_var}_value=\$${ac_var}
1149     done
1150    
1151     #
1152     # Report the --help message.
1153     #
1154     if test "$ac_init_help" = "long"; then
1155     # Omit some internal or obsolete options to make the list less imposing.
1156     # This message is too long to be a string in the A/UX 3.1 sh.
1157     cat <<_ACEOF
1158     \`configure' configures this package to adapt to many kinds of systems.
1159    
1160     Usage: $0 [OPTION]... [VAR=VALUE]...
1161    
1162     To assign environment variables (e.g., CC, CFLAGS...), specify them as
1163     VAR=VALUE. See below for descriptions of some of the useful variables.
1164    
1165     Defaults for the options are specified in brackets.
1166    
1167     Configuration:
1168     -h, --help display this help and exit
1169     --help=short display options specific to this package
1170     --help=recursive display the short help of all the included packages
1171     -V, --version display version information and exit
1172 root 1.8 -q, --quiet, --silent do not print \`checking ...' messages
1173 root 1.1 --cache-file=FILE cache test results in FILE [disabled]
1174     -C, --config-cache alias for \`--cache-file=config.cache'
1175     -n, --no-create do not create output files
1176     --srcdir=DIR find the sources in DIR [configure dir or \`..']
1177    
1178     Installation directories:
1179     --prefix=PREFIX install architecture-independent files in PREFIX
1180 root 1.7 [$ac_default_prefix]
1181 root 1.1 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1182 root 1.7 [PREFIX]
1183 root 1.1
1184     By default, \`make install' will install all the files in
1185     \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1186     an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1187     for instance \`--prefix=\$HOME'.
1188    
1189     For better control, use the options below.
1190    
1191     Fine tuning of the installation directories:
1192 root 1.7 --bindir=DIR user executables [EPREFIX/bin]
1193     --sbindir=DIR system admin executables [EPREFIX/sbin]
1194     --libexecdir=DIR program executables [EPREFIX/libexec]
1195     --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1196     --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1197     --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1198     --libdir=DIR object code libraries [EPREFIX/lib]
1199     --includedir=DIR C header files [PREFIX/include]
1200     --oldincludedir=DIR C header files for non-gcc [/usr/include]
1201     --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1202     --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1203     --infodir=DIR info documentation [DATAROOTDIR/info]
1204     --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1205     --mandir=DIR man documentation [DATAROOTDIR/man]
1206     --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1207     --htmldir=DIR html documentation [DOCDIR]
1208     --dvidir=DIR dvi documentation [DOCDIR]
1209     --pdfdir=DIR pdf documentation [DOCDIR]
1210     --psdir=DIR ps documentation [DOCDIR]
1211 root 1.1 _ACEOF
1212    
1213     cat <<\_ACEOF
1214     _ACEOF
1215     fi
1216    
1217     if test -n "$ac_init_help"; then
1218    
1219     cat <<\_ACEOF
1220    
1221     Some influential environment variables:
1222     CC C compiler command
1223     CFLAGS C compiler flags
1224     LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1225     nonstandard directory <lib dir>
1226     LIBS libraries to pass to the linker, e.g. -l<library>
1227 root 1.8 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1228 root 1.1 you have headers in a nonstandard directory <include dir>
1229    
1230     Use these variables to override the choices made by `configure' or to help
1231     it to find libraries and programs with nonstandard names/locations.
1232    
1233 root 1.7 Report bugs to the package provider.
1234 root 1.1 _ACEOF
1235     ac_status=$?
1236     fi
1237    
1238     if test "$ac_init_help" = "recursive"; then
1239     # If there are subdirs, report their specific --help.
1240     for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1241 root 1.7 test -d "$ac_dir" ||
1242     { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1243     continue
1244 root 1.1 ac_builddir=.
1245    
1246     case "$ac_dir" in
1247     .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1248     *)
1249 root 1.7 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1250 root 1.1 # A ".." for each directory in $ac_dir_suffix.
1251 root 1.7 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1252 root 1.1 case $ac_top_builddir_sub in
1253     "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1254     *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1255     esac ;;
1256     esac
1257     ac_abs_top_builddir=$ac_pwd
1258     ac_abs_builddir=$ac_pwd$ac_dir_suffix
1259     # for backward compatibility:
1260     ac_top_builddir=$ac_top_build_prefix
1261    
1262     case $srcdir in
1263     .) # We are building in place.
1264     ac_srcdir=.
1265     ac_top_srcdir=$ac_top_builddir_sub
1266     ac_abs_top_srcdir=$ac_pwd ;;
1267     [\\/]* | ?:[\\/]* ) # Absolute name.
1268     ac_srcdir=$srcdir$ac_dir_suffix;
1269     ac_top_srcdir=$srcdir
1270     ac_abs_top_srcdir=$srcdir ;;
1271     *) # Relative name.
1272     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1273     ac_top_srcdir=$ac_top_build_prefix$srcdir
1274     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1275     esac
1276     ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1277    
1278     cd "$ac_dir" || { ac_status=$?; continue; }
1279     # Check for guested configure.
1280     if test -f "$ac_srcdir/configure.gnu"; then
1281     echo &&
1282     $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1283     elif test -f "$ac_srcdir/configure"; then
1284     echo &&
1285     $SHELL "$ac_srcdir/configure" --help=recursive
1286     else
1287 root 1.7 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1288 root 1.1 fi || ac_status=$?
1289     cd "$ac_pwd" || { ac_status=$?; break; }
1290     done
1291     fi
1292    
1293     test -n "$ac_init_help" && exit $ac_status
1294     if $ac_init_version; then
1295     cat <<\_ACEOF
1296     configure
1297 root 1.8 generated by GNU Autoconf 2.67
1298 root 1.1
1299 root 1.8 Copyright (C) 2010 Free Software Foundation, Inc.
1300 root 1.1 This configure script is free software; the Free Software Foundation
1301     gives unlimited permission to copy, distribute and modify it.
1302     _ACEOF
1303     exit
1304     fi
1305 root 1.7
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.
1313     ac_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"
1318     case "(($ac_try" in
1319     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1320     *) ac_try_echo=$ac_try;;
1321     esac
1322     eval 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
1337     else
1338     $as_echo "$as_me: failed program was:" >&5
1339     sed 's/^/| /' conftest.$ac_ext >&5
1340    
1341     ac_retval=1
1342     fi
1343     eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1344 root 1.8 as_fn_set_status $ac_retval
1345 root 1.7
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.
1351     ac_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"
1356     case "(($ac_try" in
1357     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1358     *) ac_try_echo=$ac_try;;
1359     esac
1360     eval 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
1378     else
1379     $as_echo "$as_me: failed program was:" >&5
1380     sed 's/^/| /' conftest.$ac_ext >&5
1381    
1382     ac_retval=1
1383     fi
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 root 1.8 as_fn_set_status $ac_retval
1391 root 1.7
1392     } # ac_fn_c_try_link
1393 root 1.1 cat >config.log <<_ACEOF
1394     This file contains any messages produced by compilers while
1395     running configure, to aid debugging if configure makes a mistake.
1396    
1397     It was created by $as_me, which was
1398 root 1.8 generated by GNU Autoconf 2.67. Invocation command line was
1399 root 1.1
1400     $ $0 $@
1401    
1402     _ACEOF
1403     exec 5>>config.log
1404     {
1405     cat <<_ASUNAME
1406     ## --------- ##
1407     ## Platform. ##
1408     ## --------- ##
1409    
1410     hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1411     uname -m = `(uname -m) 2>/dev/null || echo unknown`
1412     uname -r = `(uname -r) 2>/dev/null || echo unknown`
1413     uname -s = `(uname -s) 2>/dev/null || echo unknown`
1414     uname -v = `(uname -v) 2>/dev/null || echo unknown`
1415    
1416     /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1417     /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1418    
1419     /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1420     /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1421     /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1422     /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1423     /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1424     /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1425     /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1426    
1427     _ASUNAME
1428    
1429     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1430     for as_dir in $PATH
1431     do
1432     IFS=$as_save_IFS
1433     test -z "$as_dir" && as_dir=.
1434 root 1.7 $as_echo "PATH: $as_dir"
1435     done
1436 root 1.1 IFS=$as_save_IFS
1437    
1438     } >&5
1439    
1440     cat >&5 <<_ACEOF
1441    
1442    
1443     ## ----------- ##
1444     ## Core tests. ##
1445     ## ----------- ##
1446    
1447     _ACEOF
1448    
1449    
1450     # Keep a trace of the command line.
1451     # Strip out --no-create and --no-recursion so they do not pile up.
1452     # Strip out --silent because we don't want to record it for future runs.
1453     # Also quote any args containing shell meta-characters.
1454     # Make two passes to allow for proper duplicate-argument suppression.
1455     ac_configure_args=
1456     ac_configure_args0=
1457     ac_configure_args1=
1458     ac_must_keep_next=false
1459     for ac_pass in 1 2
1460     do
1461     for ac_arg
1462     do
1463     case $ac_arg in
1464     -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465     -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466     | -silent | --silent | --silen | --sile | --sil)
1467     continue ;;
1468     *\'*)
1469 root 1.7 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1470 root 1.1 esac
1471     case $ac_pass in
1472 root 1.7 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1473 root 1.1 2)
1474 root 1.7 as_fn_append ac_configure_args1 " '$ac_arg'"
1475 root 1.1 if test $ac_must_keep_next = true; then
1476     ac_must_keep_next=false # Got value, back to normal.
1477     else
1478     case $ac_arg in
1479     *=* | --config-cache | -C | -disable-* | --disable-* \
1480     | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481     | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482     | -with-* | --with-* | -without-* | --without-* | --x)
1483     case "$ac_configure_args0 " in
1484     "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1485     esac
1486     ;;
1487     -* ) ac_must_keep_next=true ;;
1488     esac
1489     fi
1490 root 1.7 as_fn_append ac_configure_args " '$ac_arg'"
1491 root 1.1 ;;
1492     esac
1493     done
1494     done
1495 root 1.7 { ac_configure_args0=; unset ac_configure_args0;}
1496     { ac_configure_args1=; unset ac_configure_args1;}
1497 root 1.1
1498     # When interrupted or exit'd, cleanup temporary files, and complete
1499     # config.log. We remove comments because anyway the quotes in there
1500     # would cause problems or look ugly.
1501     # WARNING: Use '\'' to represent an apostrophe within the trap.
1502     # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503     trap 'exit_status=$?
1504     # Save into config.log some information that might help in debugging.
1505     {
1506     echo
1507    
1508 root 1.8 $as_echo "## ---------------- ##
1509 root 1.1 ## Cache variables. ##
1510 root 1.8 ## ---------------- ##"
1511 root 1.1 echo
1512     # The following way of writing the cache mishandles newlines in values,
1513     (
1514     for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1515     eval ac_val=\$$ac_var
1516     case $ac_val in #(
1517     *${as_nl}*)
1518     case $ac_var in #(
1519 root 1.7 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1520     $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1521 root 1.1 esac
1522     case $ac_var in #(
1523     _ | IFS | as_nl) ;; #(
1524 root 1.7 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1525     *) { eval $ac_var=; unset $ac_var;} ;;
1526 root 1.1 esac ;;
1527     esac
1528     done
1529     (set) 2>&1 |
1530     case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1531     *${as_nl}ac_space=\ *)
1532     sed -n \
1533     "s/'\''/'\''\\\\'\'''\''/g;
1534     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1535     ;; #(
1536     *)
1537     sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1538     ;;
1539     esac |
1540     sort
1541     )
1542     echo
1543    
1544 root 1.8 $as_echo "## ----------------- ##
1545 root 1.1 ## Output variables. ##
1546 root 1.8 ## ----------------- ##"
1547 root 1.1 echo
1548     for ac_var in $ac_subst_vars
1549     do
1550     eval ac_val=\$$ac_var
1551     case $ac_val in
1552 root 1.7 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1553 root 1.1 esac
1554 root 1.7 $as_echo "$ac_var='\''$ac_val'\''"
1555 root 1.1 done | sort
1556     echo
1557    
1558     if test -n "$ac_subst_files"; then
1559 root 1.8 $as_echo "## ------------------- ##
1560 root 1.1 ## File substitutions. ##
1561 root 1.8 ## ------------------- ##"
1562 root 1.1 echo
1563     for ac_var in $ac_subst_files
1564     do
1565     eval ac_val=\$$ac_var
1566     case $ac_val in
1567 root 1.7 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1568 root 1.1 esac
1569 root 1.7 $as_echo "$ac_var='\''$ac_val'\''"
1570 root 1.1 done | sort
1571     echo
1572     fi
1573    
1574     if test -s confdefs.h; then
1575 root 1.8 $as_echo "## ----------- ##
1576 root 1.1 ## confdefs.h. ##
1577 root 1.8 ## ----------- ##"
1578 root 1.1 echo
1579     cat confdefs.h
1580     echo
1581     fi
1582     test "$ac_signal" != 0 &&
1583 root 1.7 $as_echo "$as_me: caught signal $ac_signal"
1584     $as_echo "$as_me: exit $exit_status"
1585 root 1.1 } >&5
1586     rm -f core *.core core.conftest.* &&
1587     rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1588     exit $exit_status
1589     ' 0
1590     for ac_signal in 1 2 13 15; do
1591 root 1.7 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1592 root 1.1 done
1593     ac_signal=0
1594    
1595     # confdefs.h avoids OS command line length limits that DEFS can exceed.
1596     rm -f -r conftest* confdefs.h
1597    
1598 root 1.7 $as_echo "/* confdefs.h */" > confdefs.h
1599    
1600 root 1.1 # Predefined preprocessor variables.
1601    
1602     cat >>confdefs.h <<_ACEOF
1603     #define PACKAGE_NAME "$PACKAGE_NAME"
1604     _ACEOF
1605    
1606     cat >>confdefs.h <<_ACEOF
1607     #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1608     _ACEOF
1609    
1610     cat >>confdefs.h <<_ACEOF
1611     #define PACKAGE_VERSION "$PACKAGE_VERSION"
1612     _ACEOF
1613    
1614     cat >>confdefs.h <<_ACEOF
1615     #define PACKAGE_STRING "$PACKAGE_STRING"
1616     _ACEOF
1617    
1618 root 1.7 cat >>confdefs.h <<_ACEOF
1619     #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1620     _ACEOF
1621 root 1.1
1622     cat >>confdefs.h <<_ACEOF
1623 root 1.7 #define PACKAGE_URL "$PACKAGE_URL"
1624 root 1.1 _ACEOF
1625    
1626    
1627     # Let the site file select an alternate cache file if it wants to.
1628 root 1.7 # Prefer an explicitly selected file to automatically selected ones.
1629     ac_site_file1=NONE
1630     ac_site_file2=NONE
1631 root 1.1 if test -n "$CONFIG_SITE"; then
1632 root 1.8 # 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
1638 root 1.1 elif test "x$prefix" != xNONE; then
1639 root 1.7 ac_site_file1=$prefix/share/config.site
1640     ac_site_file2=$prefix/etc/config.site
1641 root 1.1 else
1642 root 1.7 ac_site_file1=$ac_default_prefix/share/config.site
1643     ac_site_file2=$ac_default_prefix/etc/config.site
1644 root 1.1 fi
1645 root 1.7 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1646 root 1.1 do
1647 root 1.7 test "x$ac_site_file" = xNONE && continue
1648 root 1.8 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1649 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1650     $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1651 root 1.1 sed 's/^/| /' "$ac_site_file" >&5
1652 root 1.8 . "$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;}
1655     as_fn_error $? "failed to load site script $ac_site_file
1656     See \`config.log' for more details" "$LINENO" 5 ; }
1657 root 1.1 fi
1658     done
1659    
1660     if test -r "$cache_file"; then
1661 root 1.8 # Some versions of bash will fail to source /dev/null (special files
1662     # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1663     if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1664 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1665     $as_echo "$as_me: loading cache $cache_file" >&6;}
1666 root 1.1 case $cache_file in
1667     [\\/]* | ?:[\\/]* ) . "$cache_file";;
1668     *) . "./$cache_file";;
1669     esac
1670     fi
1671     else
1672 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1673     $as_echo "$as_me: creating cache $cache_file" >&6;}
1674 root 1.1 >$cache_file
1675     fi
1676    
1677     # Check that the precious variables saved in the cache have kept the same
1678     # value.
1679     ac_cache_corrupted=false
1680     for ac_var in $ac_precious_vars; do
1681     eval ac_old_set=\$ac_cv_env_${ac_var}_set
1682     eval ac_new_set=\$ac_env_${ac_var}_set
1683     eval ac_old_val=\$ac_cv_env_${ac_var}_value
1684     eval ac_new_val=\$ac_env_${ac_var}_value
1685     case $ac_old_set,$ac_new_set in
1686     set,)
1687 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1688     $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1689 root 1.1 ac_cache_corrupted=: ;;
1690     ,set)
1691 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1692     $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1693 root 1.1 ac_cache_corrupted=: ;;
1694     ,);;
1695     *)
1696     if test "x$ac_old_val" != "x$ac_new_val"; then
1697 root 1.7 # 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
1701     { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1702     $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
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;}
1713 root 1.1 fi;;
1714     esac
1715     # Pass precious variables to config.status.
1716     if test "$ac_new_set" = set; then
1717     case $ac_new_val in
1718 root 1.7 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1719 root 1.1 *) ac_arg=$ac_var=$ac_new_val ;;
1720     esac
1721     case " $ac_configure_args " in
1722     *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1723 root 1.7 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1724 root 1.1 esac
1725     fi
1726     done
1727     if $ac_cache_corrupted; then
1728 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1729     $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1730     { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1731     $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1732 root 1.8 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1733 root 1.7 fi
1734     ## -------------------- ##
1735     ## Main body of script. ##
1736     ## -------------------- ##
1737 root 1.1
1738     ac_ext=c
1739     ac_cpp='$CPP $CPPFLAGS'
1740     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1741     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1742     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1743    
1744    
1745    
1746     ac_config_headers="$ac_config_headers libeio/config.h"
1747    
1748    
1749     ac_ext=c
1750     ac_cpp='$CPP $CPPFLAGS'
1751     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1752     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1753     ac_compiler_gnu=$ac_cv_c_compiler_gnu
1754     if test -n "$ac_tool_prefix"; then
1755     # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1756     set dummy ${ac_tool_prefix}gcc; ac_word=$2
1757 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1758     $as_echo_n "checking for $ac_word... " >&6; }
1759     if test "${ac_cv_prog_CC+set}" = set; then :
1760     $as_echo_n "(cached) " >&6
1761 root 1.1 else
1762     if test -n "$CC"; then
1763     ac_cv_prog_CC="$CC" # Let the user override the test.
1764     else
1765     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1766     for as_dir in $PATH
1767     do
1768     IFS=$as_save_IFS
1769     test -z "$as_dir" && as_dir=.
1770 root 1.7 for ac_exec_ext in '' $ac_executable_extensions; do
1771 root 1.1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1772     ac_cv_prog_CC="${ac_tool_prefix}gcc"
1773 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1774 root 1.1 break 2
1775     fi
1776     done
1777 root 1.7 done
1778 root 1.1 IFS=$as_save_IFS
1779    
1780     fi
1781     fi
1782     CC=$ac_cv_prog_CC
1783     if test -n "$CC"; then
1784 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1785     $as_echo "$CC" >&6; }
1786 root 1.1 else
1787 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1788     $as_echo "no" >&6; }
1789 root 1.1 fi
1790    
1791    
1792     fi
1793     if test -z "$ac_cv_prog_CC"; then
1794     ac_ct_CC=$CC
1795     # Extract the first word of "gcc", so it can be a program name with args.
1796     set dummy gcc; ac_word=$2
1797 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1798     $as_echo_n "checking for $ac_word... " >&6; }
1799     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1800     $as_echo_n "(cached) " >&6
1801 root 1.1 else
1802     if test -n "$ac_ct_CC"; then
1803     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1804     else
1805     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1806     for as_dir in $PATH
1807     do
1808     IFS=$as_save_IFS
1809     test -z "$as_dir" && as_dir=.
1810 root 1.7 for ac_exec_ext in '' $ac_executable_extensions; do
1811 root 1.1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1812     ac_cv_prog_ac_ct_CC="gcc"
1813 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1814 root 1.1 break 2
1815     fi
1816     done
1817 root 1.7 done
1818 root 1.1 IFS=$as_save_IFS
1819    
1820     fi
1821     fi
1822     ac_ct_CC=$ac_cv_prog_ac_ct_CC
1823     if test -n "$ac_ct_CC"; then
1824 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1825     $as_echo "$ac_ct_CC" >&6; }
1826 root 1.1 else
1827 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1828     $as_echo "no" >&6; }
1829 root 1.1 fi
1830    
1831     if test "x$ac_ct_CC" = x; then
1832     CC=""
1833     else
1834     case $cross_compiling:$ac_tool_warned in
1835     yes:)
1836 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1837     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1838 root 1.1 ac_tool_warned=yes ;;
1839     esac
1840     CC=$ac_ct_CC
1841     fi
1842     else
1843     CC="$ac_cv_prog_CC"
1844     fi
1845    
1846     if test -z "$CC"; then
1847     if test -n "$ac_tool_prefix"; then
1848     # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1849     set dummy ${ac_tool_prefix}cc; ac_word=$2
1850 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1851     $as_echo_n "checking for $ac_word... " >&6; }
1852     if test "${ac_cv_prog_CC+set}" = set; then :
1853     $as_echo_n "(cached) " >&6
1854 root 1.1 else
1855     if test -n "$CC"; then
1856     ac_cv_prog_CC="$CC" # Let the user override the test.
1857     else
1858     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1859     for as_dir in $PATH
1860     do
1861     IFS=$as_save_IFS
1862     test -z "$as_dir" && as_dir=.
1863 root 1.7 for ac_exec_ext in '' $ac_executable_extensions; do
1864 root 1.1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1865     ac_cv_prog_CC="${ac_tool_prefix}cc"
1866 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1867 root 1.1 break 2
1868     fi
1869     done
1870 root 1.7 done
1871 root 1.1 IFS=$as_save_IFS
1872    
1873     fi
1874     fi
1875     CC=$ac_cv_prog_CC
1876     if test -n "$CC"; then
1877 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1878     $as_echo "$CC" >&6; }
1879 root 1.1 else
1880 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1881     $as_echo "no" >&6; }
1882 root 1.1 fi
1883    
1884    
1885     fi
1886     fi
1887     if test -z "$CC"; then
1888     # Extract the first word of "cc", so it can be a program name with args.
1889     set dummy cc; ac_word=$2
1890 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1891     $as_echo_n "checking for $ac_word... " >&6; }
1892     if test "${ac_cv_prog_CC+set}" = set; then :
1893     $as_echo_n "(cached) " >&6
1894 root 1.1 else
1895     if test -n "$CC"; then
1896     ac_cv_prog_CC="$CC" # Let the user override the test.
1897     else
1898     ac_prog_rejected=no
1899     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1900     for as_dir in $PATH
1901     do
1902     IFS=$as_save_IFS
1903     test -z "$as_dir" && as_dir=.
1904 root 1.7 for ac_exec_ext in '' $ac_executable_extensions; do
1905 root 1.1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1906     if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1907     ac_prog_rejected=yes
1908     continue
1909     fi
1910     ac_cv_prog_CC="cc"
1911 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1912 root 1.1 break 2
1913     fi
1914     done
1915 root 1.7 done
1916 root 1.1 IFS=$as_save_IFS
1917    
1918     if test $ac_prog_rejected = yes; then
1919     # We found a bogon in the path, so make sure we never use it.
1920     set dummy $ac_cv_prog_CC
1921     shift
1922     if test $# != 0; then
1923     # We chose a different compiler from the bogus one.
1924     # However, it has the same basename, so the bogon will be chosen
1925     # first if we set CC to just the basename; use the full file name.
1926     shift
1927     ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
1928     fi
1929     fi
1930     fi
1931     fi
1932     CC=$ac_cv_prog_CC
1933     if test -n "$CC"; then
1934 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1935     $as_echo "$CC" >&6; }
1936 root 1.1 else
1937 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1938     $as_echo "no" >&6; }
1939 root 1.1 fi
1940    
1941    
1942     fi
1943     if test -z "$CC"; then
1944     if test -n "$ac_tool_prefix"; then
1945     for ac_prog in cl.exe
1946     do
1947     # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
1948     set dummy $ac_tool_prefix$ac_prog; ac_word=$2
1949 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1950     $as_echo_n "checking for $ac_word... " >&6; }
1951     if test "${ac_cv_prog_CC+set}" = set; then :
1952     $as_echo_n "(cached) " >&6
1953 root 1.1 else
1954     if test -n "$CC"; then
1955     ac_cv_prog_CC="$CC" # Let the user override the test.
1956     else
1957     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1958     for as_dir in $PATH
1959     do
1960     IFS=$as_save_IFS
1961     test -z "$as_dir" && as_dir=.
1962 root 1.7 for ac_exec_ext in '' $ac_executable_extensions; do
1963 root 1.1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1964     ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
1965 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1966 root 1.1 break 2
1967     fi
1968     done
1969 root 1.7 done
1970 root 1.1 IFS=$as_save_IFS
1971    
1972     fi
1973     fi
1974     CC=$ac_cv_prog_CC
1975     if test -n "$CC"; then
1976 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1977     $as_echo "$CC" >&6; }
1978 root 1.1 else
1979 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1980     $as_echo "no" >&6; }
1981 root 1.1 fi
1982    
1983    
1984     test -n "$CC" && break
1985     done
1986     fi
1987     if test -z "$CC"; then
1988     ac_ct_CC=$CC
1989     for ac_prog in cl.exe
1990     do
1991     # Extract the first word of "$ac_prog", so it can be a program name with args.
1992     set dummy $ac_prog; ac_word=$2
1993 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1994     $as_echo_n "checking for $ac_word... " >&6; }
1995     if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1996     $as_echo_n "(cached) " >&6
1997 root 1.1 else
1998     if test -n "$ac_ct_CC"; then
1999     ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2000     else
2001     as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2002     for as_dir in $PATH
2003     do
2004     IFS=$as_save_IFS
2005     test -z "$as_dir" && as_dir=.
2006 root 1.7 for ac_exec_ext in '' $ac_executable_extensions; do
2007 root 1.1 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2008     ac_cv_prog_ac_ct_CC="$ac_prog"
2009 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2010 root 1.1 break 2
2011     fi
2012     done
2013 root 1.7 done
2014 root 1.1 IFS=$as_save_IFS
2015    
2016     fi
2017     fi
2018     ac_ct_CC=$ac_cv_prog_ac_ct_CC
2019     if test -n "$ac_ct_CC"; then
2020 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2021     $as_echo "$ac_ct_CC" >&6; }
2022 root 1.1 else
2023 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2024     $as_echo "no" >&6; }
2025 root 1.1 fi
2026    
2027    
2028     test -n "$ac_ct_CC" && break
2029     done
2030    
2031     if test "x$ac_ct_CC" = x; then
2032     CC=""
2033     else
2034     case $cross_compiling:$ac_tool_warned in
2035     yes:)
2036 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2037     $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2038 root 1.1 ac_tool_warned=yes ;;
2039     esac
2040     CC=$ac_ct_CC
2041     fi
2042     fi
2043    
2044     fi
2045    
2046    
2047 root 1.7 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2048     $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2049 root 1.8 as_fn_error $? "no acceptable C compiler found in \$PATH
2050     See \`config.log' for more details" "$LINENO" 5 ; }
2051 root 1.1
2052     # Provide some information about the compiler.
2053 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2054     set X $ac_compile
2055     ac_compiler=$2
2056     for ac_option in --version -v -V -qversion; do
2057     { { ac_try="$ac_compiler $ac_option >&5"
2058 root 1.1 case "(($ac_try" in
2059     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2060     *) ac_try_echo=$ac_try;;
2061     esac
2062 root 1.7 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2063     $as_echo "$ac_try_echo"; } >&5
2064     (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2065 root 1.1 ac_status=$?
2066 root 1.7 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 root 1.8 rm -f conftest.er1 conftest.err
2073 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2074     test $ac_status = 0; }
2075     done
2076 root 1.1
2077 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2078 root 1.1 /* end confdefs.h. */
2079 root 1.8
2080 root 1.1 int
2081     main ()
2082     {
2083    
2084     ;
2085     return 0;
2086     }
2087     _ACEOF
2088     ac_clean_files_save=$ac_clean_files
2089 root 1.8 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2090 root 1.1 # 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 root 1.8 { $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; }
2095 root 1.7 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2096    
2097     # The possible output files:
2098     ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2099    
2100 root 1.1 ac_rmfiles=
2101     for ac_file in $ac_files
2102     do
2103     case $ac_file in
2104 root 1.7 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2105 root 1.1 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2106     esac
2107     done
2108     rm -f $ac_rmfiles
2109    
2110 root 1.7 if { { ac_try="$ac_link_default"
2111 root 1.1 case "(($ac_try" in
2112     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2113     *) ac_try_echo=$ac_try;;
2114     esac
2115 root 1.7 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2116     $as_echo "$ac_try_echo"; } >&5
2117 root 1.1 (eval "$ac_link_default") 2>&5
2118     ac_status=$?
2119 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2120     test $ac_status = 0; }; then :
2121 root 1.1 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2122     # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2123     # in a Makefile. We should not override ac_cv_exeext if it was cached,
2124     # so that the user can short-circuit this test for compilers unknown to
2125     # Autoconf.
2126     for ac_file in $ac_files ''
2127     do
2128     test -f "$ac_file" || continue
2129     case $ac_file in
2130 root 1.7 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2131 root 1.1 ;;
2132     [ab].out )
2133     # We found the default executable, but exeext='' is most
2134     # certainly right.
2135     break;;
2136     *.* )
2137 root 1.7 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2138 root 1.1 then :; else
2139     ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2140     fi
2141     # We set ac_cv_exeext here because the later test for it is not
2142     # safe: cross compilers may not add the suffix if given an `-o'
2143     # argument, so we may need to know it at that point already.
2144     # Even if this section looks crufty: it has the advantage of
2145     # actually working.
2146     break;;
2147     * )
2148     break;;
2149     esac
2150     done
2151     test "$ac_cv_exeext" = no && ac_cv_exeext=
2152    
2153     else
2154     ac_file=''
2155     fi
2156 root 1.7 if test -z "$ac_file"; then :
2157 root 1.8 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2158     $as_echo "no" >&6; }
2159     $as_echo "$as_me: failed program was:" >&5
2160 root 1.1 sed 's/^/| /' conftest.$ac_ext >&5
2161    
2162 root 1.7 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2163     $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2164 root 1.8 as_fn_error 77 "C compiler cannot create executables
2165     See \`config.log' for more details" "$LINENO" 5 ; }
2166     else
2167     { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2168     $as_echo "yes" >&6; }
2169 root 1.1 fi
2170 root 1.8 { $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; }
2174 root 1.1 ac_exeext=$ac_cv_exeext
2175    
2176 root 1.8 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2177 root 1.1 ac_clean_files=$ac_clean_files_save
2178 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2179     $as_echo_n "checking for suffix of executables... " >&6; }
2180     if { { ac_try="$ac_link"
2181 root 1.1 case "(($ac_try" in
2182     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2183     *) ac_try_echo=$ac_try;;
2184     esac
2185 root 1.7 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2186     $as_echo "$ac_try_echo"; } >&5
2187 root 1.1 (eval "$ac_link") 2>&5
2188     ac_status=$?
2189 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2190     test $ac_status = 0; }; then :
2191 root 1.1 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2192     # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2193     # work properly (i.e., refer to `conftest.exe'), while it won't with
2194     # `rm'.
2195     for ac_file in conftest.exe conftest conftest.*; do
2196     test -f "$ac_file" || continue
2197     case $ac_file in
2198 root 1.7 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2199 root 1.1 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2200     break;;
2201     * ) break;;
2202     esac
2203     done
2204     else
2205 root 1.7 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2206     $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2207 root 1.8 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2208     See \`config.log' for more details" "$LINENO" 5 ; }
2209 root 1.1 fi
2210 root 1.8 rm -f conftest conftest$ac_cv_exeext
2211 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2212     $as_echo "$ac_cv_exeext" >&6; }
2213 root 1.1
2214     rm -f conftest.$ac_ext
2215     EXEEXT=$ac_cv_exeext
2216     ac_exeext=$EXEEXT
2217 root 1.8 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2218     /* end confdefs.h. */
2219     #include <stdio.h>
2220     int
2221     main ()
2222     {
2223     FILE *f = fopen ("conftest.out", "w");
2224     return ferror (f) || fclose (f) != 0;
2225    
2226     ;
2227     return 0;
2228     }
2229     _ACEOF
2230     ac_clean_files="$ac_clean_files conftest.out"
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; }
2235     if test "$cross_compiling" != yes; then
2236     { { ac_try="$ac_link"
2237     case "(($ac_try" in
2238     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2239     *) ac_try_echo=$ac_try;;
2240     esac
2241     eval 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;;
2251     esac
2252     eval 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;}
2265     as_fn_error $? "cannot run C compiled programs.
2266     If you meant to cross compile, use \`--host'.
2267     See \`config.log' for more details" "$LINENO" 5 ; }
2268     fi
2269     fi
2270     fi
2271     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2272     $as_echo "$cross_compiling" >&6; }
2273    
2274     rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2275     ac_clean_files=$ac_clean_files_save
2276 root 1.7 { $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; }
2278     if test "${ac_cv_objext+set}" = set; then :
2279     $as_echo_n "(cached) " >&6
2280 root 1.1 else
2281 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2282 root 1.1 /* end confdefs.h. */
2283    
2284     int
2285     main ()
2286     {
2287    
2288     ;
2289     return 0;
2290     }
2291     _ACEOF
2292     rm -f conftest.o conftest.obj
2293 root 1.7 if { { ac_try="$ac_compile"
2294 root 1.1 case "(($ac_try" in
2295     *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2296     *) ac_try_echo=$ac_try;;
2297     esac
2298 root 1.7 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2299     $as_echo "$ac_try_echo"; } >&5
2300 root 1.1 (eval "$ac_compile") 2>&5
2301     ac_status=$?
2302 root 1.7 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2303     test $ac_status = 0; }; then :
2304 root 1.1 for ac_file in conftest.o conftest.obj conftest.*; do
2305     test -f "$ac_file" || continue;
2306     case $ac_file in
2307 root 1.7 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2308 root 1.1 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2309     break;;
2310     esac
2311     done
2312     else
2313 root 1.7 $as_echo "$as_me: failed program was:" >&5
2314 root 1.1 sed 's/^/| /' conftest.$ac_ext >&5
2315    
2316 root 1.7 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2317     $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2318 root 1.8 as_fn_error $? "cannot compute suffix of object files: cannot compile
2319     See \`config.log' for more details" "$LINENO" 5 ; }
2320 root 1.1 fi
2321     rm -f conftest.$ac_cv_objext conftest.$ac_ext
2322     fi
2323 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2324     $as_echo "$ac_cv_objext" >&6; }
2325 root 1.1 OBJEXT=$ac_cv_objext
2326     ac_objext=$OBJEXT
2327 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2328     $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2329     if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2330     $as_echo_n "(cached) " >&6
2331 root 1.1 else
2332 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2333 root 1.1 /* end confdefs.h. */
2334    
2335     int
2336     main ()
2337     {
2338     #ifndef __GNUC__
2339     choke me
2340     #endif
2341    
2342     ;
2343     return 0;
2344     }
2345     _ACEOF
2346 root 1.7 if ac_fn_c_try_compile "$LINENO"; then :
2347 root 1.1 ac_compiler_gnu=yes
2348     else
2349 root 1.7 ac_compiler_gnu=no
2350 root 1.1 fi
2351     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2352     ac_cv_c_compiler_gnu=$ac_compiler_gnu
2353    
2354     fi
2355 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2356     $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2357     if test $ac_compiler_gnu = yes; then
2358     GCC=yes
2359     else
2360     GCC=
2361     fi
2362 root 1.1 ac_test_CFLAGS=${CFLAGS+set}
2363     ac_save_CFLAGS=$CFLAGS
2364 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2365     $as_echo_n "checking whether $CC accepts -g... " >&6; }
2366     if test "${ac_cv_prog_cc_g+set}" = set; then :
2367     $as_echo_n "(cached) " >&6
2368 root 1.1 else
2369     ac_save_c_werror_flag=$ac_c_werror_flag
2370     ac_c_werror_flag=yes
2371     ac_cv_prog_cc_g=no
2372     CFLAGS="-g"
2373 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2374 root 1.1 /* end confdefs.h. */
2375    
2376     int
2377     main ()
2378     {
2379    
2380     ;
2381     return 0;
2382     }
2383     _ACEOF
2384 root 1.7 if ac_fn_c_try_compile "$LINENO"; then :
2385 root 1.1 ac_cv_prog_cc_g=yes
2386     else
2387 root 1.7 CFLAGS=""
2388     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2389 root 1.1 /* end confdefs.h. */
2390    
2391     int
2392     main ()
2393     {
2394    
2395     ;
2396     return 0;
2397     }
2398     _ACEOF
2399 root 1.7 if ac_fn_c_try_compile "$LINENO"; then :
2400    
2401 root 1.1 else
2402 root 1.7 ac_c_werror_flag=$ac_save_c_werror_flag
2403 root 1.1 CFLAGS="-g"
2404 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2405 root 1.1 /* end confdefs.h. */
2406    
2407     int
2408     main ()
2409     {
2410    
2411     ;
2412     return 0;
2413     }
2414     _ACEOF
2415 root 1.7 if ac_fn_c_try_compile "$LINENO"; then :
2416 root 1.1 ac_cv_prog_cc_g=yes
2417     fi
2418     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2419     fi
2420     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2421     fi
2422     rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2423     ac_c_werror_flag=$ac_save_c_werror_flag
2424     fi
2425 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2426     $as_echo "$ac_cv_prog_cc_g" >&6; }
2427 root 1.1 if test "$ac_test_CFLAGS" = set; then
2428     CFLAGS=$ac_save_CFLAGS
2429     elif test $ac_cv_prog_cc_g = yes; then
2430     if test "$GCC" = yes; then
2431     CFLAGS="-g -O2"
2432     else
2433     CFLAGS="-g"
2434     fi
2435     else
2436     if test "$GCC" = yes; then
2437     CFLAGS="-O2"
2438     else
2439     CFLAGS=
2440     fi
2441     fi
2442 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2443     $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2444     if test "${ac_cv_prog_cc_c89+set}" = set; then :
2445     $as_echo_n "(cached) " >&6
2446 root 1.1 else
2447     ac_cv_prog_cc_c89=no
2448     ac_save_CC=$CC
2449 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2450 root 1.1 /* end confdefs.h. */
2451     #include <stdarg.h>
2452     #include <stdio.h>
2453     #include <sys/types.h>
2454     #include <sys/stat.h>
2455     /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2456     struct buf { int x; };
2457     FILE * (*rcsopen) (struct buf *, struct stat *, int);
2458     static char *e (p, i)
2459     char **p;
2460     int i;
2461     {
2462     return p[i];
2463     }
2464     static char *f (char * (*g) (char **, int), char **p, ...)
2465     {
2466     char *s;
2467     va_list v;
2468     va_start (v,p);
2469     s = g (p, va_arg (v,int));
2470     va_end (v);
2471     return s;
2472     }
2473    
2474     /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2475     function prototypes and stuff, but not '\xHH' hex character constants.
2476     These don't provoke an error unfortunately, instead are silently treated
2477     as 'x'. The following induces an error, until -std is added to get
2478     proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2479     array size at least. It's necessary to write '\x00'==0 to get something
2480     that's true only with -std. */
2481     int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2482    
2483     /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2484     inside strings and character constants. */
2485     #define FOO(x) 'x'
2486     int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2487    
2488     int test (int i, double x);
2489     struct s1 {int (*f) (int a);};
2490     struct s2 {int (*f) (double a);};
2491     int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2492     int argc;
2493     char **argv;
2494     int
2495     main ()
2496     {
2497     return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2498     ;
2499     return 0;
2500     }
2501     _ACEOF
2502     for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2503     -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2504     do
2505     CC="$ac_save_CC $ac_arg"
2506 root 1.7 if ac_fn_c_try_compile "$LINENO"; then :
2507 root 1.1 ac_cv_prog_cc_c89=$ac_arg
2508     fi
2509     rm -f core conftest.err conftest.$ac_objext
2510     test "x$ac_cv_prog_cc_c89" != "xno" && break
2511     done
2512     rm -f conftest.$ac_ext
2513     CC=$ac_save_CC
2514    
2515     fi
2516     # AC_CACHE_VAL
2517     case "x$ac_cv_prog_cc_c89" in
2518     x)
2519 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2520     $as_echo "none needed" >&6; } ;;
2521 root 1.1 xno)
2522 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2523     $as_echo "unsupported" >&6; } ;;
2524 root 1.1 *)
2525     CC="$CC $ac_cv_prog_cc_c89"
2526 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2527     $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2528 root 1.1 esac
2529 root 1.7 if test "x$ac_cv_prog_cc_c89" != xno; then :
2530 root 1.1
2531 root 1.7 fi
2532 root 1.1
2533     ac_ext=c
2534     ac_cpp='$CPP $CPPFLAGS'
2535     ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2536     ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2537     ac_compiler_gnu=$ac_cv_c_compiler_gnu
2538    
2539    
2540    
2541 root 1.7 { $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; }
2543     if test "${ac_cv_search_pthread_create+set}" = set; then :
2544     $as_echo_n "(cached) " >&6
2545 root 1.2 else
2546     ac_func_search_save_LIBS=$LIBS
2547 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2548 root 1.2 /* 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
2554     extern "C"
2555     #endif
2556     char pthread_create ();
2557     int
2558     main ()
2559     {
2560     return pthread_create ();
2561     ;
2562     return 0;
2563     }
2564     _ACEOF
2565     for 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 root 1.7 if ac_fn_c_try_link "$LINENO"; then :
2573 root 1.2 ac_cv_search_pthread_create=$ac_res
2574     fi
2575 root 1.7 rm -f core conftest.err conftest.$ac_objext \
2576     conftest$ac_exeext
2577     if test "${ac_cv_search_pthread_create+set}" = set; then :
2578 root 1.2 break
2579     fi
2580     done
2581 root 1.7 if test "${ac_cv_search_pthread_create+set}" = set; then :
2582    
2583 root 1.2 else
2584     ac_cv_search_pthread_create=no
2585     fi
2586     rm conftest.$ac_ext
2587     LIBS=$ac_func_search_save_LIBS
2588     fi
2589 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_pthread_create" >&5
2590     $as_echo "$ac_cv_search_pthread_create" >&6; }
2591 root 1.2 ac_res=$ac_cv_search_pthread_create
2592 root 1.7 if test "$ac_res" != no; then :
2593 root 1.2 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2594    
2595     else
2596 root 1.8 as_fn_error $? "pthread functions not found" "$LINENO" 5
2597 root 1.2
2598     fi
2599    
2600    
2601 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for futimes" >&5
2602     $as_echo_n "checking for futimes... " >&6; }
2603     if test "${ac_cv_futimes+set}" = set; then :
2604     $as_echo_n "(cached) " >&6
2605 root 1.1 else
2606 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2607     /* end confdefs.h. */
2608 root 1.1
2609     #include <sys/types.h>
2610     #include <sys/time.h>
2611     #include <utime.h>
2612     struct timeval tv[2];
2613     int res;
2614     int fd;
2615 root 1.8 int main (void)
2616 root 1.1 {
2617     res = futimes (fd, tv);
2618     return 0;
2619     }
2620    
2621     _ACEOF
2622 root 1.7 if ac_fn_c_try_link "$LINENO"; then :
2623 root 1.1 ac_cv_futimes=yes
2624     else
2625 root 1.7 ac_cv_futimes=no
2626 root 1.1 fi
2627 root 1.7 rm -f core conftest.err conftest.$ac_objext \
2628     conftest$ac_exeext conftest.$ac_ext
2629 root 1.1 fi
2630 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_futimes" >&5
2631     $as_echo "$ac_cv_futimes" >&6; }
2632 root 1.1 test $ac_cv_futimes = yes &&
2633 root 1.7 $as_echo "#define HAVE_FUTIMES 1" >>confdefs.h
2634 root 1.1
2635    
2636 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readahead" >&5
2637     $as_echo_n "checking for readahead... " >&6; }
2638     if test "${ac_cv_readahead+set}" = set; then :
2639     $as_echo_n "(cached) " >&6
2640 root 1.1 else
2641 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2642     /* end confdefs.h. */
2643 root 1.1
2644     #include <fcntl.h>
2645 root 1.8 int main (void)
2646 root 1.1 {
2647     int fd = 0;
2648     size_t count = 2;
2649     ssize_t res;
2650 root 1.4 res = readahead (fd, 0, count);
2651 root 1.1 return 0;
2652     }
2653    
2654     _ACEOF
2655 root 1.7 if ac_fn_c_try_link "$LINENO"; then :
2656 root 1.1 ac_cv_readahead=yes
2657     else
2658 root 1.7 ac_cv_readahead=no
2659 root 1.1 fi
2660 root 1.7 rm -f core conftest.err conftest.$ac_objext \
2661     conftest$ac_exeext conftest.$ac_ext
2662 root 1.1 fi
2663 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_readahead" >&5
2664     $as_echo "$ac_cv_readahead" >&6; }
2665 root 1.1 test $ac_cv_readahead = yes &&
2666 root 1.7 $as_echo "#define HAVE_READAHEAD 1" >>confdefs.h
2667 root 1.1
2668    
2669 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fdatasync" >&5
2670     $as_echo_n "checking for fdatasync... " >&6; }
2671     if test "${ac_cv_fdatasync+set}" = set; then :
2672     $as_echo_n "(cached) " >&6
2673 root 1.1 else
2674 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2675     /* end confdefs.h. */
2676 root 1.1
2677     #include <unistd.h>
2678 root 1.8 int main (void)
2679 root 1.1 {
2680     int fd = 0;
2681     fdatasync (fd);
2682     return 0;
2683     }
2684    
2685     _ACEOF
2686 root 1.7 if ac_fn_c_try_link "$LINENO"; then :
2687 root 1.1 ac_cv_fdatasync=yes
2688     else
2689 root 1.7 ac_cv_fdatasync=no
2690 root 1.1 fi
2691 root 1.7 rm -f core conftest.err conftest.$ac_objext \
2692     conftest$ac_exeext conftest.$ac_ext
2693 root 1.1 fi
2694 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_fdatasync" >&5
2695     $as_echo "$ac_cv_fdatasync" >&6; }
2696 root 1.1 test $ac_cv_fdatasync = yes &&
2697 root 1.7 $as_echo "#define HAVE_FDATASYNC 1" >>confdefs.h
2698 root 1.1
2699    
2700 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pread and pwrite" >&5
2701     $as_echo_n "checking for pread and pwrite... " >&6; }
2702     if test "${ac_cv_preadwrite+set}" = set; then :
2703     $as_echo_n "(cached) " >&6
2704 root 1.1 else
2705 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2706     /* end confdefs.h. */
2707 root 1.1
2708     #include <unistd.h>
2709 root 1.8 int main (void)
2710 root 1.1 {
2711     int fd = 0;
2712     size_t count = 1;
2713     char buf;
2714     off_t offset = 1;
2715     ssize_t res;
2716     res = pread (fd, &buf, count, offset);
2717     res = pwrite (fd, &buf, count, offset);
2718     return 0;
2719     }
2720    
2721     _ACEOF
2722 root 1.7 if ac_fn_c_try_link "$LINENO"; then :
2723 root 1.1 ac_cv_preadwrite=yes
2724     else
2725 root 1.7 ac_cv_preadwrite=no
2726 root 1.1 fi
2727 root 1.7 rm -f core conftest.err conftest.$ac_objext \
2728     conftest$ac_exeext conftest.$ac_ext
2729 root 1.1 fi
2730 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_preadwrite" >&5
2731     $as_echo "$ac_cv_preadwrite" >&6; }
2732 root 1.1 test $ac_cv_preadwrite = yes &&
2733 root 1.7 $as_echo "#define HAVE_PREADWRITE 1" >>confdefs.h
2734 root 1.1
2735    
2736 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile" >&5
2737     $as_echo_n "checking for sendfile... " >&6; }
2738     if test "${ac_cv_sendfile+set}" = set; then :
2739     $as_echo_n "(cached) " >&6
2740 root 1.1 else
2741 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2742     /* end confdefs.h. */
2743 root 1.1
2744     # include <sys/types.h>
2745     #if __linux
2746     # include <sys/sendfile.h>
2747 root 1.8 #elif __FreeBSD__ || defined __APPLE__
2748 root 1.1 # include <sys/socket.h>
2749     # include <sys/uio.h>
2750     #elif __hpux
2751     # include <sys/socket.h>
2752     #else
2753     # error unsupported architecture
2754     #endif
2755 root 1.8 int main (void)
2756 root 1.1 {
2757     int fd = 0;
2758     off_t offset = 1;
2759     size_t count = 2;
2760     ssize_t res;
2761     #if __linux
2762     res = sendfile (fd, fd, offset, count);
2763 root 1.8 #elif __FreeBSD__
2764 root 1.1 res = sendfile (fd, fd, offset, count, 0, &offset, 0);
2765     #elif __hpux
2766     res = sendfile (fd, fd, offset, count, 0, 0);
2767     #endif
2768     return 0;
2769     }
2770    
2771     _ACEOF
2772 root 1.7 if ac_fn_c_try_link "$LINENO"; then :
2773 root 1.1 ac_cv_sendfile=yes
2774     else
2775 root 1.7 ac_cv_sendfile=no
2776 root 1.1 fi
2777 root 1.7 rm -f core conftest.err conftest.$ac_objext \
2778     conftest$ac_exeext conftest.$ac_ext
2779 root 1.1 fi
2780 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sendfile" >&5
2781     $as_echo "$ac_cv_sendfile" >&6; }
2782 root 1.1 test $ac_cv_sendfile = yes &&
2783 root 1.7 $as_echo "#define HAVE_SENDFILE 1" >>confdefs.h
2784 root 1.1
2785    
2786 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sync_file_range" >&5
2787     $as_echo_n "checking for sync_file_range... " >&6; }
2788     if test "${ac_cv_sync_file_range+set}" = set; then :
2789     $as_echo_n "(cached) " >&6
2790 root 1.6 else
2791 root 1.7 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2792     /* end confdefs.h. */
2793 root 1.6
2794     #include <fcntl.h>
2795 root 1.8 int main (void)
2796 root 1.6 {
2797     int fd = 0;
2798     off64_t offset = 1;
2799     off64_t nbytes = 1;
2800     unsigned int flags = SYNC_FILE_RANGE_WAIT_BEFORE|SYNC_FILE_RANGE_WRITE|SYNC_FILE_RANGE_WAIT_AFTER;
2801     ssize_t res;
2802     res = sync_file_range (fd, offset, nbytes, flags);
2803     return 0;
2804     }
2805    
2806     _ACEOF
2807 root 1.7 if ac_fn_c_try_link "$LINENO"; then :
2808 root 1.6 ac_cv_sync_file_range=yes
2809     else
2810 root 1.7 ac_cv_sync_file_range=no
2811 root 1.6 fi
2812 root 1.7 rm -f core conftest.err conftest.$ac_objext \
2813     conftest$ac_exeext conftest.$ac_ext
2814 root 1.6 fi
2815 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sync_file_range" >&5
2816     $as_echo "$ac_cv_sync_file_range" >&6; }
2817 root 1.6 test $ac_cv_sync_file_range = yes &&
2818 root 1.7 $as_echo "#define HAVE_SYNC_FILE_RANGE 1" >>confdefs.h
2819 root 1.6
2820    
2821 root 1.1
2822    
2823 root 1.8 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_madvise" >&5
2824     $as_echo_n "checking for posix_madvise... " >&6; }
2825     if test "${ac_cv_posix_madvise+set}" = set; then :
2826     $as_echo_n "(cached) " >&6
2827     else
2828     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2829     /* end confdefs.h. */
2830    
2831     #include <sys/mman.h>
2832     int main (void)
2833     {
2834     int res = posix_madvise ((void *)0, (size_t)0, POSIX_MADV_NORMAL);
2835     int a = POSIX_MADV_SEQUENTIAL;
2836     int b = POSIX_MADV_RANDOM;
2837     int c = POSIX_MADV_WILLNEED;
2838     int d = POSIX_MADV_DONTNEED;
2839     return 0;
2840     }
2841    
2842     _ACEOF
2843     if ac_fn_c_try_link "$LINENO"; then :
2844     ac_cv_posix_madvise=yes
2845     else
2846     ac_cv_posix_madvise=no
2847     fi
2848     rm -f core conftest.err conftest.$ac_objext \
2849     conftest$ac_exeext conftest.$ac_ext
2850     fi
2851     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_madvise" >&5
2852     $as_echo "$ac_cv_posix_madvise" >&6; }
2853     test $ac_cv_posix_madvise = yes &&
2854     $as_echo "#define HAVE_POSIX_MADVISE 1" >>confdefs.h
2855    
2856    
2857     { $as_echo "$as_me:${as_lineno-$LINENO}: checking for posix_fadvise" >&5
2858     $as_echo_n "checking for posix_fadvise... " >&6; }
2859     if test "${ac_cv_posix_fadvise+set}" = set; then :
2860     $as_echo_n "(cached) " >&6
2861     else
2862     cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2863     /* end confdefs.h. */
2864    
2865     #define _XOPEN_SOURCE 600
2866     #include <fcntl.h>
2867     int main (void)
2868     {
2869     int res = posix_fadvise ((int)0, (off_t)0, (off_t)0, POSIX_FADV_NORMAL);
2870     int a = POSIX_FADV_SEQUENTIAL;
2871     int b = POSIX_FADV_NOREUSE;
2872     int c = POSIX_FADV_RANDOM;
2873     int d = POSIX_FADV_WILLNEED;
2874     int e = POSIX_FADV_DONTNEED;
2875     return 0;
2876     }
2877    
2878     _ACEOF
2879     if ac_fn_c_try_link "$LINENO"; then :
2880     ac_cv_posix_fadvise=yes
2881     else
2882     ac_cv_posix_fadvise=no
2883     fi
2884     rm -f core conftest.err conftest.$ac_objext \
2885     conftest$ac_exeext conftest.$ac_ext
2886     fi
2887     { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_posix_fadvise" >&5
2888     $as_echo "$ac_cv_posix_fadvise" >&6; }
2889     test $ac_cv_posix_fadvise = yes &&
2890     $as_echo "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
2891    
2892    
2893 root 1.1 cat >confcache <<\_ACEOF
2894     # This file is a shell script that caches the results of configure
2895     # tests run on this system so they can be shared between configure
2896     # scripts and configure runs, see configure's option --config-cache.
2897     # It is not useful on other systems. If it contains results you don't
2898     # want to keep, you may remove or edit it.
2899     #
2900     # config.status only pays attention to the cache file if you give it
2901     # the --recheck option to rerun configure.
2902     #
2903     # `ac_cv_env_foo' variables (set or unset) will be overridden when
2904     # loading this file, other *unset* `ac_cv_foo' will be assigned the
2905     # following values.
2906    
2907     _ACEOF
2908    
2909     # The following way of writing the cache mishandles newlines in values,
2910     # but we know of no workaround that is simple, portable, and efficient.
2911     # So, we kill variables containing newlines.
2912     # Ultrix sh set writes to stderr and can't be redirected directly,
2913     # and sets the high bit in the cache file unless we assign to the vars.
2914     (
2915     for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
2916     eval ac_val=\$$ac_var
2917     case $ac_val in #(
2918     *${as_nl}*)
2919     case $ac_var in #(
2920 root 1.7 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2921     $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2922 root 1.1 esac
2923     case $ac_var in #(
2924     _ | IFS | as_nl) ;; #(
2925 root 1.7 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2926     *) { eval $ac_var=; unset $ac_var;} ;;
2927 root 1.1 esac ;;
2928     esac
2929     done
2930    
2931     (set) 2>&1 |
2932     case $as_nl`(ac_space=' '; set) 2>&1` in #(
2933     *${as_nl}ac_space=\ *)
2934 root 1.7 # `set' does not quote correctly, so add quotes: double-quote
2935     # substitution turns \\\\ into \\, and sed turns \\ into \.
2936 root 1.1 sed -n \
2937     "s/'/'\\\\''/g;
2938     s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
2939     ;; #(
2940     *)
2941     # `set' quotes correctly as required by POSIX, so do not add quotes.
2942     sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2943     ;;
2944     esac |
2945     sort
2946     ) |
2947     sed '
2948     /^ac_cv_env_/b end
2949     t clear
2950     :clear
2951     s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
2952     t end
2953     s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
2954     :end' >>confcache
2955     if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
2956     if test -w "$cache_file"; then
2957     test "x$cache_file" != "x/dev/null" &&
2958 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
2959     $as_echo "$as_me: updating cache $cache_file" >&6;}
2960 root 1.1 cat confcache >$cache_file
2961     else
2962 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
2963     $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
2964 root 1.1 fi
2965     fi
2966     rm -f confcache
2967    
2968     test "x$prefix" = xNONE && prefix=$ac_default_prefix
2969     # Let make expand exec_prefix.
2970     test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
2971    
2972     DEFS=-DHAVE_CONFIG_H
2973    
2974     ac_libobjs=
2975     ac_ltlibobjs=
2976 root 1.8 U=
2977 root 1.1 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
2978     # 1. Remove the extension, and $U if already installed.
2979     ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
2980 root 1.7 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
2981 root 1.1 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
2982     # will be set to the directory where LIBOBJS objects are built.
2983 root 1.7 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
2984     as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
2985 root 1.1 done
2986     LIBOBJS=$ac_libobjs
2987    
2988     LTLIBOBJS=$ac_ltlibobjs
2989    
2990    
2991    
2992     : ${CONFIG_STATUS=./config.status}
2993 root 1.7 ac_write_fail=0
2994 root 1.1 ac_clean_files_save=$ac_clean_files
2995     ac_clean_files="$ac_clean_files $CONFIG_STATUS"
2996 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
2997     $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
2998     as_write_fail=0
2999     cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3000 root 1.1 #! $SHELL
3001     # Generated by $as_me.
3002     # Run this file to recreate the current configuration.
3003     # Compiler output produced by configure, useful for debugging
3004     # configure, is in config.log if it exists.
3005    
3006     debug=false
3007     ac_cs_recheck=false
3008     ac_cs_silent=false
3009 root 1.7
3010 root 1.1 SHELL=\${CONFIG_SHELL-$SHELL}
3011 root 1.7 export SHELL
3012     _ASEOF
3013     cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3014     ## -------------------- ##
3015     ## M4sh Initialization. ##
3016     ## -------------------- ##
3017 root 1.1
3018     # Be more Bourne compatible
3019     DUALCASE=1; export DUALCASE # for MKS sh
3020 root 1.7 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3021 root 1.1 emulate sh
3022     NULLCMD=:
3023 root 1.7 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3024 root 1.1 # is contrary to our usage. Disable this feature.
3025     alias -g '${1+"$@"}'='"$@"'
3026     setopt NO_GLOB_SUBST
3027     else
3028 root 1.7 case `(set -o) 2>/dev/null` in #(
3029     *posix*) :
3030     set -o posix ;; #(
3031     *) :
3032     ;;
3033 root 1.1 esac
3034     fi
3035    
3036    
3037 root 1.7 as_nl='
3038     '
3039     export as_nl
3040     # Printing a long string crashes Solaris 7 /usr/bin/printf.
3041     as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3042     as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3043     as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3044     # Prefer a ksh shell builtin over an external printf program on Solaris,
3045     # but without wasting forks for bash or zsh.
3046     if test -z "$BASH_VERSION$ZSH_VERSION" \
3047     && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3048     as_echo='print -r --'
3049     as_echo_n='print -rn --'
3050     elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3051     as_echo='printf %s\n'
3052     as_echo_n='printf %s'
3053     else
3054     if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3055     as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3056     as_echo_n='/usr/ucb/echo -n'
3057 root 1.1 else
3058 root 1.7 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3059     as_echo_n_body='eval
3060     arg=$1;
3061     case $arg in #(
3062     *"$as_nl"*)
3063     expr "X$arg" : "X\\(.*\\)$as_nl";
3064     arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3065     esac;
3066     expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3067     '
3068     export as_echo_n_body
3069     as_echo_n='sh -c $as_echo_n_body as_echo'
3070 root 1.1 fi
3071 root 1.7 export as_echo_body
3072     as_echo='sh -c $as_echo_body as_echo'
3073 root 1.1 fi
3074    
3075 root 1.7 # The user is always right.
3076     if test "${PATH_SEPARATOR+set}" != set; then
3077     PATH_SEPARATOR=:
3078     (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3079     (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3080     PATH_SEPARATOR=';'
3081     }
3082 root 1.1 fi
3083    
3084    
3085     # IFS
3086     # We need space, tab and new line, in precisely that order. Quoting is
3087     # there to prevent editors from complaining about space-tab.
3088     # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3089     # splitting by setting IFS to empty value.)
3090     IFS=" "" $as_nl"
3091    
3092     # Find who we are. Look in the path if we contain no directory separator.
3093 root 1.7 case $0 in #((
3094 root 1.1 *[\\/]* ) as_myself=$0 ;;
3095     *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096     for as_dir in $PATH
3097     do
3098     IFS=$as_save_IFS
3099     test -z "$as_dir" && as_dir=.
3100 root 1.7 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3101     done
3102 root 1.1 IFS=$as_save_IFS
3103    
3104     ;;
3105     esac
3106     # We did not find ourselves, most probably we were run as `sh COMMAND'
3107     # in which case we are not to be found in the path.
3108     if test "x$as_myself" = x; then
3109     as_myself=$0
3110     fi
3111     if test ! -f "$as_myself"; then
3112 root 1.7 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3113     exit 1
3114 root 1.1 fi
3115    
3116 root 1.7 # Unset variables that we do not need and which cause bugs (e.g. in
3117     # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3118     # suppresses any "Segmentation fault" message there. '((' could
3119     # trigger a bug in pdksh 5.2.14.
3120     for as_var in BASH_ENV ENV MAIL MAILPATH
3121     do eval test x\${$as_var+set} = xset \
3122     && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3123 root 1.1 done
3124     PS1='$ '
3125     PS2='> '
3126     PS4='+ '
3127    
3128     # NLS nuisances.
3129 root 1.7 LC_ALL=C
3130     export LC_ALL
3131     LANGUAGE=C
3132     export LANGUAGE
3133    
3134     # CDPATH.
3135     (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3136    
3137    
3138 root 1.8 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3139     # ----------------------------------------
3140 root 1.7 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3141     # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3142 root 1.8 # script with STATUS, using 1 if that was 0.
3143 root 1.7 as_fn_error ()
3144     {
3145 root 1.8 as_status=$1; test $as_status -eq 0 && as_status=1
3146     if test "$4"; then
3147     as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3148     $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3149 root 1.7 fi
3150 root 1.8 $as_echo "$as_me: error: $2" >&2
3151 root 1.7 as_fn_exit $as_status
3152     } # as_fn_error
3153    
3154    
3155     # as_fn_set_status STATUS
3156     # -----------------------
3157     # Set $? to STATUS, without forking.
3158     as_fn_set_status ()
3159     {
3160     return $1
3161     } # as_fn_set_status
3162    
3163     # as_fn_exit STATUS
3164     # -----------------
3165     # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3166     as_fn_exit ()
3167     {
3168     set +e
3169     as_fn_set_status $1
3170     exit $1
3171     } # as_fn_exit
3172    
3173     # as_fn_unset VAR
3174     # ---------------
3175     # Portably unset VAR.
3176     as_fn_unset ()
3177     {
3178     { eval $1=; unset $1;}
3179     }
3180     as_unset=as_fn_unset
3181     # as_fn_append VAR VALUE
3182     # ----------------------
3183     # Append the text in VALUE to the end of the definition contained in VAR. Take
3184     # advantage of any shell optimizations that allow amortized linear growth over
3185     # repeated appends, instead of the typical quadratic growth present in naive
3186     # implementations.
3187     if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3188     eval 'as_fn_append ()
3189     {
3190     eval $1+=\$2
3191     }'
3192     else
3193     as_fn_append ()
3194     {
3195     eval $1=\$$1\$2
3196     }
3197     fi # as_fn_append
3198    
3199     # as_fn_arith ARG...
3200     # ------------------
3201     # Perform arithmetic evaluation on the ARGs, and store the result in the
3202     # global $as_val. Take advantage of shells that can avoid forks. The arguments
3203     # must be portable across $(()) and expr.
3204     if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3205     eval 'as_fn_arith ()
3206     {
3207     as_val=$(( $* ))
3208     }'
3209     else
3210     as_fn_arith ()
3211     {
3212     as_val=`expr "$@" || test $? -eq 1`
3213     }
3214     fi # as_fn_arith
3215    
3216 root 1.1
3217     if expr a : '\(a\)' >/dev/null 2>&1 &&
3218     test "X`expr 00001 : '.*\(...\)'`" = X001; then
3219     as_expr=expr
3220     else
3221     as_expr=false
3222     fi
3223    
3224     if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3225     as_basename=basename
3226     else
3227     as_basename=false
3228     fi
3229    
3230 root 1.7 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3231     as_dirname=dirname
3232     else
3233     as_dirname=false
3234     fi
3235 root 1.1
3236     as_me=`$as_basename -- "$0" ||
3237     $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3238     X"$0" : 'X\(//\)$' \| \
3239     X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3240 root 1.7 $as_echo X/"$0" |
3241 root 1.1 sed '/^.*\/\([^/][^/]*\)\/*$/{
3242     s//\1/
3243     q
3244     }
3245     /^X\/\(\/\/\)$/{
3246     s//\1/
3247     q
3248     }
3249     /^X\/\(\/\).*/{
3250     s//\1/
3251     q
3252     }
3253     s/.*/./; q'`
3254    
3255 root 1.7 # Avoid depending upon Character Ranges.
3256     as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3257     as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3258     as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3259     as_cr_digits='0123456789'
3260     as_cr_alnum=$as_cr_Letters$as_cr_digits
3261 root 1.1
3262     ECHO_C= ECHO_N= ECHO_T=
3263 root 1.7 case `echo -n x` in #(((((
3264 root 1.1 -n*)
3265 root 1.7 case `echo 'xy\c'` in
3266 root 1.1 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3267 root 1.7 xy) ECHO_C='\c';;
3268     *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3269     ECHO_T=' ';;
3270 root 1.1 esac;;
3271     *)
3272     ECHO_N='-n';;
3273     esac
3274    
3275     rm -f conf$$ conf$$.exe conf$$.file
3276     if test -d conf$$.dir; then
3277     rm -f conf$$.dir/conf$$.file
3278     else
3279     rm -f conf$$.dir
3280 root 1.7 mkdir conf$$.dir 2>/dev/null
3281 root 1.1 fi
3282 root 1.7 if (echo >conf$$.file) 2>/dev/null; then
3283     if ln -s conf$$.file conf$$ 2>/dev/null; then
3284     as_ln_s='ln -s'
3285     # ... but there are two gotchas:
3286     # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3287     # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3288     # In both cases, we have to default to `cp -p'.
3289     ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3290     as_ln_s='cp -p'
3291     elif ln conf$$.file conf$$ 2>/dev/null; then
3292     as_ln_s=ln
3293     else
3294 root 1.1 as_ln_s='cp -p'
3295 root 1.7 fi
3296 root 1.1 else
3297     as_ln_s='cp -p'
3298     fi
3299     rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3300     rmdir conf$$.dir 2>/dev/null
3301    
3302 root 1.7
3303     # as_fn_mkdir_p
3304     # -------------
3305     # Create "$as_dir" as a directory, including parents if necessary.
3306     as_fn_mkdir_p ()
3307     {
3308    
3309     case $as_dir in #(
3310     -*) as_dir=./$as_dir;;
3311     esac
3312     test -d "$as_dir" || eval $as_mkdir_p || {
3313     as_dirs=
3314     while :; do
3315     case $as_dir in #(
3316     *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3317     *) as_qdir=$as_dir;;
3318     esac
3319     as_dirs="'$as_qdir' $as_dirs"
3320     as_dir=`$as_dirname -- "$as_dir" ||
3321     $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3322     X"$as_dir" : 'X\(//\)[^/]' \| \
3323     X"$as_dir" : 'X\(//\)$' \| \
3324     X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3325     $as_echo X"$as_dir" |
3326     sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3327     s//\1/
3328     q
3329     }
3330     /^X\(\/\/\)[^/].*/{
3331     s//\1/
3332     q
3333     }
3334     /^X\(\/\/\)$/{
3335     s//\1/
3336     q
3337     }
3338     /^X\(\/\).*/{
3339     s//\1/
3340     q
3341     }
3342     s/.*/./; q'`
3343     test -d "$as_dir" && break
3344     done
3345     test -z "$as_dirs" || eval "mkdir $as_dirs"
3346 root 1.8 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3347 root 1.7
3348    
3349     } # as_fn_mkdir_p
3350 root 1.1 if mkdir -p . 2>/dev/null; then
3351 root 1.7 as_mkdir_p='mkdir -p "$as_dir"'
3352 root 1.1 else
3353     test -d ./-p && rmdir ./-p
3354     as_mkdir_p=false
3355     fi
3356    
3357     if test -x / >/dev/null 2>&1; then
3358     as_test_x='test -x'
3359     else
3360     if ls -dL / >/dev/null 2>&1; then
3361     as_ls_L_option=L
3362     else
3363     as_ls_L_option=
3364     fi
3365     as_test_x='
3366     eval sh -c '\''
3367     if test -d "$1"; then
3368 root 1.7 test -d "$1/.";
3369 root 1.1 else
3370 root 1.7 case $1 in #(
3371     -*)set "./$1";;
3372 root 1.1 esac;
3373 root 1.7 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3374 root 1.1 ???[sx]*):;;*)false;;esac;fi
3375     '\'' sh
3376     '
3377     fi
3378     as_executable_p=$as_test_x
3379    
3380     # Sed expression to map a string onto a valid CPP name.
3381     as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3382    
3383     # Sed expression to map a string onto a valid variable name.
3384     as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3385    
3386    
3387     exec 6>&1
3388 root 1.7 ## ----------------------------------- ##
3389     ## Main body of $CONFIG_STATUS script. ##
3390     ## ----------------------------------- ##
3391     _ASEOF
3392     test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3393 root 1.1
3394 root 1.7 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3395     # Save the log message, to keep $0 and so on meaningful, and to
3396 root 1.1 # report actual input values of CONFIG_FILES etc. instead of their
3397     # values after options handling.
3398     ac_log="
3399     This file was extended by $as_me, which was
3400 root 1.8 generated by GNU Autoconf 2.67. Invocation command line was
3401 root 1.1
3402     CONFIG_FILES = $CONFIG_FILES
3403     CONFIG_HEADERS = $CONFIG_HEADERS
3404     CONFIG_LINKS = $CONFIG_LINKS
3405     CONFIG_COMMANDS = $CONFIG_COMMANDS
3406     $ $0 $@
3407    
3408     on `(hostname || uname -n) 2>/dev/null | sed 1q`
3409     "
3410    
3411     _ACEOF
3412    
3413 root 1.7
3414     case $ac_config_headers in *"
3415     "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3416     esac
3417    
3418    
3419     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3420 root 1.1 # Files that config.status was made for.
3421     config_headers="$ac_config_headers"
3422    
3423     _ACEOF
3424    
3425 root 1.7 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3426 root 1.1 ac_cs_usage="\
3427 root 1.7 \`$as_me' instantiates files and other configuration actions
3428     from templates according to the current configuration. Unless the files
3429     and actions are specified as TAGs, all are instantiated by default.
3430 root 1.1
3431 root 1.7 Usage: $0 [OPTION]... [TAG]...
3432 root 1.1
3433     -h, --help print this help, then exit
3434     -V, --version print version number and configuration settings, then exit
3435 root 1.8 --config print configuration, then exit
3436 root 1.7 -q, --quiet, --silent
3437     do not print progress messages
3438 root 1.1 -d, --debug don't remove temporary files
3439     --recheck update $as_me by reconfiguring in the same conditions
3440 root 1.7 --header=FILE[:TEMPLATE]
3441     instantiate the configuration header FILE
3442 root 1.1
3443     Configuration headers:
3444     $config_headers
3445    
3446 root 1.7 Report bugs to the package provider."
3447 root 1.1
3448     _ACEOF
3449 root 1.7 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3450 root 1.8 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3451 root 1.1 ac_cs_version="\\
3452     config.status
3453 root 1.8 configured by $0, generated by GNU Autoconf 2.67,
3454     with options \\"\$ac_cs_config\\"
3455 root 1.1
3456 root 1.8 Copyright (C) 2010 Free Software Foundation, Inc.
3457 root 1.1 This config.status script is free software; the Free Software Foundation
3458     gives unlimited permission to copy, distribute and modify it."
3459    
3460     ac_pwd='$ac_pwd'
3461     srcdir='$srcdir'
3462 root 1.7 test -n "\$AWK" || AWK=awk
3463 root 1.1 _ACEOF
3464    
3465 root 1.7 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3466     # The default lists apply if the user does not specify any file.
3467 root 1.1 ac_need_defaults=:
3468     while test $# != 0
3469     do
3470     case $1 in
3471 root 1.8 --*=?*)
3472 root 1.1 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3473     ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3474     ac_shift=:
3475     ;;
3476 root 1.8 --*=)
3477     ac_option=`expr "X$1" : 'X\([^=]*\)='`
3478     ac_optarg=
3479     ac_shift=:
3480     ;;
3481 root 1.1 *)
3482     ac_option=$1
3483     ac_optarg=$2
3484     ac_shift=shift
3485     ;;
3486     esac
3487    
3488     case $ac_option in
3489     # Handling of the options.
3490     -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3491     ac_cs_recheck=: ;;
3492     --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3493 root 1.7 $as_echo "$ac_cs_version"; exit ;;
3494 root 1.8 --config | --confi | --conf | --con | --co | --c )
3495     $as_echo "$ac_cs_config"; exit ;;
3496 root 1.1 --debug | --debu | --deb | --de | --d | -d )
3497     debug=: ;;
3498     --header | --heade | --head | --hea )
3499     $ac_shift
3500 root 1.7 case $ac_optarg in
3501     *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3502     esac
3503     as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3504 root 1.1 ac_need_defaults=false;;
3505     --he | --h)
3506     # Conflict between --help and --header
3507 root 1.8 as_fn_error $? "ambiguous option: \`$1'
3508 root 1.7 Try \`$0 --help' for more information.";;
3509 root 1.1 --help | --hel | -h )
3510 root 1.7 $as_echo "$ac_cs_usage"; exit ;;
3511 root 1.1 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3512     | -silent | --silent | --silen | --sile | --sil | --si | --s)
3513     ac_cs_silent=: ;;
3514    
3515     # This is an error.
3516 root 1.8 -*) as_fn_error $? "unrecognized option: \`$1'
3517 root 1.7 Try \`$0 --help' for more information." ;;
3518 root 1.1
3519 root 1.7 *) as_fn_append ac_config_targets " $1"
3520 root 1.1 ac_need_defaults=false ;;
3521    
3522     esac
3523     shift
3524     done
3525    
3526     ac_configure_extra_args=
3527    
3528     if $ac_cs_silent; then
3529     exec 6>/dev/null
3530     ac_configure_extra_args="$ac_configure_extra_args --silent"
3531     fi
3532    
3533     _ACEOF
3534 root 1.7 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3535 root 1.1 if \$ac_cs_recheck; then
3536 root 1.7 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3537     shift
3538     \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3539     CONFIG_SHELL='$SHELL'
3540 root 1.1 export CONFIG_SHELL
3541 root 1.7 exec "\$@"
3542 root 1.1 fi
3543    
3544     _ACEOF
3545 root 1.7 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3546 root 1.1 exec 5>>config.log
3547     {
3548     echo
3549     sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3550     ## Running $as_me. ##
3551     _ASBOX
3552 root 1.7 $as_echo "$ac_log"
3553 root 1.1 } >&5
3554    
3555     _ACEOF
3556 root 1.7 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3557 root 1.1 _ACEOF
3558    
3559 root 1.7 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3560 root 1.1
3561     # Handling of arguments.
3562     for ac_config_target in $ac_config_targets
3563     do
3564     case $ac_config_target in
3565     "libeio/config.h") CONFIG_HEADERS="$CONFIG_HEADERS libeio/config.h" ;;
3566    
3567 root 1.8 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5 ;;
3568 root 1.1 esac
3569     done
3570    
3571    
3572     # If the user did not use the arguments to specify the items to instantiate,
3573     # then the envvar interface is used. Set only those that are not.
3574     # We use the long form for the default assignment because of an extremely
3575     # bizarre bug on SunOS 4.1.3.
3576     if $ac_need_defaults; then
3577     test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3578     fi
3579    
3580     # Have a temporary directory for convenience. Make it in the build tree
3581     # simply because there is no reason against having it here, and in addition,
3582     # creating and moving files from /tmp can sometimes cause problems.
3583     # Hook for its removal unless debugging.
3584     # Note that there is a small window in which the directory will not be cleaned:
3585     # after its creation but before its name has been assigned to `$tmp'.
3586     $debug ||
3587     {
3588     tmp=
3589     trap 'exit_status=$?
3590     { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
3591     ' 0
3592 root 1.7 trap 'as_fn_exit 1' 1 2 13 15
3593 root 1.1 }
3594     # Create a (secure) tmp directory for tmp files.
3595    
3596     {
3597     tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3598     test -n "$tmp" && test -d "$tmp"
3599     } ||
3600     {
3601     tmp=./conf$$-$RANDOM
3602     (umask 077 && mkdir "$tmp")
3603 root 1.8 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3604 root 1.7
3605     # Set up the scripts for CONFIG_HEADERS section.
3606     # No need to generate them if there are no CONFIG_HEADERS.
3607     # This happens for instance with `./config.status Makefile'.
3608     if test -n "$CONFIG_HEADERS"; then
3609     cat >"$tmp/defines.awk" <<\_ACAWK ||
3610     BEGIN {
3611     _ACEOF
3612    
3613     # Transform confdefs.h into an awk script `defines.awk', embedded as
3614     # here-document in config.status, that substitutes the proper values into
3615     # config.h.in to produce config.h.
3616    
3617     # Create a delimiter string that does not exist in confdefs.h, to ease
3618     # handling of long lines.
3619     ac_delim='%!_!# '
3620     for ac_last_try in false false :; do
3621     ac_t=`sed -n "/$ac_delim/p" confdefs.h`
3622     if test -z "$ac_t"; then
3623     break
3624     elif $ac_last_try; then
3625 root 1.8 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3626 root 1.7 else
3627     ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3628     fi
3629     done
3630    
3631     # For the awk script, D is an array of macro values keyed by name,
3632     # likewise P contains macro parameters if any. Preserve backslash
3633     # newline sequences.
3634    
3635     ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3636     sed -n '
3637     s/.\{148\}/&'"$ac_delim"'/g
3638     t rset
3639     :rset
3640     s/^[ ]*#[ ]*define[ ][ ]*/ /
3641     t def
3642     d
3643     :def
3644     s/\\$//
3645     t bsnl
3646     s/["\\]/\\&/g
3647     s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3648     D["\1"]=" \3"/p
3649     s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3650     d
3651     :bsnl
3652     s/["\\]/\\&/g
3653     s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3654     D["\1"]=" \3\\\\\\n"\\/p
3655     t cont
3656     s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3657     t cont
3658     d
3659     :cont
3660     n
3661     s/.\{148\}/&'"$ac_delim"'/g
3662     t clear
3663     :clear
3664     s/\\$//
3665     t bsnlc
3666     s/["\\]/\\&/g; s/^/"/; s/$/"/p
3667     d
3668     :bsnlc
3669     s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3670     b cont
3671     ' <confdefs.h | sed '
3672     s/'"$ac_delim"'/"\\\
3673     "/g' >>$CONFIG_STATUS || ac_write_fail=1
3674    
3675     cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3676     for (key in D) D_is_set[key] = 1
3677     FS = ""
3678     }
3679     /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3680     line = \$ 0
3681     split(line, arg, " ")
3682     if (arg[1] == "#") {
3683     defundef = arg[2]
3684     mac1 = arg[3]
3685     } else {
3686     defundef = substr(arg[1], 2)
3687     mac1 = arg[2]
3688     }
3689     split(mac1, mac2, "(") #)
3690     macro = mac2[1]
3691     prefix = substr(line, 1, index(line, defundef) - 1)
3692     if (D_is_set[macro]) {
3693     # Preserve the white space surrounding the "#".
3694     print prefix "define", macro P[macro] D[macro]
3695     next
3696     } else {
3697     # Replace #undef with comments. This is necessary, for example,
3698     # in the case of _POSIX_SOURCE, which is predefined and required
3699     # on some systems where configure will not decide to define it.
3700     if (defundef == "undef") {
3701     print "/*", prefix defundef, macro, "*/"
3702     next
3703     }
3704     }
3705     }
3706     { print }
3707     _ACAWK
3708     _ACEOF
3709     cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3710 root 1.8 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3711 root 1.7 fi # test -n "$CONFIG_HEADERS"
3712 root 1.1
3713    
3714 root 1.7 eval set X " :H $CONFIG_HEADERS "
3715     shift
3716     for ac_tag
3717 root 1.1 do
3718     case $ac_tag in
3719     :[FHLC]) ac_mode=$ac_tag; continue;;
3720     esac
3721     case $ac_mode$ac_tag in
3722     :[FHL]*:*);;
3723 root 1.8 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5 ;;
3724 root 1.1 :[FH]-) ac_tag=-:-;;
3725     :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
3726     esac
3727     ac_save_IFS=$IFS
3728     IFS=:
3729     set x $ac_tag
3730     IFS=$ac_save_IFS
3731     shift
3732     ac_file=$1
3733     shift
3734    
3735     case $ac_mode in
3736     :L) ac_source=$1;;
3737     :[FH])
3738     ac_file_inputs=
3739     for ac_f
3740     do
3741     case $ac_f in
3742     -) ac_f="$tmp/stdin";;
3743     *) # Look for the file first in the build tree, then in the source tree
3744     # (if the path is not absolute). The absolute path cannot be DOS-style,
3745     # because $ac_f cannot contain `:'.
3746     test -f "$ac_f" ||
3747     case $ac_f in
3748     [\\/$]*) false;;
3749     *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
3750     esac ||
3751 root 1.8 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5 ;;
3752 root 1.1 esac
3753 root 1.7 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
3754     as_fn_append ac_file_inputs " '$ac_f'"
3755 root 1.1 done
3756    
3757     # Let's still pretend it is `configure' which instantiates (i.e., don't
3758     # use $as_me), people would be surprised to read:
3759     # /* config.h. Generated by config.status. */
3760 root 1.7 configure_input='Generated from '`
3761     $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
3762     `' by configure.'
3763 root 1.1 if test x"$ac_file" != x-; then
3764     configure_input="$ac_file. $configure_input"
3765 root 1.7 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
3766     $as_echo "$as_me: creating $ac_file" >&6;}
3767 root 1.1 fi
3768 root 1.7 # Neutralize special characters interpreted by sed in replacement strings.
3769     case $configure_input in #(
3770     *\&* | *\|* | *\\* )
3771     ac_sed_conf_input=`$as_echo "$configure_input" |
3772     sed 's/[\\\\&|]/\\\\&/g'`;; #(
3773     *) ac_sed_conf_input=$configure_input;;
3774     esac
3775 root 1.1
3776     case $ac_tag in
3777 root 1.7 *:-:* | *:-) cat >"$tmp/stdin" \
3778 root 1.8 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
3779 root 1.1 esac
3780     ;;
3781     esac
3782    
3783     ac_dir=`$as_dirname -- "$ac_file" ||
3784     $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3785     X"$ac_file" : 'X\(//\)[^/]' \| \
3786     X"$ac_file" : 'X\(//\)$' \| \
3787     X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
3788 root 1.7 $as_echo X"$ac_file" |
3789 root 1.1 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3790     s//\1/
3791     q
3792     }
3793     /^X\(\/\/\)[^/].*/{
3794     s//\1/
3795     q
3796     }
3797     /^X\(\/\/\)$/{
3798     s//\1/
3799     q
3800     }
3801     /^X\(\/\).*/{
3802     s//\1/
3803     q
3804     }
3805     s/.*/./; q'`
3806 root 1.7 as_dir="$ac_dir"; as_fn_mkdir_p
3807 root 1.1 ac_builddir=.
3808    
3809     case "$ac_dir" in
3810     .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
3811     *)
3812 root 1.7 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
3813 root 1.1 # A ".." for each directory in $ac_dir_suffix.
3814 root 1.7 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
3815 root 1.1 case $ac_top_builddir_sub in
3816     "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
3817     *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
3818     esac ;;
3819     esac
3820     ac_abs_top_builddir=$ac_pwd
3821     ac_abs_builddir=$ac_pwd$ac_dir_suffix
3822     # for backward compatibility:
3823     ac_top_builddir=$ac_top_build_prefix
3824    
3825     case $srcdir in
3826     .) # We are building in place.
3827     ac_srcdir=.
3828     ac_top_srcdir=$ac_top_builddir_sub
3829     ac_abs_top_srcdir=$ac_pwd ;;
3830     [\\/]* | ?:[\\/]* ) # Absolute name.
3831     ac_srcdir=$srcdir$ac_dir_suffix;
3832     ac_top_srcdir=$srcdir
3833     ac_abs_top_srcdir=$srcdir ;;
3834     *) # Relative name.
3835     ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
3836     ac_top_srcdir=$ac_top_build_prefix$srcdir
3837     ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
3838     esac
3839     ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
3840    
3841    
3842     case $ac_mode in
3843    
3844     :H)
3845     #
3846     # CONFIG_HEADER
3847     #
3848     if test x"$ac_file" != x-; then
3849 root 1.7 {
3850     $as_echo "/* $configure_input */" \
3851     && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
3852     } >"$tmp/config.h" \
3853 root 1.8 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3854 root 1.7 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
3855     { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
3856     $as_echo "$as_me: $ac_file is unchanged" >&6;}
3857 root 1.1 else
3858 root 1.7 rm -f "$ac_file"
3859     mv "$tmp/config.h" "$ac_file" \
3860 root 1.8 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
3861 root 1.1 fi
3862     else
3863 root 1.7 $as_echo "/* $configure_input */" \
3864     && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
3865 root 1.8 || as_fn_error $? "could not create -" "$LINENO" 5
3866 root 1.1 fi
3867     ;;
3868    
3869    
3870     esac
3871    
3872     done # for ac_tag
3873    
3874    
3875 root 1.7 as_fn_exit 0
3876 root 1.1 _ACEOF
3877     ac_clean_files=$ac_clean_files_save
3878    
3879 root 1.7 test $ac_write_fail = 0 ||
3880 root 1.8 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
3881 root 1.7
3882 root 1.1
3883     # configure is writing to config.log, and then calls config.status.
3884     # config.status does its own redirection, appending to config.log.
3885     # Unfortunately, on DOS this fails, as config.log is still kept open
3886     # by configure, so config.status won't be able to write to it; its
3887     # output is simply discarded. So we exec the FD to /dev/null,
3888     # effectively closing config.log, so it can be properly (re)opened and
3889     # appended to by config.status. When coming back to configure, we
3890     # need to make the FD available again.
3891     if test "$no_create" != yes; then
3892     ac_cs_success=:
3893     ac_config_status_args=
3894     test "$silent" = yes &&
3895     ac_config_status_args="$ac_config_status_args --quiet"
3896     exec 5>/dev/null
3897     $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
3898     exec 5>>config.log
3899     # Use ||, not &&, to avoid exiting from the if with $? = 1, which
3900     # would make configure fail if this is the last instruction.
3901 root 1.8 $ac_cs_success || as_fn_exit 1
3902 root 1.7 fi
3903     if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
3904     { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
3905     $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
3906 root 1.1 fi
3907