2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
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.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1"
200 if (eval "$as_required") 2>/dev/null; then :
205 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
210 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
213 test -z "$as_dir" && as_dir=.
217 for as_base in sh bash ksh sh5; do
218 # Try only shells that exist, to save several forks.
219 as_shell=$as_dir/$as_base
220 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
221 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
222 CONFIG_SHELL=$as_shell as_have_required=yes
223 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
231 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
233 CONFIG_SHELL=$SHELL as_have_required=yes
238 if test "x$CONFIG_SHELL" != x; then :
240 # We cannot yet assume a decent shell, so we have to provide a
241 # neutralization value for shells without unset; and this also
242 # works around shells that cannot unset nonexistent variables.
243 # Preserve -v and -x to the replacement shell.
246 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
248 *v*x* | *x*v* ) as_opts=-vx ;;
253 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
254 # Admittedly, this is quite paranoid, since all the known shells bail
255 # out after a failed `exec'.
256 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
260 if test x$as_have_required = xno; then :
261 $as_echo "$0: This script requires a shell more modern than all"
262 $as_echo "$0: the shells that I found on your system."
263 if test x${ZSH_VERSION+set} = xset ; then
264 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
265 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
267 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
268 $0: including any error possibly output before this
269 $0: message. Then install a modern shell, or manually run
270 $0: the script under such a shell if you do have one."
276 SHELL=${CONFIG_SHELL-/bin/sh}
278 # Unset more variables known to interfere with behavior of common tools.
279 CLICOLOR_FORCE= GREP_OPTIONS=
280 unset CLICOLOR_FORCE GREP_OPTIONS
282 ## --------------------- ##
283 ## M4sh Shell Functions. ##
284 ## --------------------- ##
287 # Portably unset VAR.
290 { eval $1=; unset $1;}
294 # as_fn_set_status STATUS
295 # -----------------------
296 # Set $? to STATUS, without forking.
304 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
314 # Create "$as_dir" as a directory, including parents if necessary.
319 -*) as_dir=./$as_dir;;
321 test -d "$as_dir" || eval $as_mkdir_p || {
325 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
328 as_dirs="'$as_qdir' $as_dirs"
329 as_dir=`$as_dirname -- "$as_dir" ||
330 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
331 X"$as_dir" : 'X\(//\)[^/]' \| \
332 X"$as_dir" : 'X\(//\)$' \| \
333 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
334 $as_echo X"$as_dir" |
335 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
352 test -d "$as_dir" && break
354 test -z "$as_dirs" || eval "mkdir $as_dirs"
355 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
360 # as_fn_executable_p FILE
361 # -----------------------
362 # Test if FILE is an executable regular file.
363 as_fn_executable_p ()
365 test -f "$1" && test -x "$1"
366 } # as_fn_executable_p
367 # as_fn_append VAR VALUE
368 # ----------------------
369 # Append the text in VALUE to the end of the definition contained in VAR. Take
370 # advantage of any shell optimizations that allow amortized linear growth over
371 # repeated appends, instead of the typical quadratic growth present in naive
373 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
374 eval 'as_fn_append ()
387 # Perform arithmetic evaluation on the ARGs, and store the result in the
388 # global $as_val. Take advantage of shells that can avoid forks. The arguments
389 # must be portable across $(()) and expr.
390 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
398 as_val=`expr "$@" || test $? -eq 1`
403 # as_fn_error STATUS ERROR [LINENO LOG_FD]
404 # ----------------------------------------
405 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
406 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
407 # script with STATUS, using 1 if that was 0.
410 as_status=$1; test $as_status -eq 0 && as_status=1
412 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
413 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
415 $as_echo "$as_me: error: $2" >&2
416 as_fn_exit $as_status
419 if expr a : '\(a\)' >/dev/null 2>&1 &&
420 test "X`expr 00001 : '.*\(...\)'`" = X001; then
426 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
432 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
438 as_me=`$as_basename -- "$0" ||
439 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
440 X"$0" : 'X\(//\)$' \| \
441 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
443 sed '/^.*\/\([^/][^/]*\)\/*$/{
457 # Avoid depending upon Character Ranges.
458 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
459 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
460 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
461 as_cr_digits='0123456789'
462 as_cr_alnum=$as_cr_Letters$as_cr_digits
465 as_lineno_1=$LINENO as_lineno_1a=$LINENO
466 as_lineno_2=$LINENO as_lineno_2a=$LINENO
467 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
468 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
469 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
481 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 chmod +x "$as_me.lineno" ||
486 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
488 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
489 # already done that, so ensure we don't try to do so again and fall
490 # in an infinite loop. This has already happened in practice.
491 _as_can_reexec=no; export _as_can_reexec
492 # Don't try to exec as it changes $[0], causing all sort of problems
493 # (the dirname of $[0] is not the place where we might find the
494 # original and so on. Autoconf is especially sensitive to this).
496 # Exit status is that of the last command.
500 ECHO_C= ECHO_N= ECHO_T=
501 case `echo -n x` in #(((((
503 case `echo 'xy\c'` in
504 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
506 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
513 rm -f conf$$ conf$$.exe conf$$.file
514 if test -d conf$$.dir; then
515 rm -f conf$$.dir/conf$$.file
518 mkdir conf$$.dir 2>/dev/null
520 if (echo >conf$$.file) 2>/dev/null; then
521 if ln -s conf$$.file conf$$ 2>/dev/null; then
523 # ... but there are two gotchas:
524 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
525 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
526 # In both cases, we have to default to `cp -pR'.
527 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
529 elif ln conf$$.file conf$$ 2>/dev/null; then
537 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
538 rmdir conf$$.dir 2>/dev/null
540 if mkdir -p . 2>/dev/null; then
541 as_mkdir_p='mkdir -p "$as_dir"'
543 test -d ./-p && rmdir ./-p
548 as_executable_p=as_fn_executable_p
550 # Sed expression to map a string onto a valid CPP name.
551 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
553 # Sed expression to map a string onto a valid variable name.
554 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
557 test -n "$DJDIR" || exec 7<&0 </dev/null
561 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
562 # so uname gets run too.
563 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
568 ac_default_prefix=/usr/local
570 ac_config_libobj_dir=.
577 # Identity of this package.
585 ac_unique_file="language.i4"
586 ac_default_prefix=/usr/local
587 ac_subst_vars='LTLIBOBJS
636 program_transform_name
649 enable_option_checking
652 ac_precious_vars='build_alias
663 # Initialize some variables set by options.
665 ac_init_version=false
666 ac_unrecognized_opts=
668 # The variables have the same names as the options, with
669 # dashes changed to underlines.
677 program_transform_name=s,x,x,
685 # Installation directory options.
686 # These are left unexpanded so users can "make install exec_prefix=/foo"
687 # and all the variables that are supposed to be based on exec_prefix
688 # by default will actually change.
689 # Use braces instead of parens because sh, perl, etc. also accept them.
690 # (The list follows the same order as the GNU Coding Standards.)
691 bindir='${exec_prefix}/bin'
692 sbindir='${exec_prefix}/sbin'
693 libexecdir='${exec_prefix}/libexec'
694 datarootdir='${prefix}/share'
695 datadir='${datarootdir}'
696 sysconfdir='${prefix}/etc'
697 sharedstatedir='${prefix}/com'
698 localstatedir='${prefix}/var'
699 runstatedir='${localstatedir}/run'
700 includedir='${prefix}/include'
701 oldincludedir='/usr/include'
702 docdir='${datarootdir}/doc/${PACKAGE}'
703 infodir='${datarootdir}/info'
708 libdir='${exec_prefix}/lib'
709 localedir='${datarootdir}/locale'
710 mandir='${datarootdir}/man'
716 # If the previous option needs an argument, assign it.
717 if test -n "$ac_prev"; then
718 eval $ac_prev=\$ac_option
724 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
729 # Accept the important Cygnus configure options, so we can diagnose typos.
731 case $ac_dashdash$ac_option in
735 -bindir | --bindir | --bindi | --bind | --bin | --bi)
737 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
740 -build | --build | --buil | --bui | --bu)
741 ac_prev=build_alias ;;
742 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
743 build_alias=$ac_optarg ;;
745 -cache-file | --cache-file | --cache-fil | --cache-fi \
746 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
747 ac_prev=cache_file ;;
748 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
749 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
750 cache_file=$ac_optarg ;;
753 cache_file=config.cache ;;
755 -datadir | --datadir | --datadi | --datad)
757 -datadir=* | --datadir=* | --datadi=* | --datad=*)
758 datadir=$ac_optarg ;;
760 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
761 | --dataroo | --dataro | --datar)
762 ac_prev=datarootdir ;;
763 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
764 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
765 datarootdir=$ac_optarg ;;
767 -disable-* | --disable-*)
768 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
769 # Reject names that are not valid shell variable names.
770 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
771 as_fn_error $? "invalid feature name: $ac_useropt"
772 ac_useropt_orig=$ac_useropt
773 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
774 case $ac_user_opts in
778 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
779 ac_unrecognized_sep=', ';;
781 eval enable_$ac_useropt=no ;;
783 -docdir | --docdir | --docdi | --doc | --do)
785 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
788 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
790 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
793 -enable-* | --enable-*)
794 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
795 # Reject names that are not valid shell variable names.
796 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
797 as_fn_error $? "invalid feature name: $ac_useropt"
798 ac_useropt_orig=$ac_useropt
799 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
800 case $ac_user_opts in
804 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
805 ac_unrecognized_sep=', ';;
807 eval enable_$ac_useropt=\$ac_optarg ;;
809 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
810 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
811 | --exec | --exe | --ex)
812 ac_prev=exec_prefix ;;
813 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
814 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
815 | --exec=* | --exe=* | --ex=*)
816 exec_prefix=$ac_optarg ;;
818 -gas | --gas | --ga | --g)
819 # Obsolete; use --with-gas.
822 -help | --help | --hel | --he | -h)
824 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
825 ac_init_help=recursive ;;
826 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
827 ac_init_help=short ;;
829 -host | --host | --hos | --ho)
830 ac_prev=host_alias ;;
831 -host=* | --host=* | --hos=* | --ho=*)
832 host_alias=$ac_optarg ;;
834 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
836 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
838 htmldir=$ac_optarg ;;
840 -includedir | --includedir | --includedi | --included | --include \
841 | --includ | --inclu | --incl | --inc)
842 ac_prev=includedir ;;
843 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
844 | --includ=* | --inclu=* | --incl=* | --inc=*)
845 includedir=$ac_optarg ;;
847 -infodir | --infodir | --infodi | --infod | --info | --inf)
849 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
850 infodir=$ac_optarg ;;
852 -libdir | --libdir | --libdi | --libd)
854 -libdir=* | --libdir=* | --libdi=* | --libd=*)
857 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
858 | --libexe | --libex | --libe)
859 ac_prev=libexecdir ;;
860 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
861 | --libexe=* | --libex=* | --libe=*)
862 libexecdir=$ac_optarg ;;
864 -localedir | --localedir | --localedi | --localed | --locale)
866 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
867 localedir=$ac_optarg ;;
869 -localstatedir | --localstatedir | --localstatedi | --localstated \
870 | --localstate | --localstat | --localsta | --localst | --locals)
871 ac_prev=localstatedir ;;
872 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
873 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
874 localstatedir=$ac_optarg ;;
876 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
878 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
882 # Obsolete; use --without-fp.
885 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
886 | --no-cr | --no-c | -n)
889 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
890 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
893 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
894 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
895 | --oldin | --oldi | --old | --ol | --o)
896 ac_prev=oldincludedir ;;
897 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
898 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
899 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
900 oldincludedir=$ac_optarg ;;
902 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
904 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
907 -program-prefix | --program-prefix | --program-prefi | --program-pref \
908 | --program-pre | --program-pr | --program-p)
909 ac_prev=program_prefix ;;
910 -program-prefix=* | --program-prefix=* | --program-prefi=* \
911 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
912 program_prefix=$ac_optarg ;;
914 -program-suffix | --program-suffix | --program-suffi | --program-suff \
915 | --program-suf | --program-su | --program-s)
916 ac_prev=program_suffix ;;
917 -program-suffix=* | --program-suffix=* | --program-suffi=* \
918 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
919 program_suffix=$ac_optarg ;;
921 -program-transform-name | --program-transform-name \
922 | --program-transform-nam | --program-transform-na \
923 | --program-transform-n | --program-transform- \
924 | --program-transform | --program-transfor \
925 | --program-transfo | --program-transf \
926 | --program-trans | --program-tran \
927 | --progr-tra | --program-tr | --program-t)
928 ac_prev=program_transform_name ;;
929 -program-transform-name=* | --program-transform-name=* \
930 | --program-transform-nam=* | --program-transform-na=* \
931 | --program-transform-n=* | --program-transform-=* \
932 | --program-transform=* | --program-transfor=* \
933 | --program-transfo=* | --program-transf=* \
934 | --program-trans=* | --program-tran=* \
935 | --progr-tra=* | --program-tr=* | --program-t=*)
936 program_transform_name=$ac_optarg ;;
938 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
940 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
943 -psdir | --psdir | --psdi | --psd | --ps)
945 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
948 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
949 | -silent | --silent | --silen | --sile | --sil)
952 -runstatedir | --runstatedir | --runstatedi | --runstated \
953 | --runstate | --runstat | --runsta | --runst | --runs \
954 | --run | --ru | --r)
955 ac_prev=runstatedir ;;
956 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
957 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
958 | --run=* | --ru=* | --r=*)
959 runstatedir=$ac_optarg ;;
961 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
963 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
965 sbindir=$ac_optarg ;;
967 -sharedstatedir | --sharedstatedir | --sharedstatedi \
968 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
969 | --sharedst | --shareds | --shared | --share | --shar \
971 ac_prev=sharedstatedir ;;
972 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
973 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
974 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
976 sharedstatedir=$ac_optarg ;;
978 -site | --site | --sit)
980 -site=* | --site=* | --sit=*)
983 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
985 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
988 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
989 | --syscon | --sysco | --sysc | --sys | --sy)
990 ac_prev=sysconfdir ;;
991 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
992 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
993 sysconfdir=$ac_optarg ;;
995 -target | --target | --targe | --targ | --tar | --ta | --t)
996 ac_prev=target_alias ;;
997 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
998 target_alias=$ac_optarg ;;
1000 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1003 -version | --version | --versio | --versi | --vers | -V)
1004 ac_init_version=: ;;
1007 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1008 # Reject names that are not valid shell variable names.
1009 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1010 as_fn_error $? "invalid package name: $ac_useropt"
1011 ac_useropt_orig=$ac_useropt
1012 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1013 case $ac_user_opts in
1017 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1018 ac_unrecognized_sep=', ';;
1020 eval with_$ac_useropt=\$ac_optarg ;;
1022 -without-* | --without-*)
1023 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1024 # Reject names that are not valid shell variable names.
1025 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1026 as_fn_error $? "invalid package name: $ac_useropt"
1027 ac_useropt_orig=$ac_useropt
1028 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1029 case $ac_user_opts in
1033 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1034 ac_unrecognized_sep=', ';;
1036 eval with_$ac_useropt=no ;;
1039 # Obsolete; use --with-x.
1042 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1043 | --x-incl | --x-inc | --x-in | --x-i)
1044 ac_prev=x_includes ;;
1045 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1046 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1047 x_includes=$ac_optarg ;;
1049 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1050 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1051 ac_prev=x_libraries ;;
1052 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1053 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1054 x_libraries=$ac_optarg ;;
1056 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1057 Try \`$0 --help' for more information"
1061 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1062 # Reject names that are not valid shell variable names.
1063 case $ac_envvar in #(
1064 '' | [0-9]* | *[!_$as_cr_alnum]* )
1065 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1067 eval $ac_envvar=\$ac_optarg
1068 export $ac_envvar ;;
1071 # FIXME: should be removed in autoconf 3.0.
1072 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1073 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1074 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1075 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1081 if test -n "$ac_prev"; then
1082 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1083 as_fn_error $? "missing argument to $ac_option"
1086 if test -n "$ac_unrecognized_opts"; then
1087 case $enable_option_checking in
1089 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1090 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1094 # Check all directory arguments for consistency.
1095 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1096 datadir sysconfdir sharedstatedir localstatedir includedir \
1097 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1098 libdir localedir mandir runstatedir
1100 eval ac_val=\$$ac_var
1101 # Remove trailing slashes.
1104 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1105 eval $ac_var=\$ac_val;;
1107 # Be sure to have absolute directory names.
1109 [\\/$]* | ?:[\\/]* ) continue;;
1110 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1112 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1115 # There might be people who depend on the old broken behavior: `$host'
1116 # used to hold the argument of --host etc.
1117 # FIXME: To remove some day.
1120 target=$target_alias
1122 # FIXME: To remove some day.
1123 if test "x$host_alias" != x; then
1124 if test "x$build_alias" = x; then
1125 cross_compiling=maybe
1126 elif test "x$build_alias" != "x$host_alias"; then
1132 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1134 test "$silent" = yes && exec 6>/dev/null
1137 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1138 ac_ls_di=`ls -di .` &&
1139 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1140 as_fn_error $? "working directory cannot be determined"
1141 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1142 as_fn_error $? "pwd does not report name of working directory"
1145 # Find the source files, if location was not specified.
1146 if test -z "$srcdir"; then
1147 ac_srcdir_defaulted=yes
1148 # Try the directory containing this script, then the parent directory.
1149 ac_confdir=`$as_dirname -- "$as_myself" ||
1150 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1151 X"$as_myself" : 'X\(//\)[^/]' \| \
1152 X"$as_myself" : 'X\(//\)$' \| \
1153 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1154 $as_echo X"$as_myself" |
1155 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1173 if test ! -r "$srcdir/$ac_unique_file"; then
1177 ac_srcdir_defaulted=no
1179 if test ! -r "$srcdir/$ac_unique_file"; then
1180 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1181 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1183 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1185 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1187 # When building in place, set srcdir=.
1188 if test "$ac_abs_confdir" = "$ac_pwd"; then
1191 # Remove unnecessary trailing slashes from srcdir.
1192 # Double slashes in file names in object file debugging info
1193 # mess up M-x gdb in Emacs.
1195 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1197 for ac_var in $ac_precious_vars; do
1198 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1199 eval ac_env_${ac_var}_value=\$${ac_var}
1200 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1201 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1205 # Report the --help message.
1207 if test "$ac_init_help" = "long"; then
1208 # Omit some internal or obsolete options to make the list less imposing.
1209 # This message is too long to be a string in the A/UX 3.1 sh.
1211 \`configure' configures this package to adapt to many kinds of systems.
1213 Usage: $0 [OPTION]... [VAR=VALUE]...
1215 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1216 VAR=VALUE. See below for descriptions of some of the useful variables.
1218 Defaults for the options are specified in brackets.
1221 -h, --help display this help and exit
1222 --help=short display options specific to this package
1223 --help=recursive display the short help of all the included packages
1224 -V, --version display version information and exit
1225 -q, --quiet, --silent do not print \`checking ...' messages
1226 --cache-file=FILE cache test results in FILE [disabled]
1227 -C, --config-cache alias for \`--cache-file=config.cache'
1228 -n, --no-create do not create output files
1229 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1231 Installation directories:
1232 --prefix=PREFIX install architecture-independent files in PREFIX
1233 [$ac_default_prefix]
1234 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1237 By default, \`make install' will install all the files in
1238 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1239 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1240 for instance \`--prefix=\$HOME'.
1242 For better control, use the options below.
1244 Fine tuning of the installation directories:
1245 --bindir=DIR user executables [EPREFIX/bin]
1246 --sbindir=DIR system admin executables [EPREFIX/sbin]
1247 --libexecdir=DIR program executables [EPREFIX/libexec]
1248 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1249 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1250 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1251 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1252 --libdir=DIR object code libraries [EPREFIX/lib]
1253 --includedir=DIR C header files [PREFIX/include]
1254 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1255 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1256 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1257 --infodir=DIR info documentation [DATAROOTDIR/info]
1258 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1259 --mandir=DIR man documentation [DATAROOTDIR/man]
1260 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1261 --htmldir=DIR html documentation [DOCDIR]
1262 --dvidir=DIR dvi documentation [DOCDIR]
1263 --pdfdir=DIR pdf documentation [DOCDIR]
1264 --psdir=DIR ps documentation [DOCDIR]
1271 if test -n "$ac_init_help"; then
1276 --disable-option-checking ignore unrecognized --enable/--with options
1277 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1278 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1279 --enable-debug build debugging version
1281 Some influential environment variables:
1282 CC C compiler command
1283 CFLAGS C compiler flags
1284 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1285 nonstandard directory <lib dir>
1286 LIBS libraries to pass to the linker, e.g. -l<library>
1287 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1288 you have headers in a nonstandard directory <include dir>
1291 Use these variables to override the choices made by `configure' or to help
1292 it to find libraries and programs with nonstandard names/locations.
1294 Report bugs to the package provider.
1299 if test "$ac_init_help" = "recursive"; then
1300 # If there are subdirs, report their specific --help.
1301 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1302 test -d "$ac_dir" ||
1303 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1308 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1310 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1311 # A ".." for each directory in $ac_dir_suffix.
1312 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1313 case $ac_top_builddir_sub in
1314 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1315 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1318 ac_abs_top_builddir=$ac_pwd
1319 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1320 # for backward compatibility:
1321 ac_top_builddir=$ac_top_build_prefix
1324 .) # We are building in place.
1326 ac_top_srcdir=$ac_top_builddir_sub
1327 ac_abs_top_srcdir=$ac_pwd ;;
1328 [\\/]* | ?:[\\/]* ) # Absolute name.
1329 ac_srcdir=$srcdir$ac_dir_suffix;
1330 ac_top_srcdir=$srcdir
1331 ac_abs_top_srcdir=$srcdir ;;
1333 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1334 ac_top_srcdir=$ac_top_build_prefix$srcdir
1335 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1337 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1339 cd "$ac_dir" || { ac_status=$?; continue; }
1340 # Check for guested configure.
1341 if test -f "$ac_srcdir/configure.gnu"; then
1343 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1344 elif test -f "$ac_srcdir/configure"; then
1346 $SHELL "$ac_srcdir/configure" --help=recursive
1348 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1350 cd "$ac_pwd" || { ac_status=$?; break; }
1354 test -n "$ac_init_help" && exit $ac_status
1355 if $ac_init_version; then
1358 generated by GNU Autoconf 2.69
1360 Copyright (C) 2012 Free Software Foundation, Inc.
1361 This configure script is free software; the Free Software Foundation
1362 gives unlimited permission to copy, distribute and modify it.
1367 ## ------------------------ ##
1368 ## Autoconf initialization. ##
1369 ## ------------------------ ##
1371 # ac_fn_c_try_compile LINENO
1372 # --------------------------
1373 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1374 ac_fn_c_try_compile ()
1376 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1377 rm -f conftest.$ac_objext
1378 if { { ac_try="$ac_compile"
1380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1381 *) ac_try_echo=$ac_try;;
1383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1384 $as_echo "$ac_try_echo"; } >&5
1385 (eval "$ac_compile") 2>conftest.err
1387 if test -s conftest.err; then
1388 grep -v '^ *+' conftest.err >conftest.er1
1389 cat conftest.er1 >&5
1390 mv -f conftest.er1 conftest.err
1392 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1393 test $ac_status = 0; } && {
1394 test -z "$ac_c_werror_flag" ||
1395 test ! -s conftest.err
1396 } && test -s conftest.$ac_objext; then :
1399 $as_echo "$as_me: failed program was:" >&5
1400 sed 's/^/| /' conftest.$ac_ext >&5
1404 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1405 as_fn_set_status $ac_retval
1407 } # ac_fn_c_try_compile
1409 # ac_fn_c_try_cpp LINENO
1410 # ----------------------
1411 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1414 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1415 if { { ac_try="$ac_cpp conftest.$ac_ext"
1417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1418 *) ac_try_echo=$ac_try;;
1420 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1421 $as_echo "$ac_try_echo"; } >&5
1422 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1424 if test -s conftest.err; then
1425 grep -v '^ *+' conftest.err >conftest.er1
1426 cat conftest.er1 >&5
1427 mv -f conftest.er1 conftest.err
1429 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1430 test $ac_status = 0; } > conftest.i && {
1431 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1432 test ! -s conftest.err
1436 $as_echo "$as_me: failed program was:" >&5
1437 sed 's/^/| /' conftest.$ac_ext >&5
1441 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1442 as_fn_set_status $ac_retval
1446 # ac_fn_c_try_link LINENO
1447 # -----------------------
1448 # Try to link conftest.$ac_ext, and return whether this succeeded.
1451 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1452 rm -f conftest.$ac_objext conftest$ac_exeext
1453 if { { ac_try="$ac_link"
1455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456 *) ac_try_echo=$ac_try;;
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460 (eval "$ac_link") 2>conftest.err
1462 if test -s conftest.err; then
1463 grep -v '^ *+' conftest.err >conftest.er1
1464 cat conftest.er1 >&5
1465 mv -f conftest.er1 conftest.err
1467 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1468 test $ac_status = 0; } && {
1469 test -z "$ac_c_werror_flag" ||
1470 test ! -s conftest.err
1471 } && test -s conftest$ac_exeext && {
1472 test "$cross_compiling" = yes ||
1473 test -x conftest$ac_exeext
1477 $as_echo "$as_me: failed program was:" >&5
1478 sed 's/^/| /' conftest.$ac_ext >&5
1482 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1483 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1484 # interfere with the next link command; also delete a directory that is
1485 # left behind by Apple's compiler. We do this before executing the actions.
1486 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1487 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1488 as_fn_set_status $ac_retval
1490 } # ac_fn_c_try_link
1492 # ac_fn_c_check_func LINENO FUNC VAR
1493 # ----------------------------------
1494 # Tests whether FUNC exists, setting the cache variable VAR accordingly
1495 ac_fn_c_check_func ()
1497 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1499 $as_echo_n "checking for $2... " >&6; }
1500 if eval \${$3+:} false; then :
1501 $as_echo_n "(cached) " >&6
1503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1504 /* end confdefs.h. */
1505 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
1506 For example, HP-UX 11i <limits.h> declares gettimeofday. */
1507 #define $2 innocuous_$2
1509 /* System header to define __stub macros and hopefully few prototypes,
1510 which can conflict with char $2 (); below.
1511 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
1512 <limits.h> exists even on freestanding compilers. */
1515 # include <limits.h>
1517 # include <assert.h>
1522 /* Override any GCC internal prototype to avoid an error.
1523 Use char because int might match the return type of a GCC
1524 builtin and then its argument prototype would still apply. */
1529 /* The GNU C library defines this for functions which it implements
1530 to always fail with ENOSYS. Some functions are actually named
1531 something starting with __ and the normal name is an alias. */
1532 #if defined __stub_$2 || defined __stub___$2
1544 if ac_fn_c_try_link "$LINENO"; then :
1549 rm -f core conftest.err conftest.$ac_objext \
1550 conftest$ac_exeext conftest.$ac_ext
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1554 $as_echo "$ac_res" >&6; }
1555 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1557 } # ac_fn_c_check_func
1558 cat >config.log <<_ACEOF
1559 This file contains any messages produced by compilers while
1560 running configure, to aid debugging if configure makes a mistake.
1562 It was created by $as_me, which was
1563 generated by GNU Autoconf 2.69. Invocation command line was
1575 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1576 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1577 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1578 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1579 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1581 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1582 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1584 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1585 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1586 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1587 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1588 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1589 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1590 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1594 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1598 test -z "$as_dir" && as_dir=.
1599 $as_echo "PATH: $as_dir"
1615 # Keep a trace of the command line.
1616 # Strip out --no-create and --no-recursion so they do not pile up.
1617 # Strip out --silent because we don't want to record it for future runs.
1618 # Also quote any args containing shell meta-characters.
1619 # Make two passes to allow for proper duplicate-argument suppression.
1623 ac_must_keep_next=false
1629 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1630 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1631 | -silent | --silent | --silen | --sile | --sil)
1634 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1637 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1639 as_fn_append ac_configure_args1 " '$ac_arg'"
1640 if test $ac_must_keep_next = true; then
1641 ac_must_keep_next=false # Got value, back to normal.
1644 *=* | --config-cache | -C | -disable-* | --disable-* \
1645 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1646 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1647 | -with-* | --with-* | -without-* | --without-* | --x)
1648 case "$ac_configure_args0 " in
1649 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1652 -* ) ac_must_keep_next=true ;;
1655 as_fn_append ac_configure_args " '$ac_arg'"
1660 { ac_configure_args0=; unset ac_configure_args0;}
1661 { ac_configure_args1=; unset ac_configure_args1;}
1663 # When interrupted or exit'd, cleanup temporary files, and complete
1664 # config.log. We remove comments because anyway the quotes in there
1665 # would cause problems or look ugly.
1666 # WARNING: Use '\'' to represent an apostrophe within the trap.
1667 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1668 trap 'exit_status=$?
1669 # Save into config.log some information that might help in debugging.
1673 $as_echo "## ---------------- ##
1674 ## Cache variables. ##
1675 ## ---------------- ##"
1677 # The following way of writing the cache mishandles newlines in values,
1679 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1680 eval ac_val=\$$ac_var
1684 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1685 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1688 _ | IFS | as_nl) ;; #(
1689 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1690 *) { eval $ac_var=; unset $ac_var;} ;;
1695 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1696 *${as_nl}ac_space=\ *)
1698 "s/'\''/'\''\\\\'\'''\''/g;
1699 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1702 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1709 $as_echo "## ----------------- ##
1710 ## Output variables. ##
1711 ## ----------------- ##"
1713 for ac_var in $ac_subst_vars
1715 eval ac_val=\$$ac_var
1717 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1719 $as_echo "$ac_var='\''$ac_val'\''"
1723 if test -n "$ac_subst_files"; then
1724 $as_echo "## ------------------- ##
1725 ## File substitutions. ##
1726 ## ------------------- ##"
1728 for ac_var in $ac_subst_files
1730 eval ac_val=\$$ac_var
1732 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1734 $as_echo "$ac_var='\''$ac_val'\''"
1739 if test -s confdefs.h; then
1740 $as_echo "## ----------- ##
1747 test "$ac_signal" != 0 &&
1748 $as_echo "$as_me: caught signal $ac_signal"
1749 $as_echo "$as_me: exit $exit_status"
1751 rm -f core *.core core.conftest.* &&
1752 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1755 for ac_signal in 1 2 13 15; do
1756 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1760 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1761 rm -f -r conftest* confdefs.h
1763 $as_echo "/* confdefs.h */" > confdefs.h
1765 # Predefined preprocessor variables.
1767 cat >>confdefs.h <<_ACEOF
1768 #define PACKAGE_NAME "$PACKAGE_NAME"
1771 cat >>confdefs.h <<_ACEOF
1772 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1775 cat >>confdefs.h <<_ACEOF
1776 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1779 cat >>confdefs.h <<_ACEOF
1780 #define PACKAGE_STRING "$PACKAGE_STRING"
1783 cat >>confdefs.h <<_ACEOF
1784 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1787 cat >>confdefs.h <<_ACEOF
1788 #define PACKAGE_URL "$PACKAGE_URL"
1792 # Let the site file select an alternate cache file if it wants to.
1793 # Prefer an explicitly selected file to automatically selected ones.
1796 if test -n "$CONFIG_SITE"; then
1797 # We do not want a PATH search for config.site.
1798 case $CONFIG_SITE in #((
1799 -*) ac_site_file1=./$CONFIG_SITE;;
1800 */*) ac_site_file1=$CONFIG_SITE;;
1801 *) ac_site_file1=./$CONFIG_SITE;;
1803 elif test "x$prefix" != xNONE; then
1804 ac_site_file1=$prefix/share/config.site
1805 ac_site_file2=$prefix/etc/config.site
1807 ac_site_file1=$ac_default_prefix/share/config.site
1808 ac_site_file2=$ac_default_prefix/etc/config.site
1810 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1812 test "x$ac_site_file" = xNONE && continue
1813 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1814 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1815 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1816 sed 's/^/| /' "$ac_site_file" >&5
1818 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1820 as_fn_error $? "failed to load site script $ac_site_file
1821 See \`config.log' for more details" "$LINENO" 5; }
1825 if test -r "$cache_file"; then
1826 # Some versions of bash will fail to source /dev/null (special files
1827 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1828 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1829 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1830 $as_echo "$as_me: loading cache $cache_file" >&6;}
1832 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1833 *) . "./$cache_file";;
1837 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1838 $as_echo "$as_me: creating cache $cache_file" >&6;}
1842 # Check that the precious variables saved in the cache have kept the same
1844 ac_cache_corrupted=false
1845 for ac_var in $ac_precious_vars; do
1846 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1847 eval ac_new_set=\$ac_env_${ac_var}_set
1848 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1849 eval ac_new_val=\$ac_env_${ac_var}_value
1850 case $ac_old_set,$ac_new_set in
1852 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1853 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1854 ac_cache_corrupted=: ;;
1856 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1857 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1858 ac_cache_corrupted=: ;;
1861 if test "x$ac_old_val" != "x$ac_new_val"; then
1862 # differences in whitespace do not lead to failure.
1863 ac_old_val_w=`echo x $ac_old_val`
1864 ac_new_val_w=`echo x $ac_new_val`
1865 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1867 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1868 ac_cache_corrupted=:
1870 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1871 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1872 eval $ac_var=\$ac_old_val
1874 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1875 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1876 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1877 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1880 # Pass precious variables to config.status.
1881 if test "$ac_new_set" = set; then
1883 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1884 *) ac_arg=$ac_var=$ac_new_val ;;
1886 case " $ac_configure_args " in
1887 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1888 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1892 if $ac_cache_corrupted; then
1893 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1895 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1896 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1897 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1899 ## -------------------- ##
1900 ## Main body of script. ##
1901 ## -------------------- ##
1904 ac_cpp='$CPP $CPPFLAGS'
1905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1910 ac_config_headers="$ac_config_headers config.h"
1920 # Check whether --enable-debug was given.
1921 if test "${enable_debug+set}" = set; then :
1922 enableval=$enable_debug;
1923 if test "x$enable_debug" = xyes; then
1924 DEBUGDEFS="-DDEBUG -DVARDIR='\"$crdir/vd\"' -DSYSTEMCONFIGDIR='\"$crdir/slash-etc\"' -DSERVICEUSERDIR='\"$crdir/tilde\"'"
1926 echo will build debugging version
1927 elif test "x$enable_debug" != xno; then
1928 as_fn_error $? "--enable-debug does not allow any arguments except 'yes' and 'no'" "$LINENO" 5
1935 ac_cpp='$CPP $CPPFLAGS'
1936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1939 if test -n "$ac_tool_prefix"; then
1940 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
1941 set dummy ${ac_tool_prefix}gcc; ac_word=$2
1942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1943 $as_echo_n "checking for $ac_word... " >&6; }
1944 if ${ac_cv_prog_CC+:} false; then :
1945 $as_echo_n "(cached) " >&6
1947 if test -n "$CC"; then
1948 ac_cv_prog_CC="$CC" # Let the user override the test.
1950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1954 test -z "$as_dir" && as_dir=.
1955 for ac_exec_ext in '' $ac_executable_extensions; do
1956 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1957 ac_cv_prog_CC="${ac_tool_prefix}gcc"
1958 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1968 if test -n "$CC"; then
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
1970 $as_echo "$CC" >&6; }
1972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1973 $as_echo "no" >&6; }
1978 if test -z "$ac_cv_prog_CC"; then
1980 # Extract the first word of "gcc", so it can be a program name with args.
1981 set dummy gcc; ac_word=$2
1982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1983 $as_echo_n "checking for $ac_word... " >&6; }
1984 if ${ac_cv_prog_ac_ct_CC+:} false; then :
1985 $as_echo_n "(cached) " >&6
1987 if test -n "$ac_ct_CC"; then
1988 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
1990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1994 test -z "$as_dir" && as_dir=.
1995 for ac_exec_ext in '' $ac_executable_extensions; do
1996 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
1997 ac_cv_prog_ac_ct_CC="gcc"
1998 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2007 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2008 if test -n "$ac_ct_CC"; then
2009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2010 $as_echo "$ac_ct_CC" >&6; }
2012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2013 $as_echo "no" >&6; }
2016 if test "x$ac_ct_CC" = x; then
2019 case $cross_compiling:$ac_tool_warned in
2021 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2022 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2023 ac_tool_warned=yes ;;
2031 if test -z "$CC"; then
2032 if test -n "$ac_tool_prefix"; then
2033 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2034 set dummy ${ac_tool_prefix}cc; ac_word=$2
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2036 $as_echo_n "checking for $ac_word... " >&6; }
2037 if ${ac_cv_prog_CC+:} false; then :
2038 $as_echo_n "(cached) " >&6
2040 if test -n "$CC"; then
2041 ac_cv_prog_CC="$CC" # Let the user override the test.
2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2047 test -z "$as_dir" && as_dir=.
2048 for ac_exec_ext in '' $ac_executable_extensions; do
2049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2050 ac_cv_prog_CC="${ac_tool_prefix}cc"
2051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2061 if test -n "$CC"; then
2062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2063 $as_echo "$CC" >&6; }
2065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2066 $as_echo "no" >&6; }
2072 if test -z "$CC"; then
2073 # Extract the first word of "cc", so it can be a program name with args.
2074 set dummy cc; ac_word=$2
2075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2076 $as_echo_n "checking for $ac_word... " >&6; }
2077 if ${ac_cv_prog_CC+:} false; then :
2078 $as_echo_n "(cached) " >&6
2080 if test -n "$CC"; then
2081 ac_cv_prog_CC="$CC" # Let the user override the test.
2084 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2088 test -z "$as_dir" && as_dir=.
2089 for ac_exec_ext in '' $ac_executable_extensions; do
2090 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2091 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2092 ac_prog_rejected=yes
2096 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2103 if test $ac_prog_rejected = yes; then
2104 # We found a bogon in the path, so make sure we never use it.
2105 set dummy $ac_cv_prog_CC
2107 if test $# != 0; then
2108 # We chose a different compiler from the bogus one.
2109 # However, it has the same basename, so the bogon will be chosen
2110 # first if we set CC to just the basename; use the full file name.
2112 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2118 if test -n "$CC"; then
2119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2120 $as_echo "$CC" >&6; }
2122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2123 $as_echo "no" >&6; }
2128 if test -z "$CC"; then
2129 if test -n "$ac_tool_prefix"; then
2130 for ac_prog in cl.exe
2132 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2133 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2135 $as_echo_n "checking for $ac_word... " >&6; }
2136 if ${ac_cv_prog_CC+:} false; then :
2137 $as_echo_n "(cached) " >&6
2139 if test -n "$CC"; then
2140 ac_cv_prog_CC="$CC" # Let the user override the test.
2142 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2146 test -z "$as_dir" && as_dir=.
2147 for ac_exec_ext in '' $ac_executable_extensions; do
2148 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2149 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2150 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2160 if test -n "$CC"; then
2161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2162 $as_echo "$CC" >&6; }
2164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2165 $as_echo "no" >&6; }
2169 test -n "$CC" && break
2172 if test -z "$CC"; then
2174 for ac_prog in cl.exe
2176 # Extract the first word of "$ac_prog", so it can be a program name with args.
2177 set dummy $ac_prog; ac_word=$2
2178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2179 $as_echo_n "checking for $ac_word... " >&6; }
2180 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2181 $as_echo_n "(cached) " >&6
2183 if test -n "$ac_ct_CC"; then
2184 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2186 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2190 test -z "$as_dir" && as_dir=.
2191 for ac_exec_ext in '' $ac_executable_extensions; do
2192 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2193 ac_cv_prog_ac_ct_CC="$ac_prog"
2194 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2203 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2204 if test -n "$ac_ct_CC"; then
2205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2206 $as_echo "$ac_ct_CC" >&6; }
2208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2209 $as_echo "no" >&6; }
2213 test -n "$ac_ct_CC" && break
2216 if test "x$ac_ct_CC" = x; then
2219 case $cross_compiling:$ac_tool_warned in
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2222 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2223 ac_tool_warned=yes ;;
2232 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2233 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2234 as_fn_error $? "no acceptable C compiler found in \$PATH
2235 See \`config.log' for more details" "$LINENO" 5; }
2237 # Provide some information about the compiler.
2238 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2241 for ac_option in --version -v -V -qversion; do
2242 { { ac_try="$ac_compiler $ac_option >&5"
2244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2245 *) ac_try_echo=$ac_try;;
2247 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2248 $as_echo "$ac_try_echo"; } >&5
2249 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2251 if test -s conftest.err; then
2253 ... rest of stderr output deleted ...
2254 10q' conftest.err >conftest.er1
2255 cat conftest.er1 >&5
2257 rm -f conftest.er1 conftest.err
2258 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2259 test $ac_status = 0; }
2262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2263 /* end confdefs.h. */
2273 ac_clean_files_save=$ac_clean_files
2274 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2275 # Try to create an executable without -o first, disregard a.out.
2276 # It will help us diagnose broken compilers, and finding out an intuition
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2279 $as_echo_n "checking whether the C compiler works... " >&6; }
2280 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2282 # The possible output files:
2283 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2286 for ac_file in $ac_files
2289 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2290 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2295 if { { ac_try="$ac_link_default"
2297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2298 *) ac_try_echo=$ac_try;;
2300 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2301 $as_echo "$ac_try_echo"; } >&5
2302 (eval "$ac_link_default") 2>&5
2304 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2305 test $ac_status = 0; }; then :
2306 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2307 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2308 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2309 # so that the user can short-circuit this test for compilers unknown to
2311 for ac_file in $ac_files ''
2313 test -f "$ac_file" || continue
2315 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2318 # We found the default executable, but exeext='' is most
2322 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2324 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2326 # We set ac_cv_exeext here because the later test for it is not
2327 # safe: cross compilers may not add the suffix if given an `-o'
2328 # argument, so we may need to know it at that point already.
2329 # Even if this section looks crufty: it has the advantage of
2336 test "$ac_cv_exeext" = no && ac_cv_exeext=
2341 if test -z "$ac_file"; then :
2342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2343 $as_echo "no" >&6; }
2344 $as_echo "$as_me: failed program was:" >&5
2345 sed 's/^/| /' conftest.$ac_ext >&5
2347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2349 as_fn_error 77 "C compiler cannot create executables
2350 See \`config.log' for more details" "$LINENO" 5; }
2352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2353 $as_echo "yes" >&6; }
2355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2356 $as_echo_n "checking for C compiler default output file name... " >&6; }
2357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2358 $as_echo "$ac_file" >&6; }
2359 ac_exeext=$ac_cv_exeext
2361 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2362 ac_clean_files=$ac_clean_files_save
2363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2364 $as_echo_n "checking for suffix of executables... " >&6; }
2365 if { { ac_try="$ac_link"
2367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2368 *) ac_try_echo=$ac_try;;
2370 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2371 $as_echo "$ac_try_echo"; } >&5
2372 (eval "$ac_link") 2>&5
2374 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2375 test $ac_status = 0; }; then :
2376 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2377 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2378 # work properly (i.e., refer to `conftest.exe'), while it won't with
2380 for ac_file in conftest.exe conftest conftest.*; do
2381 test -f "$ac_file" || continue
2383 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2384 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2390 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2391 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2392 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2393 See \`config.log' for more details" "$LINENO" 5; }
2395 rm -f conftest conftest$ac_cv_exeext
2396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2397 $as_echo "$ac_cv_exeext" >&6; }
2399 rm -f conftest.$ac_ext
2400 EXEEXT=$ac_cv_exeext
2402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2403 /* end confdefs.h. */
2408 FILE *f = fopen ("conftest.out", "w");
2409 return ferror (f) || fclose (f) != 0;
2415 ac_clean_files="$ac_clean_files conftest.out"
2416 # Check that the compiler produces executables we can run. If not, either
2417 # the compiler is broken, or we cross compile.
2418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2419 $as_echo_n "checking whether we are cross compiling... " >&6; }
2420 if test "$cross_compiling" != yes; then
2421 { { ac_try="$ac_link"
2423 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2424 *) ac_try_echo=$ac_try;;
2426 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2427 $as_echo "$ac_try_echo"; } >&5
2428 (eval "$ac_link") 2>&5
2430 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2431 test $ac_status = 0; }
2432 if { ac_try='./conftest$ac_cv_exeext'
2433 { { case "(($ac_try" in
2434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2435 *) ac_try_echo=$ac_try;;
2437 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2438 $as_echo "$ac_try_echo"; } >&5
2439 (eval "$ac_try") 2>&5
2441 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2442 test $ac_status = 0; }; }; then
2445 if test "$cross_compiling" = maybe; then
2448 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2449 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2450 as_fn_error $? "cannot run C compiled programs.
2451 If you meant to cross compile, use \`--host'.
2452 See \`config.log' for more details" "$LINENO" 5; }
2456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2457 $as_echo "$cross_compiling" >&6; }
2459 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2460 ac_clean_files=$ac_clean_files_save
2461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2462 $as_echo_n "checking for suffix of object files... " >&6; }
2463 if ${ac_cv_objext+:} false; then :
2464 $as_echo_n "(cached) " >&6
2466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2467 /* end confdefs.h. */
2477 rm -f conftest.o conftest.obj
2478 if { { ac_try="$ac_compile"
2480 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2481 *) ac_try_echo=$ac_try;;
2483 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2484 $as_echo "$ac_try_echo"; } >&5
2485 (eval "$ac_compile") 2>&5
2487 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2488 test $ac_status = 0; }; then :
2489 for ac_file in conftest.o conftest.obj conftest.*; do
2490 test -f "$ac_file" || continue;
2492 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2493 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2498 $as_echo "$as_me: failed program was:" >&5
2499 sed 's/^/| /' conftest.$ac_ext >&5
2501 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2502 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2503 as_fn_error $? "cannot compute suffix of object files: cannot compile
2504 See \`config.log' for more details" "$LINENO" 5; }
2506 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2509 $as_echo "$ac_cv_objext" >&6; }
2510 OBJEXT=$ac_cv_objext
2512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2513 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2514 if ${ac_cv_c_compiler_gnu+:} false; then :
2515 $as_echo_n "(cached) " >&6
2517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2518 /* end confdefs.h. */
2531 if ac_fn_c_try_compile "$LINENO"; then :
2536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2537 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2541 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2542 if test $ac_compiler_gnu = yes; then
2547 ac_test_CFLAGS=${CFLAGS+set}
2548 ac_save_CFLAGS=$CFLAGS
2549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2550 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2551 if ${ac_cv_prog_cc_g+:} false; then :
2552 $as_echo_n "(cached) " >&6
2554 ac_save_c_werror_flag=$ac_c_werror_flag
2555 ac_c_werror_flag=yes
2558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2559 /* end confdefs.h. */
2569 if ac_fn_c_try_compile "$LINENO"; then :
2573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2574 /* end confdefs.h. */
2584 if ac_fn_c_try_compile "$LINENO"; then :
2587 ac_c_werror_flag=$ac_save_c_werror_flag
2589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2590 /* end confdefs.h. */
2600 if ac_fn_c_try_compile "$LINENO"; then :
2603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 ac_c_werror_flag=$ac_save_c_werror_flag
2610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2611 $as_echo "$ac_cv_prog_cc_g" >&6; }
2612 if test "$ac_test_CFLAGS" = set; then
2613 CFLAGS=$ac_save_CFLAGS
2614 elif test $ac_cv_prog_cc_g = yes; then
2615 if test "$GCC" = yes; then
2621 if test "$GCC" = yes; then
2627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2628 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2629 if ${ac_cv_prog_cc_c89+:} false; then :
2630 $as_echo_n "(cached) " >&6
2632 ac_cv_prog_cc_c89=no
2634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2635 /* end confdefs.h. */
2639 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2640 struct buf { int x; };
2641 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2642 static char *e (p, i)
2648 static char *f (char * (*g) (char **, int), char **p, ...)
2653 s = g (p, va_arg (v,int));
2658 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2659 function prototypes and stuff, but not '\xHH' hex character constants.
2660 These don't provoke an error unfortunately, instead are silently treated
2661 as 'x'. The following induces an error, until -std is added to get
2662 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2663 array size at least. It's necessary to write '\x00'==0 to get something
2664 that's true only with -std. */
2665 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2667 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2668 inside strings and character constants. */
2670 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2672 int test (int i, double x);
2673 struct s1 {int (*f) (int a);};
2674 struct s2 {int (*f) (double a);};
2675 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2681 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2686 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2687 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2689 CC="$ac_save_CC $ac_arg"
2690 if ac_fn_c_try_compile "$LINENO"; then :
2691 ac_cv_prog_cc_c89=$ac_arg
2693 rm -f core conftest.err conftest.$ac_objext
2694 test "x$ac_cv_prog_cc_c89" != "xno" && break
2696 rm -f conftest.$ac_ext
2701 case "x$ac_cv_prog_cc_c89" in
2703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2704 $as_echo "none needed" >&6; } ;;
2706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2707 $as_echo "unsupported" >&6; } ;;
2709 CC="$CC $ac_cv_prog_cc_c89"
2710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2711 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2713 if test "x$ac_cv_prog_cc_c89" != xno; then :
2718 ac_cpp='$CPP $CPPFLAGS'
2719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2724 ac_cpp='$CPP $CPPFLAGS'
2725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
2729 $as_echo_n "checking how to run the C preprocessor... " >&6; }
2730 # On Suns, sometimes $CPP names a directory.
2731 if test -n "$CPP" && test -d "$CPP"; then
2734 if test -z "$CPP"; then
2735 if ${ac_cv_prog_CPP+:} false; then :
2736 $as_echo_n "(cached) " >&6
2738 # Double quotes because CPP needs to be expanded
2739 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
2742 for ac_c_preproc_warn_flag in '' yes
2744 # Use a header file that comes with gcc, so configuring glibc
2745 # with a fresh cross-compiler works.
2746 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2747 # <limits.h> exists even on freestanding compilers.
2748 # On the NeXT, cc -E runs the code through the compiler's parser,
2749 # not just through cpp. "Syntax error" is here to catch this case.
2750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2751 /* end confdefs.h. */
2753 # include <limits.h>
2755 # include <assert.h>
2759 if ac_fn_c_try_cpp "$LINENO"; then :
2762 # Broken: fails on valid input.
2765 rm -f conftest.err conftest.i conftest.$ac_ext
2767 # OK, works on sane cases. Now check whether nonexistent headers
2768 # can be detected and how.
2769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2770 /* end confdefs.h. */
2771 #include <ac_nonexistent.h>
2773 if ac_fn_c_try_cpp "$LINENO"; then :
2774 # Broken: success on invalid input.
2777 # Passes both tests.
2781 rm -f conftest.err conftest.i conftest.$ac_ext
2784 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2785 rm -f conftest.i conftest.err conftest.$ac_ext
2786 if $ac_preproc_ok; then :
2798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
2799 $as_echo "$CPP" >&6; }
2801 for ac_c_preproc_warn_flag in '' yes
2803 # Use a header file that comes with gcc, so configuring glibc
2804 # with a fresh cross-compiler works.
2805 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2806 # <limits.h> exists even on freestanding compilers.
2807 # On the NeXT, cc -E runs the code through the compiler's parser,
2808 # not just through cpp. "Syntax error" is here to catch this case.
2809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2810 /* end confdefs.h. */
2812 # include <limits.h>
2814 # include <assert.h>
2818 if ac_fn_c_try_cpp "$LINENO"; then :
2821 # Broken: fails on valid input.
2824 rm -f conftest.err conftest.i conftest.$ac_ext
2826 # OK, works on sane cases. Now check whether nonexistent headers
2827 # can be detected and how.
2828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2829 /* end confdefs.h. */
2830 #include <ac_nonexistent.h>
2832 if ac_fn_c_try_cpp "$LINENO"; then :
2833 # Broken: success on invalid input.
2836 # Passes both tests.
2840 rm -f conftest.err conftest.i conftest.$ac_ext
2843 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
2844 rm -f conftest.i conftest.err conftest.$ac_ext
2845 if $ac_preproc_ok; then :
2848 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2849 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2850 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
2851 See \`config.log' for more details" "$LINENO" 5; }
2855 ac_cpp='$CPP $CPPFLAGS'
2856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2861 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2862 if test -f "$ac_dir/install-sh"; then
2864 ac_install_sh="$ac_aux_dir/install-sh -c"
2866 elif test -f "$ac_dir/install.sh"; then
2868 ac_install_sh="$ac_aux_dir/install.sh -c"
2870 elif test -f "$ac_dir/shtool"; then
2872 ac_install_sh="$ac_aux_dir/shtool install -c"
2876 if test -z "$ac_aux_dir"; then
2877 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
2880 # These three variables are undocumented and unsupported,
2881 # and are intended to be withdrawn in a future Autoconf release.
2882 # They can cause serious problems if a builder's source tree is in a directory
2883 # whose full name contains unusual characters.
2884 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2885 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2886 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2889 # Find a good install program. We prefer a C program (faster),
2890 # so one script is as good as another. But avoid the broken or
2891 # incompatible versions:
2892 # SysV /etc/install, /usr/sbin/install
2893 # SunOS /usr/etc/install
2894 # IRIX /sbin/install
2896 # AmigaOS /C/install, which installs bootblocks on floppy discs
2897 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
2898 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
2899 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
2900 # OS/2's system install, which has a completely different semantic
2901 # ./install, which can be erroneously created by make from ./install.sh.
2902 # Reject install programs that cannot install multiple files.
2903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
2904 $as_echo_n "checking for a BSD-compatible install... " >&6; }
2905 if test -z "$INSTALL"; then
2906 if ${ac_cv_path_install+:} false; then :
2907 $as_echo_n "(cached) " >&6
2909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2913 test -z "$as_dir" && as_dir=.
2914 # Account for people who put trailing slashes in PATH elements.
2915 case $as_dir/ in #((
2916 ./ | .// | /[cC]/* | \
2917 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
2918 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
2921 # OSF1 and SCO ODT 3.0 have their own names for install.
2922 # Don't use installbsd from OSF since it installs stuff as root
2924 for ac_prog in ginstall scoinst install; do
2925 for ac_exec_ext in '' $ac_executable_extensions; do
2926 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
2927 if test $ac_prog = install &&
2928 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2929 # AIX install. It has an incompatible calling convention.
2931 elif test $ac_prog = install &&
2932 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
2933 # program-specific install script used by HP pwplus--don't use.
2936 rm -rf conftest.one conftest.two conftest.dir
2937 echo one > conftest.one
2938 echo two > conftest.two
2940 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
2941 test -s conftest.one && test -s conftest.two &&
2942 test -s conftest.dir/conftest.one &&
2943 test -s conftest.dir/conftest.two
2945 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
2958 rm -rf conftest.one conftest.two conftest.dir
2961 if test "${ac_cv_path_install+set}" = set; then
2962 INSTALL=$ac_cv_path_install
2964 # As a last resort, use the slow shell script. Don't cache a
2965 # value for INSTALL within a source directory, because that will
2966 # break other packages using the cache if that directory is
2967 # removed, or if the value is a relative name.
2968 INSTALL=$ac_install_sh
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
2972 $as_echo "$INSTALL" >&6; }
2974 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
2975 # It thinks the first close brace ends the variable substitution.
2976 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
2978 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
2980 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
2982 for ac_prog in md5sum md5 gmd5sum
2984 # Extract the first word of "$ac_prog", so it can be a program name with args.
2985 set dummy $ac_prog; ac_word=$2
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2987 $as_echo_n "checking for $ac_word... " >&6; }
2988 if ${ac_cv_prog_MD5SUM_SIMPLE+:} false; then :
2989 $as_echo_n "(cached) " >&6
2991 if test -n "$MD5SUM_SIMPLE"; then
2992 ac_cv_prog_MD5SUM_SIMPLE="$MD5SUM_SIMPLE" # Let the user override the test.
2994 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2998 test -z "$as_dir" && as_dir=.
2999 for ac_exec_ext in '' $ac_executable_extensions; do
3000 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3001 ac_cv_prog_MD5SUM_SIMPLE="$ac_prog"
3002 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3011 MD5SUM_SIMPLE=$ac_cv_prog_MD5SUM_SIMPLE
3012 if test -n "$MD5SUM_SIMPLE"; then
3013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MD5SUM_SIMPLE" >&5
3014 $as_echo "$MD5SUM_SIMPLE" >&6; }
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3017 $as_echo "no" >&6; }
3021 test -n "$MD5SUM_SIMPLE" && break
3025 CFLAGS="$CFLAGS -D_GNU_SOURCE"
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
3029 $as_echo_n "checking for socket in -lsocket... " >&6; }
3030 if ${ac_cv_lib_socket_socket+:} false; then :
3031 $as_echo_n "(cached) " >&6
3033 ac_check_lib_save_LIBS=$LIBS
3034 LIBS="-lsocket $LIBS"
3035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3036 /* end confdefs.h. */
3038 /* Override any GCC internal prototype to avoid an error.
3039 Use char because int might match the return type of a GCC
3040 builtin and then its argument prototype would still apply. */
3053 if ac_fn_c_try_link "$LINENO"; then :
3054 ac_cv_lib_socket_socket=yes
3056 ac_cv_lib_socket_socket=no
3058 rm -f core conftest.err conftest.$ac_objext \
3059 conftest$ac_exeext conftest.$ac_ext
3060 LIBS=$ac_check_lib_save_LIBS
3062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
3063 $as_echo "$ac_cv_lib_socket_socket" >&6; }
3064 if test "x$ac_cv_lib_socket_socket" = xyes; then :
3065 cat >>confdefs.h <<_ACEOF
3066 #define HAVE_LIBSOCKET 1
3069 LIBS="-lsocket $LIBS"
3073 for ac_func in setenv strsignal vsnprintf
3075 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
3076 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
3077 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
3078 cat >>confdefs.h <<_ACEOF
3079 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
3087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
3088 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
3089 if ${ac_cv_path_GREP+:} false; then :
3090 $as_echo_n "(cached) " >&6
3092 if test -z "$GREP"; then
3093 ac_path_GREP_found=false
3094 # Loop through the user's path and test for each of PROGNAME-LIST
3095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3096 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3099 test -z "$as_dir" && as_dir=.
3100 for ac_prog in grep ggrep; do
3101 for ac_exec_ext in '' $ac_executable_extensions; do
3102 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
3103 as_fn_executable_p "$ac_path_GREP" || continue
3104 # Check for GNU ac_path_GREP and select it if it is found.
3105 # Check for GNU $ac_path_GREP
3106 case `"$ac_path_GREP" --version 2>&1` in
3108 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
3111 $as_echo_n 0123456789 >"conftest.in"
3114 cat "conftest.in" "conftest.in" >"conftest.tmp"
3115 mv "conftest.tmp" "conftest.in"
3116 cp "conftest.in" "conftest.nl"
3117 $as_echo 'GREP' >> "conftest.nl"
3118 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3119 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3120 as_fn_arith $ac_count + 1 && ac_count=$as_val
3121 if test $ac_count -gt ${ac_path_GREP_max-0}; then
3122 # Best one so far, save it but keep looking for a better one
3123 ac_cv_path_GREP="$ac_path_GREP"
3124 ac_path_GREP_max=$ac_count
3126 # 10*(2^10) chars as input seems more than enough
3127 test $ac_count -gt 10 && break
3129 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3132 $ac_path_GREP_found && break 3
3137 if test -z "$ac_cv_path_GREP"; then
3138 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3141 ac_cv_path_GREP=$GREP
3145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
3146 $as_echo "$ac_cv_path_GREP" >&6; }
3147 GREP="$ac_cv_path_GREP"
3150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
3151 $as_echo_n "checking for egrep... " >&6; }
3152 if ${ac_cv_path_EGREP+:} false; then :
3153 $as_echo_n "(cached) " >&6
3155 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
3156 then ac_cv_path_EGREP="$GREP -E"
3158 if test -z "$EGREP"; then
3159 ac_path_EGREP_found=false
3160 # Loop through the user's path and test for each of PROGNAME-LIST
3161 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3162 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
3165 test -z "$as_dir" && as_dir=.
3166 for ac_prog in egrep; do
3167 for ac_exec_ext in '' $ac_executable_extensions; do
3168 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
3169 as_fn_executable_p "$ac_path_EGREP" || continue
3170 # Check for GNU ac_path_EGREP and select it if it is found.
3171 # Check for GNU $ac_path_EGREP
3172 case `"$ac_path_EGREP" --version 2>&1` in
3174 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
3177 $as_echo_n 0123456789 >"conftest.in"
3180 cat "conftest.in" "conftest.in" >"conftest.tmp"
3181 mv "conftest.tmp" "conftest.in"
3182 cp "conftest.in" "conftest.nl"
3183 $as_echo 'EGREP' >> "conftest.nl"
3184 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
3185 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
3186 as_fn_arith $ac_count + 1 && ac_count=$as_val
3187 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
3188 # Best one so far, save it but keep looking for a better one
3189 ac_cv_path_EGREP="$ac_path_EGREP"
3190 ac_path_EGREP_max=$ac_count
3192 # 10*(2^10) chars as input seems more than enough
3193 test $ac_count -gt 10 && break
3195 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
3198 $ac_path_EGREP_found && break 3
3203 if test -z "$ac_cv_path_EGREP"; then
3204 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
3207 ac_cv_path_EGREP=$EGREP
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
3213 $as_echo "$ac_cv_path_EGREP" >&6; }
3214 EGREP="$ac_cv_path_EGREP"
3217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
3218 $as_echo_n "checking for EPROTO... " >&6; }
3219 if ${userv_cv_hdr_eproto+:} false; then :
3220 $as_echo_n "(cached) " >&6
3223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3224 /* end confdefs.h. */
3232 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3233 $EGREP "yes" >/dev/null 2>&1; then :
3234 userv_cv_hdr_eproto=yes
3236 userv_cv_hdr_eproto=no
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $userv_cv_hdr_eproto" >&5
3242 $as_echo "$userv_cv_hdr_eproto" >&6; }
3243 if test $userv_cv_hdr_eproto = yes
3245 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
3249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LOG_AUTHPRIV" >&5
3250 $as_echo_n "checking for LOG_AUTHPRIV... " >&6; }
3251 if ${userv_cv_hdr_logauthpriv+:} false; then :
3252 $as_echo_n "(cached) " >&6
3255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3256 /* end confdefs.h. */
3264 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3265 $EGREP "yes" >/dev/null 2>&1; then :
3266 userv_cv_hdr_logauthpriv=yes
3268 userv_cv_hdr_logauthpriv=no
3273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $userv_cv_hdr_logauthpriv" >&5
3274 $as_echo "$userv_cv_hdr_logauthpriv" >&6; }
3275 if test $userv_cv_hdr_logauthpriv = yes
3277 $as_echo "#define HAVE_LOG_AUTHPRIV 1" >>confdefs.h
3281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WCOREDUMP" >&5
3282 $as_echo_n "checking for WCOREDUMP... " >&6; }
3283 if ${userv_cv_hdr_wcoredump+:} false; then :
3284 $as_echo_n "(cached) " >&6
3287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3288 /* end confdefs.h. */
3290 #include <sys/types.h>
3291 #include <sys/wait.h>
3297 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
3298 $EGREP "yes" >/dev/null 2>&1; then :
3299 userv_cv_hdr_wcoredump=yes
3301 userv_cv_hdr_wcoredump=no
3306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $userv_cv_hdr_wcoredump" >&5
3307 $as_echo "$userv_cv_hdr_wcoredump" >&6; }
3308 if test $userv_cv_hdr_wcoredump = yes
3310 $as_echo "#define HAVE_WCOREDUMP 1" >>confdefs.h
3315 if test "${GCC-no}" = yes; then
3324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking your C compiler" >&5
3325 $as_echo_n "checking your C compiler... " >&6; }
3326 if ${dpkg_cv_c_works+:} false; then :
3327 $as_echo_n "(cached) " >&6
3330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3331 /* end confdefs.h. */
3341 if ac_fn_c_try_compile "$LINENO"; then :
3346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3350 if test "x$dpkg_cv_c_works" = xyes; then
3352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: works" >&5
3353 $as_echo "works" >&6; }
3356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: broken" >&5
3357 $as_echo "broken" >&6; }
3358 as_fn_error $? "C compiler is broken" "$LINENO" 5
3363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((,,))" >&5
3364 $as_echo_n "checking __attribute__((,,))... " >&6; }
3365 if ${dpkg_cv_c_attribute_supported+:} false; then :
3366 $as_echo_n "(cached) " >&6
3369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3370 /* end confdefs.h. */
3375 extern int testfunction(int x) __attribute__((,,))
3380 if ac_fn_c_try_compile "$LINENO"; then :
3381 dpkg_cv_c_attribute_supported=yes
3383 dpkg_cv_c_attribute_supported=no
3385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3389 if test "x$dpkg_cv_c_attribute_supported" = xyes; then
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3392 $as_echo "yes" >&6; }
3393 $as_echo "#define HAVE_GNUC25_ATTRIB 1" >>confdefs.h
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((noreturn))" >&5
3397 $as_echo_n "checking __attribute__((noreturn))... " >&6; }
3398 if ${dpkg_cv_c_attribute_noreturn+:} false; then :
3399 $as_echo_n "(cached) " >&6
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3408 extern int testfunction(int x) __attribute__((noreturn))
3413 if ac_fn_c_try_compile "$LINENO"; then :
3414 dpkg_cv_c_attribute_noreturn=yes
3416 dpkg_cv_c_attribute_noreturn=no
3418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3422 if test "x$dpkg_cv_c_attribute_noreturn" = xyes; then
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3425 $as_echo "yes" >&6; }
3426 $as_echo "#define HAVE_GNUC25_NORETURN 1" >>confdefs.h
3430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3431 $as_echo "no" >&6; }
3435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((unused))" >&5
3436 $as_echo_n "checking __attribute__((unused))... " >&6; }
3437 if ${dpkg_cv_c_attribute_unused+:} false; then :
3438 $as_echo_n "(cached) " >&6
3441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3442 /* end confdefs.h. */
3447 extern int testfunction(int x) __attribute__((unused))
3452 if ac_fn_c_try_compile "$LINENO"; then :
3453 dpkg_cv_c_attribute_unused=yes
3455 dpkg_cv_c_attribute_unused=no
3457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3461 if test "x$dpkg_cv_c_attribute_unused" = xyes; then
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3464 $as_echo "yes" >&6; }
3465 $as_echo "#define HAVE_GNUC25_UNUSED 1" >>confdefs.h
3469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3470 $as_echo "no" >&6; }
3474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking __attribute__((format...))" >&5
3475 $as_echo_n "checking __attribute__((format...))... " >&6; }
3476 if ${dpkg_cv_attribute_format+:} false; then :
3477 $as_echo_n "(cached) " >&6
3480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3481 /* end confdefs.h. */
3486 extern int testfunction(char *y, ...) __attribute__((format(printf,1,2)))
3491 if ac_fn_c_try_compile "$LINENO"; then :
3492 dpkg_cv_attribute_format=yes
3494 dpkg_cv_attribute_format=no
3496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3500 if test "x$dpkg_cv_attribute_format" = xyes; then
3502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3503 $as_echo "yes" >&6; }
3504 $as_echo "#define HAVE_GNUC25_PRINTFFORMAT 1" >>confdefs.h
3508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3509 $as_echo "no" >&6; }
3514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3515 $as_echo "no" >&6; }
3525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC warning flag(s) -Wall -Wno-implicit" >&5
3526 $as_echo_n "checking GCC warning flag(s) -Wall -Wno-implicit... " >&6; }
3527 if test "${GCC-no}" = yes
3529 if ${dpkg_cv_c_gcc_warn_all+:} false; then :
3530 $as_echo_n "(cached) " >&6
3533 oldcflags="${CFLAGS-}"
3534 CFLAGS="${CFLAGS-} ${CWARNS} -Wall -Wno-implicit -Werror"
3535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3536 /* end confdefs.h. */
3545 strcmp("a","b"); fprintf(stdout,"test ok\n");
3551 if ac_fn_c_try_compile "$LINENO"; then :
3552 dpkg_cv_c_gcc_warn_all=yes
3554 dpkg_cv_c_gcc_warn_all=no
3556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3557 CFLAGS="${oldcflags}"
3560 if test "x$dpkg_cv_c_gcc_warn_all" = xyes; then
3561 CWARNS="${CWARNS} -Wall -Wno-implicit"
3562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3563 $as_echo "ok" >&6; }
3565 dpkg_cv_c_gcc_warn_all=''
3566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3567 $as_echo "no" >&6; }
3570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3571 $as_echo "no" >&6; }
3575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC warning flag(s) -Wwrite-strings" >&5
3576 $as_echo_n "checking GCC warning flag(s) -Wwrite-strings... " >&6; }
3577 if test "${GCC-no}" = yes
3579 if ${dpkg_cv_c_gcc_warn_writestrings+:} false; then :
3580 $as_echo_n "(cached) " >&6
3583 oldcflags="${CFLAGS-}"
3584 CFLAGS="${CFLAGS-} ${CWARNS} -Wwrite-strings -Werror"
3585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3586 /* end confdefs.h. */
3595 strcmp("a","b"); fprintf(stdout,"test ok\n");
3601 if ac_fn_c_try_compile "$LINENO"; then :
3602 dpkg_cv_c_gcc_warn_writestrings=yes
3604 dpkg_cv_c_gcc_warn_writestrings=no
3606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3607 CFLAGS="${oldcflags}"
3610 if test "x$dpkg_cv_c_gcc_warn_writestrings" = xyes; then
3611 CWARNS="${CWARNS} -Wwrite-strings"
3612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3613 $as_echo "ok" >&6; }
3615 dpkg_cv_c_gcc_warn_writestrings=''
3616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3617 $as_echo "no" >&6; }
3620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3621 $as_echo "no" >&6; }
3625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC warning flag(s) -Wpointer-arith" >&5
3626 $as_echo_n "checking GCC warning flag(s) -Wpointer-arith... " >&6; }
3627 if test "${GCC-no}" = yes
3629 if ${dpkg_cv_c_gcc_warn_pointerarith+:} false; then :
3630 $as_echo_n "(cached) " >&6
3633 oldcflags="${CFLAGS-}"
3634 CFLAGS="${CFLAGS-} ${CWARNS} -Wpointer-arith -Werror"
3635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3636 /* end confdefs.h. */
3645 strcmp("a","b"); fprintf(stdout,"test ok\n");
3651 if ac_fn_c_try_compile "$LINENO"; then :
3652 dpkg_cv_c_gcc_warn_pointerarith=yes
3654 dpkg_cv_c_gcc_warn_pointerarith=no
3656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3657 CFLAGS="${oldcflags}"
3660 if test "x$dpkg_cv_c_gcc_warn_pointerarith" = xyes; then
3661 CWARNS="${CWARNS} -Wpointer-arith"
3662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3663 $as_echo "ok" >&6; }
3665 dpkg_cv_c_gcc_warn_pointerarith=''
3666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3667 $as_echo "no" >&6; }
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3671 $as_echo "no" >&6; }
3675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking GCC warning flag(s) -Wimplicit -Wnested-externs" >&5
3676 $as_echo_n "checking GCC warning flag(s) -Wimplicit -Wnested-externs... " >&6; }
3677 if test "${GCC-no}" = yes
3679 if ${dpkg_cv_c_gcc_warn_implicit+:} false; then :
3680 $as_echo_n "(cached) " >&6
3683 oldcflags="${CFLAGS-}"
3684 CFLAGS="${CFLAGS-} ${CWARNS} -Wimplicit -Wnested-externs -Werror"
3685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3686 /* end confdefs.h. */
3695 strcmp("a","b"); fprintf(stdout,"test ok\n");
3701 if ac_fn_c_try_compile "$LINENO"; then :
3702 dpkg_cv_c_gcc_warn_implicit=yes
3704 dpkg_cv_c_gcc_warn_implicit=no
3706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3707 CFLAGS="${oldcflags}"
3710 if test "x$dpkg_cv_c_gcc_warn_implicit" = xyes; then
3711 CWARNS="${CWARNS} -Wimplicit -Wnested-externs"
3712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
3713 $as_echo "ok" >&6; }
3715 dpkg_cv_c_gcc_warn_implicit=''
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3717 $as_echo "no" >&6; }
3720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3721 $as_echo "no" >&6; }
3725 if test "${GCC-no}" = yes; then
3726 CWARNS="${CWARNS} -Wmissing-prototypes -Wstrict-prototypes"
3728 CFLAGS="`echo $CFLAGS $CWARNS | sed -e 's/-O[0-9]*/$(OPTIMISE)/'`"
3731 VERSION="`sed -n '/^userv (.*)/!d; s/^userv (//; s/).*//; p; q' debian/changelog`"
3732 echo will build version $VERSION
3734 ac_config_files="$ac_config_files Makefile"
3736 cat >confcache <<\_ACEOF
3737 # This file is a shell script that caches the results of configure
3738 # tests run on this system so they can be shared between configure
3739 # scripts and configure runs, see configure's option --config-cache.
3740 # It is not useful on other systems. If it contains results you don't
3741 # want to keep, you may remove or edit it.
3743 # config.status only pays attention to the cache file if you give it
3744 # the --recheck option to rerun configure.
3746 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3747 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3752 # The following way of writing the cache mishandles newlines in values,
3753 # but we know of no workaround that is simple, portable, and efficient.
3754 # So, we kill variables containing newlines.
3755 # Ultrix sh set writes to stderr and can't be redirected directly,
3756 # and sets the high bit in the cache file unless we assign to the vars.
3758 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3759 eval ac_val=\$$ac_var
3763 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3764 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3767 _ | IFS | as_nl) ;; #(
3768 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3769 *) { eval $ac_var=; unset $ac_var;} ;;
3775 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3776 *${as_nl}ac_space=\ *)
3777 # `set' does not quote correctly, so add quotes: double-quote
3778 # substitution turns \\\\ into \\, and sed turns \\ into \.
3781 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3784 # `set' quotes correctly as required by POSIX, so do not add quotes.
3785 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3794 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3796 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3798 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3799 if test -w "$cache_file"; then
3800 if test "x$cache_file" != "x/dev/null"; then
3801 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3802 $as_echo "$as_me: updating cache $cache_file" >&6;}
3803 if test ! -f "$cache_file" || test -h "$cache_file"; then
3804 cat confcache >"$cache_file"
3806 case $cache_file in #(
3808 mv -f confcache "$cache_file"$$ &&
3809 mv -f "$cache_file"$$ "$cache_file" ;; #(
3811 mv -f confcache "$cache_file" ;;
3816 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3817 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3822 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3823 # Let make expand exec_prefix.
3824 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3826 DEFS=-DHAVE_CONFIG_H
3831 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3832 # 1. Remove the extension, and $U if already installed.
3833 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3834 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3835 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3836 # will be set to the directory where LIBOBJS objects are built.
3837 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3838 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3842 LTLIBOBJS=$ac_ltlibobjs
3846 : "${CONFIG_STATUS=./config.status}"
3848 ac_clean_files_save=$ac_clean_files
3849 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3850 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3851 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3853 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3855 # Generated by $as_me.
3856 # Run this file to recreate the current configuration.
3857 # Compiler output produced by configure, useful for debugging
3858 # configure, is in config.log if it exists.
3864 SHELL=\${CONFIG_SHELL-$SHELL}
3867 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3868 ## -------------------- ##
3869 ## M4sh Initialization. ##
3870 ## -------------------- ##
3872 # Be more Bourne compatible
3873 DUALCASE=1; export DUALCASE # for MKS sh
3874 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3877 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3878 # is contrary to our usage. Disable this feature.
3879 alias -g '${1+"$@"}'='"$@"'
3880 setopt NO_GLOB_SUBST
3882 case `(set -o) 2>/dev/null` in #(
3894 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3895 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3896 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3897 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3898 # Prefer a ksh shell builtin over an external printf program on Solaris,
3899 # but without wasting forks for bash or zsh.
3900 if test -z "$BASH_VERSION$ZSH_VERSION" \
3901 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3902 as_echo='print -r --'
3903 as_echo_n='print -rn --'
3904 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3905 as_echo='printf %s\n'
3906 as_echo_n='printf %s'
3908 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3909 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3910 as_echo_n='/usr/ucb/echo -n'
3912 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3913 as_echo_n_body='eval
3917 expr "X$arg" : "X\\(.*\\)$as_nl";
3918 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3920 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3922 export as_echo_n_body
3923 as_echo_n='sh -c $as_echo_n_body as_echo'
3926 as_echo='sh -c $as_echo_body as_echo'
3929 # The user is always right.
3930 if test "${PATH_SEPARATOR+set}" != set; then
3932 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3933 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3940 # We need space, tab and new line, in precisely that order. Quoting is
3941 # there to prevent editors from complaining about space-tab.
3942 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3943 # splitting by setting IFS to empty value.)
3946 # Find who we are. Look in the path if we contain no directory separator.
3949 *[\\/]* ) as_myself=$0 ;;
3950 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3954 test -z "$as_dir" && as_dir=.
3955 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3961 # We did not find ourselves, most probably we were run as `sh COMMAND'
3962 # in which case we are not to be found in the path.
3963 if test "x$as_myself" = x; then
3966 if test ! -f "$as_myself"; then
3967 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3971 # Unset variables that we do not need and which cause bugs (e.g. in
3972 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3973 # suppresses any "Segmentation fault" message there. '((' could
3974 # trigger a bug in pdksh 5.2.14.
3975 for as_var in BASH_ENV ENV MAIL MAILPATH
3976 do eval test x\${$as_var+set} = xset \
3977 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3990 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3993 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3994 # ----------------------------------------
3995 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3996 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3997 # script with STATUS, using 1 if that was 0.
4000 as_status=$1; test $as_status -eq 0 && as_status=1
4002 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
4003 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
4005 $as_echo "$as_me: error: $2" >&2
4006 as_fn_exit $as_status
4010 # as_fn_set_status STATUS
4011 # -----------------------
4012 # Set $? to STATUS, without forking.
4016 } # as_fn_set_status
4020 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
4030 # Portably unset VAR.
4033 { eval $1=; unset $1;}
4035 as_unset=as_fn_unset
4036 # as_fn_append VAR VALUE
4037 # ----------------------
4038 # Append the text in VALUE to the end of the definition contained in VAR. Take
4039 # advantage of any shell optimizations that allow amortized linear growth over
4040 # repeated appends, instead of the typical quadratic growth present in naive
4042 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
4043 eval 'as_fn_append ()
4054 # as_fn_arith ARG...
4055 # ------------------
4056 # Perform arithmetic evaluation on the ARGs, and store the result in the
4057 # global $as_val. Take advantage of shells that can avoid forks. The arguments
4058 # must be portable across $(()) and expr.
4059 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
4060 eval 'as_fn_arith ()
4067 as_val=`expr "$@" || test $? -eq 1`
4072 if expr a : '\(a\)' >/dev/null 2>&1 &&
4073 test "X`expr 00001 : '.*\(...\)'`" = X001; then
4079 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
4080 as_basename=basename
4085 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
4091 as_me=`$as_basename -- "$0" ||
4092 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
4093 X"$0" : 'X\(//\)$' \| \
4094 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
4096 sed '/^.*\/\([^/][^/]*\)\/*$/{
4110 # Avoid depending upon Character Ranges.
4111 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
4112 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
4113 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
4114 as_cr_digits='0123456789'
4115 as_cr_alnum=$as_cr_Letters$as_cr_digits
4117 ECHO_C= ECHO_N= ECHO_T=
4118 case `echo -n x` in #(((((
4120 case `echo 'xy\c'` in
4121 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
4123 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
4130 rm -f conf$$ conf$$.exe conf$$.file
4131 if test -d conf$$.dir; then
4132 rm -f conf$$.dir/conf$$.file
4135 mkdir conf$$.dir 2>/dev/null
4137 if (echo >conf$$.file) 2>/dev/null; then
4138 if ln -s conf$$.file conf$$ 2>/dev/null; then
4140 # ... but there are two gotchas:
4141 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
4142 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
4143 # In both cases, we have to default to `cp -pR'.
4144 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
4146 elif ln conf$$.file conf$$ 2>/dev/null; then
4154 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
4155 rmdir conf$$.dir 2>/dev/null
4160 # Create "$as_dir" as a directory, including parents if necessary.
4165 -*) as_dir=./$as_dir;;
4167 test -d "$as_dir" || eval $as_mkdir_p || {
4171 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
4172 *) as_qdir=$as_dir;;
4174 as_dirs="'$as_qdir' $as_dirs"
4175 as_dir=`$as_dirname -- "$as_dir" ||
4176 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4177 X"$as_dir" : 'X\(//\)[^/]' \| \
4178 X"$as_dir" : 'X\(//\)$' \| \
4179 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
4180 $as_echo X"$as_dir" |
4181 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4198 test -d "$as_dir" && break
4200 test -z "$as_dirs" || eval "mkdir $as_dirs"
4201 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
4205 if mkdir -p . 2>/dev/null; then
4206 as_mkdir_p='mkdir -p "$as_dir"'
4208 test -d ./-p && rmdir ./-p
4213 # as_fn_executable_p FILE
4214 # -----------------------
4215 # Test if FILE is an executable regular file.
4216 as_fn_executable_p ()
4218 test -f "$1" && test -x "$1"
4219 } # as_fn_executable_p
4221 as_executable_p=as_fn_executable_p
4223 # Sed expression to map a string onto a valid CPP name.
4224 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
4226 # Sed expression to map a string onto a valid variable name.
4227 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
4231 ## ----------------------------------- ##
4232 ## Main body of $CONFIG_STATUS script. ##
4233 ## ----------------------------------- ##
4235 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
4237 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4238 # Save the log message, to keep $0 and so on meaningful, and to
4239 # report actual input values of CONFIG_FILES etc. instead of their
4240 # values after options handling.
4242 This file was extended by $as_me, which was
4243 generated by GNU Autoconf 2.69. Invocation command line was
4245 CONFIG_FILES = $CONFIG_FILES
4246 CONFIG_HEADERS = $CONFIG_HEADERS
4247 CONFIG_LINKS = $CONFIG_LINKS
4248 CONFIG_COMMANDS = $CONFIG_COMMANDS
4251 on `(hostname || uname -n) 2>/dev/null | sed 1q`
4256 case $ac_config_files in *"
4257 "*) set x $ac_config_files; shift; ac_config_files=$*;;
4260 case $ac_config_headers in *"
4261 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
4265 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4266 # Files that config.status was made for.
4267 config_files="$ac_config_files"
4268 config_headers="$ac_config_headers"
4272 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4274 \`$as_me' instantiates files and other configuration actions
4275 from templates according to the current configuration. Unless the files
4276 and actions are specified as TAGs, all are instantiated by default.
4278 Usage: $0 [OPTION]... [TAG]...
4280 -h, --help print this help, then exit
4281 -V, --version print version number and configuration settings, then exit
4282 --config print configuration, then exit
4283 -q, --quiet, --silent
4284 do not print progress messages
4285 -d, --debug don't remove temporary files
4286 --recheck update $as_me by reconfiguring in the same conditions
4287 --file=FILE[:TEMPLATE]
4288 instantiate the configuration file FILE
4289 --header=FILE[:TEMPLATE]
4290 instantiate the configuration header FILE
4292 Configuration files:
4295 Configuration headers:
4298 Report bugs to the package provider."
4301 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4302 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
4305 configured by $0, generated by GNU Autoconf 2.69,
4306 with options \\"\$ac_cs_config\\"
4308 Copyright (C) 2012 Free Software Foundation, Inc.
4309 This config.status script is free software; the Free Software Foundation
4310 gives unlimited permission to copy, distribute and modify it."
4315 test -n "\$AWK" || AWK=awk
4318 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4319 # The default lists apply if the user does not specify any file.
4325 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4326 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4330 ac_option=`expr "X$1" : 'X\([^=]*\)='`
4342 # Handling of the options.
4343 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4345 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4346 $as_echo "$ac_cs_version"; exit ;;
4347 --config | --confi | --conf | --con | --co | --c )
4348 $as_echo "$ac_cs_config"; exit ;;
4349 --debug | --debu | --deb | --de | --d | -d )
4351 --file | --fil | --fi | --f )
4354 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4355 '') as_fn_error $? "missing file argument" ;;
4357 as_fn_append CONFIG_FILES " '$ac_optarg'"
4358 ac_need_defaults=false;;
4359 --header | --heade | --head | --hea )
4362 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4364 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
4365 ac_need_defaults=false;;
4367 # Conflict between --help and --header
4368 as_fn_error $? "ambiguous option: \`$1'
4369 Try \`$0 --help' for more information.";;
4370 --help | --hel | -h )
4371 $as_echo "$ac_cs_usage"; exit ;;
4372 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4373 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4377 -*) as_fn_error $? "unrecognized option: \`$1'
4378 Try \`$0 --help' for more information." ;;
4380 *) as_fn_append ac_config_targets " $1"
4381 ac_need_defaults=false ;;
4387 ac_configure_extra_args=
4389 if $ac_cs_silent; then
4391 ac_configure_extra_args="$ac_configure_extra_args --silent"
4395 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4396 if \$ac_cs_recheck; then
4397 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4399 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4400 CONFIG_SHELL='$SHELL'
4406 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4410 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4411 ## Running $as_me. ##
4417 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4420 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4422 # Handling of arguments.
4423 for ac_config_target in $ac_config_targets
4425 case $ac_config_target in
4426 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
4427 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4429 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4434 # If the user did not use the arguments to specify the items to instantiate,
4435 # then the envvar interface is used. Set only those that are not.
4436 # We use the long form for the default assignment because of an extremely
4437 # bizarre bug on SunOS 4.1.3.
4438 if $ac_need_defaults; then
4439 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4440 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
4443 # Have a temporary directory for convenience. Make it in the build tree
4444 # simply because there is no reason against having it here, and in addition,
4445 # creating and moving files from /tmp can sometimes cause problems.
4446 # Hook for its removal unless debugging.
4447 # Note that there is a small window in which the directory will not be cleaned:
4448 # after its creation but before its name has been assigned to `$tmp'.
4452 trap 'exit_status=$?
4454 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4456 trap 'as_fn_exit 1' 1 2 13 15
4458 # Create a (secure) tmp directory for tmp files.
4461 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4465 tmp=./conf$$-$RANDOM
4466 (umask 077 && mkdir "$tmp")
4467 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4470 # Set up the scripts for CONFIG_FILES section.
4471 # No need to generate them if there are no CONFIG_FILES.
4472 # This happens for instance with `./config.status config.h'.
4473 if test -n "$CONFIG_FILES"; then
4476 ac_cr=`echo X | tr X '\015'`
4477 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4478 # But we know of no other shell where ac_cr would be empty at this
4479 # point, so we can use a bashism as a fallback.
4480 if test "x$ac_cr" = x; then
4481 eval ac_cr=\$\'\\r\'
4483 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4484 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4490 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4495 echo "cat >conf$$subs.awk <<_ACEOF" &&
4496 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4499 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4500 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4502 for ac_last_try in false false false false false :; do
4503 . ./conf$$subs.sh ||
4504 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4506 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4507 if test $ac_delim_n = $ac_delim_num; then
4509 elif $ac_last_try; then
4510 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4512 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4517 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4518 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4522 s/^/S["/; s/!.*/"]=/
4532 s/\(.\{148\}\)..*/\1/
4534 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4539 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4546 s/\(.\{148\}\)..*/\1/
4548 s/["\\]/\\&/g; s/^/"/; s/$/"/
4552 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4557 ' <conf$$subs.awk | sed '
4562 ' >>$CONFIG_STATUS || ac_write_fail=1
4563 rm -f conf$$subs.awk
4564 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4566 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4567 for (key in S) S_is_set[key] = 1
4573 nfields = split(line, field, "@")
4575 len = length(field[1])
4576 for (i = 2; i < nfields; i++) {
4578 keylen = length(key)
4579 if (S_is_set[key]) {
4581 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4582 len += length(value) + length(field[++i])
4593 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4594 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4595 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4598 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4599 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4602 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4603 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4604 # trailing colons and then remove the whole line if VPATH becomes empty
4605 # (actually we leave an empty line to preserve line numbers).
4606 if test "x$srcdir" = x.; then
4607 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4625 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4626 fi # test -n "$CONFIG_FILES"
4628 # Set up the scripts for CONFIG_HEADERS section.
4629 # No need to generate them if there are no CONFIG_HEADERS.
4630 # This happens for instance with `./config.status Makefile'.
4631 if test -n "$CONFIG_HEADERS"; then
4632 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
4636 # Transform confdefs.h into an awk script `defines.awk', embedded as
4637 # here-document in config.status, that substitutes the proper values into
4638 # config.h.in to produce config.h.
4640 # Create a delimiter string that does not exist in confdefs.h, to ease
4641 # handling of long lines.
4643 for ac_last_try in false false :; do
4644 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
4645 if test -z "$ac_tt"; then
4647 elif $ac_last_try; then
4648 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
4650 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4654 # For the awk script, D is an array of macro values keyed by name,
4655 # likewise P contains macro parameters if any. Preserve backslash
4656 # newline sequences.
4658 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
4660 s/.\{148\}/&'"$ac_delim"'/g
4663 s/^[ ]*#[ ]*define[ ][ ]*/ /
4670 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4672 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
4676 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
4677 D["\1"]=" \3\\\\\\n"\\/p
4679 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
4684 s/.\{148\}/&'"$ac_delim"'/g
4689 s/["\\]/\\&/g; s/^/"/; s/$/"/p
4692 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
4694 ' <confdefs.h | sed '
4695 s/'"$ac_delim"'/"\\\
4696 "/g' >>$CONFIG_STATUS || ac_write_fail=1
4698 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4699 for (key in D) D_is_set[key] = 1
4702 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
4704 split(line, arg, " ")
4705 if (arg[1] == "#") {
4709 defundef = substr(arg[1], 2)
4712 split(mac1, mac2, "(") #)
4714 prefix = substr(line, 1, index(line, defundef) - 1)
4715 if (D_is_set[macro]) {
4716 # Preserve the white space surrounding the "#".
4717 print prefix "define", macro P[macro] D[macro]
4720 # Replace #undef with comments. This is necessary, for example,
4721 # in the case of _POSIX_SOURCE, which is predefined and required
4722 # on some systems where configure will not decide to define it.
4723 if (defundef == "undef") {
4724 print "/*", prefix defundef, macro, "*/"
4732 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4733 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
4734 fi # test -n "$CONFIG_HEADERS"
4737 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS "
4742 :[FHLC]) ac_mode=$ac_tag; continue;;
4744 case $ac_mode$ac_tag in
4746 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4747 :[FH]-) ac_tag=-:-;;
4748 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4765 -) ac_f="$ac_tmp/stdin";;
4766 *) # Look for the file first in the build tree, then in the source tree
4767 # (if the path is not absolute). The absolute path cannot be DOS-style,
4768 # because $ac_f cannot contain `:'.
4772 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4774 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4776 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4777 as_fn_append ac_file_inputs " '$ac_f'"
4780 # Let's still pretend it is `configure' which instantiates (i.e., don't
4781 # use $as_me), people would be surprised to read:
4782 # /* config.h. Generated by config.status. */
4783 configure_input='Generated from '`
4784 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4786 if test x"$ac_file" != x-; then
4787 configure_input="$ac_file. $configure_input"
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4789 $as_echo "$as_me: creating $ac_file" >&6;}
4791 # Neutralize special characters interpreted by sed in replacement strings.
4792 case $configure_input in #(
4793 *\&* | *\|* | *\\* )
4794 ac_sed_conf_input=`$as_echo "$configure_input" |
4795 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4796 *) ac_sed_conf_input=$configure_input;;
4800 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4801 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4806 ac_dir=`$as_dirname -- "$ac_file" ||
4807 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4808 X"$ac_file" : 'X\(//\)[^/]' \| \
4809 X"$ac_file" : 'X\(//\)$' \| \
4810 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4811 $as_echo X"$ac_file" |
4812 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4829 as_dir="$ac_dir"; as_fn_mkdir_p
4833 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4835 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4836 # A ".." for each directory in $ac_dir_suffix.
4837 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4838 case $ac_top_builddir_sub in
4839 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4840 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4843 ac_abs_top_builddir=$ac_pwd
4844 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4845 # for backward compatibility:
4846 ac_top_builddir=$ac_top_build_prefix
4849 .) # We are building in place.
4851 ac_top_srcdir=$ac_top_builddir_sub
4852 ac_abs_top_srcdir=$ac_pwd ;;
4853 [\\/]* | ?:[\\/]* ) # Absolute name.
4854 ac_srcdir=$srcdir$ac_dir_suffix;
4855 ac_top_srcdir=$srcdir
4856 ac_abs_top_srcdir=$srcdir ;;
4858 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4859 ac_top_srcdir=$ac_top_build_prefix$srcdir
4860 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4862 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4872 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4873 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4877 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4878 # If the template does not know about datarootdir, expand it.
4879 # FIXME: This hack should be removed a few years after 2.60.
4880 ac_datarootdir_hack=; ac_datarootdir_seen=
4891 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4892 *datarootdir*) ac_datarootdir_seen=yes;;
4893 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4895 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4897 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4898 ac_datarootdir_hack='
4899 s&@datadir@&$datadir&g
4900 s&@docdir@&$docdir&g
4901 s&@infodir@&$infodir&g
4902 s&@localedir@&$localedir&g
4903 s&@mandir@&$mandir&g
4904 s&\\\${datarootdir}&$datarootdir&g' ;;
4908 # Neutralize VPATH when `$srcdir' = `.'.
4909 # Shell code in configure.ac might set extrasub.
4910 # FIXME: do we really want to maintain this feature?
4911 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4912 ac_sed_extra="$ac_vpsub
4915 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4917 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4918 s|@configure_input@|$ac_sed_conf_input|;t t
4919 s&@top_builddir@&$ac_top_builddir_sub&;t t
4920 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4921 s&@srcdir@&$ac_srcdir&;t t
4922 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4923 s&@top_srcdir@&$ac_top_srcdir&;t t
4924 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4925 s&@builddir@&$ac_builddir&;t t
4926 s&@abs_builddir@&$ac_abs_builddir&;t t
4927 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4928 s&@INSTALL@&$ac_INSTALL&;t t
4929 $ac_datarootdir_hack
4931 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4932 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4934 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4935 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4936 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4937 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4939 which seems to be undefined. Please make sure it is defined" >&5
4940 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4941 which seems to be undefined. Please make sure it is defined" >&2;}
4943 rm -f "$ac_tmp/stdin"
4945 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4946 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4948 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4954 if test x"$ac_file" != x-; then
4956 $as_echo "/* $configure_input */" \
4957 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
4958 } >"$ac_tmp/config.h" \
4959 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4960 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
4961 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
4962 $as_echo "$as_me: $ac_file is unchanged" >&6;}
4965 mv "$ac_tmp/config.h" "$ac_file" \
4966 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4969 $as_echo "/* $configure_input */" \
4970 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
4971 || as_fn_error $? "could not create -" "$LINENO" 5
4983 ac_clean_files=$ac_clean_files_save
4985 test $ac_write_fail = 0 ||
4986 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4989 # configure is writing to config.log, and then calls config.status.
4990 # config.status does its own redirection, appending to config.log.
4991 # Unfortunately, on DOS this fails, as config.log is still kept open
4992 # by configure, so config.status won't be able to write to it; its
4993 # output is simply discarded. So we exec the FD to /dev/null,
4994 # effectively closing config.log, so it can be properly (re)opened and
4995 # appended to by config.status. When coming back to configure, we
4996 # need to make the FD available again.
4997 if test "$no_create" != yes; then
4999 ac_config_status_args=
5000 test "$silent" = yes &&
5001 ac_config_status_args="$ac_config_status_args --quiet"
5003 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
5005 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
5006 # would make configure fail if this is the last instruction.
5007 $ac_cs_success || as_fn_exit 1
5009 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
5010 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
5011 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}