etc/services - sync with NetBSD-8
[minix.git] / external / bsd / bind / dist / contrib / queryperf / configure
blob4de92ee8980e38d967e5ee48bdc1179e9f3a1a2c
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.68.
6 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 Free Software
8 # Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 if test "x$CONFIG_SHELL" = x; then
138 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
139 emulate sh
140 NULLCMD=:
141 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
142 # is contrary to our usage. Disable this feature.
143 alias -g '\${1+\"\$@\"}'='\"\$@\"'
144 setopt NO_GLOB_SUBST
145 else
146 case \`(set -o) 2>/dev/null\` in #(
147 *posix*) :
148 set -o posix ;; #(
149 *) :
151 esac
154 as_required="as_fn_return () { (exit \$1); }
155 as_fn_success () { as_fn_return 0; }
156 as_fn_failure () { as_fn_return 1; }
157 as_fn_ret_success () { return 0; }
158 as_fn_ret_failure () { return 1; }
160 exitcode=0
161 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
162 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
163 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
164 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
165 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 else
168 exitcode=1; echo positional parameters were not saved.
170 test x\$exitcode = x0 || exit 1"
171 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
172 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
173 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
174 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
175 if (eval "$as_required") 2>/dev/null; then :
176 as_have_required=yes
177 else
178 as_have_required=no
180 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 else
183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 as_found=false
185 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 IFS=$as_save_IFS
188 test -z "$as_dir" && as_dir=.
189 as_found=:
190 case $as_dir in #(
192 for as_base in sh bash ksh sh5; do
193 # Try only shells that exist, to save several forks.
194 as_shell=$as_dir/$as_base
195 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
196 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
197 CONFIG_SHELL=$as_shell as_have_required=yes
198 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
199 break 2
202 done;;
203 esac
204 as_found=false
205 done
206 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
207 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
208 CONFIG_SHELL=$SHELL as_have_required=yes
209 fi; }
210 IFS=$as_save_IFS
213 if test "x$CONFIG_SHELL" != x; then :
214 # We cannot yet assume a decent shell, so we have to provide a
215 # neutralization value for shells without unset; and this also
216 # works around shells that cannot unset nonexistent variables.
217 # Preserve -v and -x to the replacement shell.
218 BASH_ENV=/dev/null
219 ENV=/dev/null
220 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
221 export CONFIG_SHELL
222 case $- in # ((((
223 *v*x* | *x*v* ) as_opts=-vx ;;
224 *v* ) as_opts=-v ;;
225 *x* ) as_opts=-x ;;
226 * ) as_opts= ;;
227 esac
228 exec "$CONFIG_SHELL" $as_opts "$as_myself" ${1+"$@"}
231 if test x$as_have_required = xno; then :
232 $as_echo "$0: This script requires a shell more modern than all"
233 $as_echo "$0: the shells that I found on your system."
234 if test x${ZSH_VERSION+set} = xset ; then
235 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
236 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
237 else
238 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
239 $0: including any error possibly output before this
240 $0: message. Then install a modern shell, or manually run
241 $0: the script under such a shell if you do have one."
243 exit 1
247 SHELL=${CONFIG_SHELL-/bin/sh}
248 export SHELL
249 # Unset more variables known to interfere with behavior of common tools.
250 CLICOLOR_FORCE= GREP_OPTIONS=
251 unset CLICOLOR_FORCE GREP_OPTIONS
253 ## --------------------- ##
254 ## M4sh Shell Functions. ##
255 ## --------------------- ##
256 # as_fn_unset VAR
257 # ---------------
258 # Portably unset VAR.
259 as_fn_unset ()
261 { eval $1=; unset $1;}
263 as_unset=as_fn_unset
265 # as_fn_set_status STATUS
266 # -----------------------
267 # Set $? to STATUS, without forking.
268 as_fn_set_status ()
270 return $1
271 } # as_fn_set_status
273 # as_fn_exit STATUS
274 # -----------------
275 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 as_fn_exit ()
278 set +e
279 as_fn_set_status $1
280 exit $1
281 } # as_fn_exit
283 # as_fn_mkdir_p
284 # -------------
285 # Create "$as_dir" as a directory, including parents if necessary.
286 as_fn_mkdir_p ()
289 case $as_dir in #(
290 -*) as_dir=./$as_dir;;
291 esac
292 test -d "$as_dir" || eval $as_mkdir_p || {
293 as_dirs=
294 while :; do
295 case $as_dir in #(
296 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
297 *) as_qdir=$as_dir;;
298 esac
299 as_dirs="'$as_qdir' $as_dirs"
300 as_dir=`$as_dirname -- "$as_dir" ||
301 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
302 X"$as_dir" : 'X\(//\)[^/]' \| \
303 X"$as_dir" : 'X\(//\)$' \| \
304 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
305 $as_echo X"$as_dir" |
306 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
307 s//\1/
310 /^X\(\/\/\)[^/].*/{
311 s//\1/
314 /^X\(\/\/\)$/{
315 s//\1/
318 /^X\(\/\).*/{
319 s//\1/
322 s/.*/./; q'`
323 test -d "$as_dir" && break
324 done
325 test -z "$as_dirs" || eval "mkdir $as_dirs"
326 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
329 } # as_fn_mkdir_p
330 # as_fn_append VAR VALUE
331 # ----------------------
332 # Append the text in VALUE to the end of the definition contained in VAR. Take
333 # advantage of any shell optimizations that allow amortized linear growth over
334 # repeated appends, instead of the typical quadratic growth present in naive
335 # implementations.
336 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
337 eval 'as_fn_append ()
339 eval $1+=\$2
341 else
342 as_fn_append ()
344 eval $1=\$$1\$2
346 fi # as_fn_append
348 # as_fn_arith ARG...
349 # ------------------
350 # Perform arithmetic evaluation on the ARGs, and store the result in the
351 # global $as_val. Take advantage of shells that can avoid forks. The arguments
352 # must be portable across $(()) and expr.
353 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
354 eval 'as_fn_arith ()
356 as_val=$(( $* ))
358 else
359 as_fn_arith ()
361 as_val=`expr "$@" || test $? -eq 1`
363 fi # as_fn_arith
366 # as_fn_error STATUS ERROR [LINENO LOG_FD]
367 # ----------------------------------------
368 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
369 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
370 # script with STATUS, using 1 if that was 0.
371 as_fn_error ()
373 as_status=$1; test $as_status -eq 0 && as_status=1
374 if test "$4"; then
375 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
376 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
378 $as_echo "$as_me: error: $2" >&2
379 as_fn_exit $as_status
380 } # as_fn_error
382 if expr a : '\(a\)' >/dev/null 2>&1 &&
383 test "X`expr 00001 : '.*\(...\)'`" = X001; then
384 as_expr=expr
385 else
386 as_expr=false
389 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
390 as_basename=basename
391 else
392 as_basename=false
395 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
396 as_dirname=dirname
397 else
398 as_dirname=false
401 as_me=`$as_basename -- "$0" ||
402 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
403 X"$0" : 'X\(//\)$' \| \
404 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
405 $as_echo X/"$0" |
406 sed '/^.*\/\([^/][^/]*\)\/*$/{
407 s//\1/
410 /^X\/\(\/\/\)$/{
411 s//\1/
414 /^X\/\(\/\).*/{
415 s//\1/
418 s/.*/./; q'`
420 # Avoid depending upon Character Ranges.
421 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
422 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
423 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
424 as_cr_digits='0123456789'
425 as_cr_alnum=$as_cr_Letters$as_cr_digits
428 as_lineno_1=$LINENO as_lineno_1a=$LINENO
429 as_lineno_2=$LINENO as_lineno_2a=$LINENO
430 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
431 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
432 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
433 sed -n '
435 /[$]LINENO/=
436 ' <$as_myself |
437 sed '
438 s/[$]LINENO.*/&-/
439 t lineno
441 :lineno
443 :loop
444 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
445 t loop
446 s/-\n.*//
447 ' >$as_me.lineno &&
448 chmod +x "$as_me.lineno" ||
449 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
451 # Don't try to exec as it changes $[0], causing all sort of problems
452 # (the dirname of $[0] is not the place where we might find the
453 # original and so on. Autoconf is especially sensitive to this).
454 . "./$as_me.lineno"
455 # Exit status is that of the last command.
456 exit
459 ECHO_C= ECHO_N= ECHO_T=
460 case `echo -n x` in #(((((
461 -n*)
462 case `echo 'xy\c'` in
463 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
464 xy) ECHO_C='\c';;
465 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
466 ECHO_T=' ';;
467 esac;;
469 ECHO_N='-n';;
470 esac
472 rm -f conf$$ conf$$.exe conf$$.file
473 if test -d conf$$.dir; then
474 rm -f conf$$.dir/conf$$.file
475 else
476 rm -f conf$$.dir
477 mkdir conf$$.dir 2>/dev/null
479 if (echo >conf$$.file) 2>/dev/null; then
480 if ln -s conf$$.file conf$$ 2>/dev/null; then
481 as_ln_s='ln -s'
482 # ... but there are two gotchas:
483 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
484 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
485 # In both cases, we have to default to `cp -p'.
486 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
487 as_ln_s='cp -p'
488 elif ln conf$$.file conf$$ 2>/dev/null; then
489 as_ln_s=ln
490 else
491 as_ln_s='cp -p'
493 else
494 as_ln_s='cp -p'
496 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
497 rmdir conf$$.dir 2>/dev/null
499 if mkdir -p . 2>/dev/null; then
500 as_mkdir_p='mkdir -p "$as_dir"'
501 else
502 test -d ./-p && rmdir ./-p
503 as_mkdir_p=false
506 if test -x / >/dev/null 2>&1; then
507 as_test_x='test -x'
508 else
509 if ls -dL / >/dev/null 2>&1; then
510 as_ls_L_option=L
511 else
512 as_ls_L_option=
514 as_test_x='
515 eval sh -c '\''
516 if test -d "$1"; then
517 test -d "$1/.";
518 else
519 case $1 in #(
520 -*)set "./$1";;
521 esac;
522 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
523 ???[sx]*):;;*)false;;esac;fi
524 '\'' sh
527 as_executable_p=$as_test_x
529 # Sed expression to map a string onto a valid CPP name.
530 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
532 # Sed expression to map a string onto a valid variable name.
533 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
536 test -n "$DJDIR" || exec 7<&0 </dev/null
537 exec 6>&1
539 # Name of the host.
540 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
541 # so uname gets run too.
542 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
545 # Initializations.
547 ac_default_prefix=/usr/local
548 ac_clean_files=
549 ac_config_libobj_dir=.
550 LIBOBJS=
551 cross_compiling=no
552 subdirs=
553 MFLAGS=
554 MAKEFLAGS=
556 # Identity of this package.
557 PACKAGE_NAME=
558 PACKAGE_TARNAME=
559 PACKAGE_VERSION=
560 PACKAGE_STRING=
561 PACKAGE_BUGREPORT=
562 PACKAGE_URL=
564 ac_unique_file="queryperf.c"
565 ac_subst_vars='LTLIBOBJS
566 LIBOBJS
567 OBJEXT
568 EXEEXT
569 ac_ct_CC
570 CPPFLAGS
571 LDFLAGS
572 CFLAGS
574 target_alias
575 host_alias
576 build_alias
577 LIBS
578 ECHO_T
579 ECHO_N
580 ECHO_C
581 DEFS
582 mandir
583 localedir
584 libdir
585 psdir
586 pdfdir
587 dvidir
588 htmldir
589 infodir
590 docdir
591 oldincludedir
592 includedir
593 localstatedir
594 sharedstatedir
595 sysconfdir
596 datadir
597 datarootdir
598 libexecdir
599 sbindir
600 bindir
601 program_transform_name
602 prefix
603 exec_prefix
604 PACKAGE_URL
605 PACKAGE_BUGREPORT
606 PACKAGE_STRING
607 PACKAGE_VERSION
608 PACKAGE_TARNAME
609 PACKAGE_NAME
610 PATH_SEPARATOR
611 SHELL'
612 ac_subst_files=''
613 ac_user_opts='
614 enable_option_checking
616 ac_precious_vars='build_alias
617 host_alias
618 target_alias
620 CFLAGS
621 LDFLAGS
622 LIBS
623 CPPFLAGS'
626 # Initialize some variables set by options.
627 ac_init_help=
628 ac_init_version=false
629 ac_unrecognized_opts=
630 ac_unrecognized_sep=
631 # The variables have the same names as the options, with
632 # dashes changed to underlines.
633 cache_file=/dev/null
634 exec_prefix=NONE
635 no_create=
636 no_recursion=
637 prefix=NONE
638 program_prefix=NONE
639 program_suffix=NONE
640 program_transform_name=s,x,x,
641 silent=
642 site=
643 srcdir=
644 verbose=
645 x_includes=NONE
646 x_libraries=NONE
648 # Installation directory options.
649 # These are left unexpanded so users can "make install exec_prefix=/foo"
650 # and all the variables that are supposed to be based on exec_prefix
651 # by default will actually change.
652 # Use braces instead of parens because sh, perl, etc. also accept them.
653 # (The list follows the same order as the GNU Coding Standards.)
654 bindir='${exec_prefix}/bin'
655 sbindir='${exec_prefix}/sbin'
656 libexecdir='${exec_prefix}/libexec'
657 datarootdir='${prefix}/share'
658 datadir='${datarootdir}'
659 sysconfdir='${prefix}/etc'
660 sharedstatedir='${prefix}/com'
661 localstatedir='${prefix}/var'
662 includedir='${prefix}/include'
663 oldincludedir='/usr/include'
664 docdir='${datarootdir}/doc/${PACKAGE}'
665 infodir='${datarootdir}/info'
666 htmldir='${docdir}'
667 dvidir='${docdir}'
668 pdfdir='${docdir}'
669 psdir='${docdir}'
670 libdir='${exec_prefix}/lib'
671 localedir='${datarootdir}/locale'
672 mandir='${datarootdir}/man'
674 ac_prev=
675 ac_dashdash=
676 for ac_option
678 # If the previous option needs an argument, assign it.
679 if test -n "$ac_prev"; then
680 eval $ac_prev=\$ac_option
681 ac_prev=
682 continue
685 case $ac_option in
686 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
687 *=) ac_optarg= ;;
688 *) ac_optarg=yes ;;
689 esac
691 # Accept the important Cygnus configure options, so we can diagnose typos.
693 case $ac_dashdash$ac_option in
695 ac_dashdash=yes ;;
697 -bindir | --bindir | --bindi | --bind | --bin | --bi)
698 ac_prev=bindir ;;
699 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
700 bindir=$ac_optarg ;;
702 -build | --build | --buil | --bui | --bu)
703 ac_prev=build_alias ;;
704 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
705 build_alias=$ac_optarg ;;
707 -cache-file | --cache-file | --cache-fil | --cache-fi \
708 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
709 ac_prev=cache_file ;;
710 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
711 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
712 cache_file=$ac_optarg ;;
714 --config-cache | -C)
715 cache_file=config.cache ;;
717 -datadir | --datadir | --datadi | --datad)
718 ac_prev=datadir ;;
719 -datadir=* | --datadir=* | --datadi=* | --datad=*)
720 datadir=$ac_optarg ;;
722 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
723 | --dataroo | --dataro | --datar)
724 ac_prev=datarootdir ;;
725 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
726 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
727 datarootdir=$ac_optarg ;;
729 -disable-* | --disable-*)
730 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
731 # Reject names that are not valid shell variable names.
732 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
733 as_fn_error $? "invalid feature name: $ac_useropt"
734 ac_useropt_orig=$ac_useropt
735 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
736 case $ac_user_opts in
738 "enable_$ac_useropt"
739 "*) ;;
740 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
741 ac_unrecognized_sep=', ';;
742 esac
743 eval enable_$ac_useropt=no ;;
745 -docdir | --docdir | --docdi | --doc | --do)
746 ac_prev=docdir ;;
747 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
748 docdir=$ac_optarg ;;
750 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
751 ac_prev=dvidir ;;
752 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
753 dvidir=$ac_optarg ;;
755 -enable-* | --enable-*)
756 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
759 as_fn_error $? "invalid feature name: $ac_useropt"
760 ac_useropt_orig=$ac_useropt
761 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
762 case $ac_user_opts in
764 "enable_$ac_useropt"
765 "*) ;;
766 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
767 ac_unrecognized_sep=', ';;
768 esac
769 eval enable_$ac_useropt=\$ac_optarg ;;
771 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
772 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
773 | --exec | --exe | --ex)
774 ac_prev=exec_prefix ;;
775 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
776 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
777 | --exec=* | --exe=* | --ex=*)
778 exec_prefix=$ac_optarg ;;
780 -gas | --gas | --ga | --g)
781 # Obsolete; use --with-gas.
782 with_gas=yes ;;
784 -help | --help | --hel | --he | -h)
785 ac_init_help=long ;;
786 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
787 ac_init_help=recursive ;;
788 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
789 ac_init_help=short ;;
791 -host | --host | --hos | --ho)
792 ac_prev=host_alias ;;
793 -host=* | --host=* | --hos=* | --ho=*)
794 host_alias=$ac_optarg ;;
796 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
797 ac_prev=htmldir ;;
798 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
799 | --ht=*)
800 htmldir=$ac_optarg ;;
802 -includedir | --includedir | --includedi | --included | --include \
803 | --includ | --inclu | --incl | --inc)
804 ac_prev=includedir ;;
805 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
806 | --includ=* | --inclu=* | --incl=* | --inc=*)
807 includedir=$ac_optarg ;;
809 -infodir | --infodir | --infodi | --infod | --info | --inf)
810 ac_prev=infodir ;;
811 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
812 infodir=$ac_optarg ;;
814 -libdir | --libdir | --libdi | --libd)
815 ac_prev=libdir ;;
816 -libdir=* | --libdir=* | --libdi=* | --libd=*)
817 libdir=$ac_optarg ;;
819 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
820 | --libexe | --libex | --libe)
821 ac_prev=libexecdir ;;
822 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
823 | --libexe=* | --libex=* | --libe=*)
824 libexecdir=$ac_optarg ;;
826 -localedir | --localedir | --localedi | --localed | --locale)
827 ac_prev=localedir ;;
828 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
829 localedir=$ac_optarg ;;
831 -localstatedir | --localstatedir | --localstatedi | --localstated \
832 | --localstate | --localstat | --localsta | --localst | --locals)
833 ac_prev=localstatedir ;;
834 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
835 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
836 localstatedir=$ac_optarg ;;
838 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
839 ac_prev=mandir ;;
840 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
841 mandir=$ac_optarg ;;
843 -nfp | --nfp | --nf)
844 # Obsolete; use --without-fp.
845 with_fp=no ;;
847 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
848 | --no-cr | --no-c | -n)
849 no_create=yes ;;
851 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
852 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
853 no_recursion=yes ;;
855 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
856 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
857 | --oldin | --oldi | --old | --ol | --o)
858 ac_prev=oldincludedir ;;
859 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
860 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
861 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
862 oldincludedir=$ac_optarg ;;
864 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
865 ac_prev=prefix ;;
866 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
867 prefix=$ac_optarg ;;
869 -program-prefix | --program-prefix | --program-prefi | --program-pref \
870 | --program-pre | --program-pr | --program-p)
871 ac_prev=program_prefix ;;
872 -program-prefix=* | --program-prefix=* | --program-prefi=* \
873 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
874 program_prefix=$ac_optarg ;;
876 -program-suffix | --program-suffix | --program-suffi | --program-suff \
877 | --program-suf | --program-su | --program-s)
878 ac_prev=program_suffix ;;
879 -program-suffix=* | --program-suffix=* | --program-suffi=* \
880 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
881 program_suffix=$ac_optarg ;;
883 -program-transform-name | --program-transform-name \
884 | --program-transform-nam | --program-transform-na \
885 | --program-transform-n | --program-transform- \
886 | --program-transform | --program-transfor \
887 | --program-transfo | --program-transf \
888 | --program-trans | --program-tran \
889 | --progr-tra | --program-tr | --program-t)
890 ac_prev=program_transform_name ;;
891 -program-transform-name=* | --program-transform-name=* \
892 | --program-transform-nam=* | --program-transform-na=* \
893 | --program-transform-n=* | --program-transform-=* \
894 | --program-transform=* | --program-transfor=* \
895 | --program-transfo=* | --program-transf=* \
896 | --program-trans=* | --program-tran=* \
897 | --progr-tra=* | --program-tr=* | --program-t=*)
898 program_transform_name=$ac_optarg ;;
900 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
901 ac_prev=pdfdir ;;
902 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
903 pdfdir=$ac_optarg ;;
905 -psdir | --psdir | --psdi | --psd | --ps)
906 ac_prev=psdir ;;
907 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
908 psdir=$ac_optarg ;;
910 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
911 | -silent | --silent | --silen | --sile | --sil)
912 silent=yes ;;
914 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
915 ac_prev=sbindir ;;
916 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
917 | --sbi=* | --sb=*)
918 sbindir=$ac_optarg ;;
920 -sharedstatedir | --sharedstatedir | --sharedstatedi \
921 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
922 | --sharedst | --shareds | --shared | --share | --shar \
923 | --sha | --sh)
924 ac_prev=sharedstatedir ;;
925 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
926 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
927 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
928 | --sha=* | --sh=*)
929 sharedstatedir=$ac_optarg ;;
931 -site | --site | --sit)
932 ac_prev=site ;;
933 -site=* | --site=* | --sit=*)
934 site=$ac_optarg ;;
936 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
937 ac_prev=srcdir ;;
938 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
939 srcdir=$ac_optarg ;;
941 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
942 | --syscon | --sysco | --sysc | --sys | --sy)
943 ac_prev=sysconfdir ;;
944 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
945 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
946 sysconfdir=$ac_optarg ;;
948 -target | --target | --targe | --targ | --tar | --ta | --t)
949 ac_prev=target_alias ;;
950 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
951 target_alias=$ac_optarg ;;
953 -v | -verbose | --verbose | --verbos | --verbo | --verb)
954 verbose=yes ;;
956 -version | --version | --versio | --versi | --vers | -V)
957 ac_init_version=: ;;
959 -with-* | --with-*)
960 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
961 # Reject names that are not valid shell variable names.
962 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
963 as_fn_error $? "invalid package name: $ac_useropt"
964 ac_useropt_orig=$ac_useropt
965 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
966 case $ac_user_opts in
968 "with_$ac_useropt"
969 "*) ;;
970 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
971 ac_unrecognized_sep=', ';;
972 esac
973 eval with_$ac_useropt=\$ac_optarg ;;
975 -without-* | --without-*)
976 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
977 # Reject names that are not valid shell variable names.
978 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
979 as_fn_error $? "invalid package name: $ac_useropt"
980 ac_useropt_orig=$ac_useropt
981 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
982 case $ac_user_opts in
984 "with_$ac_useropt"
985 "*) ;;
986 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
987 ac_unrecognized_sep=', ';;
988 esac
989 eval with_$ac_useropt=no ;;
991 --x)
992 # Obsolete; use --with-x.
993 with_x=yes ;;
995 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
996 | --x-incl | --x-inc | --x-in | --x-i)
997 ac_prev=x_includes ;;
998 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
999 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1000 x_includes=$ac_optarg ;;
1002 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1003 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1004 ac_prev=x_libraries ;;
1005 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1006 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1007 x_libraries=$ac_optarg ;;
1009 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1010 Try \`$0 --help' for more information"
1013 *=*)
1014 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1015 # Reject names that are not valid shell variable names.
1016 case $ac_envvar in #(
1017 '' | [0-9]* | *[!_$as_cr_alnum]* )
1018 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1019 esac
1020 eval $ac_envvar=\$ac_optarg
1021 export $ac_envvar ;;
1024 # FIXME: should be removed in autoconf 3.0.
1025 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1026 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1027 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1028 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1031 esac
1032 done
1034 if test -n "$ac_prev"; then
1035 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1036 as_fn_error $? "missing argument to $ac_option"
1039 if test -n "$ac_unrecognized_opts"; then
1040 case $enable_option_checking in
1041 no) ;;
1042 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1043 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1044 esac
1047 # Check all directory arguments for consistency.
1048 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1049 datadir sysconfdir sharedstatedir localstatedir includedir \
1050 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1051 libdir localedir mandir
1053 eval ac_val=\$$ac_var
1054 # Remove trailing slashes.
1055 case $ac_val in
1056 */ )
1057 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1058 eval $ac_var=\$ac_val;;
1059 esac
1060 # Be sure to have absolute directory names.
1061 case $ac_val in
1062 [\\/$]* | ?:[\\/]* ) continue;;
1063 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1064 esac
1065 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1066 done
1068 # There might be people who depend on the old broken behavior: `$host'
1069 # used to hold the argument of --host etc.
1070 # FIXME: To remove some day.
1071 build=$build_alias
1072 host=$host_alias
1073 target=$target_alias
1075 # FIXME: To remove some day.
1076 if test "x$host_alias" != x; then
1077 if test "x$build_alias" = x; then
1078 cross_compiling=maybe
1079 $as_echo "$as_me: WARNING: if you wanted to set the --build type, don't use --host.
1080 If a cross compiler is detected then cross compile mode will be used" >&2
1081 elif test "x$build_alias" != "x$host_alias"; then
1082 cross_compiling=yes
1086 ac_tool_prefix=
1087 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1089 test "$silent" = yes && exec 6>/dev/null
1092 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1093 ac_ls_di=`ls -di .` &&
1094 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1095 as_fn_error $? "working directory cannot be determined"
1096 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1097 as_fn_error $? "pwd does not report name of working directory"
1100 # Find the source files, if location was not specified.
1101 if test -z "$srcdir"; then
1102 ac_srcdir_defaulted=yes
1103 # Try the directory containing this script, then the parent directory.
1104 ac_confdir=`$as_dirname -- "$as_myself" ||
1105 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1106 X"$as_myself" : 'X\(//\)[^/]' \| \
1107 X"$as_myself" : 'X\(//\)$' \| \
1108 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1109 $as_echo X"$as_myself" |
1110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1111 s//\1/
1114 /^X\(\/\/\)[^/].*/{
1115 s//\1/
1118 /^X\(\/\/\)$/{
1119 s//\1/
1122 /^X\(\/\).*/{
1123 s//\1/
1126 s/.*/./; q'`
1127 srcdir=$ac_confdir
1128 if test ! -r "$srcdir/$ac_unique_file"; then
1129 srcdir=..
1131 else
1132 ac_srcdir_defaulted=no
1134 if test ! -r "$srcdir/$ac_unique_file"; then
1135 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1136 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1138 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1139 ac_abs_confdir=`(
1140 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1141 pwd)`
1142 # When building in place, set srcdir=.
1143 if test "$ac_abs_confdir" = "$ac_pwd"; then
1144 srcdir=.
1146 # Remove unnecessary trailing slashes from srcdir.
1147 # Double slashes in file names in object file debugging info
1148 # mess up M-x gdb in Emacs.
1149 case $srcdir in
1150 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1151 esac
1152 for ac_var in $ac_precious_vars; do
1153 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1154 eval ac_env_${ac_var}_value=\$${ac_var}
1155 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1156 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1157 done
1160 # Report the --help message.
1162 if test "$ac_init_help" = "long"; then
1163 # Omit some internal or obsolete options to make the list less imposing.
1164 # This message is too long to be a string in the A/UX 3.1 sh.
1165 cat <<_ACEOF
1166 \`configure' configures this package to adapt to many kinds of systems.
1168 Usage: $0 [OPTION]... [VAR=VALUE]...
1170 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1171 VAR=VALUE. See below for descriptions of some of the useful variables.
1173 Defaults for the options are specified in brackets.
1175 Configuration:
1176 -h, --help display this help and exit
1177 --help=short display options specific to this package
1178 --help=recursive display the short help of all the included packages
1179 -V, --version display version information and exit
1180 -q, --quiet, --silent do not print \`checking ...' messages
1181 --cache-file=FILE cache test results in FILE [disabled]
1182 -C, --config-cache alias for \`--cache-file=config.cache'
1183 -n, --no-create do not create output files
1184 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1186 Installation directories:
1187 --prefix=PREFIX install architecture-independent files in PREFIX
1188 [$ac_default_prefix]
1189 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1190 [PREFIX]
1192 By default, \`make install' will install all the files in
1193 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1194 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1195 for instance \`--prefix=\$HOME'.
1197 For better control, use the options below.
1199 Fine tuning of the installation directories:
1200 --bindir=DIR user executables [EPREFIX/bin]
1201 --sbindir=DIR system admin executables [EPREFIX/sbin]
1202 --libexecdir=DIR program executables [EPREFIX/libexec]
1203 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1204 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1205 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1206 --libdir=DIR object code libraries [EPREFIX/lib]
1207 --includedir=DIR C header files [PREFIX/include]
1208 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1209 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1210 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1211 --infodir=DIR info documentation [DATAROOTDIR/info]
1212 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1213 --mandir=DIR man documentation [DATAROOTDIR/man]
1214 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1215 --htmldir=DIR html documentation [DOCDIR]
1216 --dvidir=DIR dvi documentation [DOCDIR]
1217 --pdfdir=DIR pdf documentation [DOCDIR]
1218 --psdir=DIR ps documentation [DOCDIR]
1219 _ACEOF
1221 cat <<\_ACEOF
1222 _ACEOF
1225 if test -n "$ac_init_help"; then
1227 cat <<\_ACEOF
1229 Some influential environment variables:
1230 CC C compiler command
1231 CFLAGS C compiler flags
1232 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1233 nonstandard directory <lib dir>
1234 LIBS libraries to pass to the linker, e.g. -l<library>
1235 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1236 you have headers in a nonstandard directory <include dir>
1238 Use these variables to override the choices made by `configure' or to help
1239 it to find libraries and programs with nonstandard names/locations.
1241 Report bugs to the package provider.
1242 _ACEOF
1243 ac_status=$?
1246 if test "$ac_init_help" = "recursive"; then
1247 # If there are subdirs, report their specific --help.
1248 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1249 test -d "$ac_dir" ||
1250 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1251 continue
1252 ac_builddir=.
1254 case "$ac_dir" in
1255 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1257 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1258 # A ".." for each directory in $ac_dir_suffix.
1259 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1260 case $ac_top_builddir_sub in
1261 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1262 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1263 esac ;;
1264 esac
1265 ac_abs_top_builddir=$ac_pwd
1266 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1267 # for backward compatibility:
1268 ac_top_builddir=$ac_top_build_prefix
1270 case $srcdir in
1271 .) # We are building in place.
1272 ac_srcdir=.
1273 ac_top_srcdir=$ac_top_builddir_sub
1274 ac_abs_top_srcdir=$ac_pwd ;;
1275 [\\/]* | ?:[\\/]* ) # Absolute name.
1276 ac_srcdir=$srcdir$ac_dir_suffix;
1277 ac_top_srcdir=$srcdir
1278 ac_abs_top_srcdir=$srcdir ;;
1279 *) # Relative name.
1280 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1281 ac_top_srcdir=$ac_top_build_prefix$srcdir
1282 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1283 esac
1284 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1286 cd "$ac_dir" || { ac_status=$?; continue; }
1287 # Check for guested configure.
1288 if test -f "$ac_srcdir/configure.gnu"; then
1289 echo &&
1290 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1291 elif test -f "$ac_srcdir/configure"; then
1292 echo &&
1293 $SHELL "$ac_srcdir/configure" --help=recursive
1294 else
1295 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1296 fi || ac_status=$?
1297 cd "$ac_pwd" || { ac_status=$?; break; }
1298 done
1301 test -n "$ac_init_help" && exit $ac_status
1302 if $ac_init_version; then
1303 cat <<\_ACEOF
1304 configure
1305 generated by GNU Autoconf 2.68
1307 Copyright (C) 2010 Free Software Foundation, Inc.
1308 This configure script is free software; the Free Software Foundation
1309 gives unlimited permission to copy, distribute and modify it.
1310 _ACEOF
1311 exit
1314 ## ------------------------ ##
1315 ## Autoconf initialization. ##
1316 ## ------------------------ ##
1318 # ac_fn_c_try_compile LINENO
1319 # --------------------------
1320 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1321 ac_fn_c_try_compile ()
1323 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1324 rm -f conftest.$ac_objext
1325 if { { ac_try="$ac_compile"
1326 case "(($ac_try" in
1327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1328 *) ac_try_echo=$ac_try;;
1329 esac
1330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1331 $as_echo "$ac_try_echo"; } >&5
1332 (eval "$ac_compile") 2>conftest.err
1333 ac_status=$?
1334 if test -s conftest.err; then
1335 grep -v '^ *+' conftest.err >conftest.er1
1336 cat conftest.er1 >&5
1337 mv -f conftest.er1 conftest.err
1339 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1340 test $ac_status = 0; } && {
1341 test -z "$ac_c_werror_flag" ||
1342 test ! -s conftest.err
1343 } && test -s conftest.$ac_objext; then :
1344 ac_retval=0
1345 else
1346 $as_echo "$as_me: failed program was:" >&5
1347 sed 's/^/| /' conftest.$ac_ext >&5
1349 ac_retval=1
1351 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1352 as_fn_set_status $ac_retval
1354 } # ac_fn_c_try_compile
1356 # ac_fn_c_try_link LINENO
1357 # -----------------------
1358 # Try to link conftest.$ac_ext, and return whether this succeeded.
1359 ac_fn_c_try_link ()
1361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1362 rm -f conftest.$ac_objext conftest$ac_exeext
1363 if { { ac_try="$ac_link"
1364 case "(($ac_try" in
1365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1366 *) ac_try_echo=$ac_try;;
1367 esac
1368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1369 $as_echo "$ac_try_echo"; } >&5
1370 (eval "$ac_link") 2>conftest.err
1371 ac_status=$?
1372 if test -s conftest.err; then
1373 grep -v '^ *+' conftest.err >conftest.er1
1374 cat conftest.er1 >&5
1375 mv -f conftest.er1 conftest.err
1377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1378 test $ac_status = 0; } && {
1379 test -z "$ac_c_werror_flag" ||
1380 test ! -s conftest.err
1381 } && test -s conftest$ac_exeext && {
1382 test "$cross_compiling" = yes ||
1383 $as_test_x conftest$ac_exeext
1384 }; then :
1385 ac_retval=0
1386 else
1387 $as_echo "$as_me: failed program was:" >&5
1388 sed 's/^/| /' conftest.$ac_ext >&5
1390 ac_retval=1
1392 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1393 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1394 # interfere with the next link command; also delete a directory that is
1395 # left behind by Apple's compiler. We do this before executing the actions.
1396 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1397 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1398 as_fn_set_status $ac_retval
1400 } # ac_fn_c_try_link
1402 # ac_fn_c_check_func LINENO FUNC VAR
1403 # ----------------------------------
1404 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1405 ac_fn_c_check_func ()
1407 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1409 $as_echo_n "checking for $2... " >&6; }
1410 if eval \${$3+:} false; then :
1411 $as_echo_n "(cached) " >&6
1412 else
1413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1414 /* end confdefs.h. */
1415 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1416 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1417 #define $2 innocuous_$2
1419 /* System header to define __stub macros and hopefully few prototypes,
1420 which can conflict with char $2 (); below.
1421 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1422 <limits.h> exists even on freestanding compilers. */
1424 #ifdef __STDC__
1425 # include <limits.h>
1426 #else
1427 # include <assert.h>
1428 #endif
1430 #undef $2
1432 /* Override any GCC internal prototype to avoid an error.
1433 Use char because int might match the return type of a GCC
1434 builtin and then its argument prototype would still apply. */
1435 #ifdef __cplusplus
1436 extern "C"
1437 #endif
1438 char $2 ();
1439 /* The GNU C library defines this for functions which it implements
1440 to always fail with ENOSYS. Some functions are actually named
1441 something starting with __ and the normal name is an alias. */
1442 #if defined __stub_$2 || defined __stub___$2
1443 choke me
1444 #endif
1447 main ()
1449 return $2 ();
1451 return 0;
1453 _ACEOF
1454 if ac_fn_c_try_link "$LINENO"; then :
1455 eval "$3=yes"
1456 else
1457 eval "$3=no"
1459 rm -f core conftest.err conftest.$ac_objext \
1460 conftest$ac_exeext conftest.$ac_ext
1462 eval ac_res=\$$3
1463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1464 $as_echo "$ac_res" >&6; }
1465 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1467 } # ac_fn_c_check_func
1468 cat >config.log <<_ACEOF
1469 This file contains any messages produced by compilers while
1470 running configure, to aid debugging if configure makes a mistake.
1472 It was created by $as_me, which was
1473 generated by GNU Autoconf 2.68. Invocation command line was
1475 $ $0 $@
1477 _ACEOF
1478 exec 5>>config.log
1480 cat <<_ASUNAME
1481 ## --------- ##
1482 ## Platform. ##
1483 ## --------- ##
1485 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1486 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1487 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1488 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1489 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1491 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1492 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1494 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1495 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1496 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1497 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1498 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1499 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1500 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1502 _ASUNAME
1504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1505 for as_dir in $PATH
1507 IFS=$as_save_IFS
1508 test -z "$as_dir" && as_dir=.
1509 $as_echo "PATH: $as_dir"
1510 done
1511 IFS=$as_save_IFS
1513 } >&5
1515 cat >&5 <<_ACEOF
1518 ## ----------- ##
1519 ## Core tests. ##
1520 ## ----------- ##
1522 _ACEOF
1525 # Keep a trace of the command line.
1526 # Strip out --no-create and --no-recursion so they do not pile up.
1527 # Strip out --silent because we don't want to record it for future runs.
1528 # Also quote any args containing shell meta-characters.
1529 # Make two passes to allow for proper duplicate-argument suppression.
1530 ac_configure_args=
1531 ac_configure_args0=
1532 ac_configure_args1=
1533 ac_must_keep_next=false
1534 for ac_pass in 1 2
1536 for ac_arg
1538 case $ac_arg in
1539 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1540 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1541 | -silent | --silent | --silen | --sile | --sil)
1542 continue ;;
1543 *\'*)
1544 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1545 esac
1546 case $ac_pass in
1547 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1549 as_fn_append ac_configure_args1 " '$ac_arg'"
1550 if test $ac_must_keep_next = true; then
1551 ac_must_keep_next=false # Got value, back to normal.
1552 else
1553 case $ac_arg in
1554 *=* | --config-cache | -C | -disable-* | --disable-* \
1555 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1556 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1557 | -with-* | --with-* | -without-* | --without-* | --x)
1558 case "$ac_configure_args0 " in
1559 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1560 esac
1562 -* ) ac_must_keep_next=true ;;
1563 esac
1565 as_fn_append ac_configure_args " '$ac_arg'"
1567 esac
1568 done
1569 done
1570 { ac_configure_args0=; unset ac_configure_args0;}
1571 { ac_configure_args1=; unset ac_configure_args1;}
1573 # When interrupted or exit'd, cleanup temporary files, and complete
1574 # config.log. We remove comments because anyway the quotes in there
1575 # would cause problems or look ugly.
1576 # WARNING: Use '\'' to represent an apostrophe within the trap.
1577 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1578 trap 'exit_status=$?
1579 # Save into config.log some information that might help in debugging.
1581 echo
1583 $as_echo "## ---------------- ##
1584 ## Cache variables. ##
1585 ## ---------------- ##"
1586 echo
1587 # The following way of writing the cache mishandles newlines in values,
1589 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1590 eval ac_val=\$$ac_var
1591 case $ac_val in #(
1592 *${as_nl}*)
1593 case $ac_var in #(
1594 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1595 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1596 esac
1597 case $ac_var in #(
1598 _ | IFS | as_nl) ;; #(
1599 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1600 *) { eval $ac_var=; unset $ac_var;} ;;
1601 esac ;;
1602 esac
1603 done
1604 (set) 2>&1 |
1605 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1606 *${as_nl}ac_space=\ *)
1607 sed -n \
1608 "s/'\''/'\''\\\\'\'''\''/g;
1609 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1610 ;; #(
1612 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1614 esac |
1615 sort
1617 echo
1619 $as_echo "## ----------------- ##
1620 ## Output variables. ##
1621 ## ----------------- ##"
1622 echo
1623 for ac_var in $ac_subst_vars
1625 eval ac_val=\$$ac_var
1626 case $ac_val in
1627 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1628 esac
1629 $as_echo "$ac_var='\''$ac_val'\''"
1630 done | sort
1631 echo
1633 if test -n "$ac_subst_files"; then
1634 $as_echo "## ------------------- ##
1635 ## File substitutions. ##
1636 ## ------------------- ##"
1637 echo
1638 for ac_var in $ac_subst_files
1640 eval ac_val=\$$ac_var
1641 case $ac_val in
1642 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1643 esac
1644 $as_echo "$ac_var='\''$ac_val'\''"
1645 done | sort
1646 echo
1649 if test -s confdefs.h; then
1650 $as_echo "## ----------- ##
1651 ## confdefs.h. ##
1652 ## ----------- ##"
1653 echo
1654 cat confdefs.h
1655 echo
1657 test "$ac_signal" != 0 &&
1658 $as_echo "$as_me: caught signal $ac_signal"
1659 $as_echo "$as_me: exit $exit_status"
1660 } >&5
1661 rm -f core *.core core.conftest.* &&
1662 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1663 exit $exit_status
1665 for ac_signal in 1 2 13 15; do
1666 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1667 done
1668 ac_signal=0
1670 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1671 rm -f -r conftest* confdefs.h
1673 $as_echo "/* confdefs.h */" > confdefs.h
1675 # Predefined preprocessor variables.
1677 cat >>confdefs.h <<_ACEOF
1678 #define PACKAGE_NAME "$PACKAGE_NAME"
1679 _ACEOF
1681 cat >>confdefs.h <<_ACEOF
1682 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1683 _ACEOF
1685 cat >>confdefs.h <<_ACEOF
1686 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1687 _ACEOF
1689 cat >>confdefs.h <<_ACEOF
1690 #define PACKAGE_STRING "$PACKAGE_STRING"
1691 _ACEOF
1693 cat >>confdefs.h <<_ACEOF
1694 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1695 _ACEOF
1697 cat >>confdefs.h <<_ACEOF
1698 #define PACKAGE_URL "$PACKAGE_URL"
1699 _ACEOF
1702 # Let the site file select an alternate cache file if it wants to.
1703 # Prefer an explicitly selected file to automatically selected ones.
1704 ac_site_file1=NONE
1705 ac_site_file2=NONE
1706 if test -n "$CONFIG_SITE"; then
1707 # We do not want a PATH search for config.site.
1708 case $CONFIG_SITE in #((
1709 -*) ac_site_file1=./$CONFIG_SITE;;
1710 */*) ac_site_file1=$CONFIG_SITE;;
1711 *) ac_site_file1=./$CONFIG_SITE;;
1712 esac
1713 elif test "x$prefix" != xNONE; then
1714 ac_site_file1=$prefix/share/config.site
1715 ac_site_file2=$prefix/etc/config.site
1716 else
1717 ac_site_file1=$ac_default_prefix/share/config.site
1718 ac_site_file2=$ac_default_prefix/etc/config.site
1720 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1722 test "x$ac_site_file" = xNONE && continue
1723 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1724 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1725 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1726 sed 's/^/| /' "$ac_site_file" >&5
1727 . "$ac_site_file" \
1728 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1729 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1730 as_fn_error $? "failed to load site script $ac_site_file
1731 See \`config.log' for more details" "$LINENO" 5; }
1733 done
1735 if test -r "$cache_file"; then
1736 # Some versions of bash will fail to source /dev/null (special files
1737 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1738 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1739 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1740 $as_echo "$as_me: loading cache $cache_file" >&6;}
1741 case $cache_file in
1742 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1743 *) . "./$cache_file";;
1744 esac
1746 else
1747 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1748 $as_echo "$as_me: creating cache $cache_file" >&6;}
1749 >$cache_file
1752 # Check that the precious variables saved in the cache have kept the same
1753 # value.
1754 ac_cache_corrupted=false
1755 for ac_var in $ac_precious_vars; do
1756 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1757 eval ac_new_set=\$ac_env_${ac_var}_set
1758 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1759 eval ac_new_val=\$ac_env_${ac_var}_value
1760 case $ac_old_set,$ac_new_set in
1761 set,)
1762 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1763 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1764 ac_cache_corrupted=: ;;
1765 ,set)
1766 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1767 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1768 ac_cache_corrupted=: ;;
1769 ,);;
1771 if test "x$ac_old_val" != "x$ac_new_val"; then
1772 # differences in whitespace do not lead to failure.
1773 ac_old_val_w=`echo x $ac_old_val`
1774 ac_new_val_w=`echo x $ac_new_val`
1775 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1776 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1777 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1778 ac_cache_corrupted=:
1779 else
1780 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1781 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1782 eval $ac_var=\$ac_old_val
1784 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1785 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1786 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1787 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1788 fi;;
1789 esac
1790 # Pass precious variables to config.status.
1791 if test "$ac_new_set" = set; then
1792 case $ac_new_val in
1793 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1794 *) ac_arg=$ac_var=$ac_new_val ;;
1795 esac
1796 case " $ac_configure_args " in
1797 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1798 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1799 esac
1801 done
1802 if $ac_cache_corrupted; then
1803 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1804 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1805 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1806 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1807 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1809 ## -------------------- ##
1810 ## Main body of script. ##
1811 ## -------------------- ##
1813 ac_ext=c
1814 ac_cpp='$CPP $CPPFLAGS'
1815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1823 ac_ext=c
1824 ac_cpp='$CPP $CPPFLAGS'
1825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1828 if test -n "$ac_tool_prefix"; then
1829 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1830 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1832 $as_echo_n "checking for $ac_word... " >&6; }
1833 if ${ac_cv_prog_CC+:} false; then :
1834 $as_echo_n "(cached) " >&6
1835 else
1836 if test -n "$CC"; then
1837 ac_cv_prog_CC="$CC" # Let the user override the test.
1838 else
1839 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1840 for as_dir in $PATH
1842 IFS=$as_save_IFS
1843 test -z "$as_dir" && as_dir=.
1844 for ac_exec_ext in '' $ac_executable_extensions; do
1845 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1846 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1847 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1848 break 2
1850 done
1851 done
1852 IFS=$as_save_IFS
1856 CC=$ac_cv_prog_CC
1857 if test -n "$CC"; then
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1859 $as_echo "$CC" >&6; }
1860 else
1861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1862 $as_echo "no" >&6; }
1867 if test -z "$ac_cv_prog_CC"; then
1868 ac_ct_CC=$CC
1869 # Extract the first word of "gcc", so it can be a program name with args.
1870 set dummy gcc; ac_word=$2
1871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1872 $as_echo_n "checking for $ac_word... " >&6; }
1873 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1874 $as_echo_n "(cached) " >&6
1875 else
1876 if test -n "$ac_ct_CC"; then
1877 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1878 else
1879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1880 for as_dir in $PATH
1882 IFS=$as_save_IFS
1883 test -z "$as_dir" && as_dir=.
1884 for ac_exec_ext in '' $ac_executable_extensions; do
1885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1886 ac_cv_prog_ac_ct_CC="gcc"
1887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1888 break 2
1890 done
1891 done
1892 IFS=$as_save_IFS
1896 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1897 if test -n "$ac_ct_CC"; then
1898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1899 $as_echo "$ac_ct_CC" >&6; }
1900 else
1901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1902 $as_echo "no" >&6; }
1905 if test "x$ac_ct_CC" = x; then
1906 CC=""
1907 else
1908 case $cross_compiling:$ac_tool_warned in
1909 yes:)
1910 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
1911 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
1912 ac_tool_warned=yes ;;
1913 esac
1914 CC=$ac_ct_CC
1916 else
1917 CC="$ac_cv_prog_CC"
1920 if test -z "$CC"; then
1921 if test -n "$ac_tool_prefix"; then
1922 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
1923 set dummy ${ac_tool_prefix}cc; ac_word=$2
1924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1925 $as_echo_n "checking for $ac_word... " >&6; }
1926 if ${ac_cv_prog_CC+:} false; then :
1927 $as_echo_n "(cached) " >&6
1928 else
1929 if test -n "$CC"; then
1930 ac_cv_prog_CC="$CC" # Let the user override the test.
1931 else
1932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1933 for as_dir in $PATH
1935 IFS=$as_save_IFS
1936 test -z "$as_dir" && as_dir=.
1937 for ac_exec_ext in '' $ac_executable_extensions; do
1938 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1939 ac_cv_prog_CC="${ac_tool_prefix}cc"
1940 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1941 break 2
1943 done
1944 done
1945 IFS=$as_save_IFS
1949 CC=$ac_cv_prog_CC
1950 if test -n "$CC"; then
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1952 $as_echo "$CC" >&6; }
1953 else
1954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1955 $as_echo "no" >&6; }
1961 if test -z "$CC"; then
1962 # Extract the first word of "cc", so it can be a program name with args.
1963 set dummy cc; ac_word=$2
1964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1965 $as_echo_n "checking for $ac_word... " >&6; }
1966 if ${ac_cv_prog_CC+:} false; then :
1967 $as_echo_n "(cached) " >&6
1968 else
1969 if test -n "$CC"; then
1970 ac_cv_prog_CC="$CC" # Let the user override the test.
1971 else
1972 ac_prog_rejected=no
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 for as_dir in $PATH
1976 IFS=$as_save_IFS
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1980 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
1981 ac_prog_rejected=yes
1982 continue
1984 ac_cv_prog_CC="cc"
1985 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1986 break 2
1988 done
1989 done
1990 IFS=$as_save_IFS
1992 if test $ac_prog_rejected = yes; then
1993 # We found a bogon in the path, so make sure we never use it.
1994 set dummy $ac_cv_prog_CC
1995 shift
1996 if test $# != 0; then
1997 # We chose a different compiler from the bogus one.
1998 # However, it has the same basename, so the bogon will be chosen
1999 # first if we set CC to just the basename; use the full file name.
2000 shift
2001 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2006 CC=$ac_cv_prog_CC
2007 if test -n "$CC"; then
2008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2009 $as_echo "$CC" >&6; }
2010 else
2011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2012 $as_echo "no" >&6; }
2017 if test -z "$CC"; then
2018 if test -n "$ac_tool_prefix"; then
2019 for ac_prog in cl.exe
2021 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2022 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2024 $as_echo_n "checking for $ac_word... " >&6; }
2025 if ${ac_cv_prog_CC+:} false; then :
2026 $as_echo_n "(cached) " >&6
2027 else
2028 if test -n "$CC"; then
2029 ac_cv_prog_CC="$CC" # Let the user override the test.
2030 else
2031 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2032 for as_dir in $PATH
2034 IFS=$as_save_IFS
2035 test -z "$as_dir" && as_dir=.
2036 for ac_exec_ext in '' $ac_executable_extensions; do
2037 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2038 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2039 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2040 break 2
2042 done
2043 done
2044 IFS=$as_save_IFS
2048 CC=$ac_cv_prog_CC
2049 if test -n "$CC"; then
2050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2051 $as_echo "$CC" >&6; }
2052 else
2053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2054 $as_echo "no" >&6; }
2058 test -n "$CC" && break
2059 done
2061 if test -z "$CC"; then
2062 ac_ct_CC=$CC
2063 for ac_prog in cl.exe
2065 # Extract the first word of "$ac_prog", so it can be a program name with args.
2066 set dummy $ac_prog; ac_word=$2
2067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2068 $as_echo_n "checking for $ac_word... " >&6; }
2069 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2070 $as_echo_n "(cached) " >&6
2071 else
2072 if test -n "$ac_ct_CC"; then
2073 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2074 else
2075 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2076 for as_dir in $PATH
2078 IFS=$as_save_IFS
2079 test -z "$as_dir" && as_dir=.
2080 for ac_exec_ext in '' $ac_executable_extensions; do
2081 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2082 ac_cv_prog_ac_ct_CC="$ac_prog"
2083 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2084 break 2
2086 done
2087 done
2088 IFS=$as_save_IFS
2092 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2093 if test -n "$ac_ct_CC"; then
2094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2095 $as_echo "$ac_ct_CC" >&6; }
2096 else
2097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2098 $as_echo "no" >&6; }
2102 test -n "$ac_ct_CC" && break
2103 done
2105 if test "x$ac_ct_CC" = x; then
2106 CC=""
2107 else
2108 case $cross_compiling:$ac_tool_warned in
2109 yes:)
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2112 ac_tool_warned=yes ;;
2113 esac
2114 CC=$ac_ct_CC
2121 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2122 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2123 as_fn_error $? "no acceptable C compiler found in \$PATH
2124 See \`config.log' for more details" "$LINENO" 5; }
2126 # Provide some information about the compiler.
2127 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2128 set X $ac_compile
2129 ac_compiler=$2
2130 for ac_option in --version -v -V -qversion; do
2131 { { ac_try="$ac_compiler $ac_option >&5"
2132 case "(($ac_try" in
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2135 esac
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2139 ac_status=$?
2140 if test -s conftest.err; then
2141 sed '10a\
2142 ... rest of stderr output deleted ...
2143 10q' conftest.err >conftest.er1
2144 cat conftest.er1 >&5
2146 rm -f conftest.er1 conftest.err
2147 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2148 test $ac_status = 0; }
2149 done
2151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2152 /* end confdefs.h. */
2155 main ()
2159 return 0;
2161 _ACEOF
2162 ac_clean_files_save=$ac_clean_files
2163 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2164 # Try to create an executable without -o first, disregard a.out.
2165 # It will help us diagnose broken compilers, and finding out an intuition
2166 # of exeext.
2167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2168 $as_echo_n "checking whether the C compiler works... " >&6; }
2169 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2171 # The possible output files:
2172 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2174 ac_rmfiles=
2175 for ac_file in $ac_files
2177 case $ac_file in
2178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2179 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2180 esac
2181 done
2182 rm -f $ac_rmfiles
2184 if { { ac_try="$ac_link_default"
2185 case "(($ac_try" in
2186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2187 *) ac_try_echo=$ac_try;;
2188 esac
2189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2190 $as_echo "$ac_try_echo"; } >&5
2191 (eval "$ac_link_default") 2>&5
2192 ac_status=$?
2193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2194 test $ac_status = 0; }; then :
2195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2198 # so that the user can short-circuit this test for compilers unknown to
2199 # Autoconf.
2200 for ac_file in $ac_files ''
2202 test -f "$ac_file" || continue
2203 case $ac_file in
2204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2206 [ab].out )
2207 # We found the default executable, but exeext='' is most
2208 # certainly right.
2209 break;;
2210 *.* )
2211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2212 then :; else
2213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2215 # We set ac_cv_exeext here because the later test for it is not
2216 # safe: cross compilers may not add the suffix if given an `-o'
2217 # argument, so we may need to know it at that point already.
2218 # Even if this section looks crufty: it has the advantage of
2219 # actually working.
2220 break;;
2222 break;;
2223 esac
2224 done
2225 test "$ac_cv_exeext" = no && ac_cv_exeext=
2227 else
2228 ac_file=''
2230 if test -z "$ac_file"; then :
2231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2232 $as_echo "no" >&6; }
2233 $as_echo "$as_me: failed program was:" >&5
2234 sed 's/^/| /' conftest.$ac_ext >&5
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 77 "C compiler cannot create executables
2239 See \`config.log' for more details" "$LINENO" 5; }
2240 else
2241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2242 $as_echo "yes" >&6; }
2244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2245 $as_echo_n "checking for C compiler default output file name... " >&6; }
2246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2247 $as_echo "$ac_file" >&6; }
2248 ac_exeext=$ac_cv_exeext
2250 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2251 ac_clean_files=$ac_clean_files_save
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2253 $as_echo_n "checking for suffix of executables... " >&6; }
2254 if { { ac_try="$ac_link"
2255 case "(($ac_try" in
2256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2257 *) ac_try_echo=$ac_try;;
2258 esac
2259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2260 $as_echo "$ac_try_echo"; } >&5
2261 (eval "$ac_link") 2>&5
2262 ac_status=$?
2263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2264 test $ac_status = 0; }; then :
2265 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2266 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2267 # work properly (i.e., refer to `conftest.exe'), while it won't with
2268 # `rm'.
2269 for ac_file in conftest.exe conftest conftest.*; do
2270 test -f "$ac_file" || continue
2271 case $ac_file in
2272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2273 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2274 break;;
2275 * ) break;;
2276 esac
2277 done
2278 else
2279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2281 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2282 See \`config.log' for more details" "$LINENO" 5; }
2284 rm -f conftest conftest$ac_cv_exeext
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2286 $as_echo "$ac_cv_exeext" >&6; }
2288 rm -f conftest.$ac_ext
2289 EXEEXT=$ac_cv_exeext
2290 ac_exeext=$EXEEXT
2291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2292 /* end confdefs.h. */
2293 #include <stdio.h>
2295 main ()
2297 FILE *f = fopen ("conftest.out", "w");
2298 return ferror (f) || fclose (f) != 0;
2301 return 0;
2303 _ACEOF
2304 ac_clean_files="$ac_clean_files conftest.out"
2305 # Check that the compiler produces executables we can run. If not, either
2306 # the compiler is broken, or we cross compile.
2307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2308 $as_echo_n "checking whether we are cross compiling... " >&6; }
2309 if test "$cross_compiling" != yes; then
2310 { { ac_try="$ac_link"
2311 case "(($ac_try" in
2312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2313 *) ac_try_echo=$ac_try;;
2314 esac
2315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2316 $as_echo "$ac_try_echo"; } >&5
2317 (eval "$ac_link") 2>&5
2318 ac_status=$?
2319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2320 test $ac_status = 0; }
2321 if { ac_try='./conftest$ac_cv_exeext'
2322 { { case "(($ac_try" in
2323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2324 *) ac_try_echo=$ac_try;;
2325 esac
2326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2327 $as_echo "$ac_try_echo"; } >&5
2328 (eval "$ac_try") 2>&5
2329 ac_status=$?
2330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2331 test $ac_status = 0; }; }; then
2332 cross_compiling=no
2333 else
2334 if test "$cross_compiling" = maybe; then
2335 cross_compiling=yes
2336 else
2337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2339 as_fn_error $? "cannot run C compiled programs.
2340 If you meant to cross compile, use \`--host'.
2341 See \`config.log' for more details" "$LINENO" 5; }
2345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2346 $as_echo "$cross_compiling" >&6; }
2348 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2349 ac_clean_files=$ac_clean_files_save
2350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2351 $as_echo_n "checking for suffix of object files... " >&6; }
2352 if ${ac_cv_objext+:} false; then :
2353 $as_echo_n "(cached) " >&6
2354 else
2355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2356 /* end confdefs.h. */
2359 main ()
2363 return 0;
2365 _ACEOF
2366 rm -f conftest.o conftest.obj
2367 if { { ac_try="$ac_compile"
2368 case "(($ac_try" in
2369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2370 *) ac_try_echo=$ac_try;;
2371 esac
2372 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2373 $as_echo "$ac_try_echo"; } >&5
2374 (eval "$ac_compile") 2>&5
2375 ac_status=$?
2376 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2377 test $ac_status = 0; }; then :
2378 for ac_file in conftest.o conftest.obj conftest.*; do
2379 test -f "$ac_file" || continue;
2380 case $ac_file in
2381 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2382 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2383 break;;
2384 esac
2385 done
2386 else
2387 $as_echo "$as_me: failed program was:" >&5
2388 sed 's/^/| /' conftest.$ac_ext >&5
2390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392 as_fn_error $? "cannot compute suffix of object files: cannot compile
2393 See \`config.log' for more details" "$LINENO" 5; }
2395 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2398 $as_echo "$ac_cv_objext" >&6; }
2399 OBJEXT=$ac_cv_objext
2400 ac_objext=$OBJEXT
2401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2402 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2403 if ${ac_cv_c_compiler_gnu+:} false; then :
2404 $as_echo_n "(cached) " >&6
2405 else
2406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2407 /* end confdefs.h. */
2410 main ()
2412 #ifndef __GNUC__
2413 choke me
2414 #endif
2417 return 0;
2419 _ACEOF
2420 if ac_fn_c_try_compile "$LINENO"; then :
2421 ac_compiler_gnu=yes
2422 else
2423 ac_compiler_gnu=no
2425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2426 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2430 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2431 if test $ac_compiler_gnu = yes; then
2432 GCC=yes
2433 else
2434 GCC=
2436 ac_test_CFLAGS=${CFLAGS+set}
2437 ac_save_CFLAGS=$CFLAGS
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2439 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2440 if ${ac_cv_prog_cc_g+:} false; then :
2441 $as_echo_n "(cached) " >&6
2442 else
2443 ac_save_c_werror_flag=$ac_c_werror_flag
2444 ac_c_werror_flag=yes
2445 ac_cv_prog_cc_g=no
2446 CFLAGS="-g"
2447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2448 /* end confdefs.h. */
2451 main ()
2455 return 0;
2457 _ACEOF
2458 if ac_fn_c_try_compile "$LINENO"; then :
2459 ac_cv_prog_cc_g=yes
2460 else
2461 CFLAGS=""
2462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2463 /* end confdefs.h. */
2466 main ()
2470 return 0;
2472 _ACEOF
2473 if ac_fn_c_try_compile "$LINENO"; then :
2475 else
2476 ac_c_werror_flag=$ac_save_c_werror_flag
2477 CFLAGS="-g"
2478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2479 /* end confdefs.h. */
2482 main ()
2486 return 0;
2488 _ACEOF
2489 if ac_fn_c_try_compile "$LINENO"; then :
2490 ac_cv_prog_cc_g=yes
2492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2497 ac_c_werror_flag=$ac_save_c_werror_flag
2499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2500 $as_echo "$ac_cv_prog_cc_g" >&6; }
2501 if test "$ac_test_CFLAGS" = set; then
2502 CFLAGS=$ac_save_CFLAGS
2503 elif test $ac_cv_prog_cc_g = yes; then
2504 if test "$GCC" = yes; then
2505 CFLAGS="-g -O2"
2506 else
2507 CFLAGS="-g"
2509 else
2510 if test "$GCC" = yes; then
2511 CFLAGS="-O2"
2512 else
2513 CFLAGS=
2516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2517 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2518 if ${ac_cv_prog_cc_c89+:} false; then :
2519 $as_echo_n "(cached) " >&6
2520 else
2521 ac_cv_prog_cc_c89=no
2522 ac_save_CC=$CC
2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2525 #include <stdarg.h>
2526 #include <stdio.h>
2527 #include <sys/types.h>
2528 #include <sys/stat.h>
2529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2530 struct buf { int x; };
2531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2532 static char *e (p, i)
2533 char **p;
2534 int i;
2536 return p[i];
2538 static char *f (char * (*g) (char **, int), char **p, ...)
2540 char *s;
2541 va_list v;
2542 va_start (v,p);
2543 s = g (p, va_arg (v,int));
2544 va_end (v);
2545 return s;
2548 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2549 function prototypes and stuff, but not '\xHH' hex character constants.
2550 These don't provoke an error unfortunately, instead are silently treated
2551 as 'x'. The following induces an error, until -std is added to get
2552 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2553 array size at least. It's necessary to write '\x00'==0 to get something
2554 that's true only with -std. */
2555 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2557 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2558 inside strings and character constants. */
2559 #define FOO(x) 'x'
2560 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2562 int test (int i, double x);
2563 struct s1 {int (*f) (int a);};
2564 struct s2 {int (*f) (double a);};
2565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2566 int argc;
2567 char **argv;
2569 main ()
2571 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2573 return 0;
2575 _ACEOF
2576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2577 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2579 CC="$ac_save_CC $ac_arg"
2580 if ac_fn_c_try_compile "$LINENO"; then :
2581 ac_cv_prog_cc_c89=$ac_arg
2583 rm -f core conftest.err conftest.$ac_objext
2584 test "x$ac_cv_prog_cc_c89" != "xno" && break
2585 done
2586 rm -f conftest.$ac_ext
2587 CC=$ac_save_CC
2590 # AC_CACHE_VAL
2591 case "x$ac_cv_prog_cc_c89" in
2593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2594 $as_echo "none needed" >&6; } ;;
2595 xno)
2596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2597 $as_echo "unsupported" >&6; } ;;
2599 CC="$CC $ac_cv_prog_cc_c89"
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2601 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2602 esac
2603 if test "x$ac_cv_prog_cc_c89" != xno; then :
2607 ac_ext=c
2608 ac_cpp='$CPP $CPPFLAGS'
2609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2618 ac_config_headers="$ac_config_headers config.h"
2621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_mkquery" >&5
2622 $as_echo_n "checking for library containing res_mkquery... " >&6; }
2623 if ${ac_cv_search_res_mkquery+:} false; then :
2624 $as_echo_n "(cached) " >&6
2625 else
2626 ac_func_search_save_LIBS=$LIBS
2627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2628 /* end confdefs.h. */
2630 /* Override any GCC internal prototype to avoid an error.
2631 Use char because int might match the return type of a GCC
2632 builtin and then its argument prototype would still apply. */
2633 #ifdef __cplusplus
2634 extern "C"
2635 #endif
2636 char res_mkquery ();
2638 main ()
2640 return res_mkquery ();
2642 return 0;
2644 _ACEOF
2645 for ac_lib in '' resolv bind; do
2646 if test -z "$ac_lib"; then
2647 ac_res="none required"
2648 else
2649 ac_res=-l$ac_lib
2650 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2652 if ac_fn_c_try_link "$LINENO"; then :
2653 ac_cv_search_res_mkquery=$ac_res
2655 rm -f core conftest.err conftest.$ac_objext \
2656 conftest$ac_exeext
2657 if ${ac_cv_search_res_mkquery+:} false; then :
2658 break
2660 done
2661 if ${ac_cv_search_res_mkquery+:} false; then :
2663 else
2664 ac_cv_search_res_mkquery=no
2666 rm conftest.$ac_ext
2667 LIBS=$ac_func_search_save_LIBS
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_mkquery" >&5
2670 $as_echo "$ac_cv_search_res_mkquery" >&6; }
2671 ac_res=$ac_cv_search_res_mkquery
2672 if test "$ac_res" != no; then :
2673 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing __res_mkquery" >&5
2678 $as_echo_n "checking for library containing __res_mkquery... " >&6; }
2679 if ${ac_cv_search___res_mkquery+:} false; then :
2680 $as_echo_n "(cached) " >&6
2681 else
2682 ac_func_search_save_LIBS=$LIBS
2683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2684 /* end confdefs.h. */
2686 /* Override any GCC internal prototype to avoid an error.
2687 Use char because int might match the return type of a GCC
2688 builtin and then its argument prototype would still apply. */
2689 #ifdef __cplusplus
2690 extern "C"
2691 #endif
2692 char __res_mkquery ();
2694 main ()
2696 return __res_mkquery ();
2698 return 0;
2700 _ACEOF
2701 for ac_lib in '' resolv bind; do
2702 if test -z "$ac_lib"; then
2703 ac_res="none required"
2704 else
2705 ac_res=-l$ac_lib
2706 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2708 if ac_fn_c_try_link "$LINENO"; then :
2709 ac_cv_search___res_mkquery=$ac_res
2711 rm -f core conftest.err conftest.$ac_objext \
2712 conftest$ac_exeext
2713 if ${ac_cv_search___res_mkquery+:} false; then :
2714 break
2716 done
2717 if ${ac_cv_search___res_mkquery+:} false; then :
2719 else
2720 ac_cv_search___res_mkquery=no
2722 rm conftest.$ac_ext
2723 LIBS=$ac_func_search_save_LIBS
2725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search___res_mkquery" >&5
2726 $as_echo "$ac_cv_search___res_mkquery" >&6; }
2727 ac_res=$ac_cv_search___res_mkquery
2728 if test "$ac_res" != no; then :
2729 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing res_9_mkquery" >&5
2734 $as_echo_n "checking for library containing res_9_mkquery... " >&6; }
2735 if ${ac_cv_search_res_9_mkquery+:} false; then :
2736 $as_echo_n "(cached) " >&6
2737 else
2738 ac_func_search_save_LIBS=$LIBS
2739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2740 /* end confdefs.h. */
2742 /* Override any GCC internal prototype to avoid an error.
2743 Use char because int might match the return type of a GCC
2744 builtin and then its argument prototype would still apply. */
2745 #ifdef __cplusplus
2746 extern "C"
2747 #endif
2748 char res_9_mkquery ();
2750 main ()
2752 return res_9_mkquery ();
2754 return 0;
2756 _ACEOF
2757 for ac_lib in '' resolv bind; do
2758 if test -z "$ac_lib"; then
2759 ac_res="none required"
2760 else
2761 ac_res=-l$ac_lib
2762 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
2764 if ac_fn_c_try_link "$LINENO"; then :
2765 ac_cv_search_res_9_mkquery=$ac_res
2767 rm -f core conftest.err conftest.$ac_objext \
2768 conftest$ac_exeext
2769 if ${ac_cv_search_res_9_mkquery+:} false; then :
2770 break
2772 done
2773 if ${ac_cv_search_res_9_mkquery+:} false; then :
2775 else
2776 ac_cv_search_res_9_mkquery=no
2778 rm conftest.$ac_ext
2779 LIBS=$ac_func_search_save_LIBS
2781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_res_9_mkquery" >&5
2782 $as_echo "$ac_cv_search_res_9_mkquery" >&6; }
2783 ac_res=$ac_cv_search_res_9_mkquery
2784 if test "$ac_res" != no; then :
2785 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
2789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
2790 $as_echo_n "checking for socket in -lsocket... " >&6; }
2791 if ${ac_cv_lib_socket_socket+:} false; then :
2792 $as_echo_n "(cached) " >&6
2793 else
2794 ac_check_lib_save_LIBS=$LIBS
2795 LIBS="-lsocket $LIBS"
2796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2797 /* end confdefs.h. */
2799 /* Override any GCC internal prototype to avoid an error.
2800 Use char because int might match the return type of a GCC
2801 builtin and then its argument prototype would still apply. */
2802 #ifdef __cplusplus
2803 extern "C"
2804 #endif
2805 char socket ();
2807 main ()
2809 return socket ();
2811 return 0;
2813 _ACEOF
2814 if ac_fn_c_try_link "$LINENO"; then :
2815 ac_cv_lib_socket_socket=yes
2816 else
2817 ac_cv_lib_socket_socket=no
2819 rm -f core conftest.err conftest.$ac_objext \
2820 conftest$ac_exeext conftest.$ac_ext
2821 LIBS=$ac_check_lib_save_LIBS
2823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
2824 $as_echo "$ac_cv_lib_socket_socket" >&6; }
2825 if test "x$ac_cv_lib_socket_socket" = xyes; then :
2826 cat >>confdefs.h <<_ACEOF
2827 #define HAVE_LIBSOCKET 1
2828 _ACEOF
2830 LIBS="-lsocket $LIBS"
2834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_ntoa in -lnsl" >&5
2835 $as_echo_n "checking for inet_ntoa in -lnsl... " >&6; }
2836 if ${ac_cv_lib_nsl_inet_ntoa+:} false; then :
2837 $as_echo_n "(cached) " >&6
2838 else
2839 ac_check_lib_save_LIBS=$LIBS
2840 LIBS="-lnsl $LIBS"
2841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2842 /* end confdefs.h. */
2844 /* Override any GCC internal prototype to avoid an error.
2845 Use char because int might match the return type of a GCC
2846 builtin and then its argument prototype would still apply. */
2847 #ifdef __cplusplus
2848 extern "C"
2849 #endif
2850 char inet_ntoa ();
2852 main ()
2854 return inet_ntoa ();
2856 return 0;
2858 _ACEOF
2859 if ac_fn_c_try_link "$LINENO"; then :
2860 ac_cv_lib_nsl_inet_ntoa=yes
2861 else
2862 ac_cv_lib_nsl_inet_ntoa=no
2864 rm -f core conftest.err conftest.$ac_objext \
2865 conftest$ac_exeext conftest.$ac_ext
2866 LIBS=$ac_check_lib_save_LIBS
2868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_ntoa" >&5
2869 $as_echo "$ac_cv_lib_nsl_inet_ntoa" >&6; }
2870 if test "x$ac_cv_lib_nsl_inet_ntoa" = xyes; then :
2871 cat >>confdefs.h <<_ACEOF
2872 #define HAVE_LIBNSL 1
2873 _ACEOF
2875 LIBS="-lnsl $LIBS"
2879 for ac_func in gethostbyname2
2880 do :
2881 ac_fn_c_check_func "$LINENO" "gethostbyname2" "ac_cv_func_gethostbyname2"
2882 if test "x$ac_cv_func_gethostbyname2" = xyes; then :
2883 cat >>confdefs.h <<_ACEOF
2884 #define HAVE_GETHOSTBYNAME2 1
2885 _ACEOF
2888 done
2890 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
2891 if test "x$ac_cv_func_getaddrinfo" = xyes; then :
2893 $as_echo "#define HAVE_GETADDRINFO 1" >>confdefs.h
2895 else
2896 case " $LIBOBJS " in
2897 *" getaddrinfo.$ac_objext "* ) ;;
2898 *) LIBOBJS="$LIBOBJS getaddrinfo.$ac_objext"
2900 esac
2904 ac_fn_c_check_func "$LINENO" "getnameinfo" "ac_cv_func_getnameinfo"
2905 if test "x$ac_cv_func_getnameinfo" = xyes; then :
2907 $as_echo "#define HAVE_GETNAMEINFO 1" >>confdefs.h
2909 else
2910 case " $LIBOBJS " in
2911 *" getnameinfo.$ac_objext "* ) ;;
2912 *) LIBOBJS="$LIBOBJS getnameinfo.$ac_objext"
2914 esac
2919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socklen_t" >&5
2920 $as_echo_n "checking for socklen_t... " >&6; }
2921 if ${ac_cv_type_socklen_t+:} false; then :
2922 $as_echo_n "(cached) " >&6
2923 else
2925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2926 /* end confdefs.h. */
2927 #include <sys/types.h>
2928 #include <sys/socket.h>
2930 main ()
2932 socklen_t len = 42; return len;
2934 return 0;
2936 _ACEOF
2937 if ac_fn_c_try_compile "$LINENO"; then :
2938 ac_cv_type_socklen_t=yes
2939 else
2940 ac_cv_type_socklen_t=no
2942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_type_socklen_t" >&5
2946 $as_echo "$ac_cv_type_socklen_t" >&6; }
2947 if test $ac_cv_type_socklen_t != yes; then
2949 $as_echo "#define socklen_t int" >>confdefs.h
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_len" >&5
2954 $as_echo_n "checking for sa_len... " >&6; }
2955 if ${ac_cv_sa_len+:} false; then :
2956 $as_echo_n "(cached) " >&6
2957 else
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2961 #include <sys/types.h>
2962 #include <sys/socket.h>
2964 main ()
2966 struct sockaddr sa; sa.sa_len = 0;
2968 return 0;
2970 _ACEOF
2971 if ac_fn_c_try_compile "$LINENO"; then :
2972 ac_cv_sa_len=yes
2973 else
2974 ac_cv_sa_len=no
2976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sa_len" >&5
2980 $as_echo "$ac_cv_sa_len" >&6; }
2981 if test $ac_cv_sa_len = yes; then
2983 $as_echo "#define HAVE_SA_LEN 1" >>confdefs.h
2988 ac_config_files="$ac_config_files Makefile"
2990 cat >confcache <<\_ACEOF
2991 # This file is a shell script that caches the results of configure
2992 # tests run on this system so they can be shared between configure
2993 # scripts and configure runs, see configure's option --config-cache.
2994 # It is not useful on other systems. If it contains results you don't
2995 # want to keep, you may remove or edit it.
2997 # config.status only pays attention to the cache file if you give it
2998 # the --recheck option to rerun configure.
3000 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3001 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3002 # following values.
3004 _ACEOF
3006 # The following way of writing the cache mishandles newlines in values,
3007 # but we know of no workaround that is simple, portable, and efficient.
3008 # So, we kill variables containing newlines.
3009 # Ultrix sh set writes to stderr and can't be redirected directly,
3010 # and sets the high bit in the cache file unless we assign to the vars.
3012 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3013 eval ac_val=\$$ac_var
3014 case $ac_val in #(
3015 *${as_nl}*)
3016 case $ac_var in #(
3017 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3018 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3019 esac
3020 case $ac_var in #(
3021 _ | IFS | as_nl) ;; #(
3022 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3023 *) { eval $ac_var=; unset $ac_var;} ;;
3024 esac ;;
3025 esac
3026 done
3028 (set) 2>&1 |
3029 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3030 *${as_nl}ac_space=\ *)
3031 # `set' does not quote correctly, so add quotes: double-quote
3032 # substitution turns \\\\ into \\, and sed turns \\ into \.
3033 sed -n \
3034 "s/'/'\\\\''/g;
3035 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3036 ;; #(
3038 # `set' quotes correctly as required by POSIX, so do not add quotes.
3039 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3041 esac |
3042 sort
3044 sed '
3045 /^ac_cv_env_/b end
3046 t clear
3047 :clear
3048 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3049 t end
3050 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3051 :end' >>confcache
3052 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3053 if test -w "$cache_file"; then
3054 if test "x$cache_file" != "x/dev/null"; then
3055 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3056 $as_echo "$as_me: updating cache $cache_file" >&6;}
3057 if test ! -f "$cache_file" || test -h "$cache_file"; then
3058 cat confcache >"$cache_file"
3059 else
3060 case $cache_file in #(
3061 */* | ?:*)
3062 mv -f confcache "$cache_file"$$ &&
3063 mv -f "$cache_file"$$ "$cache_file" ;; #(
3065 mv -f confcache "$cache_file" ;;
3066 esac
3069 else
3070 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3071 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3074 rm -f confcache
3076 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3077 # Let make expand exec_prefix.
3078 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3080 DEFS=-DHAVE_CONFIG_H
3082 ac_libobjs=
3083 ac_ltlibobjs=
3085 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3086 # 1. Remove the extension, and $U if already installed.
3087 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3088 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3089 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3090 # will be set to the directory where LIBOBJS objects are built.
3091 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3092 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3093 done
3094 LIBOBJS=$ac_libobjs
3096 LTLIBOBJS=$ac_ltlibobjs
3100 : "${CONFIG_STATUS=./config.status}"
3101 ac_write_fail=0
3102 ac_clean_files_save=$ac_clean_files
3103 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3105 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3106 as_write_fail=0
3107 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3108 #! $SHELL
3109 # Generated by $as_me.
3110 # Run this file to recreate the current configuration.
3111 # Compiler output produced by configure, useful for debugging
3112 # configure, is in config.log if it exists.
3114 debug=false
3115 ac_cs_recheck=false
3116 ac_cs_silent=false
3118 SHELL=\${CONFIG_SHELL-$SHELL}
3119 export SHELL
3120 _ASEOF
3121 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3122 ## -------------------- ##
3123 ## M4sh Initialization. ##
3124 ## -------------------- ##
3126 # Be more Bourne compatible
3127 DUALCASE=1; export DUALCASE # for MKS sh
3128 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3129 emulate sh
3130 NULLCMD=:
3131 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3132 # is contrary to our usage. Disable this feature.
3133 alias -g '${1+"$@"}'='"$@"'
3134 setopt NO_GLOB_SUBST
3135 else
3136 case `(set -o) 2>/dev/null` in #(
3137 *posix*) :
3138 set -o posix ;; #(
3139 *) :
3141 esac
3145 as_nl='
3147 export as_nl
3148 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3149 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3150 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3151 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3152 # Prefer a ksh shell builtin over an external printf program on Solaris,
3153 # but without wasting forks for bash or zsh.
3154 if test -z "$BASH_VERSION$ZSH_VERSION" \
3155 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3156 as_echo='print -r --'
3157 as_echo_n='print -rn --'
3158 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3159 as_echo='printf %s\n'
3160 as_echo_n='printf %s'
3161 else
3162 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3163 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3164 as_echo_n='/usr/ucb/echo -n'
3165 else
3166 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3167 as_echo_n_body='eval
3168 arg=$1;
3169 case $arg in #(
3170 *"$as_nl"*)
3171 expr "X$arg" : "X\\(.*\\)$as_nl";
3172 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3173 esac;
3174 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3176 export as_echo_n_body
3177 as_echo_n='sh -c $as_echo_n_body as_echo'
3179 export as_echo_body
3180 as_echo='sh -c $as_echo_body as_echo'
3183 # The user is always right.
3184 if test "${PATH_SEPARATOR+set}" != set; then
3185 PATH_SEPARATOR=:
3186 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3187 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3188 PATH_SEPARATOR=';'
3193 # IFS
3194 # We need space, tab and new line, in precisely that order. Quoting is
3195 # there to prevent editors from complaining about space-tab.
3196 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3197 # splitting by setting IFS to empty value.)
3198 IFS=" "" $as_nl"
3200 # Find who we are. Look in the path if we contain no directory separator.
3201 as_myself=
3202 case $0 in #((
3203 *[\\/]* ) as_myself=$0 ;;
3204 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3205 for as_dir in $PATH
3207 IFS=$as_save_IFS
3208 test -z "$as_dir" && as_dir=.
3209 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3210 done
3211 IFS=$as_save_IFS
3214 esac
3215 # We did not find ourselves, most probably we were run as `sh COMMAND'
3216 # in which case we are not to be found in the path.
3217 if test "x$as_myself" = x; then
3218 as_myself=$0
3220 if test ! -f "$as_myself"; then
3221 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3222 exit 1
3225 # Unset variables that we do not need and which cause bugs (e.g. in
3226 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3227 # suppresses any "Segmentation fault" message there. '((' could
3228 # trigger a bug in pdksh 5.2.14.
3229 for as_var in BASH_ENV ENV MAIL MAILPATH
3230 do eval test x\${$as_var+set} = xset \
3231 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3232 done
3233 PS1='$ '
3234 PS2='> '
3235 PS4='+ '
3237 # NLS nuisances.
3238 LC_ALL=C
3239 export LC_ALL
3240 LANGUAGE=C
3241 export LANGUAGE
3243 # CDPATH.
3244 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3247 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3248 # ----------------------------------------
3249 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3250 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3251 # script with STATUS, using 1 if that was 0.
3252 as_fn_error ()
3254 as_status=$1; test $as_status -eq 0 && as_status=1
3255 if test "$4"; then
3256 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3257 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3259 $as_echo "$as_me: error: $2" >&2
3260 as_fn_exit $as_status
3261 } # as_fn_error
3264 # as_fn_set_status STATUS
3265 # -----------------------
3266 # Set $? to STATUS, without forking.
3267 as_fn_set_status ()
3269 return $1
3270 } # as_fn_set_status
3272 # as_fn_exit STATUS
3273 # -----------------
3274 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3275 as_fn_exit ()
3277 set +e
3278 as_fn_set_status $1
3279 exit $1
3280 } # as_fn_exit
3282 # as_fn_unset VAR
3283 # ---------------
3284 # Portably unset VAR.
3285 as_fn_unset ()
3287 { eval $1=; unset $1;}
3289 as_unset=as_fn_unset
3290 # as_fn_append VAR VALUE
3291 # ----------------------
3292 # Append the text in VALUE to the end of the definition contained in VAR. Take
3293 # advantage of any shell optimizations that allow amortized linear growth over
3294 # repeated appends, instead of the typical quadratic growth present in naive
3295 # implementations.
3296 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3297 eval 'as_fn_append ()
3299 eval $1+=\$2
3301 else
3302 as_fn_append ()
3304 eval $1=\$$1\$2
3306 fi # as_fn_append
3308 # as_fn_arith ARG...
3309 # ------------------
3310 # Perform arithmetic evaluation on the ARGs, and store the result in the
3311 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3312 # must be portable across $(()) and expr.
3313 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3314 eval 'as_fn_arith ()
3316 as_val=$(( $* ))
3318 else
3319 as_fn_arith ()
3321 as_val=`expr "$@" || test $? -eq 1`
3323 fi # as_fn_arith
3326 if expr a : '\(a\)' >/dev/null 2>&1 &&
3327 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3328 as_expr=expr
3329 else
3330 as_expr=false
3333 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3334 as_basename=basename
3335 else
3336 as_basename=false
3339 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3340 as_dirname=dirname
3341 else
3342 as_dirname=false
3345 as_me=`$as_basename -- "$0" ||
3346 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3347 X"$0" : 'X\(//\)$' \| \
3348 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3349 $as_echo X/"$0" |
3350 sed '/^.*\/\([^/][^/]*\)\/*$/{
3351 s//\1/
3354 /^X\/\(\/\/\)$/{
3355 s//\1/
3358 /^X\/\(\/\).*/{
3359 s//\1/
3362 s/.*/./; q'`
3364 # Avoid depending upon Character Ranges.
3365 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3366 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3367 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3368 as_cr_digits='0123456789'
3369 as_cr_alnum=$as_cr_Letters$as_cr_digits
3371 ECHO_C= ECHO_N= ECHO_T=
3372 case `echo -n x` in #(((((
3373 -n*)
3374 case `echo 'xy\c'` in
3375 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3376 xy) ECHO_C='\c';;
3377 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3378 ECHO_T=' ';;
3379 esac;;
3381 ECHO_N='-n';;
3382 esac
3384 rm -f conf$$ conf$$.exe conf$$.file
3385 if test -d conf$$.dir; then
3386 rm -f conf$$.dir/conf$$.file
3387 else
3388 rm -f conf$$.dir
3389 mkdir conf$$.dir 2>/dev/null
3391 if (echo >conf$$.file) 2>/dev/null; then
3392 if ln -s conf$$.file conf$$ 2>/dev/null; then
3393 as_ln_s='ln -s'
3394 # ... but there are two gotchas:
3395 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3396 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3397 # In both cases, we have to default to `cp -p'.
3398 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3399 as_ln_s='cp -p'
3400 elif ln conf$$.file conf$$ 2>/dev/null; then
3401 as_ln_s=ln
3402 else
3403 as_ln_s='cp -p'
3405 else
3406 as_ln_s='cp -p'
3408 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3409 rmdir conf$$.dir 2>/dev/null
3412 # as_fn_mkdir_p
3413 # -------------
3414 # Create "$as_dir" as a directory, including parents if necessary.
3415 as_fn_mkdir_p ()
3418 case $as_dir in #(
3419 -*) as_dir=./$as_dir;;
3420 esac
3421 test -d "$as_dir" || eval $as_mkdir_p || {
3422 as_dirs=
3423 while :; do
3424 case $as_dir in #(
3425 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3426 *) as_qdir=$as_dir;;
3427 esac
3428 as_dirs="'$as_qdir' $as_dirs"
3429 as_dir=`$as_dirname -- "$as_dir" ||
3430 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3431 X"$as_dir" : 'X\(//\)[^/]' \| \
3432 X"$as_dir" : 'X\(//\)$' \| \
3433 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3434 $as_echo X"$as_dir" |
3435 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3436 s//\1/
3439 /^X\(\/\/\)[^/].*/{
3440 s//\1/
3443 /^X\(\/\/\)$/{
3444 s//\1/
3447 /^X\(\/\).*/{
3448 s//\1/
3451 s/.*/./; q'`
3452 test -d "$as_dir" && break
3453 done
3454 test -z "$as_dirs" || eval "mkdir $as_dirs"
3455 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3458 } # as_fn_mkdir_p
3459 if mkdir -p . 2>/dev/null; then
3460 as_mkdir_p='mkdir -p "$as_dir"'
3461 else
3462 test -d ./-p && rmdir ./-p
3463 as_mkdir_p=false
3466 if test -x / >/dev/null 2>&1; then
3467 as_test_x='test -x'
3468 else
3469 if ls -dL / >/dev/null 2>&1; then
3470 as_ls_L_option=L
3471 else
3472 as_ls_L_option=
3474 as_test_x='
3475 eval sh -c '\''
3476 if test -d "$1"; then
3477 test -d "$1/.";
3478 else
3479 case $1 in #(
3480 -*)set "./$1";;
3481 esac;
3482 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
3483 ???[sx]*):;;*)false;;esac;fi
3484 '\'' sh
3487 as_executable_p=$as_test_x
3489 # Sed expression to map a string onto a valid CPP name.
3490 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3492 # Sed expression to map a string onto a valid variable name.
3493 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3496 exec 6>&1
3497 ## ----------------------------------- ##
3498 ## Main body of $CONFIG_STATUS script. ##
3499 ## ----------------------------------- ##
3500 _ASEOF
3501 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3503 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3504 # Save the log message, to keep $0 and so on meaningful, and to
3505 # report actual input values of CONFIG_FILES etc. instead of their
3506 # values after options handling.
3507 ac_log="
3508 This file was extended by $as_me, which was
3509 generated by GNU Autoconf 2.68. Invocation command line was
3511 CONFIG_FILES = $CONFIG_FILES
3512 CONFIG_HEADERS = $CONFIG_HEADERS
3513 CONFIG_LINKS = $CONFIG_LINKS
3514 CONFIG_COMMANDS = $CONFIG_COMMANDS
3515 $ $0 $@
3517 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3520 _ACEOF
3522 case $ac_config_files in *"
3523 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3524 esac
3526 case $ac_config_headers in *"
3527 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
3528 esac
3531 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3532 # Files that config.status was made for.
3533 config_files="$ac_config_files"
3534 config_headers="$ac_config_headers"
3536 _ACEOF
3538 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3539 ac_cs_usage="\
3540 \`$as_me' instantiates files and other configuration actions
3541 from templates according to the current configuration. Unless the files
3542 and actions are specified as TAGs, all are instantiated by default.
3544 Usage: $0 [OPTION]... [TAG]...
3546 -h, --help print this help, then exit
3547 -V, --version print version number and configuration settings, then exit
3548 --config print configuration, then exit
3549 -q, --quiet, --silent
3550 do not print progress messages
3551 -d, --debug don't remove temporary files
3552 --recheck update $as_me by reconfiguring in the same conditions
3553 --file=FILE[:TEMPLATE]
3554 instantiate the configuration file FILE
3555 --header=FILE[:TEMPLATE]
3556 instantiate the configuration header FILE
3558 Configuration files:
3559 $config_files
3561 Configuration headers:
3562 $config_headers
3564 Report bugs to the package provider."
3566 _ACEOF
3567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3568 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3569 ac_cs_version="\\
3570 config.status
3571 configured by $0, generated by GNU Autoconf 2.68,
3572 with options \\"\$ac_cs_config\\"
3574 Copyright (C) 2010 Free Software Foundation, Inc.
3575 This config.status script is free software; the Free Software Foundation
3576 gives unlimited permission to copy, distribute and modify it."
3578 ac_pwd='$ac_pwd'
3579 srcdir='$srcdir'
3580 test -n "\$AWK" || AWK=awk
3581 _ACEOF
3583 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3584 # The default lists apply if the user does not specify any file.
3585 ac_need_defaults=:
3586 while test $# != 0
3588 case $1 in
3589 --*=?*)
3590 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3591 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3592 ac_shift=:
3594 --*=)
3595 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3596 ac_optarg=
3597 ac_shift=:
3600 ac_option=$1
3601 ac_optarg=$2
3602 ac_shift=shift
3604 esac
3606 case $ac_option in
3607 # Handling of the options.
3608 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3609 ac_cs_recheck=: ;;
3610 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3611 $as_echo "$ac_cs_version"; exit ;;
3612 --config | --confi | --conf | --con | --co | --c )
3613 $as_echo "$ac_cs_config"; exit ;;
3614 --debug | --debu | --deb | --de | --d | -d )
3615 debug=: ;;
3616 --file | --fil | --fi | --f )
3617 $ac_shift
3618 case $ac_optarg in
3619 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3620 '') as_fn_error $? "missing file argument" ;;
3621 esac
3622 as_fn_append CONFIG_FILES " '$ac_optarg'"
3623 ac_need_defaults=false;;
3624 --header | --heade | --head | --hea )
3625 $ac_shift
3626 case $ac_optarg in
3627 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3628 esac
3629 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
3630 ac_need_defaults=false;;
3631 --he | --h)
3632 # Conflict between --help and --header
3633 as_fn_error $? "ambiguous option: \`$1'
3634 Try \`$0 --help' for more information.";;
3635 --help | --hel | -h )
3636 $as_echo "$ac_cs_usage"; exit ;;
3637 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3638 | -silent | --silent | --silen | --sile | --sil | --si | --s)
3639 ac_cs_silent=: ;;
3641 # This is an error.
3642 -*) as_fn_error $? "unrecognized option: \`$1'
3643 Try \`$0 --help' for more information." ;;
3645 *) as_fn_append ac_config_targets " $1"
3646 ac_need_defaults=false ;;
3648 esac
3649 shift
3650 done
3652 ac_configure_extra_args=
3654 if $ac_cs_silent; then
3655 exec 6>/dev/null
3656 ac_configure_extra_args="$ac_configure_extra_args --silent"
3659 _ACEOF
3660 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3661 if \$ac_cs_recheck; then
3662 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
3663 shift
3664 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
3665 CONFIG_SHELL='$SHELL'
3666 export CONFIG_SHELL
3667 exec "\$@"
3670 _ACEOF
3671 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3672 exec 5>>config.log
3674 echo
3675 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
3676 ## Running $as_me. ##
3677 _ASBOX
3678 $as_echo "$ac_log"
3679 } >&5
3681 _ACEOF
3682 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3683 _ACEOF
3685 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3687 # Handling of arguments.
3688 for ac_config_target in $ac_config_targets
3690 case $ac_config_target in
3691 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
3692 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
3694 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
3695 esac
3696 done
3699 # If the user did not use the arguments to specify the items to instantiate,
3700 # then the envvar interface is used. Set only those that are not.
3701 # We use the long form for the default assignment because of an extremely
3702 # bizarre bug on SunOS 4.1.3.
3703 if $ac_need_defaults; then
3704 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
3705 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
3708 # Have a temporary directory for convenience. Make it in the build tree
3709 # simply because there is no reason against having it here, and in addition,
3710 # creating and moving files from /tmp can sometimes cause problems.
3711 # Hook for its removal unless debugging.
3712 # Note that there is a small window in which the directory will not be cleaned:
3713 # after its creation but before its name has been assigned to `$tmp'.
3714 $debug ||
3716 tmp= ac_tmp=
3717 trap 'exit_status=$?
3718 : "${ac_tmp:=$tmp}"
3719 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
3721 trap 'as_fn_exit 1' 1 2 13 15
3723 # Create a (secure) tmp directory for tmp files.
3726 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
3727 test -d "$tmp"
3728 } ||
3730 tmp=./conf$$-$RANDOM
3731 (umask 077 && mkdir "$tmp")
3732 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
3733 ac_tmp=$tmp
3735 # Set up the scripts for CONFIG_FILES section.
3736 # No need to generate them if there are no CONFIG_FILES.
3737 # This happens for instance with `./config.status config.h'.
3738 if test -n "$CONFIG_FILES"; then
3741 ac_cr=`echo X | tr X '\015'`
3742 # On cygwin, bash can eat \r inside `` if the user requested igncr.
3743 # But we know of no other shell where ac_cr would be empty at this
3744 # point, so we can use a bashism as a fallback.
3745 if test "x$ac_cr" = x; then
3746 eval ac_cr=\$\'\\r\'
3748 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
3749 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
3750 ac_cs_awk_cr='\\r'
3751 else
3752 ac_cs_awk_cr=$ac_cr
3755 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
3756 _ACEOF
3760 echo "cat >conf$$subs.awk <<_ACEOF" &&
3761 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
3762 echo "_ACEOF"
3763 } >conf$$subs.sh ||
3764 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3765 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
3766 ac_delim='%!_!# '
3767 for ac_last_try in false false false false false :; do
3768 . ./conf$$subs.sh ||
3769 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3771 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
3772 if test $ac_delim_n = $ac_delim_num; then
3773 break
3774 elif $ac_last_try; then
3775 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
3776 else
3777 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3779 done
3780 rm -f conf$$subs.sh
3782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3783 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
3784 _ACEOF
3785 sed -n '
3787 s/^/S["/; s/!.*/"]=/
3790 s/^[^!]*!//
3791 :repl
3792 t repl
3793 s/'"$ac_delim"'$//
3794 t delim
3797 s/\(.\{148\}\)..*/\1/
3798 t more1
3799 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
3802 b repl
3803 :more1
3804 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3807 s/.\{148\}//
3808 t nl
3809 :delim
3811 s/\(.\{148\}\)..*/\1/
3812 t more2
3813 s/["\\]/\\&/g; s/^/"/; s/$/"/
3816 :more2
3817 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
3820 s/.\{148\}//
3821 t delim
3822 ' <conf$$subs.awk | sed '
3823 /^[^""]/{
3825 s/\n//
3827 ' >>$CONFIG_STATUS || ac_write_fail=1
3828 rm -f conf$$subs.awk
3829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3830 _ACAWK
3831 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
3832 for (key in S) S_is_set[key] = 1
3833 FS = "\a"
3837 line = $ 0
3838 nfields = split(line, field, "@")
3839 substed = 0
3840 len = length(field[1])
3841 for (i = 2; i < nfields; i++) {
3842 key = field[i]
3843 keylen = length(key)
3844 if (S_is_set[key]) {
3845 value = S[key]
3846 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
3847 len += length(value) + length(field[++i])
3848 substed = 1
3849 } else
3850 len += 1 + keylen
3853 print line
3856 _ACAWK
3857 _ACEOF
3858 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3859 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
3860 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
3861 else
3863 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
3864 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
3865 _ACEOF
3867 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
3868 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
3869 # trailing colons and then remove the whole line if VPATH becomes empty
3870 # (actually we leave an empty line to preserve line numbers).
3871 if test "x$srcdir" = x.; then
3872 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
3874 s///
3875 s/^/:/
3876 s/[ ]*$/:/
3877 s/:\$(srcdir):/:/g
3878 s/:\${srcdir}:/:/g
3879 s/:@srcdir@:/:/g
3880 s/^:*//
3881 s/:*$//
3883 s/\(=[ ]*\).*/\1/
3885 s/\n//
3886 s/^[^=]*=[ ]*$//
3890 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3891 fi # test -n "$CONFIG_FILES"
3893 # Set up the scripts for CONFIG_HEADERS section.
3894 # No need to generate them if there are no CONFIG_HEADERS.
3895 # This happens for instance with `./config.status Makefile'.
3896 if test -n "$CONFIG_HEADERS"; then
3897 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
3898 BEGIN {
3899 _ACEOF
3901 # Transform confdefs.h into an awk script `defines.awk', embedded as
3902 # here-document in config.status, that substitutes the proper values into
3903 # config.h.in to produce config.h.
3905 # Create a delimiter string that does not exist in confdefs.h, to ease
3906 # handling of long lines.
3907 ac_delim='%!_!# '
3908 for ac_last_try in false false :; do
3909 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
3910 if test -z "$ac_tt"; then
3911 break
3912 elif $ac_last_try; then
3913 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
3914 else
3915 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
3917 done
3919 # For the awk script, D is an array of macro values keyed by name,
3920 # likewise P contains macro parameters if any. Preserve backslash
3921 # newline sequences.
3923 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
3924 sed -n '
3925 s/.\{148\}/&'"$ac_delim"'/g
3926 t rset
3927 :rset
3928 s/^[ ]*#[ ]*define[ ][ ]*/ /
3929 t def
3931 :def
3932 s/\\$//
3933 t bsnl
3934 s/["\\]/\\&/g
3935 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3936 D["\1"]=" \3"/p
3937 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
3939 :bsnl
3940 s/["\\]/\\&/g
3941 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
3942 D["\1"]=" \3\\\\\\n"\\/p
3943 t cont
3944 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
3945 t cont
3947 :cont
3949 s/.\{148\}/&'"$ac_delim"'/g
3950 t clear
3951 :clear
3952 s/\\$//
3953 t bsnlc
3954 s/["\\]/\\&/g; s/^/"/; s/$/"/p
3956 :bsnlc
3957 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
3958 b cont
3959 ' <confdefs.h | sed '
3960 s/'"$ac_delim"'/"\\\
3961 "/g' >>$CONFIG_STATUS || ac_write_fail=1
3963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3964 for (key in D) D_is_set[key] = 1
3965 FS = "\a"
3967 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
3968 line = \$ 0
3969 split(line, arg, " ")
3970 if (arg[1] == "#") {
3971 defundef = arg[2]
3972 mac1 = arg[3]
3973 } else {
3974 defundef = substr(arg[1], 2)
3975 mac1 = arg[2]
3977 split(mac1, mac2, "(") #)
3978 macro = mac2[1]
3979 prefix = substr(line, 1, index(line, defundef) - 1)
3980 if (D_is_set[macro]) {
3981 # Preserve the white space surrounding the "#".
3982 print prefix "define", macro P[macro] D[macro]
3983 next
3984 } else {
3985 # Replace #undef with comments. This is necessary, for example,
3986 # in the case of _POSIX_SOURCE, which is predefined and required
3987 # on some systems where configure will not decide to define it.
3988 if (defundef == "undef") {
3989 print "/*", prefix defundef, macro, "*/"
3990 next
3994 { print }
3995 _ACAWK
3996 _ACEOF
3997 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3998 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
3999 fi # test -n "$CONFIG_HEADERS"
4002 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4003 shift
4004 for ac_tag
4006 case $ac_tag in
4007 :[FHLC]) ac_mode=$ac_tag; continue;;
4008 esac
4009 case $ac_mode$ac_tag in
4010 :[FHL]*:*);;
4011 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4012 :[FH]-) ac_tag=-:-;;
4013 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4014 esac
4015 ac_save_IFS=$IFS
4016 IFS=:
4017 set x $ac_tag
4018 IFS=$ac_save_IFS
4019 shift
4020 ac_file=$1
4021 shift
4023 case $ac_mode in
4024 :L) ac_source=$1;;
4025 :[FH])
4026 ac_file_inputs=
4027 for ac_f
4029 case $ac_f in
4030 -) ac_f="$ac_tmp/stdin";;
4031 *) # Look for the file first in the build tree, then in the source tree
4032 # (if the path is not absolute). The absolute path cannot be DOS-style,
4033 # because $ac_f cannot contain `:'.
4034 test -f "$ac_f" ||
4035 case $ac_f in
4036 [\\/$]*) false;;
4037 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4038 esac ||
4039 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4040 esac
4041 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4042 as_fn_append ac_file_inputs " '$ac_f'"
4043 done
4045 # Let's still pretend it is `configure' which instantiates (i.e., don't
4046 # use $as_me), people would be surprised to read:
4047 # /* config.h. Generated by config.status. */
4048 configure_input='Generated from '`
4049 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4050 `' by configure.'
4051 if test x"$ac_file" != x-; then
4052 configure_input="$ac_file. $configure_input"
4053 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4054 $as_echo "$as_me: creating $ac_file" >&6;}
4056 # Neutralize special characters interpreted by sed in replacement strings.
4057 case $configure_input in #(
4058 *\&* | *\|* | *\\* )
4059 ac_sed_conf_input=`$as_echo "$configure_input" |
4060 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4061 *) ac_sed_conf_input=$configure_input;;
4062 esac
4064 case $ac_tag in
4065 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4066 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4067 esac
4069 esac
4071 ac_dir=`$as_dirname -- "$ac_file" ||
4072 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4073 X"$ac_file" : 'X\(//\)[^/]' \| \
4074 X"$ac_file" : 'X\(//\)$' \| \
4075 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4076 $as_echo X"$ac_file" |
4077 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4078 s//\1/
4081 /^X\(\/\/\)[^/].*/{
4082 s//\1/
4085 /^X\(\/\/\)$/{
4086 s//\1/
4089 /^X\(\/\).*/{
4090 s//\1/
4093 s/.*/./; q'`
4094 as_dir="$ac_dir"; as_fn_mkdir_p
4095 ac_builddir=.
4097 case "$ac_dir" in
4098 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4100 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4101 # A ".." for each directory in $ac_dir_suffix.
4102 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4103 case $ac_top_builddir_sub in
4104 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4105 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4106 esac ;;
4107 esac
4108 ac_abs_top_builddir=$ac_pwd
4109 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4110 # for backward compatibility:
4111 ac_top_builddir=$ac_top_build_prefix
4113 case $srcdir in
4114 .) # We are building in place.
4115 ac_srcdir=.
4116 ac_top_srcdir=$ac_top_builddir_sub
4117 ac_abs_top_srcdir=$ac_pwd ;;
4118 [\\/]* | ?:[\\/]* ) # Absolute name.
4119 ac_srcdir=$srcdir$ac_dir_suffix;
4120 ac_top_srcdir=$srcdir
4121 ac_abs_top_srcdir=$srcdir ;;
4122 *) # Relative name.
4123 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4124 ac_top_srcdir=$ac_top_build_prefix$srcdir
4125 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4126 esac
4127 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4130 case $ac_mode in
4133 # CONFIG_FILE
4136 _ACEOF
4138 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4139 # If the template does not know about datarootdir, expand it.
4140 # FIXME: This hack should be removed a few years after 2.60.
4141 ac_datarootdir_hack=; ac_datarootdir_seen=
4142 ac_sed_dataroot='
4143 /datarootdir/ {
4147 /@datadir@/p
4148 /@docdir@/p
4149 /@infodir@/p
4150 /@localedir@/p
4151 /@mandir@/p'
4152 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4153 *datarootdir*) ac_datarootdir_seen=yes;;
4154 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4156 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4157 _ACEOF
4158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4159 ac_datarootdir_hack='
4160 s&@datadir@&$datadir&g
4161 s&@docdir@&$docdir&g
4162 s&@infodir@&$infodir&g
4163 s&@localedir@&$localedir&g
4164 s&@mandir@&$mandir&g
4165 s&\\\${datarootdir}&$datarootdir&g' ;;
4166 esac
4167 _ACEOF
4169 # Neutralize VPATH when `$srcdir' = `.'.
4170 # Shell code in configure.ac might set extrasub.
4171 # FIXME: do we really want to maintain this feature?
4172 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4173 ac_sed_extra="$ac_vpsub
4174 $extrasub
4175 _ACEOF
4176 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4178 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4179 s|@configure_input@|$ac_sed_conf_input|;t t
4180 s&@top_builddir@&$ac_top_builddir_sub&;t t
4181 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4182 s&@srcdir@&$ac_srcdir&;t t
4183 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4184 s&@top_srcdir@&$ac_top_srcdir&;t t
4185 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4186 s&@builddir@&$ac_builddir&;t t
4187 s&@abs_builddir@&$ac_abs_builddir&;t t
4188 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4189 $ac_datarootdir_hack
4191 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4192 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4194 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4195 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4196 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4197 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4198 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4199 which seems to be undefined. Please make sure it is defined" >&5
4200 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4201 which seems to be undefined. Please make sure it is defined" >&2;}
4203 rm -f "$ac_tmp/stdin"
4204 case $ac_file in
4205 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4206 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4207 esac \
4208 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4212 # CONFIG_HEADER
4214 if test x"$ac_file" != x-; then
4216 $as_echo "/* $configure_input */" \
4217 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4218 } >"$ac_tmp/config.h" \
4219 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4220 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4222 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4223 else
4224 rm -f "$ac_file"
4225 mv "$ac_tmp/config.h" "$ac_file" \
4226 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4228 else
4229 $as_echo "/* $configure_input */" \
4230 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4231 || as_fn_error $? "could not create -" "$LINENO" 5
4236 esac
4238 done # for ac_tag
4241 as_fn_exit 0
4242 _ACEOF
4243 ac_clean_files=$ac_clean_files_save
4245 test $ac_write_fail = 0 ||
4246 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4249 # configure is writing to config.log, and then calls config.status.
4250 # config.status does its own redirection, appending to config.log.
4251 # Unfortunately, on DOS this fails, as config.log is still kept open
4252 # by configure, so config.status won't be able to write to it; its
4253 # output is simply discarded. So we exec the FD to /dev/null,
4254 # effectively closing config.log, so it can be properly (re)opened and
4255 # appended to by config.status. When coming back to configure, we
4256 # need to make the FD available again.
4257 if test "$no_create" != yes; then
4258 ac_cs_success=:
4259 ac_config_status_args=
4260 test "$silent" = yes &&
4261 ac_config_status_args="$ac_config_status_args --quiet"
4262 exec 5>/dev/null
4263 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4264 exec 5>>config.log
4265 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4266 # would make configure fail if this is the last instruction.
4267 $ac_cs_success || as_fn_exit 1
4269 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4270 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4271 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}