2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
172 test \$(( 1 + 1 )) = 2 || exit 1"
173 if (eval "$as_required") 2>/dev/null; then :
178 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
183 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
186 test -z "$as_dir" && as_dir=.
190 for as_base in sh bash ksh sh5; do
191 # Try only shells that exist, to save several forks.
192 as_shell=$as_dir/$as_base
193 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
194 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
195 CONFIG_SHELL=$as_shell as_have_required=yes
196 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
204 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
205 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
206 CONFIG_SHELL=$SHELL as_have_required=yes
211 if test "x$CONFIG_SHELL" != x; then :
212 # We cannot yet assume a decent shell, so we have to provide a
213 # neutralization value for shells without unset; and this also
214 # works around shells that cannot unset nonexistent variables.
217 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
219 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
222 if test x$as_have_required = xno; then :
223 $as_echo "$0: This script requires a shell more modern than all"
224 $as_echo "$0: the shells that I found on your system."
225 if test x${ZSH_VERSION+set} = xset ; then
226 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
227 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
229 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
230 $0: including any error possibly output before this
231 $0: message. Then install a modern shell, or manually run
232 $0: the script under such a shell if you do have one."
238 SHELL=${CONFIG_SHELL-/bin/sh}
240 # Unset more variables known to interfere with behavior of common tools.
241 CLICOLOR_FORCE= GREP_OPTIONS=
242 unset CLICOLOR_FORCE GREP_OPTIONS
244 ## --------------------- ##
245 ## M4sh Shell Functions. ##
246 ## --------------------- ##
249 # Portably unset VAR.
252 { eval $1=; unset $1;}
256 # as_fn_set_status STATUS
257 # -----------------------
258 # Set $? to STATUS, without forking.
266 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
276 # Create "$as_dir" as a directory, including parents if necessary.
281 -*) as_dir=./$as_dir;;
283 test -d "$as_dir" || eval $as_mkdir_p || {
287 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
290 as_dirs="'$as_qdir' $as_dirs"
291 as_dir=`$as_dirname -- "$as_dir" ||
292 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
293 X"$as_dir" : 'X\(//\)[^/]' \| \
294 X"$as_dir" : 'X\(//\)$' \| \
295 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
296 $as_echo X"$as_dir" |
297 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
314 test -d "$as_dir" && break
316 test -z "$as_dirs" || eval "mkdir $as_dirs"
317 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
321 # as_fn_append VAR VALUE
322 # ----------------------
323 # Append the text in VALUE to the end of the definition contained in VAR. Take
324 # advantage of any shell optimizations that allow amortized linear growth over
325 # repeated appends, instead of the typical quadratic growth present in naive
327 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
328 eval 'as_fn_append ()
341 # Perform arithmetic evaluation on the ARGs, and store the result in the
342 # global $as_val. Take advantage of shells that can avoid forks. The arguments
343 # must be portable across $(()) and expr.
344 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
352 as_val=`expr "$@" || test $? -eq 1`
357 # as_fn_error ERROR [LINENO LOG_FD]
358 # ---------------------------------
359 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
360 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
361 # script with status $?, using 1 if that was 0.
364 as_status=$?; test $as_status -eq 0 && as_status=1
366 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
367 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
369 $as_echo "$as_me: error: $1" >&2
370 as_fn_exit $as_status
373 if expr a : '\(a\)' >/dev/null 2>&1 &&
374 test "X`expr 00001 : '.*\(...\)'`" = X001; then
380 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
386 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
392 as_me=`$as_basename -- "$0" ||
393 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
394 X"$0" : 'X\(//\)$' \| \
395 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
397 sed '/^.*\/\([^/][^/]*\)\/*$/{
411 # Avoid depending upon Character Ranges.
412 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
413 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
414 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
415 as_cr_digits='0123456789'
416 as_cr_alnum=$as_cr_Letters$as_cr_digits
419 as_lineno_1=$LINENO as_lineno_1a=$LINENO
420 as_lineno_2=$LINENO as_lineno_2a=$LINENO
421 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
422 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
423 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
435 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
439 chmod +x "$as_me.lineno" ||
440 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
442 # Don't try to exec as it changes $[0], causing all sort of problems
443 # (the dirname of $[0] is not the place where we might find the
444 # original and so on. Autoconf is especially sensitive to this).
446 # Exit status is that of the last command.
450 ECHO_C= ECHO_N= ECHO_T=
451 case `echo -n x` in #(((((
453 case `echo 'xy\c'` in
454 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
456 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
463 rm -f conf$$ conf$$.exe conf$$.file
464 if test -d conf$$.dir; then
465 rm -f conf$$.dir/conf$$.file
468 mkdir conf$$.dir 2>/dev/null
470 if (echo >conf$$.file) 2>/dev/null; then
471 if ln -s conf$$.file conf$$ 2>/dev/null; then
473 # ... but there are two gotchas:
474 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
475 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
476 # In both cases, we have to default to `cp -p'.
477 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
479 elif ln conf$$.file conf$$ 2>/dev/null; then
487 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
488 rmdir conf$$.dir 2>/dev/null
490 if mkdir -p . 2>/dev/null; then
491 as_mkdir_p='mkdir -p "$as_dir"'
493 test -d ./-p && rmdir ./-p
497 if test -x / >/dev/null 2>&1; then
500 if ls -dL / >/dev/null 2>&1; then
507 if test -d "$1"; then
513 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
514 ???[sx]*):;;*)false;;esac;fi
518 as_executable_p=$as_test_x
520 # Sed expression to map a string onto a valid CPP name.
521 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
523 # Sed expression to map a string onto a valid variable name.
524 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
527 exec 7<&0 </dev/null 6>&1
530 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
531 # so uname gets run too.
532 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
537 ac_default_prefix=/usr/local
539 ac_config_libobj_dir=.
546 # Identity of this package.
554 ac_unique_file="rlfe.c"
555 ac_subst_vars='LTLIBOBJS
598 program_transform_name
611 enable_option_checking
615 ac_precious_vars='build_alias
626 # Initialize some variables set by options.
628 ac_init_version=false
629 ac_unrecognized_opts=
631 # The variables have the same names as the options, with
632 # dashes changed to underlines.
640 program_transform_name=s,x,x,
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'
670 libdir='${exec_prefix}/lib'
671 localedir='${datarootdir}/locale'
672 mandir='${datarootdir}/man'
678 # If the previous option needs an argument, assign it.
679 if test -n "$ac_prev"; then
680 eval $ac_prev=\$ac_option
686 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
690 # Accept the important Cygnus configure options, so we can diagnose typos.
692 case $ac_dashdash$ac_option in
696 -bindir | --bindir | --bindi | --bind | --bin | --bi)
698 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
701 -build | --build | --buil | --bui | --bu)
702 ac_prev=build_alias ;;
703 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
704 build_alias=$ac_optarg ;;
706 -cache-file | --cache-file | --cache-fil | --cache-fi \
707 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
708 ac_prev=cache_file ;;
709 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
710 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
711 cache_file=$ac_optarg ;;
714 cache_file=config.cache ;;
716 -datadir | --datadir | --datadi | --datad)
718 -datadir=* | --datadir=* | --datadi=* | --datad=*)
719 datadir=$ac_optarg ;;
721 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
722 | --dataroo | --dataro | --datar)
723 ac_prev=datarootdir ;;
724 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
725 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
726 datarootdir=$ac_optarg ;;
728 -disable-* | --disable-*)
729 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
730 # Reject names that are not valid shell variable names.
731 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
732 as_fn_error "invalid feature name: $ac_useropt"
733 ac_useropt_orig=$ac_useropt
734 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
735 case $ac_user_opts in
739 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
740 ac_unrecognized_sep=', ';;
742 eval enable_$ac_useropt=no ;;
744 -docdir | --docdir | --docdi | --doc | --do)
746 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
749 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
751 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
754 -enable-* | --enable-*)
755 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
756 # Reject names that are not valid shell variable names.
757 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
758 as_fn_error "invalid feature name: $ac_useropt"
759 ac_useropt_orig=$ac_useropt
760 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
761 case $ac_user_opts in
765 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
766 ac_unrecognized_sep=', ';;
768 eval enable_$ac_useropt=\$ac_optarg ;;
770 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
771 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
772 | --exec | --exe | --ex)
773 ac_prev=exec_prefix ;;
774 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
775 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
776 | --exec=* | --exe=* | --ex=*)
777 exec_prefix=$ac_optarg ;;
779 -gas | --gas | --ga | --g)
780 # Obsolete; use --with-gas.
783 -help | --help | --hel | --he | -h)
785 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
786 ac_init_help=recursive ;;
787 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
788 ac_init_help=short ;;
790 -host | --host | --hos | --ho)
791 ac_prev=host_alias ;;
792 -host=* | --host=* | --hos=* | --ho=*)
793 host_alias=$ac_optarg ;;
795 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
797 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
799 htmldir=$ac_optarg ;;
801 -includedir | --includedir | --includedi | --included | --include \
802 | --includ | --inclu | --incl | --inc)
803 ac_prev=includedir ;;
804 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
805 | --includ=* | --inclu=* | --incl=* | --inc=*)
806 includedir=$ac_optarg ;;
808 -infodir | --infodir | --infodi | --infod | --info | --inf)
810 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
811 infodir=$ac_optarg ;;
813 -libdir | --libdir | --libdi | --libd)
815 -libdir=* | --libdir=* | --libdi=* | --libd=*)
818 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
819 | --libexe | --libex | --libe)
820 ac_prev=libexecdir ;;
821 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
822 | --libexe=* | --libex=* | --libe=*)
823 libexecdir=$ac_optarg ;;
825 -localedir | --localedir | --localedi | --localed | --locale)
827 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
828 localedir=$ac_optarg ;;
830 -localstatedir | --localstatedir | --localstatedi | --localstated \
831 | --localstate | --localstat | --localsta | --localst | --locals)
832 ac_prev=localstatedir ;;
833 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
834 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
835 localstatedir=$ac_optarg ;;
837 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
839 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
843 # Obsolete; use --without-fp.
846 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
847 | --no-cr | --no-c | -n)
850 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
851 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
854 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
855 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
856 | --oldin | --oldi | --old | --ol | --o)
857 ac_prev=oldincludedir ;;
858 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
859 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
860 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
861 oldincludedir=$ac_optarg ;;
863 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
865 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
868 -program-prefix | --program-prefix | --program-prefi | --program-pref \
869 | --program-pre | --program-pr | --program-p)
870 ac_prev=program_prefix ;;
871 -program-prefix=* | --program-prefix=* | --program-prefi=* \
872 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
873 program_prefix=$ac_optarg ;;
875 -program-suffix | --program-suffix | --program-suffi | --program-suff \
876 | --program-suf | --program-su | --program-s)
877 ac_prev=program_suffix ;;
878 -program-suffix=* | --program-suffix=* | --program-suffi=* \
879 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
880 program_suffix=$ac_optarg ;;
882 -program-transform-name | --program-transform-name \
883 | --program-transform-nam | --program-transform-na \
884 | --program-transform-n | --program-transform- \
885 | --program-transform | --program-transfor \
886 | --program-transfo | --program-transf \
887 | --program-trans | --program-tran \
888 | --progr-tra | --program-tr | --program-t)
889 ac_prev=program_transform_name ;;
890 -program-transform-name=* | --program-transform-name=* \
891 | --program-transform-nam=* | --program-transform-na=* \
892 | --program-transform-n=* | --program-transform-=* \
893 | --program-transform=* | --program-transfor=* \
894 | --program-transfo=* | --program-transf=* \
895 | --program-trans=* | --program-tran=* \
896 | --progr-tra=* | --program-tr=* | --program-t=*)
897 program_transform_name=$ac_optarg ;;
899 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
901 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
904 -psdir | --psdir | --psdi | --psd | --ps)
906 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
910 | -silent | --silent | --silen | --sile | --sil)
913 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
915 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
917 sbindir=$ac_optarg ;;
919 -sharedstatedir | --sharedstatedir | --sharedstatedi \
920 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
921 | --sharedst | --shareds | --shared | --share | --shar \
923 ac_prev=sharedstatedir ;;
924 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
925 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
926 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
928 sharedstatedir=$ac_optarg ;;
930 -site | --site | --sit)
932 -site=* | --site=* | --sit=*)
935 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
937 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
940 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
941 | --syscon | --sysco | --sysc | --sys | --sy)
942 ac_prev=sysconfdir ;;
943 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
944 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
945 sysconfdir=$ac_optarg ;;
947 -target | --target | --targe | --targ | --tar | --ta | --t)
948 ac_prev=target_alias ;;
949 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
950 target_alias=$ac_optarg ;;
952 -v | -verbose | --verbose | --verbos | --verbo | --verb)
955 -version | --version | --versio | --versi | --vers | -V)
959 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
960 # Reject names that are not valid shell variable names.
961 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
962 as_fn_error "invalid package name: $ac_useropt"
963 ac_useropt_orig=$ac_useropt
964 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
965 case $ac_user_opts in
969 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
970 ac_unrecognized_sep=', ';;
972 eval with_$ac_useropt=\$ac_optarg ;;
974 -without-* | --without-*)
975 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
976 # Reject names that are not valid shell variable names.
977 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
978 as_fn_error "invalid package name: $ac_useropt"
979 ac_useropt_orig=$ac_useropt
980 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
981 case $ac_user_opts in
985 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
986 ac_unrecognized_sep=', ';;
988 eval with_$ac_useropt=no ;;
991 # Obsolete; use --with-x.
994 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
995 | --x-incl | --x-inc | --x-in | --x-i)
996 ac_prev=x_includes ;;
997 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
998 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
999 x_includes=$ac_optarg ;;
1001 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1002 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1003 ac_prev=x_libraries ;;
1004 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1005 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1006 x_libraries=$ac_optarg ;;
1008 -*) as_fn_error "unrecognized option: \`$ac_option'
1009 Try \`$0 --help' for more information."
1013 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1014 # Reject names that are not valid shell variable names.
1015 case $ac_envvar in #(
1016 '' | [0-9]* | *[!_$as_cr_alnum]* )
1017 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1019 eval $ac_envvar=\$ac_optarg
1020 export $ac_envvar ;;
1023 # FIXME: should be removed in autoconf 3.0.
1024 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1025 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1026 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1027 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1033 if test -n "$ac_prev"; then
1034 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1035 as_fn_error "missing argument to $ac_option"
1038 if test -n "$ac_unrecognized_opts"; then
1039 case $enable_option_checking in
1041 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1042 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1046 # Check all directory arguments for consistency.
1047 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1048 datadir sysconfdir sharedstatedir localstatedir includedir \
1049 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1050 libdir localedir mandir
1052 eval ac_val=\$$ac_var
1053 # Remove trailing slashes.
1056 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1057 eval $ac_var=\$ac_val;;
1059 # Be sure to have absolute directory names.
1061 [\\/$]* | ?:[\\/]* ) continue;;
1062 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1064 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1067 # There might be people who depend on the old broken behavior: `$host'
1068 # used to hold the argument of --host etc.
1069 # FIXME: To remove some day.
1072 target=$target_alias
1074 # FIXME: To remove some day.
1075 if test "x$host_alias" != x; then
1076 if test "x$build_alias" = x; then
1077 cross_compiling=maybe
1078 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1079 If a cross compiler is detected then cross compile mode will be used." >&2
1080 elif test "x$build_alias" != "x$host_alias"; then
1086 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1088 test "$silent" = yes && exec 6>/dev/null
1091 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1092 ac_ls_di=`ls -di .` &&
1093 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1094 as_fn_error "working directory cannot be determined"
1095 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1096 as_fn_error "pwd does not report name of working directory"
1099 # Find the source files, if location was not specified.
1100 if test -z "$srcdir"; then
1101 ac_srcdir_defaulted=yes
1102 # Try the directory containing this script, then the parent directory.
1103 ac_confdir=`$as_dirname -- "$as_myself" ||
1104 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1105 X"$as_myself" : 'X\(//\)[^/]' \| \
1106 X"$as_myself" : 'X\(//\)$' \| \
1107 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1108 $as_echo X"$as_myself" |
1109 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1127 if test ! -r "$srcdir/$ac_unique_file"; then
1131 ac_srcdir_defaulted=no
1133 if test ! -r "$srcdir/$ac_unique_file"; then
1134 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1135 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1137 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1139 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1141 # When building in place, set srcdir=.
1142 if test "$ac_abs_confdir" = "$ac_pwd"; then
1145 # Remove unnecessary trailing slashes from srcdir.
1146 # Double slashes in file names in object file debugging info
1147 # mess up M-x gdb in Emacs.
1149 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1151 for ac_var in $ac_precious_vars; do
1152 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1153 eval ac_env_${ac_var}_value=\$${ac_var}
1154 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1155 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1159 # Report the --help message.
1161 if test "$ac_init_help" = "long"; then
1162 # Omit some internal or obsolete options to make the list less imposing.
1163 # This message is too long to be a string in the A/UX 3.1 sh.
1165 \`configure' configures this package to adapt to many kinds of systems.
1167 Usage: $0 [OPTION]... [VAR=VALUE]...
1169 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1170 VAR=VALUE. See below for descriptions of some of the useful variables.
1172 Defaults for the options are specified in brackets.
1175 -h, --help display this help and exit
1176 --help=short display options specific to this package
1177 --help=recursive display the short help of all the included packages
1178 -V, --version display version information and exit
1179 -q, --quiet, --silent do not print \`checking...' messages
1180 --cache-file=FILE cache test results in FILE [disabled]
1181 -C, --config-cache alias for \`--cache-file=config.cache'
1182 -n, --no-create do not create output files
1183 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1185 Installation directories:
1186 --prefix=PREFIX install architecture-independent files in PREFIX
1187 [$ac_default_prefix]
1188 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1191 By default, \`make install' will install all the files in
1192 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1193 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1194 for instance \`--prefix=\$HOME'.
1196 For better control, use the options below.
1198 Fine tuning of the installation directories:
1199 --bindir=DIR user executables [EPREFIX/bin]
1200 --sbindir=DIR system admin executables [EPREFIX/sbin]
1201 --libexecdir=DIR program executables [EPREFIX/libexec]
1202 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1203 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1204 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1205 --libdir=DIR object code libraries [EPREFIX/lib]
1206 --includedir=DIR C header files [PREFIX/include]
1207 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1208 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1209 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1210 --infodir=DIR info documentation [DATAROOTDIR/info]
1211 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1212 --mandir=DIR man documentation [DATAROOTDIR/man]
1213 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1214 --htmldir=DIR html documentation [DOCDIR]
1215 --dvidir=DIR dvi documentation [DOCDIR]
1216 --pdfdir=DIR pdf documentation [DOCDIR]
1217 --psdir=DIR ps documentation [DOCDIR]
1224 if test -n "$ac_init_help"; then
1229 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1230 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1231 --with-pty-mode=mode default mode for ptys
1232 --with-pty-group=group default group for ptys
1234 Some influential environment variables:
1235 CC C compiler command
1236 CFLAGS C compiler flags
1237 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1238 nonstandard directory <lib dir>
1239 LIBS libraries to pass to the linker, e.g. -l<library>
1240 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1241 you have headers in a nonstandard directory <include dir>
1244 Use these variables to override the choices made by `configure' or to help
1245 it to find libraries and programs with nonstandard names/locations.
1247 Report bugs to the package provider.
1252 if test "$ac_init_help" = "recursive"; then
1253 # If there are subdirs, report their specific --help.
1254 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1255 test -d "$ac_dir" ||
1256 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1261 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1263 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1264 # A ".." for each directory in $ac_dir_suffix.
1265 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1266 case $ac_top_builddir_sub in
1267 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1268 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1271 ac_abs_top_builddir=$ac_pwd
1272 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1273 # for backward compatibility:
1274 ac_top_builddir=$ac_top_build_prefix
1277 .) # We are building in place.
1279 ac_top_srcdir=$ac_top_builddir_sub
1280 ac_abs_top_srcdir=$ac_pwd ;;
1281 [\\/]* | ?:[\\/]* ) # Absolute name.
1282 ac_srcdir=$srcdir$ac_dir_suffix;
1283 ac_top_srcdir=$srcdir
1284 ac_abs_top_srcdir=$srcdir ;;
1286 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1287 ac_top_srcdir=$ac_top_build_prefix$srcdir
1288 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1290 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1292 cd "$ac_dir" || { ac_status=$?; continue; }
1293 # Check for guested configure.
1294 if test -f "$ac_srcdir/configure.gnu"; then
1296 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1297 elif test -f "$ac_srcdir/configure"; then
1299 $SHELL "$ac_srcdir/configure" --help=recursive
1301 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1303 cd "$ac_pwd" || { ac_status=$?; break; }
1307 test -n "$ac_init_help" && exit $ac_status
1308 if $ac_init_version; then
1311 generated by GNU Autoconf 2.64
1313 Copyright (C) 2009 Free Software Foundation, Inc.
1314 This configure script is free software; the Free Software Foundation
1315 gives unlimited permission to copy, distribute and modify it.
1320 ## ------------------------ ##
1321 ## Autoconf initialization. ##
1322 ## ------------------------ ##
1324 # ac_fn_c_try_compile LINENO
1325 # --------------------------
1326 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1327 ac_fn_c_try_compile ()
1329 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1330 rm -f conftest.$ac_objext
1331 if { { ac_try="$ac_compile"
1333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1334 *) ac_try_echo=$ac_try;;
1336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1337 $as_echo "$ac_try_echo"; } >&5
1338 (eval "$ac_compile") 2>conftest.err
1340 if test -s conftest.err; then
1341 grep -v '^ *+' conftest.err >conftest.er1
1342 cat conftest.er1 >&5
1343 mv -f conftest.er1 conftest.err
1345 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1346 test $ac_status = 0; } && {
1347 test -z "$ac_c_werror_flag" ||
1348 test ! -s conftest.err
1349 } && test -s conftest.$ac_objext; then :
1352 $as_echo "$as_me: failed program was:" >&5
1353 sed 's/^/| /' conftest.$ac_ext >&5
1357 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1360 } # ac_fn_c_try_compile
1362 # ac_fn_c_try_cpp LINENO
1363 # ----------------------
1364 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1367 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1368 if { { ac_try="$ac_cpp conftest.$ac_ext"
1370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1371 *) ac_try_echo=$ac_try;;
1373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1374 $as_echo "$ac_try_echo"; } >&5
1375 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1377 if test -s conftest.err; then
1378 grep -v '^ *+' conftest.err >conftest.er1
1379 cat conftest.er1 >&5
1380 mv -f conftest.er1 conftest.err
1382 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1383 test $ac_status = 0; } >/dev/null && {
1384 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1385 test ! -s conftest.err
1389 $as_echo "$as_me: failed program was:" >&5
1390 sed 's/^/| /' conftest.$ac_ext >&5
1394 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1399 # ac_fn_c_try_link LINENO
1400 # -----------------------
1401 # Try to link conftest.$ac_ext, and return whether this succeeded.
1404 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1405 rm -f conftest.$ac_objext conftest$ac_exeext
1406 if { { ac_try="$ac_link"
1408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1409 *) ac_try_echo=$ac_try;;
1411 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1412 $as_echo "$ac_try_echo"; } >&5
1413 (eval "$ac_link") 2>conftest.err
1415 if test -s conftest.err; then
1416 grep -v '^ *+' conftest.err >conftest.er1
1417 cat conftest.er1 >&5
1418 mv -f conftest.er1 conftest.err
1420 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1421 test $ac_status = 0; } && {
1422 test -z "$ac_c_werror_flag" ||
1423 test ! -s conftest.err
1424 } && test -s conftest$ac_exeext && {
1425 test "$cross_compiling" = yes ||
1426 $as_test_x conftest$ac_exeext
1430 $as_echo "$as_me: failed program was:" >&5
1431 sed 's/^/| /' conftest.$ac_ext >&5
1435 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1436 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1437 # interfere with the next link command; also delete a directory that is
1438 # left behind by Apple's compiler. We do this before executing the actions.
1439 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1440 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1443 } # ac_fn_c_try_link
1445 # ac_fn_c_try_run LINENO
1446 # ----------------------
1447 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1448 # that executables *can* be run.
1451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1452 if { { ac_try="$ac_link"
1454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1455 *) ac_try_echo=$ac_try;;
1457 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1458 $as_echo "$ac_try_echo"; } >&5
1459 (eval "$ac_link") 2>&5
1461 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1462 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1463 { { case "(($ac_try" in
1464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1465 *) ac_try_echo=$ac_try;;
1467 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1468 $as_echo "$ac_try_echo"; } >&5
1469 (eval "$ac_try") 2>&5
1471 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1472 test $ac_status = 0; }; }; then :
1475 $as_echo "$as_me: program exited with status $ac_status" >&5
1476 $as_echo "$as_me: failed program was:" >&5
1477 sed 's/^/| /' conftest.$ac_ext >&5
1479 ac_retval=$ac_status
1481 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1482 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1487 # ac_fn_c_check_func LINENO FUNC VAR
1488 # ----------------------------------
1489 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1490 ac_fn_c_check_func ()
1492 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1494 $as_echo_n "checking for $2... " >&6; }
1495 if { as_var=$3; eval "test \"\${$as_var+set}\" = set"; }; then :
1496 $as_echo_n "(cached) " >&6
1498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1499 /* end confdefs.h. */
1500 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1501 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1502 #define $2 innocuous_$2
1504 /* System header to define __stub macros and hopefully few prototypes,
1505 which can conflict with char $2 (); below.
1506 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1507 <limits.h> exists even on freestanding compilers. */
1510 # include <limits.h>
1512 # include <assert.h>
1517 /* Override any GCC internal prototype to avoid an error.
1518 Use char because int might match the return type of a GCC
1519 builtin and then its argument prototype would still apply. */
1524 /* The GNU C library defines this for functions which it implements
1525 to always fail with ENOSYS. Some functions are actually named
1526 something starting with __ and the normal name is an alias. */
1527 #if defined __stub_$2 || defined __stub___$2
1539 if ac_fn_c_try_link "$LINENO"; then :
1544 rm -f core conftest.err conftest.$ac_objext \
1545 conftest$ac_exeext conftest.$ac_ext
1548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1549 $as_echo "$ac_res" >&6; }
1550 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1552 } # ac_fn_c_check_func
1553 cat >config.log <<_ACEOF
1554 This file contains any messages produced by compilers while
1555 running configure, to aid debugging if configure makes a mistake.
1557 It was created by $as_me, which was
1558 generated by GNU Autoconf 2.64. Invocation command line was
1570 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1571 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1572 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1573 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1574 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1576 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1577 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1579 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1580 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1581 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1582 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1583 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1584 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1585 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1593 test -z "$as_dir" && as_dir=.
1594 $as_echo "PATH: $as_dir"
1610 # Keep a trace of the command line.
1611 # Strip out --no-create and --no-recursion so they do not pile up.
1612 # Strip out --silent because we don't want to record it for future runs.
1613 # Also quote any args containing shell meta-characters.
1614 # Make two passes to allow for proper duplicate-argument suppression.
1618 ac_must_keep_next=false
1624 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1625 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1626 | -silent | --silent | --silen | --sile | --sil)
1629 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1632 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1634 as_fn_append ac_configure_args1 " '$ac_arg'"
1635 if test $ac_must_keep_next = true; then
1636 ac_must_keep_next=false # Got value, back to normal.
1639 *=* | --config-cache | -C | -disable-* | --disable-* \
1640 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1641 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1642 | -with-* | --with-* | -without-* | --without-* | --x)
1643 case "$ac_configure_args0 " in
1644 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1647 -* ) ac_must_keep_next=true ;;
1650 as_fn_append ac_configure_args " '$ac_arg'"
1655 { ac_configure_args0=; unset ac_configure_args0;}
1656 { ac_configure_args1=; unset ac_configure_args1;}
1658 # When interrupted or exit'd, cleanup temporary files, and complete
1659 # config.log. We remove comments because anyway the quotes in there
1660 # would cause problems or look ugly.
1661 # WARNING: Use '\'' to represent an apostrophe within the trap.
1662 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1663 trap 'exit_status=$?
1664 # Save into config.log some information that might help in debugging.
1669 ## ---------------- ##
1670 ## Cache variables. ##
1671 ## ---------------- ##
1674 # The following way of writing the cache mishandles newlines in values,
1676 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1677 eval ac_val=\$$ac_var
1681 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1682 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1685 _ | IFS | as_nl) ;; #(
1686 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1687 *) { eval $ac_var=; unset $ac_var;} ;;
1692 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1693 *${as_nl}ac_space=\ *)
1695 "s/'\''/'\''\\\\'\'''\''/g;
1696 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1699 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1707 ## ----------------- ##
1708 ## Output variables. ##
1709 ## ----------------- ##
1712 for ac_var in $ac_subst_vars
1714 eval ac_val=\$$ac_var
1716 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1718 $as_echo "$ac_var='\''$ac_val'\''"
1722 if test -n "$ac_subst_files"; then
1724 ## ------------------- ##
1725 ## File substitutions. ##
1726 ## ------------------- ##
1729 for ac_var in $ac_subst_files
1731 eval ac_val=\$$ac_var
1733 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1735 $as_echo "$ac_var='\''$ac_val'\''"
1740 if test -s confdefs.h; then
1750 test "$ac_signal" != 0 &&
1751 $as_echo "$as_me: caught signal $ac_signal"
1752 $as_echo "$as_me: exit $exit_status"
1754 rm -f core *.core core.conftest.* &&
1755 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1758 for ac_signal in 1 2 13 15; do
1759 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1763 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1764 rm -f -r conftest* confdefs.h
1766 $as_echo "/* confdefs.h */" > confdefs.h
1768 # Predefined preprocessor variables.
1770 cat >>confdefs.h <<_ACEOF
1771 #define PACKAGE_NAME "$PACKAGE_NAME"
1774 cat >>confdefs.h <<_ACEOF
1775 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1778 cat >>confdefs.h <<_ACEOF
1779 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1782 cat >>confdefs.h <<_ACEOF
1783 #define PACKAGE_STRING "$PACKAGE_STRING"
1786 cat >>confdefs.h <<_ACEOF
1787 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1790 cat >>confdefs.h <<_ACEOF
1791 #define PACKAGE_URL "$PACKAGE_URL"
1795 # Let the site file select an alternate cache file if it wants to.
1796 # Prefer an explicitly selected file to automatically selected ones.
1799 if test -n "$CONFIG_SITE"; then
1800 ac_site_file1=$CONFIG_SITE
1801 elif test "x$prefix" != xNONE; then
1802 ac_site_file1=$prefix/share/config.site
1803 ac_site_file2=$prefix/etc/config.site
1805 ac_site_file1=$ac_default_prefix/share/config.site
1806 ac_site_file2=$ac_default_prefix/etc/config.site
1808 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1810 test "x$ac_site_file" = xNONE && continue
1811 if test -r "$ac_site_file"; then
1812 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1813 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1814 sed 's/^/| /' "$ac_site_file" >&5
1819 if test -r "$cache_file"; then
1820 # Some versions of bash will fail to source /dev/null (special
1821 # files actually), so we avoid doing that.
1822 if test -f "$cache_file"; then
1823 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1824 $as_echo "$as_me: loading cache $cache_file" >&6;}
1826 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1827 *) . "./$cache_file";;
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1832 $as_echo "$as_me: creating cache $cache_file" >&6;}
1836 # Check that the precious variables saved in the cache have kept the same
1838 ac_cache_corrupted=false
1839 for ac_var in $ac_precious_vars; do
1840 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1841 eval ac_new_set=\$ac_env_${ac_var}_set
1842 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1843 eval ac_new_val=\$ac_env_${ac_var}_value
1844 case $ac_old_set,$ac_new_set in
1846 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1847 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1848 ac_cache_corrupted=: ;;
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1851 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1852 ac_cache_corrupted=: ;;
1855 if test "x$ac_old_val" != "x$ac_new_val"; then
1856 # differences in whitespace do not lead to failure.
1857 ac_old_val_w=`echo x $ac_old_val`
1858 ac_new_val_w=`echo x $ac_new_val`
1859 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1861 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1862 ac_cache_corrupted=:
1864 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1865 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1866 eval $ac_var=\$ac_old_val
1868 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1869 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1871 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1874 # Pass precious variables to config.status.
1875 if test "$ac_new_set" = set; then
1877 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1878 *) ac_arg=$ac_var=$ac_new_val ;;
1880 case " $ac_configure_args " in
1881 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1882 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1886 if $ac_cache_corrupted; then
1887 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1889 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1890 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1891 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1893 ## -------------------- ##
1894 ## Main body of script. ##
1895 ## -------------------- ##
1898 ac_cpp='$CPP $CPPFLAGS'
1899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1907 ac_config_headers="$ac_config_headers config.h"
1913 old_CFLAGS="$CFLAGS"
1915 ac_cpp='$CPP $CPPFLAGS'
1916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1919 if test -n "$ac_tool_prefix"; then
1920 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1921 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1923 $as_echo_n "checking for $ac_word... " >&6; }
1924 if test "${ac_cv_prog_CC+set}" = set; then :
1925 $as_echo_n "(cached) " >&6
1927 if test -n "$CC"; then
1928 ac_cv_prog_CC="$CC" # Let the user override the test.
1930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1934 test -z "$as_dir" && as_dir=.
1935 for ac_exec_ext in '' $ac_executable_extensions; do
1936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1937 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1938 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1948 if test -n "$CC"; then
1949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1950 $as_echo "$CC" >&6; }
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1953 $as_echo "no" >&6; }
1958 if test -z "$ac_cv_prog_CC"; then
1960 # Extract the first word of "gcc", so it can be a program name with args.
1961 set dummy gcc; ac_word=$2
1962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1963 $as_echo_n "checking for $ac_word... " >&6; }
1964 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
1965 $as_echo_n "(cached) " >&6
1967 if test -n "$ac_ct_CC"; then
1968 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1970 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1974 test -z "$as_dir" && as_dir=.
1975 for ac_exec_ext in '' $ac_executable_extensions; do
1976 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1977 ac_cv_prog_ac_ct_CC="gcc"
1978 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1987 ac_ct_CC=$ac_cv_prog_ac_ct_CC
1988 if test -n "$ac_ct_CC"; then
1989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
1990 $as_echo "$ac_ct_CC" >&6; }
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1993 $as_echo "no" >&6; }
1996 if test "x$ac_ct_CC" = x; then
1999 case $cross_compiling:$ac_tool_warned in
2001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2002 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2003 ac_tool_warned=yes ;;
2011 if test -z "$CC"; then
2012 if test -n "$ac_tool_prefix"; then
2013 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2014 set dummy ${ac_tool_prefix}cc; ac_word=$2
2015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2016 $as_echo_n "checking for $ac_word... " >&6; }
2017 if test "${ac_cv_prog_CC+set}" = set; then :
2018 $as_echo_n "(cached) " >&6
2020 if test -n "$CC"; then
2021 ac_cv_prog_CC="$CC" # Let the user override the test.
2023 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2027 test -z "$as_dir" && as_dir=.
2028 for ac_exec_ext in '' $ac_executable_extensions; do
2029 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2030 ac_cv_prog_CC="${ac_tool_prefix}cc"
2031 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2041 if test -n "$CC"; then
2042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2043 $as_echo "$CC" >&6; }
2045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2046 $as_echo "no" >&6; }
2052 if test -z "$CC"; then
2053 # Extract the first word of "cc", so it can be a program name with args.
2054 set dummy cc; ac_word=$2
2055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2056 $as_echo_n "checking for $ac_word... " >&6; }
2057 if test "${ac_cv_prog_CC+set}" = set; then :
2058 $as_echo_n "(cached) " >&6
2060 if test -n "$CC"; then
2061 ac_cv_prog_CC="$CC" # Let the user override the test.
2064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2068 test -z "$as_dir" && as_dir=.
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2071 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2072 ac_prog_rejected=yes
2076 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2083 if test $ac_prog_rejected = yes; then
2084 # We found a bogon in the path, so make sure we never use it.
2085 set dummy $ac_cv_prog_CC
2087 if test $# != 0; then
2088 # We chose a different compiler from the bogus one.
2089 # However, it has the same basename, so the bogon will be chosen
2090 # first if we set CC to just the basename; use the full file name.
2092 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2098 if test -n "$CC"; then
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2100 $as_echo "$CC" >&6; }
2102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2103 $as_echo "no" >&6; }
2108 if test -z "$CC"; then
2109 if test -n "$ac_tool_prefix"; then
2110 for ac_prog in cl.exe
2112 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2113 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2115 $as_echo_n "checking for $ac_word... " >&6; }
2116 if test "${ac_cv_prog_CC+set}" = set; then :
2117 $as_echo_n "(cached) " >&6
2119 if test -n "$CC"; then
2120 ac_cv_prog_CC="$CC" # Let the user override the test.
2122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2126 test -z "$as_dir" && as_dir=.
2127 for ac_exec_ext in '' $ac_executable_extensions; do
2128 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2129 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2130 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2140 if test -n "$CC"; then
2141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2142 $as_echo "$CC" >&6; }
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2145 $as_echo "no" >&6; }
2149 test -n "$CC" && break
2152 if test -z "$CC"; then
2154 for ac_prog in cl.exe
2156 # Extract the first word of "$ac_prog", so it can be a program name with args.
2157 set dummy $ac_prog; ac_word=$2
2158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2159 $as_echo_n "checking for $ac_word... " >&6; }
2160 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2161 $as_echo_n "(cached) " >&6
2163 if test -n "$ac_ct_CC"; then
2164 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2166 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2170 test -z "$as_dir" && as_dir=.
2171 for ac_exec_ext in '' $ac_executable_extensions; do
2172 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2173 ac_cv_prog_ac_ct_CC="$ac_prog"
2174 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2183 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2184 if test -n "$ac_ct_CC"; then
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2186 $as_echo "$ac_ct_CC" >&6; }
2188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2189 $as_echo "no" >&6; }
2193 test -n "$ac_ct_CC" && break
2196 if test "x$ac_ct_CC" = x; then
2199 case $cross_compiling:$ac_tool_warned in
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2202 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2203 ac_tool_warned=yes ;;
2212 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2213 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2214 as_fn_error "no acceptable C compiler found in \$PATH
2215 See \`config.log' for more details." "$LINENO" 5; }
2217 # Provide some information about the compiler.
2218 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2221 for ac_option in --version -v -V -qversion; do
2222 { { ac_try="$ac_compiler $ac_option >&5"
2224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2225 *) ac_try_echo=$ac_try;;
2227 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2228 $as_echo "$ac_try_echo"; } >&5
2229 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2231 if test -s conftest.err; then
2233 ... rest of stderr output deleted ...
2234 10q' conftest.err >conftest.er1
2235 cat conftest.er1 >&5
2236 rm -f conftest.er1 conftest.err
2238 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2239 test $ac_status = 0; }
2242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2243 /* end confdefs.h. */
2253 ac_clean_files_save=$ac_clean_files
2254 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out conftest.out"
2255 # Try to create an executable without -o first, disregard a.out.
2256 # It will help us diagnose broken compilers, and finding out an intuition
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2259 $as_echo_n "checking for C compiler default output file name... " >&6; }
2260 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2262 # The possible output files:
2263 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2266 for ac_file in $ac_files
2269 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2270 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2275 if { { ac_try="$ac_link_default"
2277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2278 *) ac_try_echo=$ac_try;;
2280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2281 $as_echo "$ac_try_echo"; } >&5
2282 (eval "$ac_link_default") 2>&5
2284 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2285 test $ac_status = 0; }; then :
2286 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2287 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2288 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2289 # so that the user can short-circuit this test for compilers unknown to
2291 for ac_file in $ac_files ''
2293 test -f "$ac_file" || continue
2295 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2298 # We found the default executable, but exeext='' is most
2302 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2304 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2306 # We set ac_cv_exeext here because the later test for it is not
2307 # safe: cross compilers may not add the suffix if given an `-o'
2308 # argument, so we may need to know it at that point already.
2309 # Even if this section looks crufty: it has the advantage of
2316 test "$ac_cv_exeext" = no && ac_cv_exeext=
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2322 $as_echo "$ac_file" >&6; }
2323 if test -z "$ac_file"; then :
2324 $as_echo "$as_me: failed program was:" >&5
2325 sed 's/^/| /' conftest.$ac_ext >&5
2327 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2328 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2329 { as_fn_set_status 77
2330 as_fn_error "C compiler cannot create executables
2331 See \`config.log' for more details." "$LINENO" 5; }; }
2333 ac_exeext=$ac_cv_exeext
2335 # Check that the compiler produces executables we can run. If not, either
2336 # the compiler is broken, or we cross compile.
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2338 $as_echo_n "checking whether the C compiler works... " >&6; }
2339 # If not cross compiling, check that we can run a simple program.
2340 if test "$cross_compiling" != yes; then
2341 if { ac_try='./$ac_file'
2342 { { case "(($ac_try" in
2343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2344 *) ac_try_echo=$ac_try;;
2346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2347 $as_echo "$ac_try_echo"; } >&5
2348 (eval "$ac_try") 2>&5
2350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2351 test $ac_status = 0; }; }; then
2354 if test "$cross_compiling" = maybe; then
2357 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2358 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2359 as_fn_error "cannot run C compiled programs.
2360 If you meant to cross compile, use \`--host'.
2361 See \`config.log' for more details." "$LINENO" 5; }
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2366 $as_echo "yes" >&6; }
2368 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out conftest.out
2369 ac_clean_files=$ac_clean_files_save
2370 # Check that the compiler produces executables we can run. If not, either
2371 # the compiler is broken, or we cross compile.
2372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2373 $as_echo_n "checking whether we are cross compiling... " >&6; }
2374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2375 $as_echo "$cross_compiling" >&6; }
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2378 $as_echo_n "checking for suffix of executables... " >&6; }
2379 if { { ac_try="$ac_link"
2381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2382 *) ac_try_echo=$ac_try;;
2384 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2385 $as_echo "$ac_try_echo"; } >&5
2386 (eval "$ac_link") 2>&5
2388 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2389 test $ac_status = 0; }; then :
2390 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2391 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2392 # work properly (i.e., refer to `conftest.exe'), while it won't with
2394 for ac_file in conftest.exe conftest conftest.*; do
2395 test -f "$ac_file" || continue
2397 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2398 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2404 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2405 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2406 as_fn_error "cannot compute suffix of executables: cannot compile and link
2407 See \`config.log' for more details." "$LINENO" 5; }
2409 rm -f conftest$ac_cv_exeext
2410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2411 $as_echo "$ac_cv_exeext" >&6; }
2413 rm -f conftest.$ac_ext
2414 EXEEXT=$ac_cv_exeext
2416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2417 $as_echo_n "checking for suffix of object files... " >&6; }
2418 if test "${ac_cv_objext+set}" = set; then :
2419 $as_echo_n "(cached) " >&6
2421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2422 /* end confdefs.h. */
2432 rm -f conftest.o conftest.obj
2433 if { { ac_try="$ac_compile"
2435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2436 *) ac_try_echo=$ac_try;;
2438 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2439 $as_echo "$ac_try_echo"; } >&5
2440 (eval "$ac_compile") 2>&5
2442 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2443 test $ac_status = 0; }; then :
2444 for ac_file in conftest.o conftest.obj conftest.*; do
2445 test -f "$ac_file" || continue;
2447 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2448 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2453 $as_echo "$as_me: failed program was:" >&5
2454 sed 's/^/| /' conftest.$ac_ext >&5
2456 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2457 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2458 as_fn_error "cannot compute suffix of object files: cannot compile
2459 See \`config.log' for more details." "$LINENO" 5; }
2461 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2464 $as_echo "$ac_cv_objext" >&6; }
2465 OBJEXT=$ac_cv_objext
2467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2468 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2469 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2470 $as_echo_n "(cached) " >&6
2472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2473 /* end confdefs.h. */
2486 if ac_fn_c_try_compile "$LINENO"; then :
2491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2492 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2496 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2497 if test $ac_compiler_gnu = yes; then
2502 ac_test_CFLAGS=${CFLAGS+set}
2503 ac_save_CFLAGS=$CFLAGS
2504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2505 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2506 if test "${ac_cv_prog_cc_g+set}" = set; then :
2507 $as_echo_n "(cached) " >&6
2509 ac_save_c_werror_flag=$ac_c_werror_flag
2510 ac_c_werror_flag=yes
2513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2514 /* end confdefs.h. */
2524 if ac_fn_c_try_compile "$LINENO"; then :
2528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2529 /* end confdefs.h. */
2539 if ac_fn_c_try_compile "$LINENO"; then :
2542 ac_c_werror_flag=$ac_save_c_werror_flag
2544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2545 /* end confdefs.h. */
2555 if ac_fn_c_try_compile "$LINENO"; then :
2558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2560 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2563 ac_c_werror_flag=$ac_save_c_werror_flag
2565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2566 $as_echo "$ac_cv_prog_cc_g" >&6; }
2567 if test "$ac_test_CFLAGS" = set; then
2568 CFLAGS=$ac_save_CFLAGS
2569 elif test $ac_cv_prog_cc_g = yes; then
2570 if test "$GCC" = yes; then
2576 if test "$GCC" = yes; then
2582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2583 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2584 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2585 $as_echo_n "(cached) " >&6
2587 ac_cv_prog_cc_c89=no
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2593 #include <sys/types.h>
2594 #include <sys/stat.h>
2595 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2596 struct buf { int x; };
2597 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2598 static char *e (p, i)
2604 static char *f (char * (*g) (char **, int), char **p, ...)
2609 s = g (p, va_arg (v,int));
2614 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2615 function prototypes and stuff, but not '\xHH' hex character constants.
2616 These don't provoke an error unfortunately, instead are silently treated
2617 as 'x'. The following induces an error, until -std is added to get
2618 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2619 array size at least. It's necessary to write '\x00'==0 to get something
2620 that's true only with -std. */
2621 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2623 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2624 inside strings and character constants. */
2626 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2628 int test (int i, double x);
2629 struct s1 {int (*f) (int a);};
2630 struct s2 {int (*f) (double a);};
2631 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2637 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2642 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2643 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2645 CC="$ac_save_CC $ac_arg"
2646 if ac_fn_c_try_compile "$LINENO"; then :
2647 ac_cv_prog_cc_c89=$ac_arg
2649 rm -f core conftest.err conftest.$ac_objext
2650 test "x$ac_cv_prog_cc_c89" != "xno" && break
2652 rm -f conftest.$ac_ext
2657 case "x$ac_cv_prog_cc_c89" in
2659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2660 $as_echo "none needed" >&6; } ;;
2662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2663 $as_echo "unsupported" >&6; } ;;
2665 CC="$CC $ac_cv_prog_cc_c89"
2666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2667 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2669 if test "x$ac_cv_prog_cc_c89" != xno; then :
2674 ac_cpp='$CPP $CPPFLAGS'
2675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2680 ac_cpp='$CPP $CPPFLAGS'
2681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2685 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2686 # On Suns, sometimes $CPP names a directory.
2687 if test -n "$CPP" && test -d "$CPP"; then
2690 if test -z "$CPP"; then
2691 if test "${ac_cv_prog_CPP+set}" = set; then :
2692 $as_echo_n "(cached) " >&6
2694 # Double quotes because CPP needs to be expanded
2695 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2698 for ac_c_preproc_warn_flag in '' yes
2700 # Use a header file that comes with gcc, so configuring glibc
2701 # with a fresh cross-compiler works.
2702 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2703 # <limits.h> exists even on freestanding compilers.
2704 # On the NeXT, cc -E runs the code through the compiler's parser,
2705 # not just through cpp. "Syntax error" is here to catch this case.
2706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2707 /* end confdefs.h. */
2709 # include <limits.h>
2711 # include <assert.h>
2715 if ac_fn_c_try_cpp "$LINENO"; then :
2718 # Broken: fails on valid input.
2721 rm -f conftest.err conftest.$ac_ext
2723 # OK, works on sane cases. Now check whether nonexistent headers
2724 # can be detected and how.
2725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2726 /* end confdefs.h. */
2727 #include <ac_nonexistent.h>
2729 if ac_fn_c_try_cpp "$LINENO"; then :
2730 # Broken: success on invalid input.
2733 # Passes both tests.
2737 rm -f conftest.err conftest.$ac_ext
2740 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2741 rm -f conftest.err conftest.$ac_ext
2742 if $ac_preproc_ok; then :
2754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2755 $as_echo "$CPP" >&6; }
2757 for ac_c_preproc_warn_flag in '' yes
2759 # Use a header file that comes with gcc, so configuring glibc
2760 # with a fresh cross-compiler works.
2761 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2762 # <limits.h> exists even on freestanding compilers.
2763 # On the NeXT, cc -E runs the code through the compiler's parser,
2764 # not just through cpp. "Syntax error" is here to catch this case.
2765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2766 /* end confdefs.h. */
2768 # include <limits.h>
2770 # include <assert.h>
2774 if ac_fn_c_try_cpp "$LINENO"; then :
2777 # Broken: fails on valid input.
2780 rm -f conftest.err conftest.$ac_ext
2782 # OK, works on sane cases. Now check whether nonexistent headers
2783 # can be detected and how.
2784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2785 /* end confdefs.h. */
2786 #include <ac_nonexistent.h>
2788 if ac_fn_c_try_cpp "$LINENO"; then :
2789 # Broken: success on invalid input.
2792 # Passes both tests.
2796 rm -f conftest.err conftest.$ac_ext
2799 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2800 rm -f conftest.err conftest.$ac_ext
2801 if $ac_preproc_ok; then :
2804 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2805 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2806 as_fn_error "C preprocessor \"$CPP\" fails sanity check
2807 See \`config.log' for more details." "$LINENO" 5; }
2811 ac_cpp='$CPP $CPPFLAGS'
2812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
2819 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
2820 if test "${ac_cv_path_GREP+set}" = set; then :
2821 $as_echo_n "(cached) " >&6
2823 if test -z "$GREP"; then
2824 ac_path_GREP_found=false
2825 # Loop through the user's path and test for each of PROGNAME-LIST
2826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2827 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2830 test -z "$as_dir" && as_dir=.
2831 for ac_prog in grep ggrep; do
2832 for ac_exec_ext in '' $ac_executable_extensions; do
2833 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
2834 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
2835 # Check for GNU ac_path_GREP and select it if it is found.
2836 # Check for GNU $ac_path_GREP
2837 case `"$ac_path_GREP" --version 2>&1` in
2839 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
2842 $as_echo_n 0123456789 >"conftest.in"
2845 cat "conftest.in" "conftest.in" >"conftest.tmp"
2846 mv "conftest.tmp" "conftest.in"
2847 cp "conftest.in" "conftest.nl"
2848 $as_echo 'GREP' >> "conftest.nl"
2849 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2850 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2851 as_fn_arith $ac_count + 1 && ac_count=$as_val
2852 if test $ac_count -gt ${ac_path_GREP_max-0}; then
2853 # Best one so far, save it but keep looking for a better one
2854 ac_cv_path_GREP="$ac_path_GREP"
2855 ac_path_GREP_max=$ac_count
2857 # 10*(2^10) chars as input seems more than enough
2858 test $ac_count -gt 10 && break
2860 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2863 $ac_path_GREP_found && break 3
2868 if test -z "$ac_cv_path_GREP"; then
2869 as_fn_error "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2872 ac_cv_path_GREP=$GREP
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
2877 $as_echo "$ac_cv_path_GREP" >&6; }
2878 GREP="$ac_cv_path_GREP"
2881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
2882 $as_echo_n "checking for egrep... " >&6; }
2883 if test "${ac_cv_path_EGREP+set}" = set; then :
2884 $as_echo_n "(cached) " >&6
2886 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
2887 then ac_cv_path_EGREP="$GREP -E"
2889 if test -z "$EGREP"; then
2890 ac_path_EGREP_found=false
2891 # Loop through the user's path and test for each of PROGNAME-LIST
2892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2893 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
2896 test -z "$as_dir" && as_dir=.
2897 for ac_prog in egrep; do
2898 for ac_exec_ext in '' $ac_executable_extensions; do
2899 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
2900 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
2901 # Check for GNU ac_path_EGREP and select it if it is found.
2902 # Check for GNU $ac_path_EGREP
2903 case `"$ac_path_EGREP" --version 2>&1` in
2905 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
2908 $as_echo_n 0123456789 >"conftest.in"
2911 cat "conftest.in" "conftest.in" >"conftest.tmp"
2912 mv "conftest.tmp" "conftest.in"
2913 cp "conftest.in" "conftest.nl"
2914 $as_echo 'EGREP' >> "conftest.nl"
2915 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
2916 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
2917 as_fn_arith $ac_count + 1 && ac_count=$as_val
2918 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
2919 # Best one so far, save it but keep looking for a better one
2920 ac_cv_path_EGREP="$ac_path_EGREP"
2921 ac_path_EGREP_max=$ac_count
2923 # 10*(2^10) chars as input seems more than enough
2924 test $ac_count -gt 10 && break
2926 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
2929 $ac_path_EGREP_found && break 3
2934 if test -z "$ac_cv_path_EGREP"; then
2935 as_fn_error "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
2938 ac_cv_path_EGREP=$EGREP
2943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
2944 $as_echo "$ac_cv_path_EGREP" >&6; }
2945 EGREP="$ac_cv_path_EGREP"
2948 if test $ac_cv_c_compiler_gnu = yes; then
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
2950 $as_echo_n "checking whether $CC needs -traditional... " >&6; }
2951 if test "${ac_cv_prog_gcc_traditional+set}" = set; then :
2952 $as_echo_n "(cached) " >&6
2954 ac_pattern="Autoconf.*'x'"
2955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2956 /* end confdefs.h. */
2960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2961 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
2962 ac_cv_prog_gcc_traditional=yes
2964 ac_cv_prog_gcc_traditional=no
2969 if test $ac_cv_prog_gcc_traditional = no; then
2970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2971 /* end confdefs.h. */
2975 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
2976 $EGREP "$ac_pattern" >/dev/null 2>&1; then :
2977 ac_cv_prog_gcc_traditional=yes
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
2984 $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
2985 if test $ac_cv_prog_gcc_traditional = yes; then
2986 CC="$CC -traditional"
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing strerror" >&5
2991 $as_echo_n "checking for library containing strerror... " >&6; }
2992 if test "${ac_cv_search_strerror+set}" = set; then :
2993 $as_echo_n "(cached) " >&6
2995 ac_func_search_save_LIBS=$LIBS
2996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2997 /* end confdefs.h. */
2999 /* Override any GCC internal prototype to avoid an error.
3000 Use char because int might match the return type of a GCC
3001 builtin and then its argument prototype would still apply. */
3014 for ac_lib in '' cposix; do
3015 if test -z "$ac_lib"; then
3016 ac_res="none required"
3019 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
3021 if ac_fn_c_try_link "$LINENO"; then :
3022 ac_cv_search_strerror=$ac_res
3024 rm -f core conftest.err conftest.$ac_objext \
3026 if test "${ac_cv_search_strerror+set}" = set; then :
3030 if test "${ac_cv_search_strerror+set}" = set; then :
3033 ac_cv_search_strerror=no
3036 LIBS=$ac_func_search_save_LIBS
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_strerror" >&5
3039 $as_echo "$ac_cv_search_strerror" >&6; }
3040 ac_res=$ac_cv_search_strerror
3041 if test "$ac_res" != no; then :
3042 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
3047 if test "$cross_compiling" = yes; then :
3048 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3049 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3050 as_fn_error "cannot run test program while cross compiling
3051 See \`config.log' for more details." "$LINENO" 5; }
3053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3054 /* end confdefs.h. */
3057 if ac_fn_c_try_run "$LINENO"; then :
3061 if test $CC != cc ; then
3062 echo "Your $CC failed - restarting with CC=cc" 1>&6
3068 exec $0 $configure_args
3072 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3073 conftest.$ac_objext conftest.beam conftest.$ac_ext
3077 if test "$cross_compiling" = yes; then :
3078 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3079 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3080 as_fn_error "cannot run test program while cross compiling
3081 See \`config.log' for more details." "$LINENO" 5; }
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3087 if ac_fn_c_try_run "$LINENO"; then :
3092 echo "CC=$CC; CFLAGS=$CFLAGS; LIBS=$LIBS;" 1>&6
3094 echo "$ac_compile" 1>&6
3096 as_fn_error "Can't run the compiler - sorry" "$LINENO" 5
3098 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3099 conftest.$ac_objext conftest.beam conftest.$ac_ext
3103 if test "$cross_compiling" = yes; then :
3104 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3105 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3106 as_fn_error "cannot run test program while cross compiling
3107 See \`config.log' for more details." "$LINENO" 5; }
3109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3110 /* end confdefs.h. */
3114 int __something_strange_();
3115 __something_strange_(0);
3119 if ac_fn_c_try_run "$LINENO"; then :
3120 as_fn_error "Your compiler does not set the exit status - sorry" "$LINENO" 5
3122 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3123 conftest.$ac_objext conftest.beam conftest.$ac_ext
3127 for ac_prog in gawk mawk nawk awk
3129 # Extract the first word of "$ac_prog", so it can be a program name with args.
3130 set dummy $ac_prog; ac_word=$2
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3132 $as_echo_n "checking for $ac_word... " >&6; }
3133 if test "${ac_cv_prog_AWK+set}" = set; then :
3134 $as_echo_n "(cached) " >&6
3136 if test -n "$AWK"; then
3137 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3143 test -z "$as_dir" && as_dir=.
3144 for ac_exec_ext in '' $ac_executable_extensions; do
3145 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3146 ac_cv_prog_AWK="$ac_prog"
3147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3157 if test -n "$AWK"; then
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3159 $as_echo "$AWK" >&6; }
3161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3162 $as_echo "no" >&6; }
3166 test -n "$AWK" && break
3170 if test -f etc/toolcheck; then
3171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for buggy tools..." >&5
3172 $as_echo "$as_me: checking for buggy tools..." >&6;}
3173 sh etc/toolcheck 1>&6
3177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for System V..." >&5
3178 $as_echo "$as_me: checking for System V..." >&6;}
3179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3180 /* end confdefs.h. */
3181 #include <sys/types.h>
3187 int x = SIGCHLD | FNDELAY;
3192 if ac_fn_c_try_compile "$LINENO"; then :
3195 $as_echo "#define SYSV 1" >>confdefs.h
3198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Solaris 2.x..." >&5
3201 $as_echo "$as_me: checking for Solaris 2.x..." >&6;}
3202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3203 /* end confdefs.h. */
3204 #if defined(SVR4) && defined(sun)
3209 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3210 $EGREP "yes" >/dev/null 2>&1; then :
3211 LIBS="$LIBS -lsocket -lnsl -lkstat"
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking select..." >&5
3218 $as_echo "$as_me: checking select..." >&6;}
3219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3220 /* end confdefs.h. */
3225 select(0, 0, 0, 0, 0);
3230 if ac_fn_c_try_link "$LINENO"; then :
3233 LIBS="$LIBS -lnet -lnsl"
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking select with $LIBS..." >&5
3235 $as_echo "$as_me: checking select with $LIBS..." >&6;}
3236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3237 /* end confdefs.h. */
3242 select(0, 0, 0, 0, 0);
3247 if ac_fn_c_try_link "$LINENO"; then :
3250 as_fn_error "!!! no select - no screen" "$LINENO" 5
3252 rm -f core conftest.err conftest.$ac_objext \
3253 conftest$ac_exeext conftest.$ac_ext
3256 rm -f core conftest.err conftest.$ac_objext \
3257 conftest$ac_exeext conftest.$ac_ext
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking select return value..." >&5
3260 $as_echo "$as_me: checking select return value..." >&6;}
3261 if test "$cross_compiling" = yes; then :
3262 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3263 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3264 as_fn_error "cannot run test program while cross compiling
3265 See \`config.log' for more details." "$LINENO" 5; }
3267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3268 /* end confdefs.h. */
3270 #include <sys/types.h>
3271 #include <sys/stat.h>
3274 char *nam = "/tmp/conftest$$";
3279 #define O_NONBLOCK O_NDELAY
3282 #define S_IFIFO 0010000
3295 /* From Andrew A. Chernov (ache@astral.msk.su):
3296 * opening RDWR fifo fails in BSD 4.4, but select return values are
3303 if (mkfifo(nam, 0777))
3305 if (mknod(nam, S_IFIFO|0777, 0))
3309 if (open(nam, O_RDWR | O_NONBLOCK))
3311 if (write(0, "TEST", 4) == -1)
3316 #include <sys/types.h>
3317 #include <sys/socket.h>
3323 struct sockaddr_un a;
3331 if ((s1 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
3333 a.sun_family = AF_UNIX;
3334 strcpy(a.sun_path, nam);
3336 if (bind(s1, (struct sockaddr *) &a, strlen(nam)+2) == -1)
3342 if ((s2 = socket(AF_UNIX, SOCK_STREAM, 0)) == -1)
3344 (void)connect(s2, (struct sockaddr *)&a, strlen(nam) + 2);
3345 if (write(s2, "HELLO", 5) == -1)
3351 if (accept(s1, (struct sockaddr *)&a, &l))
3361 if (select(1, &f, 0, 0, 0) == -1)
3363 if (select(1, &f, &f, 0, 0) != 2)
3369 if ac_fn_c_try_run "$LINENO"; then :
3370 echo "- select is ok" 1>&6
3373 echo "- select can't count" 1>&6
3374 $as_echo "#define SELECT_BROKEN 1" >>confdefs.h
3377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3378 conftest.$ac_objext conftest.beam conftest.$ac_ext
3382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tgetent..." >&5
3383 $as_echo "$as_me: checking for tgetent..." >&6;}
3384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3385 /* end confdefs.h. */
3390 tgetent((char *)0, (char *)0);
3395 if ac_fn_c_try_link "$LINENO"; then :
3399 LIBS="-lcurses $olibs"
3400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libcurses..." >&5
3401 $as_echo "$as_me: checking libcurses..." >&6;}
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3410 __sorry_hpux_libcurses_is_totally_broken_in_10_10();
3412 tgetent((char *)0, (char *)0);
3419 if ac_fn_c_try_link "$LINENO"; then :
3422 LIBS="-ltermcap $olibs"
3423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libtermcap..." >&5
3424 $as_echo "$as_me: checking libtermcap..." >&6;}
3425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3426 /* end confdefs.h. */
3431 tgetent((char *)0, (char *)0);
3436 if ac_fn_c_try_link "$LINENO"; then :
3439 LIBS="-ltermlib $olibs"
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libtermlib..." >&5
3441 $as_echo "$as_me: checking libtermlib..." >&6;}
3442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3443 /* end confdefs.h. */
3448 tgetent((char *)0, (char *)0);
3453 if ac_fn_c_try_link "$LINENO"; then :
3456 LIBS="-lncurses $olibs"
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking libncurses..." >&5
3458 $as_echo "$as_me: checking libncurses..." >&6;}
3459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3460 /* end confdefs.h. */
3465 tgetent((char *)0, (char *)0);
3470 if ac_fn_c_try_link "$LINENO"; then :
3473 as_fn_error "!!! no tgetent - no screen" "$LINENO" 5
3475 rm -f core conftest.err conftest.$ac_objext \
3476 conftest$ac_exeext conftest.$ac_ext
3478 rm -f core conftest.err conftest.$ac_objext \
3479 conftest$ac_exeext conftest.$ac_ext
3481 rm -f core conftest.err conftest.$ac_objext \
3482 conftest$ac_exeext conftest.$ac_ext
3484 rm -f core conftest.err conftest.$ac_objext \
3485 conftest$ac_exeext conftest.$ac_ext
3487 rm -f core conftest.err conftest.$ac_objext \
3488 conftest$ac_exeext conftest.$ac_ext
3490 if test "$cross_compiling" = yes; then :
3491 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3492 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3493 as_fn_error "cannot run test program while cross compiling
3494 See \`config.log' for more details." "$LINENO" 5; }
3496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3497 /* end confdefs.h. */
3501 exit(strcmp(tgoto("%p1%d", 0, 1), "1") ? 0 : 1);
3504 if ac_fn_c_try_run "$LINENO"; then :
3505 echo "- you use the termcap database" 1>&6
3508 echo "- you use the terminfo database" 1>&6
3509 $as_echo "#define TERMINFO 1" >>confdefs.h
3512 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3513 conftest.$ac_objext conftest.beam conftest.$ac_ext
3516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking ospeed..." >&5
3517 $as_echo "$as_me: checking ospeed..." >&6;}
3518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3519 /* end confdefs.h. */
3520 extern short ospeed;
3529 if ac_fn_c_try_link "$LINENO"; then :
3532 $as_echo "#define NEED_OSPEED 1" >>confdefs.h
3535 rm -f core conftest.err conftest.$ac_objext \
3536 conftest$ac_exeext conftest.$ac_ext
3538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for /dev/ptc..." >&5
3539 $as_echo "$as_me: checking for /dev/ptc..." >&6;}
3540 if test -r /dev/ptc; then
3541 $as_echo "#define HAVE_DEV_PTC 1" >>confdefs.h
3545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SVR4 ptys..." >&5
3546 $as_echo "$as_me: checking for SVR4 ptys..." >&6;}
3548 if test -c /dev/ptmx ; then
3549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3550 /* end confdefs.h. */
3555 ptsname(0);grantpt(0);unlockpt(0);
3560 if ac_fn_c_try_link "$LINENO"; then :
3561 $as_echo "#define HAVE_SVR4_PTYS 1" >>confdefs.h
3565 rm -f core conftest.err conftest.$ac_objext \
3566 conftest$ac_exeext conftest.$ac_ext
3569 for ac_func in getpt
3571 ac_fn_c_check_func "$LINENO" "getpt" "ac_cv_func_getpt"
3572 if test "x$ac_cv_func_getpt" = x""yes; then :
3573 cat >>confdefs.h <<_ACEOF
3574 #define HAVE_GETPT 1
3581 if test -z "$sysvr4ptys"; then
3582 for ac_func in openpty
3584 ac_fn_c_check_func "$LINENO" "openpty" "ac_cv_func_openpty"
3585 if test "x$ac_cv_func_openpty" = x""yes; then :
3586 cat >>confdefs.h <<_ACEOF
3587 #define HAVE_OPENPTY 1
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openpty in -lutil" >&5
3592 $as_echo_n "checking for openpty in -lutil... " >&6; }
3593 if test "${ac_cv_lib_util_openpty+set}" = set; then :
3594 $as_echo_n "(cached) " >&6
3596 ac_check_lib_save_LIBS=$LIBS
3598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3599 /* end confdefs.h. */
3601 /* Override any GCC internal prototype to avoid an error.
3602 Use char because int might match the return type of a GCC
3603 builtin and then its argument prototype would still apply. */
3616 if ac_fn_c_try_link "$LINENO"; then :
3617 ac_cv_lib_util_openpty=yes
3619 ac_cv_lib_util_openpty=no
3621 rm -f core conftest.err conftest.$ac_objext \
3622 conftest$ac_exeext conftest.$ac_ext
3623 LIBS=$ac_check_lib_save_LIBS
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_util_openpty" >&5
3626 $as_echo "$ac_cv_lib_util_openpty" >&6; }
3627 if test "x$ac_cv_lib_util_openpty" = x""yes; then :
3628 $as_echo "#define HAVE_OPENPTY 1" >>confdefs.h
3637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptyranges..." >&5
3638 $as_echo "$as_me: checking for ptyranges..." >&6;}
3639 if test -d /dev/ptym ; then
3644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3645 /* end confdefs.h. */
3651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3652 $EGREP "yes" >/dev/null 2>&1; then :
3653 ptys=`echo /dev/ptyp??`
3655 ptys=`echo $pdir/pty??`
3659 if test "$ptys" != "$pdir/pty??" ; then
3660 p0=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\).$/\1/g' | sort -u | tr -d '\012'`
3661 p1=`echo $ptys | tr ' ' '\012' | sed -e 's/^.*\(.\)$/\1/g' | sort -u | tr -d '\012'`
3662 cat >>confdefs.h <<_ACEOF
3663 #define PTYRANGE0 "$p0"
3666 cat >>confdefs.h <<_ACEOF
3667 #define PTYRANGE1 "$p1"
3673 # Check whether --with-pty-mode was given.
3674 if test "${with_pty_mode+set}" = set; then :
3675 withval=$with_pty_mode; ptymode="${withval}"
3679 # Check whether --with-pty-group was given.
3680 if test "${with_pty_group+set}" = set; then :
3681 withval=$with_pty_group; ptygrp="${withval}"
3684 test -n "$ptymode" || ptymode=0620
3685 if test -n "$ptygrp" ; then
3686 cat >>confdefs.h <<_ACEOF
3687 #define PTYMODE $ptymode
3690 cat >>confdefs.h <<_ACEOF
3691 #define PTYGROUP $ptygrp
3696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking default tty permissions/group..." >&5
3697 $as_echo "$as_me: checking default tty permissions/group..." >&6;}
3699 if test "$cross_compiling" = yes; then :
3700 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3701 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3702 as_fn_error "cannot run test program while cross compiling
3703 See \`config.log' for more details." "$LINENO" 5; }
3705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3706 /* end confdefs.h. */
3708 #include <sys/types.h>
3709 #include <sys/stat.h>
3718 if (!(x = ttyname(0))) exit(1);
3719 if (stat(x, &sb)) exit(1);
3721 if (om & 002) exit(0);
3722 m = system("mesg y");
3723 if (m == -1 || m == 127) exit(1);
3724 if (stat(x, &sb)) exit(1);
3726 if (chmod(x, om)) exit(1);
3727 if (m & 002) exit(0);
3728 if (sb.st_gid == getgid()) exit(1);
3729 if (!(fp=fopen("conftest_grp", "w")))
3731 fprintf(fp, "%d\n", sb.st_gid);
3737 if ac_fn_c_try_run "$LINENO"; then :
3739 if test -f conftest_grp; then
3740 ptygrp=`cat conftest_grp`
3741 echo "- pty mode: $ptymode, group: $ptygrp" 1>&6
3743 cat >>confdefs.h <<_ACEOF
3744 #define PTYMODE $ptymode
3747 cat >>confdefs.h <<_ACEOF
3748 #define PTYGROUP $ptygrp
3752 echo "- ptys are world accessable" 1>&6
3760 # Extract the first word of "write", so it can be a program name with args.
3761 set dummy write; ac_word=$2
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3763 $as_echo_n "checking for $ac_word... " >&6; }
3764 if test "${ac_cv_path_WRITEPATH+set}" = set; then :
3765 $as_echo_n "(cached) " >&6
3769 ac_cv_path_WRITEPATH="$WRITEPATH" # Let the user override the test with a path.
3772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3776 test -z "$as_dir" && as_dir=.
3777 for ac_exec_ext in '' $ac_executable_extensions; do
3778 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3779 ac_cv_path_WRITEPATH="$as_dir/$ac_word$ac_exec_ext"
3780 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3790 WRITEPATH=$ac_cv_path_WRITEPATH
3791 if test -n "$WRITEPATH"; then
3792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WRITEPATH" >&5
3793 $as_echo "$WRITEPATH" >&6; }
3795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3796 $as_echo "no" >&6; }
3800 # Extract the first word of "xterm", so it can be a program name with args.
3801 set dummy xterm; ac_word=$2
3802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3803 $as_echo_n "checking for $ac_word... " >&6; }
3804 if test "${ac_cv_path_XTERMPATH+set}" = set; then :
3805 $as_echo_n "(cached) " >&6
3809 ac_cv_path_XTERMPATH="$XTERMPATH" # Let the user override the test with a path.
3812 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3816 test -z "$as_dir" && as_dir=.
3817 for ac_exec_ext in '' $ac_executable_extensions; do
3818 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
3819 ac_cv_path_XTERMPATH="$as_dir/$ac_word$ac_exec_ext"
3820 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3830 XTERMPATH=$ac_cv_path_XTERMPATH
3831 if test -n "$XTERMPATH"; then
3832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XTERMPATH" >&5
3833 $as_echo "$XTERMPATH" >&6; }
3835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3836 $as_echo "no" >&6; }
3841 if test -n "$WRITEPATH$XTERMPATH"; then
3844 found=`find $WRITEPATH $XTERMPATH -follow -print 2>/dev/null`
3845 if test -n "$found"; then
3849 if test -n "$XTERMPATH"; then
3850 ptygrpn=`ls -l$lsfollow $XTERMPATH | sed -n -e 1p | $AWK '{print $4}'`
3851 if test tty != "$ptygrpn"; then
3856 if test -n "$WRITEPATH$XTERMPATH"; then
3857 found=`find $WRITEPATH $XTERMPATH $findfollow -perm -2000 -print`
3858 if test -n "$found"; then
3859 ptygrp=`ls -ln$lsfollow $found | sed -n -e 1p | $AWK '{print $4}'`
3860 echo "- pty mode: $ptymode, group: $ptygrp" 1>&6
3862 cat >>confdefs.h <<_ACEOF
3863 #define PTYMODE $ptymode
3866 cat >>confdefs.h <<_ACEOF
3867 #define PTYGROUP $ptygrp
3871 echo "- ptys are world accessable" 1>&6
3875 echo "- can't determine - assume ptys are world accessable" 1>&6
3881 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3882 conftest.$ac_objext conftest.beam conftest.$ac_ext
3888 if test -n "$posix" ; then
3890 echo "assuming posix signal definition" 1>&6
3892 $as_echo "#define SIGVOID 1" >>confdefs.h
3897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking return type of signal handlers..." >&5
3898 $as_echo "$as_me: checking return type of signal handlers..." >&6;}
3899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3900 /* end confdefs.h. */
3901 #include <sys/types.h>
3906 extern void (*signal ()) ();
3915 if ac_fn_c_try_compile "$LINENO"; then :
3916 $as_echo "#define SIGVOID 1" >>confdefs.h
3919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking sigset..." >&5
3921 $as_echo "$as_me: checking sigset..." >&6;}
3922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3923 /* end confdefs.h. */
3925 #include <sys/types.h>
3933 sigset(0, (void (*)())0);
3935 sigset(0, (int (*)())0);
3942 if ac_fn_c_try_link "$LINENO"; then :
3943 $as_echo "#define USESIGSET 1" >>confdefs.h
3946 rm -f core conftest.err conftest.$ac_objext \
3947 conftest$ac_exeext conftest.$ac_ext
3948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking signal implementation..." >&5
3949 $as_echo "$as_me: checking signal implementation..." >&6;}
3950 if test "$cross_compiling" = yes; then :
3951 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3952 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3953 as_fn_error "cannot run test program while cross compiling
3954 See \`config.log' for more details." "$LINENO" 5; }
3956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3957 /* end confdefs.h. */
3959 #include <sys/types.h>
3963 #define SIGCLD SIGCHLD
3966 #define signal sigset
3981 /* on hpux we use sigvec to get bsd signals */
3983 (void)signal(SIGCLD, hand);
3984 kill(getpid(), SIGCLD);
3985 kill(getpid(), SIGCLD);
3993 if ac_fn_c_try_run "$LINENO"; then :
3996 $as_echo "#define SYSVSIGS 1" >>confdefs.h
3999 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
4000 conftest.$ac_objext conftest.beam conftest.$ac_ext
4006 ac_config_files="$ac_config_files Makefile"
4008 cat >confcache <<\_ACEOF
4009 # This file is a shell script that caches the results of configure
4010 # tests run on this system so they can be shared between configure
4011 # scripts and configure runs, see configure's option --config-cache.
4012 # It is not useful on other systems. If it contains results you don't
4013 # want to keep, you may remove or edit it.
4015 # config.status only pays attention to the cache file if you give it
4016 # the --recheck option to rerun configure.
4018 # `ac_cv_env_foo' variables (set or unset) will be overridden when
4019 # loading this file, other *unset* `ac_cv_foo' will be assigned the
4024 # The following way of writing the cache mishandles newlines in values,
4025 # but we know of no workaround that is simple, portable, and efficient.
4026 # So, we kill variables containing newlines.
4027 # Ultrix sh set writes to stderr and can't be redirected directly,
4028 # and sets the high bit in the cache file unless we assign to the vars.
4030 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
4031 eval ac_val=\$$ac_var
4035 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
4036 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
4039 _ | IFS | as_nl) ;; #(
4040 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
4041 *) { eval $ac_var=; unset $ac_var;} ;;
4047 case $as_nl`(ac_space=' '; set) 2>&1` in #(
4048 *${as_nl}ac_space=\ *)
4049 # `set' does not quote correctly, so add quotes: double-quote
4050 # substitution turns \\\\ into \\, and sed turns \\ into \.
4053 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
4056 # `set' quotes correctly as required by POSIX, so do not add quotes.
4057 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
4066 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
4068 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
4070 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
4071 if test -w "$cache_file"; then
4072 test "x$cache_file" != "x/dev/null" &&
4073 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
4074 $as_echo "$as_me: updating cache $cache_file" >&6;}
4075 cat confcache >$cache_file
4077 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
4078 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
4083 test "x$prefix" = xNONE && prefix=$ac_default_prefix
4084 # Let make expand exec_prefix.
4085 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
4087 DEFS=-DHAVE_CONFIG_H
4091 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
4092 # 1. Remove the extension, and $U if already installed.
4093 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
4094 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
4095 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
4096 # will be set to the directory where LIBOBJS objects are built.
4097 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
4098 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
4102 LTLIBOBJS=$ac_ltlibobjs
4106 : ${CONFIG_STATUS=./config.status}
4108 ac_clean_files_save=$ac_clean_files
4109 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
4111 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
4113 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
4115 # Generated by $as_me.
4116 # Run this file to recreate the current configuration.
4117 # Compiler output produced by configure, useful for debugging
4118 # configure, is in config.log if it exists.
4124 SHELL=\${CONFIG_SHELL-$SHELL}
4127 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
4128 ## -------------------- ##
4129 ## M4sh Initialization. ##
4130 ## -------------------- ##
4132 # Be more Bourne compatible
4133 DUALCASE=1; export DUALCASE # for MKS sh
4134 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
4137 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
4138 # is contrary to our usage. Disable this feature.
4139 alias -g '${1+"$@"}'='"$@"'
4140 setopt NO_GLOB_SUBST
4142 case `(set -o) 2>/dev/null` in #(
4154 # Printing a long string crashes Solaris 7 /usr/bin/printf.
4155 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
4156 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
4157 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
4158 # Prefer a ksh shell builtin over an external printf program on Solaris,
4159 # but without wasting forks for bash or zsh.
4160 if test -z "$BASH_VERSION$ZSH_VERSION" \
4161 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
4162 as_echo='print -r --'
4163 as_echo_n='print -rn --'
4164 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
4165 as_echo='printf %s\n'
4166 as_echo_n='printf %s'
4168 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
4169 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
4170 as_echo_n='/usr/ucb/echo -n'
4172 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
4173 as_echo_n_body='eval
4177 expr "X$arg" : "X\\(.*\\)$as_nl";
4178 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
4180 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
4182 export as_echo_n_body
4183 as_echo_n='sh -c $as_echo_n_body as_echo'
4186 as_echo='sh -c $as_echo_body as_echo'
4189 # The user is always right.
4190 if test "${PATH_SEPARATOR+set}" != set; then
4192 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
4193 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
4200 # We need space, tab and new line, in precisely that order. Quoting is
4201 # there to prevent editors from complaining about space-tab.
4202 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
4203 # splitting by setting IFS to empty value.)
4206 # Find who we are. Look in the path if we contain no directory separator.
4208 *[\\/]* ) as_myself=$0 ;;
4209 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4213 test -z "$as_dir" && as_dir=.
4214 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
4220 # We did not find ourselves, most probably we were run as `sh COMMAND'
4221 # in which case we are not to be found in the path.
4222 if test "x$as_myself" = x; then
4225 if test ! -f "$as_myself"; then
4226 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
4230 # Unset variables that we do not need and which cause bugs (e.g. in
4231 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
4232 # suppresses any "Segmentation fault" message there. '((' could
4233 # trigger a bug in pdksh 5.2.14.
4234 for as_var in BASH_ENV ENV MAIL MAILPATH
4235 do eval test x\${$as_var+set} = xset \
4236 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
4249 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
4252 # as_fn_error ERROR [LINENO LOG_FD]
4253 # ---------------------------------
4254 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
4255 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
4256 # script with status $?, using 1 if that was 0.
4259 as_status=$?; test $as_status -eq 0 && as_status=1
4261 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4262 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
4264 $as_echo "$as_me: error: $1" >&2
4265 as_fn_exit $as_status
4269 # as_fn_set_status STATUS
4270 # -----------------------
4271 # Set $? to STATUS, without forking.
4275 } # as_fn_set_status
4279 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4289 # Portably unset VAR.
4292 { eval $1=; unset $1;}
4294 as_unset=as_fn_unset
4295 # as_fn_append VAR VALUE
4296 # ----------------------
4297 # Append the text in VALUE to the end of the definition contained in VAR. Take
4298 # advantage of any shell optimizations that allow amortized linear growth over
4299 # repeated appends, instead of the typical quadratic growth present in naive
4301 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4302 eval 'as_fn_append ()
4313 # as_fn_arith ARG...
4314 # ------------------
4315 # Perform arithmetic evaluation on the ARGs, and store the result in the
4316 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4317 # must be portable across $(()) and expr.
4318 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4319 eval 'as_fn_arith ()
4326 as_val=`expr "$@" || test $? -eq 1`
4331 if expr a : '\(a\)' >/dev/null 2>&1 &&
4332 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4338 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4339 as_basename=basename
4344 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4350 as_me=`$as_basename -- "$0" ||
4351 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4352 X"$0" : 'X\(//\)$' \| \
4353 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4355 sed '/^.*\/\([^/][^/]*\)\/*$/{
4369 # Avoid depending upon Character Ranges.
4370 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4371 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4372 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4373 as_cr_digits='0123456789'
4374 as_cr_alnum=$as_cr_Letters$as_cr_digits
4376 ECHO_C= ECHO_N= ECHO_T=
4377 case `echo -n x` in #(((((
4379 case `echo 'xy\c'` in
4380 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4382 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4389 rm -f conf$$ conf$$.exe conf$$.file
4390 if test -d conf$$.dir; then
4391 rm -f conf$$.dir/conf$$.file
4394 mkdir conf$$.dir 2>/dev/null
4396 if (echo >conf$$.file) 2>/dev/null; then
4397 if ln -s conf$$.file conf$$ 2>/dev/null; then
4399 # ... but there are two gotchas:
4400 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4401 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4402 # In both cases, we have to default to `cp -p'.
4403 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4405 elif ln conf$$.file conf$$ 2>/dev/null; then
4413 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4414 rmdir conf$$.dir 2>/dev/null
4419 # Create "$as_dir" as a directory, including parents if necessary.
4424 -*) as_dir=./$as_dir;;
4426 test -d "$as_dir" || eval $as_mkdir_p || {
4430 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4431 *) as_qdir=$as_dir;;
4433 as_dirs="'$as_qdir' $as_dirs"
4434 as_dir=`$as_dirname -- "$as_dir" ||
4435 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4436 X"$as_dir" : 'X\(//\)[^/]' \| \
4437 X"$as_dir" : 'X\(//\)$' \| \
4438 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4439 $as_echo X"$as_dir" |
4440 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4457 test -d "$as_dir" && break
4459 test -z "$as_dirs" || eval "mkdir $as_dirs"
4460 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
4464 if mkdir -p . 2>/dev/null; then
4465 as_mkdir_p='mkdir -p "$as_dir"'
4467 test -d ./-p && rmdir ./-p
4471 if test -x / >/dev/null 2>&1; then
4474 if ls -dL / >/dev/null 2>&1; then
4481 if test -d "$1"; then
4487 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
4488 ???[sx]*):;;*)false;;esac;fi
4492 as_executable_p=$as_test_x
4494 # Sed expression to map a string onto a valid CPP name.
4495 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4497 # Sed expression to map a string onto a valid variable name.
4498 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4502 ## ----------------------------------- ##
4503 ## Main body of $CONFIG_STATUS script. ##
4504 ## ----------------------------------- ##
4506 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4508 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4509 # Save the log message, to keep $0 and so on meaningful, and to
4510 # report actual input values of CONFIG_FILES etc. instead of their
4511 # values after options handling.
4513 This file was extended by $as_me, which was
4514 generated by GNU Autoconf 2.64. Invocation command line was
4516 CONFIG_FILES = $CONFIG_FILES
4517 CONFIG_HEADERS = $CONFIG_HEADERS
4518 CONFIG_LINKS = $CONFIG_LINKS
4519 CONFIG_COMMANDS = $CONFIG_COMMANDS
4522 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4527 case $ac_config_files in *"
4528 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4531 case $ac_config_headers in *"
4532 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4536 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4537 # Files that config.status was made for.
4538 config_files="$ac_config_files"
4539 config_headers="$ac_config_headers"
4543 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4545 \`$as_me' instantiates files and other configuration actions
4546 from templates according to the current configuration. Unless the files
4547 and actions are specified as TAGs, all are instantiated by default.
4549 Usage: $0 [OPTION]... [TAG]...
4551 -h, --help print this help, then exit
4552 -V, --version print version number and configuration settings, then exit
4553 -q, --quiet, --silent
4554 do not print progress messages
4555 -d, --debug don't remove temporary files
4556 --recheck update $as_me by reconfiguring in the same conditions
4557 --file=FILE[:TEMPLATE]
4558 instantiate the configuration file FILE
4559 --header=FILE[:TEMPLATE]
4560 instantiate the configuration header FILE
4562 Configuration files:
4565 Configuration headers:
4568 Report bugs to the package provider."
4571 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4574 configured by $0, generated by GNU Autoconf 2.64,
4575 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
4577 Copyright (C) 2009 Free Software Foundation, Inc.
4578 This config.status script is free software; the Free Software Foundation
4579 gives unlimited permission to copy, distribute and modify it."
4584 test -n "\$AWK" || AWK=awk
4587 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4588 # The default lists apply if the user does not specify any file.
4594 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4595 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4606 # Handling of the options.
4607 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4609 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4610 $as_echo "$ac_cs_version"; exit ;;
4611 --debug | --debu | --deb | --de | --d | -d )
4613 --file | --fil | --fi | --f )
4616 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4618 as_fn_append CONFIG_FILES " '$ac_optarg'"
4619 ac_need_defaults=false;;
4620 --header | --heade | --head | --hea )
4623 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4625 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4626 ac_need_defaults=false;;
4628 # Conflict between --help and --header
4629 as_fn_error "ambiguous option: \`$1'
4630 Try \`$0 --help' for more information.";;
4631 --help | --hel | -h )
4632 $as_echo "$ac_cs_usage"; exit ;;
4633 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4634 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4638 -*) as_fn_error "unrecognized option: \`$1'
4639 Try \`$0 --help' for more information." ;;
4641 *) as_fn_append ac_config_targets " $1"
4642 ac_need_defaults=false ;;
4648 ac_configure_extra_args=
4650 if $ac_cs_silent; then
4652 ac_configure_extra_args="$ac_configure_extra_args --silent"
4656 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4657 if \$ac_cs_recheck; then
4658 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4660 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4661 CONFIG_SHELL='$SHELL'
4667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4671 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4672 ## Running $as_me. ##
4678 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4681 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4683 # Handling of arguments.
4684 for ac_config_target in $ac_config_targets
4686 case $ac_config_target in
4687 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4688 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4690 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4695 # If the user did not use the arguments to specify the items to instantiate,
4696 # then the envvar interface is used. Set only those that are not.
4697 # We use the long form for the default assignment because of an extremely
4698 # bizarre bug on SunOS 4.1.3.
4699 if $ac_need_defaults; then
4700 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4701 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4704 # Have a temporary directory for convenience. Make it in the build tree
4705 # simply because there is no reason against having it here, and in addition,
4706 # creating and moving files from /tmp can sometimes cause problems.
4707 # Hook for its removal unless debugging.
4708 # Note that there is a small window in which the directory will not be cleaned:
4709 # after its creation but before its name has been assigned to `$tmp'.
4713 trap 'exit_status=$?
4714 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4716 trap 'as_fn_exit 1' 1 2 13 15
4718 # Create a (secure) tmp directory for tmp files.
4721 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4722 test -n "$tmp" && test -d "$tmp"
4725 tmp=./conf$$-$RANDOM
4726 (umask 077 && mkdir "$tmp")
4727 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4729 # Set up the scripts for CONFIG_FILES section.
4730 # No need to generate them if there are no CONFIG_FILES.
4731 # This happens for instance with `./config.status config.h'.
4732 if test -n "$CONFIG_FILES"; then
4735 ac_cr=`echo X | tr X '\015'`
4736 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4737 # But we know of no other shell where ac_cr would be empty at this
4738 # point, so we can use a bashism as a fallback.
4739 if test "x$ac_cr" = x; then
4740 eval ac_cr=\$\'\\r\'
4742 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4743 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4749 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4754 echo "cat >conf$$subs.awk <<_ACEOF" &&
4755 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4758 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4759 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4761 for ac_last_try in false false false false false :; do
4762 . ./conf$$subs.sh ||
4763 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4765 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4766 if test $ac_delim_n = $ac_delim_num; then
4768 elif $ac_last_try; then
4769 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4771 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4776 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4777 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4781 s/^/S["/; s/!.*/"]=/
4791 s/\(.\{148\}\).*/\1/
4793 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4798 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4805 s/\(.\{148\}\).*/\1/
4807 s/["\\]/\\&/g; s/^/"/; s/$/"/
4811 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4816 ' <conf$$subs.awk | sed '
4821 ' >>$CONFIG_STATUS || ac_write_fail=1
4822 rm -f conf$$subs.awk
4823 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4825 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4826 for (key in S) S_is_set[key] = 1
4832 nfields = split(line, field, "@")
4834 len = length(field[1])
4835 for (i = 2; i < nfields; i++) {
4837 keylen = length(key)
4838 if (S_is_set[key]) {
4840 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4841 len += length(value) + length(field[++i])
4852 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4853 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4854 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4857 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4858 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4861 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4862 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4863 # trailing colons and then remove the whole line if VPATH becomes empty
4864 # (actually we leave an empty line to preserve line numbers).
4865 if test "x$srcdir" = x.; then
4866 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4870 s/^\([^=]*=[ ]*\):*/\1/
4876 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4877 fi # test -n "$CONFIG_FILES"
4879 # Set up the scripts for CONFIG_HEADERS section.
4880 # No need to generate them if there are no CONFIG_HEADERS.
4881 # This happens for instance with `./config.status Makefile'.
4882 if test -n "$CONFIG_HEADERS"; then
4883 cat >"$tmp/defines.awk" <<\_ACAWK ||
4887 # Transform confdefs.h into an awk script `defines.awk', embedded as
4888 # here-document in config.status, that substitutes the proper values into
4889 # config.h.in to produce config.h.
4891 # Create a delimiter string that does not exist in confdefs.h, to ease
4892 # handling of long lines.
4894 for ac_last_try in false false :; do
4895 ac_t=`sed -n "/$ac_delim/p" confdefs.h`
4896 if test -z "$ac_t"; then
4898 elif $ac_last_try; then
4899 as_fn_error "could not make $CONFIG_HEADERS" "$LINENO" 5
4901 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4905 # For the awk script, D is an array of macro values keyed by name,
4906 # likewise P contains macro parameters if any. Preserve backslash
4907 # newline sequences.
4909 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4911 s/.\{148\}/&'"$ac_delim"'/g
4914 s/^[ ]*#[ ]*define[ ][ ]*/ /
4921 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4923 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4927 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4928 D["\1"]=" \3\\\\\\n"\\/p
4930 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4935 s/.\{148\}/&'"$ac_delim"'/g
4940 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4943 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4945 ' <confdefs.h | sed '
4946 s/'"$ac_delim"'/"\\\
4947 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4949 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4950 for (key in D) D_is_set[key] = 1
4953 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4955 split(line, arg, " ")
4956 if (arg[1] == "#") {
4960 defundef = substr(arg[1], 2)
4963 split(mac1, mac2, "(") #)
4965 prefix = substr(line, 1, index(line, defundef) - 1)
4966 if (D_is_set[macro]) {
4967 # Preserve the white space surrounding the "#".
4968 print prefix "define", macro P[macro] D[macro]
4971 # Replace #undef with comments. This is necessary, for example,
4972 # in the case of _POSIX_SOURCE, which is predefined and required
4973 # on some systems where configure will not decide to define it.
4974 if (defundef == "undef") {
4975 print "/*", prefix defundef, macro, "*/"
4983 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4984 as_fn_error "could not setup config headers machinery" "$LINENO" 5
4985 fi # test -n "$CONFIG_HEADERS"
4988 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4993 :[FHLC]) ac_mode=$ac_tag; continue;;
4995 case $ac_mode$ac_tag in
4997 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4998 :[FH]-) ac_tag=-:-;;
4999 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
5016 -) ac_f="$tmp/stdin";;
5017 *) # Look for the file first in the build tree, then in the source tree
5018 # (if the path is not absolute). The absolute path cannot be DOS-style,
5019 # because $ac_f cannot contain `:'.
5023 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
5025 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
5027 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
5028 as_fn_append ac_file_inputs " '$ac_f'"
5031 # Let's still pretend it is `configure' which instantiates (i.e., don't
5032 # use $as_me), people would be surprised to read:
5033 # /* config.h. Generated by config.status. */
5034 configure_input='Generated from '`
5035 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
5037 if test x"$ac_file" != x-; then
5038 configure_input="$ac_file. $configure_input"
5039 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
5040 $as_echo "$as_me: creating $ac_file" >&6;}
5042 # Neutralize special characters interpreted by sed in replacement strings.
5043 case $configure_input in #(
5044 *\&* | *\|* | *\\* )
5045 ac_sed_conf_input=`$as_echo "$configure_input" |
5046 sed 's/[\\\\&|]/\\\\&/g'`;; #(
5047 *) ac_sed_conf_input=$configure_input;;
5051 *:-:* | *:-) cat >"$tmp/stdin" \
5052 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
5057 ac_dir=`$as_dirname -- "$ac_file" ||
5058 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
5059 X"$ac_file" : 'X\(//\)[^/]' \| \
5060 X"$ac_file" : 'X\(//\)$' \| \
5061 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
5062 $as_echo X"$ac_file" |
5063 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
5080 as_dir="$ac_dir"; as_fn_mkdir_p
5084 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
5086 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
5087 # A ".." for each directory in $ac_dir_suffix.
5088 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
5089 case $ac_top_builddir_sub in
5090 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
5091 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
5094 ac_abs_top_builddir=$ac_pwd
5095 ac_abs_builddir=$ac_pwd$ac_dir_suffix
5096 # for backward compatibility:
5097 ac_top_builddir=$ac_top_build_prefix
5100 .) # We are building in place.
5102 ac_top_srcdir=$ac_top_builddir_sub
5103 ac_abs_top_srcdir=$ac_pwd ;;
5104 [\\/]* | ?:[\\/]* ) # Absolute name.
5105 ac_srcdir=$srcdir$ac_dir_suffix;
5106 ac_top_srcdir=$srcdir
5107 ac_abs_top_srcdir=$srcdir ;;
5109 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
5110 ac_top_srcdir=$ac_top_build_prefix$srcdir
5111 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
5113 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
5124 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5125 # If the template does not know about datarootdir, expand it.
5126 # FIXME: This hack should be removed a few years after 2.60.
5127 ac_datarootdir_hack=; ac_datarootdir_seen=
5138 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
5139 *datarootdir*) ac_datarootdir_seen=yes;;
5140 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
5141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
5142 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
5144 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5145 ac_datarootdir_hack='
5146 s&@datadir@&$datadir&g
5147 s&@docdir@&$docdir&g
5148 s&@infodir@&$infodir&g
5149 s&@localedir@&$localedir&g
5150 s&@mandir@&$mandir&g
5151 s&\\\${datarootdir}&$datarootdir&g' ;;
5155 # Neutralize VPATH when `$srcdir' = `.'.
5156 # Shell code in configure.ac might set extrasub.
5157 # FIXME: do we really want to maintain this feature?
5158 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
5159 ac_sed_extra="$ac_vpsub
5162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
5164 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
5165 s|@configure_input@|$ac_sed_conf_input|;t t
5166 s&@top_builddir@&$ac_top_builddir_sub&;t t
5167 s&@top_build_prefix@&$ac_top_build_prefix&;t t
5168 s&@srcdir@&$ac_srcdir&;t t
5169 s&@abs_srcdir@&$ac_abs_srcdir&;t t
5170 s&@top_srcdir@&$ac_top_srcdir&;t t
5171 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
5172 s&@builddir@&$ac_builddir&;t t
5173 s&@abs_builddir@&$ac_abs_builddir&;t t
5174 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
5175 $ac_datarootdir_hack
5177 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
5178 || as_fn_error "could not create $ac_file" "$LINENO" 5
5180 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
5181 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
5182 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
5183 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5184 which seems to be undefined. Please make sure it is defined." >&5
5185 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
5186 which seems to be undefined. Please make sure it is defined." >&2;}
5190 -) cat "$tmp/out" && rm -f "$tmp/out";;
5191 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
5193 || as_fn_error "could not create $ac_file" "$LINENO" 5
5199 if test x"$ac_file" != x-; then
5201 $as_echo "/* $configure_input */" \
5202 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
5203 } >"$tmp/config.h" \
5204 || as_fn_error "could not create $ac_file" "$LINENO" 5
5205 if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
5207 $as_echo "$as_me: $ac_file is unchanged" >&6;}
5210 mv "$tmp/config.h" "$ac_file" \
5211 || as_fn_error "could not create $ac_file" "$LINENO" 5
5214 $as_echo "/* $configure_input */" \
5215 && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
5216 || as_fn_error "could not create -" "$LINENO" 5
5228 ac_clean_files=$ac_clean_files_save
5230 test $ac_write_fail = 0 ||
5231 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
5234 # configure is writing to config.log, and then calls config.status.
5235 # config.status does its own redirection, appending to config.log.
5236 # Unfortunately, on DOS this fails, as config.log is still kept open
5237 # by configure, so config.status won't be able to write to it; its
5238 # output is simply discarded. So we exec the FD to /dev/null,
5239 # effectively closing config.log, so it can be properly (re)opened and
5240 # appended to by config.status. When coming back to configure, we
5241 # need to make the FD available again.
5242 if test "$no_create" != yes; then
5244 ac_config_status_args=
5245 test "$silent" = yes &&
5246 ac_config_status_args="$ac_config_status_args --quiet"
5248 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5250 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5251 # would make configure fail if this is the last instruction.
5252 $ac_cs_success || as_fn_exit $?
5254 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5255 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5256 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}