2 @%:@ Guess values for system-dependent variables and create Makefiles.
3 @%:@ Generated by GNU Autoconf 2.65.
6 @%:@ Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
7 @%:@ 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
11 @%:@ This configure script is free software; the Free Software Foundation
12 @%:@ gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
27 case `(set -o) 2>/dev/null` in @%:@(
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
68 as_echo_n='sh -c $as_echo_n_body as_echo'
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
91 # Find who we are. Look in the path if we contain no directory separator.
93 *[\\/]* ) as_myself=$0 ;;
94 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
98 test -z "$as_dir" && as_dir=.
99 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
105 # We did not find ourselves, most probably we were run as `sh COMMAND'
106 # in which case we are not to be found in the path.
107 if test "x$as_myself" = x; then
110 if test ! -f "$as_myself"; then
111 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
115 # Unset variables that we do not need and which cause bugs (e.g. in
116 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
117 # suppresses any "Segmentation fault" message there. '((' could
118 # trigger a bug in pdksh 5.2.14.
119 for as_var in BASH_ENV ENV MAIL MAILPATH
120 do eval test x\${$as_var+set} = xset \
121 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
134 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
136 if test "x$CONFIG_SHELL" = x; then
137 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
140 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
141 # is contrary to our usage. Disable this feature.
142 alias -g '\${1+\"\$@\"}'='\"\$@\"'
145 case \`(set -o) 2>/dev/null\` in @%:@(
147 set -o posix ;; @%:@(
153 as_required="as_fn_return () { (exit \$1); }
154 as_fn_success () { as_fn_return 0; }
155 as_fn_failure () { as_fn_return 1; }
156 as_fn_ret_success () { return 0; }
157 as_fn_ret_failure () { return 1; }
160 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
161 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
162 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
163 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
164 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
167 exitcode=1; echo positional parameters were not saved.
169 test x\$exitcode = x0 || exit 1"
170 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
171 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
172 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
173 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
174 if (eval "$as_required") 2>/dev/null; then :
179 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
184 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
187 test -z "$as_dir" && as_dir=.
189 case $as_dir in @%:@(
191 for as_base in sh bash ksh sh5; do
192 # Try only shells that exist, to save several forks.
193 as_shell=$as_dir/$as_base
194 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
195 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
196 CONFIG_SHELL=$as_shell as_have_required=yes
197 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
205 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
206 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
207 CONFIG_SHELL=$SHELL as_have_required=yes
212 if test "x$CONFIG_SHELL" != x; then :
213 # We cannot yet assume a decent shell, so we have to provide a
214 # neutralization value for shells without unset; and this also
215 # works around shells that cannot unset nonexistent variables.
218 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
220 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
223 if test x$as_have_required = xno; then :
224 $as_echo "$0: This script requires a shell more modern than all"
225 $as_echo "$0: the shells that I found on your system."
226 if test x${ZSH_VERSION+set} = xset ; then
227 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
228 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
230 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
231 $0: including any error possibly output before this
232 $0: message. Then install a modern shell, or manually run
233 $0: the script under such a shell if you do have one."
239 SHELL=${CONFIG_SHELL-/bin/sh}
241 # Unset more variables known to interfere with behavior of common tools.
242 CLICOLOR_FORCE= GREP_OPTIONS=
243 unset CLICOLOR_FORCE GREP_OPTIONS
245 ## --------------------- ##
246 ## M4sh Shell Functions. ##
247 ## --------------------- ##
250 @%:@ Portably unset VAR.
253 { eval $1=; unset $1;}
257 @%:@ as_fn_set_status STATUS
258 @%:@ -----------------------
259 @%:@ Set @S|@? to STATUS, without forking.
263 } @%:@ as_fn_set_status
265 @%:@ as_fn_exit STATUS
266 @%:@ -----------------
267 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
277 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
282 -*) as_dir=./$as_dir;;
284 test -d "$as_dir" || eval $as_mkdir_p || {
288 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
291 as_dirs="'$as_qdir' $as_dirs"
292 as_dir=`$as_dirname -- "$as_dir" ||
293 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
294 X"$as_dir" : 'X\(//\)[^/]' \| \
295 X"$as_dir" : 'X\(//\)$' \| \
296 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
297 $as_echo X"$as_dir" |
298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
315 test -d "$as_dir" && break
317 test -z "$as_dirs" || eval "mkdir $as_dirs"
318 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
322 @%:@ as_fn_append VAR VALUE
323 @%:@ ----------------------
324 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
325 @%:@ advantage of any shell optimizations that allow amortized linear growth over
326 @%:@ repeated appends, instead of the typical quadratic growth present in naive
327 @%:@ implementations.
328 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
329 eval 'as_fn_append ()
340 @%:@ as_fn_arith ARG...
341 @%:@ ------------------
342 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
343 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
344 @%:@ must be portable across @S|@(()) and expr.
345 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
353 as_val=`expr "$@" || test $? -eq 1`
358 @%:@ as_fn_error ERROR [LINENO LOG_FD]
359 @%:@ ---------------------------------
360 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
361 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
362 @%:@ script with status @S|@?, using 1 if that was 0.
365 as_status=$?; test $as_status -eq 0 && as_status=1
367 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
368 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
370 $as_echo "$as_me: error: $1" >&2
371 as_fn_exit $as_status
374 if expr a : '\(a\)' >/dev/null 2>&1 &&
375 test "X`expr 00001 : '.*\(...\)'`" = X001; then
381 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
387 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
393 as_me=`$as_basename -- "$0" ||
394 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
395 X"$0" : 'X\(//\)$' \| \
396 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
398 sed '/^.*\/\([^/][^/]*\)\/*$/{
412 # Avoid depending upon Character Ranges.
413 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
414 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
415 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
416 as_cr_digits='0123456789'
417 as_cr_alnum=$as_cr_Letters$as_cr_digits
420 as_lineno_1=$LINENO as_lineno_1a=$LINENO
421 as_lineno_2=$LINENO as_lineno_2a=$LINENO
422 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
423 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
424 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
436 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
440 chmod +x "$as_me.lineno" ||
441 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
443 # Don't try to exec as it changes $[0], causing all sort of problems
444 # (the dirname of $[0] is not the place where we might find the
445 # original and so on. Autoconf is especially sensitive to this).
447 # Exit status is that of the last command.
451 ECHO_C= ECHO_N= ECHO_T=
452 case `echo -n x` in @%:@(((((
454 case `echo 'xy\c'` in
455 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
457 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
464 rm -f conf$$ conf$$.exe conf$$.file
465 if test -d conf$$.dir; then
466 rm -f conf$$.dir/conf$$.file
469 mkdir conf$$.dir 2>/dev/null
471 if (echo >conf$$.file) 2>/dev/null; then
472 if ln -s conf$$.file conf$$ 2>/dev/null; then
474 # ... but there are two gotchas:
475 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
476 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
477 # In both cases, we have to default to `cp -p'.
478 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
480 elif ln conf$$.file conf$$ 2>/dev/null; then
488 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
489 rmdir conf$$.dir 2>/dev/null
491 if mkdir -p . 2>/dev/null; then
492 as_mkdir_p='mkdir -p "$as_dir"'
494 test -d ./-p && rmdir ./-p
498 if test -x / >/dev/null 2>&1; then
501 if ls -dL / >/dev/null 2>&1; then
508 if test -d "$1"; then
514 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
515 ???[sx]*):;;*)false;;esac;fi
519 as_executable_p=$as_test_x
521 # Sed expression to map a string onto a valid CPP name.
522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
524 # Sed expression to map a string onto a valid variable name.
525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
528 test -n "$DJDIR" || exec 7<&0 </dev/null
532 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
533 # so uname gets run too.
534 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
539 ac_default_prefix=/usr/local
541 ac_config_libobj_dir=.
548 # Identity of this package.
556 ac_unique_file="src/main.c"
557 ac_subst_vars='am__EXEEXT_FALSE
585 INSTALL_STRIP_PROGRAM
627 program_transform_name
640 enable_option_checking
641 enable_dependency_tracking
643 ac_precious_vars='build_alias
653 # Initialize some variables set by options.
655 ac_init_version=false
656 ac_unrecognized_opts=
658 # The variables have the same names as the options, with
659 # dashes changed to underlines.
667 program_transform_name=s,x,x,
675 # Installation directory options.
676 # These are left unexpanded so users can "make install exec_prefix=/foo"
677 # and all the variables that are supposed to be based on exec_prefix
678 # by default will actually change.
679 # Use braces instead of parens because sh, perl, etc. also accept them.
680 # (The list follows the same order as the GNU Coding Standards.)
681 bindir='${exec_prefix}/bin'
682 sbindir='${exec_prefix}/sbin'
683 libexecdir='${exec_prefix}/libexec'
684 datarootdir='${prefix}/share'
685 datadir='${datarootdir}'
686 sysconfdir='${prefix}/etc'
687 sharedstatedir='${prefix}/com'
688 localstatedir='${prefix}/var'
689 includedir='${prefix}/include'
690 oldincludedir='/usr/include'
691 docdir='${datarootdir}/doc/${PACKAGE}'
692 infodir='${datarootdir}/info'
697 libdir='${exec_prefix}/lib'
698 localedir='${datarootdir}/locale'
699 mandir='${datarootdir}/man'
705 # If the previous option needs an argument, assign it.
706 if test -n "$ac_prev"; then
707 eval $ac_prev=\$ac_option
713 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
717 # Accept the important Cygnus configure options, so we can diagnose typos.
719 case $ac_dashdash$ac_option in
723 -bindir | --bindir | --bindi | --bind | --bin | --bi)
725 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
728 -build | --build | --buil | --bui | --bu)
729 ac_prev=build_alias ;;
730 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
731 build_alias=$ac_optarg ;;
733 -cache-file | --cache-file | --cache-fil | --cache-fi \
734 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
735 ac_prev=cache_file ;;
736 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
737 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
738 cache_file=$ac_optarg ;;
741 cache_file=config.cache ;;
743 -datadir | --datadir | --datadi | --datad)
745 -datadir=* | --datadir=* | --datadi=* | --datad=*)
746 datadir=$ac_optarg ;;
748 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
749 | --dataroo | --dataro | --datar)
750 ac_prev=datarootdir ;;
751 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
752 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
753 datarootdir=$ac_optarg ;;
755 -disable-* | --disable-*)
756 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
757 # Reject names that are not valid shell variable names.
758 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
759 as_fn_error "invalid feature name: $ac_useropt"
760 ac_useropt_orig=$ac_useropt
761 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
762 case $ac_user_opts in
766 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
767 ac_unrecognized_sep=', ';;
769 eval enable_$ac_useropt=no ;;
771 -docdir | --docdir | --docdi | --doc | --do)
773 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
776 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
778 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
781 -enable-* | --enable-*)
782 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
783 # Reject names that are not valid shell variable names.
784 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
785 as_fn_error "invalid feature name: $ac_useropt"
786 ac_useropt_orig=$ac_useropt
787 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
788 case $ac_user_opts in
792 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
793 ac_unrecognized_sep=', ';;
795 eval enable_$ac_useropt=\$ac_optarg ;;
797 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
798 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
799 | --exec | --exe | --ex)
800 ac_prev=exec_prefix ;;
801 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
802 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
803 | --exec=* | --exe=* | --ex=*)
804 exec_prefix=$ac_optarg ;;
806 -gas | --gas | --ga | --g)
807 # Obsolete; use --with-gas.
810 -help | --help | --hel | --he | -h)
812 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
813 ac_init_help=recursive ;;
814 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
815 ac_init_help=short ;;
817 -host | --host | --hos | --ho)
818 ac_prev=host_alias ;;
819 -host=* | --host=* | --hos=* | --ho=*)
820 host_alias=$ac_optarg ;;
822 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
824 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
826 htmldir=$ac_optarg ;;
828 -includedir | --includedir | --includedi | --included | --include \
829 | --includ | --inclu | --incl | --inc)
830 ac_prev=includedir ;;
831 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
832 | --includ=* | --inclu=* | --incl=* | --inc=*)
833 includedir=$ac_optarg ;;
835 -infodir | --infodir | --infodi | --infod | --info | --inf)
837 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
838 infodir=$ac_optarg ;;
840 -libdir | --libdir | --libdi | --libd)
842 -libdir=* | --libdir=* | --libdi=* | --libd=*)
845 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
846 | --libexe | --libex | --libe)
847 ac_prev=libexecdir ;;
848 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
849 | --libexe=* | --libex=* | --libe=*)
850 libexecdir=$ac_optarg ;;
852 -localedir | --localedir | --localedi | --localed | --locale)
854 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
855 localedir=$ac_optarg ;;
857 -localstatedir | --localstatedir | --localstatedi | --localstated \
858 | --localstate | --localstat | --localsta | --localst | --locals)
859 ac_prev=localstatedir ;;
860 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
861 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
862 localstatedir=$ac_optarg ;;
864 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
866 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
870 # Obsolete; use --without-fp.
873 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
874 | --no-cr | --no-c | -n)
877 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
878 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
881 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
882 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
883 | --oldin | --oldi | --old | --ol | --o)
884 ac_prev=oldincludedir ;;
885 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
886 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
887 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
888 oldincludedir=$ac_optarg ;;
890 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
892 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
895 -program-prefix | --program-prefix | --program-prefi | --program-pref \
896 | --program-pre | --program-pr | --program-p)
897 ac_prev=program_prefix ;;
898 -program-prefix=* | --program-prefix=* | --program-prefi=* \
899 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
900 program_prefix=$ac_optarg ;;
902 -program-suffix | --program-suffix | --program-suffi | --program-suff \
903 | --program-suf | --program-su | --program-s)
904 ac_prev=program_suffix ;;
905 -program-suffix=* | --program-suffix=* | --program-suffi=* \
906 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
907 program_suffix=$ac_optarg ;;
909 -program-transform-name | --program-transform-name \
910 | --program-transform-nam | --program-transform-na \
911 | --program-transform-n | --program-transform- \
912 | --program-transform | --program-transfor \
913 | --program-transfo | --program-transf \
914 | --program-trans | --program-tran \
915 | --progr-tra | --program-tr | --program-t)
916 ac_prev=program_transform_name ;;
917 -program-transform-name=* | --program-transform-name=* \
918 | --program-transform-nam=* | --program-transform-na=* \
919 | --program-transform-n=* | --program-transform-=* \
920 | --program-transform=* | --program-transfor=* \
921 | --program-transfo=* | --program-transf=* \
922 | --program-trans=* | --program-tran=* \
923 | --progr-tra=* | --program-tr=* | --program-t=*)
924 program_transform_name=$ac_optarg ;;
926 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
928 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
931 -psdir | --psdir | --psdi | --psd | --ps)
933 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
936 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
937 | -silent | --silent | --silen | --sile | --sil)
940 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
942 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
944 sbindir=$ac_optarg ;;
946 -sharedstatedir | --sharedstatedir | --sharedstatedi \
947 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
948 | --sharedst | --shareds | --shared | --share | --shar \
950 ac_prev=sharedstatedir ;;
951 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
952 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
953 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
955 sharedstatedir=$ac_optarg ;;
957 -site | --site | --sit)
959 -site=* | --site=* | --sit=*)
962 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
964 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
967 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
968 | --syscon | --sysco | --sysc | --sys | --sy)
969 ac_prev=sysconfdir ;;
970 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
971 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
972 sysconfdir=$ac_optarg ;;
974 -target | --target | --targe | --targ | --tar | --ta | --t)
975 ac_prev=target_alias ;;
976 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
977 target_alias=$ac_optarg ;;
979 -v | -verbose | --verbose | --verbos | --verbo | --verb)
982 -version | --version | --versio | --versi | --vers | -V)
986 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
987 # Reject names that are not valid shell variable names.
988 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
989 as_fn_error "invalid package name: $ac_useropt"
990 ac_useropt_orig=$ac_useropt
991 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
992 case $ac_user_opts in
996 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
997 ac_unrecognized_sep=', ';;
999 eval with_$ac_useropt=\$ac_optarg ;;
1001 -without-* | --without-*)
1002 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1003 # Reject names that are not valid shell variable names.
1004 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1005 as_fn_error "invalid package name: $ac_useropt"
1006 ac_useropt_orig=$ac_useropt
1007 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1008 case $ac_user_opts in
1012 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1013 ac_unrecognized_sep=', ';;
1015 eval with_$ac_useropt=no ;;
1018 # Obsolete; use --with-x.
1021 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1022 | --x-incl | --x-inc | --x-in | --x-i)
1023 ac_prev=x_includes ;;
1024 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1025 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1026 x_includes=$ac_optarg ;;
1028 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1029 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1030 ac_prev=x_libraries ;;
1031 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1032 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1033 x_libraries=$ac_optarg ;;
1035 -*) as_fn_error "unrecognized option: \`$ac_option'
1036 Try \`$0 --help' for more information."
1040 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1041 # Reject names that are not valid shell variable names.
1042 case $ac_envvar in #(
1043 '' | [0-9]* | *[!_$as_cr_alnum]* )
1044 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1046 eval $ac_envvar=\$ac_optarg
1047 export $ac_envvar ;;
1050 # FIXME: should be removed in autoconf 3.0.
1051 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1052 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1053 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1054 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1060 if test -n "$ac_prev"; then
1061 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1062 as_fn_error "missing argument to $ac_option"
1065 if test -n "$ac_unrecognized_opts"; then
1066 case $enable_option_checking in
1068 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1069 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1073 # Check all directory arguments for consistency.
1074 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1075 datadir sysconfdir sharedstatedir localstatedir includedir \
1076 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1077 libdir localedir mandir
1079 eval ac_val=\$$ac_var
1080 # Remove trailing slashes.
1083 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1084 eval $ac_var=\$ac_val;;
1086 # Be sure to have absolute directory names.
1088 [\\/$]* | ?:[\\/]* ) continue;;
1089 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1091 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1094 # There might be people who depend on the old broken behavior: `$host'
1095 # used to hold the argument of --host etc.
1096 # FIXME: To remove some day.
1099 target=$target_alias
1101 # FIXME: To remove some day.
1102 if test "x$host_alias" != x; then
1103 if test "x$build_alias" = x; then
1104 cross_compiling=maybe
1105 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1106 If a cross compiler is detected then cross compile mode will be used." >&2
1107 elif test "x$build_alias" != "x$host_alias"; then
1113 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1115 test "$silent" = yes && exec 6>/dev/null
1118 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1119 ac_ls_di=`ls -di .` &&
1120 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1121 as_fn_error "working directory cannot be determined"
1122 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1123 as_fn_error "pwd does not report name of working directory"
1126 # Find the source files, if location was not specified.
1127 if test -z "$srcdir"; then
1128 ac_srcdir_defaulted=yes
1129 # Try the directory containing this script, then the parent directory.
1130 ac_confdir=`$as_dirname -- "$as_myself" ||
1131 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1132 X"$as_myself" : 'X\(//\)[^/]' \| \
1133 X"$as_myself" : 'X\(//\)$' \| \
1134 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1135 $as_echo X"$as_myself" |
1136 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1154 if test ! -r "$srcdir/$ac_unique_file"; then
1158 ac_srcdir_defaulted=no
1160 if test ! -r "$srcdir/$ac_unique_file"; then
1161 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1162 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1164 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1166 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1168 # When building in place, set srcdir=.
1169 if test "$ac_abs_confdir" = "$ac_pwd"; then
1172 # Remove unnecessary trailing slashes from srcdir.
1173 # Double slashes in file names in object file debugging info
1174 # mess up M-x gdb in Emacs.
1176 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1178 for ac_var in $ac_precious_vars; do
1179 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1180 eval ac_env_${ac_var}_value=\$${ac_var}
1181 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1182 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1186 # Report the --help message.
1188 if test "$ac_init_help" = "long"; then
1189 # Omit some internal or obsolete options to make the list less imposing.
1190 # This message is too long to be a string in the A/UX 3.1 sh.
1192 \`configure' configures this package to adapt to many kinds of systems.
1194 Usage: $0 [OPTION]... [VAR=VALUE]...
1196 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1197 VAR=VALUE. See below for descriptions of some of the useful variables.
1199 Defaults for the options are specified in brackets.
1202 -h, --help display this help and exit
1203 --help=short display options specific to this package
1204 --help=recursive display the short help of all the included packages
1205 -V, --version display version information and exit
1206 -q, --quiet, --silent do not print \`checking...' messages
1207 --cache-file=FILE cache test results in FILE [disabled]
1208 -C, --config-cache alias for \`--cache-file=config.cache'
1209 -n, --no-create do not create output files
1210 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1212 Installation directories:
1213 --prefix=PREFIX install architecture-independent files in PREFIX
1214 @<:@@S|@ac_default_prefix@:>@
1215 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1218 By default, \`make install' will install all the files in
1219 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1220 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1221 for instance \`--prefix=\$HOME'.
1223 For better control, use the options below.
1225 Fine tuning of the installation directories:
1226 --bindir=DIR user executables [EPREFIX/bin]
1227 --sbindir=DIR system admin executables [EPREFIX/sbin]
1228 --libexecdir=DIR program executables [EPREFIX/libexec]
1229 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1230 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1231 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1232 --libdir=DIR object code libraries [EPREFIX/lib]
1233 --includedir=DIR C header files [PREFIX/include]
1234 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1235 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1236 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1237 --infodir=DIR info documentation [DATAROOTDIR/info]
1238 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1239 --mandir=DIR man documentation [DATAROOTDIR/man]
1240 --docdir=DIR documentation root @<:@DATAROOTDIR/doc/PACKAGE@:>@
1241 --htmldir=DIR html documentation [DOCDIR]
1242 --dvidir=DIR dvi documentation [DOCDIR]
1243 --pdfdir=DIR pdf documentation [DOCDIR]
1244 --psdir=DIR ps documentation [DOCDIR]
1250 --program-prefix=PREFIX prepend PREFIX to installed program names
1251 --program-suffix=SUFFIX append SUFFIX to installed program names
1252 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1256 if test -n "$ac_init_help"; then
1261 --disable-option-checking ignore unrecognized --enable/--with options
1262 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1263 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1264 --disable-dependency-tracking speeds up one-time build
1265 --enable-dependency-tracking do not reject slow dependency extractors
1267 Some influential environment variables:
1268 CC C compiler command
1269 CFLAGS C compiler flags
1270 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1271 nonstandard directory <lib dir>
1272 LIBS libraries to pass to the linker, e.g. -l<library>
1273 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1274 you have headers in a nonstandard directory <include dir>
1276 Use these variables to override the choices made by `configure' or to help
1277 it to find libraries and programs with nonstandard names/locations.
1279 Report bugs to the package provider.
1284 if test "$ac_init_help" = "recursive"; then
1285 # If there are subdirs, report their specific --help.
1286 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1287 test -d "$ac_dir" ||
1288 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1293 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1295 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1296 # A ".." for each directory in $ac_dir_suffix.
1297 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1298 case $ac_top_builddir_sub in
1299 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1300 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1303 ac_abs_top_builddir=$ac_pwd
1304 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1305 # for backward compatibility:
1306 ac_top_builddir=$ac_top_build_prefix
1309 .) # We are building in place.
1311 ac_top_srcdir=$ac_top_builddir_sub
1312 ac_abs_top_srcdir=$ac_pwd ;;
1313 [\\/]* | ?:[\\/]* ) # Absolute name.
1314 ac_srcdir=$srcdir$ac_dir_suffix;
1315 ac_top_srcdir=$srcdir
1316 ac_abs_top_srcdir=$srcdir ;;
1318 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1319 ac_top_srcdir=$ac_top_build_prefix$srcdir
1320 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1322 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1324 cd "$ac_dir" || { ac_status=$?; continue; }
1325 # Check for guested configure.
1326 if test -f "$ac_srcdir/configure.gnu"; then
1328 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1329 elif test -f "$ac_srcdir/configure"; then
1331 $SHELL "$ac_srcdir/configure" --help=recursive
1333 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1335 cd "$ac_pwd" || { ac_status=$?; break; }
1339 test -n "$ac_init_help" && exit $ac_status
1340 if $ac_init_version; then
1343 generated by GNU Autoconf 2.65
1345 Copyright (C) 2009 Free Software Foundation, Inc.
1346 This configure script is free software; the Free Software Foundation
1347 gives unlimited permission to copy, distribute and modify it.
1352 ## ------------------------ ##
1353 ## Autoconf initialization. ##
1354 ## ------------------------ ##
1356 @%:@ ac_fn_c_try_compile LINENO
1357 @%:@ --------------------------
1358 @%:@ Try to compile conftest.@S|@ac_ext, and return whether this succeeded.
1359 ac_fn_c_try_compile ()
1361 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1362 rm -f conftest.$ac_objext
1363 if { { ac_try="$ac_compile"
1365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1366 *) ac_try_echo=$ac_try;;
1368 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1369 $as_echo "$ac_try_echo"; } >&5
1370 (eval "$ac_compile") 2>conftest.err
1372 if test -s conftest.err; then
1373 grep -v '^ *+' conftest.err >conftest.er1
1374 cat conftest.er1 >&5
1375 mv -f conftest.er1 conftest.err
1377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1378 test $ac_status = 0; } && {
1379 test -z "$ac_c_werror_flag" ||
1380 test ! -s conftest.err
1381 } && test -s conftest.$ac_objext; then :
1384 $as_echo "$as_me: failed program was:" >&5
1385 sed 's/^/| /' conftest.$ac_ext >&5
1389 eval $as_lineno_stack; test "x$as_lineno_stack" = x && { as_lineno=; unset as_lineno;}
1390 as_fn_set_status $ac_retval
1392 } @%:@ ac_fn_c_try_compile
1393 cat >config.log <<_ACEOF
1394 This file contains any messages produced by compilers while
1395 running configure, to aid debugging if configure makes a mistake.
1397 It was created by $as_me, which was
1398 generated by GNU Autoconf 2.65. Invocation command line was
1410 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1411 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1412 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1413 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1414 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1416 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1417 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1419 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1420 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1421 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1422 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1423 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1424 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1425 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1433 test -z "$as_dir" && as_dir=.
1434 $as_echo "PATH: $as_dir"
1450 # Keep a trace of the command line.
1451 # Strip out --no-create and --no-recursion so they do not pile up.
1452 # Strip out --silent because we don't want to record it for future runs.
1453 # Also quote any args containing shell meta-characters.
1454 # Make two passes to allow for proper duplicate-argument suppression.
1458 ac_must_keep_next=false
1464 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1465 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1466 | -silent | --silent | --silen | --sile | --sil)
1469 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1472 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1474 as_fn_append ac_configure_args1 " '$ac_arg'"
1475 if test $ac_must_keep_next = true; then
1476 ac_must_keep_next=false # Got value, back to normal.
1479 *=* | --config-cache | -C | -disable-* | --disable-* \
1480 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1481 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1482 | -with-* | --with-* | -without-* | --without-* | --x)
1483 case "$ac_configure_args0 " in
1484 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1487 -* ) ac_must_keep_next=true ;;
1490 as_fn_append ac_configure_args " '$ac_arg'"
1495 { ac_configure_args0=; unset ac_configure_args0;}
1496 { ac_configure_args1=; unset ac_configure_args1;}
1498 # When interrupted or exit'd, cleanup temporary files, and complete
1499 # config.log. We remove comments because anyway the quotes in there
1500 # would cause problems or look ugly.
1501 # WARNING: Use '\'' to represent an apostrophe within the trap.
1502 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1503 trap 'exit_status=$?
1504 # Save into config.log some information that might help in debugging.
1509 ## ---------------- ##
1510 ## Cache variables. ##
1511 ## ---------------- ##
1514 # The following way of writing the cache mishandles newlines in values,
1516 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1517 eval ac_val=\$$ac_var
1521 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1522 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1525 _ | IFS | as_nl) ;; #(
1526 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1527 *) { eval $ac_var=; unset $ac_var;} ;;
1532 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1533 *${as_nl}ac_space=\ *)
1535 "s/'\''/'\''\\\\'\'''\''/g;
1536 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1539 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1547 ## ----------------- ##
1548 ## Output variables. ##
1549 ## ----------------- ##
1552 for ac_var in $ac_subst_vars
1554 eval ac_val=\$$ac_var
1556 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1558 $as_echo "$ac_var='\''$ac_val'\''"
1562 if test -n "$ac_subst_files"; then
1564 ## ------------------- ##
1565 ## File substitutions. ##
1566 ## ------------------- ##
1569 for ac_var in $ac_subst_files
1571 eval ac_val=\$$ac_var
1573 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1575 $as_echo "$ac_var='\''$ac_val'\''"
1580 if test -s confdefs.h; then
1590 test "$ac_signal" != 0 &&
1591 $as_echo "$as_me: caught signal $ac_signal"
1592 $as_echo "$as_me: exit $exit_status"
1594 rm -f core *.core core.conftest.* &&
1595 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1598 for ac_signal in 1 2 13 15; do
1599 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1603 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1604 rm -f -r conftest* confdefs.h
1606 $as_echo "/* confdefs.h */" > confdefs.h
1608 # Predefined preprocessor variables.
1610 cat >>confdefs.h <<_ACEOF
1611 @%:@define PACKAGE_NAME "$PACKAGE_NAME"
1614 cat >>confdefs.h <<_ACEOF
1615 @%:@define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1618 cat >>confdefs.h <<_ACEOF
1619 @%:@define PACKAGE_VERSION "$PACKAGE_VERSION"
1622 cat >>confdefs.h <<_ACEOF
1623 @%:@define PACKAGE_STRING "$PACKAGE_STRING"
1626 cat >>confdefs.h <<_ACEOF
1627 @%:@define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1630 cat >>confdefs.h <<_ACEOF
1631 @%:@define PACKAGE_URL "$PACKAGE_URL"
1635 # Let the site file select an alternate cache file if it wants to.
1636 # Prefer an explicitly selected file to automatically selected ones.
1639 if test -n "$CONFIG_SITE"; then
1640 ac_site_file1=$CONFIG_SITE
1641 elif test "x$prefix" != xNONE; then
1642 ac_site_file1=$prefix/share/config.site
1643 ac_site_file2=$prefix/etc/config.site
1645 ac_site_file1=$ac_default_prefix/share/config.site
1646 ac_site_file2=$ac_default_prefix/etc/config.site
1648 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1650 test "x$ac_site_file" = xNONE && continue
1651 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1652 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1653 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1654 sed 's/^/| /' "$ac_site_file" >&5
1659 if test -r "$cache_file"; then
1660 # Some versions of bash will fail to source /dev/null (special files
1661 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1662 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1663 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1664 $as_echo "$as_me: loading cache $cache_file" >&6;}
1666 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1667 *) . "./$cache_file";;
1671 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1672 $as_echo "$as_me: creating cache $cache_file" >&6;}
1676 # Check that the precious variables saved in the cache have kept the same
1678 ac_cache_corrupted=false
1679 for ac_var in $ac_precious_vars; do
1680 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1681 eval ac_new_set=\$ac_env_${ac_var}_set
1682 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1683 eval ac_new_val=\$ac_env_${ac_var}_value
1684 case $ac_old_set,$ac_new_set in
1686 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1687 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1688 ac_cache_corrupted=: ;;
1690 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1691 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1692 ac_cache_corrupted=: ;;
1695 if test "x$ac_old_val" != "x$ac_new_val"; then
1696 # differences in whitespace do not lead to failure.
1697 ac_old_val_w=`echo x $ac_old_val`
1698 ac_new_val_w=`echo x $ac_new_val`
1699 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1700 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1701 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1702 ac_cache_corrupted=:
1704 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1705 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1706 eval $ac_var=\$ac_old_val
1708 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1709 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1710 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1711 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1714 # Pass precious variables to config.status.
1715 if test "$ac_new_set" = set; then
1717 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1718 *) ac_arg=$ac_var=$ac_new_val ;;
1720 case " $ac_configure_args " in
1721 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1722 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1726 if $ac_cache_corrupted; then
1727 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1728 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1729 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1730 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1731 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1733 ## -------------------- ##
1734 ## Main body of script. ##
1735 ## -------------------- ##
1738 ac_cpp='$CPP $CPPFLAGS'
1739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1748 am__api_version='1.11'
1751 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1752 for ac_t in install-sh install.sh shtool; do
1753 if test -f "$ac_dir/$ac_t"; then
1755 ac_install_sh="$ac_aux_dir/$ac_t -c"
1760 if test -z "$ac_aux_dir"; then
1761 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1764 # These three variables are undocumented and unsupported,
1765 # and are intended to be withdrawn in a future Autoconf release.
1766 # They can cause serious problems if a builder's source tree is in a directory
1767 # whose full name contains unusual characters.
1768 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1769 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1770 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1773 # Find a good install program. We prefer a C program (faster),
1774 # so one script is as good as another. But avoid the broken or
1775 # incompatible versions:
1776 # SysV /etc/install, /usr/sbin/install
1777 # SunOS /usr/etc/install
1778 # IRIX /sbin/install
1780 # AmigaOS /C/install, which installs bootblocks on floppy discs
1781 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1782 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1783 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1784 # OS/2's system install, which has a completely different semantic
1785 # ./install, which can be erroneously created by make from ./install.sh.
1786 # Reject install programs that cannot install multiple files.
1787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1788 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1789 if test -z "$INSTALL"; then
1790 if test "${ac_cv_path_install+set}" = set; then :
1791 $as_echo_n "(cached) " >&6
1793 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1797 test -z "$as_dir" && as_dir=.
1798 # Account for people who put trailing slashes in PATH elements.
1799 case $as_dir/ in @%:@((
1800 ./ | .// | /[cC]/* | \
1801 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1802 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1805 # OSF1 and SCO ODT 3.0 have their own names for install.
1806 # Don't use installbsd from OSF since it installs stuff as root
1808 for ac_prog in ginstall scoinst install; do
1809 for ac_exec_ext in '' $ac_executable_extensions; do
1810 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1811 if test $ac_prog = install &&
1812 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1813 # AIX install. It has an incompatible calling convention.
1815 elif test $ac_prog = install &&
1816 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1817 # program-specific install script used by HP pwplus--don't use.
1820 rm -rf conftest.one conftest.two conftest.dir
1821 echo one > conftest.one
1822 echo two > conftest.two
1824 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1825 test -s conftest.one && test -s conftest.two &&
1826 test -s conftest.dir/conftest.one &&
1827 test -s conftest.dir/conftest.two
1829 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1842 rm -rf conftest.one conftest.two conftest.dir
1845 if test "${ac_cv_path_install+set}" = set; then
1846 INSTALL=$ac_cv_path_install
1848 # As a last resort, use the slow shell script. Don't cache a
1849 # value for INSTALL within a source directory, because that will
1850 # break other packages using the cache if that directory is
1851 # removed, or if the value is a relative name.
1852 INSTALL=$ac_install_sh
1855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1856 $as_echo "$INSTALL" >&6; }
1858 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1859 # It thinks the first close brace ends the variable substitution.
1860 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1862 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1864 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1867 $as_echo_n "checking whether build environment is sane... " >&6; }
1870 echo timestamp > conftest.file
1871 # Reject unsafe characters in $srcdir or the absolute working directory
1872 # name. Accept space and tab only in the latter.
1876 *[\\\"\#\$\&\'\`$am_lf]*)
1877 as_fn_error "unsafe absolute working directory name" "$LINENO" 5;;
1880 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
1881 as_fn_error "unsafe srcdir value: \`$srcdir'" "$LINENO" 5;;
1884 # Do `set' in a subshell so we don't clobber the current shell's
1885 # arguments. Must try -L first in case configure is actually a
1886 # symlink; some systems play weird games with the mod time of symlinks
1887 # (eg FreeBSD returns the mod time of the symlink's containing
1890 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
1891 if test "$*" = "X"; then
1893 set X `ls -t "$srcdir/configure" conftest.file`
1896 if test "$*" != "X $srcdir/configure conftest.file" \
1897 && test "$*" != "X conftest.file $srcdir/configure"; then
1899 # If neither matched, then we have a broken ls. This can happen
1900 # if, for instance, CONFIG_SHELL is bash and it inherits a
1901 # broken ls alias from the environment. This has actually
1902 # happened. Such a system could not be considered "sane".
1903 as_fn_error "ls -t appears to fail. Make sure there is not a broken
1904 alias in your environment" "$LINENO" 5
1907 test "$2" = conftest.file
1913 as_fn_error "newly created file is older than distributed files!
1914 Check your system clock" "$LINENO" 5
1916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
1917 $as_echo "yes" >&6; }
1918 test "$program_prefix" != NONE &&
1919 program_transform_name="s&^&$program_prefix&;$program_transform_name"
1920 # Use a double $ so make ignores it.
1921 test "$program_suffix" != NONE &&
1922 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
1923 # Double any \ or $.
1924 # By default was `s,x,x', remove it if useless.
1925 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
1926 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
1928 # expand $ac_aux_dir to an absolute path
1929 am_aux_dir=`cd $ac_aux_dir && pwd`
1931 if test x"${MISSING+set}" != xset; then
1934 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
1936 MISSING="\${SHELL} $am_aux_dir/missing" ;;
1939 # Use eval to expand $SHELL
1940 if eval "$MISSING --run true"; then
1941 am_missing_run="$MISSING --run "
1944 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`missing' script is too old or missing" >&5
1945 $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
1948 if test x"${install_sh}" != xset; then
1951 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
1953 install_sh="\${SHELL} $am_aux_dir/install-sh"
1957 # Installed binaries are usually stripped using `strip' when the user
1958 # run `make install-strip'. However `strip' might not be the right
1959 # tool to use in cross-compilation environments, therefore Automake
1960 # will honor the `STRIP' environment variable to overrule this program.
1961 if test "$cross_compiling" != no; then
1962 if test -n "$ac_tool_prefix"; then
1963 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
1964 set dummy ${ac_tool_prefix}strip; ac_word=$2
1965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
1966 $as_echo_n "checking for $ac_word... " >&6; }
1967 if test "${ac_cv_prog_STRIP+set}" = set; then :
1968 $as_echo_n "(cached) " >&6
1970 if test -n "$STRIP"; then
1971 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
1973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1977 test -z "$as_dir" && as_dir=.
1978 for ac_exec_ext in '' $ac_executable_extensions; do
1979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
1980 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
1981 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
1990 STRIP=$ac_cv_prog_STRIP
1991 if test -n "$STRIP"; then
1992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
1993 $as_echo "$STRIP" >&6; }
1995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
1996 $as_echo "no" >&6; }
2001 if test -z "$ac_cv_prog_STRIP"; then
2003 # Extract the first word of "strip", so it can be a program name with args.
2004 set dummy strip; ac_word=$2
2005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2006 $as_echo_n "checking for $ac_word... " >&6; }
2007 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then :
2008 $as_echo_n "(cached) " >&6
2010 if test -n "$ac_ct_STRIP"; then
2011 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
2013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2017 test -z "$as_dir" && as_dir=.
2018 for ac_exec_ext in '' $ac_executable_extensions; do
2019 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2020 ac_cv_prog_ac_ct_STRIP="strip"
2021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2030 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
2031 if test -n "$ac_ct_STRIP"; then
2032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
2033 $as_echo "$ac_ct_STRIP" >&6; }
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2036 $as_echo "no" >&6; }
2039 if test "x$ac_ct_STRIP" = x; then
2042 case $cross_compiling:$ac_tool_warned in
2044 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2045 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2046 ac_tool_warned=yes ;;
2051 STRIP="$ac_cv_prog_STRIP"
2055 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
2057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
2058 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
2059 if test -z "$MKDIR_P"; then
2060 if test "${ac_cv_path_mkdir+set}" = set; then :
2061 $as_echo_n "(cached) " >&6
2063 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2064 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
2067 test -z "$as_dir" && as_dir=.
2068 for ac_prog in mkdir gmkdir; do
2069 for ac_exec_ext in '' $ac_executable_extensions; do
2070 { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
2071 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
2072 'mkdir (GNU coreutils) '* | \
2073 'mkdir (coreutils) '* | \
2074 'mkdir (fileutils) '4.1*)
2075 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
2085 test -d ./--version && rmdir ./--version
2086 if test "${ac_cv_path_mkdir+set}" = set; then
2087 MKDIR_P="$ac_cv_path_mkdir -p"
2089 # As a last resort, use the slow shell script. Don't cache a
2090 # value for MKDIR_P within a source directory, because that will
2091 # break other packages using the cache if that directory is
2092 # removed, or if the value is a relative name.
2093 MKDIR_P="$ac_install_sh -d"
2096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
2097 $as_echo "$MKDIR_P" >&6; }
2101 [\\/$]* | ?:[\\/]*) ;;
2102 */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
2105 for ac_prog in gawk mawk nawk awk
2107 # Extract the first word of "$ac_prog", so it can be a program name with args.
2108 set dummy $ac_prog; ac_word=$2
2109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2110 $as_echo_n "checking for $ac_word... " >&6; }
2111 if test "${ac_cv_prog_AWK+set}" = set; then :
2112 $as_echo_n "(cached) " >&6
2114 if test -n "$AWK"; then
2115 ac_cv_prog_AWK="$AWK" # Let the user override the test.
2117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2121 test -z "$as_dir" && as_dir=.
2122 for ac_exec_ext in '' $ac_executable_extensions; do
2123 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2124 ac_cv_prog_AWK="$ac_prog"
2125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2135 if test -n "$AWK"; then
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
2137 $as_echo "$AWK" >&6; }
2139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2140 $as_echo "no" >&6; }
2144 test -n "$AWK" && break
2147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2148 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2150 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2151 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then :
2152 $as_echo_n "(cached) " >&6
2154 cat >conftest.make <<\_ACEOF
2157 @echo '@@@%%%=$(MAKE)=@@@%%%'
2159 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
2160 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2162 eval ac_cv_prog_make_${ac_make}_set=yes;;
2164 eval ac_cv_prog_make_${ac_make}_set=no;;
2168 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2170 $as_echo "yes" >&6; }
2173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2174 $as_echo "no" >&6; }
2175 SET_MAKE="MAKE=${MAKE-make}"
2178 rm -rf .tst 2>/dev/null
2179 mkdir .tst 2>/dev/null
2180 if test -d .tst; then
2185 rmdir .tst 2>/dev/null
2187 if test "`cd $srcdir && pwd`" != "`pwd`"; then
2188 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
2189 # is not polluted with repeated "-I."
2190 am__isrc=' -I$(srcdir)'
2191 # test to see if srcdir already configured
2192 if test -f $srcdir/config.status; then
2193 as_fn_error "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2197 # test whether we have cygpath
2198 if test -z "$CYGPATH_W"; then
2199 if (cygpath --version) >/dev/null 2>/dev/null; then
2200 CYGPATH_W='cygpath -w'
2207 # Define the identity of the package.
2212 cat >>confdefs.h <<_ACEOF
2213 @%:@define PACKAGE "$PACKAGE"
2217 cat >>confdefs.h <<_ACEOF
2218 @%:@define VERSION "$VERSION"
2221 # Some tools Automake needs.
2223 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
2226 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
2229 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
2232 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
2235 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
2237 # We need awk for the "check" target. The system "awk" is bad on
2239 # Always define AMTAR for backward compatibility.
2241 AMTAR=${AMTAR-"${am_missing_run}tar"}
2243 am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
2251 ac_cpp='$CPP $CPPFLAGS'
2252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2255 if test -n "$ac_tool_prefix"; then
2256 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2257 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2259 $as_echo_n "checking for $ac_word... " >&6; }
2260 if test "${ac_cv_prog_CC+set}" = set; then :
2261 $as_echo_n "(cached) " >&6
2263 if test -n "$CC"; then
2264 ac_cv_prog_CC="$CC" # Let the user override the test.
2266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2270 test -z "$as_dir" && as_dir=.
2271 for ac_exec_ext in '' $ac_executable_extensions; do
2272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2273 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2274 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2284 if test -n "$CC"; then
2285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2286 $as_echo "$CC" >&6; }
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2289 $as_echo "no" >&6; }
2294 if test -z "$ac_cv_prog_CC"; then
2296 # Extract the first word of "gcc", so it can be a program name with args.
2297 set dummy gcc; ac_word=$2
2298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2299 $as_echo_n "checking for $ac_word... " >&6; }
2300 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2301 $as_echo_n "(cached) " >&6
2303 if test -n "$ac_ct_CC"; then
2304 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2306 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2310 test -z "$as_dir" && as_dir=.
2311 for ac_exec_ext in '' $ac_executable_extensions; do
2312 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2313 ac_cv_prog_ac_ct_CC="gcc"
2314 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2323 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2324 if test -n "$ac_ct_CC"; then
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2326 $as_echo "$ac_ct_CC" >&6; }
2328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2329 $as_echo "no" >&6; }
2332 if test "x$ac_ct_CC" = x; then
2335 case $cross_compiling:$ac_tool_warned in
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2339 ac_tool_warned=yes ;;
2347 if test -z "$CC"; then
2348 if test -n "$ac_tool_prefix"; then
2349 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2350 set dummy ${ac_tool_prefix}cc; ac_word=$2
2351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2352 $as_echo_n "checking for $ac_word... " >&6; }
2353 if test "${ac_cv_prog_CC+set}" = set; then :
2354 $as_echo_n "(cached) " >&6
2356 if test -n "$CC"; then
2357 ac_cv_prog_CC="$CC" # Let the user override the test.
2359 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2363 test -z "$as_dir" && as_dir=.
2364 for ac_exec_ext in '' $ac_executable_extensions; do
2365 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2366 ac_cv_prog_CC="${ac_tool_prefix}cc"
2367 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2377 if test -n "$CC"; then
2378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2379 $as_echo "$CC" >&6; }
2381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2382 $as_echo "no" >&6; }
2388 if test -z "$CC"; then
2389 # Extract the first word of "cc", so it can be a program name with args.
2390 set dummy cc; ac_word=$2
2391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2392 $as_echo_n "checking for $ac_word... " >&6; }
2393 if test "${ac_cv_prog_CC+set}" = set; then :
2394 $as_echo_n "(cached) " >&6
2396 if test -n "$CC"; then
2397 ac_cv_prog_CC="$CC" # Let the user override the test.
2400 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2404 test -z "$as_dir" && as_dir=.
2405 for ac_exec_ext in '' $ac_executable_extensions; do
2406 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2407 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2408 ac_prog_rejected=yes
2412 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2419 if test $ac_prog_rejected = yes; then
2420 # We found a bogon in the path, so make sure we never use it.
2421 set dummy $ac_cv_prog_CC
2423 if test $@%:@ != 0; then
2424 # We chose a different compiler from the bogus one.
2425 # However, it has the same basename, so the bogon will be chosen
2426 # first if we set CC to just the basename; use the full file name.
2428 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2434 if test -n "$CC"; then
2435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2436 $as_echo "$CC" >&6; }
2438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2439 $as_echo "no" >&6; }
2444 if test -z "$CC"; then
2445 if test -n "$ac_tool_prefix"; then
2446 for ac_prog in cl.exe
2448 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2449 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2451 $as_echo_n "checking for $ac_word... " >&6; }
2452 if test "${ac_cv_prog_CC+set}" = set; then :
2453 $as_echo_n "(cached) " >&6
2455 if test -n "$CC"; then
2456 ac_cv_prog_CC="$CC" # Let the user override the test.
2458 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2462 test -z "$as_dir" && as_dir=.
2463 for ac_exec_ext in '' $ac_executable_extensions; do
2464 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2465 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2466 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2476 if test -n "$CC"; then
2477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2478 $as_echo "$CC" >&6; }
2480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2481 $as_echo "no" >&6; }
2485 test -n "$CC" && break
2488 if test -z "$CC"; then
2490 for ac_prog in cl.exe
2492 # Extract the first word of "$ac_prog", so it can be a program name with args.
2493 set dummy $ac_prog; ac_word=$2
2494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2495 $as_echo_n "checking for $ac_word... " >&6; }
2496 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then :
2497 $as_echo_n "(cached) " >&6
2499 if test -n "$ac_ct_CC"; then
2500 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2502 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2506 test -z "$as_dir" && as_dir=.
2507 for ac_exec_ext in '' $ac_executable_extensions; do
2508 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
2509 ac_cv_prog_ac_ct_CC="$ac_prog"
2510 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2519 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2520 if test -n "$ac_ct_CC"; then
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2522 $as_echo "$ac_ct_CC" >&6; }
2524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2525 $as_echo "no" >&6; }
2529 test -n "$ac_ct_CC" && break
2532 if test "x$ac_ct_CC" = x; then
2535 case $cross_compiling:$ac_tool_warned in
2537 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2538 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2539 ac_tool_warned=yes ;;
2548 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2549 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2550 as_fn_error "no acceptable C compiler found in \$PATH
2551 See \`config.log' for more details." "$LINENO" 5; }
2553 # Provide some information about the compiler.
2554 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2557 for ac_option in --version -v -V -qversion; do
2558 { { ac_try="$ac_compiler $ac_option >&5"
2560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2561 *) ac_try_echo=$ac_try;;
2563 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2564 $as_echo "$ac_try_echo"; } >&5
2565 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2567 if test -s conftest.err; then
2569 ... rest of stderr output deleted ...
2570 10q' conftest.err >conftest.er1
2571 cat conftest.er1 >&5
2573 rm -f conftest.er1 conftest.err
2574 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2575 test $ac_status = 0; }
2578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2579 /* end confdefs.h. */
2589 ac_clean_files_save=$ac_clean_files
2590 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2591 # Try to create an executable without -o first, disregard a.out.
2592 # It will help us diagnose broken compilers, and finding out an intuition
2594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2595 $as_echo_n "checking whether the C compiler works... " >&6; }
2596 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2598 # The possible output files:
2599 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2602 for ac_file in $ac_files
2605 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2606 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2611 if { { ac_try="$ac_link_default"
2613 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2614 *) ac_try_echo=$ac_try;;
2616 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2617 $as_echo "$ac_try_echo"; } >&5
2618 (eval "$ac_link_default") 2>&5
2620 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2621 test $ac_status = 0; }; then :
2622 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2623 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2624 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2625 # so that the user can short-circuit this test for compilers unknown to
2627 for ac_file in $ac_files ''
2629 test -f "$ac_file" || continue
2631 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2634 # We found the default executable, but exeext='' is most
2638 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2640 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2642 # We set ac_cv_exeext here because the later test for it is not
2643 # safe: cross compilers may not add the suffix if given an `-o'
2644 # argument, so we may need to know it at that point already.
2645 # Even if this section looks crufty: it has the advantage of
2652 test "$ac_cv_exeext" = no && ac_cv_exeext=
2657 if test -z "$ac_file"; then :
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2659 $as_echo "no" >&6; }
2660 $as_echo "$as_me: failed program was:" >&5
2661 sed 's/^/| /' conftest.$ac_ext >&5
2663 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2664 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2665 { as_fn_set_status 77
2666 as_fn_error "C compiler cannot create executables
2667 See \`config.log' for more details." "$LINENO" 5; }; }
2669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2670 $as_echo "yes" >&6; }
2672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2673 $as_echo_n "checking for C compiler default output file name... " >&6; }
2674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2675 $as_echo "$ac_file" >&6; }
2676 ac_exeext=$ac_cv_exeext
2678 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2679 ac_clean_files=$ac_clean_files_save
2680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2681 $as_echo_n "checking for suffix of executables... " >&6; }
2682 if { { ac_try="$ac_link"
2684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2685 *) ac_try_echo=$ac_try;;
2687 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2688 $as_echo "$ac_try_echo"; } >&5
2689 (eval "$ac_link") 2>&5
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; }; then :
2693 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2694 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2695 # work properly (i.e., refer to `conftest.exe'), while it won't with
2697 for ac_file in conftest.exe conftest conftest.*; do
2698 test -f "$ac_file" || continue
2700 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2701 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2707 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2708 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2709 as_fn_error "cannot compute suffix of executables: cannot compile and link
2710 See \`config.log' for more details." "$LINENO" 5; }
2712 rm -f conftest conftest$ac_cv_exeext
2713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2714 $as_echo "$ac_cv_exeext" >&6; }
2716 rm -f conftest.$ac_ext
2717 EXEEXT=$ac_cv_exeext
2719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2720 /* end confdefs.h. */
2721 @%:@include <stdio.h>
2725 FILE *f = fopen ("conftest.out", "w");
2726 return ferror (f) || fclose (f) != 0;
2732 ac_clean_files="$ac_clean_files conftest.out"
2733 # Check that the compiler produces executables we can run. If not, either
2734 # the compiler is broken, or we cross compile.
2735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2736 $as_echo_n "checking whether we are cross compiling... " >&6; }
2737 if test "$cross_compiling" != yes; then
2738 { { ac_try="$ac_link"
2740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2741 *) ac_try_echo=$ac_try;;
2743 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2744 $as_echo "$ac_try_echo"; } >&5
2745 (eval "$ac_link") 2>&5
2747 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; }
2749 if { ac_try='./conftest$ac_cv_exeext'
2750 { { case "(($ac_try" in
2751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2752 *) ac_try_echo=$ac_try;;
2754 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2755 $as_echo "$ac_try_echo"; } >&5
2756 (eval "$ac_try") 2>&5
2758 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2759 test $ac_status = 0; }; }; then
2762 if test "$cross_compiling" = maybe; then
2765 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2766 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2767 as_fn_error "cannot run C compiled programs.
2768 If you meant to cross compile, use \`--host'.
2769 See \`config.log' for more details." "$LINENO" 5; }
2773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2774 $as_echo "$cross_compiling" >&6; }
2776 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2777 ac_clean_files=$ac_clean_files_save
2778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2779 $as_echo_n "checking for suffix of object files... " >&6; }
2780 if test "${ac_cv_objext+set}" = set; then :
2781 $as_echo_n "(cached) " >&6
2783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2784 /* end confdefs.h. */
2794 rm -f conftest.o conftest.obj
2795 if { { ac_try="$ac_compile"
2797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2798 *) ac_try_echo=$ac_try;;
2800 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2801 $as_echo "$ac_try_echo"; } >&5
2802 (eval "$ac_compile") 2>&5
2804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2805 test $ac_status = 0; }; then :
2806 for ac_file in conftest.o conftest.obj conftest.*; do
2807 test -f "$ac_file" || continue;
2809 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2810 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2815 $as_echo "$as_me: failed program was:" >&5
2816 sed 's/^/| /' conftest.$ac_ext >&5
2818 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2819 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2820 as_fn_error "cannot compute suffix of object files: cannot compile
2821 See \`config.log' for more details." "$LINENO" 5; }
2823 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2826 $as_echo "$ac_cv_objext" >&6; }
2827 OBJEXT=$ac_cv_objext
2829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2830 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2831 if test "${ac_cv_c_compiler_gnu+set}" = set; then :
2832 $as_echo_n "(cached) " >&6
2834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2835 /* end confdefs.h. */
2848 if ac_fn_c_try_compile "$LINENO"; then :
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2858 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2859 if test $ac_compiler_gnu = yes; then
2864 ac_test_CFLAGS=${CFLAGS+set}
2865 ac_save_CFLAGS=$CFLAGS
2866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2867 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2868 if test "${ac_cv_prog_cc_g+set}" = set; then :
2869 $as_echo_n "(cached) " >&6
2871 ac_save_c_werror_flag=$ac_c_werror_flag
2872 ac_c_werror_flag=yes
2875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2876 /* end confdefs.h. */
2886 if ac_fn_c_try_compile "$LINENO"; then :
2890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2891 /* end confdefs.h. */
2901 if ac_fn_c_try_compile "$LINENO"; then :
2904 ac_c_werror_flag=$ac_save_c_werror_flag
2906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2907 /* end confdefs.h. */
2917 if ac_fn_c_try_compile "$LINENO"; then :
2920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2925 ac_c_werror_flag=$ac_save_c_werror_flag
2927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2928 $as_echo "$ac_cv_prog_cc_g" >&6; }
2929 if test "$ac_test_CFLAGS" = set; then
2930 CFLAGS=$ac_save_CFLAGS
2931 elif test $ac_cv_prog_cc_g = yes; then
2932 if test "$GCC" = yes; then
2938 if test "$GCC" = yes; then
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2945 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2946 if test "${ac_cv_prog_cc_c89+set}" = set; then :
2947 $as_echo_n "(cached) " >&6
2949 ac_cv_prog_cc_c89=no
2951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2952 /* end confdefs.h. */
2955 #include <sys/types.h>
2956 #include <sys/stat.h>
2957 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2958 struct buf { int x; };
2959 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2960 static char *e (p, i)
2966 static char *f (char * (*g) (char **, int), char **p, ...)
2971 s = g (p, va_arg (v,int));
2976 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2977 function prototypes and stuff, but not '\xHH' hex character constants.
2978 These don't provoke an error unfortunately, instead are silently treated
2979 as 'x'. The following induces an error, until -std is added to get
2980 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2981 array size at least. It's necessary to write '\x00'==0 to get something
2982 that's true only with -std. */
2983 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2985 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2986 inside strings and character constants. */
2988 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2990 int test (int i, double x);
2991 struct s1 {int (*f) (int a);};
2992 struct s2 {int (*f) (double a);};
2993 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2999 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
3004 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
3005 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
3007 CC="$ac_save_CC $ac_arg"
3008 if ac_fn_c_try_compile "$LINENO"; then :
3009 ac_cv_prog_cc_c89=$ac_arg
3011 rm -f core conftest.err conftest.$ac_objext
3012 test "x$ac_cv_prog_cc_c89" != "xno" && break
3014 rm -f conftest.$ac_ext
3019 case "x$ac_cv_prog_cc_c89" in
3021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
3022 $as_echo "none needed" >&6; } ;;
3024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
3025 $as_echo "unsupported" >&6; } ;;
3027 CC="$CC $ac_cv_prog_cc_c89"
3028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
3029 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
3031 if test "x$ac_cv_prog_cc_c89" != xno; then :
3036 ac_cpp='$CPP $CPPFLAGS'
3037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3040 DEPDIR="${am__leading_dot}deps"
3042 ac_config_commands="$ac_config_commands depfiles"
3045 am_make=${MAKE-make}
3046 cat > confinc << 'END'
3048 @echo this is the am__doit target
3051 # If we don't find an include directive, just comment out the code.
3052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for style of include used by $am_make" >&5
3053 $as_echo_n "checking for style of include used by $am_make... " >&6; }
3057 # First try GNU make style include.
3058 echo "include confinc" > confmf
3059 # Ignore all kinds of additional output from `make'.
3060 case `$am_make -s -f confmf 2> /dev/null` in #(
3061 *the\ am__doit\ target*)
3067 # Now try BSD make style include.
3068 if test "$am__include" = "#"; then
3069 echo '.include "confinc"' > confmf
3070 case `$am_make -s -f confmf 2> /dev/null` in #(
3071 *the\ am__doit\ target*)
3072 am__include=.include
3080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $_am_result" >&5
3081 $as_echo "$_am_result" >&6; }
3082 rm -f confinc confmf
3084 @%:@ Check whether --enable-dependency-tracking was given.
3085 if test "${enable_dependency_tracking+set}" = set; then :
3086 enableval=$enable_dependency_tracking;
3089 if test "x$enable_dependency_tracking" != xno; then
3090 am_depcomp="$ac_aux_dir/depcomp"
3093 if test "x$enable_dependency_tracking" != xno; then
3103 depcc="$CC" am_compiler_list=
3105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dependency style of $depcc" >&5
3106 $as_echo_n "checking dependency style of $depcc... " >&6; }
3107 if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then :
3108 $as_echo_n "(cached) " >&6
3110 if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
3111 # We make a subdir and do the tests there. Otherwise we can end up
3112 # making bogus files that we don't know about and never remove. For
3113 # instance it was reported that on HP-UX the gcc test will end up
3114 # making a dummy file named `D' -- because `-MD' means `put the output
3117 # Copy depcomp to subdir because otherwise we won't find it if we're
3118 # using a relative directory.
3119 cp "$am_depcomp" conftest.dir
3121 # We will build objects and dependencies in a subdirectory because
3122 # it helps to detect inapplicable dependency modes. For instance
3123 # both Tru64's cc and ICC support -MD to output dependencies as a
3124 # side effect of compilation, but ICC will put the dependencies in
3125 # the current directory while Tru64 will put them in the object
3129 am_cv_CC_dependencies_compiler_type=none
3130 if test "$am_compiler_list" = ""; then
3131 am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
3134 case " $depcc " in #(
3135 *\ -arch\ *\ -arch\ *) am__universal=true ;;
3138 for depmode in $am_compiler_list; do
3139 # Setup a source with many dependencies, because some compilers
3140 # like to wrap large dependency lists on column 80 (with \), and
3141 # we should not choose a depcomp mode which is confused by this.
3143 # We need to recreate these files for each test, as the compiler may
3144 # overwrite some of them when testing with obscure command lines.
3145 # This happens at least with the AIX C compiler.
3147 for i in 1 2 3 4 5 6; do
3148 echo '#include "conftst'$i'.h"' >> sub/conftest.c
3149 # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
3150 # Solaris 8's {/usr,}/bin/sh.
3151 touch sub/conftst$i.h
3153 echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
3155 # We check with `-c' and `-o' for the sake of the "dashmstdout"
3156 # mode. It turns out that the SunPro C++ compiler does not properly
3157 # handle `-M -o', and we need to detect this. Also, some Intel
3158 # versions had trouble with output in subdirs
3159 am__obj=sub/conftest.${OBJEXT-o}
3160 am__minus_obj="-o $am__obj"
3163 # This depmode causes a compiler race in universal mode.
3164 test "$am__universal" = false || continue
3167 # after this tag, mechanisms are not by side-effect, so they'll
3168 # only be used when explicitly requested
3169 if test "x$enable_dependency_tracking" = xyes; then
3175 msvisualcpp | msvcmsys)
3176 # This compiler won't grok `-c -o', but also, the minuso test has
3177 # not run yet. These depmodes are late enough in the game, and
3178 # so weak that their functioning should not be impacted.
3179 am__obj=conftest.${OBJEXT-o}
3184 if depmode=$depmode \
3185 source=sub/conftest.c object=$am__obj \
3186 depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
3187 $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
3188 >/dev/null 2>conftest.err &&
3189 grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
3190 grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
3191 grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
3192 ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
3193 # icc doesn't choke on unknown options, it will just issue warnings
3194 # or remarks (even with -Werror). So we grep stderr for any message
3195 # that says an option was ignored or not supported.
3196 # When given -MP, icc 7.0 and 7.1 complain thusly:
3197 # icc: Command line warning: ignoring option '-M'; no argument required
3198 # The diagnosis changed in icc 8.0:
3199 # icc: Command line remark: option '-MP' not supported
3200 if (grep 'ignoring option' conftest.err ||
3201 grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
3202 am_cv_CC_dependencies_compiler_type=$depmode
3211 am_cv_CC_dependencies_compiler_type=none
3215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_CC_dependencies_compiler_type" >&5
3216 $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
3217 CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
3220 test "x$enable_dependency_tracking" != xno \
3221 && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
3223 am__fastdepCC_FALSE='#'
3225 am__fastdepCC_TRUE='#'
3226 am__fastdepCC_FALSE=
3230 if test "x$CC" != xcc; then
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC and cc understand -c and -o together" >&5
3232 $as_echo_n "checking whether $CC and cc understand -c and -o together... " >&6; }
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether cc understands -c and -o together" >&5
3235 $as_echo_n "checking whether cc understands -c and -o together... " >&6; }
3237 set dummy $CC; ac_cc=`$as_echo "$2" |
3238 sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3239 if { as_var=ac_cv_prog_cc_${ac_cc}_c_o; eval "test \"\${$as_var+set}\" = set"; }; then :
3240 $as_echo_n "(cached) " >&6
3242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3243 /* end confdefs.h. */
3253 # Make sure it works both with $CC and with simple cc.
3254 # We do the test twice because some compilers refuse to overwrite an
3255 # existing .o file with -o, though they will create one.
3256 ac_try='$CC -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3258 if { { case "(($ac_try" in
3259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3260 *) ac_try_echo=$ac_try;;
3262 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3263 $as_echo "$ac_try_echo"; } >&5
3264 (eval "$ac_try") 2>&5
3266 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3267 test $ac_status = 0; } &&
3268 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3269 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3270 *) ac_try_echo=$ac_try;;
3272 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3273 $as_echo "$ac_try_echo"; } >&5
3274 (eval "$ac_try") 2>&5
3276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3277 test $ac_status = 0; };
3279 eval ac_cv_prog_cc_${ac_cc}_c_o=yes
3280 if test "x$CC" != xcc; then
3281 # Test first that cc exists at all.
3282 if { ac_try='cc -c conftest.$ac_ext >&5'
3283 { { case "(($ac_try" in
3284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3285 *) ac_try_echo=$ac_try;;
3287 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3288 $as_echo "$ac_try_echo"; } >&5
3289 (eval "$ac_try") 2>&5
3291 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3292 test $ac_status = 0; }; }; then
3293 ac_try='cc -c conftest.$ac_ext -o conftest2.$ac_objext >&5'
3295 if { { case "(($ac_try" in
3296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3297 *) ac_try_echo=$ac_try;;
3299 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3300 $as_echo "$ac_try_echo"; } >&5
3301 (eval "$ac_try") 2>&5
3303 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3304 test $ac_status = 0; } &&
3305 test -f conftest2.$ac_objext && { { case "(($ac_try" in
3306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3307 *) ac_try_echo=$ac_try;;
3309 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3310 $as_echo "$ac_try_echo"; } >&5
3311 (eval "$ac_try") 2>&5
3313 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3314 test $ac_status = 0; };
3319 # cc exists but doesn't like -o.
3320 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3325 eval ac_cv_prog_cc_${ac_cc}_c_o=no
3327 rm -f core conftest*
3330 if eval test \$ac_cv_prog_cc_${ac_cc}_c_o = yes; then
3331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3332 $as_echo "yes" >&6; }
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3335 $as_echo "no" >&6; }
3337 $as_echo "@%:@define NO_MINUS_C_MINUS_O 1" >>confdefs.h
3341 # FIXME: we rely on the cache variable name because
3342 # there is no other way.
3344 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
3345 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
3346 if test "$am_t" != yes; then
3347 # Losing compiler, so override with the script.
3348 # FIXME: It is wrong to rewrite CC.
3349 # But if we don't then we get into trouble of one sort or another.
3350 # A longer-term fix would be to have automake use am__CC in this case,
3351 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
3352 CC="$am_aux_dir/compile $CC"
3357 ac_config_files="$ac_config_files Makefile src/Makefile"
3359 cat >confcache <<\_ACEOF
3360 # This file is a shell script that caches the results of configure
3361 # tests run on this system so they can be shared between configure
3362 # scripts and configure runs, see configure's option --config-cache.
3363 # It is not useful on other systems. If it contains results you don't
3364 # want to keep, you may remove or edit it.
3366 # config.status only pays attention to the cache file if you give it
3367 # the --recheck option to rerun configure.
3369 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3370 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3375 # The following way of writing the cache mishandles newlines in values,
3376 # but we know of no workaround that is simple, portable, and efficient.
3377 # So, we kill variables containing newlines.
3378 # Ultrix sh set writes to stderr and can't be redirected directly,
3379 # and sets the high bit in the cache file unless we assign to the vars.
3381 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3382 eval ac_val=\$$ac_var
3386 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3387 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3390 _ | IFS | as_nl) ;; #(
3391 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3392 *) { eval $ac_var=; unset $ac_var;} ;;
3398 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3399 *${as_nl}ac_space=\ *)
3400 # `set' does not quote correctly, so add quotes: double-quote
3401 # substitution turns \\\\ into \\, and sed turns \\ into \.
3404 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3407 # `set' quotes correctly as required by POSIX, so do not add quotes.
3408 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3417 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3419 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3421 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3422 if test -w "$cache_file"; then
3423 test "x$cache_file" != "x/dev/null" &&
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3425 $as_echo "$as_me: updating cache $cache_file" >&6;}
3426 cat confcache >$cache_file
3428 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3429 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3434 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3435 # Let make expand exec_prefix.
3436 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3438 # Transform confdefs.h into DEFS.
3439 # Protect against shell expansion while executing Makefile rules.
3440 # Protect against Makefile macro expansion.
3442 # If the first sed substitution is executed (which looks for macros that
3443 # take arguments), then branch to the quote section. Otherwise,
3444 # look for a macro that doesn't take arguments.
3454 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3456 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3460 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3473 DEFS=`sed -n "$ac_script" confdefs.h`
3478 for ac_i in : $LIB@&t@OBJS; do test "x$ac_i" = x: && continue
3479 # 1. Remove the extension, and $U if already installed.
3480 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3481 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3482 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3483 # will be set to the directory where LIBOBJS objects are built.
3484 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3485 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3487 LIB@&t@OBJS=$ac_libobjs
3489 LTLIBOBJS=$ac_ltlibobjs
3492 if test -n "$EXEEXT"; then
3494 am__EXEEXT_FALSE='#'
3500 if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
3501 as_fn_error "conditional \"AMDEP\" was never defined.
3502 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3504 if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
3505 as_fn_error "conditional \"am__fastdepCC\" was never defined.
3506 Usually this means the macro was only invoked conditionally." "$LINENO" 5
3509 : ${CONFIG_STATUS=./config.status}
3511 ac_clean_files_save=$ac_clean_files
3512 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3514 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3516 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3518 # Generated by $as_me.
3519 # Run this file to recreate the current configuration.
3520 # Compiler output produced by configure, useful for debugging
3521 # configure, is in config.log if it exists.
3527 SHELL=\${CONFIG_SHELL-$SHELL}
3530 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3531 ## -------------------- ##
3532 ## M4sh Initialization. ##
3533 ## -------------------- ##
3535 # Be more Bourne compatible
3536 DUALCASE=1; export DUALCASE # for MKS sh
3537 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3540 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3541 # is contrary to our usage. Disable this feature.
3542 alias -g '${1+"$@"}'='"$@"'
3543 setopt NO_GLOB_SUBST
3545 case `(set -o) 2>/dev/null` in @%:@(
3547 set -o posix ;; @%:@(
3557 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3558 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3559 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3560 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3561 # Prefer a ksh shell builtin over an external printf program on Solaris,
3562 # but without wasting forks for bash or zsh.
3563 if test -z "$BASH_VERSION$ZSH_VERSION" \
3564 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3565 as_echo='print -r --'
3566 as_echo_n='print -rn --'
3567 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3568 as_echo='printf %s\n'
3569 as_echo_n='printf %s'
3571 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3572 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3573 as_echo_n='/usr/ucb/echo -n'
3575 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3576 as_echo_n_body='eval
3580 expr "X$arg" : "X\\(.*\\)$as_nl";
3581 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3583 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3585 export as_echo_n_body
3586 as_echo_n='sh -c $as_echo_n_body as_echo'
3589 as_echo='sh -c $as_echo_body as_echo'
3592 # The user is always right.
3593 if test "${PATH_SEPARATOR+set}" != set; then
3595 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3596 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3603 # We need space, tab and new line, in precisely that order. Quoting is
3604 # there to prevent editors from complaining about space-tab.
3605 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3606 # splitting by setting IFS to empty value.)
3609 # Find who we are. Look in the path if we contain no directory separator.
3611 *[\\/]* ) as_myself=$0 ;;
3612 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3616 test -z "$as_dir" && as_dir=.
3617 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3623 # We did not find ourselves, most probably we were run as `sh COMMAND'
3624 # in which case we are not to be found in the path.
3625 if test "x$as_myself" = x; then
3628 if test ! -f "$as_myself"; then
3629 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3633 # Unset variables that we do not need and which cause bugs (e.g. in
3634 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3635 # suppresses any "Segmentation fault" message there. '((' could
3636 # trigger a bug in pdksh 5.2.14.
3637 for as_var in BASH_ENV ENV MAIL MAILPATH
3638 do eval test x\${$as_var+set} = xset \
3639 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3652 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3655 @%:@ as_fn_error ERROR [LINENO LOG_FD]
3656 @%:@ ---------------------------------
3657 @%:@ Output "`basename @S|@0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3658 @%:@ provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3659 @%:@ script with status @S|@?, using 1 if that was 0.
3662 as_status=$?; test $as_status -eq 0 && as_status=1
3664 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3665 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
3667 $as_echo "$as_me: error: $1" >&2
3668 as_fn_exit $as_status
3672 @%:@ as_fn_set_status STATUS
3673 @%:@ -----------------------
3674 @%:@ Set @S|@? to STATUS, without forking.
3678 } @%:@ as_fn_set_status
3680 @%:@ as_fn_exit STATUS
3681 @%:@ -----------------
3682 @%:@ Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3690 @%:@ as_fn_unset VAR
3691 @%:@ ---------------
3692 @%:@ Portably unset VAR.
3695 { eval $1=; unset $1;}
3697 as_unset=as_fn_unset
3698 @%:@ as_fn_append VAR VALUE
3699 @%:@ ----------------------
3700 @%:@ Append the text in VALUE to the end of the definition contained in VAR. Take
3701 @%:@ advantage of any shell optimizations that allow amortized linear growth over
3702 @%:@ repeated appends, instead of the typical quadratic growth present in naive
3703 @%:@ implementations.
3704 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3705 eval 'as_fn_append ()
3716 @%:@ as_fn_arith ARG...
3717 @%:@ ------------------
3718 @%:@ Perform arithmetic evaluation on the ARGs, and store the result in the
3719 @%:@ global @S|@as_val. Take advantage of shells that can avoid forks. The arguments
3720 @%:@ must be portable across @S|@(()) and expr.
3721 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3722 eval 'as_fn_arith ()
3729 as_val=`expr "$@" || test $? -eq 1`
3734 if expr a : '\(a\)' >/dev/null 2>&1 &&
3735 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3741 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3742 as_basename=basename
3747 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3753 as_me=`$as_basename -- "$0" ||
3754 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3755 X"$0" : 'X\(//\)$' \| \
3756 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3758 sed '/^.*\/\([^/][^/]*\)\/*$/{
3772 # Avoid depending upon Character Ranges.
3773 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3774 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3775 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3776 as_cr_digits='0123456789'
3777 as_cr_alnum=$as_cr_Letters$as_cr_digits
3779 ECHO_C= ECHO_N= ECHO_T=
3780 case `echo -n x` in @%:@(((((
3782 case `echo 'xy\c'` in
3783 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3785 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3792 rm -f conf$$ conf$$.exe conf$$.file
3793 if test -d conf$$.dir; then
3794 rm -f conf$$.dir/conf$$.file
3797 mkdir conf$$.dir 2>/dev/null
3799 if (echo >conf$$.file) 2>/dev/null; then
3800 if ln -s conf$$.file conf$$ 2>/dev/null; then
3802 # ... but there are two gotchas:
3803 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3804 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3805 # In both cases, we have to default to `cp -p'.
3806 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3808 elif ln conf$$.file conf$$ 2>/dev/null; then
3816 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3817 rmdir conf$$.dir 2>/dev/null
3822 @%:@ Create "@S|@as_dir" as a directory, including parents if necessary.
3827 -*) as_dir=./$as_dir;;
3829 test -d "$as_dir" || eval $as_mkdir_p || {
3833 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3834 *) as_qdir=$as_dir;;
3836 as_dirs="'$as_qdir' $as_dirs"
3837 as_dir=`$as_dirname -- "$as_dir" ||
3838 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3839 X"$as_dir" : 'X\(//\)[^/]' \| \
3840 X"$as_dir" : 'X\(//\)$' \| \
3841 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3842 $as_echo X"$as_dir" |
3843 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3860 test -d "$as_dir" && break
3862 test -z "$as_dirs" || eval "mkdir $as_dirs"
3863 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
3866 } @%:@ as_fn_mkdir_p
3867 if mkdir -p . 2>/dev/null; then
3868 as_mkdir_p='mkdir -p "$as_dir"'
3870 test -d ./-p && rmdir ./-p
3874 if test -x / >/dev/null 2>&1; then
3877 if ls -dL / >/dev/null 2>&1; then
3884 if test -d "$1"; then
3890 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in @%:@((
3891 ???[sx]*):;;*)false;;esac;fi
3895 as_executable_p=$as_test_x
3897 # Sed expression to map a string onto a valid CPP name.
3898 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3900 # Sed expression to map a string onto a valid variable name.
3901 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3905 ## ----------------------------------- ##
3906 ## Main body of $CONFIG_STATUS script. ##
3907 ## ----------------------------------- ##
3909 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3911 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3912 # Save the log message, to keep $0 and so on meaningful, and to
3913 # report actual input values of CONFIG_FILES etc. instead of their
3914 # values after options handling.
3916 This file was extended by $as_me, which was
3917 generated by GNU Autoconf 2.65. Invocation command line was
3919 CONFIG_FILES = $CONFIG_FILES
3920 CONFIG_HEADERS = $CONFIG_HEADERS
3921 CONFIG_LINKS = $CONFIG_LINKS
3922 CONFIG_COMMANDS = $CONFIG_COMMANDS
3925 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3930 case $ac_config_files in *"
3931 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3937 # Files that config.status was made for.
3938 config_files="$ac_config_files"
3939 config_commands="$ac_config_commands"
3943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3945 \`$as_me' instantiates files and other configuration actions
3946 from templates according to the current configuration. Unless the files
3947 and actions are specified as TAGs, all are instantiated by default.
3949 Usage: $0 [OPTION]... [TAG]...
3951 -h, --help print this help, then exit
3952 -V, --version print version number and configuration settings, then exit
3953 --config print configuration, then exit
3954 -q, --quiet, --silent
3955 do not print progress messages
3956 -d, --debug don't remove temporary files
3957 --recheck update $as_me by reconfiguring in the same conditions
3958 --file=FILE[:TEMPLATE]
3959 instantiate the configuration file FILE
3961 Configuration files:
3964 Configuration commands:
3967 Report bugs to the package provider."
3970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3971 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3974 configured by $0, generated by GNU Autoconf 2.65,
3975 with options \\"\$ac_cs_config\\"
3977 Copyright (C) 2009 Free Software Foundation, Inc.
3978 This config.status script is free software; the Free Software Foundation
3979 gives unlimited permission to copy, distribute and modify it."
3986 test -n "\$AWK" || AWK=awk
3989 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3990 # The default lists apply if the user does not specify any file.
3996 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3997 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
4008 # Handling of the options.
4009 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
4011 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
4012 $as_echo "$ac_cs_version"; exit ;;
4013 --config | --confi | --conf | --con | --co | --c )
4014 $as_echo "$ac_cs_config"; exit ;;
4015 --debug | --debu | --deb | --de | --d | -d )
4017 --file | --fil | --fi | --f )
4020 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
4022 as_fn_append CONFIG_FILES " '$ac_optarg'"
4023 ac_need_defaults=false;;
4024 --he | --h | --help | --hel | -h )
4025 $as_echo "$ac_cs_usage"; exit ;;
4026 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
4027 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4031 -*) as_fn_error "unrecognized option: \`$1'
4032 Try \`$0 --help' for more information." ;;
4034 *) as_fn_append ac_config_targets " $1"
4035 ac_need_defaults=false ;;
4041 ac_configure_extra_args=
4043 if $ac_cs_silent; then
4045 ac_configure_extra_args="$ac_configure_extra_args --silent"
4049 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4050 if \$ac_cs_recheck; then
4051 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4053 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4054 CONFIG_SHELL='$SHELL'
4060 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4064 sed 'h;s/./-/g;s/^.../@%:@@%:@ /;s/...$/ @%:@@%:@/;p;x;p;x' <<_ASBOX
4065 @%:@@%:@ Running $as_me. @%:@@%:@
4071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4075 AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
4079 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4081 # Handling of arguments.
4082 for ac_config_target in $ac_config_targets
4084 case $ac_config_target in
4085 "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
4086 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4087 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
4089 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4094 # If the user did not use the arguments to specify the items to instantiate,
4095 # then the envvar interface is used. Set only those that are not.
4096 # We use the long form for the default assignment because of an extremely
4097 # bizarre bug on SunOS 4.1.3.
4098 if $ac_need_defaults; then
4099 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4100 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
4103 # Have a temporary directory for convenience. Make it in the build tree
4104 # simply because there is no reason against having it here, and in addition,
4105 # creating and moving files from /tmp can sometimes cause problems.
4106 # Hook for its removal unless debugging.
4107 # Note that there is a small window in which the directory will not be cleaned:
4108 # after its creation but before its name has been assigned to `$tmp'.
4112 trap 'exit_status=$?
4113 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
4115 trap 'as_fn_exit 1' 1 2 13 15
4117 # Create a (secure) tmp directory for tmp files.
4120 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4121 test -n "$tmp" && test -d "$tmp"
4124 tmp=./conf$$-$RANDOM
4125 (umask 077 && mkdir "$tmp")
4126 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
4128 # Set up the scripts for CONFIG_FILES section.
4129 # No need to generate them if there are no CONFIG_FILES.
4130 # This happens for instance with `./config.status config.h'.
4131 if test -n "$CONFIG_FILES"; then
4134 ac_cr=`echo X | tr X '\015'`
4135 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4136 # But we know of no other shell where ac_cr would be empty at this
4137 # point, so we can use a bashism as a fallback.
4138 if test "x$ac_cr" = x; then
4139 eval ac_cr=\$\'\\r\'
4141 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4142 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4148 echo 'BEGIN {' >"$tmp/subs1.awk" &&
4153 echo "cat >conf$$subs.awk <<_ACEOF" &&
4154 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4157 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4158 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
4160 for ac_last_try in false false false false false :; do
4161 . ./conf$$subs.sh ||
4162 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4164 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4165 if test $ac_delim_n = $ac_delim_num; then
4167 elif $ac_last_try; then
4168 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
4170 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4175 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4176 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
4180 s/^/S["/; s/!.*/"]=/
4190 s/\(.\{148\}\)..*/\1/
4192 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4197 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4204 s/\(.\{148\}\)..*/\1/
4206 s/["\\]/\\&/g; s/^/"/; s/$/"/
4210 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4215 ' <conf$$subs.awk | sed '
4220 ' >>$CONFIG_STATUS || ac_write_fail=1
4221 rm -f conf$$subs.awk
4222 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4224 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
4225 for (key in S) S_is_set[key] = 1
4231 nfields = split(line, field, "@")
4233 len = length(field[1])
4234 for (i = 2; i < nfields; i++) {
4236 keylen = length(key)
4237 if (S_is_set[key]) {
4239 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4240 len += length(value) + length(field[++i])
4251 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4252 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4253 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4256 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
4257 || as_fn_error "could not setup config files machinery" "$LINENO" 5
4260 # VPATH may cause trouble with some makes, so we remove $(srcdir),
4261 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
4262 # trailing colons and then remove the whole line if VPATH becomes empty
4263 # (actually we leave an empty line to preserve line numbers).
4264 if test "x$srcdir" = x.; then
4265 ac_vpsub='/^[ ]*VPATH[ ]*=/{
4269 s/^\([^=]*=[ ]*\):*/\1/
4275 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4276 fi # test -n "$CONFIG_FILES"
4279 eval set X " :F $CONFIG_FILES :C $CONFIG_COMMANDS"
4284 :[FHLC]) ac_mode=$ac_tag; continue;;
4286 case $ac_mode$ac_tag in
4288 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
4289 :[FH]-) ac_tag=-:-;;
4290 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4307 -) ac_f="$tmp/stdin";;
4308 *) # Look for the file first in the build tree, then in the source tree
4309 # (if the path is not absolute). The absolute path cannot be DOS-style,
4310 # because $ac_f cannot contain `:'.
4314 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4316 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4318 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4319 as_fn_append ac_file_inputs " '$ac_f'"
4322 # Let's still pretend it is `configure' which instantiates (i.e., don't
4323 # use $as_me), people would be surprised to read:
4324 # /* config.h. Generated by config.status. */
4325 configure_input='Generated from '`
4326 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4328 if test x"$ac_file" != x-; then
4329 configure_input="$ac_file. $configure_input"
4330 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4331 $as_echo "$as_me: creating $ac_file" >&6;}
4333 # Neutralize special characters interpreted by sed in replacement strings.
4334 case $configure_input in #(
4335 *\&* | *\|* | *\\* )
4336 ac_sed_conf_input=`$as_echo "$configure_input" |
4337 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4338 *) ac_sed_conf_input=$configure_input;;
4342 *:-:* | *:-) cat >"$tmp/stdin" \
4343 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
4348 ac_dir=`$as_dirname -- "$ac_file" ||
4349 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4350 X"$ac_file" : 'X\(//\)[^/]' \| \
4351 X"$ac_file" : 'X\(//\)$' \| \
4352 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4353 $as_echo X"$ac_file" |
4354 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4371 as_dir="$ac_dir"; as_fn_mkdir_p
4375 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4377 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4378 # A ".." for each directory in $ac_dir_suffix.
4379 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4380 case $ac_top_builddir_sub in
4381 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4382 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4385 ac_abs_top_builddir=$ac_pwd
4386 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4387 # for backward compatibility:
4388 ac_top_builddir=$ac_top_build_prefix
4391 .) # We are building in place.
4393 ac_top_srcdir=$ac_top_builddir_sub
4394 ac_abs_top_srcdir=$ac_pwd ;;
4395 [\\/]* | ?:[\\/]* ) # Absolute name.
4396 ac_srcdir=$srcdir$ac_dir_suffix;
4397 ac_top_srcdir=$srcdir
4398 ac_abs_top_srcdir=$srcdir ;;
4400 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4401 ac_top_srcdir=$ac_top_build_prefix$srcdir
4402 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4404 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4414 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4415 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4419 [\\/$]* | ?:[\\/]* ) ;;
4420 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
4424 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4425 # If the template does not know about datarootdir, expand it.
4426 # FIXME: This hack should be removed a few years after 2.60.
4427 ac_datarootdir_hack=; ac_datarootdir_seen=
4438 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4439 *datarootdir*) ac_datarootdir_seen=yes;;
4440 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4442 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4444 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4445 ac_datarootdir_hack='
4446 s&@datadir@&$datadir&g
4447 s&@docdir@&$docdir&g
4448 s&@infodir@&$infodir&g
4449 s&@localedir@&$localedir&g
4450 s&@mandir@&$mandir&g
4451 s&\\\${datarootdir}&$datarootdir&g' ;;
4455 # Neutralize VPATH when `$srcdir' = `.'.
4456 # Shell code in configure.ac might set extrasub.
4457 # FIXME: do we really want to maintain this feature?
4458 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4459 ac_sed_extra="$ac_vpsub
4462 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4464 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4465 s|@configure_input@|$ac_sed_conf_input|;t t
4466 s&@top_builddir@&$ac_top_builddir_sub&;t t
4467 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4468 s&@srcdir@&$ac_srcdir&;t t
4469 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4470 s&@top_srcdir@&$ac_top_srcdir&;t t
4471 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4472 s&@builddir@&$ac_builddir&;t t
4473 s&@abs_builddir@&$ac_abs_builddir&;t t
4474 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4475 s&@INSTALL@&$ac_INSTALL&;t t
4476 s&@MKDIR_P@&$ac_MKDIR_P&;t t
4477 $ac_datarootdir_hack
4479 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
4480 || as_fn_error "could not create $ac_file" "$LINENO" 5
4482 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4483 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
4484 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4486 which seems to be undefined. Please make sure it is defined." >&5
4487 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4488 which seems to be undefined. Please make sure it is defined." >&2;}
4492 -) cat "$tmp/out" && rm -f "$tmp/out";;
4493 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
4495 || as_fn_error "could not create $ac_file" "$LINENO" 5
4499 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
4500 $as_echo "$as_me: executing $ac_file commands" >&6;}
4505 case $ac_file$ac_mode in
4506 "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
4507 # Autoconf 2.62 quotes --file arguments for eval, but not when files
4508 # are listed without --file. Let's play safe and only enable the eval
4509 # if we detect the quoting.
4510 case $CONFIG_FILES in
4511 *\'*) eval set x "$CONFIG_FILES" ;;
4512 *) set x $CONFIG_FILES ;;
4517 # Strip MF so we end up with the name of the file.
4518 mf=`echo "$mf" | sed -e 's/:.*$//'`
4519 # Check whether this is an Automake generated Makefile or not.
4520 # We used to match only the files named `Makefile.in', but
4521 # some people rename them; so instead we look at the file content.
4522 # Grep'ing the first line is not enough: some people post-process
4523 # each Makefile.in and add a new line on top of each file to say so.
4524 # Grep'ing the whole file is not good either: AIX grep has a line
4525 # limit of 2048, but all sed's we know have understand at least 4000.
4526 if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
4527 dirpart=`$as_dirname -- "$mf" ||
4528 $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4529 X"$mf" : 'X\(//\)[^/]' \| \
4530 X"$mf" : 'X\(//\)$' \| \
4531 X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
4533 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4553 # Extract the definition of DEPDIR, am__include, and am__quote
4554 # from the Makefile without running `make'.
4555 DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
4556 test -z "$DEPDIR" && continue
4557 am__include=`sed -n 's/^am__include = //p' < "$mf"`
4558 test -z "am__include" && continue
4559 am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
4560 # When using ansi2knr, U may be empty or an underscore; expand it
4561 U=`sed -n 's/^U = //p' < "$mf"`
4562 # Find all dependency output files, they are included files with
4563 # $(DEPDIR) in their names. We invoke sed twice because it is the
4564 # simplest approach to changing $(DEPDIR) to its actual value in the
4566 for file in `sed -n "
4567 s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
4568 sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
4569 # Make sure the directory exists.
4570 test -f "$dirpart/$file" && continue
4571 fdir=`$as_dirname -- "$file" ||
4572 $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4573 X"$file" : 'X\(//\)[^/]' \| \
4574 X"$file" : 'X\(//\)$' \| \
4575 X"$file" : 'X\(/\)' \| . 2>/dev/null ||
4577 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4594 as_dir=$dirpart/$fdir; as_fn_mkdir_p
4595 # echo "creating $dirpart/$file"
4596 echo '# dummy' > "$dirpart/$file"
4608 ac_clean_files=$ac_clean_files_save
4610 test $ac_write_fail = 0 ||
4611 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
4614 # configure is writing to config.log, and then calls config.status.
4615 # config.status does its own redirection, appending to config.log.
4616 # Unfortunately, on DOS this fails, as config.log is still kept open
4617 # by configure, so config.status won't be able to write to it; its
4618 # output is simply discarded. So we exec the FD to /dev/null,
4619 # effectively closing config.log, so it can be properly (re)opened and
4620 # appended to by config.status. When coming back to configure, we
4621 # need to make the FD available again.
4622 if test "$no_create" != yes; then
4624 ac_config_status_args=
4625 test "$silent" = yes &&
4626 ac_config_status_args="$ac_config_status_args --quiet"
4628 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4630 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4631 # would make configure fail if this is the last instruction.
4632 $ac_cs_success || as_fn_exit $?
4634 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4635 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4636 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
4640 # FIXME: we rely on the cache variable name because
4641 # there is no other way.
4643 am_cc=`echo $2 | sed 's/[^a-zA-Z0-9_]/_/g;s/^[0-9]/_/'`
4644 eval am_t=\$ac_cv_prog_cc_${am_cc}_c_o
4645 if test "$am_t" != yes; then
4646 # Losing compiler, so override with the script.
4647 # FIXME: It is wrong to rewrite CC.
4648 # But if we don't then we get into trouble of one sort or another.
4649 # A longer-term fix would be to have automake use am__CC in this case,
4650 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4651 CC="$am_aux_dir/compile $CC"