2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69.
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
147 *v*x* | *x*v* ) as_opts=-vx ;;
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 case \`(set -o) 2>/dev/null\` in #(
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
191 exitcode=1; echo positional parameters were not saved.
193 test x\$exitcode = x0 || exit 1
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
199 if (eval "$as_required") 2>/dev/null; then :
204 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
207 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
209 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
212 test -z "$as_dir" && as_dir=.
216 for as_base in sh bash ksh sh5; do
217 # Try only shells that exist, to save several forks.
218 as_shell=$as_dir/$as_base
219 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
220 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
221 CONFIG_SHELL=$as_shell as_have_required=yes
222 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
231 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
232 CONFIG_SHELL=$SHELL as_have_required=yes
237 if test "x$CONFIG_SHELL" != x; then :
239 # We cannot yet assume a decent shell, so we have to provide a
240 # neutralization value for shells without unset; and this also
241 # works around shells that cannot unset nonexistent variables.
242 # Preserve -v and -x to the replacement shell.
245 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
247 *v*x* | *x*v* ) as_opts=-vx ;;
252 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
253 # Admittedly, this is quite paranoid, since all the known shells bail
254 # out after a failed `exec'.
255 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 if test x$as_have_required = xno; then :
260 $as_echo "$0: This script requires a shell more modern than all"
261 $as_echo "$0: the shells that I found on your system."
262 if test x${ZSH_VERSION+set} = xset ; then
263 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
264 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
266 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
267 $0: including any error possibly output before this
268 $0: message. Then install a modern shell, or manually run
269 $0: the script under such a shell if you do have one."
275 SHELL=${CONFIG_SHELL-/bin/sh}
277 # Unset more variables known to interfere with behavior of common tools.
278 CLICOLOR_FORCE= GREP_OPTIONS=
279 unset CLICOLOR_FORCE GREP_OPTIONS
281 ## --------------------- ##
282 ## M4sh Shell Functions. ##
283 ## --------------------- ##
286 # Portably unset VAR.
289 { eval $1=; unset $1;}
293 # as_fn_set_status STATUS
294 # -----------------------
295 # Set $? to STATUS, without forking.
303 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 # Create "$as_dir" as a directory, including parents if necessary.
318 -*) as_dir=./$as_dir;;
320 test -d "$as_dir" || eval $as_mkdir_p || {
324 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
327 as_dirs="'$as_qdir' $as_dirs"
328 as_dir=`$as_dirname -- "$as_dir" ||
329 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
330 X"$as_dir" : 'X\(//\)[^/]' \| \
331 X"$as_dir" : 'X\(//\)$' \| \
332 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
333 $as_echo X"$as_dir" |
334 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
351 test -d "$as_dir" && break
353 test -z "$as_dirs" || eval "mkdir $as_dirs"
354 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
359 # as_fn_executable_p FILE
360 # -----------------------
361 # Test if FILE is an executable regular file.
362 as_fn_executable_p ()
364 test -f "$1" && test -x "$1"
365 } # as_fn_executable_p
366 # as_fn_append VAR VALUE
367 # ----------------------
368 # Append the text in VALUE to the end of the definition contained in VAR. Take
369 # advantage of any shell optimizations that allow amortized linear growth over
370 # repeated appends, instead of the typical quadratic growth present in naive
372 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
373 eval 'as_fn_append ()
386 # Perform arithmetic evaluation on the ARGs, and store the result in the
387 # global $as_val. Take advantage of shells that can avoid forks. The arguments
388 # must be portable across $(()) and expr.
389 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
397 as_val=`expr "$@" || test $? -eq 1`
402 # as_fn_error STATUS ERROR [LINENO LOG_FD]
403 # ----------------------------------------
404 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
405 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
406 # script with STATUS, using 1 if that was 0.
409 as_status=$1; test $as_status -eq 0 && as_status=1
411 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
412 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
414 $as_echo "$as_me: error: $2" >&2
415 as_fn_exit $as_status
418 if expr a : '\(a\)' >/dev/null 2>&1 &&
419 test "X`expr 00001 : '.*\(...\)'`" = X001; then
425 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
431 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
437 as_me=`$as_basename -- "$0" ||
438 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
439 X"$0" : 'X\(//\)$' \| \
440 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
442 sed '/^.*\/\([^/][^/]*\)\/*$/{
456 # Avoid depending upon Character Ranges.
457 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
458 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
459 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
460 as_cr_digits='0123456789'
461 as_cr_alnum=$as_cr_Letters$as_cr_digits
464 as_lineno_1=$LINENO as_lineno_1a=$LINENO
465 as_lineno_2=$LINENO as_lineno_2a=$LINENO
466 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
467 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
468 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
480 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
484 chmod +x "$as_me.lineno" ||
485 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
487 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
488 # already done that, so ensure we don't try to do so again and fall
489 # in an infinite loop. This has already happened in practice.
490 _as_can_reexec=no; export _as_can_reexec
491 # Don't try to exec as it changes $[0], causing all sort of problems
492 # (the dirname of $[0] is not the place where we might find the
493 # original and so on. Autoconf is especially sensitive to this).
495 # Exit status is that of the last command.
499 ECHO_C= ECHO_N= ECHO_T=
500 case `echo -n x` in #(((((
502 case `echo 'xy\c'` in
503 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
505 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
512 rm -f conf$$ conf$$.exe conf$$.file
513 if test -d conf$$.dir; then
514 rm -f conf$$.dir/conf$$.file
517 mkdir conf$$.dir 2>/dev/null
519 if (echo >conf$$.file) 2>/dev/null; then
520 if ln -s conf$$.file conf$$ 2>/dev/null; then
522 # ... but there are two gotchas:
523 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
524 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
525 # In both cases, we have to default to `cp -pR'.
526 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
528 elif ln conf$$.file conf$$ 2>/dev/null; then
536 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
537 rmdir conf$$.dir 2>/dev/null
539 if mkdir -p . 2>/dev/null; then
540 as_mkdir_p='mkdir -p "$as_dir"'
542 test -d ./-p && rmdir ./-p
547 as_executable_p=as_fn_executable_p
549 # Sed expression to map a string onto a valid CPP name.
550 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
552 # Sed expression to map a string onto a valid variable name.
553 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
556 test -n "$DJDIR" || exec 7<&0 </dev/null
560 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
561 # so uname gets run too.
562 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
567 ac_default_prefix=/usr/local
569 ac_config_libobj_dir=.
576 # Identity of this package.
584 ac_unique_file="as31/as31.c"
585 ac_subst_vars='LTLIBOBJS
642 program_transform_name
655 enable_option_checking
661 ac_precious_vars='build_alias
673 # Initialize some variables set by options.
675 ac_init_version=false
676 ac_unrecognized_opts=
678 # The variables have the same names as the options, with
679 # dashes changed to underlines.
687 program_transform_name=s,x,x,
695 # Installation directory options.
696 # These are left unexpanded so users can "make install exec_prefix=/foo"
697 # and all the variables that are supposed to be based on exec_prefix
698 # by default will actually change.
699 # Use braces instead of parens because sh, perl, etc. also accept them.
700 # (The list follows the same order as the GNU Coding Standards.)
701 bindir='${exec_prefix}/bin'
702 sbindir='${exec_prefix}/sbin'
703 libexecdir='${exec_prefix}/libexec'
704 datarootdir='${prefix}/share'
705 datadir='${datarootdir}'
706 sysconfdir='${prefix}/etc'
707 sharedstatedir='${prefix}/com'
708 localstatedir='${prefix}/var'
709 runstatedir='${localstatedir}/run'
710 includedir='${prefix}/include'
711 oldincludedir='/usr/include'
712 docdir='${datarootdir}/doc/${PACKAGE}'
713 infodir='${datarootdir}/info'
718 libdir='${exec_prefix}/lib'
719 localedir='${datarootdir}/locale'
720 mandir='${datarootdir}/man'
726 # If the previous option needs an argument, assign it.
727 if test -n "$ac_prev"; then
728 eval $ac_prev=\$ac_option
734 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
739 # Accept the important Cygnus configure options, so we can diagnose typos.
741 case $ac_dashdash$ac_option in
745 -bindir | --bindir | --bindi | --bind | --bin | --bi)
747 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
750 -build | --build | --buil | --bui | --bu)
751 ac_prev=build_alias ;;
752 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
753 build_alias=$ac_optarg ;;
755 -cache-file | --cache-file | --cache-fil | --cache-fi \
756 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
757 ac_prev=cache_file ;;
758 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
759 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
760 cache_file=$ac_optarg ;;
763 cache_file=config.cache ;;
765 -datadir | --datadir | --datadi | --datad)
767 -datadir=* | --datadir=* | --datadi=* | --datad=*)
768 datadir=$ac_optarg ;;
770 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
771 | --dataroo | --dataro | --datar)
772 ac_prev=datarootdir ;;
773 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
774 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
775 datarootdir=$ac_optarg ;;
777 -disable-* | --disable-*)
778 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
779 # Reject names that are not valid shell variable names.
780 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
781 as_fn_error $? "invalid feature name: $ac_useropt"
782 ac_useropt_orig=$ac_useropt
783 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
784 case $ac_user_opts in
788 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
789 ac_unrecognized_sep=', ';;
791 eval enable_$ac_useropt=no ;;
793 -docdir | --docdir | --docdi | --doc | --do)
795 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
798 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
800 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
803 -enable-* | --enable-*)
804 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
805 # Reject names that are not valid shell variable names.
806 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
807 as_fn_error $? "invalid feature name: $ac_useropt"
808 ac_useropt_orig=$ac_useropt
809 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
810 case $ac_user_opts in
814 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
815 ac_unrecognized_sep=', ';;
817 eval enable_$ac_useropt=\$ac_optarg ;;
819 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
820 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
821 | --exec | --exe | --ex)
822 ac_prev=exec_prefix ;;
823 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
824 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
825 | --exec=* | --exe=* | --ex=*)
826 exec_prefix=$ac_optarg ;;
828 -gas | --gas | --ga | --g)
829 # Obsolete; use --with-gas.
832 -help | --help | --hel | --he | -h)
834 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
835 ac_init_help=recursive ;;
836 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
837 ac_init_help=short ;;
839 -host | --host | --hos | --ho)
840 ac_prev=host_alias ;;
841 -host=* | --host=* | --hos=* | --ho=*)
842 host_alias=$ac_optarg ;;
844 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
846 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
848 htmldir=$ac_optarg ;;
850 -includedir | --includedir | --includedi | --included | --include \
851 | --includ | --inclu | --incl | --inc)
852 ac_prev=includedir ;;
853 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
854 | --includ=* | --inclu=* | --incl=* | --inc=*)
855 includedir=$ac_optarg ;;
857 -infodir | --infodir | --infodi | --infod | --info | --inf)
859 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
860 infodir=$ac_optarg ;;
862 -libdir | --libdir | --libdi | --libd)
864 -libdir=* | --libdir=* | --libdi=* | --libd=*)
867 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
868 | --libexe | --libex | --libe)
869 ac_prev=libexecdir ;;
870 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
871 | --libexe=* | --libex=* | --libe=*)
872 libexecdir=$ac_optarg ;;
874 -localedir | --localedir | --localedi | --localed | --locale)
876 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
877 localedir=$ac_optarg ;;
879 -localstatedir | --localstatedir | --localstatedi | --localstated \
880 | --localstate | --localstat | --localsta | --localst | --locals)
881 ac_prev=localstatedir ;;
882 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
883 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
884 localstatedir=$ac_optarg ;;
886 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
888 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
892 # Obsolete; use --without-fp.
895 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
896 | --no-cr | --no-c | -n)
899 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
900 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
903 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
904 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
905 | --oldin | --oldi | --old | --ol | --o)
906 ac_prev=oldincludedir ;;
907 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
908 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
909 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
910 oldincludedir=$ac_optarg ;;
912 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
914 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
917 -program-prefix | --program-prefix | --program-prefi | --program-pref \
918 | --program-pre | --program-pr | --program-p)
919 ac_prev=program_prefix ;;
920 -program-prefix=* | --program-prefix=* | --program-prefi=* \
921 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
922 program_prefix=$ac_optarg ;;
924 -program-suffix | --program-suffix | --program-suffi | --program-suff \
925 | --program-suf | --program-su | --program-s)
926 ac_prev=program_suffix ;;
927 -program-suffix=* | --program-suffix=* | --program-suffi=* \
928 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
929 program_suffix=$ac_optarg ;;
931 -program-transform-name | --program-transform-name \
932 | --program-transform-nam | --program-transform-na \
933 | --program-transform-n | --program-transform- \
934 | --program-transform | --program-transfor \
935 | --program-transfo | --program-transf \
936 | --program-trans | --program-tran \
937 | --progr-tra | --program-tr | --program-t)
938 ac_prev=program_transform_name ;;
939 -program-transform-name=* | --program-transform-name=* \
940 | --program-transform-nam=* | --program-transform-na=* \
941 | --program-transform-n=* | --program-transform-=* \
942 | --program-transform=* | --program-transfor=* \
943 | --program-transfo=* | --program-transf=* \
944 | --program-trans=* | --program-tran=* \
945 | --progr-tra=* | --program-tr=* | --program-t=*)
946 program_transform_name=$ac_optarg ;;
948 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
950 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
953 -psdir | --psdir | --psdi | --psd | --ps)
955 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
958 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
959 | -silent | --silent | --silen | --sile | --sil)
962 -runstatedir | --runstatedir | --runstatedi | --runstated \
963 | --runstate | --runstat | --runsta | --runst | --runs \
964 | --run | --ru | --r)
965 ac_prev=runstatedir ;;
966 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
967 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
968 | --run=* | --ru=* | --r=*)
969 runstatedir=$ac_optarg ;;
971 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
973 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
975 sbindir=$ac_optarg ;;
977 -sharedstatedir | --sharedstatedir | --sharedstatedi \
978 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
979 | --sharedst | --shareds | --shared | --share | --shar \
981 ac_prev=sharedstatedir ;;
982 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
983 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
984 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
986 sharedstatedir=$ac_optarg ;;
988 -site | --site | --sit)
990 -site=* | --site=* | --sit=*)
993 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
995 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
998 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
999 | --syscon | --sysco | --sysc | --sys | --sy)
1000 ac_prev=sysconfdir ;;
1001 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1002 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1003 sysconfdir=$ac_optarg ;;
1005 -target | --target | --targe | --targ | --tar | --ta | --t)
1006 ac_prev=target_alias ;;
1007 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1008 target_alias=$ac_optarg ;;
1010 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1013 -version | --version | --versio | --versi | --vers | -V)
1014 ac_init_version=: ;;
1017 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1018 # Reject names that are not valid shell variable names.
1019 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1020 as_fn_error $? "invalid package name: $ac_useropt"
1021 ac_useropt_orig=$ac_useropt
1022 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1023 case $ac_user_opts in
1027 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1028 ac_unrecognized_sep=', ';;
1030 eval with_$ac_useropt=\$ac_optarg ;;
1032 -without-* | --without-*)
1033 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1034 # Reject names that are not valid shell variable names.
1035 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1036 as_fn_error $? "invalid package name: $ac_useropt"
1037 ac_useropt_orig=$ac_useropt
1038 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1039 case $ac_user_opts in
1043 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1044 ac_unrecognized_sep=', ';;
1046 eval with_$ac_useropt=no ;;
1049 # Obsolete; use --with-x.
1052 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1053 | --x-incl | --x-inc | --x-in | --x-i)
1054 ac_prev=x_includes ;;
1055 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1056 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1057 x_includes=$ac_optarg ;;
1059 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1060 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1061 ac_prev=x_libraries ;;
1062 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1063 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1064 x_libraries=$ac_optarg ;;
1066 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1067 Try \`$0 --help' for more information"
1071 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1072 # Reject names that are not valid shell variable names.
1073 case $ac_envvar in #(
1074 '' | [0-9]* | *[!_$as_cr_alnum]* )
1075 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1077 eval $ac_envvar=\$ac_optarg
1078 export $ac_envvar ;;
1081 # FIXME: should be removed in autoconf 3.0.
1082 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1083 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1084 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1085 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1091 if test -n "$ac_prev"; then
1092 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1093 as_fn_error $? "missing argument to $ac_option"
1096 if test -n "$ac_unrecognized_opts"; then
1097 case $enable_option_checking in
1099 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1100 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1104 # Check all directory arguments for consistency.
1105 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1106 datadir sysconfdir sharedstatedir localstatedir includedir \
1107 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1108 libdir localedir mandir runstatedir
1110 eval ac_val=\$$ac_var
1111 # Remove trailing slashes.
1114 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1115 eval $ac_var=\$ac_val;;
1117 # Be sure to have absolute directory names.
1119 [\\/$]* | ?:[\\/]* ) continue;;
1120 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1122 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1125 # There might be people who depend on the old broken behavior: `$host'
1126 # used to hold the argument of --host etc.
1127 # FIXME: To remove some day.
1130 target=$target_alias
1132 # FIXME: To remove some day.
1133 if test "x$host_alias" != x; then
1134 if test "x$build_alias" = x; then
1135 cross_compiling=maybe
1136 elif test "x$build_alias" != "x$host_alias"; then
1142 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1144 test "$silent" = yes && exec 6>/dev/null
1147 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1148 ac_ls_di=`ls -di .` &&
1149 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1150 as_fn_error $? "working directory cannot be determined"
1151 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1152 as_fn_error $? "pwd does not report name of working directory"
1155 # Find the source files, if location was not specified.
1156 if test -z "$srcdir"; then
1157 ac_srcdir_defaulted=yes
1158 # Try the directory containing this script, then the parent directory.
1159 ac_confdir=`$as_dirname -- "$as_myself" ||
1160 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1161 X"$as_myself" : 'X\(//\)[^/]' \| \
1162 X"$as_myself" : 'X\(//\)$' \| \
1163 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1164 $as_echo X"$as_myself" |
1165 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1183 if test ! -r "$srcdir/$ac_unique_file"; then
1187 ac_srcdir_defaulted=no
1189 if test ! -r "$srcdir/$ac_unique_file"; then
1190 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1191 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1193 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1195 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1197 # When building in place, set srcdir=.
1198 if test "$ac_abs_confdir" = "$ac_pwd"; then
1201 # Remove unnecessary trailing slashes from srcdir.
1202 # Double slashes in file names in object file debugging info
1203 # mess up M-x gdb in Emacs.
1205 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1207 for ac_var in $ac_precious_vars; do
1208 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1209 eval ac_env_${ac_var}_value=\$${ac_var}
1210 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1211 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1215 # Report the --help message.
1217 if test "$ac_init_help" = "long"; then
1218 # Omit some internal or obsolete options to make the list less imposing.
1219 # This message is too long to be a string in the A/UX 3.1 sh.
1221 \`configure' configures this package to adapt to many kinds of systems.
1223 Usage: $0 [OPTION]... [VAR=VALUE]...
1225 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1226 VAR=VALUE. See below for descriptions of some of the useful variables.
1228 Defaults for the options are specified in brackets.
1231 -h, --help display this help and exit
1232 --help=short display options specific to this package
1233 --help=recursive display the short help of all the included packages
1234 -V, --version display version information and exit
1235 -q, --quiet, --silent do not print \`checking ...' messages
1236 --cache-file=FILE cache test results in FILE [disabled]
1237 -C, --config-cache alias for \`--cache-file=config.cache'
1238 -n, --no-create do not create output files
1239 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1241 Installation directories:
1242 --prefix=PREFIX install architecture-independent files in PREFIX
1243 [$ac_default_prefix]
1244 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1247 By default, \`make install' will install all the files in
1248 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1249 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1250 for instance \`--prefix=\$HOME'.
1252 For better control, use the options below.
1254 Fine tuning of the installation directories:
1255 --bindir=DIR user executables [EPREFIX/bin]
1256 --sbindir=DIR system admin executables [EPREFIX/sbin]
1257 --libexecdir=DIR program executables [EPREFIX/libexec]
1258 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1259 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1260 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1261 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
1262 --libdir=DIR object code libraries [EPREFIX/lib]
1263 --includedir=DIR C header files [PREFIX/include]
1264 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1265 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1266 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1267 --infodir=DIR info documentation [DATAROOTDIR/info]
1268 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1269 --mandir=DIR man documentation [DATAROOTDIR/man]
1270 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1271 --htmldir=DIR html documentation [DOCDIR]
1272 --dvidir=DIR dvi documentation [DOCDIR]
1273 --pdfdir=DIR pdf documentation [DOCDIR]
1274 --psdir=DIR ps documentation [DOCDIR]
1280 --program-prefix=PREFIX prepend PREFIX to installed program names
1281 --program-suffix=SUFFIX append SUFFIX to installed program names
1282 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1286 if test -n "$ac_init_help"; then
1291 --disable-option-checking ignore unrecognized --enable/--with options
1292 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1293 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1294 --enable-gtk build as31 with graphical user interface (alpha)
1295 --disable-gtktest Do not try to compile and run a test GTK program
1298 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1299 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1300 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1301 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1303 Some influential environment variables:
1304 CC C compiler command
1305 CFLAGS C compiler flags
1306 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1307 nonstandard directory <lib dir>
1308 LIBS libraries to pass to the linker, e.g. -l<library>
1309 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1310 you have headers in a nonstandard directory <include dir>
1311 YACC The `Yet Another Compiler Compiler' implementation to use.
1312 Defaults to the first program found out of: `bison -y', `byacc',
1314 YFLAGS The list of arguments that will be passed by default to $YACC.
1315 This script will default YFLAGS to the empty string to avoid a
1316 default value of `-d' given by some make applications.
1318 Use these variables to override the choices made by `configure' or to help
1319 it to find libraries and programs with nonstandard names/locations.
1321 Report bugs to the package provider.
1326 if test "$ac_init_help" = "recursive"; then
1327 # If there are subdirs, report their specific --help.
1328 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1329 test -d "$ac_dir" ||
1330 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1335 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1337 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1338 # A ".." for each directory in $ac_dir_suffix.
1339 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1340 case $ac_top_builddir_sub in
1341 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1342 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1345 ac_abs_top_builddir=$ac_pwd
1346 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1347 # for backward compatibility:
1348 ac_top_builddir=$ac_top_build_prefix
1351 .) # We are building in place.
1353 ac_top_srcdir=$ac_top_builddir_sub
1354 ac_abs_top_srcdir=$ac_pwd ;;
1355 [\\/]* | ?:[\\/]* ) # Absolute name.
1356 ac_srcdir=$srcdir$ac_dir_suffix;
1357 ac_top_srcdir=$srcdir
1358 ac_abs_top_srcdir=$srcdir ;;
1360 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1361 ac_top_srcdir=$ac_top_build_prefix$srcdir
1362 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1364 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1366 cd "$ac_dir" || { ac_status=$?; continue; }
1367 # Check for guested configure.
1368 if test -f "$ac_srcdir/configure.gnu"; then
1370 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1371 elif test -f "$ac_srcdir/configure"; then
1373 $SHELL "$ac_srcdir/configure" --help=recursive
1375 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1377 cd "$ac_pwd" || { ac_status=$?; break; }
1381 test -n "$ac_init_help" && exit $ac_status
1382 if $ac_init_version; then
1385 generated by GNU Autoconf 2.69
1387 Copyright (C) 2012 Free Software Foundation, Inc.
1388 This configure script is free software; the Free Software Foundation
1389 gives unlimited permission to copy, distribute and modify it.
1394 ## ------------------------ ##
1395 ## Autoconf initialization. ##
1396 ## ------------------------ ##
1398 # ac_fn_c_try_compile LINENO
1399 # --------------------------
1400 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1401 ac_fn_c_try_compile ()
1403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1404 rm -f conftest.$ac_objext
1405 if { { ac_try="$ac_compile"
1407 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1408 *) ac_try_echo=$ac_try;;
1410 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1411 $as_echo "$ac_try_echo"; } >&5
1412 (eval "$ac_compile") 2>conftest.err
1414 if test -s conftest.err; then
1415 grep -v '^ *+' conftest.err >conftest.er1
1416 cat conftest.er1 >&5
1417 mv -f conftest.er1 conftest.err
1419 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1420 test $ac_status = 0; } && {
1421 test -z "$ac_c_werror_flag" ||
1422 test ! -s conftest.err
1423 } && test -s conftest.$ac_objext; then :
1426 $as_echo "$as_me: failed program was:" >&5
1427 sed 's/^/| /' conftest.$ac_ext >&5
1431 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1432 as_fn_set_status $ac_retval
1434 } # ac_fn_c_try_compile
1436 # ac_fn_c_try_run LINENO
1437 # ----------------------
1438 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1439 # that executables *can* be run.
1442 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1443 if { { ac_try="$ac_link"
1445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1446 *) ac_try_echo=$ac_try;;
1448 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1449 $as_echo "$ac_try_echo"; } >&5
1450 (eval "$ac_link") 2>&5
1452 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1453 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1454 { { case "(($ac_try" in
1455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1456 *) ac_try_echo=$ac_try;;
1458 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1459 $as_echo "$ac_try_echo"; } >&5
1460 (eval "$ac_try") 2>&5
1462 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1463 test $ac_status = 0; }; }; then :
1466 $as_echo "$as_me: program exited with status $ac_status" >&5
1467 $as_echo "$as_me: failed program was:" >&5
1468 sed 's/^/| /' conftest.$ac_ext >&5
1470 ac_retval=$ac_status
1472 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1473 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1474 as_fn_set_status $ac_retval
1478 # ac_fn_c_try_link LINENO
1479 # -----------------------
1480 # Try to link conftest.$ac_ext, and return whether this succeeded.
1483 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1484 rm -f conftest.$ac_objext conftest$ac_exeext
1485 if { { ac_try="$ac_link"
1487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1488 *) ac_try_echo=$ac_try;;
1490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1491 $as_echo "$ac_try_echo"; } >&5
1492 (eval "$ac_link") 2>conftest.err
1494 if test -s conftest.err; then
1495 grep -v '^ *+' conftest.err >conftest.er1
1496 cat conftest.er1 >&5
1497 mv -f conftest.er1 conftest.err
1499 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1500 test $ac_status = 0; } && {
1501 test -z "$ac_c_werror_flag" ||
1502 test ! -s conftest.err
1503 } && test -s conftest$ac_exeext && {
1504 test "$cross_compiling" = yes ||
1505 test -x conftest$ac_exeext
1509 $as_echo "$as_me: failed program was:" >&5
1510 sed 's/^/| /' conftest.$ac_ext >&5
1514 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1515 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1516 # interfere with the next link command; also delete a directory that is
1517 # left behind by Apple's compiler. We do this before executing the actions.
1518 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1519 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1520 as_fn_set_status $ac_retval
1522 } # ac_fn_c_try_link
1523 cat >config.log <<_ACEOF
1524 This file contains any messages produced by compilers while
1525 running configure, to aid debugging if configure makes a mistake.
1527 It was created by $as_me, which was
1528 generated by GNU Autoconf 2.69. Invocation command line was
1540 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1541 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1542 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1543 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1544 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1546 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1547 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1549 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1550 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1551 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1552 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1553 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1554 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1555 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1559 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1563 test -z "$as_dir" && as_dir=.
1564 $as_echo "PATH: $as_dir"
1580 # Keep a trace of the command line.
1581 # Strip out --no-create and --no-recursion so they do not pile up.
1582 # Strip out --silent because we don't want to record it for future runs.
1583 # Also quote any args containing shell meta-characters.
1584 # Make two passes to allow for proper duplicate-argument suppression.
1588 ac_must_keep_next=false
1594 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1595 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1596 | -silent | --silent | --silen | --sile | --sil)
1599 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1602 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1604 as_fn_append ac_configure_args1 " '$ac_arg'"
1605 if test $ac_must_keep_next = true; then
1606 ac_must_keep_next=false # Got value, back to normal.
1609 *=* | --config-cache | -C | -disable-* | --disable-* \
1610 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1611 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1612 | -with-* | --with-* | -without-* | --without-* | --x)
1613 case "$ac_configure_args0 " in
1614 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1617 -* ) ac_must_keep_next=true ;;
1620 as_fn_append ac_configure_args " '$ac_arg'"
1625 { ac_configure_args0=; unset ac_configure_args0;}
1626 { ac_configure_args1=; unset ac_configure_args1;}
1628 # When interrupted or exit'd, cleanup temporary files, and complete
1629 # config.log. We remove comments because anyway the quotes in there
1630 # would cause problems or look ugly.
1631 # WARNING: Use '\'' to represent an apostrophe within the trap.
1632 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1633 trap 'exit_status=$?
1634 # Save into config.log some information that might help in debugging.
1638 $as_echo "## ---------------- ##
1639 ## Cache variables. ##
1640 ## ---------------- ##"
1642 # The following way of writing the cache mishandles newlines in values,
1644 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1645 eval ac_val=\$$ac_var
1649 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1650 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1653 _ | IFS | as_nl) ;; #(
1654 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1655 *) { eval $ac_var=; unset $ac_var;} ;;
1660 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1661 *${as_nl}ac_space=\ *)
1663 "s/'\''/'\''\\\\'\'''\''/g;
1664 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1667 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1674 $as_echo "## ----------------- ##
1675 ## Output variables. ##
1676 ## ----------------- ##"
1678 for ac_var in $ac_subst_vars
1680 eval ac_val=\$$ac_var
1682 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1684 $as_echo "$ac_var='\''$ac_val'\''"
1688 if test -n "$ac_subst_files"; then
1689 $as_echo "## ------------------- ##
1690 ## File substitutions. ##
1691 ## ------------------- ##"
1693 for ac_var in $ac_subst_files
1695 eval ac_val=\$$ac_var
1697 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1699 $as_echo "$ac_var='\''$ac_val'\''"
1704 if test -s confdefs.h; then
1705 $as_echo "## ----------- ##
1712 test "$ac_signal" != 0 &&
1713 $as_echo "$as_me: caught signal $ac_signal"
1714 $as_echo "$as_me: exit $exit_status"
1716 rm -f core *.core core.conftest.* &&
1717 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1720 for ac_signal in 1 2 13 15; do
1721 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1725 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1726 rm -f -r conftest* confdefs.h
1728 $as_echo "/* confdefs.h */" > confdefs.h
1730 # Predefined preprocessor variables.
1732 cat >>confdefs.h <<_ACEOF
1733 #define PACKAGE_NAME "$PACKAGE_NAME"
1736 cat >>confdefs.h <<_ACEOF
1737 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1740 cat >>confdefs.h <<_ACEOF
1741 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1744 cat >>confdefs.h <<_ACEOF
1745 #define PACKAGE_STRING "$PACKAGE_STRING"
1748 cat >>confdefs.h <<_ACEOF
1749 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1752 cat >>confdefs.h <<_ACEOF
1753 #define PACKAGE_URL "$PACKAGE_URL"
1757 # Let the site file select an alternate cache file if it wants to.
1758 # Prefer an explicitly selected file to automatically selected ones.
1761 if test -n "$CONFIG_SITE"; then
1762 # We do not want a PATH search for config.site.
1763 case $CONFIG_SITE in #((
1764 -*) ac_site_file1=./$CONFIG_SITE;;
1765 */*) ac_site_file1=$CONFIG_SITE;;
1766 *) ac_site_file1=./$CONFIG_SITE;;
1768 elif test "x$prefix" != xNONE; then
1769 ac_site_file1=$prefix/share/config.site
1770 ac_site_file2=$prefix/etc/config.site
1772 ac_site_file1=$ac_default_prefix/share/config.site
1773 ac_site_file2=$ac_default_prefix/etc/config.site
1775 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1777 test "x$ac_site_file" = xNONE && continue
1778 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
1779 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1780 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1781 sed 's/^/| /' "$ac_site_file" >&5
1783 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1785 as_fn_error $? "failed to load site script $ac_site_file
1786 See \`config.log' for more details" "$LINENO" 5; }
1790 if test -r "$cache_file"; then
1791 # Some versions of bash will fail to source /dev/null (special files
1792 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
1793 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
1794 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1795 $as_echo "$as_me: loading cache $cache_file" >&6;}
1797 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1798 *) . "./$cache_file";;
1802 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1803 $as_echo "$as_me: creating cache $cache_file" >&6;}
1807 # Check that the precious variables saved in the cache have kept the same
1809 ac_cache_corrupted=false
1810 for ac_var in $ac_precious_vars; do
1811 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1812 eval ac_new_set=\$ac_env_${ac_var}_set
1813 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1814 eval ac_new_val=\$ac_env_${ac_var}_value
1815 case $ac_old_set,$ac_new_set in
1817 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1818 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1819 ac_cache_corrupted=: ;;
1821 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1822 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1823 ac_cache_corrupted=: ;;
1826 if test "x$ac_old_val" != "x$ac_new_val"; then
1827 # differences in whitespace do not lead to failure.
1828 ac_old_val_w=`echo x $ac_old_val`
1829 ac_new_val_w=`echo x $ac_new_val`
1830 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1831 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1832 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1833 ac_cache_corrupted=:
1835 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1836 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1837 eval $ac_var=\$ac_old_val
1839 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1840 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1841 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1842 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1845 # Pass precious variables to config.status.
1846 if test "$ac_new_set" = set; then
1848 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1849 *) ac_arg=$ac_var=$ac_new_val ;;
1851 case " $ac_configure_args " in
1852 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1853 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1857 if $ac_cache_corrupted; then
1858 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1859 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1860 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1861 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1862 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1864 ## -------------------- ##
1865 ## Main body of script. ##
1866 ## -------------------- ##
1869 ac_cpp='$CPP $CPPFLAGS'
1870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1875 am__api_version="1.4"
1877 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1878 if test -f "$ac_dir/install-sh"; then
1880 ac_install_sh="$ac_aux_dir/install-sh -c"
1882 elif test -f "$ac_dir/install.sh"; then
1884 ac_install_sh="$ac_aux_dir/install.sh -c"
1886 elif test -f "$ac_dir/shtool"; then
1888 ac_install_sh="$ac_aux_dir/shtool install -c"
1892 if test -z "$ac_aux_dir"; then
1893 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1896 # These three variables are undocumented and unsupported,
1897 # and are intended to be withdrawn in a future Autoconf release.
1898 # They can cause serious problems if a builder's source tree is in a directory
1899 # whose full name contains unusual characters.
1900 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1901 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1902 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1905 # Find a good install program. We prefer a C program (faster),
1906 # so one script is as good as another. But avoid the broken or
1907 # incompatible versions:
1908 # SysV /etc/install, /usr/sbin/install
1909 # SunOS /usr/etc/install
1910 # IRIX /sbin/install
1912 # AmigaOS /C/install, which installs bootblocks on floppy discs
1913 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1914 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1915 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1916 # OS/2's system install, which has a completely different semantic
1917 # ./install, which can be erroneously created by make from ./install.sh.
1918 # Reject install programs that cannot install multiple files.
1919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1920 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1921 if test -z "$INSTALL"; then
1922 if ${ac_cv_path_install+:} false; then :
1923 $as_echo_n "(cached) " >&6
1925 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1929 test -z "$as_dir" && as_dir=.
1930 # Account for people who put trailing slashes in PATH elements.
1931 case $as_dir/ in #((
1932 ./ | .// | /[cC]/* | \
1933 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1934 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1937 # OSF1 and SCO ODT 3.0 have their own names for install.
1938 # Don't use installbsd from OSF since it installs stuff as root
1940 for ac_prog in ginstall scoinst install; do
1941 for ac_exec_ext in '' $ac_executable_extensions; do
1942 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
1943 if test $ac_prog = install &&
1944 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1945 # AIX install. It has an incompatible calling convention.
1947 elif test $ac_prog = install &&
1948 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1949 # program-specific install script used by HP pwplus--don't use.
1952 rm -rf conftest.one conftest.two conftest.dir
1953 echo one > conftest.one
1954 echo two > conftest.two
1956 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1957 test -s conftest.one && test -s conftest.two &&
1958 test -s conftest.dir/conftest.one &&
1959 test -s conftest.dir/conftest.two
1961 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1974 rm -rf conftest.one conftest.two conftest.dir
1977 if test "${ac_cv_path_install+set}" = set; then
1978 INSTALL=$ac_cv_path_install
1980 # As a last resort, use the slow shell script. Don't cache a
1981 # value for INSTALL within a source directory, because that will
1982 # break other packages using the cache if that directory is
1983 # removed, or if the value is a relative name.
1984 INSTALL=$ac_install_sh
1987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1988 $as_echo "$INSTALL" >&6; }
1990 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1991 # It thinks the first close brace ends the variable substitution.
1992 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1994 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1996 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
1999 $as_echo_n "checking whether build environment is sane... " >&6; }
2002 echo timestamp > conftestfile
2003 # Do `set' in a subshell so we don't clobber the current shell's
2004 # arguments. Must try -L first in case configure is actually a
2005 # symlink; some systems play weird games with the mod time of symlinks
2006 # (eg FreeBSD returns the mod time of the symlink's containing
2009 set X `ls -Lt $srcdir/configure conftestfile 2> /dev/null`
2010 if test "$*" = "X"; then
2012 set X `ls -t $srcdir/configure conftestfile`
2014 if test "$*" != "X $srcdir/configure conftestfile" \
2015 && test "$*" != "X conftestfile $srcdir/configure"; then
2017 # If neither matched, then we have a broken ls. This can happen
2018 # if, for instance, CONFIG_SHELL is bash and it inherits a
2019 # broken ls alias from the environment. This has actually
2020 # happened. Such a system could not be considered "sane".
2021 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
2022 alias in your environment" "$LINENO" 5
2025 test "$2" = conftestfile
2031 as_fn_error $? "newly created file is older than distributed files!
2032 Check your system clock" "$LINENO" 5
2035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2036 $as_echo "yes" >&6; }
2037 test "$program_prefix" != NONE &&
2038 program_transform_name="s&^&$program_prefix&;$program_transform_name"
2039 # Use a double $ so make ignores it.
2040 test "$program_suffix" != NONE &&
2041 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
2042 # Double any \ or $.
2043 # By default was `s,x,x', remove it if useless.
2044 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
2045 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
2047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
2048 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
2050 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
2051 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
2052 $as_echo_n "(cached) " >&6
2054 cat >conftest.make <<\_ACEOF
2057 @echo '@@@%%%=$(MAKE)=@@@%%%'
2059 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
2060 case `${MAKE-make} -f conftest.make 2>/dev/null` in
2062 eval ac_cv_prog_make_${ac_make}_set=yes;;
2064 eval ac_cv_prog_make_${ac_make}_set=no;;
2068 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
2069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2070 $as_echo "yes" >&6; }
2073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2074 $as_echo "no" >&6; }
2075 SET_MAKE="MAKE=${MAKE-make}"
2083 if test "`cd $srcdir && pwd`" != "`pwd`" && test -f $srcdir/config.status; then
2084 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
2087 cat >>confdefs.h <<_ACEOF
2088 #define PACKAGE "$PACKAGE"
2092 cat >>confdefs.h <<_ACEOF
2093 #define VERSION "$VERSION"
2098 missing_dir=`cd $ac_aux_dir && pwd`
2099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working aclocal-${am__api_version}" >&5
2100 $as_echo_n "checking for working aclocal-${am__api_version}... " >&6; }
2101 # Run test in a subshell; some versions of sh will print an error if
2102 # an executable is not found, even if stderr is redirected.
2103 # Redirect stdin to placate older versions of autoconf. Sigh.
2104 if (aclocal-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
2105 ACLOCAL=aclocal-${am__api_version}
2106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2107 $as_echo "found" >&6; }
2109 ACLOCAL="$missing_dir/missing aclocal-${am__api_version}"
2110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2111 $as_echo "missing" >&6; }
2114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoconf" >&5
2115 $as_echo_n "checking for working autoconf... " >&6; }
2116 # Run test in a subshell; some versions of sh will print an error if
2117 # an executable is not found, even if stderr is redirected.
2118 # Redirect stdin to placate older versions of autoconf. Sigh.
2119 if (autoconf --version) < /dev/null > /dev/null 2>&1; then
2121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2122 $as_echo "found" >&6; }
2124 AUTOCONF="$missing_dir/missing autoconf"
2125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2126 $as_echo "missing" >&6; }
2129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working automake-${am__api_version}" >&5
2130 $as_echo_n "checking for working automake-${am__api_version}... " >&6; }
2131 # Run test in a subshell; some versions of sh will print an error if
2132 # an executable is not found, even if stderr is redirected.
2133 # Redirect stdin to placate older versions of autoconf. Sigh.
2134 if (automake-${am__api_version} --version) < /dev/null > /dev/null 2>&1; then
2135 AUTOMAKE=automake-${am__api_version}
2136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2137 $as_echo "found" >&6; }
2139 AUTOMAKE="$missing_dir/missing automake-${am__api_version}"
2140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2141 $as_echo "missing" >&6; }
2144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working autoheader" >&5
2145 $as_echo_n "checking for working autoheader... " >&6; }
2146 # Run test in a subshell; some versions of sh will print an error if
2147 # an executable is not found, even if stderr is redirected.
2148 # Redirect stdin to placate older versions of autoconf. Sigh.
2149 if (autoheader --version) < /dev/null > /dev/null 2>&1; then
2150 AUTOHEADER=autoheader
2151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2152 $as_echo "found" >&6; }
2154 AUTOHEADER="$missing_dir/missing autoheader"
2155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2156 $as_echo "missing" >&6; }
2159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for working makeinfo" >&5
2160 $as_echo_n "checking for working makeinfo... " >&6; }
2161 # Run test in a subshell; some versions of sh will print an error if
2162 # an executable is not found, even if stderr is redirected.
2163 # Redirect stdin to placate older versions of autoconf. Sigh.
2164 if (makeinfo --version) < /dev/null > /dev/null 2>&1; then
2166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
2167 $as_echo "found" >&6; }
2169 MAKEINFO="$missing_dir/missing makeinfo"
2170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: missing" >&5
2171 $as_echo "missing" >&6; }
2178 ac_cpp='$CPP $CPPFLAGS'
2179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2182 if test -n "$ac_tool_prefix"; then
2183 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
2184 set dummy ${ac_tool_prefix}gcc; ac_word=$2
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2186 $as_echo_n "checking for $ac_word... " >&6; }
2187 if ${ac_cv_prog_CC+:} false; then :
2188 $as_echo_n "(cached) " >&6
2190 if test -n "$CC"; then
2191 ac_cv_prog_CC="$CC" # Let the user override the test.
2193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2197 test -z "$as_dir" && as_dir=.
2198 for ac_exec_ext in '' $ac_executable_extensions; do
2199 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2200 ac_cv_prog_CC="${ac_tool_prefix}gcc"
2201 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2211 if test -n "$CC"; then
2212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2213 $as_echo "$CC" >&6; }
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2216 $as_echo "no" >&6; }
2221 if test -z "$ac_cv_prog_CC"; then
2223 # Extract the first word of "gcc", so it can be a program name with args.
2224 set dummy gcc; ac_word=$2
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2226 $as_echo_n "checking for $ac_word... " >&6; }
2227 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2228 $as_echo_n "(cached) " >&6
2230 if test -n "$ac_ct_CC"; then
2231 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2233 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2237 test -z "$as_dir" && as_dir=.
2238 for ac_exec_ext in '' $ac_executable_extensions; do
2239 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2240 ac_cv_prog_ac_ct_CC="gcc"
2241 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2250 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2251 if test -n "$ac_ct_CC"; then
2252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2253 $as_echo "$ac_ct_CC" >&6; }
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2256 $as_echo "no" >&6; }
2259 if test "x$ac_ct_CC" = x; then
2262 case $cross_compiling:$ac_tool_warned in
2264 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2265 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2266 ac_tool_warned=yes ;;
2274 if test -z "$CC"; then
2275 if test -n "$ac_tool_prefix"; then
2276 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
2277 set dummy ${ac_tool_prefix}cc; ac_word=$2
2278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2279 $as_echo_n "checking for $ac_word... " >&6; }
2280 if ${ac_cv_prog_CC+:} false; then :
2281 $as_echo_n "(cached) " >&6
2283 if test -n "$CC"; then
2284 ac_cv_prog_CC="$CC" # Let the user override the test.
2286 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2290 test -z "$as_dir" && as_dir=.
2291 for ac_exec_ext in '' $ac_executable_extensions; do
2292 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2293 ac_cv_prog_CC="${ac_tool_prefix}cc"
2294 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2304 if test -n "$CC"; then
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2306 $as_echo "$CC" >&6; }
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2309 $as_echo "no" >&6; }
2315 if test -z "$CC"; then
2316 # Extract the first word of "cc", so it can be a program name with args.
2317 set dummy cc; ac_word=$2
2318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2319 $as_echo_n "checking for $ac_word... " >&6; }
2320 if ${ac_cv_prog_CC+:} false; then :
2321 $as_echo_n "(cached) " >&6
2323 if test -n "$CC"; then
2324 ac_cv_prog_CC="$CC" # Let the user override the test.
2327 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2331 test -z "$as_dir" && as_dir=.
2332 for ac_exec_ext in '' $ac_executable_extensions; do
2333 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2334 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
2335 ac_prog_rejected=yes
2339 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2346 if test $ac_prog_rejected = yes; then
2347 # We found a bogon in the path, so make sure we never use it.
2348 set dummy $ac_cv_prog_CC
2350 if test $# != 0; then
2351 # We chose a different compiler from the bogus one.
2352 # However, it has the same basename, so the bogon will be chosen
2353 # first if we set CC to just the basename; use the full file name.
2355 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
2361 if test -n "$CC"; then
2362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2363 $as_echo "$CC" >&6; }
2365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2366 $as_echo "no" >&6; }
2371 if test -z "$CC"; then
2372 if test -n "$ac_tool_prefix"; then
2373 for ac_prog in cl.exe
2375 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
2376 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
2377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2378 $as_echo_n "checking for $ac_word... " >&6; }
2379 if ${ac_cv_prog_CC+:} false; then :
2380 $as_echo_n "(cached) " >&6
2382 if test -n "$CC"; then
2383 ac_cv_prog_CC="$CC" # Let the user override the test.
2385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2389 test -z "$as_dir" && as_dir=.
2390 for ac_exec_ext in '' $ac_executable_extensions; do
2391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2392 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
2393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2403 if test -n "$CC"; then
2404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
2405 $as_echo "$CC" >&6; }
2407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2408 $as_echo "no" >&6; }
2412 test -n "$CC" && break
2415 if test -z "$CC"; then
2417 for ac_prog in cl.exe
2419 # Extract the first word of "$ac_prog", so it can be a program name with args.
2420 set dummy $ac_prog; ac_word=$2
2421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2422 $as_echo_n "checking for $ac_word... " >&6; }
2423 if ${ac_cv_prog_ac_ct_CC+:} false; then :
2424 $as_echo_n "(cached) " >&6
2426 if test -n "$ac_ct_CC"; then
2427 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
2429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2433 test -z "$as_dir" && as_dir=.
2434 for ac_exec_ext in '' $ac_executable_extensions; do
2435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2436 ac_cv_prog_ac_ct_CC="$ac_prog"
2437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2446 ac_ct_CC=$ac_cv_prog_ac_ct_CC
2447 if test -n "$ac_ct_CC"; then
2448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
2449 $as_echo "$ac_ct_CC" >&6; }
2451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2452 $as_echo "no" >&6; }
2456 test -n "$ac_ct_CC" && break
2459 if test "x$ac_ct_CC" = x; then
2462 case $cross_compiling:$ac_tool_warned in
2464 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
2465 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
2466 ac_tool_warned=yes ;;
2475 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2476 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2477 as_fn_error $? "no acceptable C compiler found in \$PATH
2478 See \`config.log' for more details" "$LINENO" 5; }
2480 # Provide some information about the compiler.
2481 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
2484 for ac_option in --version -v -V -qversion; do
2485 { { ac_try="$ac_compiler $ac_option >&5"
2487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2488 *) ac_try_echo=$ac_try;;
2490 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2491 $as_echo "$ac_try_echo"; } >&5
2492 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
2494 if test -s conftest.err; then
2496 ... rest of stderr output deleted ...
2497 10q' conftest.err >conftest.er1
2498 cat conftest.er1 >&5
2500 rm -f conftest.er1 conftest.err
2501 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2502 test $ac_status = 0; }
2505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2506 /* end confdefs.h. */
2516 ac_clean_files_save=$ac_clean_files
2517 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
2518 # Try to create an executable without -o first, disregard a.out.
2519 # It will help us diagnose broken compilers, and finding out an intuition
2521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
2522 $as_echo_n "checking whether the C compiler works... " >&6; }
2523 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
2525 # The possible output files:
2526 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
2529 for ac_file in $ac_files
2532 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2533 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
2538 if { { ac_try="$ac_link_default"
2540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2541 *) ac_try_echo=$ac_try;;
2543 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2544 $as_echo "$ac_try_echo"; } >&5
2545 (eval "$ac_link_default") 2>&5
2547 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2548 test $ac_status = 0; }; then :
2549 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
2550 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
2551 # in a Makefile. We should not override ac_cv_exeext if it was cached,
2552 # so that the user can short-circuit this test for compilers unknown to
2554 for ac_file in $ac_files ''
2556 test -f "$ac_file" || continue
2558 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
2561 # We found the default executable, but exeext='' is most
2565 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
2567 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2569 # We set ac_cv_exeext here because the later test for it is not
2570 # safe: cross compilers may not add the suffix if given an `-o'
2571 # argument, so we may need to know it at that point already.
2572 # Even if this section looks crufty: it has the advantage of
2579 test "$ac_cv_exeext" = no && ac_cv_exeext=
2584 if test -z "$ac_file"; then :
2585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
2586 $as_echo "no" >&6; }
2587 $as_echo "$as_me: failed program was:" >&5
2588 sed 's/^/| /' conftest.$ac_ext >&5
2590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2592 as_fn_error 77 "C compiler cannot create executables
2593 See \`config.log' for more details" "$LINENO" 5; }
2595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
2596 $as_echo "yes" >&6; }
2598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
2599 $as_echo_n "checking for C compiler default output file name... " >&6; }
2600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
2601 $as_echo "$ac_file" >&6; }
2602 ac_exeext=$ac_cv_exeext
2604 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
2605 ac_clean_files=$ac_clean_files_save
2606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
2607 $as_echo_n "checking for suffix of executables... " >&6; }
2608 if { { ac_try="$ac_link"
2610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2611 *) ac_try_echo=$ac_try;;
2613 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2614 $as_echo "$ac_try_echo"; } >&5
2615 (eval "$ac_link") 2>&5
2617 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2618 test $ac_status = 0; }; then :
2619 # If both `conftest.exe' and `conftest' are `present' (well, observable)
2620 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
2621 # work properly (i.e., refer to `conftest.exe'), while it won't with
2623 for ac_file in conftest.exe conftest conftest.*; do
2624 test -f "$ac_file" || continue
2626 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
2627 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
2633 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2634 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2635 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
2636 See \`config.log' for more details" "$LINENO" 5; }
2638 rm -f conftest conftest$ac_cv_exeext
2639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
2640 $as_echo "$ac_cv_exeext" >&6; }
2642 rm -f conftest.$ac_ext
2643 EXEEXT=$ac_cv_exeext
2645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2646 /* end confdefs.h. */
2651 FILE *f = fopen ("conftest.out", "w");
2652 return ferror (f) || fclose (f) != 0;
2658 ac_clean_files="$ac_clean_files conftest.out"
2659 # Check that the compiler produces executables we can run. If not, either
2660 # the compiler is broken, or we cross compile.
2661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
2662 $as_echo_n "checking whether we are cross compiling... " >&6; }
2663 if test "$cross_compiling" != yes; then
2664 { { ac_try="$ac_link"
2666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2667 *) ac_try_echo=$ac_try;;
2669 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2670 $as_echo "$ac_try_echo"; } >&5
2671 (eval "$ac_link") 2>&5
2673 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2674 test $ac_status = 0; }
2675 if { ac_try='./conftest$ac_cv_exeext'
2676 { { case "(($ac_try" in
2677 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2678 *) ac_try_echo=$ac_try;;
2680 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2681 $as_echo "$ac_try_echo"; } >&5
2682 (eval "$ac_try") 2>&5
2684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2685 test $ac_status = 0; }; }; then
2688 if test "$cross_compiling" = maybe; then
2691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2693 as_fn_error $? "cannot run C compiled programs.
2694 If you meant to cross compile, use \`--host'.
2695 See \`config.log' for more details" "$LINENO" 5; }
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
2700 $as_echo "$cross_compiling" >&6; }
2702 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
2703 ac_clean_files=$ac_clean_files_save
2704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
2705 $as_echo_n "checking for suffix of object files... " >&6; }
2706 if ${ac_cv_objext+:} false; then :
2707 $as_echo_n "(cached) " >&6
2709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2710 /* end confdefs.h. */
2720 rm -f conftest.o conftest.obj
2721 if { { ac_try="$ac_compile"
2723 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2724 *) ac_try_echo=$ac_try;;
2726 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2727 $as_echo "$ac_try_echo"; } >&5
2728 (eval "$ac_compile") 2>&5
2730 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2731 test $ac_status = 0; }; then :
2732 for ac_file in conftest.o conftest.obj conftest.*; do
2733 test -f "$ac_file" || continue;
2735 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
2736 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
2741 $as_echo "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2745 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2746 as_fn_error $? "cannot compute suffix of object files: cannot compile
2747 See \`config.log' for more details" "$LINENO" 5; }
2749 rm -f conftest.$ac_cv_objext conftest.$ac_ext
2751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
2752 $as_echo "$ac_cv_objext" >&6; }
2753 OBJEXT=$ac_cv_objext
2755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
2756 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
2757 if ${ac_cv_c_compiler_gnu+:} false; then :
2758 $as_echo_n "(cached) " >&6
2760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2761 /* end confdefs.h. */
2774 if ac_fn_c_try_compile "$LINENO"; then :
2779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2780 ac_cv_c_compiler_gnu=$ac_compiler_gnu
2783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
2784 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
2785 if test $ac_compiler_gnu = yes; then
2790 ac_test_CFLAGS=${CFLAGS+set}
2791 ac_save_CFLAGS=$CFLAGS
2792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
2793 $as_echo_n "checking whether $CC accepts -g... " >&6; }
2794 if ${ac_cv_prog_cc_g+:} false; then :
2795 $as_echo_n "(cached) " >&6
2797 ac_save_c_werror_flag=$ac_c_werror_flag
2798 ac_c_werror_flag=yes
2801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2802 /* end confdefs.h. */
2812 if ac_fn_c_try_compile "$LINENO"; then :
2816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2817 /* end confdefs.h. */
2827 if ac_fn_c_try_compile "$LINENO"; then :
2830 ac_c_werror_flag=$ac_save_c_werror_flag
2832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2833 /* end confdefs.h. */
2843 if ac_fn_c_try_compile "$LINENO"; then :
2846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2851 ac_c_werror_flag=$ac_save_c_werror_flag
2853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
2854 $as_echo "$ac_cv_prog_cc_g" >&6; }
2855 if test "$ac_test_CFLAGS" = set; then
2856 CFLAGS=$ac_save_CFLAGS
2857 elif test $ac_cv_prog_cc_g = yes; then
2858 if test "$GCC" = yes; then
2864 if test "$GCC" = yes; then
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
2871 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
2872 if ${ac_cv_prog_cc_c89+:} false; then :
2873 $as_echo_n "(cached) " >&6
2875 ac_cv_prog_cc_c89=no
2877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2878 /* end confdefs.h. */
2882 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
2883 struct buf { int x; };
2884 FILE * (*rcsopen) (struct buf *, struct stat *, int);
2885 static char *e (p, i)
2891 static char *f (char * (*g) (char **, int), char **p, ...)
2896 s = g (p, va_arg (v,int));
2901 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
2902 function prototypes and stuff, but not '\xHH' hex character constants.
2903 These don't provoke an error unfortunately, instead are silently treated
2904 as 'x'. The following induces an error, until -std is added to get
2905 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
2906 array size at least. It's necessary to write '\x00'==0 to get something
2907 that's true only with -std. */
2908 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
2910 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
2911 inside strings and character constants. */
2913 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
2915 int test (int i, double x);
2916 struct s1 {int (*f) (int a);};
2917 struct s2 {int (*f) (double a);};
2918 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
2924 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
2929 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
2930 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
2932 CC="$ac_save_CC $ac_arg"
2933 if ac_fn_c_try_compile "$LINENO"; then :
2934 ac_cv_prog_cc_c89=$ac_arg
2936 rm -f core conftest.err conftest.$ac_objext
2937 test "x$ac_cv_prog_cc_c89" != "xno" && break
2939 rm -f conftest.$ac_ext
2944 case "x$ac_cv_prog_cc_c89" in
2946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
2947 $as_echo "none needed" >&6; } ;;
2949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
2950 $as_echo "unsupported" >&6; } ;;
2952 CC="$CC $ac_cv_prog_cc_c89"
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
2954 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
2956 if test "x$ac_cv_prog_cc_c89" != xno; then :
2961 ac_cpp='$CPP $CPPFLAGS'
2962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2966 for ac_prog in 'bison -y' byacc
2968 # Extract the first word of "$ac_prog", so it can be a program name with args.
2969 set dummy $ac_prog; ac_word=$2
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
2971 $as_echo_n "checking for $ac_word... " >&6; }
2972 if ${ac_cv_prog_YACC+:} false; then :
2973 $as_echo_n "(cached) " >&6
2975 if test -n "$YACC"; then
2976 ac_cv_prog_YACC="$YACC" # Let the user override the test.
2978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2982 test -z "$as_dir" && as_dir=.
2983 for ac_exec_ext in '' $ac_executable_extensions; do
2984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
2985 ac_cv_prog_YACC="$ac_prog"
2986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
2995 YACC=$ac_cv_prog_YACC
2996 if test -n "$YACC"; then
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $YACC" >&5
2998 $as_echo "$YACC" >&6; }
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3001 $as_echo "no" >&6; }
3005 test -n "$YACC" && break
3007 test -n "$YACC" || YACC="yacc"
3012 CFLAGS="$CFLAGS -O0"
3018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gtk" >&5
3019 $as_echo_n "checking for gtk... " >&6; }
3020 # Check whether --enable-gtk was given.
3021 if test "${enable_gtk+set}" = set; then :
3022 enableval=$enable_gtk; gtk="$enableval"
3030 $as_echo "#define OPTION_GTK 1" >>confdefs.h
3032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3033 $as_echo "yes" >&6; }
3036 $as_echo "#define OPTION_GTK 0" >>confdefs.h
3038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3039 $as_echo "no" >&6; }
3049 if test x$option_gtk = xtrue ; then
3053 # Check whether --with-gtk-prefix was given.
3054 if test "${with_gtk_prefix+set}" = set; then :
3055 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
3057 gtk_config_prefix=""
3061 # Check whether --with-gtk-exec-prefix was given.
3062 if test "${with_gtk_exec_prefix+set}" = set; then :
3063 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
3065 gtk_config_exec_prefix=""
3068 # Check whether --enable-gtktest was given.
3069 if test "${enable_gtktest+set}" = set; then :
3070 enableval=$enable_gtktest;
3080 gtk_config_args="$gtk_config_args gthread"
3085 if test x$gtk_config_exec_prefix != x ; then
3086 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
3087 if test x${GTK_CONFIG+set} != xset ; then
3088 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
3091 if test x$gtk_config_prefix != x ; then
3092 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
3093 if test x${GTK_CONFIG+set} != xset ; then
3094 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
3098 # Extract the first word of "gtk-config", so it can be a program name with args.
3099 set dummy gtk-config; ac_word=$2
3100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3101 $as_echo_n "checking for $ac_word... " >&6; }
3102 if ${ac_cv_path_GTK_CONFIG+:} false; then :
3103 $as_echo_n "(cached) " >&6
3107 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
3110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3114 test -z "$as_dir" && as_dir=.
3115 for ac_exec_ext in '' $ac_executable_extensions; do
3116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3117 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
3118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3125 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
3129 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
3130 if test -n "$GTK_CONFIG"; then
3131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
3132 $as_echo "$GTK_CONFIG" >&6; }
3134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3135 $as_echo "no" >&6; }
3139 min_gtk_version=1.0.1
3140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
3141 $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
3143 if test "$GTK_CONFIG" = "no" ; then
3146 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
3147 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
3148 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
3149 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
3150 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
3151 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
3152 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
3153 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
3154 if test "x$enable_gtktest" = "xyes" ; then
3155 ac_save_CFLAGS="$CFLAGS"
3156 ac_save_LIBS="$LIBS"
3157 CFLAGS="$CFLAGS $GTK_CFLAGS"
3158 LIBS="$GTK_LIBS $LIBS"
3160 if test "$cross_compiling" = yes; then :
3161 echo $ac_n "cross compiling; assumed OK... $ac_c"
3163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3164 /* end confdefs.h. */
3166 #include <gtk/gtk.h>
3173 int major, minor, micro;
3176 system ("touch conf.gtktest");
3178 /* HP/UX 9 (%@#!) writes to sscanf strings */
3179 tmp_version = g_strdup("$min_gtk_version");
3180 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, µ) != 3) {
3181 printf("%s, bad version string\n", "$min_gtk_version");
3185 if ((gtk_major_version != $gtk_config_major_version) ||
3186 (gtk_minor_version != $gtk_config_minor_version) ||
3187 (gtk_micro_version != $gtk_config_micro_version))
3189 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
3190 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
3191 gtk_major_version, gtk_minor_version, gtk_micro_version);
3192 printf ("*** was found! If gtk-config was correct, then it is best\n");
3193 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
3194 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
3195 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
3196 printf("*** required on your system.\n");
3197 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
3198 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
3199 printf("*** before re-running configure\n");
3201 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
3202 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
3203 (gtk_minor_version != GTK_MINOR_VERSION) ||
3204 (gtk_micro_version != GTK_MICRO_VERSION))
3206 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
3207 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
3208 printf("*** library (version %d.%d.%d)\n",
3209 gtk_major_version, gtk_minor_version, gtk_micro_version);
3211 #endif /* defined (GTK_MAJOR_VERSION) ... */
3214 if ((gtk_major_version > major) ||
3215 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
3216 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
3222 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
3223 gtk_major_version, gtk_minor_version, gtk_micro_version);
3224 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
3225 major, minor, micro);
3226 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
3228 printf("*** If you have already installed a sufficiently new version, this error\n");
3229 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
3230 printf("*** being found. The easiest way to fix this is to remove the old version\n");
3231 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
3232 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
3233 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
3234 printf("*** so that the correct libraries are found at run-time))\n");
3241 if ac_fn_c_try_run "$LINENO"; then :
3246 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
3247 conftest.$ac_objext conftest.beam conftest.$ac_ext
3250 CFLAGS="$ac_save_CFLAGS"
3251 LIBS="$ac_save_LIBS"
3254 if test "x$no_gtk" = x ; then
3255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3256 $as_echo "yes" >&6; }
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3260 $as_echo "no" >&6; }
3261 if test "$GTK_CONFIG" = "no" ; then
3262 echo "*** The gtk-config script installed by GTK could not be found"
3263 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
3264 echo "*** your path, or set the GTK_CONFIG environment variable to the"
3265 echo "*** full path to gtk-config."
3267 if test -f conf.gtktest ; then
3270 echo "*** Could not run GTK test program, checking why..."
3271 CFLAGS="$CFLAGS $GTK_CFLAGS"
3272 LIBS="$LIBS $GTK_LIBS"
3273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3274 /* end confdefs.h. */
3276 #include <gtk/gtk.h>
3282 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
3287 if ac_fn_c_try_link "$LINENO"; then :
3288 echo "*** The test program compiled, but did not run. This usually means"
3289 echo "*** that the run-time linker is not finding GTK or finding the wrong"
3290 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
3291 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
3292 echo "*** to the installed location Also, make sure you have run ldconfig if that"
3293 echo "*** is required on your system"
3295 echo "*** If you have an old version installed, it is best to remove it, although"
3296 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
3298 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
3299 echo "*** came with the system with the command"
3301 echo "*** rpm --erase --nodeps gtk gtk-devel"
3303 echo "*** The test program failed to compile or link. See the file config.log for the"
3304 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
3305 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
3306 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
3308 rm -f core conftest.err conftest.$ac_objext \
3309 conftest$ac_exeext conftest.$ac_ext
3310 CFLAGS="$ac_save_CFLAGS"
3311 LIBS="$ac_save_LIBS"
3322 if test x$have_gtk = xfalse ; then
3325 GUI_LIBS="$GTK_LIBS"
3326 GUI_CFLAGS="$GTK_CFLAGS"
3333 if test x$option_gtk = xtrue; then
3335 OPTION_GTK_FALSE='#'
3342 ac_config_files="$ac_config_files Makefile as31/Makefile"
3344 cat >confcache <<\_ACEOF
3345 # This file is a shell script that caches the results of configure
3346 # tests run on this system so they can be shared between configure
3347 # scripts and configure runs, see configure's option --config-cache.
3348 # It is not useful on other systems. If it contains results you don't
3349 # want to keep, you may remove or edit it.
3351 # config.status only pays attention to the cache file if you give it
3352 # the --recheck option to rerun configure.
3354 # `ac_cv_env_foo' variables (set or unset) will be overridden when
3355 # loading this file, other *unset* `ac_cv_foo' will be assigned the
3360 # The following way of writing the cache mishandles newlines in values,
3361 # but we know of no workaround that is simple, portable, and efficient.
3362 # So, we kill variables containing newlines.
3363 # Ultrix sh set writes to stderr and can't be redirected directly,
3364 # and sets the high bit in the cache file unless we assign to the vars.
3366 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
3367 eval ac_val=\$$ac_var
3371 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3372 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3375 _ | IFS | as_nl) ;; #(
3376 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3377 *) { eval $ac_var=; unset $ac_var;} ;;
3383 case $as_nl`(ac_space=' '; set) 2>&1` in #(
3384 *${as_nl}ac_space=\ *)
3385 # `set' does not quote correctly, so add quotes: double-quote
3386 # substitution turns \\\\ into \\, and sed turns \\ into \.
3389 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
3392 # `set' quotes correctly as required by POSIX, so do not add quotes.
3393 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3402 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
3404 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
3406 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
3407 if test -w "$cache_file"; then
3408 if test "x$cache_file" != "x/dev/null"; then
3409 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
3410 $as_echo "$as_me: updating cache $cache_file" >&6;}
3411 if test ! -f "$cache_file" || test -h "$cache_file"; then
3412 cat confcache >"$cache_file"
3414 case $cache_file in #(
3416 mv -f confcache "$cache_file"$$ &&
3417 mv -f "$cache_file"$$ "$cache_file" ;; #(
3419 mv -f confcache "$cache_file" ;;
3424 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
3425 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
3430 test "x$prefix" = xNONE && prefix=$ac_default_prefix
3431 # Let make expand exec_prefix.
3432 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
3434 # Transform confdefs.h into DEFS.
3435 # Protect against shell expansion while executing Makefile rules.
3436 # Protect against Makefile macro expansion.
3438 # If the first sed substitution is executed (which looks for macros that
3439 # take arguments), then branch to the quote section. Otherwise,
3440 # look for a macro that doesn't take arguments.
3450 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
3452 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
3456 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
3469 DEFS=`sed -n "$ac_script" confdefs.h`
3475 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
3476 # 1. Remove the extension, and $U if already installed.
3477 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
3478 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
3479 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
3480 # will be set to the directory where LIBOBJS objects are built.
3481 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
3482 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
3486 LTLIBOBJS=$ac_ltlibobjs
3490 : "${CONFIG_STATUS=./config.status}"
3492 ac_clean_files_save=$ac_clean_files
3493 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
3494 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
3495 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
3497 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
3499 # Generated by $as_me.
3500 # Run this file to recreate the current configuration.
3501 # Compiler output produced by configure, useful for debugging
3502 # configure, is in config.log if it exists.
3508 SHELL=\${CONFIG_SHELL-$SHELL}
3511 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
3512 ## -------------------- ##
3513 ## M4sh Initialization. ##
3514 ## -------------------- ##
3516 # Be more Bourne compatible
3517 DUALCASE=1; export DUALCASE # for MKS sh
3518 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
3521 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
3522 # is contrary to our usage. Disable this feature.
3523 alias -g '${1+"$@"}'='"$@"'
3524 setopt NO_GLOB_SUBST
3526 case `(set -o) 2>/dev/null` in #(
3538 # Printing a long string crashes Solaris 7 /usr/bin/printf.
3539 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
3540 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
3541 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
3542 # Prefer a ksh shell builtin over an external printf program on Solaris,
3543 # but without wasting forks for bash or zsh.
3544 if test -z "$BASH_VERSION$ZSH_VERSION" \
3545 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
3546 as_echo='print -r --'
3547 as_echo_n='print -rn --'
3548 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
3549 as_echo='printf %s\n'
3550 as_echo_n='printf %s'
3552 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
3553 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
3554 as_echo_n='/usr/ucb/echo -n'
3556 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
3557 as_echo_n_body='eval
3561 expr "X$arg" : "X\\(.*\\)$as_nl";
3562 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
3564 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
3566 export as_echo_n_body
3567 as_echo_n='sh -c $as_echo_n_body as_echo'
3570 as_echo='sh -c $as_echo_body as_echo'
3573 # The user is always right.
3574 if test "${PATH_SEPARATOR+set}" != set; then
3576 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
3577 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
3584 # We need space, tab and new line, in precisely that order. Quoting is
3585 # there to prevent editors from complaining about space-tab.
3586 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
3587 # splitting by setting IFS to empty value.)
3590 # Find who we are. Look in the path if we contain no directory separator.
3593 *[\\/]* ) as_myself=$0 ;;
3594 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3598 test -z "$as_dir" && as_dir=.
3599 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
3605 # We did not find ourselves, most probably we were run as `sh COMMAND'
3606 # in which case we are not to be found in the path.
3607 if test "x$as_myself" = x; then
3610 if test ! -f "$as_myself"; then
3611 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
3615 # Unset variables that we do not need and which cause bugs (e.g. in
3616 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
3617 # suppresses any "Segmentation fault" message there. '((' could
3618 # trigger a bug in pdksh 5.2.14.
3619 for as_var in BASH_ENV ENV MAIL MAILPATH
3620 do eval test x\${$as_var+set} = xset \
3621 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
3634 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
3637 # as_fn_error STATUS ERROR [LINENO LOG_FD]
3638 # ----------------------------------------
3639 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
3640 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
3641 # script with STATUS, using 1 if that was 0.
3644 as_status=$1; test $as_status -eq 0 && as_status=1
3646 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3647 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
3649 $as_echo "$as_me: error: $2" >&2
3650 as_fn_exit $as_status
3654 # as_fn_set_status STATUS
3655 # -----------------------
3656 # Set $? to STATUS, without forking.
3660 } # as_fn_set_status
3664 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
3674 # Portably unset VAR.
3677 { eval $1=; unset $1;}
3679 as_unset=as_fn_unset
3680 # as_fn_append VAR VALUE
3681 # ----------------------
3682 # Append the text in VALUE to the end of the definition contained in VAR. Take
3683 # advantage of any shell optimizations that allow amortized linear growth over
3684 # repeated appends, instead of the typical quadratic growth present in naive
3686 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
3687 eval 'as_fn_append ()
3698 # as_fn_arith ARG...
3699 # ------------------
3700 # Perform arithmetic evaluation on the ARGs, and store the result in the
3701 # global $as_val. Take advantage of shells that can avoid forks. The arguments
3702 # must be portable across $(()) and expr.
3703 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
3704 eval 'as_fn_arith ()
3711 as_val=`expr "$@" || test $? -eq 1`
3716 if expr a : '\(a\)' >/dev/null 2>&1 &&
3717 test "X`expr 00001 : '.*\(...\)'`" = X001; then
3723 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
3724 as_basename=basename
3729 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
3735 as_me=`$as_basename -- "$0" ||
3736 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
3737 X"$0" : 'X\(//\)$' \| \
3738 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
3740 sed '/^.*\/\([^/][^/]*\)\/*$/{
3754 # Avoid depending upon Character Ranges.
3755 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
3756 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
3757 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
3758 as_cr_digits='0123456789'
3759 as_cr_alnum=$as_cr_Letters$as_cr_digits
3761 ECHO_C= ECHO_N= ECHO_T=
3762 case `echo -n x` in #(((((
3764 case `echo 'xy\c'` in
3765 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
3767 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
3774 rm -f conf$$ conf$$.exe conf$$.file
3775 if test -d conf$$.dir; then
3776 rm -f conf$$.dir/conf$$.file
3779 mkdir conf$$.dir 2>/dev/null
3781 if (echo >conf$$.file) 2>/dev/null; then
3782 if ln -s conf$$.file conf$$ 2>/dev/null; then
3784 # ... but there are two gotchas:
3785 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
3786 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
3787 # In both cases, we have to default to `cp -pR'.
3788 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
3790 elif ln conf$$.file conf$$ 2>/dev/null; then
3798 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
3799 rmdir conf$$.dir 2>/dev/null
3804 # Create "$as_dir" as a directory, including parents if necessary.
3809 -*) as_dir=./$as_dir;;
3811 test -d "$as_dir" || eval $as_mkdir_p || {
3815 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
3816 *) as_qdir=$as_dir;;
3818 as_dirs="'$as_qdir' $as_dirs"
3819 as_dir=`$as_dirname -- "$as_dir" ||
3820 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
3821 X"$as_dir" : 'X\(//\)[^/]' \| \
3822 X"$as_dir" : 'X\(//\)$' \| \
3823 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
3824 $as_echo X"$as_dir" |
3825 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
3842 test -d "$as_dir" && break
3844 test -z "$as_dirs" || eval "mkdir $as_dirs"
3845 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
3849 if mkdir -p . 2>/dev/null; then
3850 as_mkdir_p='mkdir -p "$as_dir"'
3852 test -d ./-p && rmdir ./-p
3857 # as_fn_executable_p FILE
3858 # -----------------------
3859 # Test if FILE is an executable regular file.
3860 as_fn_executable_p ()
3862 test -f "$1" && test -x "$1"
3863 } # as_fn_executable_p
3865 as_executable_p=as_fn_executable_p
3867 # Sed expression to map a string onto a valid CPP name.
3868 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
3870 # Sed expression to map a string onto a valid variable name.
3871 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
3875 ## ----------------------------------- ##
3876 ## Main body of $CONFIG_STATUS script. ##
3877 ## ----------------------------------- ##
3879 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
3881 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3882 # Save the log message, to keep $0 and so on meaningful, and to
3883 # report actual input values of CONFIG_FILES etc. instead of their
3884 # values after options handling.
3886 This file was extended by $as_me, which was
3887 generated by GNU Autoconf 2.69. Invocation command line was
3889 CONFIG_FILES = $CONFIG_FILES
3890 CONFIG_HEADERS = $CONFIG_HEADERS
3891 CONFIG_LINKS = $CONFIG_LINKS
3892 CONFIG_COMMANDS = $CONFIG_COMMANDS
3895 on `(hostname || uname -n) 2>/dev/null | sed 1q`
3900 case $ac_config_files in *"
3901 "*) set x $ac_config_files; shift; ac_config_files=$*;;
3906 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3907 # Files that config.status was made for.
3908 config_files="$ac_config_files"
3912 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3914 \`$as_me' instantiates files and other configuration actions
3915 from templates according to the current configuration. Unless the files
3916 and actions are specified as TAGs, all are instantiated by default.
3918 Usage: $0 [OPTION]... [TAG]...
3920 -h, --help print this help, then exit
3921 -V, --version print version number and configuration settings, then exit
3922 --config print configuration, then exit
3923 -q, --quiet, --silent
3924 do not print progress messages
3925 -d, --debug don't remove temporary files
3926 --recheck update $as_me by reconfiguring in the same conditions
3927 --file=FILE[:TEMPLATE]
3928 instantiate the configuration file FILE
3930 Configuration files:
3933 Report bugs to the package provider."
3936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
3937 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
3940 configured by $0, generated by GNU Autoconf 2.69,
3941 with options \\"\$ac_cs_config\\"
3943 Copyright (C) 2012 Free Software Foundation, Inc.
3944 This config.status script is free software; the Free Software Foundation
3945 gives unlimited permission to copy, distribute and modify it."
3950 test -n "\$AWK" || AWK=awk
3953 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
3954 # The default lists apply if the user does not specify any file.
3960 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3961 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
3965 ac_option=`expr "X$1" : 'X\([^=]*\)='`
3977 # Handling of the options.
3978 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
3980 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
3981 $as_echo "$ac_cs_version"; exit ;;
3982 --config | --confi | --conf | --con | --co | --c )
3983 $as_echo "$ac_cs_config"; exit ;;
3984 --debug | --debu | --deb | --de | --d | -d )
3986 --file | --fil | --fi | --f )
3989 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
3990 '') as_fn_error $? "missing file argument" ;;
3992 as_fn_append CONFIG_FILES " '$ac_optarg'"
3993 ac_need_defaults=false;;
3994 --he | --h | --help | --hel | -h )
3995 $as_echo "$ac_cs_usage"; exit ;;
3996 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3997 | -silent | --silent | --silen | --sile | --sil | --si | --s)
4001 -*) as_fn_error $? "unrecognized option: \`$1'
4002 Try \`$0 --help' for more information." ;;
4004 *) as_fn_append ac_config_targets " $1"
4005 ac_need_defaults=false ;;
4011 ac_configure_extra_args=
4013 if $ac_cs_silent; then
4015 ac_configure_extra_args="$ac_configure_extra_args --silent"
4019 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4020 if \$ac_cs_recheck; then
4021 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
4023 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
4024 CONFIG_SHELL='$SHELL'
4030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4034 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
4035 ## Running $as_me. ##
4041 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4044 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4046 # Handling of arguments.
4047 for ac_config_target in $ac_config_targets
4049 case $ac_config_target in
4050 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
4051 "as31/Makefile") CONFIG_FILES="$CONFIG_FILES as31/Makefile" ;;
4053 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
4058 # If the user did not use the arguments to specify the items to instantiate,
4059 # then the envvar interface is used. Set only those that are not.
4060 # We use the long form for the default assignment because of an extremely
4061 # bizarre bug on SunOS 4.1.3.
4062 if $ac_need_defaults; then
4063 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
4066 # Have a temporary directory for convenience. Make it in the build tree
4067 # simply because there is no reason against having it here, and in addition,
4068 # creating and moving files from /tmp can sometimes cause problems.
4069 # Hook for its removal unless debugging.
4070 # Note that there is a small window in which the directory will not be cleaned:
4071 # after its creation but before its name has been assigned to `$tmp'.
4075 trap 'exit_status=$?
4077 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
4079 trap 'as_fn_exit 1' 1 2 13 15
4081 # Create a (secure) tmp directory for tmp files.
4084 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
4088 tmp=./conf$$-$RANDOM
4089 (umask 077 && mkdir "$tmp")
4090 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
4093 # Set up the scripts for CONFIG_FILES section.
4094 # No need to generate them if there are no CONFIG_FILES.
4095 # This happens for instance with `./config.status config.h'.
4096 if test -n "$CONFIG_FILES"; then
4099 ac_cr=`echo X | tr X '\015'`
4100 # On cygwin, bash can eat \r inside `` if the user requested igncr.
4101 # But we know of no other shell where ac_cr would be empty at this
4102 # point, so we can use a bashism as a fallback.
4103 if test "x$ac_cr" = x; then
4104 eval ac_cr=\$\'\\r\'
4106 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
4107 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
4113 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
4118 echo "cat >conf$$subs.awk <<_ACEOF" &&
4119 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
4122 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4123 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
4125 for ac_last_try in false false false false false :; do
4126 . ./conf$$subs.sh ||
4127 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4129 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
4130 if test $ac_delim_n = $ac_delim_num; then
4132 elif $ac_last_try; then
4133 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
4135 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
4140 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4141 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
4145 s/^/S["/; s/!.*/"]=/
4155 s/\(.\{148\}\)..*/\1/
4157 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
4162 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4169 s/\(.\{148\}\)..*/\1/
4171 s/["\\]/\\&/g; s/^/"/; s/$/"/
4175 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
4180 ' <conf$$subs.awk | sed '
4185 ' >>$CONFIG_STATUS || ac_write_fail=1
4186 rm -f conf$$subs.awk
4187 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4189 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
4190 for (key in S) S_is_set[key] = 1
4196 nfields = split(line, field, "@")
4198 len = length(field[1])
4199 for (i = 2; i < nfields; i++) {
4201 keylen = length(key)
4202 if (S_is_set[key]) {
4204 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
4205 len += length(value) + length(field[++i])
4216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4217 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
4218 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
4221 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
4222 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
4225 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
4226 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
4227 # trailing colons and then remove the whole line if VPATH becomes empty
4228 # (actually we leave an empty line to preserve line numbers).
4229 if test "x$srcdir" = x.; then
4230 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
4248 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4249 fi # test -n "$CONFIG_FILES"
4252 eval set X " :F $CONFIG_FILES "
4257 :[FHLC]) ac_mode=$ac_tag; continue;;
4259 case $ac_mode$ac_tag in
4261 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
4262 :[FH]-) ac_tag=-:-;;
4263 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
4280 -) ac_f="$ac_tmp/stdin";;
4281 *) # Look for the file first in the build tree, then in the source tree
4282 # (if the path is not absolute). The absolute path cannot be DOS-style,
4283 # because $ac_f cannot contain `:'.
4287 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
4289 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
4291 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
4292 as_fn_append ac_file_inputs " '$ac_f'"
4295 # Let's still pretend it is `configure' which instantiates (i.e., don't
4296 # use $as_me), people would be surprised to read:
4297 # /* config.h. Generated by config.status. */
4298 configure_input='Generated from '`
4299 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
4301 if test x"$ac_file" != x-; then
4302 configure_input="$ac_file. $configure_input"
4303 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
4304 $as_echo "$as_me: creating $ac_file" >&6;}
4306 # Neutralize special characters interpreted by sed in replacement strings.
4307 case $configure_input in #(
4308 *\&* | *\|* | *\\* )
4309 ac_sed_conf_input=`$as_echo "$configure_input" |
4310 sed 's/[\\\\&|]/\\\\&/g'`;; #(
4311 *) ac_sed_conf_input=$configure_input;;
4315 *:-:* | *:-) cat >"$ac_tmp/stdin" \
4316 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
4321 ac_dir=`$as_dirname -- "$ac_file" ||
4322 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
4323 X"$ac_file" : 'X\(//\)[^/]' \| \
4324 X"$ac_file" : 'X\(//\)$' \| \
4325 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
4326 $as_echo X"$ac_file" |
4327 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
4344 as_dir="$ac_dir"; as_fn_mkdir_p
4348 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
4350 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
4351 # A ".." for each directory in $ac_dir_suffix.
4352 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
4353 case $ac_top_builddir_sub in
4354 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
4355 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
4358 ac_abs_top_builddir=$ac_pwd
4359 ac_abs_builddir=$ac_pwd$ac_dir_suffix
4360 # for backward compatibility:
4361 ac_top_builddir=$ac_top_build_prefix
4364 .) # We are building in place.
4366 ac_top_srcdir=$ac_top_builddir_sub
4367 ac_abs_top_srcdir=$ac_pwd ;;
4368 [\\/]* | ?:[\\/]* ) # Absolute name.
4369 ac_srcdir=$srcdir$ac_dir_suffix;
4370 ac_top_srcdir=$srcdir
4371 ac_abs_top_srcdir=$srcdir ;;
4373 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
4374 ac_top_srcdir=$ac_top_build_prefix$srcdir
4375 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
4377 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
4387 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
4388 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
4392 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4393 # If the template does not know about datarootdir, expand it.
4394 # FIXME: This hack should be removed a few years after 2.60.
4395 ac_datarootdir_hack=; ac_datarootdir_seen=
4406 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
4407 *datarootdir*) ac_datarootdir_seen=yes;;
4408 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
4409 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
4410 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
4412 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4413 ac_datarootdir_hack='
4414 s&@datadir@&$datadir&g
4415 s&@docdir@&$docdir&g
4416 s&@infodir@&$infodir&g
4417 s&@localedir@&$localedir&g
4418 s&@mandir@&$mandir&g
4419 s&\\\${datarootdir}&$datarootdir&g' ;;
4423 # Neutralize VPATH when `$srcdir' = `.'.
4424 # Shell code in configure.ac might set extrasub.
4425 # FIXME: do we really want to maintain this feature?
4426 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
4427 ac_sed_extra="$ac_vpsub
4430 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
4432 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
4433 s|@configure_input@|$ac_sed_conf_input|;t t
4434 s&@top_builddir@&$ac_top_builddir_sub&;t t
4435 s&@top_build_prefix@&$ac_top_build_prefix&;t t
4436 s&@srcdir@&$ac_srcdir&;t t
4437 s&@abs_srcdir@&$ac_abs_srcdir&;t t
4438 s&@top_srcdir@&$ac_top_srcdir&;t t
4439 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
4440 s&@builddir@&$ac_builddir&;t t
4441 s&@abs_builddir@&$ac_abs_builddir&;t t
4442 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
4443 s&@INSTALL@&$ac_INSTALL&;t t
4444 $ac_datarootdir_hack
4446 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
4447 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4449 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
4450 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
4451 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
4452 "$ac_tmp/out"`; test -z "$ac_out"; } &&
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4454 which seems to be undefined. Please make sure it is defined" >&5
4455 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
4456 which seems to be undefined. Please make sure it is defined" >&2;}
4458 rm -f "$ac_tmp/stdin"
4460 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
4461 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
4463 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
4475 ac_clean_files=$ac_clean_files_save
4477 test $ac_write_fail = 0 ||
4478 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
4481 # configure is writing to config.log, and then calls config.status.
4482 # config.status does its own redirection, appending to config.log.
4483 # Unfortunately, on DOS this fails, as config.log is still kept open
4484 # by configure, so config.status won't be able to write to it; its
4485 # output is simply discarded. So we exec the FD to /dev/null,
4486 # effectively closing config.log, so it can be properly (re)opened and
4487 # appended to by config.status. When coming back to configure, we
4488 # need to make the FD available again.
4489 if test "$no_create" != yes; then
4491 ac_config_status_args=
4492 test "$silent" = yes &&
4493 ac_config_status_args="$ac_config_status_args --quiet"
4495 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
4497 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
4498 # would make configure fail if this is the last instruction.
4499 $ac_cs_success || as_fn_exit 1
4501 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
4502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
4503 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}