ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/IO-AIO/configure
Revision: 1.7
Committed: Sat Jan 2 12:58:37 2010 UTC (14 years, 5 months ago) by root
Branch: MAIN
CVS Tags: rel-3_7, rel-3_6, rel-3_5, rel-3_4, rel-3_65
Changes since 1.6: +1456 -1538 lines
Log Message:
*** empty log message ***

File Contents

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