2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.64.
5 # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
6 # 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software
9 # This configure script is free software; the Free Software Foundation
10 # gives unlimited permission to copy, distribute and modify it.
11 ## -------------------- ##
12 ## M4sh Initialization. ##
13 ## -------------------- ##
15 # Be more Bourne compatible
16 DUALCASE=1; export DUALCASE # for MKS sh
17 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21 # is contrary to our usage. Disable this feature.
22 alias -g '${1+"$@"}'='"$@"'
25 case `(set -o) 2>/dev/null` in #(
37 # Printing a long string crashes Solaris 7 /usr/bin/printf.
38 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
39 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
40 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
41 # Prefer a ksh shell builtin over an external printf program on Solaris,
42 # but without wasting forks for bash or zsh.
43 if test -z "$BASH_VERSION$ZSH_VERSION" \
44 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
46 as_echo_n='print -rn --'
47 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
51 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
52 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
53 as_echo_n='/usr/ucb/echo -n'
55 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
60 expr "X$arg" : "X\\(.*\\)$as_nl";
61 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
63 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
66 as_echo_n='sh -c $as_echo_n_body as_echo'
69 as_echo='sh -c $as_echo_body as_echo'
72 # The user is always right.
73 if test "${PATH_SEPARATOR+set}" != set; then
75 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
76 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
83 # We need space, tab and new line, in precisely that order. Quoting is
84 # there to prevent editors from complaining about space-tab.
85 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
86 # splitting by setting IFS to empty value.)
89 # Find who we are. Look in the path if we contain no directory separator.
91 *[\\/]* ) as_myself=$0 ;;
92 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 test -z "$as_dir" && as_dir=.
97 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
103 # We did not find ourselves, most probably we were run as `sh COMMAND'
104 # in which case we are not to be found in the path.
105 if test "x$as_myself" = x; then
108 if test ! -f "$as_myself"; then
109 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 # Unset variables that we do not need and which cause bugs (e.g. in
114 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
115 # suppresses any "Segmentation fault" message there. '((' could
116 # trigger a bug in pdksh 5.2.14.
117 for as_var in BASH_ENV ENV MAIL MAILPATH
118 do eval test x\${$as_var+set} = xset \
119 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
132 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134 if test "x$CONFIG_SHELL" = x; then
135 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
138 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
139 # is contrary to our usage. Disable this feature.
140 alias -g '\${1+\"\$@\"}'='\"\$@\"'
143 case \`(set -o) 2>/dev/null\` in #(
151 as_required="as_fn_return () { (exit \$1); }
152 as_fn_success () { as_fn_return 0; }
153 as_fn_failure () { as_fn_return 1; }
154 as_fn_ret_success () { return 0; }
155 as_fn_ret_failure () { return 1; }
158 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
159 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
160 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
161 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
162 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
165 exitcode=1; echo positional parameters were not saved.
167 test x\$exitcode = x0 || exit 1"
168 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
169 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
170 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
171 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1"
172 if (eval "$as_required") 2>/dev/null; then :
177 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
180 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
182 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
185 test -z "$as_dir" && as_dir=.
189 for as_base in sh bash ksh sh5; do
190 # Try only shells that exist, to save several forks.
191 as_shell=$as_dir/$as_base
192 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
193 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
194 CONFIG_SHELL=$as_shell as_have_required=yes
195 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
203 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
204 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
205 CONFIG_SHELL=$SHELL as_have_required=yes
210 if test "x$CONFIG_SHELL" != x; then :
211 # We cannot yet assume a decent shell, so we have to provide a
212 # neutralization value for shells without unset; and this also
213 # works around shells that cannot unset nonexistent variables.
216 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
218 exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
221 if test x$as_have_required = xno; then :
222 $as_echo "$0: This script requires a shell more modern than all"
223 $as_echo "$0: the shells that I found on your system."
224 if test x${ZSH_VERSION+set} = xset ; then
225 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
226 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
228 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
229 $0: including any error possibly output before this
230 $0: message. Then install a modern shell, or manually run
231 $0: the script under such a shell if you do have one."
237 SHELL=${CONFIG_SHELL-/bin/sh}
239 # Unset more variables known to interfere with behavior of common tools.
240 CLICOLOR_FORCE= GREP_OPTIONS=
241 unset CLICOLOR_FORCE GREP_OPTIONS
243 ## --------------------- ##
244 ## M4sh Shell Functions. ##
245 ## --------------------- ##
248 # Portably unset VAR.
251 { eval $1=; unset $1;}
255 # as_fn_set_status STATUS
256 # -----------------------
257 # Set $? to STATUS, without forking.
265 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
275 # Create "$as_dir" as a directory, including parents if necessary.
280 -*) as_dir=./$as_dir;;
282 test -d "$as_dir" || eval $as_mkdir_p || {
286 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
289 as_dirs="'$as_qdir' $as_dirs"
290 as_dir=`$as_dirname -- "$as_dir" ||
291 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
292 X"$as_dir" : 'X\(//\)[^/]' \| \
293 X"$as_dir" : 'X\(//\)$' \| \
294 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
295 $as_echo X"$as_dir" |
296 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
313 test -d "$as_dir" && break
315 test -z "$as_dirs" || eval "mkdir $as_dirs"
316 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
320 # as_fn_append VAR VALUE
321 # ----------------------
322 # Append the text in VALUE to the end of the definition contained in VAR. Take
323 # advantage of any shell optimizations that allow amortized linear growth over
324 # repeated appends, instead of the typical quadratic growth present in naive
326 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
327 eval 'as_fn_append ()
340 # Perform arithmetic evaluation on the ARGs, and store the result in the
341 # global $as_val. Take advantage of shells that can avoid forks. The arguments
342 # must be portable across $(()) and expr.
343 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
351 as_val=`expr "$@" || test $? -eq 1`
356 # as_fn_error ERROR [LINENO LOG_FD]
357 # ---------------------------------
358 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
359 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
360 # script with status $?, using 1 if that was 0.
363 as_status=$?; test $as_status -eq 0 && as_status=1
365 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
366 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
368 $as_echo "$as_me: error: $1" >&2
369 as_fn_exit $as_status
372 if expr a : '\(a\)' >/dev/null 2>&1 &&
373 test "X`expr 00001 : '.*\(...\)'`" = X001; then
379 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
385 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
391 as_me=`$as_basename -- "$0" ||
392 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
393 X"$0" : 'X\(//\)$' \| \
394 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
396 sed '/^.*\/\([^/][^/]*\)\/*$/{
410 # Avoid depending upon Character Ranges.
411 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
412 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
413 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
414 as_cr_digits='0123456789'
415 as_cr_alnum=$as_cr_Letters$as_cr_digits
418 as_lineno_1=$LINENO as_lineno_1a=$LINENO
419 as_lineno_2=$LINENO as_lineno_2a=$LINENO
420 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
421 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
422 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
434 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
438 chmod +x "$as_me.lineno" ||
439 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
441 # Don't try to exec as it changes $[0], causing all sort of problems
442 # (the dirname of $[0] is not the place where we might find the
443 # original and so on. Autoconf is especially sensitive to this).
445 # Exit status is that of the last command.
449 ECHO_C= ECHO_N= ECHO_T=
450 case `echo -n x` in #(((((
452 case `echo 'xy\c'` in
453 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
455 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
462 rm -f conf$$ conf$$.exe conf$$.file
463 if test -d conf$$.dir; then
464 rm -f conf$$.dir/conf$$.file
467 mkdir conf$$.dir 2>/dev/null
469 if (echo >conf$$.file) 2>/dev/null; then
470 if ln -s conf$$.file conf$$ 2>/dev/null; then
472 # ... but there are two gotchas:
473 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
474 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
475 # In both cases, we have to default to `cp -p'.
476 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
478 elif ln conf$$.file conf$$ 2>/dev/null; then
486 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
487 rmdir conf$$.dir 2>/dev/null
489 if mkdir -p . 2>/dev/null; then
490 as_mkdir_p='mkdir -p "$as_dir"'
492 test -d ./-p && rmdir ./-p
496 if test -x / >/dev/null 2>&1; then
499 if ls -dL / >/dev/null 2>&1; then
506 if test -d "$1"; then
512 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
513 ???[sx]*):;;*)false;;esac;fi
517 as_executable_p=$as_test_x
519 # Sed expression to map a string onto a valid CPP name.
520 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
522 # Sed expression to map a string onto a valid variable name.
523 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
526 exec 7<&0 </dev/null 6>&1
529 # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
530 # so uname gets run too.
531 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
536 ac_default_prefix=/usr/local
538 ac_config_libobj_dir=.
545 # Identity of this package.
553 ac_unique_file="Makefile.in"
554 ac_subst_vars='LTLIBOBJS
587 program_transform_name
600 enable_option_checking
601 enable_maintainer_mode
603 ac_precious_vars='build_alias
608 # Initialize some variables set by options.
610 ac_init_version=false
611 ac_unrecognized_opts=
613 # The variables have the same names as the options, with
614 # dashes changed to underlines.
622 program_transform_name=s,x,x,
630 # Installation directory options.
631 # These are left unexpanded so users can "make install exec_prefix=/foo"
632 # and all the variables that are supposed to be based on exec_prefix
633 # by default will actually change.
634 # Use braces instead of parens because sh, perl, etc. also accept them.
635 # (The list follows the same order as the GNU Coding Standards.)
636 bindir='${exec_prefix}/bin'
637 sbindir='${exec_prefix}/sbin'
638 libexecdir='${exec_prefix}/libexec'
639 datarootdir='${prefix}/share'
640 datadir='${datarootdir}'
641 sysconfdir='${prefix}/etc'
642 sharedstatedir='${prefix}/com'
643 localstatedir='${prefix}/var'
644 includedir='${prefix}/include'
645 oldincludedir='/usr/include'
646 docdir='${datarootdir}/doc/${PACKAGE}'
647 infodir='${datarootdir}/info'
652 libdir='${exec_prefix}/lib'
653 localedir='${datarootdir}/locale'
654 mandir='${datarootdir}/man'
660 # If the previous option needs an argument, assign it.
661 if test -n "$ac_prev"; then
662 eval $ac_prev=\$ac_option
668 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
672 # Accept the important Cygnus configure options, so we can diagnose typos.
674 case $ac_dashdash$ac_option in
678 -bindir | --bindir | --bindi | --bind | --bin | --bi)
680 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
683 -build | --build | --buil | --bui | --bu)
684 ac_prev=build_alias ;;
685 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
686 build_alias=$ac_optarg ;;
688 -cache-file | --cache-file | --cache-fil | --cache-fi \
689 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
690 ac_prev=cache_file ;;
691 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
692 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
693 cache_file=$ac_optarg ;;
696 cache_file=config.cache ;;
698 -datadir | --datadir | --datadi | --datad)
700 -datadir=* | --datadir=* | --datadi=* | --datad=*)
701 datadir=$ac_optarg ;;
703 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
704 | --dataroo | --dataro | --datar)
705 ac_prev=datarootdir ;;
706 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
707 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
708 datarootdir=$ac_optarg ;;
710 -disable-* | --disable-*)
711 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
712 # Reject names that are not valid shell variable names.
713 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
714 as_fn_error "invalid feature name: $ac_useropt"
715 ac_useropt_orig=$ac_useropt
716 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
717 case $ac_user_opts in
721 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
722 ac_unrecognized_sep=', ';;
724 eval enable_$ac_useropt=no ;;
726 -docdir | --docdir | --docdi | --doc | --do)
728 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
731 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
733 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
736 -enable-* | --enable-*)
737 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
738 # Reject names that are not valid shell variable names.
739 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
740 as_fn_error "invalid feature name: $ac_useropt"
741 ac_useropt_orig=$ac_useropt
742 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
743 case $ac_user_opts in
747 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
748 ac_unrecognized_sep=', ';;
750 eval enable_$ac_useropt=\$ac_optarg ;;
752 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
753 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
754 | --exec | --exe | --ex)
755 ac_prev=exec_prefix ;;
756 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
757 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
758 | --exec=* | --exe=* | --ex=*)
759 exec_prefix=$ac_optarg ;;
761 -gas | --gas | --ga | --g)
762 # Obsolete; use --with-gas.
765 -help | --help | --hel | --he | -h)
767 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
768 ac_init_help=recursive ;;
769 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
770 ac_init_help=short ;;
772 -host | --host | --hos | --ho)
773 ac_prev=host_alias ;;
774 -host=* | --host=* | --hos=* | --ho=*)
775 host_alias=$ac_optarg ;;
777 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
779 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
781 htmldir=$ac_optarg ;;
783 -includedir | --includedir | --includedi | --included | --include \
784 | --includ | --inclu | --incl | --inc)
785 ac_prev=includedir ;;
786 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
787 | --includ=* | --inclu=* | --incl=* | --inc=*)
788 includedir=$ac_optarg ;;
790 -infodir | --infodir | --infodi | --infod | --info | --inf)
792 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
793 infodir=$ac_optarg ;;
795 -libdir | --libdir | --libdi | --libd)
797 -libdir=* | --libdir=* | --libdi=* | --libd=*)
800 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
801 | --libexe | --libex | --libe)
802 ac_prev=libexecdir ;;
803 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
804 | --libexe=* | --libex=* | --libe=*)
805 libexecdir=$ac_optarg ;;
807 -localedir | --localedir | --localedi | --localed | --locale)
809 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
810 localedir=$ac_optarg ;;
812 -localstatedir | --localstatedir | --localstatedi | --localstated \
813 | --localstate | --localstat | --localsta | --localst | --locals)
814 ac_prev=localstatedir ;;
815 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
816 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
817 localstatedir=$ac_optarg ;;
819 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
821 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
825 # Obsolete; use --without-fp.
828 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
829 | --no-cr | --no-c | -n)
832 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
833 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
836 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
837 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
838 | --oldin | --oldi | --old | --ol | --o)
839 ac_prev=oldincludedir ;;
840 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
841 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
842 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
843 oldincludedir=$ac_optarg ;;
845 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
847 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
850 -program-prefix | --program-prefix | --program-prefi | --program-pref \
851 | --program-pre | --program-pr | --program-p)
852 ac_prev=program_prefix ;;
853 -program-prefix=* | --program-prefix=* | --program-prefi=* \
854 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
855 program_prefix=$ac_optarg ;;
857 -program-suffix | --program-suffix | --program-suffi | --program-suff \
858 | --program-suf | --program-su | --program-s)
859 ac_prev=program_suffix ;;
860 -program-suffix=* | --program-suffix=* | --program-suffi=* \
861 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
862 program_suffix=$ac_optarg ;;
864 -program-transform-name | --program-transform-name \
865 | --program-transform-nam | --program-transform-na \
866 | --program-transform-n | --program-transform- \
867 | --program-transform | --program-transfor \
868 | --program-transfo | --program-transf \
869 | --program-trans | --program-tran \
870 | --progr-tra | --program-tr | --program-t)
871 ac_prev=program_transform_name ;;
872 -program-transform-name=* | --program-transform-name=* \
873 | --program-transform-nam=* | --program-transform-na=* \
874 | --program-transform-n=* | --program-transform-=* \
875 | --program-transform=* | --program-transfor=* \
876 | --program-transfo=* | --program-transf=* \
877 | --program-trans=* | --program-tran=* \
878 | --progr-tra=* | --program-tr=* | --program-t=*)
879 program_transform_name=$ac_optarg ;;
881 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
883 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
886 -psdir | --psdir | --psdi | --psd | --ps)
888 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
891 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
892 | -silent | --silent | --silen | --sile | --sil)
895 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
897 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
899 sbindir=$ac_optarg ;;
901 -sharedstatedir | --sharedstatedir | --sharedstatedi \
902 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
903 | --sharedst | --shareds | --shared | --share | --shar \
905 ac_prev=sharedstatedir ;;
906 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
907 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
908 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
910 sharedstatedir=$ac_optarg ;;
912 -site | --site | --sit)
914 -site=* | --site=* | --sit=*)
917 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
919 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
922 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
923 | --syscon | --sysco | --sysc | --sys | --sy)
924 ac_prev=sysconfdir ;;
925 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
926 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
927 sysconfdir=$ac_optarg ;;
929 -target | --target | --targe | --targ | --tar | --ta | --t)
930 ac_prev=target_alias ;;
931 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
932 target_alias=$ac_optarg ;;
934 -v | -verbose | --verbose | --verbos | --verbo | --verb)
937 -version | --version | --versio | --versi | --vers | -V)
941 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
942 # Reject names that are not valid shell variable names.
943 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
944 as_fn_error "invalid package name: $ac_useropt"
945 ac_useropt_orig=$ac_useropt
946 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
947 case $ac_user_opts in
951 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
952 ac_unrecognized_sep=', ';;
954 eval with_$ac_useropt=\$ac_optarg ;;
956 -without-* | --without-*)
957 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
958 # Reject names that are not valid shell variable names.
959 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
960 as_fn_error "invalid package name: $ac_useropt"
961 ac_useropt_orig=$ac_useropt
962 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
963 case $ac_user_opts in
967 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
968 ac_unrecognized_sep=', ';;
970 eval with_$ac_useropt=no ;;
973 # Obsolete; use --with-x.
976 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
977 | --x-incl | --x-inc | --x-in | --x-i)
978 ac_prev=x_includes ;;
979 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
980 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
981 x_includes=$ac_optarg ;;
983 -x-libraries | --x-libraries | --x-librarie | --x-librari \
984 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
985 ac_prev=x_libraries ;;
986 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
987 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
988 x_libraries=$ac_optarg ;;
990 -*) as_fn_error "unrecognized option: \`$ac_option'
991 Try \`$0 --help' for more information."
995 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
996 # Reject names that are not valid shell variable names.
997 case $ac_envvar in #(
998 '' | [0-9]* | *[!_$as_cr_alnum]* )
999 as_fn_error "invalid variable name: \`$ac_envvar'" ;;
1001 eval $ac_envvar=\$ac_optarg
1002 export $ac_envvar ;;
1005 # FIXME: should be removed in autoconf 3.0.
1006 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1007 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1008 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1009 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1015 if test -n "$ac_prev"; then
1016 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1017 as_fn_error "missing argument to $ac_option"
1020 if test -n "$ac_unrecognized_opts"; then
1021 case $enable_option_checking in
1023 fatal) as_fn_error "unrecognized options: $ac_unrecognized_opts" ;;
1024 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1028 # Check all directory arguments for consistency.
1029 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1030 datadir sysconfdir sharedstatedir localstatedir includedir \
1031 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1032 libdir localedir mandir
1034 eval ac_val=\$$ac_var
1035 # Remove trailing slashes.
1038 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1039 eval $ac_var=\$ac_val;;
1041 # Be sure to have absolute directory names.
1043 [\\/$]* | ?:[\\/]* ) continue;;
1044 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1046 as_fn_error "expected an absolute directory name for --$ac_var: $ac_val"
1049 # There might be people who depend on the old broken behavior: `$host'
1050 # used to hold the argument of --host etc.
1051 # FIXME: To remove some day.
1054 target=$target_alias
1056 # FIXME: To remove some day.
1057 if test "x$host_alias" != x; then
1058 if test "x$build_alias" = x; then
1059 cross_compiling=maybe
1060 $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1061 If a cross compiler is detected then cross compile mode will be used." >&2
1062 elif test "x$build_alias" != "x$host_alias"; then
1068 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1070 test "$silent" = yes && exec 6>/dev/null
1073 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1074 ac_ls_di=`ls -di .` &&
1075 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1076 as_fn_error "working directory cannot be determined"
1077 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1078 as_fn_error "pwd does not report name of working directory"
1081 # Find the source files, if location was not specified.
1082 if test -z "$srcdir"; then
1083 ac_srcdir_defaulted=yes
1084 # Try the directory containing this script, then the parent directory.
1085 ac_confdir=`$as_dirname -- "$as_myself" ||
1086 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1087 X"$as_myself" : 'X\(//\)[^/]' \| \
1088 X"$as_myself" : 'X\(//\)$' \| \
1089 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1090 $as_echo X"$as_myself" |
1091 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1109 if test ! -r "$srcdir/$ac_unique_file"; then
1113 ac_srcdir_defaulted=no
1115 if test ! -r "$srcdir/$ac_unique_file"; then
1116 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1117 as_fn_error "cannot find sources ($ac_unique_file) in $srcdir"
1119 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1121 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error "$ac_msg"
1123 # When building in place, set srcdir=.
1124 if test "$ac_abs_confdir" = "$ac_pwd"; then
1127 # Remove unnecessary trailing slashes from srcdir.
1128 # Double slashes in file names in object file debugging info
1129 # mess up M-x gdb in Emacs.
1131 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1133 for ac_var in $ac_precious_vars; do
1134 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1135 eval ac_env_${ac_var}_value=\$${ac_var}
1136 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1137 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1141 # Report the --help message.
1143 if test "$ac_init_help" = "long"; then
1144 # Omit some internal or obsolete options to make the list less imposing.
1145 # This message is too long to be a string in the A/UX 3.1 sh.
1147 \`configure' configures this package to adapt to many kinds of systems.
1149 Usage: $0 [OPTION]... [VAR=VALUE]...
1151 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1152 VAR=VALUE. See below for descriptions of some of the useful variables.
1154 Defaults for the options are specified in brackets.
1157 -h, --help display this help and exit
1158 --help=short display options specific to this package
1159 --help=recursive display the short help of all the included packages
1160 -V, --version display version information and exit
1161 -q, --quiet, --silent do not print \`checking...' messages
1162 --cache-file=FILE cache test results in FILE [disabled]
1163 -C, --config-cache alias for \`--cache-file=config.cache'
1164 -n, --no-create do not create output files
1165 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1167 Installation directories:
1168 --prefix=PREFIX install architecture-independent files in PREFIX
1169 [$ac_default_prefix]
1170 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1173 By default, \`make install' will install all the files in
1174 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1175 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1176 for instance \`--prefix=\$HOME'.
1178 For better control, use the options below.
1180 Fine tuning of the installation directories:
1181 --bindir=DIR user executables [EPREFIX/bin]
1182 --sbindir=DIR system admin executables [EPREFIX/sbin]
1183 --libexecdir=DIR program executables [EPREFIX/libexec]
1184 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1185 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1186 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1187 --libdir=DIR object code libraries [EPREFIX/lib]
1188 --includedir=DIR C header files [PREFIX/include]
1189 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1190 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1191 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1192 --infodir=DIR info documentation [DATAROOTDIR/info]
1193 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1194 --mandir=DIR man documentation [DATAROOTDIR/man]
1195 --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
1196 --htmldir=DIR html documentation [DOCDIR]
1197 --dvidir=DIR dvi documentation [DOCDIR]
1198 --pdfdir=DIR pdf documentation [DOCDIR]
1199 --psdir=DIR ps documentation [DOCDIR]
1206 if test -n "$ac_init_help"; then
1211 --disable-option-checking ignore unrecognized --enable/--with options
1212 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1213 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1214 --enable-maintainer-mode
1215 enable make rules and dependencies not useful (and
1216 sometimes confusing) to the casual installer
1218 Report bugs to the package provider.
1223 if test "$ac_init_help" = "recursive"; then
1224 # If there are subdirs, report their specific --help.
1225 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1226 test -d "$ac_dir" ||
1227 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1232 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1234 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1235 # A ".." for each directory in $ac_dir_suffix.
1236 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1237 case $ac_top_builddir_sub in
1238 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1239 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1242 ac_abs_top_builddir=$ac_pwd
1243 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1244 # for backward compatibility:
1245 ac_top_builddir=$ac_top_build_prefix
1248 .) # We are building in place.
1250 ac_top_srcdir=$ac_top_builddir_sub
1251 ac_abs_top_srcdir=$ac_pwd ;;
1252 [\\/]* | ?:[\\/]* ) # Absolute name.
1253 ac_srcdir=$srcdir$ac_dir_suffix;
1254 ac_top_srcdir=$srcdir
1255 ac_abs_top_srcdir=$srcdir ;;
1257 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1258 ac_top_srcdir=$ac_top_build_prefix$srcdir
1259 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1261 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1263 cd "$ac_dir" || { ac_status=$?; continue; }
1264 # Check for guested configure.
1265 if test -f "$ac_srcdir/configure.gnu"; then
1267 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1268 elif test -f "$ac_srcdir/configure"; then
1270 $SHELL "$ac_srcdir/configure" --help=recursive
1272 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1274 cd "$ac_pwd" || { ac_status=$?; break; }
1278 test -n "$ac_init_help" && exit $ac_status
1279 if $ac_init_version; then
1282 generated by GNU Autoconf 2.64
1284 Copyright (C) 2009 Free Software Foundation, Inc.
1285 This configure script is free software; the Free Software Foundation
1286 gives unlimited permission to copy, distribute and modify it.
1291 ## ------------------------ ##
1292 ## Autoconf initialization. ##
1293 ## ------------------------ ##
1294 cat >config.log <<_ACEOF
1295 This file contains any messages produced by compilers while
1296 running configure, to aid debugging if configure makes a mistake.
1298 It was created by $as_me, which was
1299 generated by GNU Autoconf 2.64. Invocation command line was
1311 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
1312 uname -m = `(uname -m) 2>/dev/null || echo unknown`
1313 uname -r = `(uname -r) 2>/dev/null || echo unknown`
1314 uname -s = `(uname -s) 2>/dev/null || echo unknown`
1315 uname -v = `(uname -v) 2>/dev/null || echo unknown`
1317 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
1318 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
1320 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
1321 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
1322 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
1323 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
1324 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
1325 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
1326 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
1330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1334 test -z "$as_dir" && as_dir=.
1335 $as_echo "PATH: $as_dir"
1351 # Keep a trace of the command line.
1352 # Strip out --no-create and --no-recursion so they do not pile up.
1353 # Strip out --silent because we don't want to record it for future runs.
1354 # Also quote any args containing shell meta-characters.
1355 # Make two passes to allow for proper duplicate-argument suppression.
1359 ac_must_keep_next=false
1365 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
1366 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1367 | -silent | --silent | --silen | --sile | --sil)
1370 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
1373 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
1375 as_fn_append ac_configure_args1 " '$ac_arg'"
1376 if test $ac_must_keep_next = true; then
1377 ac_must_keep_next=false # Got value, back to normal.
1380 *=* | --config-cache | -C | -disable-* | --disable-* \
1381 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
1382 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
1383 | -with-* | --with-* | -without-* | --without-* | --x)
1384 case "$ac_configure_args0 " in
1385 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
1388 -* ) ac_must_keep_next=true ;;
1391 as_fn_append ac_configure_args " '$ac_arg'"
1396 { ac_configure_args0=; unset ac_configure_args0;}
1397 { ac_configure_args1=; unset ac_configure_args1;}
1399 # When interrupted or exit'd, cleanup temporary files, and complete
1400 # config.log. We remove comments because anyway the quotes in there
1401 # would cause problems or look ugly.
1402 # WARNING: Use '\'' to represent an apostrophe within the trap.
1403 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
1404 trap 'exit_status=$?
1405 # Save into config.log some information that might help in debugging.
1410 ## ---------------- ##
1411 ## Cache variables. ##
1412 ## ---------------- ##
1415 # The following way of writing the cache mishandles newlines in values,
1417 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
1418 eval ac_val=\$$ac_var
1422 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1423 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1426 _ | IFS | as_nl) ;; #(
1427 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1428 *) { eval $ac_var=; unset $ac_var;} ;;
1433 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
1434 *${as_nl}ac_space=\ *)
1436 "s/'\''/'\''\\\\'\'''\''/g;
1437 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
1440 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1448 ## ----------------- ##
1449 ## Output variables. ##
1450 ## ----------------- ##
1453 for ac_var in $ac_subst_vars
1455 eval ac_val=\$$ac_var
1457 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1459 $as_echo "$ac_var='\''$ac_val'\''"
1463 if test -n "$ac_subst_files"; then
1465 ## ------------------- ##
1466 ## File substitutions. ##
1467 ## ------------------- ##
1470 for ac_var in $ac_subst_files
1472 eval ac_val=\$$ac_var
1474 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
1476 $as_echo "$ac_var='\''$ac_val'\''"
1481 if test -s confdefs.h; then
1491 test "$ac_signal" != 0 &&
1492 $as_echo "$as_me: caught signal $ac_signal"
1493 $as_echo "$as_me: exit $exit_status"
1495 rm -f core *.core core.conftest.* &&
1496 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
1499 for ac_signal in 1 2 13 15; do
1500 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
1504 # confdefs.h avoids OS command line length limits that DEFS can exceed.
1505 rm -f -r conftest* confdefs.h
1507 $as_echo "/* confdefs.h */" > confdefs.h
1509 # Predefined preprocessor variables.
1511 cat >>confdefs.h <<_ACEOF
1512 #define PACKAGE_NAME "$PACKAGE_NAME"
1515 cat >>confdefs.h <<_ACEOF
1516 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
1519 cat >>confdefs.h <<_ACEOF
1520 #define PACKAGE_VERSION "$PACKAGE_VERSION"
1523 cat >>confdefs.h <<_ACEOF
1524 #define PACKAGE_STRING "$PACKAGE_STRING"
1527 cat >>confdefs.h <<_ACEOF
1528 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
1531 cat >>confdefs.h <<_ACEOF
1532 #define PACKAGE_URL "$PACKAGE_URL"
1536 # Let the site file select an alternate cache file if it wants to.
1537 # Prefer an explicitly selected file to automatically selected ones.
1540 if test -n "$CONFIG_SITE"; then
1541 ac_site_file1=$CONFIG_SITE
1542 elif test "x$prefix" != xNONE; then
1543 ac_site_file1=$prefix/share/config.site
1544 ac_site_file2=$prefix/etc/config.site
1546 ac_site_file1=$ac_default_prefix/share/config.site
1547 ac_site_file2=$ac_default_prefix/etc/config.site
1549 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
1551 test "x$ac_site_file" = xNONE && continue
1552 if test -r "$ac_site_file"; then
1553 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
1554 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
1555 sed 's/^/| /' "$ac_site_file" >&5
1560 if test -r "$cache_file"; then
1561 # Some versions of bash will fail to source /dev/null (special
1562 # files actually), so we avoid doing that.
1563 if test -f "$cache_file"; then
1564 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
1565 $as_echo "$as_me: loading cache $cache_file" >&6;}
1567 [\\/]* | ?:[\\/]* ) . "$cache_file";;
1568 *) . "./$cache_file";;
1572 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
1573 $as_echo "$as_me: creating cache $cache_file" >&6;}
1577 # Check that the precious variables saved in the cache have kept the same
1579 ac_cache_corrupted=false
1580 for ac_var in $ac_precious_vars; do
1581 eval ac_old_set=\$ac_cv_env_${ac_var}_set
1582 eval ac_new_set=\$ac_env_${ac_var}_set
1583 eval ac_old_val=\$ac_cv_env_${ac_var}_value
1584 eval ac_new_val=\$ac_env_${ac_var}_value
1585 case $ac_old_set,$ac_new_set in
1587 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
1588 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
1589 ac_cache_corrupted=: ;;
1591 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
1592 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
1593 ac_cache_corrupted=: ;;
1596 if test "x$ac_old_val" != "x$ac_new_val"; then
1597 # differences in whitespace do not lead to failure.
1598 ac_old_val_w=`echo x $ac_old_val`
1599 ac_new_val_w=`echo x $ac_new_val`
1600 if test "$ac_old_val_w" != "$ac_new_val_w"; then
1601 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
1602 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
1603 ac_cache_corrupted=:
1605 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
1606 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
1607 eval $ac_var=\$ac_old_val
1609 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
1610 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
1611 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
1612 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
1615 # Pass precious variables to config.status.
1616 if test "$ac_new_set" = set; then
1618 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
1619 *) ac_arg=$ac_var=$ac_new_val ;;
1621 case " $ac_configure_args " in
1622 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
1623 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
1627 if $ac_cache_corrupted; then
1628 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
1629 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
1630 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
1631 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
1632 as_fn_error "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
1634 ## -------------------- ##
1635 ## Main body of script. ##
1636 ## -------------------- ##
1639 ac_cpp='$CPP $CPPFLAGS'
1640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
1647 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
1648 for ac_t in install-sh install.sh shtool; do
1649 if test -f "$ac_dir/$ac_t"; then
1651 ac_install_sh="$ac_aux_dir/$ac_t -c"
1656 if test -z "$ac_aux_dir"; then
1657 as_fn_error "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
1660 # These three variables are undocumented and unsupported,
1661 # and are intended to be withdrawn in a future Autoconf release.
1662 # They can cause serious problems if a builder's source tree is in a directory
1663 # whose full name contains unusual characters.
1664 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
1665 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
1666 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
1669 # Find a good install program. We prefer a C program (faster),
1670 # so one script is as good as another. But avoid the broken or
1671 # incompatible versions:
1672 # SysV /etc/install, /usr/sbin/install
1673 # SunOS /usr/etc/install
1674 # IRIX /sbin/install
1676 # AmigaOS /C/install, which installs bootblocks on floppy discs
1677 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
1678 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
1679 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
1680 # OS/2's system install, which has a completely different semantic
1681 # ./install, which can be erroneously created by make from ./install.sh.
1682 # Reject install programs that cannot install multiple files.
1683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
1684 $as_echo_n "checking for a BSD-compatible install... " >&6; }
1685 if test -z "$INSTALL"; then
1686 if test "${ac_cv_path_install+set}" = set; then :
1687 $as_echo_n "(cached) " >&6
1689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
1693 test -z "$as_dir" && as_dir=.
1694 # Account for people who put trailing slashes in PATH elements.
1695 case $as_dir/ in #((
1696 ./ | .// | /[cC]/* | \
1697 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
1698 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
1701 # OSF1 and SCO ODT 3.0 have their own names for install.
1702 # Don't use installbsd from OSF since it installs stuff as root
1704 for ac_prog in ginstall scoinst install; do
1705 for ac_exec_ext in '' $ac_executable_extensions; do
1706 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
1707 if test $ac_prog = install &&
1708 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1709 # AIX install. It has an incompatible calling convention.
1711 elif test $ac_prog = install &&
1712 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
1713 # program-specific install script used by HP pwplus--don't use.
1716 rm -rf conftest.one conftest.two conftest.dir
1717 echo one > conftest.one
1718 echo two > conftest.two
1720 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
1721 test -s conftest.one && test -s conftest.two &&
1722 test -s conftest.dir/conftest.one &&
1723 test -s conftest.dir/conftest.two
1725 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
1738 rm -rf conftest.one conftest.two conftest.dir
1741 if test "${ac_cv_path_install+set}" = set; then
1742 INSTALL=$ac_cv_path_install
1744 # As a last resort, use the slow shell script. Don't cache a
1745 # value for INSTALL within a source directory, because that will
1746 # break other packages using the cache if that directory is
1747 # removed, or if the value is a relative name.
1748 INSTALL=$ac_install_sh
1751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
1752 $as_echo "$INSTALL" >&6; }
1754 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
1755 # It thinks the first close brace ends the variable substitution.
1756 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
1758 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
1760 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
1763 # Command-line options.
1764 # Very limited version of AC_MAINTAINER_MODE.
1765 # Check whether --enable-maintainer-mode was given.
1766 if test "${enable_maintainer_mode+set}" = set; then :
1767 enableval=$enable_maintainer_mode; case ${enable_maintainer_mode} in
1770 *) as_fn_error "--enable-maintainer-mode must be yes or no" "$LINENO" 5 ;;
1772 maintainer_mode=${enableval}
1783 ac_config_files="$ac_config_files Makefile"
1785 cat >confcache <<\_ACEOF
1786 # This file is a shell script that caches the results of configure
1787 # tests run on this system so they can be shared between configure
1788 # scripts and configure runs, see configure's option --config-cache.
1789 # It is not useful on other systems. If it contains results you don't
1790 # want to keep, you may remove or edit it.
1792 # config.status only pays attention to the cache file if you give it
1793 # the --recheck option to rerun configure.
1795 # `ac_cv_env_foo' variables (set or unset) will be overridden when
1796 # loading this file, other *unset* `ac_cv_foo' will be assigned the
1801 # The following way of writing the cache mishandles newlines in values,
1802 # but we know of no workaround that is simple, portable, and efficient.
1803 # So, we kill variables containing newlines.
1804 # Ultrix sh set writes to stderr and can't be redirected directly,
1805 # and sets the high bit in the cache file unless we assign to the vars.
1807 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
1808 eval ac_val=\$$ac_var
1812 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
1813 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
1816 _ | IFS | as_nl) ;; #(
1817 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
1818 *) { eval $ac_var=; unset $ac_var;} ;;
1824 case $as_nl`(ac_space=' '; set) 2>&1` in #(
1825 *${as_nl}ac_space=\ *)
1826 # `set' does not quote correctly, so add quotes: double-quote
1827 # substitution turns \\\\ into \\, and sed turns \\ into \.
1830 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
1833 # `set' quotes correctly as required by POSIX, so do not add quotes.
1834 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
1843 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
1845 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
1847 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
1848 if test -w "$cache_file"; then
1849 test "x$cache_file" != "x/dev/null" &&
1850 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
1851 $as_echo "$as_me: updating cache $cache_file" >&6;}
1852 cat confcache >$cache_file
1854 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
1855 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
1860 test "x$prefix" = xNONE && prefix=$ac_default_prefix
1861 # Let make expand exec_prefix.
1862 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
1864 # Transform confdefs.h into DEFS.
1865 # Protect against shell expansion while executing Makefile rules.
1866 # Protect against Makefile macro expansion.
1868 # If the first sed substitution is executed (which looks for macros that
1869 # take arguments), then branch to the quote section. Otherwise,
1870 # look for a macro that doesn't take arguments.
1880 s/^[ ]*#[ ]*define[ ][ ]*\([^ (][^ (]*([^)]*)\)[ ]*\(.*\)/-D\1=\2/g
1882 s/^[ ]*#[ ]*define[ ][ ]*\([^ ][^ ]*\)[ ]*\(.*\)/-D\1=\2/g
1886 s/[ `~#$^&*(){}\\|;'\''"<>?]/\\&/g
1899 DEFS=`sed -n "$ac_script" confdefs.h`
1904 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
1905 # 1. Remove the extension, and $U if already installed.
1906 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
1907 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
1908 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
1909 # will be set to the directory where LIBOBJS objects are built.
1910 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
1911 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
1915 LTLIBOBJS=$ac_ltlibobjs
1919 : ${CONFIG_STATUS=./config.status}
1921 ac_clean_files_save=$ac_clean_files
1922 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
1923 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
1924 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
1926 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
1928 # Generated by $as_me.
1929 # Run this file to recreate the current configuration.
1930 # Compiler output produced by configure, useful for debugging
1931 # configure, is in config.log if it exists.
1937 SHELL=\${CONFIG_SHELL-$SHELL}
1940 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
1941 ## -------------------- ##
1942 ## M4sh Initialization. ##
1943 ## -------------------- ##
1945 # Be more Bourne compatible
1946 DUALCASE=1; export DUALCASE # for MKS sh
1947 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
1950 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
1951 # is contrary to our usage. Disable this feature.
1952 alias -g '${1+"$@"}'='"$@"'
1953 setopt NO_GLOB_SUBST
1955 case `(set -o) 2>/dev/null` in #(
1967 # Printing a long string crashes Solaris 7 /usr/bin/printf.
1968 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
1969 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
1970 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
1971 # Prefer a ksh shell builtin over an external printf program on Solaris,
1972 # but without wasting forks for bash or zsh.
1973 if test -z "$BASH_VERSION$ZSH_VERSION" \
1974 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
1975 as_echo='print -r --'
1976 as_echo_n='print -rn --'
1977 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
1978 as_echo='printf %s\n'
1979 as_echo_n='printf %s'
1981 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
1982 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
1983 as_echo_n='/usr/ucb/echo -n'
1985 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
1986 as_echo_n_body='eval
1990 expr "X$arg" : "X\\(.*\\)$as_nl";
1991 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
1993 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
1995 export as_echo_n_body
1996 as_echo_n='sh -c $as_echo_n_body as_echo'
1999 as_echo='sh -c $as_echo_body as_echo'
2002 # The user is always right.
2003 if test "${PATH_SEPARATOR+set}" != set; then
2005 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
2006 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
2013 # We need space, tab and new line, in precisely that order. Quoting is
2014 # there to prevent editors from complaining about space-tab.
2015 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
2016 # splitting by setting IFS to empty value.)
2019 # Find who we are. Look in the path if we contain no directory separator.
2021 *[\\/]* ) as_myself=$0 ;;
2022 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2026 test -z "$as_dir" && as_dir=.
2027 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
2033 # We did not find ourselves, most probably we were run as `sh COMMAND'
2034 # in which case we are not to be found in the path.
2035 if test "x$as_myself" = x; then
2038 if test ! -f "$as_myself"; then
2039 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
2043 # Unset variables that we do not need and which cause bugs (e.g. in
2044 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
2045 # suppresses any "Segmentation fault" message there. '((' could
2046 # trigger a bug in pdksh 5.2.14.
2047 for as_var in BASH_ENV ENV MAIL MAILPATH
2048 do eval test x\${$as_var+set} = xset \
2049 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
2062 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
2065 # as_fn_error ERROR [LINENO LOG_FD]
2066 # ---------------------------------
2067 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
2068 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
2069 # script with status $?, using 1 if that was 0.
2072 as_status=$?; test $as_status -eq 0 && as_status=1
2074 as_lineno=${as_lineno-"$2"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2075 $as_echo "$as_me:${as_lineno-$LINENO}: error: $1" >&$3
2077 $as_echo "$as_me: error: $1" >&2
2078 as_fn_exit $as_status
2082 # as_fn_set_status STATUS
2083 # -----------------------
2084 # Set $? to STATUS, without forking.
2088 } # as_fn_set_status
2092 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
2102 # Portably unset VAR.
2105 { eval $1=; unset $1;}
2107 as_unset=as_fn_unset
2108 # as_fn_append VAR VALUE
2109 # ----------------------
2110 # Append the text in VALUE to the end of the definition contained in VAR. Take
2111 # advantage of any shell optimizations that allow amortized linear growth over
2112 # repeated appends, instead of the typical quadratic growth present in naive
2114 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
2115 eval 'as_fn_append ()
2126 # as_fn_arith ARG...
2127 # ------------------
2128 # Perform arithmetic evaluation on the ARGs, and store the result in the
2129 # global $as_val. Take advantage of shells that can avoid forks. The arguments
2130 # must be portable across $(()) and expr.
2131 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
2132 eval 'as_fn_arith ()
2139 as_val=`expr "$@" || test $? -eq 1`
2144 if expr a : '\(a\)' >/dev/null 2>&1 &&
2145 test "X`expr 00001 : '.*\(...\)'`" = X001; then
2151 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
2152 as_basename=basename
2157 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
2163 as_me=`$as_basename -- "$0" ||
2164 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
2165 X"$0" : 'X\(//\)$' \| \
2166 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
2168 sed '/^.*\/\([^/][^/]*\)\/*$/{
2182 # Avoid depending upon Character Ranges.
2183 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
2184 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
2185 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
2186 as_cr_digits='0123456789'
2187 as_cr_alnum=$as_cr_Letters$as_cr_digits
2189 ECHO_C= ECHO_N= ECHO_T=
2190 case `echo -n x` in #(((((
2192 case `echo 'xy\c'` in
2193 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
2195 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
2202 rm -f conf$$ conf$$.exe conf$$.file
2203 if test -d conf$$.dir; then
2204 rm -f conf$$.dir/conf$$.file
2207 mkdir conf$$.dir 2>/dev/null
2209 if (echo >conf$$.file) 2>/dev/null; then
2210 if ln -s conf$$.file conf$$ 2>/dev/null; then
2212 # ... but there are two gotchas:
2213 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
2214 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
2215 # In both cases, we have to default to `cp -p'.
2216 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
2218 elif ln conf$$.file conf$$ 2>/dev/null; then
2226 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
2227 rmdir conf$$.dir 2>/dev/null
2232 # Create "$as_dir" as a directory, including parents if necessary.
2237 -*) as_dir=./$as_dir;;
2239 test -d "$as_dir" || eval $as_mkdir_p || {
2243 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
2244 *) as_qdir=$as_dir;;
2246 as_dirs="'$as_qdir' $as_dirs"
2247 as_dir=`$as_dirname -- "$as_dir" ||
2248 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2249 X"$as_dir" : 'X\(//\)[^/]' \| \
2250 X"$as_dir" : 'X\(//\)$' \| \
2251 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
2252 $as_echo X"$as_dir" |
2253 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2270 test -d "$as_dir" && break
2272 test -z "$as_dirs" || eval "mkdir $as_dirs"
2273 } || test -d "$as_dir" || as_fn_error "cannot create directory $as_dir"
2277 if mkdir -p . 2>/dev/null; then
2278 as_mkdir_p='mkdir -p "$as_dir"'
2280 test -d ./-p && rmdir ./-p
2284 if test -x / >/dev/null 2>&1; then
2287 if ls -dL / >/dev/null 2>&1; then
2294 if test -d "$1"; then
2300 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in #((
2301 ???[sx]*):;;*)false;;esac;fi
2305 as_executable_p=$as_test_x
2307 # Sed expression to map a string onto a valid CPP name.
2308 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
2310 # Sed expression to map a string onto a valid variable name.
2311 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
2315 ## ----------------------------------- ##
2316 ## Main body of $CONFIG_STATUS script. ##
2317 ## ----------------------------------- ##
2319 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
2321 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2322 # Save the log message, to keep $0 and so on meaningful, and to
2323 # report actual input values of CONFIG_FILES etc. instead of their
2324 # values after options handling.
2326 This file was extended by $as_me, which was
2327 generated by GNU Autoconf 2.64. Invocation command line was
2329 CONFIG_FILES = $CONFIG_FILES
2330 CONFIG_HEADERS = $CONFIG_HEADERS
2331 CONFIG_LINKS = $CONFIG_LINKS
2332 CONFIG_COMMANDS = $CONFIG_COMMANDS
2335 on `(hostname || uname -n) 2>/dev/null | sed 1q`
2340 case $ac_config_files in *"
2341 "*) set x $ac_config_files; shift; ac_config_files=$*;;
2346 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2347 # Files that config.status was made for.
2348 config_files="$ac_config_files"
2352 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2354 \`$as_me' instantiates files and other configuration actions
2355 from templates according to the current configuration. Unless the files
2356 and actions are specified as TAGs, all are instantiated by default.
2358 Usage: $0 [OPTION]... [TAG]...
2360 -h, --help print this help, then exit
2361 -V, --version print version number and configuration settings, then exit
2362 -q, --quiet, --silent
2363 do not print progress messages
2364 -d, --debug don't remove temporary files
2365 --recheck update $as_me by reconfiguring in the same conditions
2366 --file=FILE[:TEMPLATE]
2367 instantiate the configuration file FILE
2369 Configuration files:
2372 Report bugs to the package provider."
2375 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2378 configured by $0, generated by GNU Autoconf 2.64,
2379 with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
2381 Copyright (C) 2009 Free Software Foundation, Inc.
2382 This config.status script is free software; the Free Software Foundation
2383 gives unlimited permission to copy, distribute and modify it."
2388 test -n "\$AWK" || AWK=awk
2391 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2392 # The default lists apply if the user does not specify any file.
2398 ac_option=`expr "X$1" : 'X\([^=]*\)='`
2399 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
2410 # Handling of the options.
2411 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
2413 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
2414 $as_echo "$ac_cs_version"; exit ;;
2415 --debug | --debu | --deb | --de | --d | -d )
2417 --file | --fil | --fi | --f )
2420 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
2422 as_fn_append CONFIG_FILES " '$ac_optarg'"
2423 ac_need_defaults=false;;
2424 --he | --h | --help | --hel | -h )
2425 $as_echo "$ac_cs_usage"; exit ;;
2426 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2427 | -silent | --silent | --silen | --sile | --sil | --si | --s)
2431 -*) as_fn_error "unrecognized option: \`$1'
2432 Try \`$0 --help' for more information." ;;
2434 *) as_fn_append ac_config_targets " $1"
2435 ac_need_defaults=false ;;
2441 ac_configure_extra_args=
2443 if $ac_cs_silent; then
2445 ac_configure_extra_args="$ac_configure_extra_args --silent"
2449 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2450 if \$ac_cs_recheck; then
2451 set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
2453 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
2454 CONFIG_SHELL='$SHELL'
2460 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2464 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
2465 ## Running $as_me. ##
2471 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2474 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2476 # Handling of arguments.
2477 for ac_config_target in $ac_config_targets
2479 case $ac_config_target in
2480 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
2482 *) as_fn_error "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
2487 # If the user did not use the arguments to specify the items to instantiate,
2488 # then the envvar interface is used. Set only those that are not.
2489 # We use the long form for the default assignment because of an extremely
2490 # bizarre bug on SunOS 4.1.3.
2491 if $ac_need_defaults; then
2492 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
2495 # Have a temporary directory for convenience. Make it in the build tree
2496 # simply because there is no reason against having it here, and in addition,
2497 # creating and moving files from /tmp can sometimes cause problems.
2498 # Hook for its removal unless debugging.
2499 # Note that there is a small window in which the directory will not be cleaned:
2500 # after its creation but before its name has been assigned to `$tmp'.
2504 trap 'exit_status=$?
2505 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
2507 trap 'as_fn_exit 1' 1 2 13 15
2509 # Create a (secure) tmp directory for tmp files.
2512 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
2513 test -n "$tmp" && test -d "$tmp"
2516 tmp=./conf$$-$RANDOM
2517 (umask 077 && mkdir "$tmp")
2518 } || as_fn_error "cannot create a temporary directory in ." "$LINENO" 5
2520 # Set up the scripts for CONFIG_FILES section.
2521 # No need to generate them if there are no CONFIG_FILES.
2522 # This happens for instance with `./config.status config.h'.
2523 if test -n "$CONFIG_FILES"; then
2526 ac_cr=`echo X | tr X '\015'`
2527 # On cygwin, bash can eat \r inside `` if the user requested igncr.
2528 # But we know of no other shell where ac_cr would be empty at this
2529 # point, so we can use a bashism as a fallback.
2530 if test "x$ac_cr" = x; then
2531 eval ac_cr=\$\'\\r\'
2533 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
2534 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
2540 echo 'BEGIN {' >"$tmp/subs1.awk" &&
2545 echo "cat >conf$$subs.awk <<_ACEOF" &&
2546 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
2549 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2550 ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
2552 for ac_last_try in false false false false false :; do
2553 . ./conf$$subs.sh ||
2554 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2556 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
2557 if test $ac_delim_n = $ac_delim_num; then
2559 elif $ac_last_try; then
2560 as_fn_error "could not make $CONFIG_STATUS" "$LINENO" 5
2562 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
2567 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2568 cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
2572 s/^/S["/; s/!.*/"]=/
2582 s/\(.\{148\}\).*/\1/
2584 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
2589 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2596 s/\(.\{148\}\).*/\1/
2598 s/["\\]/\\&/g; s/^/"/; s/$/"/
2602 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
2607 ' <conf$$subs.awk | sed '
2612 ' >>$CONFIG_STATUS || ac_write_fail=1
2613 rm -f conf$$subs.awk
2614 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2616 cat >>"\$tmp/subs1.awk" <<_ACAWK &&
2617 for (key in S) S_is_set[key] = 1
2623 nfields = split(line, field, "@")
2625 len = length(field[1])
2626 for (i = 2; i < nfields; i++) {
2628 keylen = length(key)
2629 if (S_is_set[key]) {
2631 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
2632 len += length(value) + length(field[++i])
2643 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2644 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
2645 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
2648 fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
2649 || as_fn_error "could not setup config files machinery" "$LINENO" 5
2652 # VPATH may cause trouble with some makes, so we remove $(srcdir),
2653 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
2654 # trailing colons and then remove the whole line if VPATH becomes empty
2655 # (actually we leave an empty line to preserve line numbers).
2656 if test "x$srcdir" = x.; then
2657 ac_vpsub='/^[ ]*VPATH[ ]*=/{
2661 s/^\([^=]*=[ ]*\):*/\1/
2667 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2668 fi # test -n "$CONFIG_FILES"
2671 eval set X " :F $CONFIG_FILES "
2676 :[FHLC]) ac_mode=$ac_tag; continue;;
2678 case $ac_mode$ac_tag in
2680 :L* | :C*:*) as_fn_error "invalid tag \`$ac_tag'" "$LINENO" 5;;
2681 :[FH]-) ac_tag=-:-;;
2682 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
2699 -) ac_f="$tmp/stdin";;
2700 *) # Look for the file first in the build tree, then in the source tree
2701 # (if the path is not absolute). The absolute path cannot be DOS-style,
2702 # because $ac_f cannot contain `:'.
2706 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
2708 as_fn_error "cannot find input file: \`$ac_f'" "$LINENO" 5;;
2710 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
2711 as_fn_append ac_file_inputs " '$ac_f'"
2714 # Let's still pretend it is `configure' which instantiates (i.e., don't
2715 # use $as_me), people would be surprised to read:
2716 # /* config.h. Generated by config.status. */
2717 configure_input='Generated from '`
2718 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
2720 if test x"$ac_file" != x-; then
2721 configure_input="$ac_file. $configure_input"
2722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
2723 $as_echo "$as_me: creating $ac_file" >&6;}
2725 # Neutralize special characters interpreted by sed in replacement strings.
2726 case $configure_input in #(
2727 *\&* | *\|* | *\\* )
2728 ac_sed_conf_input=`$as_echo "$configure_input" |
2729 sed 's/[\\\\&|]/\\\\&/g'`;; #(
2730 *) ac_sed_conf_input=$configure_input;;
2734 *:-:* | *:-) cat >"$tmp/stdin" \
2735 || as_fn_error "could not create $ac_file" "$LINENO" 5 ;;
2740 ac_dir=`$as_dirname -- "$ac_file" ||
2741 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2742 X"$ac_file" : 'X\(//\)[^/]' \| \
2743 X"$ac_file" : 'X\(//\)$' \| \
2744 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
2745 $as_echo X"$ac_file" |
2746 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2763 as_dir="$ac_dir"; as_fn_mkdir_p
2767 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2769 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2770 # A ".." for each directory in $ac_dir_suffix.
2771 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2772 case $ac_top_builddir_sub in
2773 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2774 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2777 ac_abs_top_builddir=$ac_pwd
2778 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2779 # for backward compatibility:
2780 ac_top_builddir=$ac_top_build_prefix
2783 .) # We are building in place.
2785 ac_top_srcdir=$ac_top_builddir_sub
2786 ac_abs_top_srcdir=$ac_pwd ;;
2787 [\\/]* | ?:[\\/]* ) # Absolute name.
2788 ac_srcdir=$srcdir$ac_dir_suffix;
2789 ac_top_srcdir=$srcdir
2790 ac_abs_top_srcdir=$srcdir ;;
2792 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2793 ac_top_srcdir=$ac_top_build_prefix$srcdir
2794 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2796 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2806 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
2807 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
2811 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2812 # If the template does not know about datarootdir, expand it.
2813 # FIXME: This hack should be removed a few years after 2.60.
2814 ac_datarootdir_hack=; ac_datarootdir_seen=
2825 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
2826 *datarootdir*) ac_datarootdir_seen=yes;;
2827 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
2828 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
2829 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
2831 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2832 ac_datarootdir_hack='
2833 s&@datadir@&$datadir&g
2834 s&@docdir@&$docdir&g
2835 s&@infodir@&$infodir&g
2836 s&@localedir@&$localedir&g
2837 s&@mandir@&$mandir&g
2838 s&\\\${datarootdir}&$datarootdir&g' ;;
2842 # Neutralize VPATH when `$srcdir' = `.'.
2843 # Shell code in configure.ac might set extrasub.
2844 # FIXME: do we really want to maintain this feature?
2845 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
2846 ac_sed_extra="$ac_vpsub
2849 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
2851 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
2852 s|@configure_input@|$ac_sed_conf_input|;t t
2853 s&@top_builddir@&$ac_top_builddir_sub&;t t
2854 s&@top_build_prefix@&$ac_top_build_prefix&;t t
2855 s&@srcdir@&$ac_srcdir&;t t
2856 s&@abs_srcdir@&$ac_abs_srcdir&;t t
2857 s&@top_srcdir@&$ac_top_srcdir&;t t
2858 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
2859 s&@builddir@&$ac_builddir&;t t
2860 s&@abs_builddir@&$ac_abs_builddir&;t t
2861 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
2862 s&@INSTALL@&$ac_INSTALL&;t t
2863 $ac_datarootdir_hack
2865 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
2866 || as_fn_error "could not create $ac_file" "$LINENO" 5
2868 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
2869 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
2870 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
2871 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2872 which seems to be undefined. Please make sure it is defined." >&5
2873 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
2874 which seems to be undefined. Please make sure it is defined." >&2;}
2878 -) cat "$tmp/out" && rm -f "$tmp/out";;
2879 *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
2881 || as_fn_error "could not create $ac_file" "$LINENO" 5
2893 ac_clean_files=$ac_clean_files_save
2895 test $ac_write_fail = 0 ||
2896 as_fn_error "write failure creating $CONFIG_STATUS" "$LINENO" 5
2899 # configure is writing to config.log, and then calls config.status.
2900 # config.status does its own redirection, appending to config.log.
2901 # Unfortunately, on DOS this fails, as config.log is still kept open
2902 # by configure, so config.status won't be able to write to it; its
2903 # output is simply discarded. So we exec the FD to /dev/null,
2904 # effectively closing config.log, so it can be properly (re)opened and
2905 # appended to by config.status. When coming back to configure, we
2906 # need to make the FD available again.
2907 if test "$no_create" != yes; then
2909 ac_config_status_args=
2910 test "$silent" = yes &&
2911 ac_config_status_args="$ac_config_status_args --quiet"
2913 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
2915 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
2916 # would make configure fail if this is the last instruction.
2917 $ac_cs_success || as_fn_exit $?
2919 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
2920 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
2921 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}